
/*--------------------------------------------------------------
    Header
--------------------------------------------------------------*/

#header-wrapper.header-top-relative #header
{
    position: relative;
}

.no-breadcrumb.page-with-slider #header-wrapper.header-top-absolute #header
{
    position: absolute;
    z-index: 10;
}

.no-breadcrumb.page-with-slider #header-wrapper.bottom-header
{
    display: -webkit-flex;
    display:    -moz-flex;
    display: -ms-flexbox;
    display:     -ms-flex;
    display:         flex;
    -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
}

#header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
{
    max-width: 1440px;
}
.wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
{
    min-width: 1440px;
}



/*--------------------------------------------------------------
    Header Sticky
--------------------------------------------------------------*/

#header .wdt-header-tpl .sticky-header-active
{
    -webkit-transition: .5s cubic-bezier(.25,.8,.25,1) .05s;
            transition: .5s cubic-bezier(.25,.8,.25,1) .05s;
}

#header .wdt-header-tpl .sticky-header-active
{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    clear: both;

    margin: auto;
}

#header .wdt-header-tpl .sticky-header-active
{
    visibility: hidden;

    opacity: 0;
}

#header .wdt-header-tpl .sticky-header-active
{
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
}

#header .wdt-header-tpl .sticky-header-active.wdt-header-top
{
    visibility: visible;

    -webkit-transform: translateY(0);
            transform: translateY(0);

    opacity: 1;
}

#header .wdt-header-tpl .sticky-header-active.wdt-header-top
{
    z-index: 10;

    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
            box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
}

.sticky-header-active
{
    background-color: rgba(255, 255, 255, .95);
}

.logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active,
.logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active.wdt-header-top
{
    top: 32px;
}

/* Note: Design for a width of 768px */

@media only screen and (min-width:768px) and (max-width:782px)
{
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active,
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active.wdt-header-top
    {
        top: 45px;
    }
}

@media only screen and (min-width:601px) and (max-width:767px)
{
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active,
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active.wdt-header-top
    {
        top: 45px;
    }
}

@media only screen and (max-width: 600px)
{
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active,
    .logged-in.admin-bar #header .wdt-header-tpl .sticky-header-active.wdt-header-top
    {
        top: 0;
    }
}


/*--------------------------------------------------------------
    Header Modules
--------------------------------------------------------------*/

/*--- Slide Menu ---*/

.wdt-simpler-slider
{
    position: fixed;
    z-index: 999;
    top: 20px;
    right: 20px;

    display: block;

    width: 32px;
    height: 32px;

    cursor: pointer;
    -webkit-transition: all .3s linear;
       -moz-transition: all .3s linear;
        -ms-transition: all .3s linear;
         -o-transition: all .3s linear;
            transition: all .3s linear;

    border: none;
    background: transparent;
}

.wdt-simpler-slider:before
{
    font-size: 14px;
    line-height: 32px;

    position: absolute;
    top: -5px;
    left: -4px;

    display: block;

    width: 40px;
    height: 40px;

    content: '';
    -webkit-transition: all .35s ease-in-out;
       -moz-transition: all .35s ease-in-out;
        -ms-transition: all .35s ease-in-out;
            transition: all .35s ease-in-out;
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    text-align: center;

    opacity: 1;
    background: var(--wdtBorderColor);
}

.wdt-simpler-slider span
{
    position: absolute;
    top: 50%;
    left: 50%;

    display: block;

    width: 25px;
    height: 3px;
    margin-top: -1.5px;
    margin-left: -12.5px;

    -webkit-transition: all .3s linear;
       -moz-transition: all .3s linear;
        -ms-transition: all .3s linear;
         -o-transition: all .3s linear;
            transition: all .3s linear;

    background: #000000;
}

