/* =========================================================
   SIDEBAR RESPONSIVE SETTINGS
========================================================= */

@media (max-width: 991px) {

    .SideBarNav.open {
        width: 35% !important;
        right: 0 !important;
    }

    .SideBarNav.open .menu {
        padding: 10px 10px;
    }

    .SideBarNav .menu .tabs {
        width: 65%;
    }
}


@media (max-width: 768px) {

    .SideBarNav.open {
        width: 40% !important;
        right: 0 !important;
    }

    .SideBarNav.open .menu {
        padding: 10px 10px;
    }

    .SideBarNav .menu .tabs {
        width: 60%;
    }
}


@media (max-width: 575.98px) {

    .tronix-settings-content-box h1 {
        font-size: 38px;
        line-height: 50px;
    }

    .SideBarNav.open {
        width: 100% !important;
        right: 0 !important;
    }

    .SideBarNav.open .menu {
        padding: 10px 10px;
    }

    .SideBarNav .menu .tabs {
        width: 77%;
    }

    .SideBarNav .menu .tabs ul li {
        padding: 10px 0 !important;
    }

    .tronix-menu-toggle {
        width: 30px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
}


/* =========================================================
   SIDEBAR MAIN
========================================================= */

.SideBarNav {
    position: fixed;
    height: 100vh;
    width: 0;
    top: 0;
    right: -25%;

    z-index: 1024;

    overflow-x: hidden;
    overflow-y: auto;

    transition: all 0.5s ease;

    background-color: #eeeded;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    padding: 25px 0;
}


/* =========================================================
   SIDEBAR MENU
========================================================= */

.SideBarNav .menu {
    position: relative;

    padding: 10px 44px;

    text-decoration: none;
    color: #818181;

    display: block;

    transition: 0.3s;
}


.SideBarNav .menu span {
    color: #000;
    font-weight: 800;
    font-size: 23px;
    cursor: pointer;
    font-family: 'Maven Pro', sans-serif;
}

.SideBarNav .menu span a{
    color: #000;
    font-weight: 800;
    font-size: 23px;
    cursor: pointer;
    font-family: 'Maven Pro', sans-serif;
}

.SideBarNav .menu span a:hover {
    text-decoration: none !important;
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.SideBarNav .closeMenuBtn {
    /* background-color: #fff;

    width: 45px;
    height: 45px;

    border-radius: 100px; */

    /* line-height: 50px; */
    /* text-align: center;

    display: block;

    cursor: pointer; */
    border: none;
}


/* =========================================================
   OPEN MENU BUTTON
========================================================= */

.openMenuBtn {
    font-size: 25px;

    height: 45px;
    width: 45px;

    border-radius: 100%;

    border: 2px solid #FE973A;

    color: #FE973A;

    position: relative;
}

.openMenuBtn i {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}


/* =========================================================
   SIDEBAR OPEN / CLOSE
========================================================= */

.SideBarNav.close {
    width: 0;
    right: -25%;
}

.SideBarNav.open {
    width: 25%;
    right: 0;
}


/* =========================================================
   TABS / MEGA MENU PANEL
   IMPORTANT FIX FOR OVERLAPPING
========================================================= */

.SideBarNav .menu .tabs {
    position: fixed;

    top: 0;
    left: 0;

    width: 75%;
    height: 100vh;

    background: #f2f2f2;

    padding: 30px 40px;

    box-sizing: border-box;

    overflow-y: auto;
    overflow-x: hidden;

    z-index: 1030;

    /*
     * IMPORTANT:
     * Do not use width: 0% here.
     * The previous width: 0% + transition was
     * causing the Bootstrap content to compress.
     */
    display: none;
}


/* Show tabs */

.SideBarNav .menu:hover .tabs {
    display: block;
}


/* =========================================================
   BOOTSTRAP 4.1 CONTAINER FIX
========================================================= */

.SideBarNav .tabs .container-fluid {
    width: 100%;
    max-width: 100%;

    padding-left: 15px;
    padding-right: 15px;

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;
}


/* =========================================================
   BOOTSTRAP 4.1 ROW FIX
========================================================= */

.SideBarNav .tabs .row {
    width: 100%;

    margin-left: -15px;
    margin-right: -15px;

    box-sizing: border-box;
}


/* =========================================================
   BOOTSTRAP 4.1 COLUMN FIX
========================================================= */

.SideBarNav .tabs [class*="col-"] {
    position: relative;

    width: 100%;

    padding-left: 15px;
    padding-right: 15px;

    box-sizing: border-box;
}


/* =========================================================
   MAIN TITLE
========================================================= */

.SideBarNav .menu .tabs span.Maintitle {
    display: block;

    font-size: 35px;
    line-height: 1.2;

    font-weight: 800;

    color: #000;

    font-family: 'Maven Pro', sans-serif;

    margin-bottom: 30px;
}


/* =========================================================
   TABS LIST
========================================================= */

.SideBarNav .menu .tabs ul {
    margin: 0;
    padding: 0;
}


.SideBarNav .menu .tabs ul li {
    list-style: none;

    border-bottom: 1px solid #e2e2e2;

    padding: 10px 0;

    /*
     * Prevent long text from overlapping
     */
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   NORMAL MENU LINKS
========================================================= */

.SideBarNav .menu .tabs ul li.title.un_title a,
.SideBarNav .menu .tabs ul li a {
    color: #303030cf;

    font-weight: 400;

    font-size: 16px;

    line-height: 1.5;

    text-decoration: none;

    font-family: 'Maven Pro', sans-serif;

    display: block;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   MENU CATEGORY TITLE
========================================================= */

.SideBarNav .menu .tabs ul li.title a {
    color: #000;

    font-weight: bold;

    display: flex;
    align-items: center;

    font-family: 'Maven Pro', sans-serif;

    line-height: 1.4;

    font-size: 15px;

    text-transform: uppercase;
}


/* =========================================================
   TITLE IMAGE
========================================================= */

.SideBarNav .menu .tabs ul li.title a img {
    height: 20px;
    max-width: 100%;
    object-fit: contain;
}


/* =========================================================
   MEGA MENU
========================================================= */

.SideBarNav .menu .tabs .mega_menu {
    width: 100%;

    display: flex;
    flex-wrap: wrap;

    margin-left: 0;
    margin-right: 0;

    margin-bottom: 20px;

    padding-bottom: 20px;

    box-sizing: border-box;
}


.SideBarNav .menu .tabs .mega_menu ul li {
    border-bottom: 0;
}


/* =========================================================
   MEGA MENU COLUMN FIX
========================================================= */

.SideBarNav .menu .tabs .mega_menu > .col-md-3,
.SideBarNav .menu .tabs .mega_menu > .col-md-9 {
    box-sizing: border-box;
}


.SideBarNav .menu .tabs .mega_menu > .col-md-9 .row {
    width: 100%;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1199px) {

    .SideBarNav.open {
        width: 35%;
    }

    .SideBarNav .menu .tabs {
        width: 65%;
    }
}


/* =========================================================
   RESPONSIVE - 991px
========================================================= */

@media (max-width: 991px) {

    .SideBarNav.open {
        width: 35% !important;
        right: 0 !important;
    }

    .SideBarNav .menu .tabs {
        width: 65%;
        padding: 25px 25px;
    }

    .SideBarNav.open .menu {
        padding: 10px 10px;
    }
}


/* =========================================================
   RESPONSIVE - 768px
========================================================= */

@media (max-width: 768px) {

    .SideBarNav.open {
        width: 40% !important;
        right: 0 !important;
    }

    .SideBarNav .menu .tabs {
        width: 60%;
        padding: 25px 20px;
    }

    .SideBarNav.open .menu {
        padding: 10px 15px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .SideBarNav.open {
        width: 77% !important;
        right: 0 !important;
    }

    .SideBarNav .menu .tabs {
        width: 77%;
        padding: 20px 15px;
    }

    .SideBarNav.open .menu {
        padding: 10px;
    }

    .SideBarNav .menu .tabs span.Maintitle {
        font-size: 28px;
    }

    .SideBarNav .menu .tabs ul li a {
        font-size: 15px;
    }
}

/* =========================================================
   SIDEBAR ABOVE HEADER
========================================================= */

/* Main sidebar must appear above fixed header */
.SideBarNav {
    z-index: 99999 !important;
}

/* Mega menu / tabs must also stay above everything */
.SideBarNav .menu .tabs {
    z-index: 100000 !important;
}

/* Keep header below sidebar */
header.navigation.fixed-top {
    z-index: 1020 !important;
}


/* =========================================================
   SIDEBAR HEADER - LOGO & CLOSE BUTTON RESPONSIVE FIX
========================================================= */

/* Header row alignment */
.SideBarNav > .container:first-child .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* Logo column */
.SideBarNav > .container:first-child .col-10 {
    min-width: 0;
    display: flex;
    align-items: center;
}

/* Logo */
.SideBarNav > .container:first-child .col-10 img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Close button column */
.SideBarNav > .container:first-child .col-2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
}

/* Close button */
.SideBarNav > .container:first-child .closeMenuBtn {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .SideBarNav > .container:first-child {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .SideBarNav > .container:first-child .col-10 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .SideBarNav > .container:first-child .col-2 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .SideBarNav > .container:first-child .col-10 img {
        width: 130px;
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .SideBarNav > .container:first-child {
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .SideBarNav > .container:first-child .row {
        margin-left: 0;
        margin-right: 0;
    }

    .SideBarNav > .container:first-child .col-10 {
        width: calc(100% - 55px);
        flex: 0 0 calc(100% - 55px);
        padding-left: 0;
        padding-right: 5px;
    }

    .SideBarNav > .container:first-child .col-2 {
        width: 55px;
        flex: 0 0 55px;
        padding: 0;
    }

    .SideBarNav > .container:first-child .col-10 img {
        width: 130px;
        max-width: 100%;
        height: auto;
    }

    .SideBarNav > .container:first-child .closeMenuBtn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}