/*!
Theme Name: Flexjet - Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Flexjet
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: flexjetinc
*/

/* Theme customization starts here
-------------------------------------------------------------- */

html {
    scroll-padding-top: 90px;
}

/* PROMO BOX ZOOM EFFECT */
.kt-image-overlay-wrap.kt-over-image-zoomin:focus-within .kt-block-intrisic>img,.kt-image-overlay-wrap.kt-over-image-zoomin:hover .kt-block-intrisic>img {
    transform: scale(1.15) !important;
}

/* COOKIE BAR */
#consent_blackbar {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}
#consent_blackbar #truste-consent-track {
    background-color: #494642 !important;
}
#consent_blackbar .truste-messageColumn {
    font-family: var(--global-body-font-family) !important;
}
#consent_blackbar .truste-button1, #consent_blackbar .truste-button2 {
    font-family: var(--global-body-font-family) !important;
    background: transparent !important;
    font-weight:600;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    height: auto;
    width:auto!important;
    border-radius: 50px;
    line-height:14px;
    letter-spacing:2px;
    cursor: pointer;
    margin-left: 5px;
    padding: 8px 20px !important;
    border: 1px solid white !important;
}
#consent_blackbar .truste-cookie-link {
    font-family: var(--global-body-font-family) !important;
}
#consent_blackbar .truste-button1:hover, #consent_blackbar .truste-button2:hover {
    background-color: white !important;
    color: #000 !important;
}
#consent_blackbar .truste-cookie-link:hover {
    color: #C7C0B9 !important;
}

@media screen and (max-width: 750px) {
    #consent_blackbar .truste-button1, #consent_blackbar .truste-button2 {
        margin-top: 15px;
    }
}

/* STICKY NAVIGATION */
.sticky-menu {
    position: -webkit-sticky !important;
	position: sticky !important;
	top: 60px;
    z-index:5;
}

.sticky-menu .wp-block-navigation-item {
    color: #fff;
}

.sticky-menu .wp-block-navigation-item:hover {
    color: #C7C0B9;
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
    background-color: #3f2021;
    border: none;
}

.aircraft-navigation [aria-current]:not([aria-current="false"]) {
    font-weight: bold;
    pointer-events: none;
}

.aircraft-navigation [aria-current]:not([aria-current="false"]):hover {
    color:#fff;
}

.fluid-row .kt-row-column-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

/* SUBNAVIGATION - RESPONSIVE CLASSES */
.show-mobile {
    display: none !important;
}

.subnavigation-menu .wp-block-navigation__submenu-container {
    width: max-content !important;
    padding-right: 2em;
    padding-bottom: 1em;
}

.subnavigation-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 2em;
}

.subnavigation-menu .wp-block-navigation-item__label {
    display: inline-block;
    line-height: 12px;
}

.subnavigation-menu .wp-block-navigation-submenu__toggle {
    padding:0px;
}

.subnavigation-menu .wp-block-navigation-submenu__toggle .wp-block-navigation-item__label {
    letter-spacing:2px;
    font-size: 10px;
}

.subnavigation-menu .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border: 0px;
}

.subnavigation-menu .wp-block-navigation-submenu__toggle:hover, .subnavigation-menu .wp-block-navigation-submenu__toggle:active, .subnavigation-menu .wp-block-navigation-submenu__toggle:focus{
    color: #f2f2f2;
    box-shadow: none;
    background-color: transparent;
}

@media screen and (max-width: 1030px) {
    .large-menu .hide-mobile {
        display: none !important;
    }

    .large-menu .show-mobile {
        display: flex !important;
    }

    .large-menu .show-mobile .wp-block-navigation__submenu-container {
        left: 0px !important;
        right: 0px !important;
    }

    .large-menu .sticky-menu {
        top: 0px;
    }

    .aircraft-navigation [aria-current]:not([aria-current="false"]) {
        font-weight: normal;
        pointer-events: auto;
    }
    
    .aircraft-navigation [aria-current]:not([aria-current="false"]):hover {
        color:#fff;
    }
}

