
.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;
}

.sidebar-dark .sidebar-brand {
    -webkit-filter: none;
    filter: none;
}
.sidebar-brand-logo {
    height: 48px;
}

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

.select2-container--default .select2-selection--single{
    min-height: calc(1.4666667em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: .9375rem;
    border: 1px solid #dee1e7;
    border-radius: 3px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;

}

.select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 1.6;}


.section-title {
    background: #f1f5f9;
    padding: 10px 15px;
    font-weight: 600;
    margin-bottom: 15px;
    border-left: 4px solid #0d6efd;
}


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

    .site_desc{display: none; }

    .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 (min-width: 1200px){
    .container{max-width: 98%;}
}
