/*
Theme Name: Dexter Court Farm Child
Theme URI: https://dextercourtfarm.com/
Author: Dexter Court Farm
Author URI: https://dextercourtfarm.com/
Template: Dexter
Version: 4.27.4
*/

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

h1 {
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 68px;
	color: #FFFFFF!important;
	letter-spacing: 1px;
	line-height: .66em !important;
	padding: 0px !important;
	margin: 0px !important;
}

h2 {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 30px;
	color: #509741!important;
	letter-spacing: 1px;
}

h3 {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #333333!important;
	letter-spacing: 1px;
}

h4 {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
	font-size: 19px;
	color: #333333!important;
	Line-height: 1.4em !important;
	letter-spacing: 1px
}

p {
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	font-size: 19px;
	color: #333333!important;
	line-height: 2em;
	text-align: justify!important;
	word-break: keep-all!important;
}

p a {
	color: #215e9e !important;
	text-decoration: underline !important;
}

/*------------------------------------------------*/



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

#top-menu-nav>ul>li>a:hover, ul.et_mobile_menu>li>a:hover {
	color: #fff200 !important;
	opacity: 1 !important;
}

.mobile_menu_bar:before {
	color: #FFF !important;
	font-size: 36px !important;
}

.mobile_nav.closed .mobile_menu_bar:before {
	content: "\61" !important;
}
	
.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d" !important;
}

.et_mobile_menu {
	border-top: 2px solid #fff !important;
}

.et_mobile_menu li a {
	font-size: 16px !important;
	text-transform: uppercase !important;
	font-weight: 400 !important;
	padding: 10px 18px !important;
}

.et_mobile_menu>li>a:hover {
	color: #fff200 !important;
	opacity: 1 !important;
}

.et_mobile_menu>li.current-menu-item>a {
	color: #fff200 !important;
}

/*------------------------------------------------*/


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


/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/

/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/

#main-footer {
	margin: 48px 0 !important;
}

#footer-bottom {
	padding: 0px !important;
}

.home #footer-bottom .container {
	max-width: 1280px !important;
}

#footer-info {
	padding-bottom: 0px !important;
	font-size: 14px !important;
	line-height: 1.3em !important;
}

#footer-info #disclaimer {
	display: block !important;
	font-size: 12px !important;
	line-height: 16px !important;
	margin-top: 6px !important;
	/** color: #6bab00 !important; **/
	color: #999 !important;
}

#footer-info #disclaimer a {
	/** color: #528a00 !important; **/
	color: #999 !important;
}

#footer-info #disclaimer a:hover {
	/** color: #528a00 !important; **/
	color: #666 !important;
}

/*------------------------------------------------*/

/** Contact Form Customization **/

#dcf_form textarea {
	height: 280px !important;
}

#dcf_form .wpcf7-acceptance label {
	color: #395e33 !important;
    font-size: 13px !important;
    font-style: italic !important;
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
	font-weight: 400 !important;
}

#dcf_form .wpcf7-acceptance>span.wpcf7-list-item {
	text-indent: -20px !important;
	text-align: left !important;
	line-height: 1em !important;
}

#dcf_form .wpcf7-not-valid-tip {
	display: none !important;
}

#dcf_form .wpcf7-not-valid {
	border: 1px solid #e02b20 !important;
}

#dcf_form .wpcf7-response-output {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
	font-weight: 400 !important;
	font-style: italic !important;
	letter-spacing: 1px !important;
	min-height: 80px !important;
	display: block !important;
	margin-bottom: 0px !important;
	text-align: center !important;
	padding: 0px !important;
	line-height: 1.4em !important;
}

#dcf_form form.invalid .wpcf7-response-output {
	color: #e02b20 !important;
}

#dcf_form form.sent .wpcf7-response-output {
	color: #509741 !important;
}

.et-pb-contact-message {
	 font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
	/** display: none !important; **/
}

/** Google Recaptcha Customization **/

.grecaptcha-badge { 
	visibility: hidden !important;
}

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


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

@media (max-width: 1280px) and (min-width: 981px) {
	
	/** .home #Cert-Logo img {
		width: 80% !important;
	}**/
	
}

@media (max-width: 1136px) {

	.home h3>span {
		display: block !important;
		margin-bottom: -1.4em !important;
	}

}

