@import '~bootstrap/scss/functions';
@import '~admin-lte/build/scss/bootstrap-variables';
@import '~bootstrap/scss/mixins';


/** GLOBAL CHANGES**/
a {
    color: #17a2b8;
    text-decoration: none;
    background-color: transparent;
}
body{
  font-size: 14px;
}

[class*=sidebar-dark-] {
background: rgb(12,17,66);
background: linear-gradient(90deg, rgba(12,17,66,1) 50%);
  /*
  background: rgb(6,97,90);
  background: linear-gradient(90deg, rgba(38,130,56,1) 6%, rgba(1,168,151,1) 100%,rgba(1,168,151,1) 79%);
  */
}
.navbar-white{
  background: rgb(12,17,66);
background: linear-gradient(90deg, rgba(12,17,66,1) 50%, rgba(0,149,255,1) 100%);
  /*
  background: rgb(38,130,56);
  background: radial-gradient(circle, rgba(38,130,56,1) 6%, rgba(1,168,151,1) 100%);
  */
}
.navbar-white a{
  color: #fff !important;
}
.bg-header-nav{
  background: #2bd4db !important;
}
.elevation-4{
  box-shadow:unset !important;
}
[class*=sidebar-dark] .brand-link {
  border-bottom: 1px solid #93c574;
}
.nav-sidebar .nav-link p {
  display: inline;
  margin: 0;
  white-space: normal;
  text-transform: uppercase;
  font-size: .75rem;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
  background-color:#2bd4db !important;
  color: #fff;
}
.nav-sidebar .nav-link p:hover {
  color: #cf0;
}

.nav-sidebar .subactive {
  color: #cf0 !important;
}

.main-sidebar, .main-sidebar::before {
    transition: margin-left .3s ease-in-out,width .3s ease-in-out;
    width: 225px;
}
@media (min-width: 768px){
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
      transition: margin-left .3s ease-in-out;
      margin-left: 225px;
  }
}
.sidebar-mini .main-sidebar .nav-link, .sidebar-mini-md .main-sidebar .nav-link, .sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(225px - 0.5rem * 2);
    transition: width ease-in-out .3s;
}

.layout-fixed .brand-link {
    width: 225px;
}

.timeline>.time-label>span {
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    font-weight: 500;
    padding: 5px 15px;
    color: #e19a32;
    font-size: 14px
}
.timeline>div {
    margin-bottom: 20px;
    margin-right: 10px;
    position: relative;
}
.btn-primary {
    color: #fff;
    background-color: #008cf2;
    border-color: #008cf2;
    box-shadow: none;
}

.card-primary:not(.card-outline)>.card-header {
    background-color: #008cf2;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #008cf2;
}
.card-primary.card-outline {
    border-top: 3px solid #008cf2;
}

