/* Reset Styles
***********************/
html, body, div, span, applet, object, iframe, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
strong {font-weight: bold;}
em {font-style: italic;}

:root{
    --primary: #9C9583;
    --secondary: #E2D4B7;
    --thrid-color: #CADBC8;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: black;
    opacity: 1; /* Firefox */
}

/* @import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@100&display=swap'); */

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
	padding: 0;
}

html, body{
    background: whitesmoke;
    color: #666;
    font-family: sans-serif;
}
body{
    margin: 0 auto;
}

html{
    scroll-behavior: smooth;
}

.fa-stack.small { 
    font-size: 0.5em; 
    vertical-align: middle !important;
}

h2{
    font-family: 'lato', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 10px 0;
}
.search-content h3{
    font-weight: 200;
    margin: 30px 0 10px;
}
p{
    font-size: 1rem;
    line-height: 1.35rem;
    margin: 0.75rem;
}
a{
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
}
small{
    font-size: 12px;
}
section{
    padding: 60px 20px;
}
section.page{
    margin-top: 20px;
}
.centered{
    text-align: center;
}
.left{
    text-align: left;
}
.slim{
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
}
.nowrap{
    white-space: nowrap;
}
.full-width{
    width: 100%;
}
.rotate {
    transform: rotate(180deg);
    transition: .3s;
}
.rotate-backwards {
    transform: rotate(-180deg);
    transition: .3s;
}
.secondary{
    color: var(--secondary);
}
.primary-bg{
    background: var(--primary);
    color: white;
}

.black-bg{
    background: #1f1f1f;
    color: white;
}
.black-bg h2{
    color: white;
}

.dark-logo{
    fill: var(--primary);
    margin: 20px auto;
    max-width: 200px;
    width: 90%
}

.fat-call-to-action{
    background: var(--primary);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 1.25rem;
    padding: 20px;
}

.header-spacer{
    height: 120px;
}

/* podcast players */
audio::-webkit-media-controls-panel {
    background: none;
}

header{
    /* background: rgba(0,0,0,0.3); */
    background: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
    /* box-shadow: 0 0 50px black; */
    backdrop-filter: blur(10px);
    /* height: 80px; */
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}


/* nav common */
nav{
    display: inline-block;
    position: absolute;
    right: 80px;
    top: 15px;
}
nav ul{
	list-style: none;
}
nav ul li a{
    border-radius: 25px;
	color: white;
	display: block;
	padding: 10px 15px;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}
nav ul li a:hover{
	background: var(--primary);
}
nav ul li a.active{
	background: var(--primary);
}
/* nav desktop */
nav ul.desktop{
    display: none;
}
nav ul.desktop li{
	display: inline-block;
	position: relative;
}
/* phone */
nav .phone{
    color: white;
    font-size: 1.5rem;
    position: fixed;
    right: 70px;
    z-index: 100;
}
/* nav mobile */
nav .hamburger{
	color: white;
    cursor: pointer;
	font-size: 2rem;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 100;
}
nav ul.mobile{
    background: rgba(0,0,0,0.8);
    display: block;
    height: 100vh;
    right: -200%;
    padding: 75px 20px 15px;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 90;
    transition: all .5s;
}
nav ul.mobile li{
	display: block;
	position: relative;
}





/* logo */
.header-logo{
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}
.header-logo svg{
    fill: white;
    height: 35px;
    margin: 0 5px 0 15px;
    padding: 0px;
    width: 35px;
    vertical-align: bottom;
}
.header-logo span{
    font-size: 12px;
}

.print-logo{
    display: none;
    height: 75px;
    margin: 1rem;
    width: 75px;
}


/* animated logo */
.anim-logo{
    width: 80px;
    margin: 0 auto;
}
.anim-logo svg path{
    fill: white;
}
.anim-logo svg path.visible {
    visibility: visible;
}

.anim-logo svg path.hidden {
    visibility: hidden;
}


/* alec */
img.alec, img.modal-alec{
    border-radius: 50%;
    height: 200px;
    margin: 0 auto;
    width: 200px;
}

/* home quote */
.alec-home-quote{
    font-size: 2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height: 2.25rem;
    margin: 0 auto;
    max-width: 480px;
    padding: 20px;
    text-align: center;
    width: 90%;
}



  



/* sign in */
.sign-in{
	margin: 0 auto;
	max-width: 300px;
	width: 90%;
}
.sign-in button{
    border: none;
    border-radius: 5px;
    padding: 10px;
}
.sign-in button.g-sign-in{
    font-size: 1.25rem;
}
.sign-in label{
    display: block;
    font-size: .75rem;
    margin: 10px 0;
    text-align: left;
}
.sign-in input{
    background: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
}





