/*
Theme Name: Cityside
Theme URI:
Author: 
Author URI:
Description:
Tags: 
Version: 1.0
Requires at least: 
Tested up to: 
Requires PHP: 
License: GNU General Public License v2 or later
License URI:
Text Domain: cts
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* mega menu */
.header-nav.inverse .cts-megamenu {
    opacity: 1;
    visibility: visible;
    transition: .5s;
}

.cts-megamenu {
    position: fixed;
    top: 72px;
    left: 0;
    background-color: #000000;
    gap: 1.3%;
    row-gap: 35px;
    padding: 3% var(--ch-space-x);
    opacity: 0;
    visibility: hidden;
    transition: .8s;
    z-index: -10;
    width: 100%;
}

.cts-megamenu .menu-col {
    max-width: 24%;
    flex: 0 0 24%;
    height: 200px;
    position: relative;
}

.menu-col span,
.mega-menu-item span {
    color: var(--primary-color);
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 10;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 44px !important;
    font-weight: 400 !important;
    line-height: 35px !important;
    max-width: 49%;
    text-align: start !important;
    /* display: inherit; */
}

.menu-col a {
    display: inline !important;
    text-transform: inherit !important;
}

.cts-megamenu .menu-col3 {
    max-width: 32.4%;
    flex: 0 0 32.4%;
}

.menu-explore {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-explore a {
    position: inherit !important;
    font-size: 16px !important;
    text-transform: capitalize !important;
    line-height: 19.36px;
    max-width: 224px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 70px;
    background-color: var(--secondary-color);
    width: 100%;
}

.menu-explore a {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.cts-megamenu .menu-col a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.menu-col a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.40) 40%, transparent 100%);
    transition: .5s;
}




header:not(.bg-secondary) .header-left,
header:not(.bg-secondary) .header-right {
    opacity: 0;
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.48, 0, 0.48, 1);
}




/* responsive */
@media screen and (max-height: 1024px) {
    .cts-megamenu .menu-col {
        height: 150px;
    }

    .menu-col span,
    .mega-menu-item span {
        font-size: 28px !important;
        bottom: 6% !important;
        left: 6% !important;
        line-height: 30px !important;
    }
}

/* @media screen and (max-height: 800px){
  .banner-content-wrapper{
    top: -18%;
  }
} */
@media screen and (max-height: 720px) {
    .cts-megamenu .menu-col {
        height: 120px;
    }
}


@media (max-width: 1024px) {

    /* #lg-components-2 > .lg-thumb-outer > .lg-thumb.lg-group{
    transform: unset!important;
  } */
    .lg-outer .lg-thumb-outer.lg-thumb-align-middle {
        display: inherit !important;
    }
}

@media (max-width: 992px) {

    /*** mobile menu ***/
    .mobile-veggeiburger {
        padding: 8px 0;
    }

    .mobile-veggeiburger.active {
        position: relative;
        justify-content: center;
        align-items: center;
        transition: all .5s ease-in-out;
        z-index: 100;
    }

    .mobile-veggeiburger .menu-bar-lines span:first-child {
        transition: .5s ease-in-out;
    }

    .mobile-veggeiburger.active .menu-bar-lines span:first-child {
        transform: rotate(45deg);
        transition: .5s ease-in-out;
    }

    .mobile-veggeiburger .menu-bar-lines span:last-child {
        transition: .5s ease-in-out;
    }

    .mobile-veggeiburger.active .menu-bar-lines span:last-child {
        transform: rotate(135deg) translateX(-6px) translateY(6px);
        transition: .5s ease-in-out;
    }

    .mobile-menu-inner.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        transition: .5s;
    }

    .mobile-menu-inner {
        opacity: 0;
        visibility: hidden;
        transform: translateX(110%);
        transition: .3s;
        position: fixed;
        z-index: 40;
        background-color: #000000f4;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
        display: block !important;
        padding-left: 40px;
        transition: all .5s ease-in-out;
    }

    .mobile-menu-wrapper {
        padding-top: 100px;
    }

    .mobile-menu-wrapper li a {
        text-align: left !important;
        font-size: 25px !important;
        margin-bottom: 15px;
    }

    .mobile-menu-bottom-logo {
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
    }

    .lg-prev-1 {
        display: block !important;
    }

    .lg-dropdown {
        display: none;
    }

    .mobile-dropdown {
        display: block;
    }

    /* mobie mega menu */
    .mobile-mega-menu {
        position: relative;
    }

    .mobile-mega-menu:after {
        content: url(../Cityside/assets/images/homeowners/faq-arrow.svg);
        position: absolute;
        right: 0;
        top: 0;
        padding: 15px;
        color: #fff;
        width: 10px;
        height: 10px;
        filter: invert(1);
        margin-right: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
    }

    .mobile-mega-menu.active:after {
        transform: rotate(180deg);
        transition: .3s;
    }

    .megamenu-wrapper.mobile-dropdown .cts-megamenu {
        top: 0;
    }

    .megamenu-wrapper.mobile-dropdown .cts-megamenu.active {
        opacity: 1;
        visibility: visible;
        top: 180px;
        z-index: 10;
        transition: .8s;
    }

    .megamenu-wrapper.mobile-dropdown .cts-megamenu span,
    .mega-menu-item span {
        font-size: 22px !important;
        line-height: 1 !important;
    }
}




@media (max-width: 80rem) {
    .property-buttons .footer-link-button a {
        padding: .75rem 1.5625rem !important;
    }
}

.res_video {
    display: none;
}

.desk_video {
    display: block;
}

@media only screen and (max-width: 600px) {
    .res_video {
        display: block;
    }

    .desk_video {
        display: none;
    }
}




.page-mega-menu {
    position: relative;
}

.page-mega-menu .sub-menu {
    position: absolute;
    top: 20px;
    left: 0;
    width: 20vw;
    height: 10vw;
    background-color: #000;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: .5s ease-in-out;
}

.page-mega-menu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transition: .3s ease-in-out;
}

.page-mega-menu .sub-menu li.mega-menu-item {
    width: 100%;
    height: 100%;
}

.page-mega-menu .sub-menu li.mega-menu-item a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    z-index: 1;
}

.page-mega-menu .sub-menu li.mega-menu-item a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
    transition: 0.3s ease-in-out;
}

.page-mega-menu .sub-menu li.mega-menu-item a:hover img {
    opacity: .75;
}