/*!
 * 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 {
    height: 100%;
    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;
}

#wrapper.toggled {
    padding-right: 15%;
}

#sidebar-wrapper {
    z-index: 30000;
    position: fixed;
    right: 15%;
    width: 0;
    height: 100%;
    margin-right: -15%;
    overflow-y: auto;
    background: #ffffff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-box-shadow: -2px 0px 7px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: -2px 0px 7px 0px rgba(0, 0, 0, 0.16);
    box-shadow: -2px 0px 7px 0px rgba(0, 0, 0, 0.16);
}

#wrapper.toggled #sidebar-wrapper {
    width: 15%;
}

#page-content-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
}

/* Sidebar Styles */

.sidebar-nav {
    position: relative;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    width: 100%;
    text-indent: 10%;
    line-height: 3.750rem; /*60px;*/
}

.sidebar-nav li a {
    display: block;
    color: #000000;
    font-size: 1rem;    /*16px*/
}

.sidebar-nav li a:hover {
    color: #ffffff;
    background: #a31f22;
}

.sidebar-nav li.active {
    background: -moz-linear-gradient(0deg, rgba(163,31,34,1) 0%, rgba(210,47,54,1) 100%); /* ff3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(163,31,34,1)), color-stop(100%, rgba(210,47,54,1))); /* safari4+,chrome */
    background: -webkit-linear-gradient(0deg, rgba(163,31,34,1) 0%, rgba(210,47,54,1) 100%); /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(0deg, rgba(163,31,34,1) 0%, rgba(210,47,54,1) 100%); /* opera 11.10+ */
    background: -ms-linear-gradient(0deg, rgba(163,31,34,1) 0%, rgba(210,47,54,1) 100%); /* ie10+ */
    background: linear-gradient(90deg, rgba(163,31,34,1) 0%, rgba(210,47,54,1) 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a31f22', endColorstr='#d22f36',GradientType=1 ); /* ie6-9 */ 
}
.sidebar-nav li.active a {
    color: #ffffff;
}

.dropdown-toggle {
    color: #be1428;
}

@media(min-width:768px) {
    #wrapper {
        padding-right: 18%;
    }

    #wrapper.toggled {
        padding-right: 0;
    }

    #sidebar-wrapper {
        width: 18%;
    }

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

    #page-content-wrapper {
        position: relative;
    }

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

@media only screen 
    and (min-width: 768px)
    and (max-width: 1280px) {
        .sidebar-nav li {
            line-height: 2rem;  /*60px;*/
            text-indent: 5%;
        }

        .sidebar-nav li a {
            font-size: 1rem;    /*16px*/
            padding: 10px;
        }

        .contact ul {
            font-size: 1rem !important;
            padding: 10px !important;
            background-image: none !important;
        }
}