/* hero */
.hero {
    color: white;
    /* font-weight: 100; */
	height: 100vh;
	min-height: 100%;
	padding: 0;
	position: relative;
	overflow: hidden;
}

/* #hero-background{
    filter: grayscale(100%);
	position: absolute;
    width: auto;
    min-height: 100%;
    min-width: 100%;
    left: 50%;
    transform: translate(-50%);
    top: 0;
} */
.hero .hero-bg{
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero .hero-cover {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.hero .hero-weather{
    color: white;
    right: 20px;
    position: absolute;
    bottom: 0;
    text-align: right;
}
.hero .hero-weather img{
    vertical-align: middle;
}

.hero .hero-center{
    margin: 0 auto;
    max-width: 480px;
    width: 90%;
    padding-top: 80px;
    position: relative;
    text-align: center;
}

.hero .hero-center img{
    display: none;
	margin: 0 auto;
	max-width: 70px;
	width: 90%;
}
.hero .hero-center h3, .hero .hero-center h1{
    font-weight: 100;
}
.hero .hero-center h1{
	font-size: 24px;
	line-height: 32px;
	margin-top: 10px;
	text-align: center;
}

/* the down pointing chevron */
.hero-chevron{
	bottom: 5px;
	display: inline-block;
	font-size: 50px;
	left: 50%;
	position: absolute;
}

.hero-chevron svg{
	bottom: 0;
	color: white;
	left: -50px;
	padding: 10px;
	position: absolute;
}

.hero-chevron svg:hover{
	animation: chevronBtn .5s infinite alternate;
}

@keyframes chevronBtn {
   0% {transform: translateY(0px)}  
  100% {transform: translateY(-15px)}  
}

img.home-staff{
    filter: grayscale(100%);
    transition: all, 1s;
}
img.home-staff:hover{
    filter: grayscale(50%);
}


/* home town links */
.home-link{
    border: none;
    border-radius: 5px;
    display: inline-block;
    filter: grayscale(100%);
    height: 300px;
    margin: 5px;
    padding: 0;
    position: relative;
    width: 100%;
}
.home-link:hover{
    filter: grayscale(0%);
}
.home-link.ts{
    background: url('/assets/img/towns/todos-santos.jpg') center;
    background-size: cover;
}
.home-link.cp{
    background: url('/assets/img/towns/cerritos.jpg') center;
    background-size: cover;
}
.home-link.ec{
    background: url('/assets/img/towns/elias-calles.jpg') center; 
    background-size: cover;
}
.home-link a, .home-link-cover{
    border-radius: 5px;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
}
.home-link-cover{
    background:rgba(0, 0, 0, 0.25);
    -webkit-transition: all 1s; /* Safari */
    transition: all 0.5s;
}
.home-link:hover .home-link-cover{
    background:rgba(0, 0, 0, 0);
}
.home-link p{
    font-size: 20px;
    font-weight: 200;
}
.home-link .home-link-content{
    bottom: 20%;
    color:rgba(255, 255, 255, 1);
    font-weight: 100;
    font-size: 30px;
    height: 50%;
    position: absolute;
    width: 100%;
    -webkit-transition: all 1s; /* Safari */
    transition: all 0.5s;
}
.home-link:hover .home-link-content{
    color:rgba(255, 255, 255, 0);
    height: 100%;
    opacity: 1;
}
.home-link span img{
    bottom: 20%; 
    height: 60px;
    left: 43%;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 1s; /* Safari */
    transition: all 0.5s;
    width: 60px;
}
.home-link:hover span img{
    opacity: 1;
}


/* multi marker map */
.map-wrap {
    margin-top: 60px;
    position:relative; 
}  
.overlay {
	background: rgba(0, 0, 0, 0.3);
	cursor: pointer;
    width: 100%;
    min-height: 600px; 
    position: absolute; 
    top: 0;
    z-index: 50;
}
.overlay-txt{
	color: white;
	font-size: 22px;
	left: 40%;
	position: absolute;
	top: 45%;
}
#multi-marker-map{
	height: 600px;
	width: 100%;
}
#multi-marker-map.listing{
	height: 400px;
}
.multi-marker-div{
	width: 180px;
}
.multi-marker-div a{
    color: black;
	text-decoration: none;
}
.multi-marker-div h2{
	font-size: 18px;
	font-weight: 100;
	line-height: 20px;
	margin: 0;
	padding: 5px 0;
}
.multi-marker-div img{
	width: 100%;
}
.open-in-google{
    display: block;
    font-size: small;
    margin-bottom: 5px;
}



