::-webkit-scrollbar {
    background: #eee;
    border-left: 1px solid #ddd;
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border: 1px solid #ccc;
}

::selection {
    background: #00A2E1;
    color: #FFFFFF;
    text-shadow: none;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background: #597CE4;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.navbar-nav .nav-link.active i{
    color: #fff !important;
}

.navbar-nav .nav-link.active:before {
    border-left-color: #fff !important;
    border-left-width: 3px !important;
}

.bg-blue {
    background: #00A2E1 !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background: #00A2E1 !important;
}

.required {
    color: red;
}

#login {
    background: url(../img/bg-login.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #00A2E1;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    background: #ffffff;
    border-radius: 5px;
}

.select2-container--bootstrap4 .select2-selection {
    transition: box-shadow .15s ease;
    border: 0;
    box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02);
    height: 45px !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02);
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.8rem;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #00A2E1;
    border-color: #00A2E1;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    border-color: #00A2E1;
    background-color: #00A2E1;
}

.main-content .navbar-top {
    position: fixed;
    left: 250px;
    width: calc(100% - 250px) !important;
    background-color: #00A2E1 !important;
}

.main-content .container-fluid.pt-7 {
    padding-bottom: 1.5rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 4.5rem !important;
}

.loading {
    position: fixed;
    z-index: 1052;
    background: rgba(255, 255, 255, 0.6) url("../img/loading.gif") no-repeat center;
    background-size: 50px 50px;
    width: calc(100% - 250px);
    height: 100%;
    left: 250px;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    opacity: 1;
    overflow-y: hidden;
}
.loading-inside{
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .5) url("../img/loading.gif") no-repeat center;
    background-size: 50px 50px;
}
table .loading{
    position: absolute;
}

.modal .modal-xl {
    max-width: calc(100% - 20px);
}

