/*
Theme Name:   EastWest - Property - Charter
Theme URI:    https://eastwest.com
Description:  The child theme for The Charter, on top of EastWest - Property.
Author:       Cornel Raiu / Master WebTools
Author URI:   https://master-webtools.com
Template:     eastwest-property
Version:      1.0.0
Requires PHP: 8.0
*/

/* Brand (see ew/assets/css/ew-property.css in the parent theme) */
:root {
    --ewp-primary: var(--global-color-9, #b33d26);
    --ewp-radius: 4px;
    --ewp-radius-card: 8px;
    --ewp-radius-button: 5px;
}

/* GLOBAL */
.separate-containers .inside-article {
    color: #222222;
}
.biggest {}

.snowflake {
    margin-top: -80px;
    z-index: 999;
}

.fl-photo-content img { border-radius: 8px;}

/* FROM CUSTOMIZER */
.main-navigation .main-nav ul li a {
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
}

.main-navigation .menu-bar-item {
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.main-navigation.navigation-stick {
    background: #FFFFFF;
}

.main-navigation.navigation-stick ul ul {
    background: #FFFFFF;
}

.main-navigation.navigation-stick .main-nav ul li > a,
.main-navigation.navigation-stick .main-nav ul li .sfHover > a,
.single-dwl_stay .main-navigation .main-nav ul li > a,
.single-dwl_stay .main-navigation .main-nav ul li .sfHover > a{
    color: #383838;
    background-color: #FFFFFF;
}

.single-dwl_stay .main-navigation .main-nav ul li > a:hover,
.single-dwl_stay .main-navigation .main-nav ul li > a:focus,
.single-dwl_stay .main-navigation .main-nav ul li .sfHover > a:hover,
.single-dwl_stay .main-navigation .main-nav ul li .sfHover > a:focus,
.single-dwl_stay .main-navigation .main-nav ul li > a:hover,
.single-dwl_stay .main-navigation .main-nav ul li > a:focus,
.single-dwl_stay .main-navigation .main-nav ul li .sfHover > a:hover,
.single-dwl_stay .main-navigation .main-nav ul li .sfHover > a:focus {
    color: #383838;
    background-color: #FFFFFF;
    border-bottom-color: #383838;
}

.single-dwl_stay .main-navigation .menu-bar-item a,
.single-dwl_stay .main-navigation .menu-bar-item:hover a,
.single-dwl_stay .main-navigation .menu-bar-item:focus a,
.single-dwl_stay .main-navigation .menu-bar-item a,
.single-dwl_stay .main-navigation .menu-bar-item:hover a,
.single-dwl_stay .main-navigation .menu-bar-item:focus a {
    color: #383838;
    background-color: transparent;
}

.main-navigation.navigation-stick.has-sticky-branding .inside-navigation.grid-container,
.single-dwl_stay .main-navigation.has-sticky-branding .inside-navigation.grid-container{
    max-width: none;
}

div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #b33d26;
    font-size: 16px;
    padding: 5px 20px;
    font-weight: 400;
}

.date-guests-search-container .filters-wrapper .search-link-wrapper a {
    background-color: #661516
}

.date-guests-search-container .filters-wrapper .search-link-wrapper a:hover {
    background-color: #821f1f
}

/* By Alex */
.TheCharterReserveBtn {
    background: #b33d26;
    border-radius: 5px;
    padding-left: 2em;
    padding-right: 2em;
    line-height: 2.25em;
    transition: .3s all;
    color: #fff;
    margin-left: auto;
    text-align: center;
    display: flex;
}

div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
}