/* pagination */
/* .pagination-nav{
    display: block;
    margin: 50px auto;
    text-align: center;
}
.pagination-nav span.active{
    background: #999;
    color: white;
}
.pagination-nav a, .pagination-nav span{
    background: white;
    border-radius: 3px;
    padding: 20px 10px;
    text-decoration: none;
    color: #999;
}
.pagination-nav a:hover{
    background: var(--primary);
    color: white;
} */



/* search */
/* .search-div{
    text-align: left;
} */
.hero-search{
    width: 100%;
    margin: 0 auto;
}
.search-div{
    margin: 10px 0;
    position: relative;
    text-align: left;
}

.search-div .tabs{
    display: flex;
    margin-left: 10px;
}
.search-content .search-div .tabs{
    margin-left: 0;
}
/* .search-div div.search-instructions{
    display: block;
    font-size: 0.8rem;
    text-align: left;
} */
.search-div input[type="search"]{
    border: 2px solid var(--primary);
    border: none;
    border-radius: 25px;
    font-size: .85rem;
    font-weight: 100;
    margin: 7px 5px 5px;
    padding: 16px;
    width: calc(100% - 65px);
    max-width: calc(100% - 65px);
    vertical-align: middle;
}
/* .search-div input[type="search"]::placeholder{
    color: white; 
}
.search-div input[type="search"]:focus::placeholder{
    color: rgba(0,0,0,0); 
} */
.search-div select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%23999" d="M8 11.5L3.5 7h9L8 11.5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    border: none;
    font-size: 0.8rem;
    margin: 7px 5px;
    padding: 16px 24px 16px 16px;
}
.modal select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    border-radius: 10px;
    background: #eee;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%23999" d="M8 11.5L3.5 7h9L8 11.5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    border: none;
    display: block;
    font-size: 1rem;
    margin: 0;
    padding: 16px 24px 16px 16px;
    width: 100%;
}
.search-div button{
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    padding: 13px;
    height: 45px;
    width: 45px;
}
.search-div button:hover{
    color: black;
}
.search-div button svg{
    transition: all 0.3s;
}
.search-div button:hover svg{
    transform: scale(1.5);
}

a.advanced-search-modal-link{
    /* background: var(--thrid-color); */
    color: #333;
    cursor: pointer;
    display: inline-block;
    margin: 10px 0 0 20px;
    padding: 5px;
}
.hero-search a.advanced-search-modal-link{
    color: white;
}

.fixed-search{
    /* background: whitesmoke;
    position: absolute; */
    padding-bottom: 10px;
    /* z-index: 9;
    width: 100lvw; */
}


/* broken search */
img.broken-search{
    display: block;
    margin: 30px auto;
    opacity: 0.2;
    width: 80px;
}
.search-tags{
    margin: 5px 30px;
}
.search-tags a{
    background: var(--primary);
    border-radius: 3px;
    color: white;
    display: inline-block;
    margin: 3px;
    padding: 10px;
    text-decoration: none;
    transition: all .5s;
}
.search-tags a:hover{
    background: black;
}
.modal.advanced .modal-content {
    background-color: rgba(30,30,30,0.9);
    margin: 20px auto;
    max-width: 600px;
    padding: 15px; 
    width: 100%;
}
.modal.advanced .modal-block{
    background-color: rgba(255,255,255,0.9);
    border-radius: 5px;
    color: black;
    padding: 20px;
    text-align: left;
}
/* search tab */
/* .search-div .tabs{
    padding-left: 20px;
} */

.search-div .tabs div{
    background: rgba(255,255,255,0.8);
    border-radius: 10px 10px 0 0;
    color: black;
    cursor: pointer;
    display: inline-block;
    font-size: 0.75rem;
    padding: 10px;
    margin: 0;
    flex-grow: 1;
    min-width: 0; /* Prevents shrinking smaller than content width */
}
.search-div .tabs .active {
    background-color: var(--primary);
    color: white;
}
.search-block {
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}
.search-block-content {
    opacity: 0;
    max-height: 0;
    visibility: hidden;
    /* margin-left: 1000px; */
    transition: all 0.3s ease-in-out;
    overflow: hidden; /* hide the overflowing content when the container is collapsed */
}
.search-block-content.active {
    opacity: 1;
    max-height: 550px; /* adjust this as per requirements */
    visibility: visible;
    /* margin-left: 0; */
    transition: all 0.3s ease-in-out;
}
.search-block-content.active .search-div{
    margin: 0 0 60px 0;
}
.search-block-content.active .search-div input[type="text"]{
    margin: 10px 3px 0 0;
}
.search-div select{
    border-radius: 5px;
}
.search-div label{
    border-radius: 5px;
    display: block;
    background: white;
    color: #999;
    padding: 10px 30px;
    margin: 5px 0;
}