.wdt-simpler-slider span:first-child
{
    top: 5px;

    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.wdt-simpler-slider span:last-child
{
    bottom: 5px;

    -webkit-transform: translate3d(0, 8px, 0);
       -moz-transform: translate3d(0, 8px, 0);
        -ms-transform: translate3d(0, 8px, 0);
            transform: translate3d(0, 8px, 0);
}

.wdt-simpler-slider span:nth-child(2)
{
    top: 50%;

    margin-top: -2px;

    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.wdt-simpler-slider span
{
    background: var(--wdtBodyBGColor);
}

.from-left .wdt-simpler-slider,
.overlay-header.from-left .wdt-simpler-slider
{
    right: auto;
    left: 20px;
}

.from-left.boxed-header .wdt-simpler-slider
{
    right: auto;
    left: 25px;
}


/*--------------------------------------------------------------
    Mobile Menu
--------------------------------------------------------------*/

.mobile-menu ul.wdt-primary-nav li.has-mega-menu ul.sub-menu li.menu-item-object-wdt_mega_menus .elementor-section
{
    left: auto !important;

    width: auto !important;
    margin: 0;
}

.mobile-menu ul.wdt-primary-nav li.has-mega-menu ul.sub-menu li.menu-item-object-wdt_mega_menus .elementor-container .elementor-row
{
    width: 100% !important;
    margin: 0 !important;
}

.mobile-menu ul.wdt-primary-nav li.has-mega-menu ul.sub-menu li.menu-item-object-wdt_mega_menus .elementor-column
{
    width: 100%;
}

.mobile-menu ul.wdt-primary-nav li.has-mega-menu ul.sub-menu li.menu-item-object-wdt_mega_menus .elementor-container .elementor-row > .elementor-column > .elementor-column-wrap
{
    padding: 15px !important;
}

.mobile-menu ul.wdt-primary-nav li.has-mega-menu ul.sub-menu li.menu-item-object-wdt_mega_menus .elementor-column ul.wdt-primary-nav li:first-child a
{
    border-top-width: 0;
}


/*--------------------------------------------------------------
    Responsive
--------------------------------------------------------------*/

/*----*****---- << Laptop/Notebook >> ----*****----*/

@media only screen and (min-width:1281px) and (max-width:1540px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 1080px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 1080px;
    }
}

@media only screen and (max-width: 1280px)
{
    .elementor-widget-wp-widget-nav_menu .mobile-nav-container
    {
        float: none;

        width: auto;
        margin: 20px 0;
        padding-right: 10px;

        text-align: right;
    }

    body:not(.no-breadcrumb) #header-wrapper.header-top-absolute #header .wdt-header-tpl
    {
        margin-top: 0;
    }
}


/*----*****---- << Tablet (Landscape) >> ----*****----*/

/* Note: Design for a width of 960px */
@media only screen and (min-width:1025px) and (max-width:1280px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 900px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 900px;
    }
}


@media only screen and (min-width:1025px)
{
    #header .wdt-header-tpl .elementor-section.sticky-header > .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-column-wrap,
    #header .wdt-header-tpl .elementor-section.sticky-header-active > .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-column-wrap
    {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/*----*****---- << Tablet (Landscape) >> ----*****----*/

/* Note: Design for a width of 960px */

@media only screen and (max-width:1024px)
{
    .elementor-widget-wp-widget-nav_menu .mobile-nav-container
    {
        padding-right: 0;
    }

    #header .wdt-header-tpl .sticky-header-active
    {
        display: none;
    }
}


/*----*****---- << Tablet (Portrait) >> ----*****----*/

/* Note: Design for a width of 768px */
@media only screen and (min-width:768px) and (max-width:1024px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 710px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 710px;
    }

    .elementor-widget-wp-widget-nav_menu .mobile-nav-container
    {
        padding-right: 20px;
    }
}

/*----*****---- << Mobile (Landscape) >> ----*****----*/


/* Common Styles for the devices below 767px width */

@media only screen and (max-width: 767px)
{
    *[class*='elementor-'] .wdt-mobile-menu-section .elementor-widget-wrap *[class*='elementor-element-'].elementor-element
    {
        width: auto;
        margin: 0;
    }
    .elementor-widget-wdt-header-menu
    {
        display: inline-block;
        float: none;

        width: 100%;
        margin: 0 0;
    }
    .wdt-logo-container.elementor-widget-image .elementor-widget-container
    {
        margin-right: auto;
        margin-left: auto;
    }
}


/*----*****---- << Mobile (Landscape) >> ----*****----*/

/* Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 420px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 420px;
    }
}



/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (min-width: 320px) and (max-width: 479px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 290px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 290px;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 319px)
{
    #header .wdt-header-tpl .elementor-section-boxed.sticky-header-active:not(.elementor-section-stretched)
    {
        max-width: 200px;
    }

    .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu > ul.sub-menu
    {
        min-width: 200px;
    }
}
