/*
Theme Name: Residential
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

body {
    font-family: 'Open Sans', sans-serif !important;
}

h1, h2, h3, .heading-font, .banner h1, .banner h2 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

h3, .banner h3 {
    font-size: 38px;
}

.text-18, .text-18 * {
    font-size: 18px !important;
}

.text-14, .text-14 * {
    font-size: 14px !important;
}

.roboto-condensed {
    font-family: 'Roboto Condensed', sans-serif !important;
}

.font-medium {
    font-weight: 300 !important;
}

.h-full,
.img.h-full .img-inner {
    height: 100% !important;
}

.img.h-full img {
    height: 100% !important;
    object-fit: cover;
}

.object-left, .object-left img {
    object-position: left !important;
}

.object-top, .object-top img {
    object-position: top !important;
}

.object-contain, .object-contain img {
    object-fit: contain !important;
}

.text-blue {
    color: #3b81bf !important;
}

.nav-dark .nav-divided>li+li>a:after {
    background-color: #3b81bf;
}

.header-inner.container {
    max-width: 1280px !important;
}

li#menu-item-13 .sub-menu {
    display: block !important;
    columns: 2 !important;
}

#toggleSound {
    font-size: 1.5em;
}

.row-dashed .col:before, .row-solid .col:before {
    /* border-color: #122639; */
    border-color: #3b81bf;
}

.footer-wrapper .footer-1 {
    padding: 60px 0;
}

.footer-widgets .widget ul li {
    border: none;
}

.footer-widgets .widget ul a {
    color: #3b81bf;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .8em;
    transition: .3s;
}

.absolute-footer {
    display: none;
}

.hero-slider .text-box-content,
.h-full-banner .text-box-content {
    height: 100%;
}

.hero-slider .text-box-content .text-inner, 
.h-full-banner .text-box-content .text-inner {
    height: 100%;
    padding: 36px 42px;
}

.hero-slider .flickity-prev-next-button {
    top: auto;
    bottom: 30px;
    height: fit-content;
    scale: 1.8;
}

.section-heading h4 {
    margin: 0;
}

.all_brands_single_shortcode .large-3 {
    text-align: right;
    border-right: 1px solid #ffffff;
}

.all_brands_single_shortcode .large-3 .col-inner {
    padding-right: 2em;
}

.all_brands_single_shortcode .large-9 {
    text-align: left;
}

.all_brands_single_shortcode .large-9 .col-inner {
    padding-left: 2em;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-left: 0 !important;
}

.showroom_gallery .box-text {
    display: none;
}

.showroom_gallery .box-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.culinary-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 3em;
}

.culinary-event {
    text-align: left;
    margin-bottom: 2em;
}

.culinary-event .large-9 {
    background: #d1e8f4;
}

.culinary-event .large-9 .col-inner {
    padding: 2em 3em 2em 3em;
}

.culinary-event .large-9 .col-inner p {
    font-size: 14px;
}

.culinary-event .large-9 .col-inner .button {
    margin: 0 !important;
}

.culinary-event .large-3 {
    background: #122639;
}

.culinary-event .large-3 .col-inner {
    height: 100%;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gform_button.button {
    background: #122639 !important;
    font-weight: bolder !important;
    text-transform: uppercase !important;
    font-size: .97em !important;
    min-height: 2.5em !important;
    letter-spacing: .03em !important;
    padding: 0 1.2em !important;
    border-radius: 0 !important;
}

#gform_fields_2 .gfield_repeater_item {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
    gap: 24px;
}

#gform_fields_2 .gfield_repeater_cell {
    margin-block-start: 0;
} 

#gform_fields_2 .gfield_repeater_buttons {
    grid-column: span 4 / span 4; 
    margin-block-start: 0;
}

@media only screen and (min-width: 48em) {
    .header-nav-main > li > ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .header-nav-main > li > ul > li {
        width: 100%;
    }

    .header-nav-main > li > ul > li > a {
        color: hsla(0,0%,40%,.85) !important;
        font-weight: 400 !important;
        font-size: 1em !important;
        text-transform: none !important;
        transition: all .2s;
        width: 100%;
    }
    .header-nav-main > li > ul > li > ul {
        padding: 20px !important;
        position: absolute;
        top: -2px;
        left: 100%;
        background-color: #fff;
        color: #777;
        min-width: 260px;
        border: 2px solid #ddd;
        box-shadow: 1px 1px 15px rgba(0,0,0,.15);
    }

    .menu-item-has-children .sub-menu {
        display: none;
    }    
}

.accordion .accordion-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 100%;
    border: none;
}

.accordion .accordion-title.active {
    color: #996b50;
    font-weight: 400;
}

.accordion .toggle {
    margin: 0 !important;
    right: 0;
    left: auto;
}

.ceu-courss-bg {
    background: url("https://beta.middlebyresidential.com/wp-content/uploads/2023/10/iStock-1288318055-1-683x1024.jpg");
    background-size: cover;
}

.mvip-courss-bg {
    background: url("https://beta.middlebyresidential.com/wp-content/uploads/2023/11/2122-53_Viking_91716_rt-scaled.jpg");
    background-size: cover;
}

.i_home_logos img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.next-prev-thumbs li.has-dropdown:hover>.nav-dropdown, .no-js li.has-dropdown:hover>.nav-dropdown, li.current-dropdown>.nav-dropdown {
    height: auto !important;
    min-width: 300px !important;
}

.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    border: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}