/* content */
.search-content, .content{
    display: inline-block;
    padding: 0 1.5rem;
    width: 100%;
}
.content{
    display: block;
    margin: 60px auto 0;
}

/* noUiSlider */
.slider{
    background: #ccc;
    margin: 25px 20px 5px;
    height: 5px;
}
.noUi-handle{
    background: var(--primary);
    border: none;
    border-radius: 25px;
    box-shadow: none;
}
.noUi-base{
    border: none;
    border-radius: 5px;
    height: 5px;
}
.noUi-connect {
    background: var(--primary);
}
.noUi-horizontal .noUi-handle{
    width: 15px;
    height: 15px;
    right: -10px;
}
.noUi-handle:after, .noUi-handle:before{
    content: none;
}
.noUi-horizontal .noUi-tooltip{
    border: none;
    font-size: .85rem;
    padding: 0;
}

/* advanced search min max inputs */
label.min-max input[type=number]{
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: calc(50% - 5px);
}
label.adv-search-check{
    display: inline-block;
}
.modal.advanced button[type=submit], .search-div .search-block .adv button[type=submit]{
    border-radius: 25px;
    width: auto;
}
.modal.advanced button[type=submit] svg, .search-div .search-block .adv button[type=submit] svg{
    margin-left: 5px;
}


