.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}

.s-PermissionCheckEditor {
  min-height: 450px;
}

.text-normal {
  font-weight: normal;
}

.quick-filter-item input {
  position: relative;
  padding-top: 4px;
  padding-bottom: 4px;
  margin: 0 6px;
}

.s-flex-fit {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.s-LaborRateHistoryShowDialog .modal-content {
    height: 400px !important;
}

.slick-header-right span.slick-column-name {
  float: right;
}

.quick-filters-bar {
  border: 1px solid #e7e7e7;
  background-color: #f0f3f5 !important;
  padding: 2px 8px 0px 8px;
  border-radius: 4px;
}

#DivMultiItemEl .grid-container .slick-viewport {
    height: 300px !important;
}

.box {
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

  .box.box-primary {
    border-top-color: #3c8dbc;
  }

  .box.box-info {
    border-top-color: #00c0ef;
  }

  .box.box-danger {
    border-top-color: #dd4b39;
  }

  .box.box-warning {
    border-top-color: #f39c12;
  }

  .box.box-success {
    border-top-color: #00a65a;
  }

  .box.box-default {
    border-top-color: #d2d6de;
  }

  .box.collapsed-box .box-body,
  .box.collapsed-box .box-footer {
    display: none;
  }

  .box .nav-stacked > li {
    border-bottom: 1px solid #f4f4f4;
    margin: 0;
  }

    .box .nav-stacked > li:last-of-type {
      border-bottom: none;
    }

  .box.height-control .box-body {
    max-height: 300px;
    overflow: auto;
  }

  .box .border-right {
    border-right: 1px solid #f4f4f4;
  }

  .box .border-left {
    border-left: 1px solid #f4f4f4;
  }

  .box.box-solid {
    border-top: 0;
  }

    .box.box-solid > .box-header .btn.btn-default {
      background: transparent;
    }

    .box.box-solid > .box-header .btn:hover,
    .box.box-solid > .box-header a:hover {
      background: rgba(0, 0, 0, 0.1);
    }

    .box.box-solid.box-default {
      border: 1px solid #d2d6de;
    }

      .box.box-solid.box-default > .box-header {
        color: #444;
        background: #d2d6de;
        background-color: #d2d6de;
      }

        .box.box-solid.box-default > .box-header a,
        .box.box-solid.box-default > .box-header .btn {
          color: #444;
        }

    .box.box-solid.box-primary {
      border: 1px solid #3c8dbc;
    }

      .box.box-solid.box-primary > .box-header {
        color: #fff;
        background: #3c8dbc;
        background-color: #3c8dbc;
      }

        .box.box-solid.box-primary > .box-header a,
        .box.box-solid.box-primary > .box-header .btn {
          color: #fff;
        }

    .box.box-solid.box-info {
      border: 1px solid #00c0ef;
    }

      .box.box-solid.box-info > .box-header {
        color: #fff;
        background: #00c0ef;
        background-color: #00c0ef;
      }

        .box.box-solid.box-info > .box-header a,
        .box.box-solid.box-info > .box-header .btn {
          color: #fff;
        }

    .box.box-solid.box-danger {
      border: 1px solid #dd4b39;
    }

      .box.box-solid.box-danger > .box-header {
        color: #fff;
        background: #dd4b39;
        background-color: #dd4b39;
      }

        .box.box-solid.box-danger > .box-header a,
        .box.box-solid.box-danger > .box-header .btn {
          color: #fff;
        }

    .box.box-solid.box-warning {
      border: 1px solid #f39c12;
    }

      .box.box-solid.box-warning > .box-header {
        color: #fff;
        background: #f39c12;
        background-color: #f39c12;
      }

        .box.box-solid.box-warning > .box-header a,
        .box.box-solid.box-warning > .box-header .btn {
          color: #fff;
        }

    .box.box-solid.box-success {
      border: 1px solid #00a65a;
    }

      .box.box-solid.box-success > .box-header {
        color: #fff;
        background: #00a65a;
        background-color: #00a65a;
      }

        .box.box-solid.box-success > .box-header a,
        .box.box-solid.box-success > .box-header .btn {
          color: #fff;
        }

    .box.box-solid > .box-header > .box-tools .btn {
      border: 0;
      box-shadow: none;
    }

    .box.box-solid[class*='bg'] > .box-header {
      color: #fff;
    }

  .box .box-group > .box {
    margin-bottom: 5px;
  }

  .box .knob-label {
    text-align: center;
    color: #333;
    font-weight: 100;
    font-size: 12px;
    margin-bottom: 0.3em;
  }

  .box > .overlay,
  .overlay-wrapper > .overlay,
  .box > .loading-img,
  .overlay-wrapper > .loading-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .box .overlay,
  .overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
  }

    .box .overlay > .fa,
    .overlay-wrapper .overlay > .fa {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -15px;
      margin-top: -15px;
      color: #000;
      font-size: 30px;
    }

    .box .overlay.dark,
    .overlay-wrapper .overlay.dark {
      background: rgba(0, 0, 0, 0.5);
    }

