/*!
Theme Name: SDBX Studio
Theme URI: http://underscores.me/
Author: Craig Tran
Author URI: https://www.sdbxstudio.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sdbx-wp-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

SDBX Studio is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

body {
    font-family: work-sans, sans-serif;
    font-weight: 400;
    font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: dashiell-fine, sans-serif;
    margin-bottom: 1rem;
    color: #1f2543;
    letter-spacing: 0.1rem;
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
    line-height: 2rem;
}
h3 {
    font-size: 1.75rem;
    line-height: 2rem;
}
.page-content a {
    color: #1f2543;
    text-decoration: underline;
}
.page-content a:hover {
    text-decoration: none;
}
.wp-block-separator {
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 1rem 0;
}
.widget-header h3 {
    font-family: work-sans, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2543;
}
.widget-header h2 {
    font-size: 1.35rem;
    line-height: 2rem;
    color: #1f2543;
}
.post-template-default .site-main a {
    text-decoration: underline;
}

@media only screen and (min-width: 767px) {
    .widget-header h2 {
        font-size: 1.75rem;
    }
    .widget-header h3 {
        font-size: 1.1rem;
    }
}
p {
    margin-bottom: 1.5rem;
    color: #111111;
}
.page-content img {
    margin-bottom: 1.5rem;
}
.page-content h2 {
    margin-bottom: 1.5rem;
}
article.post ul {
    list-style: disc !important;
}
article.post ol {
    list-style: number !important;
}
article.post h2 {
}
input[type='button'],
button,
.button {
    background: #003595;
    color: #fff;
    border: 1px solid #003595;
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
}
button:hover {
    background: #d0a22a;
    border: 1px solid #d0a22a;
    color: #fff;
}
button.white {
    background: #fff;
    color: #111111;
    border: 1px solid #111111;
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
}
button.black {
    background: #1f2543;
}
button.gray {
    background: #d9d9d9;
    color: #111111;
    border: 0;
}
button.gray:hover {
    background: #003595;
    color: #fff;
}
#map-canvas button {
    border-radius: 0;
}

#glt-translate-trigger {
    background: #b57916 !important;
    font-family: work-sans, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    /* margin: 0; */
    z-index: 1;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}
.rslides_nav {
    position: absolute;
    top: 45%;
    z-index: 5;
}
.rslides_nav.prev {
    left: 10px;
}
.rslides_nav.next {
    right: 10px;
}
.rslides_tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.rslides_tabs li {
    display: inline-block;
    background: #d0a22a;
    margin: 0 auto;
    padding: 5px;
    margin: 0 5px;
    height: 10px;
    width: 10px;
    color: transparent;
}
.rslides_tabs li.rslides_here {
    background: #fff;
}
/* Close Button */
.close-icon {
    margin: auto;
    text-align: center;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    position: relative;
    cursor: pointer;
}
.close-icon::before,
.close-icon::after {
    content: '';
    background: #000;
    position: absolute;
    height: 100%;
    width: 1px;
}
.close-icon.close-white::before,
.close-icon.close-white::after {
    background: #fff;
}
.close-icon::before {
    transform: rotate(45deg);
}
.close-icon::after {
    transform: rotate(-45deg);
}

/* WORDPRESS CMS STYLES */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 0 0 20px 0;
}

.alignleft {
    float: left;
    margin: 0 0 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

@media only screen and (min-width: 480px) {
    .alignright {
        margin: 5px 0 20px 20px;
    }

    .alignleft {
        margin: 5px 20px 20px 0;
    }

    .aligncenter {
        margin: 5px auto 5px auto;
    }
}

@media only screen and (max-width: 480px) {
    .single .alignright,
    .single .alignleft {
        float: none;
    }
}

a img.alignright {
    float: right;
    margin: 0 0 20px 0;
}

a img.alignnone {
    margin: 0 0 20px 0;
}

a img.alignleft {
    float: left;
    margin: 0 0 20px 0;
}

@media only screen and (min-width: 480px) {
    a img.alignright {
        margin: 5px 0 20px 20px;
    }

    a img.alignnone {
        margin: 5px 20px 20px 0;
    }

    a img.alignleft {
        margin: 5px 20px 20px 0;
    }
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Header Nav */
header ul#menu-main {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    padding-right: 3rem;
}

header .sub-menu ul.menu li.menu-item a,
footer .menu li a {
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    line-height: 1.2;
}
header .sub-menu ul.menu li.menu-item a {
    display: inline-block;
    margin-top: 0.5rem;
}
header .sub-menu ul.menu li.menu-item:hover a,
header .sub-menu ul.menu li.current-menu-item a {
    display: inline-block;
    border-bottom: 2px solid #b57916;
}

/* Hamburger Icon */
#hamburger-1.is-active .line:nth-child(2) {
    opacity: 0;
}

