/*----------------------MENU DESCTOP*/

.menuWrap{
    position: fixed;
    left: 0;
    top: 0;
    width: 307px;
    height: 687px;
    /*transform: rotate(0deg) scale(1) skew(-24deg) translate(0);*/
    /*background: #151515;*/
    z-index: 9999;
}

.menuWrap::before {
    content: '';
    transform: rotate(0deg) scale(1) skew(-24deg) translate(0);
    background: #151515;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -50%;
}
#logo{
    position: absolute;
    display: block;
    width: 233px;
    height: 89px;
    top:34px;
    left: 0;
    /*left:45px;*/
    /*transform: rotate(0deg) scale(1) skew(24deg) translate(0);*/
}
#logo IMG{
    width: 180px;
    height: auto;
    position: absolute;
    left: 15px
}
.menuWrap a{
    color: #838383;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
}

.menuWrap a.active{
    color: #FFF;
}
.menuWrap li:hover > a{
    color: #FFF;
}
.menuWrap .first_level{
    /*transform: rotate(0deg) scale(1) skew(24deg) translate(0);*/
}
.menuWrap .first_level{
    position: absolute;
    top:176px;
    /*left:145px;*/
    left: 20px;
    list-style-type: none;
    width: 150px;

}
.dropdown-menu>li>a{
    white-space: normal !important;
}

.second_level{
    display: none;
    list-style-type: none;
    /*transform: rotate(0deg) scale(1) skew(-24deg) translate(0);*/
    /*background: #151515;*/
    width: 500px;
    position: absolute;
    height: 100%;
    top: -176px;
    /*left: 30px;*/
    left: 135px;
}

.second_level::before {
    content: '';
    transform: rotate(0deg) scale(1.2) skew(-24deg) translate(0);
    background: #151515;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -20%;
    z-index: -1;
}

#ost .second_level{
    left: 50px;
}

.second_level > UL{
    position: absolute;
    /*transform: rotate(0deg) scale(1) skew(24deg) translate(0);*/
    top: 173px;
    list-style-type: none;
    left:100px;
    width: 100%;
}

.therd_level{
    display: none;
    list-style-type: none;
    /*transform: rotate(0deg) scale(1) skew(-24deg) translate(0);*/
    /*background: #151515;*/
    width: 500px;
    position: absolute;
    height: 100%;
    top: -173px;
    left: 341px;
}

.therd_level::before {
    content: '';
    transform: rotate(0deg) scale(1) skew(-24deg) translate(0);
    background: #151515;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -3px;
    z-index: -98
}
#ost .therd_level{
    left: 330px;
}
/*.caret{*/

/*}*/
.caretWrapper{
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    width: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}
.therd_level > UL{
    position: absolute;
    /*transform: rotate(0deg) scale(1) skew(24deg) translate(0);*/
    top: 173px;
    list-style-type: none;
    left:24%;
    width: 75%;
}
.menuWrap .first_level LI{
   /* margin-bottom: 25px;*/
    padding-bottom:25px;
    list-style-type: none;
    line-height: 100%;
}

.menuWrap li {
    display: block;
    width: auto;
    float: left;
    clear: both;
}

ul.nav li a{
    border-bottom: solid 1px #292929;
    position: relative;
    margin: 0 15px 10px 15px;
}
/*----------------------MENU DESCTOP end*/

#sidebar-wrapper {
    z-index: 1000;
    left: 100%;
    width: 0;
    height: 100%;
    margin-left: -100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #151515;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