/* cards */
.card{
    background-color: white;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
    overflow: hidden;
    position: relative;
}
*:focus{
    outline: none;
}
.card .card-content{
    color: #444;
    display: inline-block;
    margin-left: 10px;
    padding: 10px;
    position: relative;
    width: calc(100% - 150px);
    vertical-align: top;
}
.card .card-logo{
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 10;
}
.card .card-logo svg{
    fill: var(--primary);
    height: 50px;
    width: 50px;
}
.card:first-child .card-content {
    border-top: none;
}
p .card-beds-baths{
    display: inline-block;
    margin: 3px;
    white-space: nowrap;
}
.card-beds-baths.featured{
    background: var(--thrid-color);
    border-radius: 3px;
    padding: 5px;
}
.card-img-holder{
    display: inline-block;
    height: 120px;
    width: 120px;
    overflow: hidden;
}
.card img{
    height: 100%;
}
.card strong{
    color: black;
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}
.card small{
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.card p{
    display: block;
    font-size: 12px;
    font-weight: 100;
    line-height: 0.7rem;
    margin: 0 0 5px 0;
}
.card a{
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}


/* podcast cards */
/* .pod-card{
    background: rgb(243,194,55);
    background: linear-gradient(330deg, rgba(243,194,55,1) 0%, rgba(221,116,71,1) 40%);
    border-radius: 15px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
    color: white;
    display: flex;
    margin: 10px auto;
    max-width: 600px;
    padding: 15px;
    text-align: left;
    width: 100%;
}
.pod-card img{
    border-radius: 10px;
    height: 100px;
    width: 100px;
}
.pod-card>div:nth-child(2){
    margin-left: 10px;
    position: relative;
    vertical-align: top;
}
.pod-card .pod-date{
    font-size: .75rem;
}
.pod-card .more{
    font-size: .85rem;
    font-weight: 100;
}
.pod-card audio{
    margin: 10px 0;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.pod-card h3{
    margin-top: 10px; 
}
.pod-card .pod-link{
    color: white;
}
.glide__bullet{
    background: var(--thrid-color);
    border: none;
    border-radius: 50%;
    height: 20px;
    margin: 20px 5px;
    width: 20px;
}
.glide__bullet.glide__bullet--active{
    background: var(--primary);
}*/
.morecontent span{
    display: none;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    hyphens: auto;
}
.morelink{
    color: white;
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
}



/* instagram */
/* ul.instagram{
    columns: 2;
}
ul.instagram li{
    background: white;
    border-radius: 10px;
    margin: 0 0 10px 0;
    overflow: hidden;
    padding: 10px;
    position: relative;
}
ul.instagram img{
    width: 100%;
}
ul.instagram li div.instagram-caption{
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px 10px 0 0;
    color: white;
    font-size: .8rem;
    left: 0;
    padding: 15px;
    position: absolute;
    top: -230px;
    word-break: break-word;
    transition: top .3s;
}
ul.instagram li:hover .instagram-caption{
    top: 0;
} */


/* blog */
/* .blog-post{
    display: inline-block;
    overflow: hidden;
    padding: 20px;
    position: relative;
    vertical-align: top;
    width: 48%;
}
.blog-post img{
    width: 100%;
}
.blog-post a{
    color: white;
}
.blog-post p, .blog-post small{
    background:rgba(0, 0, 0, 0.4);
    padding: 20px;
    position: absolute;
}
.blog-post p{
    left: 0;
    top: 0;
    width: calc(100% - 25px);
}
.blog-post small{
    border-radius: 10px 0 0 0;
    bottom: 20px;
    right: 20px;
} */



/* info list */
.info-list{
    list-style: none;
    margin: 0 auto;
    max-width: 800px;
    padding: 10px;
    width: 100%;
}
.info-list li a, ol.info-list li{
    border: 1px solid #ccc;
    border-radius: 5px;
    color: black;
    display: block;
    margin: 3px 0;
    padding: 15px;
    text-align: left;
}
.info-list li a:hover{
    background: var(--primary);
    color: white;
}

/* ol.info-list li:nth-child(odd){
    background: #dfdfdf;
} */

.info-block{
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
    width: 100%;
}



/* breadcrumbs */
.breadcrumbs{
    font-size: 0.75rem;
    margin: 100px auto 20px;
    max-width: 1300px;
    width: 95%;
}
.breadcrumbs a{
    color: #222;
    padding: 10px 0;
    line-height: 2rem;
}
.breadcrumbs a:hover{
    color: var(--primary);
}

/* .social-share-btns{
    text-align: right;
}
.social-share-btns a{
    color: white;
    font-size: 1.25rem;
    padding: 10px;
    text-decoration: none;
}
.social-share-btns a:hover{
    color: #333;
}
.social-share-btns a svg{
    vertical-align: middle;
} */


/* social share buttons */
div.listing-block.share-div{
    position: relative;
    overflow: hidden;
    height: 56px;
}
div.social-btns{
    background: #222;
    border-radius: 10px 0 0 10px;
	position: absolute;
	padding: 10px 20px;
	right: -265px;
	top: 0;
	transition: right 0.05s;
	/* vertical align to middle with flex */
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items : center;
	user-select: none;
}
div.listing-block.share-div:hover div.social-btns{
	right: -265px;
}
div.social-btns .hide-btns{
    color: white;
	margin-left: -20px;
    padding: 0 20px;
    text-align: center;
}
div.social-btns a{
    color: white;
    font-size: 18px;
    width: 35px;
    height: 35px;
    padding: 8px 0;
    text-align: center;
}
div.social-btns a:hover{
	background: var(--primary);
	border-radius: 50%;
}
.show-hide{
	display: none;
}
.show-hide-confirm{
	display: none;
	max-height: 15px;
}
  


/* listing */
section.listing{
    column-gap: 20px;
    padding: 20px;
}
div.listing-block{
    background: white;
    border-radius: 10px;
    break-inside: avoid;
    /* box-shadow: 0 3px 7px #c6c6c6; */
    margin: 0 0 20px;
    padding: 15px;
}
div.listing-block.orange{
    background: var(--primary);
}
div.listing-block ul li{
    padding: 10px;
    font-weight: 200;
}
div.listing-block ul li:nth-child(odd){
    background:rgba(0, 0, 0, 0.04);
}
.prior-price, .prior-date{
    color: crimson;
    font-size: 0.7rem;
    font-weight: 100;
    text-decoration: line-through;
}
.prior-price.down, .prior-date.down{
    color: #178717;
}
.prior-price.up, .prior-date.up{
    color: crimson;
}
.prior-date{
    color: #999;
    text-decoration: none;
}

/* matterport */
.matterport-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
}
.matterport-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* .gallery{
    
} */
.gallery .modal-btn{
    aspect-ratio: 4/3;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 48%;
}
.gallery .modal-btn:nth-child(2){
    margin-right: 4%;
}

