:root {
  --gutter-x: 1.5rem;
  --gutter-y: 0;
}

*,
::after,
::before {
 box-sizing:border-box
}
.row > * {
 flex-shrink:0;
 width:100%;
 max-width:100%;
 padding-right:calc(var(--gutter-x) * .5);
 padding-left:calc(var(--gutter-x) * .5);
 margin-top:var(--gutter-y)
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--gutter-y));
  margin-right: calc(-.5 * var(--gutter-x));
  margin-left: calc(-.5 * var(--gutter-x));
}

@media (min-width: 574px) {
  .col-sm-auto {
	flex:0 0 auto;
	width:auto
   }
   .col-sm-1 {
	flex:0 0 auto;
	width:8.33333333%
   }
   .col-sm-2 {
	flex:0 0 auto;
	width:16.66666667%
   }
   .col-sm-3 {
	flex:0 0 auto;
	width:25%
   }
   .col-sm-4 {
	flex:0 0 auto;
	width:33.33333333%
   }
   .col-sm-5 {
	flex:0 0 auto;
	width:41.66666667%
   }
   .col-sm-6 {
	flex:0 0 auto;
	width:50%
   }
   .col-sm-7 {
	flex:0 0 auto;
	width:58.33333333%
   }
   .col-sm-8 {
	flex:0 0 auto;
	width:66.66666667%
   }
   .col-sm-9 {
	flex:0 0 auto;
	width:75%
   }
   .col-sm-10 {
	flex:0 0 auto;
	width:83.33333333%
   }
   .col-sm-11 {
	flex:0 0 auto;
	width:91.66666667%
   }
   .col-sm-12 {
	flex:0 0 auto;
	width:100%
   }
	  
  .col-sm-1  div[class^="QIQIBoxSet"] {
	font-size:.08em;
	}
  .col-sm-2  div[class^="QIQIBoxSet"] {
	font-size:.16em;
	}
  .col-sm-3  div[class^="QIQIBoxSet"] {
	font-size:.25em;
	}
  .col-sm-4  div[class^="QIQIBoxSet"] {
	font-size:.33em;
	}
  .col-sm-5  div[class^="QIQIBoxSet"] {
	font-size:.41em;
	}
  .col-sm-6  div[class^="QIQIBoxSet"] {
	font-size:.5em;
	}
  .col-sm-7  div[class^="QIQIBoxSet"] {
	font-size:.58em;
	}
  .col-sm-8  div[class^="QIQIBoxSet"] {
	font-size:.66em;
	}
  .col-sm-9  div[class^="QIQIBoxSet"] {
	font-size:.75em;
	}
  .col-sm-10  div[class^="QIQIBoxSet"] {
	font-size:.83em;
	}
  .col-sm-11  div[class^="QIQIBoxSet"] {
	font-size: .91em;
	}
  .col-sm-12  div[class^="QIQIBoxSet"] {
	font-size:1em;
	}
  div[class^="col-sm-"] div[class^="QIQIBoxSet"] a {
	font-size:inherit;
	}
}

.switch-button input {
  opacity: 0;
  width: 0;
  height: 0;
  display: none !important;
}
.switch-button .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch-button .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 16px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch-button input:checked + .slider {
  background-color: #e97800;
}
.switch-button input:focus + .slider {
  box-shadow: 0 0 1px #e97800;
}
.switch-button input:checked + .slider:before {
  -webkit-transform: translateX(-13px);
  -ms-transform: translateX(-13px);
  transform: translateX(-13px);
}
.switch-button .slider.round {
  border-radius: 34px;
}
.switch-button .slider.round:before {
  border-radius: 50%;
}
.qi-user-info {
    position:relative;
}

#lightbox .switch-list-content ul.switch-list li label.switch-button {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 24px;
  /* Rounded sliders */
}
.switch-button input {
  opacity: 0;
  width: 0;
  height: 0;
  display: none !important;
}
.switch-button .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch-button .slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 24px;
  top: 0px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch-button input:checked + .slider {
  background-color: #e97800;
}
.switch-button input:focus + .slider {
  box-shadow: 0 0 1px #e97800;
}
.switch-button input:checked + .slider:before {
  -webkit-transform: translateX(-24px);
  -ms-transform: translateX(-24px);
  transform: translateX(-24px);
}
.switch-button .slider.round {
	Border-radius: 34px;
}
.switch-button .slider.round:before {
  border-radius: 50%;
}
.switch-list-content ul{
    list-style:none;
}

.switch-list-content ul li.my_switch_sets {
    display: flex;
    width:80%;
	justify-content: space-between;
}



#wrapper div#header, 
#wrapper div.header-menu-area, 
#wrapper div#mainNavigation1, 
#wrapper div.sidebar3, 
#wrapper div.current-component div.inner-image{
    box-sizing:unset;
}

div#mainNavigation1 {
    color:white;
}

div#current-component {
    overflow-y: auto
}

section#widget-container div[class*="col-"] .head{
    justify-content: space-between;
}

div.qi_drop_box {
    position:relative;
    top:0;
    right:0;
}

div.qi_drop_box ul {
    display:none;
}

section#qi .at, 
section#qi .at .w,
.jk_audit .at,
.jk_audit .at .w
{
    display: inline-block;
}

