/*
    BIP
*/
/* width 
::-webkit-scrollbar {
  width: 5px;
}
*/
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px white;
    border-radius: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #FFFFFF;
    border-radius: 10px;
}


/* Dark mode */

body.darkmode {
    background: #000 !important;
    color: #fff !important;
}

body.darkmode .card,
body.darkmode #sidebar,
body.darkmode nav.bg-dark,
body.darkmode nav .btn-dark {
    background: #1f1f1f !important;
    border: 1px solid #343a40 !important;
}

body.darkmode #sidebar .sidebar-header {
    background: #1f1f1f !important;
}

body.darkmode #sidebar .sidebar-header h5 {
    color: #fff !important;
}

body.darkmode a:link,
body.darkmode a:visited {
    color: #f1dd01 !important;
}

body.darkmode .bg-danger,
body.darkmode .card .bg-dark {
    background-color: #f1dd01 !important;
    color: #000 !important;
}

body.darkmode .card .bg-dark .btn-link {
    color: #000 !important;
}

body.darkmode .line {
    border-bottom: 3px solid #f1dd01 !important;
}

body.darkmode .border-danger {
    border-color: #f1dd01 !important;
}

body.darkmode #sidebar ul li a:hover {
    background-color: #f1dd01 !important;
    color: #000 !important;
}

body.darkmode .text-secondary {
    color: #fff !important;
}

body.darkmode #logo {
    background-image: url('/img/bip-plock-dark.png');
}

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

#logo {
    background-image: url('/img/bip-plock-light.png');
    width: 244px;
    height: 87px;
    display: block;
    overflow: hidden;
    text-indent: -2000%;
}

span {

    font-size: initial !important;
    font-family: 'Poppins', sans-serif !important;
}

.js-cookie-consent {
    position: fixed;
    bottom: 0;
    padding: 5px;
    text-align: center;
    width: 100%;
    z-index: 1999;
    color: #FFFFFF;
    background: #d93244;
}

.breadcrumb {
    background: transparent;
    font-size: 1.1em;
    color: #d93244;
    text-decoration: bold;
}

.docinfo {
    border-bottom: 1px solid #eaeaea;
    padding: 3px;
}

.docembed {
    height: 900px;
    width: 100%;
}

.side {
    background: transparent;
    font-size: 1em;
    color: #d93244;
    border: 0px;
}

.case {
    background: transparent;
    font-size: 1.1em;
    color: #d93244;
    border: 0px;
}

.bigger {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.8em;
    letter-spacing: 0.12em;
    word-spacing: 0.16em;

    /*padding-bottom: 1em;*/
}

.btn-link {
    color: #ffffff;
}

.btn-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

a {
    font-size: 1em;
    color: #a50811;
    text-decoration: none;
    transition: all 0.3s;
}


a:hover {
    font-size: 1em;
    color: #072b7b;
    text-decoration: underline;
    transition: all 0.3s;
}

a.submenu {
    font-size: 0.9em;
}

.backbtn {
    font-size: 0.9em;
    margin-left: 10px;
    margin-top: 40px;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    z-index: 888;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 3px solid #d93244;
    margin: 20px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    background: #FFFFFF;
    color: #2c3137;
    transition: all 0.3s;
    overflow-y: auto;
    box-shadow: 1px 2px 7px 0 rgba(0, 0, 0, 0.25);
}

#sidebar.active {
    margin-left: -300px;
}

#sidebar .sidebar-header {
    padding: 10px;
    background: #FFFFFF;
}

#sidebar ul.components {
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

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

#sidebar ul li a {
    padding: 10px;
    display: block;
    color: #d93244;
}

#sidebar ul li a:hover {
    color: #FFFFFF;
    background: #d93244;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #2c3137;
}

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.9em !important;
    padding-left: 30px !important;
    background: #FFFFFF;
}

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: #d93244 !important;
    color: #fff !important;
}

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

#content {
    width: calc(100% - 300px);
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

/* 
.row {}
*/


#content.active {
    width: 100%;
}


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

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

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

    #content {
        width: 100%;
    }

    #content.active {
        display: none;
    }

    #sidebarCollapse span {
        display: none;
    }

    .docembed {
        height: 350px;
        width: 100%;
    }
}


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

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

    #content {
        width: 100%;
    }

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

    #sidebarCollapse span {
        display: none;
    }
}
