/*
Client Name: Marina Pointe
Theme Name: Salient Child - Marina Pointe
Description: Custom child theme for Marina Pointe
Template: salient
Version: 1.0
*/

/* HEADER STUFF */
@media only screen and (min-width: 1000px) {

    .wpb_row.vc_row-o-full-height,
    .wpb_row.vc_row-o-full-height>.col.span_12 {
        min-height: calc(100vh - 90px) !important;
    }

    .wpb_row.vc_row-o-full-height.top-level,
    .wpb_row.vc_row-o-full-height.top-level>.col.span_12 {
        min-height: 100vh !important;
    }
}

#top #logo img.stnd.skip-lazy.dark-version {
    height: max(16px, 1.842vw) !important;
}

#top #logo img.starting-logo {
    height: max(44px, 5.971vw) !important;
    top: 10px !important;
    left: 50%;
    transform: translate(-50%);
}

.menu-inquire a {
    padding-left: 1.674vw !important;
    padding-right: 1.674vw !important;
}

.menu-inquire a:hover {
    background: #ffffff20 !important;
    color: #1D1C2A !important;
}

.menu-inquire a span.menu-title-text {
    /* font-size: max(10px, 0.65vw)!important; */
}

.menu-inquire .menu-title-text:before {
    background-color: transparent !important;
}

.menu-inquire>a:before,
.menu-inquire>a .menu-title-text:before {
    background-color: transparent !important;
    opacity: 0.85 !important;
}

@media only screen and (max-width: 820px) {
    #header-outer .menu-inquire>a:before {
        border: 0px solid;
        opacity: 0.85;
        box-sizing: border-box;
    }

    .menu-inquire a {
        padding-left: 0px !important;
        padding-right: 0px !important;
        text-align: right;
    }

    #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container .menu li.menu-availability,
    #slide-out-widget-area.fullscreen-alt .menuwrapper li.menu-availability {
        text-align: right;
        padding-right: 5vw;
        padding-top: 0;
        margin-bottom: 0 !important;
        padding-bottom: 0;
    }

    li.menu-availability a {
        font-family: 'Raleway', sans-serif !important;
        font-size: 14px !important;
    }

    body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li.menu-availability a {
        font-size: 13px !important;
        line-height: 13px !important;
        letter-spacing: 2px;
    }
}

#header-outer i.label {
    /* font-size: max(10px, 0.65vw)!important; */
}

.menu-availability a .menu-title-text:hover {
    color: #1D1C2A !important;
}

.menu-availability a .menu-title-text:before {
    background-color: transparent !important;
}

.menu-availability a:before {
    border: none !important;
}

#header-outer .menu-item-23>a:after {
    background: transparent;
}

#header-outer.small-nav .menu-availability a .menu-title-text {
    color: #1D1C2A !important;
}

#header-outer.small-nav .menu-availability a:hover .menu-title-text {
    color: #1D1C2A50 !important;
}

#header-outer .menu-item-23>a:hover,
#header-outer #top nav .sf-menu li.menu-item.menu-item-23>a:hover,
#header-outer .menu-item-23[class*="current"]>a,
#header-outer #top nav .sf-menu li.menu-item.menu-item-23[class*="current"]>a {
    color: #1D1C2A50 !important;
}


/* OFF CANVAS MENU */
#slide-out-widget-area .off-canvas-menu-container {
    padding: 0 0 0 5vw !important;
}

#slide-out-widget-area.fullscreen,
#slide-out-widget-area.fullscreen-alt {
    text-align: left !important;
    max-width: 100% !important;
}

#slide-out-widget-area.fullscreen .inner .widget,
#slide-out-widget-area.fullscreen-alt .inner .widget {
    max-width: 100% !important;
    width: 100%;
    margin: 20px auto 40px auto;
    padding: 0 0 !important;
}

#slide-out-widget-area.fullscreen .inner-wrap>.inner,
#slide-out-widget-area.fullscreen-alt .inner-wrap>.inner {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    height: auto;
    margin: auto;
    padding: 0 0 !important;
}

#ocm-bottom-left-column {
    margin-left: 5px;
    margin-top: 30px;
}

#ocm-right-column {
    position: absolute;
    bottom: -180px;
}

.off-canvas-img img {
    width: auto;
    height: 35vw;
}

@media screen and (max-width:1024px) {
    figure.off-canvas-img {
        display: none !important;
    }

    #ocm-right-column {
        position: absolute;
        bottom: 197px;
        right: 150px;
    }

    .wp-block-columns.is-layout-flex {
        gap: 0 !important;
    }
}

@media screen and (max-width:390px) {
    #ocm-right-column {
        position: absolute;
        bottom: 24.5vw;
        right: 5vw !important;
    }

    .bullets-pulled-left li {
        margin-bottom: 10px !important;
        ;
    }
}

