html,body {
    height: 100%
}
body {background:#f4f6f9}
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../plugins/fonts/glyphicons-halflings-regular.eot');
    src: url('../plugins/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../plugins/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.flash-message-container {
    position: fixed;
    width: 20%;
    z-index: 9999;
    right: 0px;
}

@media (max-width: 1200px){
    .flash-message-container{
        width: 33%;
        max-width:90%;
    }
}
@media (max-width: 768px){
    .flash-message-container{
        width:auto;
        max-width:90%;
    }
}

a, .page-link {color: #6698CA}
a:hover,.page-link:hover {color: #0054A6}

.alert {margin: 1rem;}
.flash-message-container .alert-dismissible {padding-right: 3rem;}
.flash-message-container .message {width:calc(100% - 30px); display:inline-block; font-weight: 400;}
.flash-message-container .close{opacity: .5;}
.flash-message-container .close, .flash-message-container .close:hover {color: #fff;}

.has-error input {
    border: 2px solid red;
}

.has-error .input-group-text {
    border-top: 2px solid red;
    border-right: 2px solid red;
    border-bottom: 2px solid red;
}

.has-error label {
    color: red;
}

.login-card-body .input-group .input-group-text, .register-card-body .input-group .input-group-text {
    width: 41px;
}

.fa:before {
    margin-left: auto;
    margin-right: auto;
}

.elevation-4 {
    box-shadow: 0 14px 7px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
}

.cursor-pointer {
    cursor: pointer;
    background-color: #FFFFFF;
    -webkit-transition: background-color 50ms linear;
    -ms-transition: background-color 50ms linear;
    transition: background-color 50ms linear;
}

.cursor-pointer:hover {
    /*background-color: rgba(0, 162, 145, 0.4) !important;*/
    -webkit-transition: background-color 50ms linear;
    -ms-transition: background-color 50ms linear;
    transition: background-color 50ms linear;
    border-radius: 0;
}

.c-pointer { cursor: pointer; }
.c-disabled { cursor: not-allowed; }

.tree .card {
    margin-bottom: 0px !important;
}

.main-header{overflow-x: auto;}
.main-footer{background:#f4f6f9; display: block; clear: both;}
.main-footer a{color:#212529;}
.main-footer a:hover{ text-decoration: underline }

.brand-link {
    line-height: 0.8;
    padding-top: 7px;
    border-radius: 12px;
    background: #FFFFFF;
    height: 3rem;
}
.brand-link .brand-image{
    max-height: 24px;
    transition: margin 500ms;
    margin-top: 3px;
    margin-left: 20px !important;
}
.brand-offset{padding: 5px 0 0 0}
.brand-link .brand{ width: 100%; transition: width 500ms; }
.sidebar-collapse .brand-link .brand{padding: 0px 8px; width: 52px; overflow: hidden;}
.sidebar-collapse .main-sidebar:hover .brand-link .brand{width:100%; overflow: show;}
.sidebar-collapse .brand-link .brand-image{ margin-left: 0px !important; width: 137px; margin-top: 9px; }

@keyframes sidebarArrowShow {
    from {opacity:0;}
    to { opacity:1;}
}

#lines {
    position: relative;
}

#lines .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, .7);
}

#lines .overlay > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000000;
    font-size: 30px;
}

@media (min-width: 768px) {
    .sensor-btns {
        min-width: 373px
    }
}

label:not(.form-check-label):not(.custom-file-label):not(.icheck-label) {
    padding-top: 6px;
}

.svg-graph {
  width: 100%;
  float: right;
  height: 150px;
}

.sidebar-black-primary {
  background-color: #343A40;
}
.sidebar-black-primary a{
  color:#C2C7D0 !important;;
}
.sidebar-black-primary .nav-item:hover>.nav-link, .sidebar-black-primary .nav-item>.nav-link:focus {
    background-color: rgba(255,255,255,.1)!important;
    color: #fff !important;
}

.sidebar-mini .logo-link{
  padding: 10px .5rem 9px !important;
  display: inline-block;
  width: 100%;
  border-bottom: solid 1px #4F5962;
}

.btn-remove {
    position: relative;
    float: right;
    color: darkgrey;
    background: lightgrey;
    border-radius: 30px;
    height: 21px;
    width: 21px;
    -webkit-transition: background-color 50ms linear;
    -ms-transition: background-color 50ms linear;
    transition: background-color 50ms linear;

    -webkit-transition: color 50ms linear;
    -ms-transition: color 50ms linear;
    transition: color 50ms linear;
}

.btn-remove:hover {
    background: #DC3545;
    color: white;
    -webkit-transition: background-color 50ms linear;
    -ms-transition: background-color 50ms linear;
    transition: background-color 50ms linear;

    -webkit-transition: color 50ms linear;
    -ms-transition: color 50ms linear;
    transition: color 50ms linear;
}

.btn-remove i {
    top: 5px;
    left: 6px;
    position: absolute;
    font-size: 11px;
}

.cart-items-container {
    max-height: 165px;
    overflow: auto;
}

.bg-lightgreen {
    background-color: lightgreen;
}

.bg-login{
    background: #e9ecef;
    margin-bottom: -1px;
}

.user-panel .info {
    color: white;
}

.progress-wrap {
    position: fixed;
    right: 25px;
    bottom: 25px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    content: '↑';
    text-align: center;
    line-height: 46px;
    font-size: 40px;
    color: #ECEDF3;
    left: 0px;
    top: -4px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    content: '↑';
    text-align: center;
    line-height: 46px;
    font-size: 40px;
    opacity: 0;
    background-image: linear-gradient(298deg, #FF001F, #FF001F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: -4px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: rgba(0, 0, 0, .4);
}

.progress-wrap svg.progress-circle path {
    stroke: rgba(0, 0, 0, .8);
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.nav-header {
    color:white;
}
.grey {
    color:grey;
}
.chart-container {
    position: relative;
    height: 185px;
}
.chart-title {
    font-size: 1.25rem;
}
.graphZoom .chart-container {
    height:400px;
}

.jqplot-title{
  text-align:left !important;
}

.graph-move{
  color: #808285;
  font-size: 35px;
  position: absolute;
  top: 35%;
  opacity:0.45;
  z-index:9;
  left:-11px;
}

.graph-move:hover{ opacity:1; color: #0056b3; }

.graph-move.up{
  left: auto;
  right:-11px;
}
.graph-block.resizing .apex-chart, .graph-block.resizing .chart {overflow:hidden;}
/*AjaxTable*/
.table {
    font-size: 14px;
}
.table td, .table th {
   padding:8px;
}
.table-grouped .fa-object-group {
    opacity: 0.45;
    color:#808285;
}
.filter-direction {
    float: right;
    margin-left:5px;
    color:#0054A6;
}
.sorting-sort{
    position: relative;
}
.sorting-sort-two-arrows-blend {
    color:#808285;
}
.sorting-sort-two-arrows-blend::before{
    font-family: 'Glyphicons Halflings';
    top: -12px;
    display: block;
    position: absolute;
    opacity: 0.45;
    content: "\e150";
}

.sorting-sort-amount-asc::before{
    font-family: 'Glyphicons Halflings';
    top: -12px;
    display: block;
    position: absolute;
    /*opacity: 0.45;*/
    content: "\e155";
}

.sorting-sort-amount-desc::before{
    font-family: 'Glyphicons Halflings';
    top: -12px;
    display: block;
    position: absolute;
    /*opacity: 0.5;*/
    content: "\e156";
}
.line-group {
    cursor: pointer;
    font-weight: bold;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0 );
}
/*AjaxTable end*/
.bg-grey {background: #f4f6f9!important;}
.bg-black {background: #000000!important;}

span.flag {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    height: 22px !important;
    width: 32px !important;
    opacity: 0.5;
}
span.flag.active{
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}
span.flag:hover{
    opacity: 1;
}
.line-title {
    color: black;
    text-transform: uppercase;
    text-decoration: underline;
}

.line-title:hover {
    background-color: rgba(0, 162, 145, 0.4) !important;
    -webkit-transition: background-color 50ms linear;
    -ms-transition: background-color 50ms linear;
    transition: background-color 50ms linear;
    cursor: pointer;
}

.line-title:hover:after {
    font-family: 'FontAwesome';
    content: "\f044";
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 44px;
    opacity: .4;
}

.one-line{
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
}

#oeeGraph .jqplot-point-label{color:#ffffff;}

.user-panel i.fa {
  height: auto;
  width: 2.1rem;
}
.user-panel .image {
    width: 40px;
    padding-top: 5px;
}

.main-sidebar .logo-link > img{
  height: 37px;
  width: auto;
  max-width: none;
}

.main-sidebar .logo-link .brand-text > img{
  max-height: 28px;
}

.stacked-bar-graph {
    /*border: 1px solid rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.stacked-bar-graph .stacked-bar-title {
    /*background: rgba(0, 0, 0, 0.05);*/
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 0.4rem 1rem;
}
.stacked-bar-graph .bar-item {
    color: white;
    height: 35px;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1;
}
.stacked-bar-graph .bar-item.working {
    background: #28a745;
}
.stacked-bar-graph .bar-item.shutdown {
    background: #dc3545;
}
.stacked-bar-graph .bar-item.unknown {
    color: #BABABA;
    font-size: 1.5rem;
    text-align: center;
}
.stacked-bar-graph .bar-item .title {
    
}
.stacked-bar-graph .bar-item .title,
.stacked-bar-graph .bar-item .value {
    white-space: nowrap;
    overflow: hidden;
    padding-left: 8px;
    padding-right: 8px;
}
#machineStatus .oeeSummary {
    background: rgba(0,0,0,0.3);
    height: 150px;
    font-size: 54px;
}
#machineStatus .oeeSummary span {
    white-space: nowrap;
    font-weight: bold;
}
#machineStatus .card.card-success {
    box-shadow: 0 0 1px #28a745, 0 1px 3px #28a745;
}
#machineStatus .card.card-danger {
    box-shadow: 0 0 1px #dc3545, 0 1px 3px #dc3545;
}
#machineStatus .card.card-warning {
    box-shadow: 0 0 1px #ffc107, 0 1px 3px #ffc107;
}
#machineStatus #machineStatusInfo {
    cursor: pointer;
}
#machineStatus #machineStatusInfo i {
    font-size: 1.3rem;
}
.close-popover {
    cursor: pointer;
}

