/* Theme Name: Larry Staley
 * URI: https://kvtemplates.com
 * Author: Justin Hemker
 * URI: https://justinhemker.com/
 * Description: Custom kvCore Home Page Design
 */
 
/*--Common Bootstrap Override Styles--*/

/*--Full Width No Padding--*/
.front .container-fluid {
	padding-left:0;
	padding-right:0;
}
/*--Equal Height Columns--*/
.eq-height-row {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.eq-height-col {
height: 100%!important;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.justify-content-center {
-webkit-box-pack: center!important;
-webkit-justify-content: center!important;
-ms-flex-pack: center!important;
justify-content: center!important;
}
/*--Center Inline Elements--*/
.center-flex {
align-items:center;
}
/*--Center Block Elements--*/
.mx-auto {
margin:0 auto;
}
.text-left{
text-align:left;
}
.text-right{
text-align:right;
}

/*--Common KV Override Styles--*/

/*--Increase Base Font Size--*/
/*--Add Background Texture--*/
.kvtemplates-dot-com {
font-size:1rem;
font-weight:400;
background-image: 
linear-gradient(
	rgba(255, 255, 255, 0.1), 
    rgba(255, 255, 255, 0.1)
), url(https://kunversion-frontend-blog.s3.amazonaws.com/images/customarea-larrystaley.exprealty.com-100349-0f6e2c02574d394b5886b5c7db3c4eafe1ee2c93.png);
}

@media only screen and (max-width: 576px) {
	#header .logo.secondary {
	    transform: scale(0.7) translate(-85px, 0px);
	}
}
/*--Pad Search Bar--*/
.front .cover-title {
padding:0 20px;
}
.front .cover-title-inner{
display:none;
}
.cover-image.cover-overlay {
	opacity:1 !important;
}
/*--Remove Padding Under Info Bar--*/
.front section#categories.p-t-3 {
	padding-top:0 !important;
}
/*--Remove Dark Overlay On Hero Image--*/
.front .cover {
background-color:transparent;
}
@media (max-width: 580px), screen and (orientation: portrait) {
    .cover-image {
        background-size: cover;
    }
    .listing-carousel-wrapper .owl-carousel button.owl-prev {
        left: -40px;
    }
    .listing-carousel-wrapper .owl-carousel button.owl-next {
        right: -40px;
    }
}
.footer-top-left .agency-logo{
	text-align:center;
}
.footer-top-left img.exp-white-logo{
	max-width:135px;
	vertical-align:baseline;
}
/*--Force Align Testimonials--*/
.carousel-item {
text-align:center;
}
small.credits {
    clear:both;
    display:block;
    font-size:.5rem;
}
small.credits,
small.credits a,
small.credits a:hover {
    color:#fff;
}
/*--Custom KV Styles--*/

/*--Background Color--*/
.primary-background {
background-color: #002a62;
}
.secondary-background {
background-color: #333333;
}
/*--Light Buttons--*/
.btn-secondary {
color:#fff;
border:2px solid #fff;
background-color:#002a62;
} 
.btn-secondary:hover {
color:#002a62;
background-color:#fff;
border-color: #fff;
}
/*--Light Text--*/
.text-light,
.text-light a {
	color:#fff;
} 

/*--Drop Shadows--*/
.soft-drop-shadow {
box-shadow: 5px 5px 40px rgba(0,0,0,.1);
}
.hard-drop-shadow {
box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
/*--Pad Sections Without Backgrounds--*/
section.no-bg-img {
	padding-top:40px;
	padding-bottom:40px;
}
/*--Two-Line Section Headers--*/
h3.title {
margin-bottom:20px;
text-align:center;
text-transform:uppercase;
font-weight:600;
}
h3.title span {
display: inline-block;
font-size:.5em;
}
h3.title span::before,
h3.title span::after {
display: inline-block;
content: "";
width: 33px;
margin: 0 5px;
transform: translateY(-5px);
}
h3.title.light {
color:#fff;
}
h3.title.dark {
color:#333;
}
h3.title.light span::before,
h3.title.light span::after {
border-top: 2px solid white;
}
h3.title.dark span::before,
h3.title.dark span::after {
border-top: 2px solid #333;
}

/*--Agent Feature Section--*/
#agent-feature .agent-text-title {
letter-spacing: -.025em;
line-height: 1;
font-weight: 700;
font-size: 2.5rem;
}
#agent-feature .agent-image .content {
	display:block;
	align-items:center;
}
#agent-feature .agent-image-headshot {
    box-shadow: 0 20px 80px rgba(0,0,0,.2);
    border: 10px solid #fff;
    max-width: 400px;
    width: 100%;
}
#agent-feature .agent-image-caption {
	display: inline-block;
	vertical-align:middle;
	position: relative;
	white-space:nowrap;
    text-transform: uppercase;
}
#agent-feature .agent-image-caption h2 {
font-size: .8rem;
font-weight: 700;
letter-spacing: 0.1em;
line-height: 1.5;
position:relative;
transform:none;
margin-top:15px; 
}
#agent-feature .agent-image-caption span.separator {
display:none;
}
#agent-feature .agent-image-caption span.caption-name, 
#agent-feature .agent-image-caption span.caption-title {
display:block;
}