@media only screen and (min-width: 1000px) {
    body #slide-out-widget-area.fullscreen-alt .inner-wrap>.inner .off-canvas-menu-container li>a {
        font-size: 3vw !important;
        line-height: 3vw !important;
    }
}

@media only screen and (min-width: 691px) and (max-width: 999px) {
    body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a {
        font-size: 36px !important;
        line-height: 20px !important;
    }
}

.off-canvas-socials {
    text-align: right;
    width: 100% !important;
    max-width: 100% !important;
}

.off-canvas-follow {
    line-height: 0;
    text-align: right;
    ;
}

/* HOME PAGE HERO VIDEO */
.u-vh_100 {
    min-height: 100vh !important;
}

.u-vw_100 {
    width: 100vw !important;
}

.vimeo-wrapper {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.vimeo-wrapper iframe {
    width: 100vw;
    height: 56.25vw;
    /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 101vh;
    min-width: 177.77vh;
    /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Add this new media query */
@media only screen and (max-width: 768px) {
    .vimeo-wrapper iframe {
        height: 100vh;
        width: 177.77vh;
        /* Maintain 16:9 aspect ratio */
        min-width: none;
        min-height: none;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #hero-video a.play_button_with_text {
        position: absolute !important;
        bottom: 12vh !important;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
}

/* @media only screen and (max-width: 1000px) {
    .u-vh_100 {
        min-height: auto !important;
    }
    .u-vh_100 > .row_col_wrap_12.col.span_12 {
        min-height: auto !important;
    }
} */
#hero-video a.play_button_with_text {
    position: absolute !important;
    bottom: 5vh !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

/* BLUE VERTICAL LINE */
.blue-line .divider-wrap .divider-vertical {
    width: 4px;
}

/* TEXT SIZE STUFF */
body,
p {
    font-size: max(12px, 1.004vw) !important;
    line-height: max(16px, 1.786vw) !important;
}

h1 {
    font-size: max(60px, 6.696vw) !important;
    line-height: max(60px, 6.969vw) !important;
}

h2 {
    font-size: max(40px, 4.464vw) !important;
    line-height: max(40px, 4.464vw) !important;
}

h3 {
    font-size: max(20px, 2.232vw) !important;
    line-height: max(25px, 2.79vw) !important;
}

h4 {
    font-size: max(15px, 1.674vw) !important;
    line-height: max(18px, 2vw) !important;
}

h5 {
    font-size: max(12px, 0.837vw) !important;
    line-height: max(15px, 1.674vw) !important;
}

h6 {
    font-size: max(12px, 1.004vw) !important;
    line-height: max(16px, 1.786vw) !important;
}




/* TEXT COLOR STUFF */
.blue-text * {
    color: #0778ED !important;
}

.blue-text.mobile {
    color: #000 !important;
    margin-bottom: 0 !important;
    padding-top: 10px;
}

.blackish-text * {
    color: #231F20 !important;
}

.lightblue-text * {
    color: #D5EAFF !important;
}

.orangish-text * {
    color: #E9CEB1 !important;
}

.white-text * {
    color: #fff !important;
}

.link-standard a {
    transition: opacity 0.2s ease, color 0.2s ease;
}

.link-standard:hover {
    color: #0778ed !important;
}

.link-white a {
    color: #fff !important;
}

.link-white a:hover {
    color: #96D8FF !important;
}

.link-blackish a {
    color: #231F20 !important;
}

.link-blackish a:hover {
    color: #96D8FF !important;
}

.link-bottom-banner a {
    color: #8C7F74 !important;
}

.link-bottom-banner a:hover {
    color: #433931 !important;
}

a.link-towers {
    color: #231F20 !important;
    text-transform: uppercase !important;
    font-family: 'Raleway', sans-serif !important;
}

.text-shadow p {
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5) !important;
}

.faded {
    opacity: 0.5;
}

.nectar-post-grid-filters a {
    text-transform: uppercase !important;
}

/* News and Blog Text Stuff */
.news-blog h3 {
    font-size: max(20px, 1.1vw) !important;
    line-height: max(20px, 1.674vw) !important;
}

.press-releases h3 {
    font-size: max(20px, 1.1vw) !important;
    line-height: max(15px, 1.674vw) !important;
}

p,
.bullets-pulled-left li {
    /*THIS IS SUPPOSED TO KEEP LINE LENGHTHS BETWEEN 45 - 75 CHARACTERS LONG, THE IDEAL LENGGHT. BUT, IT'S TOO SHORT FOR US HERE. */
    max-width: clamp(39ch, 34%, 72ch) !important;
}

.full-width p,
.post-area p {
    max-width: none !important;
}

@media only screen and (max-width: 999px) {
    p {
        max-width: none !important;
    }
}

.center-me p {
    margin-left: auto;
    margin-right: auto;
}

/* THIS IS A FIX FOR RIGHT-ALIGNED BODY COPY IN A RIGHT COLUMN SO IT STICKS TO THE RIGHT OF THE COLUMN */
.float-right p {
    float: right;
}

.map-links h5 {
    line-height: 0;
}

/* NECTAR SLIDERS LIKE ON THE HOMAGE PAGE */
.slides-home .container .content {
    top: 80px !important;
}

.slides-home .container .content h5 {
    text-align: right;
}

.slides-residences .container .content {
    bottom: 80px !important;
}

.slides-residences .container .content h5 {
    text-align: left;
}

#mp-slider .swiper-container .slider-prev,
#mp-slider .swiper-container .slider-next {
    background: transparent !important;
}

#mp-slider .slide-count {
    display: none;
}