.box-header:before,
.box-body:before,
.box-footer:before,
.box-header:after,
.box-body:after,
.box-footer:after {
  content: " ";
  display: table;
}

.box-header:after,
.box-body:after,
.box-footer:after {
  clear: both;
}

.box-header {
  color: #444;
  display: block;
  padding: 10px;
  position: relative;
}

  .box-header.with-border {
    border-bottom: 1px solid #f4f4f4;
  }

.collapsed-box .box-header.with-border {
  border-bottom: none;
}

.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion,
.box-header .box-title {
  display: inline-block;
  font-size: 16px;
  margin: 0;
  line-height: 1;
}

  .box-header .box-title a {
    text-decoration: none !important;
  }

.box-header .tool-button {
    background-color: white !important;
}
.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion {
  margin-right: 5px;
}

.box-header > .box-tools {
  position: absolute;
  right: 10px;
  top: 5px;
}

  .box-header > .box-tools [data-toggle="tooltip"] {
    position: relative;
  }

  .box-header > .box-tools.pull-right .dropdown-menu {
    right: 0;
    left: auto;
  }

.btn-box-tool {
  padding: 5px;
  font-size: 12px;
  background: transparent;
  color: #97a0b3;
}

  .open .btn-box-tool,
  .btn-box-tool:hover {
    color: #606c84;
  }

  .btn-box-tool.btn:active {
    box-shadow: none;
  }

.box-body {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 10px;
}

.no-header .box-body {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.box-body > .table {
  margin-bottom: 0;
}

.box-body .fc {
  margin-top: 5px;
}

.box-body .full-width-chart {
  margin: -19px;
}

.box-body.no-padding .full-width-chart {
  margin: -9px;
}

.box-body .box-pane {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 3px;
}

.box-body .box-pane-right {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 0;
}

.box-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #f4f4f4;
  padding: 10px;
  background-color: #fff;
}

.chart-legend {
  margin: 10px 0;
}

@media (max-width: 991px) {
  .chart-legend > li {
    float: left;
    margin-right: 10px;
  }
}

.box-comments {
  background: #f7f7f7;
}

  .box-comments .box-comment {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

    .box-comments .box-comment:before,
    .box-comments .box-comment:after {
      content: " ";
      display: table;
    }

    .box-comments .box-comment:after {
      clear: both;
    }

    .box-comments .box-comment:last-of-type {
      border-bottom: 0;
    }

    .box-comments .box-comment:first-of-type {
      padding-top: 0;
    }

    .box-comments .box-comment img {
      float: left;
    }

  .box-comments .comment-text {
    margin-left: 40px;
    color: #555;
  }

  .box-comments .username {
    color: #444;
    display: block;
    font-weight: 600;
  }

  .box-comments .text-muted {
    font-weight: 400;
    font-size: 12px;
  }


.div-box-setting {
  border: 1px solid #fff;
  border-radius: 5px;
  box-shadow: rgb(0 0 0 / 40%) 0px 0px 10px;
  margin: 5px;
  padding: 15px;
}

.s-QuoteSmallCanDialog .quote-grid-editor,
.s-BillOfMaterialDialog .DetailList {
  display: block !important;
}

  .s-QuoteSmallCanDialog .quote-grid-editor .caption,
  .s-BillOfMaterialDialog .DetailList .caption {
    text-align: left !important;
  }

.editor.readonly {
    background-color: none !important;
}


.login-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

  .login-background .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }

    .login-background .slide.active {
      opacity: 1;
    }

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.s-sidebar-header-branding {
  display: flex;
}

.s-site-logo-img {
  cursor: pointer;
  margin: 0 auto 20px auto;
  width: 355px;
  height: 135px;
  background: transparent url(images/logo-qc.png) no-repeat center center;
}

.s-sidebar-header-link {
  color: white !important;
}

.s-site-connect-img {
  background-color: white;
  align-content: center;
  height: 45px;
  margin-left: 10px;
  padding: 0px 10px;
  cursor: pointer;
}

  .s-site-connect-img img {
    width: 140px;
  }

.s-site-fleet-img {
  background-color: white;
  align-content: center;
  height: 45px;
  padding: 0px 10px;
  cursor: pointer;
}

  .s-site-fleet-img img {
    max-width: 260px;
  }