.modal-50 .modal-xl {
    max-width: calc(100% - 50px);
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-dialog-scrollable .modal-body .tab-pane
.card-body, .modal-dialog-scrollable .bg-secondary {
    min-height: calc(100vh - 280px);
}

.modal-header {
    padding: 1.5rem 1.5rem .8rem;
}

.modal-body {
    padding-top: 0;
    background-color: #fff !important;
}

.modal-footer {
    padding: .8rem;
}

.note-popover .popover-content, .card-header.note-toolbar {
    padding: 0 0 5px 5px;
    margin: 0;
    background: transparent !important;
    border-radius: 10px;
    border: none;
}

.nav-wrapper {
    padding-top: .1rem;
}

.icofont-lg {
    font-size: 1.5em !important;
}
.select2-results__options{
    font-size: 13px;
}
.select2-container--bootstrap4 .select2-selection{
    font-size: 14px;
}

@media (min-width: 576px) {
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
}

.navbar-vertical.navbar-expand-md .navbar-brand-img {
    max-height: 3rem;
}

.btn-light {
    background-color: #00A2E1 !important;
}

.bg-primary{
    background-color: #00A2E1 !important;
}

.myaccordion {
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
}

/*my-list*/
.mylist{
    list-style: none;
    margin: 0;
    padding: 0;
}
.mylist li{
    background: #EEE;
    padding: 0;
    overflow: hidden;
    margin-bottom: 4px;
    border-radius: 4px;
}
.mylist li .title{
    background: #00A2E1;
    color: #ffffff;
    padding: 6px;
    font-size: 14px;
}

/*accordion*/
.myaccordion .card,
.myaccordion .card:last-child .card-header {
    border: none;
}

.myaccordion .card-header {
    border-bottom-color: #EDEFF0;
    background: transparent;
    border-radius: 0;
}
.myaccordion .card:first-child .card-header{
    border-radius: 5px 5px 0 0;
}

.myaccordion .btn {
    width: 100%;
    font-weight: bold;
    color: #00A2E1;
    padding: 0;
}

.myaccordion .btn-link:hover,
.myaccordion .btn-link:focus {
    text-decoration: none;
}
.head-accordion i{
    margin: 0 !important;
}

button[aria-expanded=false] .icofont-minus-circle {
    display: none;
}
button[aria-expanded=true] .icofont-plus-circle {
    display: none;
}

.myaccordion li + li {
    margin-top: 10px;
}

.card-body table {
    border-collapse: collapse;
    width: 100%;
}

.card-body td, .card-body th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
.ng-hide{
    display: none!important;
    height: 200px;
}
.cover{
    position: relative;
}
.cover .cover-img{
    height: 200px;
    width: 100%;
    overflow: hidden;
}
.cover .cover-img img{
    width: 100%;
}
.profile{
    position: relative;
    min-height: 250px;
    border-radius: 10px;
}
.profile .icon{
    position: absolute;
    top: -50px;
    width: 100%;
    height: 100px;
    left: 0;
    z-index: 1001;
}
.profile-body{
    position: absolute;
    top: 60px;
    width: 100%;
    left: 0;
}
.profile .icon-body{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    background: #ffffff;
    text-align: center;
    line-height: 100px;
    overflow: hidden;
}
.profile .icon img{
    width: 100%;
}
.input-sm{
    height: 2rem !important;
    padding: 0.5rem !important;
}
.select2-results{
    max-height: 200px;
    overflow: auto;
}
.upload-profile{
    position: absolute;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    top: 0;
    overflow: hidden;
}
.upload-profile input[type=file]{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    z-index: 1004;
    cursor: pointer;
}
.upload-profile .btn-upload{
    position: absolute;
    bottom: -30px;
    height: 30px;
    overflow: hidden;
    width: 100%;
    background: rgba(0,0,0,0.2);
    transition: ease-in all 0.2s;

}
.upload-profile .btn-upload i{
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 24px;
    height: 26px;
    overflow: hidden;
    width: 100%;
}
.upload-profile:hover .btn-upload{
    bottom: 0;
}
.modal-silver .modal-body{
    background: #F5F6FC !important;
    padding-top: 1.5rem;
}
.bg-silver{
    background: #F5F6FC !important;
}
.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    text-align: center;
}
.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}
.modal-70 .modal-dialog{
    max-width: 70% !important;
}
.modal-80 .modal-dialog{
    max-width: 80% !important;
}
.modal-dialog{
    overflow-y: initial !important
}
.modal-open .modal {
    overflow-y: hidden !important;
}
.fixed-height .modal-body{
    max-height: calc(100vh - 170px);
    overflow-y: auto;
}
.swal-icon{
    border: solid;
}
.search-box .input-group-text{
    padding:0;
    padding-right:2px;
}
.table th{
    border-top: 0;
}
.bg-head{
    background: #dae6f1
}
.thead{
    background: #c8d7ea;
}
.img-circle{
    border-radius: 50%;
    box-shadow: 0 0 5px 2px #ddd;
}

.jstree-default .jstree-node {
    line-height: 30px !important;
}
.jstree-default .jstree-wholerow {
    height: 30px !important;
}
.jstree-icon:empty{
    margin-right: 5px !important;
}
.jstree-default .jstree-wholerow {
    height: 30px !important;
}
.jstree-default .jstree-wholerow-clicked {
    background: #fff !important;
}
.jstree-anchor {
    padding: 3px 4px 0 1px !important;
}

@media (max-width: 1024px) {
    #sidenav-collapse-main {
        display: none;
    }

    .navbar-expand-md .navbar-toggler {
        display: block;
    }

    .navbar-vertical.navbar-expand-md.fixed-left + .main-content {
        margin-left: 0;
    }

    .navbar-vertical.navbar-expand-md{
        background: #F3F4FA;
    }

    .d-lg-none{
        display: block !important;
    }
    .navbar-vertical.navbar-expand-md.fixed-left {
        display: none !important;
    }

    .main-content .container-fluid {
        max-width: 96%;
        margin: 0 auto;
        padding: 0 !important;
    }

    .main-content .container-fluid.pt-7 {
        padding: 50px 0 0 0 !important;
        max-width: 100%;
    }

    .form-login {
        width: 100%;
    }

    .navbar-vertical.navbar-expand-sm {
        max-width: 100%;
    }

    .main-content .navbar-top {
        position: fixed;
        left: 0;
        width: 100% !important;
    }

    .modal .modal-xl {
        max-width: 100%;
    }

    .profile-body{
        width: 50%;
        min-width: 320px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    .modal-70 .modal-dialog{
        max-width: 90% !important;
    }
    .nav-pills .nav-item:not(:last-child) {
        padding-right: 0.5rem;
    }
}