#hamburger-1.is-active .line:nth-child(1) {
    -webkit-transform: translateY(0.75rem) rotate(45deg);
    -ms-transform: translateY(0.75rem) rotate(45deg);
    -o-transform: translateY(0.75rem) rotate(45deg);
    transform: translateY(0.75rem) rotate(45deg);
}

#hamburger-1.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-1rem) rotate(-45deg);
    -ms-transform: translateY(-1rem) rotate(-45deg);
    -o-transform: translateY(-1rem) rotate(-45deg);
    transform: translateY(-1rem) rotate(-45deg);
}

/* Blog */
#ajax-load-more {
    padding: 2%;
    background: #f7f7f7;
}
.alm-btn-wrap {
    background: #f7f7f7;
    margin: 0 !important;
}

@media only screen and (max-width: 767px) {
    header ul#menu-main li a {
        border-bottom: 1px solid #b57916;
        padding: 25px 15px;
        background: url('./images/caret-right.png') no-repeat center right;
    }

    .sub-nav-header {
        background: url('./images/caret-left.png') no-repeat center left;
        padding-left: 30px;
    }

    #site-sub-navigation .menu {
        margin-left: 30px;
    }
    header .search-icon img {
        width: 2.25rem;
    }
    header .search-icon,
    header .search-icon:hover {
        border-bottom: 0;
        padding: 0 0 0 2rem;
    }
}

/* NAV MENU */
#main-nav-container.popup #main-nav-popup {
    display: block;
}
#main-nav-container.popup {
    background: #1f2543;
}
#main-nav-container.sticky {
    position: fixed;
    top: 0;
    transition: all 0.5s ease-in-out;
}
#main-nav-container.sticky,
#main-nav-container.sticky a,
#main-nav-container.overlay,
#main-nav-container.overlay a,
#main-nav-container.popup,
#main-nav-container.popup a {
    color: #fff;
}

#main-nav-container.overlay #main-nav-separator,
#main-nav-container.popup #main-nav-separator {
    border-bottom: 2px solid #fff;
}
#main-nav-container.sticky #main-nav-separator {
    border-bottom: 0;
}
#main-nav-container.overlay #logo,
#main-nav-container.popup #logo {
    display: none;
}
#main-nav-container.overlay #logo-white,
#main-nav-container.popup #logo-white {
    display: block;
}
#main-nav-container.overlay button {
    background: #fff;
    color: #111111;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
}
.home #main-nav-container button:hover {
    background: #003595;
    color: #fff;
    border: 1px solid #003595;
}
#main-nav-container button.white:hover {
    background: #d0a22a;
    border: 1px solid #d0a22a;
    color: #fff;
}
select#gtranslate {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-family: work-sans, sans-serif;
}
#main-nav-container.sticky select#gtranslate,
#main-nav-container.popup select#gtranslate,
#main-nav-container.overlay select#gtranslate {
    background: none;
    color: #fff;
}

#main-nav-popup li {
    font-family: dashiell-fine, sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}
@media only screen and (min-width: 768px) {
    #main-nav-popup li {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}
#main-nav-popup li:first-child {
    font-family: work-sans, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}
#main-nav-popup a:hover {
    color: #d0a22a;
}
#main-nav-popup .social-media a {
    margin: 0;
    margin-right: 1.25rem;
    padding: 0;
    width: 28px;
}
#main-nav-popup .social-media img {
    width: 24px;
}
#flags {
    width: 100px !important;
}

#main-nav-container.sticky {
    background: #1f2543;
}

#main-nav-container.sticky #logo-sticky {
    display: block;
}
#main-nav-container.sticky #logo,
#main-nav-container.sticky #logo-white {
    display: none;
}

/* FOOTER NAV */
footer .menu li:first-child {
    font-weight: bold;
}
footer .menu li a {
    margin-bottom: 0.65rem;
}
footer .menu li:hover a {
    color: #b57916;
}
.subscribe-link {
    cursor: pointer;
}

