html {
    position: relative;
    min-height: 100%;
  }
body {
    font-size: 14px;
    /* position: relative; */
    padding-bottom: 60px;
    height: 100vh;
    overflow: hidden;
}
[class^="icon-"], [class*="icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
header .navbar-brand {
    text-transform: uppercase;
}
header .navbar {
    z-index: 2;
}
header .navbar .nav-item .login-name {
    display: block;
    padding: .5rem 1rem;
    color: #fff;
}
header .navbar.primary-color{
    background-color: #1a78c2 !important;
}
.btn{
    padding: .4rem 1.14rem;
}

aside {
    min-width: 6%;
    max-width: 6%;
    /* height: 100%; */
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    /* min-height: calc(100vh - 156px); */
    position: fixed;
    top: 60px;
    bottom: 0;
    left:0px;
    padding:20px 0 51px;
    transition: all 0.3s;
    overflow:auto;
    z-index: 2;
}
aside.active{
    min-width: 18%;
    max-width: 18%;    
}
aside .side-nav ul li{
    border-bottom: 1px solid rgba(26,120,194,0.3);
}
aside .side-nav ul li a span{
    display: none;
}
aside .sidebar-header .btn-sidebar{
    border: 0;
    background-color: transparent;
    margin-bottom: 10px;
    color: #1a78c2;
}
aside .sidebar-header .fa-angle-double-left{
-ms-transform: rotate(180deg); /* IE 9 */
  -webkit-transform: rotate(180deg); /* Safari 3-8 */
  transform: rotate(180deg);
}
aside.active .sidebar-header .fa-angle-double-left{
    -ms-transform: rotate(0deg); /* IE 9 */
      -webkit-transform: rotate(0deg); /* Safari 3-8 */
      transform: rotate(0deg);
    }
aside.active .side-nav ul li a span{
    display: inline-block;
}
aside .sidebar-wrapper .sidebar-header{
    text-align: center;
}
aside.active .sidebar-wrapper .sidebar-header{
    text-align: right;
}
.side-nav .navbar{
    box-shadow: none;
    display: block;
    padding: 0;
    position: static;
}

aside.active .side-nav ul li a{ text-align: left; }
.sidebar{
    overflow: visible;
}
.side-submenu{
    max-height: calc(100vh - 206px);
    overflow: auto;
}

.side-nav.small-view .side-submenu{
    position: absolute;
    left: 100%;
    width: 150px;
    background: #fff;
    top: 0;
    /* opacity: 0; */
    left: 100%;
    transition: ease-in 0.3s all;
}

.level1-submenu>ul>li span{ font-size: 14px !important; }
.level2-submenu>ul>li span{ font-size: 12px !important; }

aside .side-nav.small-view ul li:hover .side-submenu{
    
    opacity: 1;
}
aside .side-nav.small-view ul li {
    position: relative;
}
.side-nav.small-view .side-submenu ul li a{
    display: block;
    padding: 10px 15px;
    text-align: left;
}

.side-nav.small-view ul ul .list-group-item span   {
    display: block;
    line-height: 16px;
    margin: 0;
}
.side-nav ul li a {
    font-weight: 500;
    line-height: 30px;
    color: #1a78c2;
    display: block;
    padding: 5px 10px;
    position: relative;
}

.side-nav ul li a .fa{
    position: absolute;
    right: 0px;  
    top: 0;
    width: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0;
}

.side-nav ul li a{ text-align: center; }

.side-nav ul li a.list-group-item[aria-expanded="true"] .fa{
    transform: rotate(180deg);
}
.side-nav nav>ul >li > a[aria-expanded="true"] .fa:before{
    content: "\f068";
}
.side-nav nav>ul >li > a[aria-expanded="false"] .fa:before{
    content: "\f067";
}

/* 
.side-nav ul li a.list-group-item.collapsed .fa{
    transform: rotate(0deg);
} */

.side-nav ul ul .list-group-item span{ font-size: 12px; margin-left: 28px; margin-right: 1rem;}

/* .side-nav ul li .collapse.show ul{
    list-style: none;
    padding: 0;
} */
.side-nav ul li a:hover, .side-nav ul li a:focus {
    text-decoration: none;
    background-color: #eeeeee;
}
.side-nav ul li.active> a{
    background-color: #1a78c2;
    color: #fff;
}
.side-nav ul li> a > i {
    font-size: 18px;
    line-height: 30px;
    display: inline-block;
    vertical-align: middle;
}
.side-nav ul li a span {
    margin-left:5px;
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
}
article{
    width: calc(100% - 0%);
    padding: 60px 20px;
}
article.main-content{
    width: calc(100% - 6%);
    height: calc(100vh - 60px);
    transition: all 0.3s;
    position: absolute;
    top: 60px;
    bottom: 0;
    right: 0;
    padding: 20px 20px 60px;
    overflow: auto;
}
article.main-content.no-scroll{overflow: hidden;}
article.main-content #iframeLanding{ height: 100% !important; }
article.main-content.active{
    width: calc(100% - 18%);
}
.page-heading{
    border-bottom: 1px solid #343a40;
    margin-bottom: 15px;
}
.table-theme.table thead tr th {
   font-weight: 600;
  
}
.table-theme.table tbody tr td {
    padding: .5rem;
    font-weight: 400;
    vertical-align: middle;
}
.table-theme.table tbody tr td  .action-icon{
    margin: 0 5px;
    color: #343a40;
}

.footer{
    background-color: #1a78c2;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    z-index: 2;
}
.form-group .form-control:focus {
    box-shadow: none;
}
.is-focused [class^='bmd-label'], 
.is-focused [class*=' bmd-label'], 
*.is-focused [class^='bmd-label'], 
*.is-focused [class*=' bmd-label'] {
    color: #1a78c2;
}
.form-group.bmd-form-group.is-focused .form-control{
    background-image: linear-gradient(to top, #1a78c2 2px, rgba(0, 150, 136, 0) 2px), linear-gradient(to top, rgba(0, 0, 0, 0.26) 1px, rgba(0, 0, 0, 0) 1px);
}
.form-group.bmd-form-group.has-error .form-control{
    background-image: linear-gradient(to top, #ff3547  2px, rgba(0, 150, 136, 0) 2px), linear-gradient(to top, rgba(0, 0, 0, 0.26) 1px, rgba(0, 0, 0, 0) 1px);
}
.form-group.bmd-form-group.has-error .form-control{
    border-bottom-color: #ff3547;
}
.form-group.bmd-form-group.has-error [class^='bmd-label'],
.form-group.bmd-form-group.has-error.is-focused [class^='bmd-label'],
*.is-focused.has-error [class^='bmd-label']{
    color: #ff3547;
}
.form-group.bmd-form-group .bootstrap-select{
    width: 100% !important;
}
.form-group.bmd-form-group .bootstrap-select .btn.btn-light, .btn-light.custom-file-control::before{
    color: #495057;
}
.form-group.bmd-form-group .bootstrap-select>.dropdown-toggle{
    /* border-bottom: 1px solid #ddd; */
    padding: .4rem 0.1rem;
}
.form-group.bmd-form-group  .bootstrap-select .dropdown-menu li a {
    display: block;
    min-width: auto;
    max-width: none;
}
@media (min-width: 768px){
    .form-group.bmd-form-group  .bootstrap-select .dropdown-menu .dropdown-item {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}
.radio label input[type=radio]:checked ~ .bmd-radio::after, label.radio-inline input[type=radio]:checked ~ .bmd-radio::after {
    border-color: #1a78c2;
}
.radio label input[type=radio]:checked ~ .bmd-radio::before, label.radio-inline input[type=radio]:checked ~ .bmd-radio::before {
    background-color: #1a78c2;
}
.status-group label{
    color:#343a40;
}
.login-container{
    padding-top: 4%;
}
.login-container .card{
    width: 31rem;
    margin: 0 auto;
}
.captcha-container .captcha-img {
    padding-left: 30px;
}
.captcha-container .captcha-img i {
    font-size: 20px;
}
/* .generate_captcha:hover,.generate_captcha:active,.generate_captcha:focus,
.generate_captcha:active:hover,.generate_captcha:active:focus{
    background-color: transparent;
    border-color: transparent;
} */
.generate_captcha{
    color: #000;
    padding: 10px;
    margin: 0 10px;
}
.captcha-container .captcha-img .captcha{
    width: 160px; height: 45px;
}

.overlay-open {
    position: fixed;
    width: 100vw;
}
.overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1012;
    transition: .3s all;
}
.spinner-border{
    position: absolute;
    left: 50%;
    top: 50%;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    border: 1px solid transparent !important;
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: inset 0 0 3px transparent !important;
}

table.dataTable thead th, table.dataTable thead td{
    padding-left: 8px !important;
}

.dataTables_length .bootstrap-select {
    width: 60px !important;
}
.dataTables_length .bootstrap-select.custom-select {
    height: 30px !important;
}
.dataTables_length .bootstrap-select.custom-select .dropdown-menu .inner{
    overflow-y: none !important;
}
.dataTables_length .bootstrap-select .dropdown-menu{
    width: 60px !important;
    min-width: auto !important;
}
.dataTables_length .bootstrap-select .btn.btn-light{
    color: #000000;
}
.dataTables_length .bootstrap-select .dropdown-menu{
    overflow-y:none;
}
.bmd-form-group textarea.form-control, .bmd-form-group textarea.custom-file-control, .bmd-form-group textarea.form-control::placeholder, .bmd-form-group textarea.custom-file-control::placeholder {
    padding: 0.28125rem 0;
    line-height: 1.5;
}
.inner .show {max-width: 100%;overflow-x: hidden;} 

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after{
    content: "";
}

.dataTables_length .dropdown-menu .dropdown-item{
    min-height: 1.5rem;
    padding: 0 10px;
}