﻿
/***
    Sidebar and layout for navigration
*/

@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700";

body {
    font-family: 'Roboto', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Roboto', sans-serif;
    /*font-size: 1em;*/
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    /*color: inherit;*/
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 180px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #3d455e;
    color: #fff !important;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #3d455e;
    }

    #sidebar ul.components {
        padding: 20px 0;
        /*border-bottom: 1px solid #47748b;*/
    }

    #sidebar ul p {
        color: #999;
        padding: 0px 20px;
    }

    #sidebar ul li a {
        padding: 10px 20px;
        font-size: 0.9em;
        display: block;
        color: white;
    }

        #sidebar ul li a:hover {
            color: #0c1d80;
            background: #fff;
        }


    #sidebar ul li hr {
        border-bottom: 1px solid #999;
    }

    .list-submenu li a {
        background: #4a536f;
        padding-left:50px;
    }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background: #0e8dfa;
    }

a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before,
a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    content: '\e260';
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 40px !important;
    background: #3d455e;
    list-style:none;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* Dropdown container (hidden by default).*/
.dropdown-container {
    display: none;
    padding-left: 15px;
    background-color: #4a536f;
    transition: all 0.3s;
}

.dropdown-btn {
    /*padding: 6px 8px 6px 16px;*/
    text-decoration: none;
   
    font-size: 0.9em;
    display: block;
    color: white;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}


/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 180px);
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

    #content.active {
        width: 100%;
    }


.content-main {
    padding: 20px; 
    min-height: 100vh;
    transition: all 0.3s;
    top: 0;
    right: 0;
}

/* Ovverride navbar*/
.navbar {
    margin-bottom:10px;
}

.header-login ul {
    flex-direction:row !important;
}

.header-login ul li  {
    margin:5px;
}

.footer {
position: relative;
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        width: 100%;
    }

        #content.active {
            width: calc(100% - 250px);
        }

    #sidebarCollapse span {
        display: none;
    }
}