/* FOOTER STUFF */
.footer-col {
    border-left: solid 1px #fff;
}

@media only screen and (max-width: 999px) {
    .footer-col.no-line {
        border-left: none !important;
    }
}

.border-bottom-white {
    border-bottom: solid 1px #fff;
}

.links-footer p {
    max-width: none !important;
}

.link-white.links-footer p,
.link-white.links-footer a {
    font-size: max(10px, 0.7vw) !important;
    text-transform: uppercase !important;
}

/* SVG THINGS */
img.nautical-svg {
    width: 30% !important;
    height: auto !important;
}

img.nautical-svg-centered {
    width: 20% !important;
    height: auto !important;
}

img.nautical-icons-120x80 {
    width: 120px !important;
    height: 80px !important;
}

img.nautical-icons-204x80 {
    width: 204px !important;
    height: auto !important;
}

img.property-awards-banner {
    width: 18vh !important;
}

.building {
    position: relative;
    left: 25%;
}

/* FORCE THE COLOR OVERLAY ON THE HEADER OF BLOG POSTS */
.page-header-bg-image {
    opacity: .5;
}

/* .grecaptcha-badge { visibility: hidden; } */

/* TABLE STYLING FOR TOWER SELECTION */
.tablepress {
    --style-variation: custom;
    --text-color: #1D1C2A;
    --head-text-color: #8c7f74;
    --head-bg-color: #f0ede4;
    --head-active-bg-color: #dedbd2;
    --odd-bg-color: #f0ede4 !important;
    --even-bg-color: #f0ede4 !important;
    --hover-bg-color: #dedbd2;
    --border-color: #dedbd2 !important;
    --padding: 1.5rem;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.tablepress,
.tablepress tbody td,
.tablepress thead th,
.tablepress tfoot th {
    border: none !important;
    /* width:auto!important; */
}

.tablepress tbody tr {
    border-bottom: 2px solid #8C7F7420;
}

table.tablepress {
    background: #F0EDE4 !important;
}

div.dtfh-floatingparent.dtfh-floatingparenthead {
    height: auto !important;
}

/* Adjust Column Widths (Optional) */
.tablepress td,
.tablepress th {
    white-space: nowrap;
}

/* Header Row */
body:not(.woocommerce-cart) .main-content table tr:nth-child(2n+1) {
    background-color: #f0ede4;
}

.tablepress thead tr th {
    /* background-color: transparent;
	color: inherit;
	padding: 8px; */
    border-bottom: 2px solid #8c7f74 !important;
    font-family: 'Raleway', sans-serif !important;
    text-transform: uppercase !important;
    font-size: max(12px, 0.8vw) !important;
    text-align: center !important;
}

.tablepress .sorting:nth-child(n+9):after,
.tablepress .sorting:nth-child(2):after {
    display: none;
}

.tablepress .sorting:hover,
.tablepress .sorting_asc,
.tablepress .sorting_desc {
    /* background-color: #16161610;
    color: inherit; */
}

/* Table Rows */
/* .tablepress tbody tr {
	background-color: transparent;
} */

/* Table Cells */
.tablepress tbody td {
    /* color: #231F20;
	padding: 8px; 
    border-left:none!important;
    border-right:none!important;*/
    text-align: center;
    font-size: max(12px, 0.8vw) !important;
    line-height: max(16px, 1.786vw) !important;
}

.tablepress thead tr th:first-child,
div.dtfh-floatingparent.dtfh-floatingparenthead thead tr th:first-child {
    width: 8% !important;
    min-width: 8% !important;
    max-width: 8% !important;
}

.tablepress thead tr th:nth-child(2) {
    width: 10% !important;
    min-width: 10% !important;
    max-width: 10% !important;
}

.tablepress thead tr th:nth-child(3-5) {
    width: 5% !important;
    min-width: 5% !important;
    max-width: 5% !important;
}

.tablepress thead tr th:nth-child(6-8) {
    width: 15% !important;
    min-width: 15% !important;
    max-width: 15% !important;
}

.tablepress thead tr th:nth-child(9+10) {
    width: 11% !important;
    min-width: 11% !important;
    max-width: 11% !important;
}

table.dataTable>tbody>tr.child span.dtr-title {
    display: inline-block;
    font-weight: 700;
    min-width: 1px !important;
    max-width:
        text-align:left;
}

table.dataTable>tbody>tr.child span.dtr-data {
    text-align: left;
}

/* TOWER SELECT */
#tower-selector a.column-link:hover {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 100%);
    transition: background-color 0.5s ease;
}

