﻿* {
    transition-duration: .5s;
}

#drawer-toggle-label {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    z-index: 1130;
    background: #003c52;
    margin-top: 80px;
    margin-left: 0px;
    background-image: url(arrow.png);
    cursor: pointer;
}

#drawer-toggle { display: none; }

#drawer-toggle:checked ~ #drawer-toggle-label { left: calc(100% - 44px); }

#drawer-toggle:checked ~ #drawer {
    width: calc(100% - 44px);
    left: 0;
}

#drawer-toggle:checked ~ #drawer-overlay {
    visibility: visible;
}

#drawer-toggle:checked ~ section.content-wrapper { margin-left: 250px; }

@media screen and (min-width: 380px) {
    #drawer-toggle:checked ~ #drawer-toggle-label { left: 300px; }

    #drawer-toggle:checked ~ #drawer {
        width: 300px;
        left: 0;
    }
}

#drawer {
    position: fixed;
    top: 0;
    padding-top: 50px;
    height: 100%;
    width: 250px;
    background: #003c52;
    overflow-x: hidden;
    overflow-y: auto;
    left: -250px;
    z-index: 1135;
}

#drawer ul {
    list-style: none;
    padding: 0;
}

#drawer li a {
    display: block;
    color: #fff;
    text-decoration: none;
    
}

#drawer li {
    margin: 0;
    width: 100%;
}

#drawer > ul > li > a {
  color: #91d9f7 !important;
  padding: 10px 0;
  padding-left: 34px;
  background: url(arrow.png) no-repeat 5px 8px;
}

#drawer > ul > li.active > a, #drawer > ul > li > a:focus, #drawer > ul > li > a:hover, #drawer > ul > li > a:active {
    text-decoration: none;
    color: #000 !important;
    
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffcf08+0,ff9f02+100 */
    background: url(arrow.png) no-repeat 5px 8px, #ffcf08 ; /* Old browsers */
    background: url(arrow.png) no-repeat 5px 8px, -moz-linear-gradient(top, #ffcf08 0%, #ff9f02 100%); /* FF3.6-15 */
    background: url(arrow.png) no-repeat 5px 8px, -webkit-linear-gradient(top, #ffcf08 0%,#ff9f02 100%); /* Chrome10-25,Safari5.1-6 */
    background: url(arrow.png) no-repeat 5px 8px, linear-gradient(to bottom, #ffcf08 0%,#ff9f02 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#drawer > ul > li.disabled > a {
    color: #337ab7 !important;
    background: url(arrow.png) no-repeat 5px 8px, #1d4d5f;
    background: url(arrow.png) no-repeat 5px 8px, #1d4d5f;
    background: url(arrow.png) no-repeat 5px 8px, #1d4d5f;
    background: url(arrow.png) no-repeat 5px 8px, #1d4d5f;
    margin-top: 1px;
    cursor: not-allowed;
}

#drawer { padding-top: 0px; }

#drawer-overlay {
    position: fixed;
    top:0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1100;
    opacity: 0.9;
    visibility: hidden;
}