/*
 Theme Name:     milesequestrain
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
#logo {
	max-height: 164px;
	margin: 7px 10px;
}
.logo_container > a {
	background: #fff;
}
.et-fixed-header #logo {
	max-height: 54%;
} 
.et-fixed-header .top-header {
	display: none;
}
.logo_container > a{
	position: absolute;
	bottom: 0px;
}
.et-fixed-header .logo_container > a{
	position: relative;
	background: transparent;
}
.container,
#main-header .container {
	width: 95%;
}
.top-header {	
	background: #fff;
	padding-top: 40px;
	padding-bottom: 15px;
	/* border-bottom: 4px solid #76983a; */
}
.top-header h2 {
	font-size: 40px;
	line-height: 50px;
	color: #000000;
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	padding-bottom: 0px;
}
.top-header p {
	font-size: 20px;
	line-height: 50px;
	color: #000000;
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	padding-bottom: 0px;
}
.top-header img {
	padding-right: 9px;
	vertical-align: middle;
}
/*
.top-header p.address span { 
	padding-left: 40px;
	background: url(./images/icon-location.png) no-repeat left center / contain;
}
.top-header p.p-number span { 
	padding-left: 40px;
	background: url(./images/icon-phone.png) no-repeat left center / contain;
} */
#top-menu li {
	padding-right: 80px;
}
#top-menu > li.current-menu-item > a,
#top-menu > li > a {
	font-size: 20px;	
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
}

#top-menu .menu-item-has-children > a:first-child::after {
	display: none;
}
.nav li ul {
	margin-top:3px;
	border-top: 0px;
	padding: 0px;
}
.et_pb_button_wrapper .et_pb_button {
	padding: 10px 80px;
}
.et-pb-controllers a {
	border-radius: 50%;
	width: 17px;
	height: 17px;
	border: 3px solid #bdc2a1;
	background: #bdc2a1;
	opacity: 1;
}
.et-pb-controllers .et-pb-active-control {
    background-color: #ffffff;
	border: 3px solid #ffffff;
}


#main-header .nav li ul a { 
	padding: 15px 50px;
	width: 100%;	
}
#main-header .nav li ul a:hover { 
	background: #2c5e41;
}
#main-header .nav li ul li {
	border-bottom: 1px solid #bdc2a1;
	padding: 0px;
	width: 100%;
}
#main-header .nav li ul li:last-child {
	border-bottom: 0px;	
}
.et_pb_menu .et-menu>li {
    padding-left: 13px;
    padding-right: 13px;
}
.et_pb_slider .et_pb_slide,
.et_pb_slider .et_pb_slide_0, 
.et_pb_slider .et_pb_slide_2, 
.et_pb_slider .et_pb_slide_1 {
	padding-left: 0px;
	padding-right: 0px;
}
.et_pb_slider_0 .et_pb_slide>.et_pb_container {
	min-height: 820px;
}
.et_pb_slides .et_pb_slider_container_inner {
	vertical-align: inherit !important;
}
.et_pb_slide_description, 
.et_pb_slider_fullwidth_off .et_pb_slide_description {
	padding-left: 0px !important;
	padding-right: 0px !important;	
}

.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding-top: 50px;
	padding-bottom: 40px;
}

.et_pb_bg_layout_dark.et_pb_slider_with_overlay .et_pb_slide_overlay_container, 
.et_pb_bg_layout_dark.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
    background-color: rgba(36,65,114,.9) !important;
}


.et_pb_slider_with_text_overlay .slide-content-wrap {
	max-width: 1170px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
}
.slide-content-wrap .slide-text {
	width: 65%;
	text-align: left;
	max-width: 500px;
}
.slide-content-wrap .slide-contact {
	width: auto;
	margin-left: auto;
	text-align: left;
}
.slide-text h3 {
	font-size: 30px;
	line-height: 35px;
	font-weight: bold;
	color: #fff;
	text-shadow: none;
	text-transform: uppercase;
}
.slide-text p {
	font-size: 16px;	
	font-weight: 400;
	color: #9cc7de;
	text-shadow: none;
}
.et_pb_slide_content .slide-text p {
	line-height: 24px !important;
}

.slide-contact a {
	color: #fff;	
	display: block;
	transition: all .5s;
	text-shadow: none;
	font-size: 18px;
	line-height: 17px;
	margin-top: 12px;
}
.slide-contact a img {
	vertical-align: middle;
    margin-right: 8px;
}
.slide-contact br {
	display: none;
}