@media (max-width: 980px) {

	.et_header_style_split #main-header {
		padding: 0px !important;
        height: 52px !important;
    }
	
	.et_header_style_split #et_mobile_nav_menu {
		margin-top: 0px !important;
	}
	
	.et_header_style_split #main-header .mobile_nav {
		background-color: initial !important;
		border-radius: 0px !important;
		padding: 0px !important;
	}

	.et_header_style_split .mobile_nav .select_page {
		display: none !important;
	}
	
	.et_header_style_split .et_menu_container .mobile_menu_bar {
        top: 9px !important;
	}
	
	.et_header_style_split .et_mobile_menu {
        top: 52px !important;
		padding: 18px 0px !important;
		left: initial !important;
		right: 0 !important;
		width: 220px;
	}
	
	#Cert-Logo {
		justify-content: space-between !important;
	}
	
	#Cert-Logo .logo-column {
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	
	#Cert-Logo .logo-column .dcf_logo {
		width: 90% !important;
	}
	
	#Cert-Logo .logo-column:nth-child(2) .dcf_logo {
		margin-left: 3.33% !important;
	}
	
	#Cert-Logo .logo-column:nth-child(3) .dcf_logo {
		margin-left: 6.66% !important;
	}
	
	#Cert-Logo .logo-column:last-child .dcf_logo {
		float: right !important;
	}
	
	#form_container {
		padding-bottom: 60px !important;
	}
	
    #footer-info {
		text-align: left !important;
	}
	
}

@media (max-width: 980px) and (min-width: 768px) {
	
	#image-container .image-column, .image-gallery .image-column {
		width: 33.33% !important;
		height: 33vw !important;
	}
	
}

@media (max-width: 857px) {
	
	h1 {
		line-height: .66em !important;
	}
	
}

@media (max-width: 857px) and (min-width: 676px) {
	
	h1 {
		font-size: 53px !important;
		line-height: .66em !important;
	}

}

@media (min-width: 768px){

	#gallery-container .et_pb_gallery_item {
		width: 33.33% !important; /*three columns*/
		clear: none !important;
	}
	
}

@media (max-width: 980px) and (min-width: 320px) {
	
	h3{
		font-size: calc(19px + (24 - 19) * ((100vw - 320px) / (980 - 320))) !important;
	}
	
	h4 {
		font-size: calc(16px + (19 - 16) * ((100vw - 320px) / (980 - 320))) !important;
	}
}

@media (max-width: 767px) {
	
	p {
		font-size: 17px !important;
	}
	
	#footer-bottom .container {
		width: 95% !important;
	}
		
	#Cert-Logo, #Cert-Logo .logo-column .dcf_logo {
		width: 95% !important;
	}
	
	#Cert-Logo .logo-column:nth-child(2) .dcf_logo {
		margin-left: 2% !important;
	}
	
	#Cert-Logo .logo-column:nth-child(3) .dcf_logo {
		margin-left: 3% !important;
	}
		
	#image-container .image-column, .image-gallery .image-column {
		width: 33.33% !important;
		height: 33vw !important;
	}

	#image-container .image-column, .image-gallery .image-column {
		width: 100% !important;
		height: 50vw !important;
	}
	
	#image-container .image-column.img-y10 {
		background-position-y : 10% !important;
    }
	
	#image-container .image-column.img-y18 {
		background-position-y : 18% !important;
    }
	
	#image-container .image-column.img-y25 {
		background-position-y : 25% !important;
    }
	
	#image-container .image-column.img-y75 {
		background-position-y : 75% !important;
    }
	
	#image-container .image-column.img-y77 {
		background-position-y : 77% !important;
    }
	
	#gallery-container .et_pb_gallery_item {
		width: 50% !important; /*two columns*/
		clear: none !important;
	}
	
}

@media (max-width: 675px) and (min-width: 578px) {
	
	h1 {
		font-size: 45px !important;
	}
	
}

@media (max-width: 612px) {
	
	p {
		text-align: left !important;
	}
	
	#footer-info span {
		display: block !important;
	}
	
}

@media (max-width: 577px){
	
	h1 {
		line-height: .62em !important;
	}
	
}

@media (max-width: 577px) and (min-width: 454px) {
	
	h1 {
		font-size: 35px !important;
	}
	
}

@media (max-width: 453px) and (min-width: 392px) {
	
	h1 {
		font-size: 30px !important;
	}

}

@media (max-width: 400px) {

	p {
		font-size: 16px !important;
	}
	
}

@media (max-width: 391px) and (min-width: 320px) {
	
	h1 {
		font-size: 24px !important;
	}
	
}
