/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-color: #C3D5ED;
}

#wrapper.toggled {
    /*padding-left: 0px;*/
}

#sidebar-wrapper {
    float: left; 
    display: inline-block;
    z-index: 0001;
    position: relative;
    /*left: 250px;*/
    width: 0;
    /*height: 100%;*/
    margin-left: -250px;
    overflow-y: auto;
    background: #FFF;
    border: 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-radius: 0;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    padding: 0;
}

#wrapper.toggled #sidebar-wrapper {
    width: 200px;
}

#page-content-wrapper {
    background-color: #C3D5ED;
    width: 125%;
    /*position: absolute;*/
    padding: 0 0 15px 0;
    /*margin-left:65px;*/
    min-height: 768px;
}

#wrapper.toggled #page-content-wrapper {
    /*position: absolute;*/
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    /*position: absolute;*/
    top: 0;
    /*width: 250px;*/
    margin: 0;
    list-style: none;
}

.sidebar-nav table{
    width:100%;
}

.sidebar-nav table tr:nth-child(even) {
    background: #E2E8F8;
}

.sidebar-nav table td{
    padding: 5px 0 0 5px;
}

.sidebar-nav li{
    padding: 5px 0 0 0;
}

.sidebar-nav li input[type="checkbox"] {
    padding:5px;
    text-decoration: none;
    color: #1B67B2;
}

.sidebar-nav li label {
    padding:5px;
    text-decoration: none;
    color: #1B67B2;
    font-size:11px !important;
    box-sizing: content-box !important;
}

.sidebar-nav li label:hover {
    text-decoration: none;
    color: #007EFB;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li label:active,
.sidebar-nav li label:focus {
    text-decoration: none;
}

.sidebar-nav li p {    
    text-decoration: none;
    color: #999999;
    font-size: 12px;
    border-radius: 4px;
}
.sidebar-nav li p:hover {
    text-decoration: none;
    color: #000;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li p:active,
.sidebar-nav li p:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 20px;
    font-size: 15px;
    font-weight:bold;
    /*line-height: 60px;*/
    padding: 1px;
}

.sidebar-nav > .sidebar-brand p {
    color: #FFF;
    background: #457DC7;
    padding: 5px;
}

.sidebar-nav > .sidebar-brand p:hover {
    color: #FFF;
    background: #457DC7;
    cursor:default;
}

.button-toggled {
    /*position: absolute;*/
    /*left: 250px;*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.button-untoggled {
    /*left: 2px;*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#accordion .item {
    /*max-height: 20px;*/
    overflow: hidden;
    transition: max-height .5s;
    -o-transition: max-height .5s;
    -moz-transition: max-height .5s;
    -webkit-transition: max-height .5s;
}

#accordion .item label{
    cursor: pointer;
}

.imgAccordionSlider
{
    cursor:pointer;
    padding:0 3px;
    float:right;
}

.btnAccordionSlider
{    
    margin-left: 26%;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
        background-color: #C3D5ED;
    }

    #wrapper.toggled {
        /*padding-left: 0;*/
    }

    #sidebar-wrapper {
        width: 200px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 0 0 20px 0;
        /*position: relative;*/
        background-color: #C3D5ED;
    }

    #wrapper.toggled #page-content-wrapper {
        /*position: relative;*/
        margin-right: 0;
    }
}


/*Checkbox list custom CSS*/

.ListControl input[type=checkbox], input[type=radio]
{
    display: none;
}

.ListControl label
{
    display: inline;
    float: left;
    color: #000;
    cursor: pointer;
    text-indent: 20px;
    white-space: nowrap;
}

.ListControl input[type=checkbox] + label
{
    display          : block;
    width            : 1em;
    height           : 1em;
    border           : 0.0625em solid #c0c0c0;
    border-radius    : 0.25em;
    background       : #457DC7;
    /*background-image : -moz-linear-gradient(#F0F0F0,#457DC7);
    background-image : -ms-linear-gradient(#F0F0F0,#457DC7);
    background-image : -o-linear-gradient(#F0F0F0,#457DC7);
    background-image : -webkit-linear-gradient(#F0F0F0,#457DC7);
    background-image : linear-gradient(#F0F0F0,#457DC7);*/
    vertical-align   : middle;
    line-height      : 1em;
    font-size        : 14px;
    margin-right    : 6px;
}

.ListControl input[type=checkbox]:checked + label::before
{
    content         : "\2714";
    color           : #fff;
    height          : 1em;
    line-height     : 1.1em;
    width           : 1em;
    font-weight     : 900;
    margin-right    : 10px;
    margin-left     : -20px;
}