
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: transparent;
    max-width: 1480px;   
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: .9em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}



.navbar-header {
    /* width: 100%;*/
    /*width: calc(100% - 90px );*/
    padding: 15px 10px;
    background: #fff;
    border-radius: 0;
    margin-bottom: 0px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1480px;
    border-bottom: solid;
    border-bottom-width: 2px;
    border-bottom-color: #52BA45;
}

.navbar-dashboard {
    margin-bottom: 0px;
    align-content: baseline;
    padding: .5rem 1.2rem 0rem;
}
.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    background-color: transparent;
}

.nav-tabs {
    border-bottom: none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #ddd;
    /*color: #fff;*/
}
    .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.nav-dashboard-link {
    padding: 10px 10px 10px 15px;
    font-size: .85em;
    display: block;
    color: #585F69
}
.nav-item {
    padding:  2px 2px 0px 2px;
    font-size: 1em;
    display: block;
}

    .nav-item.active {
        padding: 2px 2px 0px 2px;
        font-size: 1em;
        display: block;
        color: #52BA45;
    }

.nav-dashboard-link.active {
    color: #6AB8EE;
}

.dropdown-text {
    font-size: 1em;
}

.dropdown-item:hover {
    text-decoration: none;
    background-color: #6AB8EE;
    color: #fff;
}

.dropdown-item.active, .dropdown-item:active {
     background-color: transparent;
    color: #212529;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
    max-width: 1480px;
    /* width: calc(100% - 90px);
    padding: 15px 10px;
    background: #fff;
    border-radius: 0;
    margin-bottom: 0px;    
    margin: 0 auto;
    */
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 2px);
    min-height: calc(100vh - 2px);
    z-index: 999;
    background: #FAFBFC;
    color: #585F69;
    /*min-width: 250px;*/
    max-width: 250px;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: center left; /* Set the transformed position of sidebar to center left side. */
    /*border-right-width: 1px;
    border-right-color: #FAFBFC;
    border-right-style: inset;*/
    -webkit-box-shadow: 4px 6px 17px -3px rgba(110,110,110,0.55);
    -moz-box-shadow: 4px 6px 17px -3px rgba(110,110,110,0.55);
    box-shadow: 4px 6px 17px -3px rgba(110,110,110,0.55);
}

    /* Shrinking the sidebar from 250px to 80px and center aligining its content*/
   
    #sidebar.active {
        /*margin-left: -250px;*/
        min-width: 90px;
        max-width: 90px;
        text-align: center;
        /*transform: rotateY(100deg);*/ /* Rotate sidebar vertically by 100 degrees. */
    }

    #sidebar ul li a {
        text-align: left;
        vertical-align: middle;
        text-transform: uppercase;
    }

    #sidebar.active ul li a {
        padding:  20px 10px;
        text-align: center;
        font-size: 0.9em;
    }

        #sidebar.active ul li a i {
            margin-right: 0;
            display: block;
            font-size: 0.9em;
            margin-bottom: 5px;
        }

    /* Same dropdown links padding*/
    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    /* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
    #sidebar.active .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
       
    #sidebar .sidebar-header {
        padding: 5px;
        background: #555555;
        text-align: left;
        font-size: .8em;
        padding-left: 5px;
        color: #fff;
        border-bottom-width: 1px;
        border-bottom-color: #FAFBFC;
        border-bottom-style: solid;
        -webkit-box-shadow: inset -2px 15px 38px -3px rgba(168,168,168,1);
        -moz-box-shadow: inset -2px 15px 38px -3px rgba(168,168,168,1);
        box-shadow: inset -2px 15px 38px -3px rgba(168,168,168,1);
        
    }
    #sidebar .sidebar-footer {
        padding: 5px;
        background: #F0F1F3;
        text-align: right;
        font-size: .85em;        
        color: #52BA45;
    }

    #sidebar ul.components {
        padding: 20px 0;
        /*border-bottom: 1px solid #47748b;*/
    }

    #sidebar ul p {
        color: #585F69;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px 10px 10px 15px;
        font-size: .85em;
        display: block;
        color: #585F69;
    }
  

        #sidebar ul li a:hover {
            color: #88949B;
        }

   /* #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #52BA45 !important;        
    }*/

        #sidebarCollapse {
    width: 30px;
    height: 30px;
    /*background: #f5f5f5;*/
}

    #sidebarCollapse span {
        width: 80%;
        height: 2px;
        margin: 0 auto;
        display: block;
        background: #FAFBFC;
        transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    }

        #sidebarCollapse span:first-of-type {
            /* rotate first one */
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse span:nth-of-type(2) {
            /* second one is not visible */
            opacity: 0;
        }

        #sidebarCollapse span:last-of-type {
            /* rotate third one */
            transform: rotate(-45deg) translate(1px, -1px);
        }

    #sidebarCollapse.active span {
        /* no rotation */
        transform: none;
        /* all bars are visible */
        opacity: 1;
        margin: 5px auto;
        /*background: #999999;*/
    }

.callcenter-navigation-header {
    font-size: 1.1em;
    font-family: 'Roboto Light', sans-serif;
}

#sidebar.active .callcenter-navigation-header {
    display: none;
    top: 0;
}
#sidebar.active .callcenter-navigation-icon {
    min-width: 40px;
}

    #sidebar.active .callcenter-navigation-icon {
        margin-left: 15px;
}
#sidebar.active .callcenter-navigation-text {
    display: none;
    top: 0;
    left: 0;
}

.callcenter-secondary-navigation
{
    font-size: 1em;
    vertical-align: middle;
}

a[data-toggle="collapse"] {
    position: relative;
}


.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.8em !important;
    padding-left: 30px !important;
    background: #F0F1F3;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.8em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #52BA45 !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    /* Reversing the behavior of the sidebar: 
       it'll be rotated vertically and off canvas by default, 
       collapsing in on toggle button click with removal of 
       the vertical rotation.   */
    #sidebar {
        margin-left: -250px;
        transform: rotateY(100deg);
    }

        #sidebar.active {
            margin-left: 0;
            transform: none;
        }

    /* Reversing the behavior of the bars: 
       Removing the rotation from the first,
       last bars and reappear the second bar on default state, 
       and giving them a vertical margin */
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    /* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
    #sidebarCollapse.active span {
        margin: 0 auto;
    }

        #sidebarCollapse.active span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse.active span:nth-of-type(2) {
            opacity: 0;
        }

        #sidebarCollapse.active span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    max-width: 1480px;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
     position: absolute;
    top: 0;
     right: 0;
    background: #fff;
}

    #content.active {
        width: 100%;
    }

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        width: 100%;
    }

        #content.active {
            width: calc(100% - 250px);
        }

   
}