/*
Theme Name: Enfold Child Theme
Description: Enfold Theme customisations for the WDB website
Version: 1.5.2
Author: Dieter Riedel
Author URI: https://web-design-boutique.nz
Template: enfold
*/



/*Add your own styles here:*/
@import url('../enfold/style.css');	


	/* General formatting */
@media all {
	#main {
		padding: 0;
	}
	h1, h2, h3, h4, h5, h6, #top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
		/* color: #347cb3; */
		color: #D17D00;
		/* clear: both; */
		font-family: Georgia,Times,serif;
		font-weight: 700;
	}
	h2, h3, h4, h5, h6, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
	}
	h1, h2, h3, h4, h5, h6 {
	}
	#top h1 a:hover, #top h2 a:hover, #top h3 a:hover, #top h4 a:hover, #top h5 a:hover, #top h6 a:hover {
		/* color: #266391; */
		color: #FFBF00;
		text-decoration: underline;
	}
	.container h1 .main-title .entry-title {
		padding: 0.8em 0;
		font-size: 1.6em;
	}
	p {
		margin: 0 0 0.85em !important;
	}

	a {
		font-weight: 700;
	}
	a:hover {
		color: #FFBF00;
		text-decoration: underline;
	}

	.main_color a, .main_color b a, .main_color strong a, .main_color #js_sort_items a:hover, .main_color #js_sort_items a.active_sort, .main_color .av-sort-by-term a.active_sort, .main_color .taglist a.activeFilter, #top .main_color .av-no-color.av-icon-style-border a.av-icon-char {
		color: #D17D00;
	}
	.entry-content,
	article .entry-content h3 {
		font-size: 1.1em;
		line-height: 1.7em;
	}
	#top #wrap_all #main abbr, #top #wrap_all #main acronym, #top #wrap_all #main dfn {
		border-bottom: 1px dotted #666666;
	}
	
	.main_color .required {
		font-variant: super;
		color: red !important;
	}

	.responsive .container {
	}
	
	.boxed .container {
	}
}

	
	/* ========== ### Header ### ========== */
@media all {
	.html_header_top.html_bottom_nav_header .main_menu ul:first-child > li a {
		font-size: 1.2em;
	}
	#header_main, 
	#header_main_alternate, 
	.html_header_top.html_bottom_nav_header .main_menu ul:first-child > li:first-child a,
	.html_header_top.html_bottom_nav_header .main_menu ul:first-child > li a {
		border: 0 none;
	}
	#top .header_color .main_menu a {
		font-family: Georgia,Times,serif;
		font-weight: bold;
	}
	#top .header_color .main_menu ul:first-child > li.current-menu-item > a, 
	#top .header_color .main_menu ul:first-child > li.current_page_item > a, 
	#top .header_color .main_menu ul:first-child > li.active-parent-item > a,
	#top .header_color .main_menu ul:first-child > li.menu-item > ul.sub-menu > li.current-menu-item > a {
		text-shadow: 0 1px 1px #000000;
		color: #FFBF00;
	}
	#top .header_color .main_menu .menu ul li > a:hover, 
	#top .header_color .main_menu ul:first-child > li a:hover {
		text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
		color: #FFBF00;
	}
	.container .logo {
		width: 90% !important;
		margin: .3em 0 0
	}
	#top #main .title_container .container {
		/* min-height: 0;
		padding: 0; */
	}
	#top #main .title_container  h1.main-title a,
	#top #main .title_container  h1.main-title a:hover	{
		font-size: 20px;
	}
	/* #top #main .title_container  h1.main-title a:hover {
		text-shadow: 0px 1px 1px #000000;
		color: #FFCC00;
	} */
	#avia-menu #menu-item-search {
		width: 40px;
	}
	input#s {
		background-color: #FFFFFF !important;
	}
	
	#top .av-menu-button > a .avia-menu-text {
		border: none;
		border-radius: 0;
	}
}


	/* ========== ### Content ### ========== */