.gallery .modal-btn:first-child{
    aspect-ratio: inherit;
    margin-bottom: 10px;
    width: 100%;
}
.gallery .modal-btn img{
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.gallery .modal-btn span{
    background:rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    color: white;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
}
.gallery .modal-btn span:hover{
    background:rgba(0, 0, 0, 0.5);
}
.gallery .modal-btn span b{
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 1.7rem;
    min-height: 100%;
}
/* camera and plus sign icons */
.gallery .modal-btn span b svg:first-child{
    margin-right: 5px;
}
.gallery .modal-btn span b svg:nth-child(2){
    font-size: .8rem;
    font-weight: bold;
}


/* virtuodigital custom modal script */
.modal {
	background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}
.modal.home-info .modal-content{
    max-width: 480px;
}
/* modal content */
.modal-content {
    background-color: rgba(255,255,255,0.9);
    border-radius: 5px;
    /* height: calc(100vh - 40px); */
    margin: 10px auto;
    padding: 5px; 
    position: relative;
	text-align: left;
    width: calc(100% - 40px);
}
.modal-content.photo-gallery{
    text-align: center;
}
.modal .block{
	display: inline-block;
	padding: 10px;
	text-align: left;
	vertical-align: top;
	width: 100%;
}
.modal .block img{
	width: 100%;
}
img.modal-thumb{
	width: 100%;
}
/* close btn */
.close {
    background: rgba(220,220,220,0.2);
    border-radius: 25px;
    color: black;
    padding: 5px 10px;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    z-index: 99;
}


/* swiper */
.swiper-slide img{
    max-width: 100%;
    max-height: calc(100vh - 40px);
}
.swiper-button-next, .swiper-rtl .swiper-button-prev, .swiper-button-prev, .swiper-rtl .swiper-button-next {
    background: rgba(220,220,220,0.2);
    border-radius: 20px;
    padding: 30px;
    color: black;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 1.25rem;
    font-weight: bolder;
}
.swiper-button-next{
    right: -10px;
}
.swiper-button-prev{
    left: -10px;
}
.swiper-button-next:hover, .swiper-button-prev:hover, .modal .close:hover{
    background: white;
}
.swiper-pagination{
    background: white;
    bottom: 0;
    border-radius: 5px 5px 0 0;
    padding: 5px;
    position: absolute;
    right: 0;
    width: 80px; 
}


/* MoXi */
div.moxi{
    background: #20315f;
    color: white;
}
div.moxi a{
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    padding: 10px;
}
div.moxi img, .moximod img{
    height: 35px;
    vertical-align: middle;
}
div.moxi-trigger{
    cursor: pointer;
}
div.moxi-app{
    display: none;
}
.moximod .modal-content{
    background: #20315f;
    color: white;
    max-width: 480px;
    padding: 15px;
    text-align: left;
    width: 100%;
}
.moximod .modal-content ul{
    list-style-type: disc;
    padding: 15px 30px
}
.moximod .modal-content ul li{
    padding: 5px 0;
}


/* price-mxn */
#price-mxn-note{
	position: relative;
}
#price-mxn-note{
	background: #333;
	border-radius: 5px;
	box-shadow: 2px 3px 5px rgba(0,0,0,0.5);
	color: white;
	display: none;
    margin: 10px 0;
	padding: 10px;
	width: 300px;
}



/* listing form */
.listing-block form label{
    color: black;
    display: block;
    font-size: 0.5rem;
    margin: 5px 0 2px;
    padding: 5px 15px;
}
.listing-block form input, .listing-block form textarea{
    background:rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
}
.listing-block form textarea{
    min-height: 110px;
}
.listing-block form input::placeholder, .listing-block form textarea::placeholder{
    font-family: sans-serif;
    min-height: 4rem;
}
.listing-block form input:focus::placeholder, .listing-block form textarea:focus::placeholder{
    color: rgba(0,0,0,0);
}
.listing-block form input.hpt{
    display: none;
}
.listing-block form input[type="submit"]{
    background: var(--primary);
    border-radius: 25px;
    color: white;
    padding: 10px;
}
.listing-block label.nsb{
    font-size: 1rem;
    margin: 15px auto;
    min-height: 65px;
    padding: 15px;
    text-align: center;
    width: 40%;
}

/* modal-form */
.listing-block form{
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
}
form button{
    background: var(--primary);
    border: none;
    border-radius: 5px;
    color: white;
    display: inline-block;
    margin: 5px auto;
    padding: 15px;
}


/* rental filter */
.rental-filter select{
    appearance:none;
    border: 1px solid #999;
    border-radius: 10px;
    font-size: 1rem;
    padding: 10px;
}
.rental-filter select:hover{
    border: 1px solid var(--primary);
    background: var(--primary);
    color: white;
}