.vertical-center{
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    height: 85vh;
}

#dashboard-lines .production-line{
-webkit-box-shadow: inset 0px 9px 0px 0px rgb(0 0 0 / 17%);
    -moz-box-shadow: inset 0px 9px 0px 0px rgba(0,0,0,0.17);
    box-shadow: inset 0px 0px 9px 0px rgb(0 0 0 / 17%);
}

#dashboard-machines .machine-title{margin-bottom:15px}
#dashboard-machines .machine-title p{padding:15px 0}

@media (min-width: 768px){
  #dashboard-machines .w-limit{
    width: calc(100% - 75px);
  }
  #dashboard-machines .machine-title{margin-bottom:auto}
  #dashboard-machines .machine-title .h2{min-height: 230px;}
  #dashboard-machines .machine-title p{position: absolute; top: 10px; left: 36px; transform-origin: 0 0; transform: rotate(90deg); max-width: 209px; padding:0px}

  .wrapper .content-wrapper{
    padding-left:10px;
  }

}
/** Filter form */

#filterForm label:not(.checkbox-label),
#graphForm label:not(.checkbox-label){
    position:absolute;
    left:9px;
    top:-11px;
    font-size: 12px;
    font-weight: 500;
    z-index: 9;
    line-height: 10px;
    padding-left:3px;
    color: #939BA2;
}
/*.card #filterForm label,
.card #graphForm label{
background:#fff;
}*/