.s-Panel-new {
    background-color: none !important;
    color: white;
    font-weight: bold;
}

#LoginPanel {
  padding: 30px 20px;
  width: 565px;
  margin: 90px auto auto auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  font-weight: 700;
}

  #LoginPanel h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 24px;
    color: #f5f27e;
    text-align: center;
  }

#LoginPanel .btn {
    padding: 8px 24px;
    font-weight: 700;
    float: right;
  }

  #LoginPanel input {
    padding: 6px 10px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: bold;
  }

.s-container-tight {
  max-width: 44rem !important;
}

.s-sidebar {
  width: 230px !important;
}

.s-sidebar-pane {
  width: 230px !important;
  background-color: none !important;
}

.s-sidebar-header-logo {
  width: 45px !important;
  height: 45px !important;
  background: transparent url(images/logo-qc.png) no-repeat center center;
}

.main-header a {
    text-decoration: none;
}

.main-header .logo {
  color: white;
  -webkit-transition: width 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  display: block;
  float: left;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
  width: 230px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0 15px;
  font-weight: bold;
  overflow: hidden;
}

  .main-header .logo i {
    width: 50px;
    height: 50px;
    float: left;
    background: url(images/favicon-4.png) no-repeat center center;
  }

  .main-header .logo .logo-lg {
    display: block;
  }

@media (min-width: 1200px) {
  .s-sidebar-toggler {
    visibility: visible !important;
    width: 35px !important;
  }

  .s-main {
    padding-left: 230px !important;
  }

  .s-sidebar-expanded .s-sidebar {
    transform: translateX(-230px);
  }

  .s-sidebar-expanded .s-main {
    transform: translateX(-220px);
    width: 110% !important;
  }

  .main-header .logo .logo-mini {
    display: none;
  }

  .main-header .logo .logo-lg {
    display: block;
  }

  .main-header .logo i {
    animation: fa-spin 5s infinite linear reverse;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .s-sidebar-expanded .s-main {
    width: 116% !important;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .s-sidebar-expanded .s-main {
    width: 113% !important;
  }
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .s-sidebar-expanded .s-main {
    width: 112% !important;
  }

  .s-UnitListDialog .field .caption {
    max-width: 70px !important;
  }
}

@media (min-width: 1700px) and (max-width: 1900px) {
  .s-sidebar-expanded .s-main {
    width: 111% !important;
  }
}

@media (min-width: 1900px) {
  .s-UnitListDialog .field .caption {
    max-width: 100px !important;
  }
}

@media (max-width: 440px) {
  #s-DashboardPage .s-DataGrid,
  .s-DataGrid, #s-DashboardPage .card-title,
  #s-DashboardPage input,
  #s-DashboardPage .quick-filter-label,
  .s-sidebar-link-text {
    font-size: 12px !important;
  }

  section.content-header > h1 {
    font-size: 15px;
  }

  #s-DashboardPage .quick-filter-label {
    width: 30px;
  }

  #s-DashboardPage .card-header button {
    font-size: 9.5px;
    width: 66px;
  }

  #s-DashboardPage .s-DateEditor {
    width: 85px;
  }
}

@media (min-width: 768px) and (max-width: 1400px) {
  #s-DashboardPage .s-DataGrid, .s-DataGrid, #s-DashboardPage .card-title {
    font-size: 14.7px !important;
  }

  .s-sidebar-link-text {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  .main-header .logo {
    width: 50px;
  }

    .main-header .logo > .logo-mini {
      display: block;
      margin-left: -15px;
      margin-right: -15px;
      font-size: 18px;
    }

    .main-header .logo > .logo-lg {
      display: none;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .main-header .logo > .logo-mini {
    display: none;
  }

  .main-header .logo > .logo-lg {
    display: block;
    font-size: 18px;
  }
}

#s-sidebar-menu li.active > a {
  color: #fff;
}


#s-sidebar-menu > li:hover > a,
#s-sidebar-menu > li:hover > a > i,
#s-sidebar-menu > li.active > a,
#s-sidebar-menu > li.active > a > i {
  color: #fff;
  background: #1e282c;
  border-left-color: #3c8dbc;
}

#s-sidebar-menu > li > a {
  border-left: 3px solid transparent;
}

#s-sidebar-menu > li.active > ul.show {
  background: #2c3b41;
}

#s-sidebar-menu li.has-children ul li:hover a,
#s-sidebar-menu li.has-children ul li:hover a i {
  color: #fff;
}

#s-sidebar-menu > li.active > ul.show {
  background: #2c3b41;
}