/* staff */
.staff{
    margin: 0 auto;
    max-width: 500px;
    width: 90%;
}
.staff_member{
    border-radius: 5px;
	padding: 20px;
	margin-bottom: 40px;
    box-shadow: 3px 3px 10px rgb(207, 207, 207);
}
.staff_member>img{
	border-radius: 50%;
	margin: 0 15px 15px 0;
	float: left;
	width: 120px;
}
.staff_member h3, .staff_member p strong{
	line-height: 20px;
	margin: 0;
}
.staff_member p.bio{
	margin-top: 20px;
}


/* blog 
css to show the blog posts in the form of cards, one per row
*/
.blog-thumbs{
    display: block;
    text-align: center;
    width: 100%;
}
.blog-post{
    background: #fff;
    border-radius: 5px;
    /* box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3); */
    color: black;
    display: inline-block;
    margin: 5px;
    text-align: left;
    vertical-align: top;
}

.blog-post.thumb {
    opacity: 0.8;
    display: inline-block;
    width: 100%;
    min-width: 130px;
    max-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    transition: transform 0.3s;
}

.blog-post.thumb:hover {
    opacity: 1;
}

.blog-post.thumb .thumb-image {
    height: 0;
    padding-bottom: 100%; /* Makes height equal to width */
    background-size: cover; /* Ensures that the background image covers the full area */
    background-position: center; /* Centers the background image */
}

.blog-post.thumb:hover {
    transform: translateY(-5px);
}

.blog-post.thumb strong {
    display: block;
    font-weight: normal;
    padding: 0.5rem;
    font-size: 1.2rem;
}

.blog-post.thumb span {
    display: block;
    line-height: 1rem;
    font-size: 0.9rem;
    padding: 1rem;
}

.blog-post.thumb div.author{
    text-align: right;
    font-size: .8rem;
    padding: 0 1rem 1rem 0;

}
.blog-post.thumb div.author div{
    display: inline-block;
}

.blog-post.thumb img{
    border-radius: 50%;
    width: 30px;
}

.blog-post p{
    margin: 0;
}
.blog-post.post img.author{
    border-radius: 50%;
    width: 40px;
}
.blog-post a{
    color: var(--primary);
    display: block;
    margin: 10px 0 0;
}
.blog-post a:hover{
    text-decoration: underline;
}
.blog-post.post{
    max-width: 800px;
    padding: 1.5rem;
    margin-bottom: 4rem;
}
.blog-post.more-posts{
    padding: 3rem 1rem;
    max-width: 300px;
}
.blog-post.more-posts .thumb strong {
    font-size: 0.8rem;
}
.blog-post-content img{
    height: auto;
    width: 100%;
}
.blog-post.post .keywords span{
    border: 1px solid #999;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.8rem;
    font-style: italic;
    margin: 1px;
    padding: 8px;
}
.blog-post .blog-side-thumbs a.blog-post.thumb{
    background: none;
    box-shadow: none;
    margin: 0;
    text-align: left;
    transition: none;
}
.blog-post .blog-side-thumbs a.blog-post.thumb:hover{
    transform: translateY(0);
}

/* bottom footer section */
.bottom{
    background: #333;
    color: white;
    display: block;
}
.bottom p{
    font-size: 1rem;;
}
/* .bottom img.logo{
    display: block;
    margin: 0 auto;
    width: 50px;
} */
.bottom .social{
    text-align: center;
}
.bottom .social div, .bottom .social a{
    color: var(--secondary);
    cursor: pointer;
    display: inline-block;
    font-size: 1.25rem;
    padding: 15px;
}
.bottom .social div svg, .bottom .social a svg{
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
}
.bottom form{
    margin: 30px auto;
    max-width: 640px;
    padding: 0 30px;
    width: 100%;

    opacity: 0;
    max-height: 0;
    visibility: hidden;
    /* margin-bottom: 1000px; */
    transition: all 0.3s ease-in-out;
    overflow: hidden; /* hide the overflowing content when the container is collapsed */
}
.bottom form.active {
    opacity: 1;
    max-height: 1000px; /* adjust this as per your requirements */
    visibility: visible;
    /* margin-bottom: 0; */
    transition: all 0.3s ease-in-out;
}
.bottom form label{
    background:rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    color: black;
    display: block;
    font-size: 0.5rem;
    margin: 5px 0 2px;
    padding: 5px 15px;
}
.bottom form input, .bottom form textarea{
    background:rgba(255, 255, 255, 0);
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 1rem;
    padding: 5px;
    width: 100%;
}
.bottom form textarea{
    min-height: 110px;
}
.bottom form input::placeholder, .bottom form textarea::placeholder{
    font-family: sans-serif;
    min-height: 4rem;
}
.bottom form input:focus::placeholder, .bottom form textarea:focus::placeholder{
    color: rgba(0,0,0,0);
}
.bottom form input.hpt{
    display: none;
}
.bottom form input[type="submit"]{
    background: var(--primary);
    border-radius: 25px;
    color: white;
    padding: 10px;
}
.bottom label.nsb{
    font-size: 1rem;
    margin: 15px auto;
    min-height: 65px;
    padding: 15px;
    text-align: center;
    width: 40%;
}


