/* Customized CSS */
/* .navbar { border-bottom: 1px solid rgba(255,255,255, 0.2); } */

.portfolio-item .portfolio-box {
    position: relative;
}

.portfolio-item .portfolio-box .portfolio-img {
    position: relative;
    overflow: hidden;
    display: block;
}

.portfolio-item .portfolio-box .portfolio-img img {
    -webkit-transform: scale(1);
    transform: scale(1);
    width: 100%;
    -webkit-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item .portfolio-box a {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-item .portfolio-box .portfolio-title {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    -webkit-transition: ease-out 0.16s;
    transition: ease-out 0.16s;
}

.portfolio-item .portfolio-box .portfolio-title div {
    position: absolute;
    left: 30px;
    bottom: 30px;
}

.portfolio-item .portfolio-box .portfolio-title div * {
    opacity: 0;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    margin-bottom: 7px;
    -webkit-transition: ease-out 0.16s;
    transition: ease-out 0.16s;
}

.portfolio-item .portfolio-box .portfolio-title div *:first-child {
    -webkit-transition-delay: 0.06s;
    transition-delay: 0.06s;
}

.portfolio-item .portfolio-box .portfolio-title div *:last-child {
    -webkit-transition-delay: 0.12s;
    transition-delay: 0.12s;
    margin-bottom: 0;
}

.portfolio-item .portfolio-box .portfolio-title div h1, .portfolio-item .portfolio-box .portfolio-title div h2, .portfolio-item .portfolio-box .portfolio-title div h3, .portfolio-item .portfolio-box .portfolio-title div h4, .portfolio-item .portfolio-box .portfolio-title div h5, .portfolio-item .portfolio-box .portfolio-title div h6 {
    color: #fff;
}

.portfolio-item .portfolio-box .portfolio-title div span {
    display: inline-block;
}

.portfolio-item .portfolio-box:hover .portfolio-img img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
    -webkit-filter: blur(1.5px);
    filter: blur(1.5px);
}

.portfolio-item .portfolio-box:hover .portfolio-title {
    opacity: 1;
}

.portfolio-item .portfolio-box:hover .portfolio-title * {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.hover-style-5 .portfolio-item .portfolio-box .portfolio-title {
    color: #7C7C7C;
}

.hover-style-5 .portfolio-item .portfolio-box .portfolio-title div {
    top: 50%;
    left: 50%;
    bottom: auto;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h1, .hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h2, .hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h3, .hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h4, .hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h5, .hover-style-5 .portfolio-item .portfolio-box .portfolio-title div h6 {
    color: #fff;
}

.hover-style-5 .portfolio-item .portfolio-box:hover .portfolio-title div {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.invisible{visibility:hidden}

h1, h2, h3, h4, h5 { color: #333; font-family: 'Playfair Display'; font-weight: 300; font-size: 2em; /*font-family: Gibson Light;*/ text-transform: uppercase; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }

.padding-top-70 { padding-top: 70px; }
.padding-top-80 { padding-top: 80px; }
.padding-top-90 { padding-top: 90px; }
.padding-top-100 { padding-top: 100px; }

/*GALLERY*/
#gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*max-width: 1120px;*/
    width: 100%;
    margin: 0 auto 60px;
}
.grid-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}
.grid-nav .btn-tab {
    height: 60px;
    min-width: 80px;
    padding: 10px;
    font: 16px/18px 'Century-Gothic', arial, sans-serif;
    color: var(--color-blue-dark);
}
.grid-nav .btn-tab:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(244, 196, 52, 0.5);
}
.grid-nav .active .btn-tab,
.grid-nav .btn-tab:focus{
    border-color: var(--color-orange);
}
.grid {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.portfolio-item {
    /*
    position: relative;
    width: 100%;
    max-width: calc((100% / 4) - 10px);
    height: 200px;
    margin: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
    background: var(--color-grey);
    */
}

.portfolio-item .portfolio-box .portfolio-img img { /* width: auto; */ }

.portfolio-item img {
    max-height: 500px;
    width: auto;
    min-width: 100%;
    max-width: none;
}
.grid-item-tall,
.grid-item-tall img{
    height: 450px;
    margin-bottom: 10px;
}
.grid-item-wide {
    max-width: calc(100% - 10px);
}
.grid-item-wide img{
    width: 100%;
    height: auto;
}
.grid-item-wide2 {
    max-width: calc((100% / 2) - 10px);
}
.grid-item-wide2 img{
    width: 100%;
    height: auto;
}

#slideshow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
}

.gallery-show-more {
    /*
    position: relative;
    top: -10px;
    */
}
.gallery-show-more .gallery-sm-transparent {
    /*
    height: 120px;
    width: 100%;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjgwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjgiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.98) 75%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(80%,rgba(255,255,255,0.98)), color-stop(100%,rgba(255,255,255,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 75%,rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 75rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 75%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 75%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    */
}
.gallery-show-more .gallery-sm-bottom {
    padding-top: 10px;
    background-color: #fff;
} 

.pswp__button--play, .pswp__button--pause,
.pswp__button--mute, .pswp__button--unmute {
    background: none !important;
    color: #fff;
    width: 44px !important;
}

.bg_gmap {
    background: url('/images/bg_gmap.jpg') center center no-repeat;
    background-size: cover;
    opacity: .5;
    width: 100%;
    height: 100%;
    margin-bottom: 300px;
    position: relative;
}
.bg_school {
    background: url('/images/bg_school.jpg') center center no-repeat;
    background-size: cover;
    opacity: .5;
    width: 100%;
    height: 100%;
    margin-bottom: 450px;
    position: relative;
}
.btn-view-map { position: absolute; top: calc(50% - 25px); left: calc(50% - 75px); z-index: 10; }

.gallery-more-hide { display: none; }
.gallery-more-show { display: block; }

#fplan, #overview { background-color: #1b1e24; }
#fplan h2, #overview h2, #overview h4, #overview p, #overview li, #overview i { color: #fff; }

#page-intro {
    position: absolute;
    display: block;
    bottom: 0;
    color: #fff;
    font-size: 18px;
    z-index: 20;
    left: 0;
    right: 0;
}
#page-intro .intro-line { float:right; width: 30%; }
.virtual-open-house {
    width: 310px;
    background-color: rgba(50, 133, 168, .75);
    color: #fff;
    float: right;
    display: inline-block;
    position: relative;
    padding: 15px 10px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 30px;
    line-height: 20px;
    letter-spacing: 1px;
    z-index: 11;
    font-size: 18px;
}
.virtual-open-house-title {
    font-size: 18px;
    display: block;
}
.virtual-open-house-subtitle {
    font-size: 14px;
    display: block;
}
.virtual-open-house-link {
    font-size: 14px;
    display: block;
    margin-top: 15px;
}
.virtual-open-house-link a { color: #fff; }
#page-intro-mobile { display: none; }
.agent-info { font-size: 1.4em; }

.watermark_wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 0px;
    position: absolute;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 999;
}

.watermark_str {
    color: rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    text-transform: uppercase;
    /* transform: rotate(-45deg); */
    user-select: none;
}

.preview-top { background: rgba(67,67,67,.8); height: 60px; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; }
.preview-top h4 { line-height: 1.6; padding-top: 10px; font-size: 26px; font-family: 'Playfair Display',"Poppins", sans-serif; color: #FF8C00; }
.preview-menu { top: 60px; }

.pulsingButtonRound {
    width: 60px;
    height: 60px;
    line-height:60px;
    text-align: center;
    white-space: nowrap;
    display: block;
    box-shadow: 0px 2px 7px rgb(0 0 0 / 25%);
    border-radius: 100%; 
    background-color: rgba(60,60,60,.5);
    -webkit-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation-timing-function: ease-in-out;
    font-size: 22px;
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    color: #ffffff;
    transition: all 300ms ease-in-out;
    z-index: 999;
}

.pulsingButton {
    width: 220px;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    display: block;
    box-shadow: 0px 2px 7px rgb(0 0 0 / 25%);
    border-radius: 10px; 
    background-color: #333;
    -webkit-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation-timing-function: ease-in-out;
    font-size: 22px;
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    color: #ffffff;
    transition: all 300ms ease-in-out;
}

a.pulsingButton:hover, a.pulsingButtonRound:hover {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
    color: #ffffff;
}

@-webkit-keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

@-moz-keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

@-ms-keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

@media (max-width: 768px){ 
    h2 { font-size: 32px; }
    h4 { font-size: 20px; }
    .section, .section-md { padding: 50px 0; }
    .margin-bottom-70 { margin-bottom: 50px; }
    .section-fullscreen { /* height: 80vh; */ overflow: hidden; }
}

@media (max-width: 1700px){ 

}

@media (max-width: 1200px){ 

}

@media (max-width: 768px){ 
    .preview-top { height: 50px; }
    .preview-menu { top: 50px; }
    #page-intro { display: block; }
    #page-intro .intro-line { float: none; width: 100%; }
    #page-intro-mobile { display: none; }
    .virtual-open-house {
        width: 100%; float: none; margin: 0;
        background-color: rgba(50, 133, 168, .95);
    }
    .agent-info { font-size: 1.2em; }
    .portfolio-item .portfolio-box:hover .portfolio-img img { -webkit-transform: scale(1); transform: scale(1); -webkit-filter: none; filter: none; }
    .portfolio-item .portfolio-box .portfolio-title { background: rgba(0, 0, 0, 0); }
}

@media (max-width: 576px){ 

}