#wrapper.toggled #sidebar-wrapper {
    width: 100%;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 70px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -100%;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    position: relative;
    line-height: 20px;
    display: inline-block;
    width: 100%;
}
.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
    width: 100%;
    background-color: transparent;
    -webkit-transition: width 0.2s ease-in;
    -moz-transition:  width 0.2s ease-in;
    -ms-transition:  width 0.2s ease-in;
    transition: width 0.2s ease-in;

}
.dropdown-menu{
    border-width:0;
}
.sidebar-nav li a {
    display: block;
    color: #838383;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px 20px 0;
    font-family: "Fira Sans", sans-serif;
    font-weight: 300;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
}
.sidebar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: transparent;
    box-shadow: none;
}
#sidebar-wrapper UL UL{
    padding-left: 10px;
}
#mobilePhoneActive{
    display: none;
}

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
    display: block;
    width: 20px;
    height: 14px;
    margin-left: 15px;
    background: transparent;
    border: none;
    position: relative;
    display: inline-block;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
    outline: none;
}
.hamburger.is-closed:before {
    content: '';
    display: block;
    width: 100px;
    font-size: 10px;
    color: #fff;
    line-height: 32px;
    text-align: center;
    opacity: 0;
    -webkit-transform: translate3d(0,0,0);
    -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
    opacity: 1;
    display: block;
    -webkit-transform: translate3d(-100px,0,0);
    -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
    background-color: #1a1a1a;
}
.hamburger.is-closed .hamb-top {
    top: 0;
    -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
    top: 50%;
    margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
    bottom: 0;
    -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
    top: 0;
    -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
    bottom: 0;
    -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
    background-color: #1a1a1a;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
    top: 50%;
    margin-top: -2px;
}
.hamburger.is-open .hamb-top {
    -webkit-transform: rotate(45deg);
    -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
    -webkit-transform: rotate(-45deg);
    -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
    content: '';
    display: block;
    width: 100px;
    font-size: 14px;
    color: #fff;
    line-height: 32px;
    text-align: center;
    opacity: 0;
    -webkit-transform: translate3d(0,0,0);
    -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
    opacity: 1;
    display: block;
    -webkit-transform: translate3d(-100px,0,0);
    -webkit-transition: all .35s ease-in-out;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    border-color: #292929;
}
@media screen and (max-width: 1367px){
   .menuWrap a{
        color: #838383;
        font-size: 14px;
        font-weight: 300;
        text-decoration: none;
    }
    .menuWrap .first_level LI{
        margin-bottom: 15px;
        list-style-type: none;
        line-height: 100%;
    }
    .second_level{
        left: 25px;
    }
    #indexPage .second_level{
        left: 60px;
    }
    .prev{
        left: 89px;
    }
    #indexPage .therd_level{
        left: 320px;
    }
}

/*-------------------------------*/
/*            Overlay            */
/*-------------------------------*/

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250,250,250,.8);
    z-index: 1;
}
.mobileHead.row-eq-height{
    display: none;
}
@media screen and (min-width: 240px) and (max-width: 768px){
    #wrapper {
    min-height: 100vh;
    position: relative;
    padding-bottom: 350px !important;
}
    .menuWrap{
        display: none;
    }
    .mobileHead.row-eq-height{
        display: flex;
        width: 100%;
        min-height: 62px;
    }
    .mobileHead .col-md-6{
        padding-bottom: 10px;
        padding-top: 20px;
    }
    .mobileHead .text-right{
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    #phoneArea{
        display: none;
    }
    #wrapper.toggled .mobileHead{
        position: fixed;
        z-index: 99999;
        background-color: #151515;
    }
    #wrapper.toggled .mobileHead #phoneAreaMobile{
        display: none;
    }
    #wrapper.toggled #mobileLogo{
    
    }
    #mobilePhoneActive{
        color: #f0b018;
        font-family: "Tinos", sans-serif;
        font-size: 16px;
        position: relative;
        top:22px;
    }
    #aContainer{
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        text-align: center;
        height: 1px;
        z-index: 999999;
    }
    #wrapper.toggled #mobilePhoneActive{
        display: inline-block;
    }

    .hamburger.is-open SPAN{
        background-color: #FFF !important;
    }
    #phoneAreaMobile{
        width: 30px;
        height: 30px;
        display: inline-block;
        margin-right: 18px;
    }

    nav > .sidebar-nav{
        top:100px;
    }

}
#wrapper #logoIn{
    display: none;
}
#wrapper #logoOut{
    display: block;
}


#wrapper.toggled #logoIn{
    display: block;
}
#wrapper.toggled #logoOut{
    display: none;
}
#logoIn{
    width: 29px;
    height: auto;
}