@media screen and (max-width: 900px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: flex !important;
    }

    .show-mobile .wp-block-navigation__submenu-container {
        left: 0px !important;
        right: 0px !important;
    }

    .sticky-menu {
        top: 0px;
    }

    .aircraft-navigation [aria-current]:not([aria-current="false"]) {
        font-weight: normal;
        pointer-events: auto;
    }
    
    .aircraft-navigation [aria-current]:not([aria-current="false"]):hover {
        color:#fff;
    }
}

/* RANGE MAP STYLING */
#map {
    min-height:500px;
    height:100%;
    width:100%;
}

.leaflet-pane > svg path.leaflet-interactive {
    fill: rgb(0,0,0);
    fill-opacity: 0.1;
    stroke: rgba(0,0,0, 0.3);
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
}

.leaflet-popup-content-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    color: #000 !important;
}

.leaflet-popup-content {
    margin:13px 20px 0px 20px !important;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leaflet-popup-tip-container {
    display: none;
}

.leaflet-container a.leaflet-popup-close-button {
    display:none;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@supports (display: flex) {
    .map-container {
        height: 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 0 auto;
                flex: 1 0 auto;
    }

    .map-frame {
        -webkit-box-flex: 1;
            -ms-flex: 1 0 auto;
                flex: 1 0 auto;
    }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    -webkit-appearance: none;
    background-color: #9E948B;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(63,32,33,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

::-webkit-scrollbar-thumb:hover {
  background: #3f2021; 
}

/* MOBILE MENU STYLES */
.popup-drawer .drawer-header {
    justify-content: space-between !important;
    padding:1.5em !important;
}

#mobile-menu .sub-menu .menu-item a {
    font-size: 15px;
    line-height:30px;
    padding-bottom:10px;
    padding-top: 0px;
}

#mobile-drawer .drawer-inner:before {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.drawer-mobile-logo {
    position: relative;
    display:block;
    margin: 0em auto 1em auto;
    max-width:250px;
}

.mobile-navigation ul li {
    position:relative;
}

/* Bottom Drawer Form Section Styles */
.bottomForm {
    position: fixed !important;
    z-index: 1000 !important;
    top: 110%;
    left: 0;
    transition: 0.8s;
    overflow:auto;
    background-image: url(/wp-content/uploads/2023/11/form-bg-1.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}
  
.bottomForm .closeBtn {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
    font-weight:400;
    letter-spacing: 1px;
}
  
.bottomForm .closeBtn:hover {
    color: #3f2021;
    cursor: pointer;
}
  
.bottomForm #closeBtn {
    position: absolute;
    top: 20px;
    right: 25px;
}

.bottomForm .bottomFormElement {
    width:100%;
    height: 510px;
}

.bottomForm .bottomFormElementEU {
    width:100%;
    height: 530px;
}

.bottomForm .bottomFormElementPartner {
    width:100%;
    height: 530px;
}

@media screen and (max-width: 850px) {
    .bottomForm #closeBtn {
        position: relative;
        padding: 16px;
        top:0;
        right:0;
        margin-bottom:0px;
    }
}

@media screen and (max-width: 600px) {
    .guide-form {
        height: 125px;
    }
}

@media screen and (max-width: 525px) {
    .bottomForm { padding-top: 15px; }
    .bottomForm .bottomFormElement { height: 610px; }
    .bottomForm .bottomFormElementEU { height: 650px; }
    .bottomForm .bottomFormElementPartner { height: 725px; }
}

@media screen and (max-width: 450px) {
    .bottomForm { padding-top: 15px; }
    .bottomForm .bottomFormElement { height: 640px; }
    .bottomForm .bottomFormElement { height: 700px; }
    .bottomForm .bottomFormElementPartner { height: 750px; }
}


/* Sitemap page styling */
.sitemap-separator{
    max-width: 75%;
}

.sitemap-list{
    font-size: larger;
}

.sitemap-title{
    font-weight: 600;
}


/* Privacy Policy page styling */

.privacy-policy-page{
    margin: 50px;
}

/* Extra global calculator styling*/

.aircraft-select-option:hover{
    cursor: pointer;
    background-color: #dbd7d3;
    color: black;
}


.emission-select-option:hover{
    cursor: pointer;
    background-color: #dbd7d3;
    color: black;
}