@media (min-width: 992px) and (max-width: 1250px) {

    .inside-header {padding: 16px 20px 16px 20px;}

/*     .site-logo {max-width: 120px;} */

    .main-navigation.navigation-stick.has-sticky-branding .inside-navigation.grid-container,
    .single-dwl_stay .main-navigation.has-sticky-branding .inside-navigation.grid-container{
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1200px) {
	button.menu-toggle, button.menu-toggle:hover, button.menu-toggle:focus {color: #b33d26 !important;}
	#mobile-header .menu-toggle {margin-left: 15px;}
	#mobile-header .site-logo.mobile-header-logo {position: relative;}
}

@media (max-width: 992px) {
    .main-navigation .mobile-header-logo a {
        background: #fff;}


    


    .header-wrap {background: #fff;}
	
	.main-navigation .main-nav ul li a {
        color: #b33d26 !important;
        padding-left: 20px;
    }

    .main-navigation .main-nav ul li.menu-item-has-children > a {padding-right: 15px; }

    .obj-fit-tablet {
        max-height: 500px;
        object-fit: cover;
        object-position: top;
    }
}

/* END FROM CUSTOMIZER*/

.fl-builder-edit #bf_wrapper_frame_button_navis_chalk_button {
    display: none;
    height: 0;
    width: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0
}

.border_photo {
    background-image: url(https://thecarter.com/wp-content/uploads/2019/09/snowback.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    height: 100px;
    width: 100%;
}

.big_CTA { text-align: center; color: #FFFFFF;
    padding: 40px 40px;
    background-image: url(https://thecarter.com/wp-content/uploads/2019/10/groomer-back-lighter.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    width: 100%;}

.big_CTA H1 {
    font-family: "Crimson Text", serif;
    font-weight: 300;
    font-size: 52px;
    line-height: 1.4em;
    color: #FFFFFF;
}

.big_CTA p {font-size: 1.15em; margin-bottom: 1em;}

.cta-button-wrap {text-align: center;}

.cta-button {}

a.cta-button { font-size: 18px;
    border: 1px solid rgba(67, 165, 205, .86);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #fff;
    background: rgba(79, 177, 217, .86);
    padding-top: 20px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-left: 40px;}

.cta-button-text {color: #ffffff;}

* {
    box-sizing: border-box;
}

.site-info { padding-bottom: 100px !important;
}

/* Slick Slider */
#home-slider .wpsisac-slider-content { background: rgba(48, 133, 163, 0); }


/* SIDE INFO BOX */
.sideinfo { background-color: #2B1814; border-radius: 8px; padding: 2px; max-width: 320px; text-align: center; }

.sideinfo .small_border {border: 1px solid #cccccc; padding: 16px; border-radius: 8px; color: #ffffff;}

.sideinfo h3 {color: #ffffff;}

.sideinfo a {color: #ffffff;}

.sideinfo p { text-transform: uppercase; font-size: 13px;}

.sideinfo p em {text-transform: none; font-style: normal;}

.sideinfo span {font-size: 11px; }

/* FONT TREATMENTS */

.smallcaps {letter-spacing: 4px;}

.small_line { border-bottom: 1px solid #333333; width: 100px;}

.smallprint { font-size: 12px;}

/* Logo */
.site-logo { position: absolute; z-index: 999; }

/* Main menu */
#menu-item-570 a, #menu-item-570 a:hover { color: #ffffff; background-color: #4fb1e0; }

.search-item a { background-color: #c1c1c1; }

#phone-number { position: absolute; left: 225px; line-height: 52px; }

#phone-number a { color: #4fb1e0; }

/*Solliloquy Slider Styles */
.soliloquy-container .soliloquy-prev,
.soliloquy-container .soliloquy-next {
    width: 40px !important;
    height: 40px !important;
}

.soliloquy-container .soliloquy-prev { left: 0px !important; }

.soliloquy-container .soliloquy-next { right: 0px !important; }

.text-centered-nobg .soliloquy-caption {
    top: 50%;
    /* Half of the caption height for perfect vertical centering */
    margin-top: -30px;
}

.text-centered-nobg .soliloquy-caption .soliloquy-caption-inside {
    height: 60px;
    background: none !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    line-height: 0.5em !important;
}

/* Social Icons */
#social-icons { border-top: 1px solid #333333; padding-top: 30px;}

#social-icons img { padding-right: 12px;}

/* BLOG */

.ew-module-blog-style .ew-title {
    font-size: 20px;
    line-height: 1.4em;
}

.ew-module-blog-style .ew-link {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4em;
    color: #b33d26;
}

.one-container:not(.page) .inside-article { padding: 4%; }

.post-navigation { display: flex; }

.post-navigation .nav-next { width: 50%; text-align: right; }

.post-navigation .nav-previous { width: 50%; }

.post-navigation .nav-next .next:before { display: none; }

.post-navigation .nav-next .next:after {
    font-family: GeneratePress;
    text-decoration: inherit;
    position: relative;
    margin-left: .6em;
    width: 13px;
    text-align: center;
    display: inline-block;
    content: "\f105";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    speak: none;
}

.inside-article footer.entry-meta { margin-top: 5em; }

.inside-article .entry-meta a, .inside-article .entry-meta a:visited { color: #1e73be; }

.one-container:not(.page) .featured-column .inside-article { padding: 2%; }

.featured-image, .post-image-aligned-left .inside-article .post-image { margin-right: 0em !important; }

#nav-below.paging-navigation.masonry-brick { text-align: center; margin: 3em 0; }

.inside-footer-widgets .textwidget p {
    margin-bottom: 0.5em;
}

/* HOME PAGE HERO PHOTO AND FORM */

#homeform-container {margin-top: -260px;}

#homeform {
    max-width: 800px;
    margin: 2px auto;
    background-color: rgba(255, 255, 255, 0.85);
    border-style: none;
    border-width: 0;
    background-clip: padding-box;
    border-radius: 1px;
}

#homeform {box-shadow: 0 0 5px 1px rgba(0, 0, 0, .15);}

/* on white background
 * #homeform {box-shadow: 0px 0px 15px 0px rgba(0,0,0,.15);}
 * #homeform {
	max-width: 700px;
	margin: 2px auto;
	background-color: rgba(2, 0, 0, 0.15);
	border-style: none;
	border-width: 0;
	background-clip: padding-box;
	border-radius: 8px;
*/

/* Gravity Forms Home Page Search = 2 */
body #gform_wrapper_2 .gform_body .gform_fields .gfield .ginput_container_email input {
    height: 42px !important;
    border-radius: 2px;
    margin-top: -0px !important;
}

/* Inline submit button */
body #gform_wrapper_2 {
    position: relative;
}

body #gform_wrapper_2 ul li.gfield {}

/* keep it mobile friendly by only applying these styles for larger viewports */

/* Reservations Page */
.gd-main-container .modal-dialog > .modal-content > .modal-body > .row > .col-xs-12 > .m-b-0.alert.alert-info > .row > .col-xs-10 {
    font-size: 0;
}

.gd-main-container .modal-dialog > .modal-content > .modal-body > .row > .col-xs-12 > .m-b-0.alert.alert-info > .row > .col-xs-10:before {
    font-size: 16px;
    content: "Processing Request";
}

/* Tooltip */
.tooltip {
    display: inline-block;
    position: relative;
    text-align: left;
}

.tooltip h3 {margin: 12px 0;}

.tooltip .right {
    min-width: max-content;
    max-width: 200px;
    top: 50%;
    left: 100%;
    margin-left: 10px;
    transform: translate(0, -50%);
    padding: 5px 10px;
    color: #333;
    background: #ffffff;
    border: 1px solid #BABABA;
    font-weight: normal;
    font-size: 13px;
    border-radius: 2px;
    position: absolute;
    z-index: 99999999;
    box-sizing: border-box;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s;
}

.tooltip .right:after,
.tooltip .right:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.tooltip .right:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #ffffff;
    border-width: 6px;
    margin-top: -6px;
}

.tooltip .right:before {
    border-color: rgba(186, 186, 186, 0);
    border-right-color: #BABABA;
    border-width: 7px;
    margin-top: -7px;
}

.single-post article.post {
    max-width: 1200px;
    margin: 0 auto 2em;
}

#gform_1 {
    display: flex;
}

#gform_1 .gform_body {
    display: flex;
    flex: 1
}

#gform_1 .gform_body .gchoice_1_2_1 {
    width: 100%;
}

#gform_1 #input_1_1 {
    padding: 10px 4px;
}

#footer-widgets #gform_fields_1 {
    display: flex;
    flex-flow: column;
}

.fl-post-grid.masonry {
    max-width: 100%;
}

.fl-post-grid-image-above-title {
    max-width: 100%;
}

/* Units Carousel */
.units-slick-carousel .slick-list {
    overflow: visible;
}

.units-slick-carousel .slick-slide:not(:first-child) {
    padding-left: 200px;
}

.units-carousel-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.units-carousel-title-wrapper h3 {
    font-size: 60px;
    color: #383838;
}

.units-carousel-description-wrapper {
    color: #7E7E7E;
    font-size: 20px;
    line-height: 1.8em;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
}

.unit-carousel-entry {
    width: 1320px;
    height: 560px;
    position: relative;
}

.unit-carousel-entry .img-wrapper {
    max-width: 70%;
    width: 70%;
    height: 100%;
    background-color: #faf8f7;
}

.unit-carousel-entry .img-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.unit-carousel-entry .content-wrapper {
    position: absolute;
    top: 12.5%;
    bottom: 12.5%;
    right: 0;
    max-height: 75%;
    width: 560px;
    background: #fff;
    box-shadow: 2px 4px 10px 2px rgba(0, 0, 0, .17);
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unit-carousel-entry .content-wrapper h4 {
    font-size: 40px;
    color: #383838;
}

.unit-carousel-entry .content-wrapper .unit-description {
    color: #7E7E7E;
    font-size: 18px;
    line-height: 2em;
    letter-spacing: 1px;
    font-weight: 300;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unit-carousel-entry .content-wrapper .unit-more-info {
    color: #b33d26;
}

.unit-carousel-entry .content-wrapper .unit-more-info:hover {
    text-decoration: underline;
}

.gd-main-container .modal-lg.modal-dialog, .gd-main-container .modal .modal-dialog {
    margin-top: 120px;
}

.gd-main-container .room-availability-calendar-date .col-xs-6 {
    font-size: 15px;
    white-space: nowrap;
}

.phone-link {
    text-decoration: underline;
}

#menu-main-menu .menu-item-object-custom {
    cursor: pointer;
}

#menu-main-menu .menu-item-has-children .sub-menu {
    border-radius: 5px;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, .10);
    overflow: auto;
}

#menu-main-menu .reserve-button {
    margin-right: 1em;
    margin-left: 1em;
}

#menu-main-menu .reserve-button a {
    background: #b33d26;
    border-radius: 5px;
    padding-left: 2em;
    padding-right: 2em;
    line-height: 2.25em;
    transition: .3s all;
    color: #fff;
}

#menu-main-menu .reserve-button a:hover {
    background: #821f1f;
    color: #fff;
}

#masthead {
    margin-top: 15px;
}

