/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    font-family: 'Poppins', sans-serif;
	background-image: url("../assets/dark_geometric.png");
	/* background-image: url("../assets/congruent_outline.png"); */
    background-repeat: repeat;

    /* background: #D7CEC7; */
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.source_title {
    color: #ffffff !important;
    z-index: 10;
}

li.color-by-text {
    color: #fff;
    font-size: 1.1em;
}

.view-pill {
    color: #343a40; /*# 6d7fcc */
    background-color: rgba(255, 255, 255, 0.3) ;
}

.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;
}

i, span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    /* display: flex; */
    /* align-items: stretch; */
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #868F9B;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3, #sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #800020;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #565656;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #800020;
    background: #fff;
}
#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #800020;
}
#fullTaskSupervisionMenu, #transferTaskSupervisionMenu, #relativeTaskValueMenu {
    display: none;
}

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';
} */


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #800020;
}

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: #800020;
}

a.article, a.article:hover {
    background: #565656 !important;
    color: #fff !important;
}

.button a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar {
    /* padding: 20px; */
    min-height: 100vh;
    transition: all 0.3s;
    z-index: 1;
}

#topoptions {
    margin-left: 80px !important ;
}

#maindiv {
    padding-left: 30px;
    /* margin-left: 60px; */
}

#maindiv alert {
    /* padding: 20px; */
    margin-left: 60px;
}


.item-loader-container {
    /* width: 100%; */
    padding: 10px 10px 10px 10px;
    margin-left: -30px;
    position: fixed; /* or absolute */
    top: 30%;
    left: 40%;
    /* background: #000; */
    background-color: rgba(0,0,0,0.5);
    background-size: cover;
}

.item-loader-container h3{
    color: rgba(255,255,255,0.5);
}

.item-loader-container .la-ball-grid-pulse{
    margin-left:20px;
}



/* ---------------------------------------------------
    VIDEO STYLE
----------------------------------------------------- */

.extend-bottom {
    height: 90%;
    display: flex;
    flex-direction: column;
}

#video-sidebar {
    background-color:rgba(255,255,255,0.5);
    /* height:100vh; */
    /* width:20%; */
    float:right;
}


#video-sidebar > h2, h3, h4 {
    text-align: center;
}
#video-sidebar > h4 {
    text-align: center;
}

#video-scroll {
    overflow-y:scroll;
}

.centered {
    text-align: center;
}

.translucent {
    opacity: 1.0;
}

.opaque {
    opacity: 1.0;
}

.source-vid, .no-pad {
    margin: 0px 0 0 0;
    padding: 0px 0 0 0;
}

.method-title {
    text-align: center;
    width: 100%;
}

.video-titles {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
}
.rotate{
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-size: 0.7em;
    /* text-align:center;
    vertical-align: middle;
    display: inline-block;
    line-height: normal; */
    /* Safari */
    -webkit-transform: rotate(-90deg);

    /* Firefox */
    -moz-transform: rotate(-90deg);

    /* IE */
    -ms-transform: rotate(-90deg);

    /* Opera */
    -o-transform: rotate(-90deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

    /* width: 100%; */
    /* height: 128px; */
}



.overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0,0,0,0.5); Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important ;
    }
    a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3, #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header h3{
        color: #868F9B;
    }
    
    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right:  0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}
