:root {  
  --kag-blue-faint: #ceecf5;
  --kag-blue-light: #a3d8e7;
  --kag-blue-mid:   #1688ae;
  --kag-blue-dark:  #00658c;
  --kag-gray-light: #e2e1e6;
  --kag-gray-mid:   #807a7a;
  --kag-gray-dark:  #3c3c3c;
  --kag-logo-red:   #e20613;
  --kag-logo-black: #000000;
  --kag-logo-white: #ffffff;
}

.icon-white {
  filter: brightness(0%) invert(100%) brightness(99%);
}


.disable-qr {
  mix-blend-mode: screen; 
  filter: blur(2px);
}

.bg-gradient-from-left-success {
  background-image: linear-gradient(90deg, var(--green) -1000%, #ffffff00 200%);
  background-size: cover;
}

.bg-gradient-from-left-primary {
  background-image: linear-gradient(90deg, var(--blue) -1000%, #ffffff00 200%);
  background-size: cover;
}

.bg-gradient-from-left-warning {
  background-image: linear-gradient(90deg, var(--yellow) -1000%, #ffffff00 200%);
  background-size: cover;
}

.bg-gradient-from-left-danger {
  background-image: linear-gradient(90deg, var(--red) -1000%, #ffffff00 200%);
  background-size: cover;
}

.bg-gradient-from-left-info {
  background-image: linear-gradient(90deg, var(--info) -1000%, #ffffff00 200%);
  background-size: cover;
}

.rounded-top-left { 
  border-top-left-radius: 0.25rem !important;
}

.rounded-top-right { 
  border-top-right-radius: 0.25rem !important;
}

.rounded-bottom-left { 
  border-bottom-left-radius: 0.25rem !important;
}

.rounded-bottom-right { 
  border-bottom-right-radius: 0.25rem !important;
}


.z-bottom {
  z-index: -1 !important;
}

.z-base {
  z-index: 0 !important;
}

.z-context-menu {
  z-index: 999999 !important;
}

.z-modal {
  z-index: 9999999 !important;
}



.btn-primary:focus,
.btn-primary:active{
    box-shadow:none !important;
    outline:0px !important;
}

.popover {
    z-index: 10112; /* A value higher than 1010 that solves the problem */
}

.font-underline {
  text-decoration: underline;
}

.font-size-standard {
  font-size: 12px !important
}

.font-size-medium {
  font-size: 14px !important
}

.font-size-large {
  font-size: 16px !important
}

.slide-in-left {     
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: slideInLeft;    
}
 
@keyframes slideInLeft {
   0% {
      transform: translateX(-10px);
   }
   100% {
      transform: translateX(0);
   }
}

.fade-in-top {     
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: fadeInTop;    
}
 
@keyframes fadeInTop {
   0% {
      opacity: 0;
      transform: translateY(-10px);
   }
   100% {
      opacity: 1;
      transform: translateX(0);
   }
}

.fade-in-left {     
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: fadeInLeft;    
}
 
@keyframes fadeInLeft {
   0% {
      opacity: 0;
      transform: translateX(-10px);
   }
   100% {
      opacity: 1;
      transform: translateX(0);
   }
}

.fade-in-right {     
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: fadeInRight;    
}

@keyframes fadeInRight {
   0% {
      opacity: 0;
      transform: translateX(10px);
   }
   100% {
      opacity: 1;
      transform: translateX(0);
   }
}

.list-value .list-value-edit {
  display: none;
}

.list-value:hover .list-value-edit {
  display: inline;
}


.modal-xl {
  max-width: 90% !important;
}

.dropdown-hover:hover .dropdown-menu-hover {
    display: block;
    margin-top: 0; // remove the gap so it doesn't close
 }

.hover-border-theme:hover {
  border-color: var(--theme-primary) !important;
}

.hover-brighten {
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.hover-brighten:hover {
  filter: brightness(1.15);
  opacity: 1 !important;
}

.hover-hide:hover {
  opacity: 0.5 !important;
}

.hover-darken:hover {
  filter: brightness(0.9);
}



.fade-in {  
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.25s;
  opacity: 1;  
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 0.8;
	}
	100% {
		opacity: 1;
    }
}

.fade-out {
	animation-name: fadeOutOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
	animation-duration: 0.3s;
    opacity: 0;
}

@keyframes fadeOutOpacity {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
    }
}

.body * { 
  -webkit-transition: none !important; 
  -moz-transition: none !important; 
  -o-transition: none !important; 
  -ms-transition: none !important; 
  transition: none !important; 
} 

.cm-s-mdn-like.CodeMirror {
	background: none !important;
}

.CodeMirror {
  font-size: 13px !important;
}

.table th {
  border-top-style: none !important;
}


.CodeMirror-gutters {
  border-left-color: #00000000 !important;
}

.inner-shadow {
  box-shadow: inset 2px 2px 3px #00000022;
}

.drop-shadow {
  filter: drop-shadow(2px 2px 3px #00000022);
}

.shadow-any {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(2px 2px 3px #00000022);
}

.text-theme {
  color: var(--theme-primary) !important;
}

.border-theme {
  border-color: var(--theme-primary) !important;
}

.btn-theme {
  background-color: var(--theme-primary) !important;
  color: white !important;
}

.btn-fill {
  height: 100% !important;
  width: 100% !important;
  margin: 0px !important;
}

.card-header {
  padding: 10px;
  padding-top: 5px;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 0px;
}

.card-header-square {
  border-radius: 0px 0px 0px 0px !important;
}

.dropdown-menu {  
  position: absolute !important;
  z-index: 9999999 !important;
  padding-top: 5px !important;
  padding-bottom: 3px !important;
  border-radius: 0px 0px 6px 6px !important;
}

.dropdown-menu-dark {
  background-color: var(--theme-primary-gradient) !important;  
  border-radius: 0px;
  border: none;
}

.dropdown-item {
  padding-left: 5px !important;  
}

.dropdown-item-dark {
  color: white !important;
}

.dropdown-item-dark:hover {
  color: var(--theme-primary) !important;
}

.alert {
    border-radius: 6px !important;
}

.dropdown-toggle:hover {
  filter: brightness(150%);
}

.btn {
  border-radius: 4px !important;
  font-weight: bold;
  filter: drop-shadow(2px 2px 3px #00000022);
}

.btn:focus {
  //box-shadow: none;
}

top-left corner, 
top-right corner, 
bottom-right corner, 
bottom-left corner

.btn-square-down {
  border-radius: 4px 4px 0px 0px !important;
}

.btn-square {
  border-radius: 0px 0px 0px 0px !important;
}

.btn-square-up {
  border-radius: 0px 0px 4px 4px !important;
}

.btn-square-left {
  border-radius: 0px 4px 4px 0px !important;
}

.btn-square-right {
  border-radius: 4px 0px 0px 4px !important;
}

.btn-tab {
  border-radius: 4px 4px 0px 0px !important;
  font-weight: bold;
}

.btn-ol-success {
  border-color: var(--green) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--green) !important;
}

.btn-ol-success:hover {
  color: white !important;
}
.btn-ol-success:disabled {
  color: white !important;
}


.btn-ol-warning {
  border-color: var(--yellow) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--yellow) !important;
}
.btn-ol-warning:hover {
  color: black !important;
}
.btn-ol-warning:disabled {
  color: black !important;
}

.btn-ol-danger {
  border-color: var(--red) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--red) !important;
}
.btn-ol-danger:hover {
  color: white !important;
}
.btn-ol-danger:disabled {
  color: white !important;
}

.btn-ol-primary {
  border-color: var(--blue) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--blue) !important;
}
.btn-ol-primary:hover {
  color: white !important;
}
.btn-ol-primary:disabled {
  color: white !important;
}


.btn-ol-info {
  border-color: var(--info) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--info) !important;
}
.btn-ol-info:hover {
  color: white !important;
}
.btn-ol-info:disabled {
  color: white !important;
}

.btn-ol-secondary {
  border-color: var(--gray) !important;
  border-width: 1px !important;
  border-style: solid !important;
  background-color: #00000000;
  color:  var(--gray) !important;
}
.btn-ol-secondary:hover {
  color: white !important;
}
.btn-ol-secondary:disabled {
  color: white !important;
}





.btn-ghost {
  background-color: rgba(0,0,0, 0.2);
}

.static-table-head-row {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: white;
  border-top: 0px !important;
}

.dropdown-toggle::after {
  opacity: 0.5;
}

.dropdown-toggle:hover::after {
  opacity: 1;
}

.sidebar .nav-item .nav-link[data-toggle=collapse]::after {
  display: none;
}

.bg-theme-gradient-fadeout-h {
  background-image: linear-gradient(90deg, var(--theme-primary) 10%, #00000000 100%);
  background-size: cover;
}

.bg-gradient-secondary-darker {
  background-image: linear-gradient(180deg, var(--theme-primary) 10%, var(--theme-primary-gradient)  100%);
  background-size: cover;
}

.bg-secondary-darker {
  background-color: #3B3C55;
  background-size: cover;
}

.dropdown-menu {
  font-size: 3em;
  padding-top: 0px;
}

table {
  font-size: 12px;
}
.main-panel-bg {
  background-color:#FFFFFFAA;
}

.btn {
  padding-left: 10px;
  padding-right: 10px;
    border-radius: 30px !important;

}

.btn-slim {
  margin-top: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  height: 23px !important;
  border: none;


}

.dropdown-item {
  max-height: 20px;
  padding-top: 0px;
  font-size: 12px;
}

.badge {
  font-weight: normal;
}

.btn-warning {
  color: #333;
}

.badge-warning {
  color: #333;
}

.bg-warning  {
  color: #333;
}

.col-form-label-sm {
  margin-bottom: 0px;
  color: #546187;
}

.slim {
  max-height: 23px !important;
}

.form-control {

} 

.form-control-minimal {
  border-top: none !important;
  border-right: none !important;
  border-radius: 0px 4px 0px 4px !important;
  background-color: #ffffffbb;

}


.form-control-slim {
    max-height: 23px !important;
}

.input-group-prepend-slim {
  max-height: 26px !important;
  margin-top: 0px !important;

}

.input-group-slim {
  max-height: 23px !important;
}

.input-group-text {
  padding-left: 4px !important;;
  padding-right: 4px !important;;
}

.home-bg {
  background-color: #fff;
  background-image: linear-gradient(1deg,rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.75) 100%), url(/media/bg_light.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.card {
  border-radius: 6px 6px 0px 0px;
}

.card-body {
  border-radius: 0px !important;
}

.modal {
  -webkit-transition: none !important; 
  -moz-transition: none !important; 
  -o-transition: none !important; 
  -ms-transition: none !important; 
  transition: none !important; 
  //backdrop-filter: blur(3px);
  z-index: 999999;
}

.modal-backdrop {
  background-color: black;
  z-index: 999998;
}

.modal-dialog {
}

.modal-content {
}

.modal-body {
  border-radius: 0px !important;
}

.modal-header {
  border-radius: 0px !important;
}

.modal-footer {
  border-radius: 0px !important;
}

::-webkit-scrollbar:hover {
  background: #00000000;
}


::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  opacity: 0.5;
}

::-webkit-scrollbar-track {
  background: #00000000;
}

::-webkit-scrollbar-thumb {
  background: var(--theme-primary);
}

.sticky-table-header {
  position: sticky; 
  top: 0; 
  z-index: 1; 
}


::-webkit-scrollbar-thumb:hover {
  background: var(--theme-primary);
  filter: brightness(1.15);
}

.hide-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.bg-theme {
  background-color: var(--theme-primary)  ;
}

.navbar-theme {
  background-color: var(--theme-primary)  ;
  color: white;
}




pre {
  margin: 0 !important;
}


.spinner {
	margin: auto;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	box-shadow: 15px 15px var(--theme-primary), -15px 15px rgb(255,255,255), -15px -15px var(--theme-primary), 15px -15px rgb(255,255,255);
	animation: cssload-spin ease infinite 3s;
}

@keyframes cssload-spin {
	0%,
	100% {
		box-shadow: 15px 15px var(--theme-primary), -15px 15px rgb(255,255,255), -15px -15px var(--theme-primary), 15px -15px rgb(255,255,255);
	}
	25% {
		box-shadow: -15px 15px rgb(255,255,255), -15px -15px var(--theme-primary), 15px -15px rgb(255,255,255), 15px 15px var(--theme-primary);
	}
	50% {
		box-shadow: -15px -15px var(--theme-primary), 15px -15px rgb(255,255,255), 15px 15px var(--theme-primary), -15px 15px rgb(255,255,255);
	}
	75% {
		box-shadow: 15px -15px rgb(255,255,255), 15px 15px var(--theme-primary), -15px 15px rgb(255,255,255), -15px -15px var(--theme-primary);
	}
}

.slider {
  appearance: none; 
  height:        7px;
  border-radius: 5px;  
  background:    #dddddd;
  outline: none;
  transition: opacity .2s;
  cursor:        pointer; 
}

.slider:disabled {
  height:        4px;
  background:    #ddddddaa;
  cursor:        default;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width:         15px; 
  height:        15px; 
  border-radius: 10px; 
  opacity:       1;
  background:    var(--theme-primary); 
  cursor:        pointer; 
}

.slider::-webkit-slider-thumb:hover {
  opacity: 0.5;
}

.slider:disabled::-webkit-slider-thumb {
  opacity: 1;
  width:         12px; 
  height:        12px; 
  background: var(--secondary); 
  cursor: default;

}