@media all {
	h3.av-rotator-container-inner .av-rotator-text {
		font-size: 16px;
		font-style: italic;
		line-height: 1.4em;
		text-align: center;
		width: 100% !important;
	}
	
	.container_wrap {
		border: 0 none;
	}
	.content, .sidebar {
		padding: 20px 0;
	}
	#sharethis_0 {
		float: left;
		/* clear: both;
		padding: 10px; */
	}
	.post #sharethis_0 {
		clear: both;
		float: left;
		padding: 10px;
	}

	#main, .html_stretched #wrap_all {
		background-color: #f8f8f8;
	}
	.fullsize .blog-tags {
		clear: both;
		float: left;
	}
	#top .fullsize .template-blog .post .entry-content-wrapper {
		text-align: left;
	}
	
	.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
		text-transform: none;
	}
	.iconbox .iconbox_content .iconbox_content_title {
		text-transform: none;
	}
	
	.main_color table caption, .main_color tr:nth-child(2n), .main_color .pricing-table > li:nth-child(2n) {
		color: #222222;
	}
	
	#top .no-text-iconbox .iconbox_content_container,
	#top .iconbox_content .iconbox_content_container .no-text-content {
		display: none;
	}
	
	span.av-icon-char {
		line-height: 20px !important;
	}
	.av-countdown-timer .av-countdown-time {
		font-size: 2em;
	}
	.av-countdown-timer .av-countdown-time-label {
		font-size: .7em;
	}

	/* ### Page formatting ### */
	.template-page .entry-content-wrapper div.av_one_third {
	    margin-left: 3%;
		width: 31.3333%;;
	}

	.template-page .entry-content-wrapper div.first  {
		margin-left: 0;
	}
	
	.entry-content h2 {
		font-size: 1.3em;
		font-weight: bold;
	}
	
	.av-masonry-entry .av-masonry-entry-title {
	    font-size: 1.3em;
		line-height: 1.3em;
	}
	.av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
	    padding-top: 10px;
	}
	.av-masonry-entry .entry-content {
	    font-size: 1.1em;
		font-weight: normal;
		line-height: 1.4em;
	}
	
	.avia-icon-list .iconlist_title {
		top: 0;
		padding: 0 0 4px;
	}
	
	/* ### Testimonial Page styles ### */
	.testimonial-head {
		clear: both;
		float: left;
		padding: 20px 0 10px;
		width: 100%;
	}
	.testimonial-title {
		float: left;
		font: bold 1.3em Georgia,Times,serif;
	}
	.testimonial-date {
		float: right;
		font-size: 1.1em;
		font-style: italic;
		padding: 0;
	}
	.testimonial-header {
		float: left;
		font-size: 0.8em;
		padding: 10px;
		text-decoration: underline;
		width: 100%;
	}
	.testimonial-content {
		float: left;
		font-size: 1.1em;
		font-style: italic;
		line-height: 1.6em;
		padding: 5px 0;
		width: 100%;
	}
	.testimonial-author {
		float: right;
	}
	
	#wpgmza_map_1 {
		margin: 30px 0 0;
		width: 100% !important;
	}
	
	/* ### Post formatting ### */
	.tech-detail {
		font: italic .9em arial,helvetica,tahoma,sans-serif;
		margin: 3px 10px 0 0;
		text-decoration: underline;
	}
	.desc-pic {
		font: bold .7em arial,helvetica,tahoma,sans-serif;
		float: right;
		text-decoration: none;
	}
	.single-post .single-small.with-slider .small-preview {
		display: none;
	}
	.container.template-blog article.post  .entry-content-wrapper .entry-content div.flex_column.av_one_third {
		margin-left: 1%;
		width: 34.3333%;
	}
	.togglecontainer {
		margin: 0;
	}

	/* ### Sidebar/Widget area ### */
	.avia_fb_likebox .av_facebook_widget_wrap.av_facebook_widget_wrap_border_yes {
		background-color: #F8F8F8;
	}
	.inner_sidebar {
		margin-left: 30px;
	}
	div.gm-style > div > div > div > div > div {
		right: -15px !important;
	}
	div.gm-style-iw {
		/* height: 86% !important; */
		left: 10px !important;
		top: 5px !important;
		width: 96% !important;
	}
	div.gm-style-iw > div {
		height: 100px !important;
		max-height: 100% !important;
		max-width: 280px !important;
	}

	/* ### Contact form ### */
	input[type="submit"], #submit, .button {
		border-radius: 5px;
	}
	.wpcf7-form-control-wrap {
		position: static;
	}
	.grecaptcha-badge {
		visibility: hidden;
	}
	.page-id-31 .grecaptcha-badge {
		display: inline-block;
	}
	
	.entry-content .anr_captcha_field {
	    margin: 0 auto 1.5em;
	}
}

	
	/* ========== ### Footer ### ========== */
@media all {
	#footer {
		padding: 0;
	}
	.widget-in-footer.wpgmza_map {
		margin: 0 !important;
	}
	#wpgmza_map_2.wpgmza_map {
		margin: 0 !important;
	}
	.responsive #top .footer_color .tabcontainer .active_tab {
		background-color: transparent;
		color: #FFFFFF;
	}
	
	.widget_nav_menu ul:first-child>.current-menu-item, .widget_nav_menu ul:first-child>.current_page_item, .widget_nav_menu ul:first-child>.current-menu-ancestor {
		padding-left: 11px;
		left: -11px;
	}
	#top #footer .widget ul {
		padding: 0 0 6px;
	}
	.widget_nav_menu a {
		padding: 0 0 3px;
	}
	#top .widget_nav_menu ul {
		font-size: .9em;
	}
	#top .widget_nav_menu ul ul li::before {
		top: 0;
	}
	#top .widget_nav_menu ul ul li a {
		padding: 0 0 6px 12px;
	}
	
	.footer_color .current-page-ancestor .current-menu-item {
		background: #444444;
	}
	
	.tagcloud a {
		padding: 4px 12px;
	}
}



	/* Admin panel formatting */