/* RFP form styles */
#tripleseat_embed_form table, #tripleseat_embed_form td, #tripleseat_embed_form th {
    border: 0
}

#tripleseat_embed_form table tr td {
    padding: 10px 5px;
}

#tripleseat_embed_form label {
    display: block;
    font-weight: 700;
    font-size: 16px;
    float: none;
    line-height: 1.3;
    margin: 0 0 4px 0;
    padding: 0;
}

#tripleseat_embed_form input, #tripleseat_embed_form textarea {
    width: 100% !important;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 2px;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: none;
    font-size: 16px;
    border: 1px solid #ccc !important;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}

#tripleseat_embed_form :is(.row_first_name, .row_phone_number, .row_booking_date, .row_time) td:last-child {
    padding-left:4%;
}

#tripleseat_embed_form :is(.row_contact_header, .row_details_header) td h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

#tripleseat_embed_form :is(.row_booking_guest_rooms_needed, .row_booking_events_needed) td {
    display:flex;
    align-items:center;
}

#tripleseat_embed_form :is(.row_booking_guest_rooms_needed, .row_booking_events_needed) td input {
    width: 25px !important;
    margin-right:10px;
}

#tripleseat_embed_form :is(.row_booking_guest_rooms_needed, .row_booking_events_needed) td label {
    margin:0;
}

