/*
Theme Name:     NewsPlus Child
Theme URI:      http://labs.saurabh-sharma.net/themes/newsplus/wp/
Description:    Child theme for the NewsPlus theme
Author:         Saurabh Sharma
Author URI:     http://themeforest.net/user/SaurabhSharma
Template:       newsplus                             
Version:        2.4.6
*/

/* Gap between menu and logo */
#header {
	padding: 10px 0 0;
}
.brand.full.text-center img {
	margin-bottom: 10px;
}

ul.nav-menu > li > a {
	font-weight: normal;
}

#utility-top {
        background: #555555;
}

/* top-Secondary menu */
.sec-menu > li > a,
.nav-menu > li > a {
	display: block;
	margin: 0;
	padding: 12px 1em;
	margin: 0;
	line-height: 1;
	color: #fff;
	font-size: 13px;
	border-right: 1px solid #666666;
	text-shadow: none;
	text-decoration: none;
	white-space: nowrap;
}

/* bottom-primary menu */
.nav-menu > li > a {
	display: block;
	margin: 0;
	padding: 12px 1em;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 0;
		
	-webkit-transition: 0.15s ease-in-out;
	-moz-transition: 0.15s ease-in-out;
	-o-transition: 0.15s ease-in-out;
	transition: 0.15s ease-in-out;
}

.nav-menu > li.menu-item-has-children > a {
	padding: 12px 12px 12px 16px;
}

.primary-nav li ul {
	padding: 0;
}

.primary-nav li ul li a {
	text-decoration: none;
	color: #757575 !important;
	white-space: normal;
	word-wrap: break-word;
}

.primary-nav li ul li:hover a {
	color: #212121 !important;
}

.primary-nav li.menu-item-has-children > a:after {
	line-height: 1;
}

ul.nav-menu > li.current-menu-item > a, ul.nav-menu > li.current-menu-ancestor > a, ul.nav-menu > li.current_page_item > a, ul.nav-menu > li.current_page_ancestor > a {
	border-top-color: #619c36;
}

.sec-menu > li:hover > a,
.nav-menu > li:hover > a  {
	color:#fff;
	background: #666;
}

.secondary-nav li.menu-item-has-children > a:after {
	line-height: 1;
}


/* Extend height of secondary menu */
.sec-menu > li > a {
	padding: 12px 1em;
	margin:  0;
}

/* colours when option selected in secondary menu */

ul.sec-menu > li.current-menu-item > a,
ul.sec-menu > li.current-menu-ancestor > a,
ul.sec-menu > li.current_page_item > a,
ul.sec-menu > li.current_page_ancestor > a,
ul.nav-menu > li.current-menu-item > a,
ul.nav-menu > li.current-menu-ancestor > a,
ul.nav-menu > li.current_page_item > a,
ul.nav-menu > li.current_page_ancestor > a {
	background: #fff;
	color: #000;
	text-shadow: none;
	border: none;
	border-top: 2px solid #619c36;
	margin-top: -2px;
}

/* was 666 */


/* change look of secondary menu to match primary */
.sec-menu > li > a,
.nav-menu > li > a { border-right: 1px solid rgba(0,0,0,.1); border-left: 1px solid rgba(255,255,255,.07); }
.sec-menu > li:last-child,
.nav-menu > li:last-child { border-right: 1px solid rgba(255,255,255,.07); }

/* Links */
a {
    outline: none;
    color: #619c36;
    text-decoration: underline;
}

a:hover {
    color: #000000;
    text-decoration: underline;
}


/* Increase width of secondary menu items */

.secondary-nav {
        max-width: 100%;
}

#callout-bar,
#search-bar {
        max-width: 20%;
}

/* Increase font size in both pages and posts */
.entry-content p,
.entry-content ul,
.entry-content ol {
  font-size: 13px;
  
}

/* add color: #000;   for black */

/* Fix timely calendar subscribe button problem */
.entry-content { overflow: visible; }

/* create green colouring as proper set colour */
.ss-label.green { background: #2E9A1F; color: #fff; }


/* contact form stuff */

span.wpcf7-list-item { display: block; }

.wpcf7-form label {
font-weight:bold;
}

/* Widget gaps */
.widget .search-form,
.widget #searchform,
.widget .woocommerce-product-search {
	margin-bottom: 5;
}
.widget {
	margin-bottom: 0;
}

/* Arrows */
.secondary-nav li.menu-item-has-children > a:after {
	font-family: 'FontAwesome';
	content: "\f107"; /* f078 for chevron arrow */
	font-weight: normal;
	font-size: inherit;
	line-height: 1;
	display: inline-table;
	padding: 0 0 0 8px;
	color: inherit;
}

/**
 * Hide black strip on mobile
 * and inconsistent gap between logo and menu
 */

@media only screen and (max-width: 840px) {
	#utility-top { display: none; }
	#header {
		padding: 15px 0 0;
	}
	.brand.full.text-center img {
		margin-bottom: 0;
	}	
}



/* vertically align text in tables */
td, th { vertical-align: middle; }

/* extend width of logo area */ was 25/75
.brand { max-width: 100%; }
.header-widget-area { max-width: 0%; }


/* Page sidebar width ratio */
@media only screen and (min-width: 840px) {
	#primary, #container {
		width: 67%;
	}
	
	#sidebar {
		width: 33%;
	}
}

/* Heading sizes in carousel */
.entry-grid h2, .entry-grid h3, .entry-list h2, .entry-list h3, .carousel h2, .carousel h3, .flex-caption h2 {
	font-size: 14px;
	line-height: 28px;
}

/* Gap above top menu */
#utility-top {
	margin-top: 15px;
}

/* Gap after main menu */
#main .wrap {
	padding-top: 15px;
}