/** AJAX LOADER **/
#overlayLoader{ 
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
  height:100%;
  display: none;
  background: rgba(0,0,0,0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;  
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% { 
    transform: rotate(360deg); 
  }
}
.is-hide{
  display:none;
}
.content-title{
  text-transform: uppercase;
  font-size: 21px !important;
}
.content-holder{border-bottom: 1px solid #b9b9b9;}
/**DATA TABLES**/
table{font-size: .75rem;}
table th{font-size: .75rem;}

.table .btn-app {
    border-radius: 3px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #6c757d;
    font-size: 9px;
    height: 35px;
    margin: 0 0 5px 5px;
    min-width: 45px;
    padding: 5px 8px;
    position: relative;
    text-align: center;
}
.table .btn-app .fas{
	font-size: 14px;
}
/*Scroll*/

.dataTables_scrollBody::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5; }
.dataTables_scrollBody::-webkit-scrollbar{ height: 7px; background-color: #F5F5F5;}
.dataTables_scrollBody::-webkit-scrollbar-thumb { background-color: #252955; }

/** FORMS **/
.card-border-info{
    border-top: 3px solid #17a2b8;
}
.form-control{font-size: 14px;}
button.btn.btn-default.cancelbtn.float-right {
    margin-left: 10px;
}
.imgFormEdit{ width: 45px; margin-left: 10px;}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

/*Multi Select */
.multiselect-container {
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.multiselect-container.dropdown-menu {
  width: 100%;
}
.select2-container .select2-selection--single{
  height: unset !important;
}
body .multiselect-native-select {
  position: relative;
}

body .multiselect-native-select select {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px -1px -1px -3px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  left: 50%;
  top: 30px;
}
body .multiselect-container {
  position: absolute;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
body .multiselect-container .input-group {
  margin: 5px;
}
body .multiselect-container li {
  padding: 0;
}
body .multiselect-container li .multiselect-all label {
  font-weight: 700;
}
body .multiselect-container li a {
  padding: 0;
}
body .multiselect-container li a label {
  margin: 0;
  height: 100%;
  cursor: pointer;
  font-weight: 400;
  padding: 3px 20px 3px 40px;
}
body .multiselect-container li a label input[type=checkbox] {
  margin-bottom: 5px;
}
body .multiselect-container li a label.radio {
  margin: 0;
}
body .multiselect-container li a label.checkbox {
  margin: 0;
}
body .multiselect-container li.multiselect-group label {
  margin: 0;
  padding: 3px 20px 3px 20px;
  height: 100%;
  font-weight: 700;
}
body .multiselect-container li.multiselect-group-clickable label {
  cursor: pointer;
}
body .btn-group .btn-group .multiselect.btn {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
body .form-inline .multiselect-container label.checkbox {
  padding: 3px 20px 3px 40px;
}
body .form-inline .multiselect-container label.radio {
  padding: 3px 20px 3px 40px;
}
body .form-inline .multiselect-container li a label.checkbox input[type=checkbox] {
  margin-left: -20px;
  margin-right: 0;
}
body .form-inline .multiselect-container li a label.radio input[type=radio] {
  margin-left: -20px;
  margin-right: 0;
}
ul.multiselect-container.dropdown-menu {max-height:250px; overflow-y: auto;  overflow-x: hidden;}

/** IMAGE LIGHTBOB POPUP **/


* {
    box-sizing: border-box;
  }
  
  img {
    max-width: 100%;
  }
  
  .gallery-wrapper {
    
    margin: 0 auto;
    padding: 0 1em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    grid-gap: 1em;
  }
  .gallery-wrapper .image-wrapper a {
    padding: 0.5em;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 200ms ease-in-out;
  }
  .gallery-wrapper .image-wrapper a:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  .gallery-wrapper .image-wrapper a img {
    width: 100%;
  }
  
  .gallery-lightboxes .image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0ms ease-in-out;
  }
  .gallery-lightboxes .image-lightbox:target {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
  }
  .gallery-lightboxes .image-lightbox:target .image-lightbox-wrapper {
    opacity: 1;
    transform: scale(1, 1) translateY(0);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper {
    transform: scale(0.95, 0.95) translateY(-30px);
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
    opacity: 0;
    margin: 1em auto;
    max-width: 75%;
    padding: 0.5em;
    display: inline-block;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    position: relative;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close {
    width: 1.5em;
    height: 1.5em;
    background: #000;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 0 0 2px white inset, 0 0 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    right: -1em;
    top: -1em;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -5px;
    transform: rotate(-45deg);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:after {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -5px;
    transform: rotate(45deg);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left {
    position: absolute;
    top: 0;
    right: 50%;
    bottom: 0;
    left: 0;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-right: 0;
    border-radius: 4px 0 0 0;
    position: absolute;
    top: 50%;
    right: 100%;
    cursor: pointer;
    transform: rotate(-45deg) translateY(-50%);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 4px 0 0;
    position: absolute;
    top: 50%;
    left: 100%;
    cursor: pointer;
    transform: rotate(45deg) translateY(-50%);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper img {
    margin: 0 auto;
    max-height: 70vh;
  }

.content-header h1 {
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    color: #212a87;
}

  .card-title {
      float: left;
      font-size: .9rem;
      font-weight: 500;
      margin: 0;
      text-transform: uppercase !important;
  }
  #goBackBtn {
    display: inline-block;
    background-color: #FF9800;
    width: auto;
    height: auto;
    text-align: center;
    border-radius: 4px 0 0 4px;
    position: fixed;
    top: 16%;
    right: 0;
    color: #fff;
    transition: background-color .3s, opacity .5s, visibility .5s;
    z-index: 1000;
    padding: 3px;
}

#goBackBtn:hover {
  cursor: pointer;
  background-color: #333;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #dce5dc;
    border: 1px solid #c6edbc;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    box-shadow: 1px 1px 3px #585353;
    /* color: #fff; */
}