/*
Theme Name: Custom Divi Child Theme
Theme URI: http://quiroz.co/themes/McMinnville/
Description: A Custom Child Theme for Divi
Author: John Donnellon
Author URI: http://websbyjd.com/
Template: Divi
Version: 1.0.0
*/

@import url('../Divi/style.css');
@import url('//fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700');



/*------------------------------------------------*/
/*--------------------[COLORS]--------------------*/
/*------------------------------------------------*/

.et_pb_contact_submit, .et_password_protected_form .et_submit_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .comment-reply-link, .form-submit .et_pb_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light .et_pb_more_button, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button {
    color: #DA0608;
}

/* fixed header background */
	#top-header.et-fixed-header, #main-header.et-fixed-header {background-color: #ffffff!important; border-bottom:none;}

/* menu hover */
	#top-menu-nav > ul > li > a:hover, #et-secondary-menu > ul > li > a:hover, #et-info-email:hover, .et-social-icons a:hover { color: #BF1238!important;}

/* sub menu */
	#top-menu li.mega-menu > ul > li > a {color:#B60D12;
}
/* mobile background color */
	#main-header .et_mobile_menu {
		/*background-color: #000!important;*/
		margin-top: 10px;
	}

	#et_search_icon:before {
		font-weight: bold;
		margin-top: -3px;
	}