#filterForm label/*:not(.input-group-label)*/:after,
#graphForm label:after {
    content: "";
    height: 1px;
    width: calc(100% + 3px);
    position: absolute;
    background: #fff;
    bottom: 4px;
    left: 0;
    z-index: -1;
}

@media (min-width: 367px) {
    .chart-title {
        font-size: 1.4rem;
        /*margin-bottom: -20px;*/
        padding-right: 35px;
    }
}
@media (max-width: 575px) {
    .card-header > .card-tools, {margin-right: 0px;}
    .card-header>.card-tools .pagination {float: right; margin-right: 2px;}
}
@media (min-width: 576px) {
    #filterForm.limit-width input, #filterForm.limit-width select {max-width: 177px}
    .form-inline select.form-control.select-responsive{width:150px;}
    .form-inline select.form-control.select-responsive-wider{width:180px;}
}
@media (max-width: 992px) {
    .progress.responsive,.progress.responsive .progress-bar{height:15px !important;}
}


.table-responsive:after,
.table-responsive:before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    pointer-events: none;
    width: 20px;
    height: 100%;
}

.file_input input[type=file]{
    width:0px; height:0px; display: contents;
}
.file_input label{
    margin-left:-1px;
}

.login-page{
  /*min-height: 100vh;*/
  min-height:325px;
  height: calc(100vh - 59px);
  /*height:auto;*/
  align-items: start;
}

