

.disabledcontainer {
    pointer-events: none;
    opacity: 0.4;
}

.loading {
    z-index: 999 !important;
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 200px;
    height: 100px;
    margin: auto;
    background-color: #343a40;
    color:rgba(255,255,255,.5);
    line-height: 100px;
    text-align:center;
    box-shadow: rgba(0, 0, 0, 0.445) 0px 5px 15px;
    font-size: 16px;
}

.alert {
  z-index: 999 !important;
  position: fixed;
  top: 4em;
  right: 1em;
  font-size: 2em;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

/* CSS */
button {
  align-items: center;
  appearance: none;
  background-color: #3EB2FD;
  background-image: linear-gradient(1deg, #4F58FD, #149BF3 99%);
  background-size: calc(100% + 20px) calc(100% + 20px);
  border-radius: 100px;
  border-width: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  font-family: CircularStd,sans-serif;
  font-size: 1rem;
  height: auto;
  justify-content: center;
  line-height: 1.5;
  padding: 6px 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s,background-position .2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}

button:active,
button:focus {
  outline: none;
}

button:hover {
  background-position: -20px -20px;
}

button:focus:not(:active) {
  box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em;
}









    /* #page-wrapper {
        padding-top: 30px !important;
    } */

    .bg-danger {
    background-color: #f4d2d3 !important;
}
  .navbar-nav > li{
    padding-left: .7rem !important;
    padding-right: .7rem !important;
    font-size: 16px;
  }

  .nav-link {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
  }

  /* Fixes dropdown menus placed on the right side */
  .ml-auto .dropdown-menu {
    left: auto !important;
    right: 0px;
  }
nav a {
  color: white; text-decoration: none;
}

.dropdown .nav-link {color:#fff; text-decoration: none;}
.dropdown .dropdown-menu a{
    color: #033C73;
}

.dropdown-menu{
    min-width: 200px;
 }
.container .dropdown .dropdown-menu a:hover
{
  color: #fff;
  background-color: #b91773;
  border-color: #fff;

}

/* this deals with giving font-awesome icons badges since they were deprecated in BS4 */
*.icon-blue {color: #0088cc;
}
*.icon-white {color: white;
  padding-right: 2rem;}

i {
    text-align:left;
     /* vertical-align:middle; */ 
    position: relative;
}
.badge:after{
    content:attr(data-count);
    /* position: absolute; */

    /* background: rgba(0,0,255,1); */
    /* height:1rem; */
    /* top:1rem;
    right:1.5rem;
    width:2rem;
    text-align: center;
    line-height: 2rem;; */
    font-size: 1rem;
    /* border-radius: 50%; */
    color:white;
    /* border:1px solid blue; */
}
html{
    min-height:100%;/* make sure it is at least as tall as the viewport */
    position:relative;
}
body{
    height:100%;
    margin-bottom: 2.5rem; /* force the BODY element to match the height of the HTML element */
}


#sidebar {
    overflow: hidden;
    z-index: 3;
        max-width: 180px;
}
#sidebar .list-group {
    min-width: 250px;
    background-color: #023c73;
    min-height: 100vh;
}
#sidebar i {
    margin-right: 6px;
}

#sidebar .list-group-item {
    border-radius: 0;
    background-color: #04519b;
    color: rgba(255,255,255,0.8);
    border-left: 0;
    border-right: 0;
    white-space: nowrap;
}
#sidebar .list-group-item:hover {
    color: #fff;
}

/* highlight active menu */
#sidebar .list-group-item:not(.collapsed) {
    background-color: #222;
}

/* closed state */
#sidebar .list-group .list-group-item[aria-expanded="false"]::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* open state */
#sidebar .list-group .list-group-item[aria-expanded="true"] {
  background-color: #033C73;
}
#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* level 1*/
#sidebar .list-group .collapse .list-group-item,
#sidebar .list-group .collapsing .list-group-item  {
  padding-left: 20px;
  background-color: #fff;
  color: #033C73;
}
#sidebar .list-group .collapse .list-group-item:hover,
#sidebar .list-group .collapsing .list-group-item:hover  {
    background-color: #2FA4E7;
}

