img,
video,
iframe {
    max-width: 100%;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

.rounded-xl {
    border-radius: .5rem;
}

.rounded-25 {
    border-radius: 25px;
}

.has-bg-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.fixed-bg-img {
    background-attachment: fixed;
}

.font-serif {
    font-family: 'Vidaloka', serif;
    font-weight: 400 !important;
}

.text-brown {
    color: #665c50 !important;
}


a.text-primary:focus, 
a.text-primary:hover,
.text-primary {
    color: #af8847 !important;
}

.bg-dark {
    background-color: #242424 !important;
}

.bg-light {
    background-color: #edeef0 !important;
}

.btn {
    box-shadow: none !important;
}

.btn-primary {
    background-color: #af8847;
    border-color: #af8847;
}

.btn-primary:hover {
    background-color: #94743c;
    border-color: #94743c;
}

.btn-rounded {
    border-radius: 19px;
}

.navbar.navbar-dark {
    background-color: #665c50;
}

.navbar .nav-link {
    text-transform: uppercase;
}

.navbar .nav-link.dropdown-toggle::after {
    display: none;
}

.navbar-brand > img {
    height: 30px;
}

#navLogo .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    width: 150px;
}

#navLogo .nav-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.nav-tabs {
    border-bottom: 2px solid #bbb;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-link {
    border-radius: 0;
    color: #aaa;
    border-width: 2px;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #bbb;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active {
    background-color: transparent;
    border-color: #bbb #bbb #edeef0;
}

.page-item .page-link {
    font-weight: 600;
    min-width: 38px;
    text-align: center;
    border-radius: 19px !important;
    background-color: transparent;
    border-color: transparent;
    color: #665c50;
    box-shadow: none !important;
}

.page-item .page-link:hover {
    background-color: rgba(0,0,0,.05);
}

.page-item.active .page-link {
    background-color: #665c50;
    border-color: #665c50;
    color: #fff !important;
}


.custom-file-label {
    border-radius: 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    padding-right: 85px;
    height: calc(1.5em + 0.75rem + 2px);
}

.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0;
}

[data-toggle="dropdown"] {
    outline: none !important;
}

.dropdown-menu {
    border-radius: .5rem;
}

.dropdown-menu > .dropdown .dropdown-toggle::after {
    position: absolute;
    right: 1rem;
    top: 0.85rem;
}

.dropdown-menu > .dropdown .dropdown-menu {
    top: -0.7rem;
    left: 100%;
}

#scrollToTop {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 900;
    text-align: center;
    height: 40px;
    width: 40px;
    line-height: 38px;
}


.home-mansion-card {
    display: block;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 20px;
    transition: .25s;
}

.home-mansion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.home-mansion-card > img {
    width: 100%;
}

#homeTestimonialsCarousel .carousel-item p.font-serif {
    line-height: 1.5;
}

#homeTestimonialsCarousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: gray;
    border: none;
}

#submitTestimonialForm .form-control {
    height: auto;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

#homeTestimonialsCarousel .carousel-indicators li.active {
    background-color: #af8847;
}


.gallery-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.5);
    transition: .25s;
}

.gallery-thumbnail-overlay .album-title {
    margin-top: 50%;
    transform: translateY(-50%);
}

.gallery-thumbnail-overlay p {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    position: absolute;
    bottom: 25px;
    width: 100%;
    opacity: 0;
    transition: opacity .25s;
}

.modal-backdrop.show {
    opacity: .75;
}

#albumImagesModal .modal-content {
    background-color: transparent;
    border: none;
}

#albumImagesModal .modal-header {
    border: none;
    color: #fff;
}

#albumImagesModal .modal-footer {
    border: none;
}

#albumImagesModal .modal-header .close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
}

#mansionGalleryCarousel a:hover .gallery-thumbnail-overlay {
    background-color: transparent;
}

#mansionGalleryCarousel a:hover p {
    opacity: 1;
}

.mansion-price > div {
    margin-bottom: .15rem;
}


#rentalDisclaimer {
    background-color: #665c50;
    color: #fff;
}

#rentalDisclaimer > .lazy-load {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.owl-theme .owl-dots .owl-dot span {
    margin: 5px;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: #af8847;
}