.login-page .login-box .card{
  border: solid 1px #00a4c5;
}

.login-page .login-box .card-body{
  padding: 30px;
}

@media (max-width: 576px){
  .login-page .login-box,.login-page .register-box{
    width:100%;
  }
  .select2-input .select2{width:100% !important; max-width: 100% !important}
}
@media (min-width: 576px){
  .login-page .login-box,.login-page .register-box{
    width:390px;
  }
  .position-md-absolute {position: absolute !important;}
  .range-input{min-width:258px}
  .select2-input .select2{min-width:200px; max-width:250px}
}

.box-rounded{
  border-radius: 20px; 
  background:#fff;
} 
.box-bordered{
  border: solid 7px #EA2127;
}

.line-icon:before { 
  content:''; 
  width: 2.5vw;
  height: 2vw; 
  display:inline-block; 
  background: url("../img/shutdwn-icons.png") 0px 2px no-repeat;
  background-size: auto 100%;
  margin-right:10%;   
}

.title-shadow{position:relative}
.title-shadow:after {
  content:"";
  position:absolute;
  width:100%;
  height:12px;
  bottom:6px;
  left:0px;
  z-index:0;
  transform:scale(.9);
  background: url("../img/shadow.jpg") 0px 0px no-repeat;
  background-size: 100% auto;
}

.line-icon.cnt:before{ background-position: -2.6vw 2px;}
.line-icon.time:before{background-position: -5vw 2px;}

.login-page .login-box .card,
.login-page .login-box .card-body{
  border-radius:5px;
  background-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px){
  .box-shutdown{font-size:22px !important;}
  .line-icon:before { 
    content:''; 
    width: 34px;
    height: 30px; 
  }
  .line-icon.cnt:before{ background-position: -35px 2px;}
  .line-icon.time:before{background-position: -72px 2px;}
}
@media (max-width: 992px) {
    .login-page .login-box{margin-left:auto; margin-right:auto;}
}
.login-page .input-group.has-error .input-group-append{
  height:38px;
}

.bootstrap-datetimepicker-widget {
    z-index: 2000;
}

.select2-container--default .select2-selection--single{
  height: 37px !important;
  border: 1px solid #ced4da !important;
}
.select2-sm .select2-container--default .select2-selection--single {height: 31px; padding-top: 3px;}