/* level 2*/
#sidebar .list-group .collapse > .collapse .list-group-item,
#sidebar .list-group .collapse > .collapsing .list-group-item {
  padding-left: 30px;
}

/* level 3*/
#sidebar .list-group .collapse > .collapse > .collapse .list-group-item {
  padding-left: 40px;
}

@media (max-width:767px) {

    #sidebar {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(-45px);
        position: fixed;
    }

    #sidebar.show {
        transform: translateX(0);
    }

    #sidebar::-webkit-scrollbar{ width: 0px; }

    #sidebar, #sidebar .list-group {
        min-width: 35px;
        overflow: visible;
        position: relative;
    }
    /* overlay sub levels on small screens */
    #sidebar .list-group .collapse.show, #sidebar .list-group .collapsing {
        position: relative;
        z-index: 1;
        width: 190px;
        top: 0;
    }
    #sidebar .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebar .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    }
}

.collapse.show {
  visibility: visible;
}
.collapsing {
  visibility: visible;
  height: 0;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.collapsing.width {
  -webkit-transition-property: width, visibility;
  transition-property: width, visibility;
  width: 0;
  height: 100%;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}


#sidebarLeft {
    overflow: hidden;
    z-index: 3;
        max-width: 180px;
}
#sidebarLeft .list-group {
    min-width: 250px;
    background-color: #023c73;
    min-height: 100vh;
}
#sidebarLeft i {
    margin-right: 6px;
}

#sidebarLeft .list-group-item {
    border-radius: 0;
    background-color: #04519b;
    color: rgba(255,255,255,0.8);
    border-left: 0;
    border-right: 0;
    white-space: nowrap;
    text-align: left;
}
#sidebarLeft .list-group-item:hover {
    color: #fff;
}

/* highlight active menu */
#sidebarLeft .list-group-item:not(.collapsed) {
    background-color: #222;
}

/* closed state */
#sidebarLeft .list-group .list-group-item[aria-expanded="false"]::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* open state */
#sidebarLeft .list-group .list-group-item[aria-expanded="true"] {
  background-color: #033C73;
}
#sidebarLeft .list-group .list-group-item[aria-expanded="true"]::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* level 1*/
#sidebarLeft .list-group .collapse .list-group-item,
#sidebarLeft .list-group .collapsing .list-group-item  {
  padding-left: 20px;
  background-color: #fff;
  color: #033C73;
}
#sidebarLeft .list-group .collapse .list-group-item:hover,
#sidebarLeft .list-group .collapsing .list-group-item:hover  {
    background-color: #2FA4E7;
}

/* level 2*/
#sidebarLeft .list-group .collapse > .collapse .list-group-item,
#sidebarLeft .list-group .collapse > .collapsing .list-group-item {
  padding-left: 30px;
}

/* level 3*/
#sidebarLeft .list-group .collapse > .collapse > .collapse .list-group-item {
  padding-left: 40px;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;          
}
@media (max-width:767px) {

    #sidebarLeft {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(45px);
        position: fixed;
    }

    #sidebarLeft.show {
        transform: translateX(0);
    }

    #sidebarLeft::-webkit-scrollbar{ width: 0px; }

    #sidebarLeft, #sidebarLeft .list-group {
        min-width: 35px;
        overflow: visible;
        position: relative;
    }
    /* overlay sub levels on small screens */
    #sidebarLeft .list-group .collapse.show, #sidebarLeft .list-group .collapsing {
        position: relative;
        z-index: 1;
        width: 190px;
        left: -150px;
        top: 0;
    }
    #sidebarLeft .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebarLeft .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebarLeft .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    }
}