/* Slidebars 0.9.4 - http://plugins.adchsm.me/slidebars/ Written by Adam Smith - http://www.adchsm.me/ Released under MIT License - http://plugins.adchsm.me/slidebars/license.txt */
html,body,#sb-site,.sb-slidebar {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,body {
    /*
    width: 100%;
    overflow-x: hidden;
    */
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    //position: relative;
    position:absolute!important;
}

#sb-site {
    width: 100%;
    //position: relative;
    position: absolute;
    top:0px;
    z-index: 1;
    background-color: #fff;
}

.sb-slidebar {
    height: 100%;
    //overflow-y: auto;
    overflow-y: hidden!important;
    position: fixed;
    top: 0;
    z-index: 0;
    visibility: hidden;
    background-color: #222;
    //background-color: #302C2D;
}

.sb-left {
    left: 0;
}

.sb-right {
    right: 0;
}

html.sb-static .sb-slidebar,.sb-slidebar.sb-static {
    position: absolute;
}

.sb-slidebar.sb-active {
    visibility: visible;
}

.sb-slidebar.sb-style-overlay {
    z-index: 9999;
}

.sb-slidebar {
    width: 30%;
}

.sb-width-thin {
    width: 15%;
}

.sb-width-wide {
    width: 45%;
}

@media(max-width:480px) {
    .sb-slidebar {
        width: 70%;
    }

    .sb-width-thin {
        width: 55%;
    }

    .sb-width-wide {
        width: 85%;
    }
}

@media(min-width:481px) {
    .sb-slidebar {
        width: 55%;
    }

    .sb-width-thin {
        width: 40%;
    }

    .sb-width-wide {
        width: 70%;
    }
}

@media(min-width:768px) {
    .sb-slidebar {
        /*width: 40%;*/
        width: 30%;
    }

    .sb-width-thin {
        width: 25%;
    }

    .sb-width-wide {
        width: 55%;
    }
}

@media(min-width:992px) {
    .sb-slidebar {
        width: 30%;
    }

    .sb-width-thin {
        width: 15%;
    }

    .sb-width-wide {
        width: 45%;
    }
}

@media(min-width:1200px) {
    .sb-slidebar {
        width: 20%;
    }

    .sb-width-thin {
        width: 5%;
    }

    .sb-width-wide {
        width: 35%;
    }
}

/*
.sb-slide,.sb-slidebar {
    -webkit-transition: -webkit-transform 400ms ease;
    -moz-transition: -moz-transform 400ms ease;
    -o-transition: -o-transform 400ms ease;
    transition: transform 400ms ease;
    -webkit-transition-property: -webkit-transform,left,right;
    -webkit-backface-visibility: hidden;
}
*/

.sb-slide,#sb-site,.sb-slidebar {

    /*-webkit-backface-visibility: hidden;*/
}

@media only screen and (max-width: 68.75em){
    .sb-slide,#sb-site,.sb-slidebar{
        -webkit-transition: -webkit-transform 400ms ease;
        -moz-transition: -moz-transform 400ms ease;
        -o-transition: -o-transform 400ms ease;
        transition: transform 400ms ease;
        -webkit-transition-property: -webkit-transform,left,right;
    }
}

.sb-hide {
    display: none;
}


.sb-slidebar section{padding:0px!important;}

.sb-slidebar section ul.slideNav{list-style-type:none;margin-top:17px;}

.sb-slidebar section ul.slideNav li{line-height: 2.5!important;}

.sb-slidebar section ul.slideNav li a {
    font-family: "Istok Web",sans-serif!important;
    //font-weight: 600;
    //color: #ccc;
    //font-size:1.2em;
    //text-shadow: 2px 2px 2px #222;
    margin-left: 25px;
    text-transform: uppercase;
    color: #fff;
    font-size: 0.9em;
    display: inline-block;
}

.sb-slidebar section ul.slideNav li:hover{
    //background-color: #CD342B;
    background-color: #C4151B;
}

@media only screen and (max-width: 400px){
    //.sb-slidebar section ul.slideNav{margin-top:15px;}
    .sb-slidebar section ul.slideNav li a {
        //font-size: 1.1em;
        //margin-left: 22px;
    }
}
@media only screen and (max-width: 360px){
    .sb-slidebar section ul.slideNav li a {
        //font-size: 1.0em;
    }
}


/*The below code is for top bar right sided mobile menu in the `default.html` template*/
@media only screen and (max-width: 1920px) and (min-width: 1100px){
    .smaller .top-bar .mobile-topbar.menu-icon {
        top: 55% !important;
    }
}
/*68.75 is 1100px*/
@media only screen and (min-width: 68.75em){
    .top-bar .mobile-topbar {
        display: none;
    }
}

.top-bar .mobile-topbar {
  position: absolute;
  right: 0;
  top: 0;
}
.top-bar .mobile-topbar a {
  color: white;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: bold;
  position: relative;
  display: block;
  padding: 0 15px;
  height: 45px;
  line-height: 45px;
}
.top-bar .mobile-topbar.menu-icon {
  right: 15px;
  top: 50%;
  margin-top: -16px;
  padding-left: 40px;
}
.top-bar .mobile-topbar.menu-icon a {
    text-indent: -48px;
    width: 34px;
    height: 34px;
    line-height: 33px;
    padding: 0;
    color: #333;
}
.top-bar .mobile-topbar.menu-icon a::after {
      right: 0;
}
.top-bar .mobile-topbar.menu-icon a::after span:after {
        content: '';
        position: absolute;
        display: block;
        height: 0;
        box-shadow: 0 0px 0 1px white, 0 7px 0 1px white, 0 14px 0 1px white;
        width: 16px;
}
.top-bar .mobile-topbar.menu-icon a::after span:hover:after {
        box-shadow: 0 0px 0 1px white, 0 7px 0 1px white, 0 14px 0 1px white;
}

.top-bar .mobile-topbar.menu-icon a span {
    position: absolute;
    right: 0;
    display: block;
    width: 16px;
    height: 0;
    -webkit-box-shadow: 0 10px 0 1px #333,0 16px 0 1px #333,0 22px 0 1px #333;
    box-shadow: 0 10px 0 1px #333,0 16px 0 1px #333,0 22px 0 1px #333;
}