/* PROPERTY MAP */
/* Interactive Map */
#map-wrapper {
    position: relative;
    height: 1000px;
    background: #fff;
    font-size: 13px;
}
#map-canvas {
    position: absolute;
    /* top: 80px; */
    width: 100%;
    height: 1000px;
    background: #fff;
}
#map-canvas button:focus {
    outline: 2px dashed;
}
#map-legend {
    position: absolute;
    top: 65px;
    left: 10px;
    width: auto;
    height: 82px;
    background: rgba(18, 52, 76, 0.6);
    color: #fff;
    padding: 15px;
    margin: 0 auto;
}
#map-legend a {
    color: #fff;
}
#map-legend img {
    margin-bottom: 0;
}
#map-legend h3 {
    color: #fff;
    font-weight: bold;
    font-size: 30px;
}
#map-legend strong {
    color: #fff;
    font-size: 15px;
}
#floorSelect {
    padding: 0;
    color: #000;
}
.searchform {
    margin-top: 2rem;
}
.searchform select {
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    color: #000;
    line-height: 20px;
}

.searchform ::-webkit-input-placeholder {
    color: #000;
}

.searchform :-moz-placeholder {
    /* Firefox 18- */
    color: #000;
}

.searchform ::-moz-placeholder {
    /* Firefox 19+ */
    color: #000;
}

.searchform :-ms-input-placeholder {
    color: #000;
}
.property-map-heading-title {
    position: absolute;
    z-index: -1;
}
#map-search-widget {
    position: relative;
    width: 100%;
    height: auto;
    padding: 45px 0 0 0;
    background: #e3e3e3;
    text-align: center;
}

.page-template-page_propertymap #home-property-search {
    margin-bottom: 0;
}

.page-template-page_propertymap .site-inner {
    padding-top: 0;
}

.map-detail-pane {
    position: absolute;
    background: #fff;
    height: 640px;
    width: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0;
}
.map-detail-pane.active {
    width: 420px;
}
.map-detail-pane-content {
    padding: 25px;
}
.map-detail-pane-image {
    height: 205px;
    overflow: hidden;
}
.map-detail-pane-content img {
    width: 100%;
    position: relative;
    top: -20%;
}
.map-detail-pane h2 {
    font-size: 24px;
}

.mapIconLabel {
    color: #fff;
    font-family: 'Lucida Grande', 'Arial', sans-serif;
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    width: 21px;
    white-space: nowrap;
    background-color: #005490;
    line-height: 14px;
    padding-top: 2px;
    margin-top: 20px;
}
.mapIconLabel2x {
    color: #fff;
    font-family: 'Lucida Grande', 'Arial', sans-serif;
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    width: 61px;
    height: 20px;
    white-space: nowrap;
    background-color: #005490;
    line-height: 14px;
    padding-top: 2px;
    margin-top: 20px;
}
.mapTextLabel {
    color: #fff;
    font-family: 'Lucida Grande', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    width: 120px;
    white-space: nowrap;
}

/* HOME TESTIMONIALS */
.home-testimonials p {
    color: #fff;
}
.home-testimonials h2 {
    font-family: work-sans, sans-serif;
    font-size: 1.1rem;
}
#testimonial-slides {
    width: 75%;
    max-width: 836px;
    margin: 0 auto;
}
#testimonial-slides li {
    height: 300px;
}
@media only screen and (max-width: 768px) {
    #testimonial-slides li {
        height: auto;
    }
}

/* LODGE */
.feature-1 {
    border-top: 0;
}
@media only screen and (min-width: 768px) {
    .feature-2 {
        border-top: 0;
    }
}

/* CONTACT FORM */
#ninja_forms_form_1_all_fields_wrap {
    margin: 3rem 0;
}
#ninja_forms_form_1_all_fields_wrap input[type='text'],
#ninja_forms_form_1_all_fields_wrap textarea {
    border: 1px solid #ddd;
    padding: 0.5rem;
}
#ninja_forms_form_1_all_fields_wrap input[type='submit'] {
    background: #003595;
    color: #fff;
    border: 1px solid #003595;
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Fade In Animation (booking widget) */

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.sm-icon {
    width: 40px;
    height: 40px;
}
.sm-icon:hover path {
    fill: #d0a22a;
}
.sm-icon:hover circle {
    stroke: #d0a22a;
}