@media all {
	.wp-list-table #title,
	.fixed .column-title {		
		width: 20%!important;
	}
	th.column-tsf-seo-bar-wrap ~ th {
		width: 5%!important;
	}
}


@media only screen and (min-width:1265px) {
	/* ========== ### Desktop screen size ### ========== */
	html.html_boxed {
		background: #d9ecff; /* Old browsers */
		background: -moz-linear-gradient(top, #d9ecff 135px, #83c783 195px, #52b152 210px, #008a00 275px, #22421A 425px, #230D00 550px, #230D00 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(135px,#d9ecff), color-stop(195px,#83c783), color-stop(210px,#52b152), color-stop(275px,#008a00), color-stop(425px,#22421A), color-stop(550px,#230D00), color-stop(100%,#230D00)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, #d9ecff 135px,#83c783 195px,#52b152 210px,#008a00 275px,#22421A 425px,#230D00 550px, #230D00 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, #d9ecff 135px,#83c783 195px,#52b152 210px,#008a00 275px,#22421A 425px,#230D00 550px, #230D00 100%); /* Opera 11.10+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9ecff', endColorstr='#230D00',GradientType=0 ); /* IE6-9 */
		background: -ms-linear-gradient(top, #d9ecff 135px,#83c783 195px,#52b152 210px,#008a00 275px,#22421A 425px,#230D00 550px, #230D00 100%); /* IE10+ */
		background: linear-gradient(to bottom, #d9ecff 135px,#83c783 195px,#52b152 210px,#008a00 275px,#22421A 425px,#230D00 550px, #230D00 100%); /* W3C */
	}

}

@media only screen and (min-width:768px) and (max-width:1264px) {
	/* ========== ### Header ### ========== */
	html.html_boxed {
		background: #d9ecff; /* Old browsers */
		background: -moz-linear-gradient(top, #d9ecff 185px, #83c783 245px, #52b152 260px, #008a00 335px, #22421A 465px, #230D00 600px, #230D00 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(185px,#d9ecff), color-stop(245px,#83c783), color-stop(260px,#52b152), color-stop(335px,#008a00), color-stop(465px,#22421A), color-stop(600px,#230D00), color-stop(100%,#230D00)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, #d9ecff 185px,#83c783 245px,#52b152 260px,#008a00 335px,#22421A 465px,#230D00 600px, #230D00 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, #d9ecff 185px,#83c783 245px,#52b152 260px,#008a00 335px,#22421A 465px,#230D00 600px, #230D00 100%); /* Opera 11.10+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9ecff', endColorstr='#230D00',GradientType=0 ); /* IE6-9 */
		background: -ms-linear-gradient(top, #d9ecff 185px,#83c783 245px,#52b152 260px,#008a00 335px,#22421A 465px,#230D00 600px, #230D00 100%); /* IE10+ */
		background: linear-gradient(to bottom, #d9ecff 185px,#83c783 245px,#52b152 260px,#008a00 335px,#22421A 465px,#230D00 600px, #230D00 100%); /* W3C */
	}

	.html_header_top.html_header_sticky.html_bottom_nav_header #main {
		padding-top: 190px !important;
	}
	#header_main_alternate {
		height: 100px !important;
	}
	
	
	/* ========== ### Content ### ========== */
	.responsive.js_active .avia_combo_widget .news-thumb {
		display: inline !important;
	}
}

@media only screen and (min-width:601px) and (max-width: 767px) {
	/* ========== ### Header ### ========== */
	.responsive .logo a, .responsive .logo img {
		height: auto !important;
		width: 85%;
	}
	
	/* ========== ### Content ### ========== */
	h3.av-rotator-container-inner .av-rotator-text {
		font-size: 1.4em;
		line-height: 1.4em;
		text-align: center;
		width: 100% !important;
	}
	.av-countdown-timer .av-countdown-time-label {
		font-size: 1em;
	}
}

@media only screen and (max-width: 600px) {
	.flex_column.av_one_full.first.avia-builder-el-0.el_before_av_one_third.avia-builder-el-first {
	  display: none;
	}
	h3.av-rotator-container-inner .av-rotator-text {
		font-size: 1.4em;
	}
}