/* super slim subscribe button color */
	.demo-subscribe-section .et_pb_button {background: #666;}
	.demo-subscribe-section .et_pb_button:hover {background-color:#7c7c7c;}

/* super slim subscribe form background and font colors */
	.demo-subscribe-section .et_pb_newsletter_form p input {color:#666; background-color: #aaa; }

/*sidebar search widget button font and background colors */
	.widget_search #searchsubmit {background-color: #DA0608; color: #fff!important;} /* button */
	.widget_search input#s, .widget_search input#searchsubmit {border: 1px solid #DA0608; margin-bottom: 20px;} /* text field box */

/* sidebar widget title font and background colors */
	h4.widgettitle {color: #fff; background-color:#DA0608 ;}

/* contact form colors */
	/* state drop down */ .caldera-grid .form-control { color: #9C9898;}
	/* focused input box glow */ .caldera-grid .form-control:focus {
    					border-color: #BF1238;
    					-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(193,174,144,.6);
    					box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(193,174,144,.6);}

/* recent articles section blog post border color */
	.footer-module-section .et_pb_blog_grid_wrapper { border: 7px solid #BF1238;}

/* footer font and background colors */
	#footer-bottom {background-color: #000000;}
	#footer-info, #footer-info a {color: #E0E0E0;}


/* custom divider lines */
	hr.line-orange {border-color: #B60D12;}
    hr.line-light {border-color: #d1d1d1;}

/* comment form submit button */
	.form-submit input {color: #ff4e00;}

/* brown button */
    a.btn-brn { 
	background-color: #000000; /* change background color here */
    color: #fff!important; /* change font color here */}
    a.btn-brn:hover {background: #000000; /* change background color on hover here */}




/*------------------------------------------------*/
/*--------------------[GENERAL]-------------------*/
/*------------------------------------------------*/

/* custom divider lines */
	hr.line-orange, hr.line-light {
		border: 0;
		border-top: 1px solid;
		height: 0px;
		width: 200px;
		margin-top: 15px;
	}


/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/

/* top menu */
	#top-header {z-index: 99999;height: 30px;}

	#main-header {
		padding: 10px 0;
	}


/* logo */
	#logo {
		max-height: 105%!important;
		margin-top: -2px!important;
		z-index: 100000!important;
		position: relative!important;
    }


/* menu hover */
	#top-menu-nav > ul > li > a:hover, #et-secondary-menu > ul > li > a:hover, #et-info-email:hover, .et-social-icons a:hover { opacity: 1;}


/* sub menu */
	.et_fullwidth_nav #top-menu li.mega-menu > ul {width: 800px;}
	#top-menu li.mega-menu > ul {right: 0px !important; padding: 15px 15px;}

	/* menu item padding and margin */
		#top-menu li li a {padding: 3px 10px;}
		#top-menu li.mega-menu li > a {width: 165px !important; line-height: 17px; padding-bottom: 10px;}
		#top-menu li.mega-menu > ul > li > a {padding: 0 20px 10px 0px; } /* categories */

		@media only screen and ( min-width: 980px ){
			.et_fullwidth_nav #top-menu li.mega-menu > ul {
			left: auto !important;}}

/* remove carrot from menu with drop down */
	#top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child {padding-right: 0px;}
	#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {display:none;}
	
/* mobile */
	.mobile_menu_bar { padding-right: 20px;}
	.mobile_nav.opened .mobile_menu_bar:before {content: "\4d";}
	.et_mobile_menu li a {padding: 1px 5%;}
	
#top-header #et-info {
	float: right;
}

/*------------------------------------------------*/
/*-----------------[HOMEPAGE]---------------------*/
/*------------------------------------------------*/

#front-page-posts .widgettitle { display:none }


/*------------------------------------------------*/
/*----------------[SUB PAGES]---------------------*/
/*------------------------------------------------*/




/*------------------------------------------------*/
/*----------------[CONTACT PAGE]------------------*/
/*------------------------------------------------*/




/*------------------------------------------------*/
/*------------------[BLOG PAGES]------------------*/
/*------------------------------------------------*/

/*feature thumbnails alongside post titles on blog page*/
	.et_pb_post a img{
  		max-width: 250px!important;   
  		float: left;
  		left: 0;
  		padding-right: 14px;}
	.footer-module-section .et_pb_post a img{
  		max-width: 100%!important;   
  		float: left;
  		left: 0;
  		padding-right: 0px;
		padding-bottom: 10px;}
 
		@media only screen and (max-width: 980px) {
			.et_pb_post a img{float:none;  max-width: 250px!important;}}


/* comment form */
.et_post_meta_wrapper { padding-bottom:50px; }
.et_post_meta_wrapper .form-submit .et_pb_button { 
    color: #ffffff !important;
    background: #666666;
    border-width: 2px !important;
    border-color: #666666;
    font-size: 20px;
 }
 .et_post_meta_wrapper .form-submit .et_pb_button:hover {
    background: #8e8e8e !important;
    border-color: #8e8e8e !important;
    letter-spacing: 0;
    padding-right: 2em;
 }
#commentform textarea, #commentform input[type="text"] {
	padding: 12px;
	color: #999;
	background-color: #fff;
	border: none;
	font-size: 18px;}

.single .et_pb_post {
    margin-bottom: 0px; 
}
.single .post {
    padding-bottom: 0px; 
}
.et_pb_post {
    margin-bottom: 0px; 
}
@media (min-width: 981px){
#left-area {
    padding-bottom: 0px;
}
}

.widget_search #s { border-radius:0!important }

/*fix width of Blog Post listing on front page*/
@media only screen and (max-width: 980px) {
#category-posts-2 { width:100%!important }}

/*------------------------------------------------*/
/*------------------[SIDEBARS]--------------------*/
/*------------------------------------------------*/

/* widget titles */
	h4.widgettitle {
   		padding: 5px 8px;
    		border-radius: 0px;
    		margin-bottom: 12px;}

/*------------------------------------------------*/
/*-------------[SUPER SLIM SUBSCRIBE]-------------*/
/*------------------------------------------------*/
 
	.demo-subscribe-section {padding: 6px!important;}
	.demo-subscribe-section .et_pb_row {padding: 0px!important;}
	.demo-subscribe-section .et_pb_newsletter{padding: 0px 0px;}
	.demo-subscribe-section .et_pb_newsletter_description {padding: 0 0 0 0; width: 50%; margin: 0;}
	.demo-subscribe-section .et_pb_newsletter_description p {padding: 19px 20px 0px 0px;}
 
	.demo-subscribe-section .et_pb_newsletter_form {width: 50%; padding-left: 5px; height:60px; padding-top: 16px;}
	.demo-subscribe-section .et_pb_newsletter_form p {display: inline-block; margin-right: 10px; padding: 0px; padding-bottom:10px;}
	.demo-subscribe-section .et_pb_newsletter_form p input {
		font-size: 14px; 
		padding: 9px 5% !important; 
		width: 166px; 
		border-radius: 3px!important;}
 
	.demo-subscribe-section .et_pb_button {
	    font-size: 13px;
	    padding: 0.3em 1em;
	    border: 0px solid;
	    -moz-border-radius: 0px;
	    -webkit-border-radius: 0px;
	    border-radius: 0px;}

	.demo-subscribe-section .et_pb_button:hover {padding-right: 30px;}
	.demo-subscribe-section .et_pb_button:hover:after {font-size: 17px; padding-left:5px; top: 6px;}
	.demo-subscribe-section .et_pb_button:after {font-size: 17px; content: "\e010"; top: 6px;}
	
	.demo-subscribe-section .et_pb_newsletter_form p:nth-child(3) {display: none;}
	.demo-subscribe-section .et_pb_newsletter_result { padding-top: 0px; margin-top: -15px;}
	.demo-subscribe-section h2.et_pb_subscribed {font-size: 17px; padding-top: 3px;}
 
	@media only screen and (max-width: 1110px) {
    		.demo-subscribe-section .et_pb_newsletter_description {width: 35%;}
	    	.demo-subscribe-section .et_pb_newsletter_description p {padding: 9px 20px 0px 0px;}
	    	.demo-subscribe-section .et_pb_newsletter_form {width: 65%;}}
 
	@media only screen and (max-width: 980px) {
    		.demo-subscribe-section .et_pb_newsletter_description {width: 100%; text-align:center;}
    		.demo-subscribe-section .et_pb_newsletter_description p { text-align: center!important;}
    		.demo-subscribe-section .et_pb_newsletter_form {width: 100%; text-align:center;}}
 
	@media only screen and (max-width: 570px) {
    		.demo-subscribe-section .et_pb_newsletter_form {height:100px; padding-top:17px;}
    		.demo-subscribe-section .et_pb_newsletter_button {margin-left: 0px;}}
 
	@media only screen and (max-width: 550px) {
	    	.demo-subscribe-section .et_pb_newsletter_form {height:130px;}
    		.demo-subscribe-section .et_pb_newsletter_button {margin-left: 0px;}}
 
	@media only screen and (max-width: 460px) {
		.demo-subscribe-section .et_pb_newsletter_form {height: 168px;}
		.demo-subscribe-section .et_pb_newsletter_form {width: 63%; margin-left: 17%;}}
 
	@media only screen and (max-width: 360px) {
		.demo-subscribe-section .et_pb_newsletter_form {width: 77%; margin-left: 10%;}
		.demo-subscribe-section .et_pb_newsletter_button { margin-left: 45px;}}
 

/*------------------------------------------------*/
/*-----------[STANDARD DIVI FOOTER]---------------*/
/*------------------------------------------------*/

.et-social-icons {display: none;}

#footer-bottom {
	z-index: 9999;
	position: relative;
	font-size: 12px; 
	padding-bottom: 55px;
	padding-top:50px;}

#footer-info, #footer-info a {text-align:center; float: none;}



/*------------------------------------------------*/
/*--------------------[RWD]-----------------------*/
/*------------------------------------------------*/

	@media only screen and (max-width: 1078px){
		#top-menu li {font-size: 12px; padding-right: 16px;}}

	@media only screen and ( max-width: 1150px ) {
		#logo {max-height: 35%;}
		#et-top-navigation { padding-left: 300px!important;}
		.project-header-section h1 {font-size: 45px!important;}}

	@media only screen and (max-width : 980px) {
		.container {width: 100%;}

		.et_header_style_left .et-search-form, .et_header_style_split .et-search-form {
			width: 100%!important;
			max-width: calc( 100% - 30px)!important;
		}

		.et-search-form input {
			background: rgba(255,255,255);
			width: 100%;
			color: #fff !important;
			padding: 10px 20px;
   		}
		#logo {margin-top: 0px!important;}
		.home {padding-top: 10px!important;}
		.bio-section .left {display: none;}
		.bio-section .right {padding-right: 10px!important;padding-left: 10px!important;}
		.sub-page-header-section h1 {padding: 20px 10px 10px 10px;}
		.sub-page-header-section .et_pb_text p:last-of-type {padding: 10px 10px 30px 10px;}
		.et_pb_section {padding: 0px 0;}
		.footer-module-section {padding-top: 30px;}
		.single-post .et_pb_widget_area {display: none;}
		.et_pb_title_featured_container img {padding-top: 80px;}
		.connect-section .et_pb_column {margin-bottom: 0px; width: 50%!important;}
		.connect-section .et_pb_text { text-align: center; padding-bottom: 12px;}
		.connect-section .et_pb_social_media_follow {
    			float: none;
    			margin-right: auto;
    			margin-left: auto;
    			display: table;}}

	@media only screen and ( max-width: 767px ) {
		.header-home-row {top: 0px; transform: none;}
		.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post, .et_pb_column .et_pb_widget {margin-bottom: 0px !important;}}


	@media only screen and (max-width : 568px) {
		.et_pb_text.et_pb_module.et_pb_bg_layout_dark.et_pb_text_align_right.header-module.et_pb_text_0 {
    			padding-right: 30px!important;
    			padding-left: 30px!important;
    			padding-top: 150px!important;
    			padding-bottom: 105px!important;}
		.testimonial-slider-row {margin: 0px; width: 100%;}
		.et_pb_promo.et_pb_module.et_pb_bg_layout_dark.et_pb_text_align_center.cta-module {
    			padding-right: 10px!important;
    			padding-left: 10px!important;
    			padding-top: 85px!important;
    			padding-bottom: 90px!important;}
		.cta-module h2 {font-size: 24px!important; line-height: 30px!important;}
		.cta-module .et_pb_promo_description p:last-of-type {
    			font-size: 14px;
    			padding-right: 25px;
    			padding-left: 25px;
    			padding-top: 15px;
    			padding-bottom: 15px;}
		ul.et_pb_social_media_follow {padding-bottom: 12px;}}

	@media only screen and ( max-width: 414px ) {
		.header-home-row {top: 20px;}
		.right p {font-size: 15px;}
		.connect-section .et_pb_text {font-size: 14px;}
		.et_pb_social_media_follow li a.icon {height: 27px;width: 27px;}
		.et_pb_social_media_follow li a { margin-right: 6px;}
		.cta-module .et_pb_promo_description p:last-of-type {padding-bottom: 15px; padding-top: 16px; font-size: 15px;}}

	@media only screen and (max-width: 360px) {
		.demo-subscribe-section .et_pb_newsletter_button {margin-left: 0px;}}

/*---[ADD ADDITIONAL CUSTOMIZATION BELOW THIS LINE]-----*/

.et_pb_portfolio_grid .et_pb_portfolio_item h2 { 
	display:block;
	min-height: 70px;
	padding: 8px 5px;
	margin-top:0px!important;
	font-size: 18px!important;
	text-align:center!important;
}

#et-footer-nav {
	background-color: #00B3A7;
}
/*
.bottom-nav a {
	color: #585D5B;
	font-size: 16px;
}
*/
#et-footer-nav .container{ text-align: center!important; }
#footer-widgets { padding-top: 10px!important; padding-bottom: 10px!important }
#main-footer .container { width:100%!important; padding:10px; max-width:none; }
.lsi-footer-widget { max-width: 260px; text-align:center; color:#eee; font-size: 1.2em;position:absolute; right: 40px; top:14px }
.lsi-footer-widget img { width: 120px; }
#footer-widgets #text-2 { width:100%!important }
.footer-widget .et_pb_widget { width:100% }
.site-credits { display:block; position: relative; margin-top:80px; width: 100%!important; text-align:center!important; }

@media (min-width: 981px){
.et_pb_gutters3 .footer-widget {
    margin-bottom:0!important;
}}

.et_pb_post_title_0 { border-radius: 0!important; padding:10px 20px 5px 0px!important }

.cat-post-item .cat-post-title { color:#666; font-weight:bold; }
.cat-post-item .cat-post-title:hover, .cat-post-item p:hover { color: #888; }
.cat-post-item p { color:#666; margin-left: 8px }

#front-page-posts #category-posts-2 {
	width: 100%;
	margin-right: 0;
}

#front-page-posts #category-posts-2 ul li {
	display:inline-block;
	vertical-align: top;
	width: 18%;
	margin: 0 1%;
}

#front-page-posts #category-posts-2 ul li p {
	margin-left: 0;
}

#front-page-posts #category-posts-2 .cat-post-title {
	font-size: 20px;
	line-height: 25px;
	margin: 10px 0;
	display: inline-block;
}

@media (max-width: 1023px) {
	#front-page-posts #category-posts-2 ul li {
		width: 48%;
		margin: 0 1% 50px;
	}
}

@media (max-width: 768px) {
	#front-page-posts #category-posts-2 ul li {
		width: 98%;
		margin: 0 1% 50px;
	}
}

@media only screen and (max-width: 767px) {
	.et_pb_text_5 h1,
	.et_pb_text_7 h1 {
	    font-size: 25px;
	}
}

.sf_form input[type=email],
.sf_form input[type=text],
.sf_form select,
.sf_form textarea {
	width: 100%;
	padding: 16px;
	background-color: #eeeeee;
	color: #212121;
	border-width: 1px;
    border-style: solid;
    border-color: #666666;	
}

.sf_form input[type=submit] {
	color: #00b3a7;
	font-size: 20px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em!important;
    background-color: transparent;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 3px;
    margin-top: 15px;
}

.sf_form label {
	display: block;
	margin: 15px 0 5px 0;
}