.custom-h2 {
	display: inline-block;
	width: auto;
	border-bottom: 10px solid #2c5e41;
	padding-bottom: 5px;
	line-height: 48px;
	margin-bottom: 40px;
	clear: both;
}

h2.small-line { 
	border-bottom: 5px solid #ddbd77;
	padding-bottom: 50px;
	margin-bottom: 40px;
	text-transform: inherit;
	letter-spacing: 1.2px;
}
.welcome-block h2,
.welcome-block h6 {
	text-transform: inherit;
	font-weight: 400;
}
.i-text {
	font-size: 16px;
	line-height: 25px;
	color: #6b6b6b;
	font-weight: 700;
	font-style: italic;
	text-align: center;
	padding: 8px 10px;
	background: #fff;
	margin-top: 35px;
	border-radius: 8px;
}
/*
.et_pb_gutters3 .et_pb_column_1_4.et_pb_column_0_tb_footer {
	width: 22.875%;
}
.et_pb_gutters3 .et_pb_column_1_4.et_pb_column_1_tb_footer,
.et_pb_gutters3 .et_pb_column_1_4.et_pb_column_2_tb_footer {
	width: 19.875%;
} */
.et_pb_column_1_4.et_pb_column_0_tb_footer h5 {
	padding-bottom: 15px;
}

.et_pb_column_1_4 .address {
	text-transform: uppercase;
}



.find-us-section h2.small-line {	
	padding-bottom: 30px;
	margin-bottom: 30px; 	
}
.find-us-section h6 {
	margin-top: 30px;
	font-weight: 400;
	text-transform: inherit;
	padding-bottom: 0px;
}


footer .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 2px;
    display: block;
    width: 100%;
    line-height: 38px;
}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 0px;
    font-variant: inherit;
	transition: all .5s;
}
footer .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a:hover,
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a:hover {
	color: #28b4ff !important;
	transition: all .5s;
}
.footer-bottom .et_pb_text_inner,
.footer-bottom .flink {
	color: #94a7c8;
	transition: all .5s;	
}
.footer-bottom .flink:hover {
	color: #28b4ff;
	transition: all .5s;
}
.footer-bottom .design-by {
	color: #28b4ff;
}
.fcontact a {
	color: #fff;	
	display: block;
	transition: all .5s;
}
.fcontact a:hover { 
	color: #28b4ff;
	transition: all .5s;
}
.fcontact a img{
	vertical-align: middle;
    margin-right: 8px;

}
ul.et_pb_social_media_follow_0_tb_footer a.icon {
	transition: all .5s;
	opacity: 1;
}
ul.et_pb_social_media_follow_0_tb_footer a.icon:hover {
	transition: all .5s;
	opacity: 0.8;
}

.et_pb_gutters3 .welcome-section .et_pb_column, .et_pb_gutters3.et_pb_row .welcome-section .et_pb_column {
    margin-right: 0px !important;
}
.et_pb_gutters3 .welcome-section .et_pb_column:last-child, 
.et_pb_gutters3.et_pb_row .welcome-section .et_pb_column:last-child {
	width: 52%;
}

.welcome-section .et_pb_column_1 {
	margin-top: -40px;
}
.welcome-section .et_pb_column_2 {
	margin-top: -54px;
}
.welcome-section h1 {
	margin-bottom: 20px;
}
.service-section .et_pb_image img {
	width: 100%;
}
.service-section .et_pb_image .et_pb_image_wrap {
	width: 100%;
}
.testimonials-heading h2 {
	margin-bottom: 70px;
}
.testimonials-heading {
	margin-bottom: 50px;
	position: relative;
}
.testimonials-heading:before {	
	content:'';
	background: #fff url(./images/quote.png) no-repeat left center;
	position: absolute;
	left: 0;
	bottom: -25px;
	width: 180px;
	height: 100px;	
}
.testimonial-slider {
	border-bottom: 2px solid #d5d5d5;
}
.testimonial-slider .et_pb_slide_content h4 {
	font-size: 20px;
	line-height: 25px;
	color: #1c3766 !important;
	font-weight: 700;
	text-transform: uppercase;
	text-shadow: none;
}
.testimonial-slider .et_pb_slide_content h5 {
	font-size: 20px;
	line-height: 25px;
	color: #6f7577 !important;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 30px;
	text-shadow: none;
}
.testimonial-slider .et_pb_slide_content p {
	font-size: 16px;
	line-height: 25px;
	color: #2f3237;
	font-weight: 400;	
	margin-bottom: 30px;
	text-shadow: none;
}