#tripleseat_embed_form .row_submit input {
    width: 25% !important;
    background: #b33d26;
    border-radius: 5px;
    padding-left: 2em;
    padding-right: 2em;
    color: #fff;
    font-weight:400;
}

/* Reverse order on Tablet */
.bb-reverse-on-tablet .fl-col-group.fl-col-group-responsive-reversed {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    flex-flow: row wrap;
    -ms-box-orient: horizontal;
    -webkit-flex-flow: row wrap;
}

.bb-reverse-on-tablet .fl-col-group-responsive-reversed .fl-col:nth-of-type(1) {
    -webkit-box-ordinal-group: 12;
    -moz-box-ordinal-group: 12;
    -ms-flex-order: 12;
    -webkit-order: 12;
    order: 12;
}

.bb-reverse-on-tablet .fl-col-group-responsive-reversed .fl-col:nth-of-type(2) {
    -webkit-box-ordinal-group: 11;
    -moz-box-ordinal-group: 11;
    -ms-flex-order: 11;
    -webkit-order: 11;
    order: 11;
}
/* Reverse order on Tablet */

/* Shared components: Charter typography and spacing */
.stay-content-wrapper .title-description {
    margin-bottom: 30px;
}

.stay-content-wrapper .entry-title {
    font-family: "Crimson Text", serif;
    margin-bottom: 10px;
}

.stay-content-wrapper .stay-features {
    font-family: "Roboto", sans-serif;
}

.stay-content-wrapper .section-title {
    color: #383838;
    font-size: 28px;
    font-weight: 400;
    font-family: "Crimson Text", serif;
    margin-bottom: 42px;
}

.stay-content-wrapper .location-wrapper {
    margin-bottom: 50px;
}

.book-price-wrapper .book-button-wrapper a {
    padding: 8px 2em;
    font-weight: 400;
    text-transform: none;
}

#price-popup .label {
    font-family: "Crimson Text", serif;
}

#price-popup .rent-details-trigger {
    font-size: 14px;
}

.date-guests-search-container .filter-buttons .filter-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.date-guests-search-container .search-link-wrapper a {
    border-radius: 1px;
    text-transform: uppercase;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}


/* Site-specific media queries live in assets/css/responsive.css (loaded last). */