/* whatsapp button */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}


.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-recaptcha {
    display: inline-block;
}

footer .copyright{
    font-size: 12px;
    margin: 70px 0 20px;
    text-align: center;
}

.ronival{
    display: block;
    margin: 0 auto;
    max-width: 200px;
    width: 100%;
}

@media (min-width: 800px) {
    .breadcrumbs{
        font-size: 1.25rem;
    }

    /* nav */
    nav ul.desktop{
		display: block;
	}
	nav ul.mobile, nav .hamburger, nav .phone{
		display: none;
	}
    /* hero */
    .hero .hero-center img{
        display: block;
    }
    .hero .hero-center{
        padding-top: 10%;
    }

    /* home page */
    .home-link{
        width: 30%;
    }
    .text-columns{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        grid-gap: 1rem;
        grid-auto-rows: minmax(45%, auto);
        grid-auto-flow: dense;
        padding: 0 20px;
    }
    .text-columns::after{
        box-decoration-break: clone;
    }

    /* listing */
    section.listing{
        /* grid-template-columns: repeat(2, 1fr); */
        columns: 2;
        max-width: 1400px;
        margin: 10px auto 0;
    }


    .search-content, .content{
        margin-top: 60px;
    }


    /* map */
    .map-wrap{
        display: inline-block;
        width: 40%;
        vertical-align: top;
    }

    #multi-marker-map{
        display: inline-block;
        height: calc(100vh - 60px);
    }
    #multi-marker-map.listing{
        height: 400px;
    }
    .overlay{
        height: 100vh;
    }

    .search-content, .content{
        height: calc(100vh - 60px);
        width: calc(60% - 3rem);
    }
    .search-content.rental{
        height: calc(100vh - 60px);
        width: calc(60% - 3rem);
    }

    /* scrolling search results */
    .scroll{
        overflow-y: scroll;
    }


    /* thumb cards */
    .cards{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 1rem;
        grid-auto-rows: minmax(200px, auto);
        grid-auto-flow: dense;
        padding: 0 20px;
    }
    .cards.rental{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .card{
        background-color: white;
        border: 1px solid white;
        border-radius: 5px;
        transition: box-shadow 0.5s;
    }
    .card .card-logo svg{
        fill: white;
    }
    .card.featured{
        border: 1px solid var(--thrid-color);
    }
    .card.featured:hover{
        box-shadow: 0 0 10px var(--thrid-color);
    }
    .card a{
        cursor: zoom-in;
    }
    .card:hover{
        box-shadow: 0 0 10px #c6c6c6;
    }
    .card-img-holder{
        height: 150px;
        overflow: hidden;
        width: 100%;
    }
    .cards.rental .card-img-holder{
        height: 210px;
    }
    .cards.rental .card img{
        height: 250px;
    }
    .card img{
        height: 200px;
        margin-left: 0;
        margin-top: 0;
        object-fit: cover;
        transition: all 2s;
        width: 100%;
    }
    .card:hover img, .card.hover img{
        height: 200px;
        margin-left: -20px;
        width: calc(100% + 150px);
    }
    .card .card-content{
        border: none;
        display: block;
        margin-left: 0;
        width: inherit;
    }

    /* instagram */
    ul.instagram{
        columns: 3;
    }
    

    /* modal */
    .modal-content {
        margin: 10px auto;
        width: calc(100% - 40px);
    }
}
@media (min-width: 1200px) {
    /* instagram */
    ul.instagram{
        columns: 5;
    }
}

@media print {
    header, section.bottom, .listing-block.contact, .gallery .modal-btn:nth-child(2), .gallery .modal-btn:nth-child(3), .listing-block.orange, .open-in-google, .virtual-tour, .listing-block.share-div {
        display: none;
    }
    .print-logo{
        display: block;
    }
 }