.testimonial-slider .et-pb-arrow-next, 
.testimonial-slider .et-pb-arrow-prev {
	top: 15%;
	opacity: 1;
	color: #009ede;
    border: 2px solid #009ede;
	border-radius: 50px;
}
.testimonial-slider .et-pb-arrow-prev:hover,
.testimonial-slider .et-pb-arrow-prev {
	left: auto !important;
    right: 60px;
}
.testimonial-slider .et-pb-arrow-next:hover,
.testimonial-slider .et-pb-arrow-next {	
    right: 0px !important;
}
.testimonial-slider .et-pb-arrow-next:hover, 
.testimonial-slider .et-pb-arrow-prev:hover {	
	color: #fff;  
	background: #009ede; 
}

.et_pb_social_media_follow li a.icon {
    height: 45px;
    width: 45px;
}
.et_pb_social_media_follow li a.icon:before {
    height: 45px;
    width: 45px;
    font-size: 30px;
    line-height: 45px;
}
.follow-text .et_pb_text_inner {
	padding-top: 11px;
}

.banner-section .et-pb-arrow-next, .banner-section .et-pb-arrow-prev {
	font-size: 75px;
}
 
/*** horse for sale ***/
.pony-item {
	background: #f6f6f6;
	padding: 15px;
	list-style: none;
	margin-bottom: 25px;
	box-shadow: 0px 2px 6px #cccc;
    border-radius: 10px;
}
.pony-item span,
.pony-item {
    font-size: 15px;
    color: #3f3f3f;
    line-height: 1.7;
}
.first-row {
	display: flex;
    flex-wrap: wrap;
	clear: both;
}
	
.first-row .third-col span {
	display: inline-block;
}
.first-row .third-col span.label {
	width: 88px;
	float: left;
	text-align: left;
	padding: .2em .6em .3em;
	font-weight: 700;
	white-space: nowrap;
}
.first-row .third-col span.value {
	width: calc(100% - 88px);
	float: left;
	font-size: 12px;
	padding-top: 5px;
	overflow-wrap: break-word;
}
.first-row .third-col span.value a {
   color: #3f3f3f; 
}
.first-row .third-col br {
	clear: both;
}

.second-row {
	display: flex;
    flex-wrap: wrap;
	align-items: center;
	clear: both;
}
.second-row .second-col .row {	
    margin-top: 15px;    
}
.second-row .second-col .row hr {
	border: 0px;
	box-shadow: inherit;

	border-top: 1px solid #fff;
	max-width: 80%;
	margin-bottom: 15px;
	box-shadow: 0px 2px 5px #fcfcfc;
}

.pony-item .second-row ul {
	list-style: none !important;
	list-style-type: inherit;
	padding-left: 0px;
}

.bigimage-zoom.overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #cccccccf;
	opacity: 0;
	transition: all .5s;
	
	
}
.bigimage-zoom.overlay.active {
	display: flex;
	opacity: 1;
	align-items: center;
	transition: all .5s;
	z-index: 999;
	left: 0;
	top: 0;
}
.bigimage-zoom figure {
	width: 50%;
    margin: auto;
}	
.bigimage-zoom.overlay img {
	width: 100%;	
}
.pony-item .first-row .first-col > img {
	cursor: pointer;
}
.pony-item figure {
	width: 50%;
    margin: auto;
	position: relative;
}
.pony-item figure .close {
	font-size: 24px;
	/* position: absolute;
	top: 20px;
	right: 20px; */
	padding-bottom: 10px;
	color: #000;
	cursor: pointer;
}


.pony-item .row {
    margin-right: -15px;
    margin-left: -15px;
}
.pony-item .col-md-4 {
    width: 33.33333333%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}
.pony-item .col-md-8 {
    width: 66.66666667%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}
.pony-item .col-md-6 {
    width: 50%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}
.pony-item .second-row .second-col {
	display: inline-grid;
}
.pony-item h3 {
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 20px;
}

@media only screen and ( max-width:1720px ) {
	#top-menu li {
		padding-right: 20px;
	}
}

