
.btn-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}

.btn-loading:after {
  content: '';
  -webkit-animation: loader 500ms infinite linear;
  animation: loader 500ms infinite linear;
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  display: block;
  height: 1.4em;
  width: 1.4em;
  position: absolute;
  left: calc(50% - (1.4em / 2));
  top: calc(50% - (1.4em / 2));
  -webkit-transform-origin: center;
  transform-origin: center;
  position: absolute !important;
}

.btn-loading.btn-sm:after, .btn-group-sm > .btn-loading.btn:after {
  height: 1em;
  width: 1em;
  left: calc(50% - (1em / 2));
  top: calc(50% - (1em / 2));
}

.btn-loading.btn-secondary:after {
  border-color: #495057;
}

@-webkit-keyframes loader {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


.delete-multiple{
  display: none;
}


.image-chooser {
    width: 100px;
    height: 100px;
    border: 1px solid #dee1e7;
    padding: 5px;
    cursor: pointer;
}
#modal-image .image .bg-image {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
}

#modal-image .image {
    width: 100%;
    height: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#modal-image svg.folder {
    width: 100px;
    height: 100px;
    text-align: center;
    padding: 10px;
    color: #959ba4;
    cursor: pointer;
    padding-bottom: 22px;
}
#modal-image .image .name {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
    left: 0;
    background: rgba(52, 48, 49, 0.6784313725490196);
    color: #ddd;
    text-align: center;
    font-size: 12px;
}

#modal-image .image .delete-check {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    margin: 0;
    cursor: pointer;
    display: none;
}
#modal-image .image .delete-check input {
    margin: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-size: 21px;
    border-radius: 0;
}
#modal-image #button-delete{
  display: none;
}
#modal-image .image:hover .delete-check, #modal-image .image .delete-check.checked {
    display: block;
}




.col-login { width: 455px; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%); -o-transform: translate(-50%,-50%);
    max-width: 100%;}
.login_left{background: url('../img/login_bg.jpg'); ; color: #fff;}
.col-login .card-title{font-size: 30px; margin-bottom: 27px;}

.login_copyright{position: fixed;  bottom: 20px;  width: 100%;}
.copyright{padding: 10px 0; background: #fff;}

.header-title{margin: 0;}


.select2-container--default .select2-selection--single .select2-selection__arrow{top: 5px;}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 23px;}
.select2-container--default .select2-selection--single{display: block;
    width: 100%; min-height: calc(1.4666667em + 0.75rem + 2px);  padding: 0.375rem 0.75rem; font-size: .9375rem;
    font-weight: 400; line-height: 1.4666667; color: #354052; background-color: #fff; background-clip: padding-box;
    border: 1px solid #dee1e7; border-radius: 3px; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;}



.custom_action li{color: #354052;}
.custom_action li a{color: #354052; padding: 3px 20px; display: block;}
.custom_action li a:hover{background: #f5f7fb;}
.custom_action li span{margin-right: 10px;}
.custom_action .dropdown-menu{top: 100% !important; transform: none !important; right: 0 !important; left: inherit !important;}

.custom_action  .dropdown-toggle:after{display: none;}

.required{color:red;font-size:medium;}

.btn span{margin:3px 5px 0 0;}
.table td small { color: #afb1b6;}

.row{width:-webkit-fill-available}
.filter_div{background: #206bc421;}

.notification_dropdown .fa{font-size: 25px;}
.notification_dropdown .dropdown-item{padding: 5px 30px;}
#notification_count{position: absolute;top: 8px; right: -8px;}
#notification{max-height: 300px; overflow-y: scroll;}

.sidebar-dark .sidebar-brand { -webkit-filter: none !important; filter: none !important;}
.sidebar-brand-logo { height: 68px !important;}


.site_logo{display: none; position: absolute; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%);
 -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); }
.menu-toggle{display: none;}

@media (max-width: 1199px){
    .container, .container-lg, .container-md, .container-sm {  max-width: 100%; }

    .site_logo{display: block; }

    .sidebar .sidebar-brand {width: 256px; background-color: #354052; z-index: 9; }
    .sidebar-brand+.sidebar-content {margin-top: 95px; }
    .sidebar+.content{margin-left: 0; }
    .sidebar+.content .topnav {left: 0;}

    .sidebar {display: block; opacity: 0; visibility: hidden;  width: 256px; margin-left: -256px; 
     transition: 0.3s all ease-in-out;  -webkit-transition: 0.3s all ease-in-out; flex-direction: initial;}
    .sidebar .sidebar-nav>.sidebar-nav-item>.sidebar-nav-link>span { display: block;}

    .open_menu{ margin-left:0px;  opacity: 1; visibility: visible; overflow-y: auto;}
    
    .menu-toggle{display: block; margin-left: 20px; transition: 0.3s all ease-in-out; -webkit-transition: 0.3s all ease-in-out;}
    .open_content .menu-toggle{margin-left: 265px;}

    .sidebar .sidebar-subnav{position: inherit; top: 0; left: 0; right: 0; height: 0; 
        transition: 0.3s all ease-in-out;  -webkit-transition: 0.3s all ease-in-out; }
    .sidebar .sidebar-nav-arrow { display: block !important;}
    .sidebar .sidebar-nav>.sidebar-nav-item:hover .sidebar-subnav{ display: none;}
    .sidebar .sidebar-nav>.sidebar-nav-item .sidebar-subnav.show { display: block; height:auto;}

    .sidebar .sidebar-nav>.sidebar-nav-item:hover>.sidebar-nav-link .icon { margin-right: 0;}
    .sidebar .sidebar-nav>.sidebar-nav-item:hover {background: none;  width: inherit; }
    .sidebar .sidebar-nav>.sidebar-nav-item:hover .sidebar-subnav .sidebar-nav-link {padding-left: 2.75rem;}

    .form-label{line-height: 1;}

    .footer_info p{max-width: 50%; margin: 0 auto;}
}


@media (max-width: 991px){
    /*.card-header{display: block; }*/
    .dataTables_wrapper .dataTables_length{display: none;}
    .dataTables_wrapper .dataTables_info{display: none;}

    .table thead th{line-height: 1;}
}

@media (max-width: 767.98px){
    .sidebar {display: block; }
}