.qi_drop_box.active .qi_drop_box_ul.qi-all,
.jk_audit .qi_drop_box.active .qi_drop_box_ul.qi-all {
    top:25px !important;
    display: flex;
    flex-direction: column;
    height: inherit;
    justify-content: center;
    border: 1px solid orange;
}

.drop_box_ul.qi-all , .drop_box .drop_box_ul::after{
  position:absolute; 
  left: 10px; 
  top: 20px; 
  width: inherit; 
  height: inherit; 
  background: white; 
}

.btn-group.jk_audit {
    width:100%;
    justify-content:space-evenly;
}

.jk_audit {
	align-items: center;
	display: flex;
	border-bottom: 1px solid #f2f1f4;
	margin: 0 -20px;
	padding: 0 20px 15px 20px;
}

.jk_audit .qi-all {
	position: absolute;
	left: 62px;
	right: unset;
	top: 62px;
	background-color: white;
	box-shadow: 0px 5px 38px 0px rgba(0, 0, 0, 0.1);
	width: 213px;
	border-radius: 15px;
	z-index: 9;
	padding: 15px 0;
	list-style: none;
}

.jk_audit .drop_box .drop_box_ul::after {
	content: unset;
	border: unset;
	position: unset;
	top: unset;
	left: unset;
	margin: unset;
	right: unset;
}

.jk_audit .qi-all .at {
	width: 100% !important;
	padding: 0 10px 0 10px;
}

.jk_audit .qi_drop_box.active .qi-all {
	position: absolute;
	left: unset;
	right: -22px;
	top: 62px;
	background-color: white;
	box-shadow: 0px 5px 38px 0px rgba(0, 0, 0, 0.1);
	width: 213px;
	border-radius: 15px;
	z-index: 9;
	padding: 15px 0;
	list-style: none;
}

.jk_audit .qi-all h3 {
	font-weight: 800;
	font-size: 16px;
	text-align: center;
    color:black;
    z-index:8;
}

.jk_audit .qi-all .w {
	background-color: #f0eff3;
	border-radius: 3px;
	padding: 15px 15px 15px 10px;
	margin: 5px;
	color: #898989;
	font-size: 11px;
}

.jk_audit .qi-all .w25 {
	width: 19%;
}
.jk_audit .qi-all .w33 {
	width: 28%;
}
.jk_audit .qi-all .w50 {
	width: 44%;
}
.jk_audit .qi-all .w66 {
	width: 56%;
}
section#qi .qi-all .w66 {
  width: 56%;
}
.jk_audit .qi-all .w75 {
	width: 74%;
}
section#qi .qi-all .w75 {
  width: 74%;
}
.jk_audit .qi-all .w100 {
	width: 96%;
}

.switch-list-content ul li{
      margin:0 0 3px 0;
      border: solid orange;
}

.switch-list-content ul li:nth-child(odd) {
      border-width:1px 0px 0px 0px;
      border-radius: 5px 5px 0px 0px;
}

.switch-list-content ul li:nth-child(even) {
      border-width:0px 0px 1px 0px;
      border-radius: 0px 0px 5px 5px;
}

[class ^="bm-status"] {
	background-size: contain;
	background-repeat: no-repeat;
	background-color: gray;
	border: 1px solid black;
	border-radius: 1em;
	overflow: hidden;
	height: 1em;
	display:block;
}

.bm-status-green {
	background-color: green;
}

.bm-status-yellow {
	background-color: yellow;
}

.bm-status-red {
	background-color: red;
}

div[class^="QIQIBoxGroup"] {
	display: flex;
	flex-direction: row;
	background: rgba(255,255,255,0.75);
	max-width: 100%;
	overflow: auto;
	max-height: 250px;
	font-size: 1.0em;
}

div[class^="QIQIBoxSet"] {
	margin: 1em;
	padding: 1em;
	overflow: auto;
	border: 1px solid black;
	border-radius: 2em;
	
}

div[class^="QIQIBoxSet0"] > table > tbody > tr  > td:first-child {
	display:flex;
}

.QIQIBoxSet-BM-Display table td{
	height: 1em !important;
	margin: .5em;
	
}

.sensor_historie .row-1 .col-sm-6 .custom-table-responsive {
	max-height: 20vh;
	overflow-x: hidden;
	overflow-y: auto;
}

div#GISQIBoxSetLocked {
	overflow: hidden;
}

div.qi-refresh {
	background-image: url("images/reload.png");
	background-size:contain;
	height: 16px;
	width: 16px;
}


.bm-blink-status {
    -webkit-animation: pulsate 1s linear infinite;
    -moz-animation: pulsate 1s linear infinite;
    animation: pulsate 1s linear infinite;
}

@-webkit-keyframes pulsate {
    0% {filter: brightness(100%)}
    25% {filter: brightness(50%)}
    50% {filter: brightness(100%)}
    75% {filter: brightness(50%)}
    100% {filter: brightness(100%)}
}
@-moz-keyframes pulsate {
    0% {filter: brightness(100%)}
    25% {filter: brightness(50%)}
    50% {filter: brightness(100%)}
    75% {filter: brightness(50%)}
    100% {filter: brightness(100%)}
}
@keyframes pulsate {
    0% {filter: brightness(100%)}
    25% {filter: brightness(50%)}
    50% {filter: brightness(100%)}
    75% {filter: brightness(50%)}
    100% {filter: brightness(100%)}
}