/*--Featured Area Section--*/
.area-search figure img {
	width: 100%;
}
 
.area-search figure {
	margin:0 0 24px 0;
	padding:0;
	position:relative;
	display:block;
	cursor:pointer;
	overflow:hidden;
	background-color:#fff;
	border:5px solid #fff;
	outline: 1px solid #dedede;
	box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.area-search figcaption.search-location h3{
	color:#333;
	font-size:1.25rem;
	font-weight:500;
	letter-spacing:.2rem;
	text-transform:uppercase;
	margin:0.5rem auto;
}
.area-search figure:hover figcaption.location-description {
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	-o-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
	top: 0;
}

.area-search figcaption.location-description {
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	filter: alpha(opacity=0);
	opacity: 0;
	position: absolute;
	height: 100%;
	width: 100%;
        top: -100%;
	background: rgba(0,0,0,.5);
	color: #fff;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
	-webkit-transition-delay: .5s;
	-moz-transition-delay: .3s;
	-o-transition-delay: .3s;
	-ms-transition-delay: .3s;
	transition-delay: .3s;
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
}

.area-search figcaption.location-description p {
	padding: 10px;
	margin-bottom: 0;
	margin-top: 5px;
	position: relative;
	left: 150%;
	font-size: 15px;
	line-height: 1.2;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;
	-webkit-transition-delay: 1.3s;
	-moz-transition-delay: .7s;
	-o-transition-delay: .7s;
	-ms-transition-delay: .7s;
	transition-delay: .7s;
}

.area-search figure:hover h3, .area-search figure:hover p {
	left: 0;
}

.area-search figcaption.location-description a {
	color: #fff;
	border: 2px solid #fff;
	padding: 4px 10px;
	text-decoration: none;
}

.area-search figcaption.location-description a:hover {
	color: #4f5856;
	background: #fff;
}

/*--Home Valuation Section--*/
#home-valuation img {
display:block;
width:270px;
height:auto;
margin:0 auto;
}

/*--Create Account - Listing Alerts--*/
#create-account p:first-of-type a,
#join-the-team p:first-of-type a {
text-decoration:underline;
}
#create-account .polygon-search,
#join-the-team .team-huddle {
display:block;
width:360px;
height:auto;
margin:0 auto 24px;
border:5px solid #fff;
}

/*--Mission Statement In About Section--*/
.front #about > div {
padding:0 !important;
font-size:1rem;
font-weight:400;
}
.front #about div.container:first-of-type {
max-width:100%;
}
.front #about h1 {
display:none;
}
.front #about-content{
	display:none;
}
.front #mission-statement {
	display:block !important;
	background-color:#fff;
}
.front #mission-statement {
	display:block;
}

#mission-statement > div {
padding:0 !important;
font-size:1rem;
font-weight:400;
}
#mission-statement div.container:first-of-type {
max-width:100%;
}

#mission-statement .col-md-8 {
max-width:960px;
}
h4.feature {
	margin: 30px 0 10px;
	color:#333;
    font-size:1.25rem;
    font-weight:500;
	text-transform:uppercase;
}
h4.feature i {
    font-size:2rem;
	margin-right:.5rem;
}
	@media (max-width: 580px), screen and (orientation: portrait) {
	.cover-image {
	    background-size: cover !important;
	}
}
@media only screen and (max-width: 767px) {
	#mission-statement div.bg-img {
	min-height:300px;
	width:100%;
	}
	#home-valuation img {
	margin-top:24px;
	}
}
@media only screen and (min-width: 500px) {
#agent-feature .agent-image-headshot {
	margin-left:25px;
	margin-right:15px;
	}
#agent-feature .agent-image-caption h2 {
	transform: translateX(-50%) translateY(-50%) rotate(-90deg);
	position: absolute;
	margin-top: 0;
	}
	#agent-feature .agent-image-caption span.separator,
	#agent-feature .agent-image-caption span.caption-name, 
	#agent-feature .agent-image-caption span.caption-title {
	display:inline;
	}
}
@media only screen and (min-width: 768px) {
	#agent-feature .container .row {
		display:flex;
		align-items:center;
	}
	#agent-feature .agent-image {
	display:flex;
	justify-content:flex-end;
	}
	#agent-feature .agent-image-headshot {
		margin-left:0;
	}
	#agent-feature .agent-text-title {
	margin-bottom: 35px;
	}
	#agent-feature .col-md-6 .agent-text-title {
	margin-left: -35px;
	}
	#agent-feature .agent-image .content {
	display:flex;
	}
	#create-account .polygon-search {
	margin:0 auto;
	}
	.footer-top-left .agency-logo{
	text-align:left;
	}
}
@media only screen and (min-width: 1200px) {
	#mission-statement .p-x-1 {
	padding-right:3rem !important;
	padding-left:3rem !important;
	}
}