/* fullcalendar */
.fc table {
    border: none;
}

.fc td, .fc th {
    border: none;
}

td.fc-daygrid-day.fc-day {
    position: relative;
    height: 60px;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent;
}

td.fc-daygrid-day.fc-day.fc-day-other {
    opacity: 0;
}

.fc .fc-day-disabled {
    background: none;
}

.fc .fc-toolbar-title {
    font-size: 1.25rem;
}

.fc .fc-daygrid-day-top {
    display: flex;
    flex-direction: unset;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 1px solid #fff;
}

.fc .fc-daygrid-day-bottom {
    padding: 0;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: unset;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    margin: 0;
}

.fc-h-event {
    border: none;
    background-color: #ddd;
}

.fc-daygrid-event {
    border-radius: 0;
}

.fc .fc-daygrid-event-harness-abs {
    bottom: 0;
}

.fc-direction-ltr .fc-daygrid-event .fc-event-time {
    display: none;
}

a.fc-daygrid-event.fc-daygrid-block-event.fc-h-event.fc-event {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    margin: 0 !important;
}

.fc-prev-button, .fc-next-button {
    width: 38px;
    background-color: transparent !important;
    border-color: #343a40 !important;
    color: #343a40 !important;
    border-radius: 50%;
    opacity: 0.5;
}

.fc-prev-button:hover, .fc-next-button:hover {
    opacity: 1;
}

.fc-prev-button[disabled] {
    opacity: .2 !important;
}


@media (max-width: 991.98px) {
    h1,
    .h1 {
        font-size: calc(1.3rem + 1.6vw);
    }
    h2,
    .h2 {
        font-size: calc(1.2rem + 1.066667vw);
    }
    h3,
    .h3 {
        font-size: calc(1.15rem + 0.8vw);
    }
    h4,
    .h4 {
        font-size: calc(1.1rem + 0.533333vw);
    }
    h5,
    .h5,
    .lead {
        font-size: calc(1.05rem + 0.266667vw);
    }
    body.show-navbar {
        overflow-y: hidden;
    }
    .navbar-expand-lg .navbar-collapse {
        position: fixed;
        top: 59.2px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 59.2px);
        overflow-y: auto;
        z-index: 1040;
        background-color: #665c50;
        padding: 1.25rem 1.5rem 1.5rem;
        -webkit-transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 0.65rem 0;
        font-weight: 500;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        background-color: transparent;
        padding-top: 0;
        padding-bottom: 0;
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        -webkit-transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu.show,
    .navbar-expand-lg .navbar-nav .dropdown-menu .dropdown-menu {
        max-height: 2000px;
        opacity: 1;
    }
    .navbar-expand-lg .navbar-nav .dropdown-item {
        background-color: transparent !important;
        text-decoration: none !important;
        font-size: 1.15rem;
        font-weight: 500;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    .navbar-expand-lg .navbar-nav .dropdown-toggle::after {
        font-size: 1rem;
        opacity: 1;
        float: right;
        margin-top: 0.75rem;
    }
    .show-navbar .navbar-expand-lg .navbar-collapse {
        left: 0;
    }
    .navbar-collapse #CloseNavbar {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
    .dropdown-menu {
        border-width: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
    .dropdown-menu .dropdown-menu .dropdown-item {
        padding-left: 2.5rem;
    }

    #navLogo {
        display: none;
    }

    #rentalDisclaimer .container {
        background-color: rgba(0,0,0,.5);
    }
}
@media (min-width: 992px) {
    .navbar-brand > img {
        height: 50px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1.5rem 2rem;
        font-size: 18px;
    }
    .navbar .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
    }
    .navbar .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
    }
    .dropdown-menu > .dropdown .dropdown-toggle::after {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }

    .navbar {
        padding-top: 0;
        padding-bottom: 0;
    }

    #navLogo {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #contactContainer {
        transform: translateY(-200px);
    }
    
    #contactForm {
        border-radius: 25px;
        overflow: hidden;
    }

    .owl-item.active.center {
        transform: ;
    }

    .navbar-nav .nav-item:first-child {
        min-width: 196.36px;
        text-align: right;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }
}