#tower-selector-mobile .row-bg {
    background-size: contain !important;
}

/* GALLERY STUFF */
.custom-youtube-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 68px;
    height: 48px;
    pointer-events: none;
    opacity: 1;
}

.custom-youtube-overlay svg {
    width: 100%;
    height: auto;
}

.nectar-post-grid-item-bg {
    position: relative;
}

@keyframes fadeInOverlay {
    to {
        opacity: 0.85;
    }
}

.nectar-post-grid-item:hover .custom-youtube-overlay {
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8));
    animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8));
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 1));
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* GRAVITY FORMS STUFF */
body .gform_heading {
    height: 10px;
}

body .gform_wrapper p.gform_required_legend {
    font-size: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    font-family: 'Raleway', sans-serif !important;
    font-size: max(12px, 1.004vw) !important;
    color: #8C7F74 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {
    color: #ff0000 !important;
    font-size: 24px;
}

body .gform_wrapper .gform_body .gform_fields .gfield input,
body .gform_wrapper .gform_body .gform_fields .gfield select {
    border-bottom: solid 1px #8C7F74 !important;
    background: transparent !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox input[type=checkbox] {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    vertical-align: middle !important;
    margin-right: 10px !important;
    border: solid 1px #8C7F74 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gform-field-label {
    font-family: 'Raleway', sans-serif !important;
    font-size: max(12px, 1.004vw) !important;
    color: #8C7F74 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding-top: 6px;
}

body .gform_wrapper .gform_footer input[type=submit] {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600;
    text-transform: uppercase !important;
    color: #8C7F74 !important;
    border: solid 1px #8C7F74 !important;
    font-size: max(12px, 1.004vw) !important;
    line-height: max(16px, 1.786vw) !important;
    padding: 10px 50px !important;
    width: 14vw;
    min-width: 218px;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #fff !important;
}

.gfield--type-html {
    font-family: 'Montserrat', sans-serif !important;
    font-size: max(10px, 0.7vw) !important;
    color: #1D1C2A;
    line-height: 1.3 !important;
    margin: 20px 0 30px;
}

.gform_submission_error {
    font-size: max(12px, 1.3vw) !important;
    line-height: 18px !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    appearance: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
}

body .gform_wrapper .gform_body .gform_fields {
    row-gap: 2px !important;
}


/* FORMS ON BLUE BACKGROUND */
body .campaign .gform_wrapper p.gform_required_legend {
    color: #fff !important;
    font-size: 10px !important;
    height: 10px;
}

body .campaign .gform_wrapper .gform_body .gform_fields .gfield .gfield_label,
body .campaign .gform_wrapper .gform_body .gfield_radio .gform-field-label {
    color: #fff !important;
}

body .campaign .gform_wrapper .gform_body .gform_fields .gfield input,
body .campaign .gform_wrapper .gform_body .gform_fields .gfield select {
    border-bottom: solid 1px #ccc !important;
    color: #fff !important;
}

body .campaign .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox input[type=checkbox] {
    border: solid 1px #fff !important;
}

body .campaign .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gform-field-label {
    color: #fff !important;
}

body .campaign .gform_wrapper .gform_footer input[type=submit] {
    color: #fff !important;
    border: solid 1px #fff !important;
}

body .campaign .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #fff !important;
    color: #1d1c2a !important;
}

.campaign .gfield--type-html {
    color: #fff !important;
    max-width: 100% !important;
    width: 100%;
}

/* NOTIFICATION POPUP STUFF */
#pum-23709 #popmake-23709 {
    width: clamp(30vw, calc(500px - 10vw), 88vw) !important;
    right: 0 !important;
}


#pum-23709 .pum-theme-23707 .pum-container,
.pum-theme-notification .pum-container {
    padding: 0
}

.pum-container .pum-title {
    margin-bottom: .5em;
    display: none !important;
}

#notification h2 {
    margin-bottom: -10px !important;
    color: #0778ed;
    font-size: max(24px, 2vw) !important;
}

#notification p {
    font-size: max(14px, 1vw) !important;
    line-height: max(16px, 1.36vw) !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio {
    display: flex;
    flex-direction: row;
    gap: 20px;
}