@media only screen and (min-width: 1250px) and ( max-width:1475px ) {
	header .et_pb_menu .et-menu > li {
		font-size: 12px;
		padding-left: 11px;
		padding-right: 11px;
	}
}
@media only screen and (min-width: 981px) and ( max-width:1249px ) {
	header .et_pb_menu .et-menu > li {
		font-size: 12px;
		padding-left: 7px;
		padding-right: 7px;
	}
}
@media only screen and ( max-width:1370px ) {
	#top-menu > li.current-menu-item > a, #top-menu > li > a {
		font-size: 14px;
	}
	footer .et_pb_column_2_tb_footer,
	footer .et_pb_column_1_tb_footer {
		padding-left: 0px;
	}
	.et_pb_column_0_tb_footer .et_pb_text_inner > p:nth-child(3) span,
	.et_pb_column_0_tb_footer .et_pb_text_inner > p:nth-child(4) span {
		font-size: 15px;
	}
}

@media only screen and ( max-width:1300px ) {
	.et_pb_column_7 {
		background-position: center center;
		background-size: contain;
	}
	/* .testimonials-section {
		padding-left: 15px;
		padding-right: 15px;
	} */
}
@media only screen and ( max-width:1100px ) {
	
}

@media (max-width: 991px) {
    .pony-item .col-md-4 {
		width: 100%;
	}
	.pony-item .first-row .first-col {
		text-align: center;
	}
	.first-row .first-col > img {
		margin: 0px auto 20px;
	}
	.first-row .second-col h3 {
		text-align: center;
	}
	.second-row .first-col h3 {
		/* display: none; */
		margin-top: 20px;
		margin-bottom: 0px;
		text-align: center;
	}
	.second-row .second-col .row hr {
		margin-top: 0px;
	}
	.second-row .first-col,
	.second-row .second-col {
		width: 100%;
	}
	.second-row .second-col .col-sm-6 {
		width: 50%;
		float: left;
	}
	.pony-item figure {
		width: 85%;
	}
	.pony-item .contact-info {
	    margin-top: 25px;   
	}
	.ajax-load-more-wrap .alm-listing {
		padding-left: 0px !important;
	}
}

@media only screen and ( max-width:980px ) {
	header .et_pb_column.et_pb_column_1_4 {
		width: 35%;		
	}
	header .et_pb_column.et_pb_column_3_4 {
		width: 65%;		
	}
	
	.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar::before, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__cart-button {
		color: #1c3766 !important;
	}
	.et_pb_menu .et_mobile_menu {
		min-width: 300px;
		right: 0px;
		left: auto;
	}
	.et_pb_gutters3 .welcome-section .et_pb_column:last-child, .et_pb_gutters3.et_pb_row .welcome-section .et_pb_column:last-child {
		width: 100%;
	}
	.slide-content-wrap .slide-text {
		width: 100%;
		max-width: 100%;
	}
	.slide-content-wrap .slide-contact {
		width: 100%;
	}
	.et_pb_slider_0 .et_pb_slide > .et_pb_container {
		min-height: 520px;
	}
	.welcome-section .et_pb_column_1 {
		margin-top: 0px;
	}
	.welcome-section .et_pb_column_2 {
		margin-top: -34px;
	}

	.logo_container > a {
		background: transparent;
	}
	#logo {
		margin-bottom: 0px;
	}
	.mobile_menu_bar:before {
		color: #fff;
	}
	
	#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
		border-top: 3px solid #76983a;		
	}
	
	
	.et_pb_section_3 .et_pb_column_1_2 {
		margin-top: 40px;
	}
	
	footer .et_pb_menu .et_pb_menu__menu {
		display: flex;
	}
	footer .et_pb_menu .et_mobile_nav_menu {
		display: none;
	}
	.footer-bottom .et_pb_text_inner {
		text-align: center;
	}
}

@media only screen and ( max-width:840px ) {
	.service-title img {
		height: 32px;
	}
	
}

@media only screen and ( max-width:767px ) {
	.top-header h2 { font-size: 34px; }
	.top-header p { font-size: 10px; line-height: 30px; }
	.top-header img { width: 20px; }	
}
@media only screen and ( max-width:680px ) {
	.follow-text .et_pb_text_inner {
		display: none;
	}
}
@media only screen and ( max-width:480px ) {
	header .et_pb_column_1_4 .et_pb_image {
		text-align: center;
	}
	.slide-contact a {
		font-size: 12px;
	}
}
@media only screen and ( max-width:459px ) {
	
	h2.small-line.black,
	.et_pb_text_5 h2 {
		font-size: 30px;
		line-height: 35px;
	}
}