.select2-container--default .select2-selection--multiple .select2-selection__choice{ color:#343a40; }

.text-black{color: #000000;}

.overlay {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 990;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
}

.overlay>.fa,
.overlay>.fas,
.overlay>.far{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

.nav-sidebar#machineList > li.nav-item:nth-child(12n+1) > a > i.nav-icon {color:#0074D9;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+2) > a > i.nav-icon  {color:#7FDBFF;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+3) > a > i.nav-icon {color:#39CCCC;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+4) > a > i.nav-icon {color:#3D9970;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+5) > a > i.nav-icon {color:#2ECC40;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+6) > a > i.nav-icon {color:#01FF70;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+7) > a > i.nav-icon {color:#FFDC00;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+8) > a > i.nav-icon {color:#FF851B;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+9) > a > i.nav-icon {color:#FF4136;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+10) > a > i.nav-icon {color:#85144b;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+11) > a > i.nav-icon {color:#7FDBFF;}
.nav-sidebar#machineList > li.nav-item:nth-child(12n+12) > a > i.nav-icon {color:#DDDDDD;}

#sortable .ui-state-default {
    cursor: all-scroll;
    /*border-bottom: 1px solid black;
    padding: 15px;*/
    font-size: 18px;
}
#sortable .ui-state-default:hover {
    background-color:lightgray;
}
.ui-state-highlight {
    height:58px;
    width:100%;
    background:lightgrey;
}
.red {
    color:red;
}

.bg-light-grey{
    background: #d2d6de;
    border: 1px solid #d2d6de;
    color: #444;
}
.temp-warning {
    color:red;
    font-weight: bold;
}
.temp-warning>div {
    margin-left: 18px;
}
.temp-warning:before {
    font-family: "Font Awesome 5 Free";
    content:"\f071";
    position:absolute;
}

.production .background{
  background-image: url("../img/pd-background.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  width:100%;
  height:calc(100% / 5 * 3 );
  position:absolute;
  z-index: -1;
}

.production .background.danger::before{
  content: "";
  width:100%;
  height:100%;
  background:#ED1C24;
  position: absolute;
  opacity: 0.65;
}

.production .background.opacity{
  opacity:0.5
}

.production .production-info{
  padding:35px 45px;
  margin:6% 8% 0 6%;
  box-sizing: border-box;
  resize: horizontal;
  background:#fff;
  border-radius: 30px;
  border: solid 7px #EA2127;
  //height: calc(100%/2);
}
.production-graph{
  width:280px;
  height:280px;
}

@media (max-height: 850px){
  .production-graph,
  .production-graph .tui-chart.tui-pie-chart{
      width:135px !important;
      height:135px !important;
  } 
}

.production .h1.xl{
    font-size:115pt;
    line-height:115pt;
    font-weight: 700;
}
.production .h2.xl{
    font-size:75px;
    line-height:75px;
    font-weight: 700;
}

.production .h3.xl{
    font-size:60px;
    line-height:60px;
    font-weight: 700;
}

.production .h4.xl{
    font-size:43px;
    line-height:43px;
}

.production .meter,
.production .hand{
  background-image: url("../img/pd-meter.png");
  background-repeat: no-repeat;
}

.production .meter{
  width: 367px;
  height: 288px;
  position: relative;
  color:#fff;
  display:inline-block;
}

.production .meter .text{
  font-size:60pt;
  font-weight: 700;
  margin-top: 24%;
  line-height: 73pt;
  display: inline-block;
}

.production .meter .text small{
  font-size: 35pt;
}

.production .meter .hand{
  width: 370px;
  height: 40px;
  background-position: 0 -289px;
  position: absolute;
  top: 176px;
  transform: rotate(-25deg);
  transition: transform 1s ease-in-out;
}

.production .meter.meter-machine {
    /*zoom:0.49;*/
    transform: scale(0.49);
    transform-origin: 0% 0;
    min-width:370px;
}
.production .meter-box {max-width:181px; max-height:150px; margin:auto; display:inline-flex}

.production-footer{
  max-width:100%;
}

@media (max-width: 1200px){
    .production .h1.xl{
        font-size:35px;
        line-height: 35pt;
    }
    
    .production .h2.xl{
        font-size:32px;
        line-height: 18pt;
    }
    
    .production .h2.xl{
        font-size:29px;
        line-height: 18pt;
    }
    
    .production .h4.xl{
        font-size:26px;
        line-height: 16pt;
    }
    
    .production .meter{
        /*zoom: 0.65;*/
        transform: scale(0.65);
    }
}

@media (max-width: 768px){
    .production .h1.xl{
        font-size:20px;
        line-height: 20pt;
    }
    
    .production .h2.xl{
        font-size:18px;
        line-height: 18pt;
    }
    
    .production .h3.xl{
        font-size:16px;
        line-height: 16pt;
    }
    
    .production .h4.xl{
        font-size:14px;
        line-height: 14pt;
    }
    .production .meter{
        /*zoom: 0.5;*/
        transform: scale(0.5);
    }
    .product-workflow-step{
      min-width:auto;
    }
    .production-footer .logo{
      max-width:190px;
    }
    .production-footer .progress-box{
      padding-left:15px;
    }
}

.product-workflow-step{
  min-width:300px;
}

.accordion>.card:first-child>.card-header {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.accordion.collapsed>.card:last-child>.card-header {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.accordion-button{padding-left:30px}
.accordion-button::before{
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    position:absolute;
    left:12px;
}
.accordion-button.collapsed::before {content: "\f078";}
.accordion-button::before {content: "\f077";}
.accordion>.card {overflow: visible;}
.sensor.main .card-header{background-color: rgba(0,0,0,.03)}

.tact-calculator{position:relative}
.tact-calculator .card{
    position: absolute;
    width: 400px;
    max-width:400px;
    z-index: 9;
    top: 10px;
}
.tact-calculator .card:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #EEEEEE;
    border-top: 0;
    position: absolute;
    top: -7px;
    left: 15px;
}
.tact-calculator .card::after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-top: 0;
    position: absolute;
    top: -6px;
    left: 16px;
}

@media (min-width: 768px){
  .production-footer .progress-box{
    padding-left:5%;
  }

}
.workflow-step-title {
    position: absolute;
    font-size: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    -webkit-transform: translate(-50%, -50%);
    cursor: default;
}

.body-bcg{
  background-image: url("../img/bg/1.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width:100%;
  display: inherit;
}

.body-bcg .login-page, .body-bcg .register-page{
  background-color: rgba(0, 0, 0, 0.5);
}

.body-bcg .bg-login{
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-active{background-color: rgba(0, 0, 0, 0.2)};

}

.api-key {
    background-color: lightgray;
    padding: 5px;
    border-radius: 5px;
    box-shadow: grey 0px 0px 5px;
    overflow:hidden;
    white-space: nowrap;
    cursor: pointer;
}
.api-key-button {
    position: absolute;
    right: 15px;

    padding: 5px;
    font-size: 10px;
    border-radius: .25rem;
    cursor: pointer;
    top: 5px;
    color: white;
}
.api-key-button.delete {
    background-color: #dc3545;
}
.api-key-button.generate {
    background-color: #28a745;;
}
.api-url {
    padding: 10px;
    background-color: black;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin: 15px;
}
.api-response {
    min-height: 50px;
    position: relative;
    padding: 10px;
    background-color: lightgray;
    border-radius: 5px;
    margin: 15px;
    overflow: auto;
}
.post-data-help {
    position: absolute;
    top: 26px;
    right: 10px;
    color: white;
    background-color: lightgrey;
    padding: 3px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
}
.success {
    background-color: #28a745;
}
.error {
    background-color: #dc3545;
}
.text-danger-blink {
  color: #DC3545;
  animation: danger-blinker 2s linear infinite;
}

.lh-15{line-height:15px}

@keyframes danger-blinker {  
  50% { opacity: 0.1; }
}

@media (max-width: 576px) {
    .api-key-button {
        top: 5px;
    }
}
.ip-span {
  position:relative;
  top: 7px;
  min-width: 140px;
  display: inline-block;
}
.ip-ip {
  background-color: lightgray;
  padding: 5px;
  border-radius: 5px;
  box-shadow: grey 0px 0px 5px;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active, .page-item.active .page-link, .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background: #0054A6;
}
.page-item.active .page-link {
    border-color: #0054A6;
}

.breadcrumb .breadcrumb-item a{color: #0054A6;}
.breadcrumb .breadcrumb-item a:hover{text-decoration:underline; color: #0054A6;}

.doubleScroll-scroll-wrapper, .double-scroll{ margin-bottom:5px}

/* width */
/*::-webkit-scrollbar { width: 12px; height: 12px; }*/

/* Track */
/*::-webkit-scrollbar-track { box-shadow: inset 0 0 5px grey; border-radius: 6px; }*/

/* Handle */
/*::-webkit-scrollbar-thumb { background: rgba(108, 117, 125, 0.5); opacity: 0.5; border-radius: 6px;}*/

/* Handle on hover */
/*::-webkit-scrollbar-thumb:hover { background: #5a6268; }*/

/** Stopky **/
/*
.stopwatch .stopwatch-bg{
    max-height:54vh;
 }
 .stopwatch .stopwatch-hand{
    left: 0;
    right: 0;
    top:15%;
    margin-left: auto;
    margin-right: auto;
    width:80px;
    height: 80%;
    z-index:2;
    background: url("../img/stopwatch-hand.png") 0px 2px no-repeat;
    background-position-x: center;
    background-size: auto 100%;
    display:none;
 }

 .stopwatch .stopwatch-state{
    width:80%;
    height:80%;
    border-radius:50%;
    top:16%;
    right:10%;
    position:absolute;
    z-index:0;
 }*/

#itemTable thead th span {
    /*white-space: nowrap;*/
}
 footer .copyright{font-weight: normal;}

/**--Stylovani pro IE 11-----------------------------------------------------**/
/*_:-ms-fullscreen, :root body { background: blue; }*/
_:-ms-fullscreen, :root .login-page .login-box{
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left:0px;
}

_:-ms-fullscreen, :root .productfruits--pfbutton-ico-question-mark{
    background: -3px 8px transparent url("../img/sprite.png") no-repeat;
}

/*_:-ms-fullscreen, :root .productfruits--pfbutton-modal,
_:-ms-fullscreen, :root .productfruits--pfbutton-modal-title-holder,*/
_:-ms-fullscreen, :root .productfruits--pfbutton-modal-title:before{
    background: transparent url("../img/sprite.png") no-repeat !imporant;
}

_:-ms-fullscreen, :root .productfruits--pfbutton-modal-closebtn{
    /*background: transparent no-repeat !imporant;*/
    background-color: #F44336 !imporant;
    background-image: url('../img/sprite.png')!imporant;
    background-position: -5px 1px;
    width:50px !important;
    height:50px !important;
}
