html {
  color: #2b2929;
  font-family: Helvetica, Arial, sans-serif;
}
body {
  font-size: 1rem;
}
.bord-r{
    border-right:1px solid rgba(58,175,169,0.3);
}
div.h-d i {
  color: rgba(0,187,240,1.00) !important;
}
div.t-d i {
  color: #648F24 !important;
}
div.l-1 div, div.l-1 i {
 color: #192a56 !important;
}
div.l-2 div, div.l-2 i {
  color: #273c75 !important;
}
div.h-3 div, div.h-3 i {
 color: #e84118 !important;
}
div.h-4 div, div.h-4 i {
 color:#c23616 !important;
}
div.h-0 .sensor-desc, div.l-0 .sensor-desc {
  color:#c23616 !important;
  opacity: 0.7;
}
div.h-0 .sensor-main, div.l-0 .sensor-main {
  opacity: 0.4;
}
.h2 {
  display: block;
  font-weight: 300;
  font-size: 22px;
  margin-left: 0;
  margin-bottom: 20px;
  opacity: 0.6;
}
.h2s {
  font-weight: 300;
  font-size: 20px;
  margin-left: 0;
  margin-right: 5px;
  opacity: 0.6;
}
.flex-container {
    display: flex;
    flex-wrap:wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}
.site-overview {
    background-color: rgba(222,242,241,0.2);
    padding: 10px;
    margin: 6px;
    border:3px solid transparent;
}
.site-overview:hover {
    border:3px solid rgba(0,187,240,0.4);
}
.display-title {
    height: 45px;
    padding-left: 10px;
    padding-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
}
.display-title div {
    line-height: 22px; 
    font-size:15px;
    text-transform: capitalize;
}
.display-title span {
  line-height: 15px; 
  font-weight:300;
  font-size:12px;
  text-transform: capitalize;
}
.cam-title {
    
}
.site-overview .sensors-container {
    display: flex;
}
.site-overview .sensor {
    flex-basis : 50%;
    text-align: center;
    color: #2b2929;
}
.site-overview .sensor-main {
    font-size: 25px;
    height: 40px;
    line-height: 40px;
}
.site-overview .sensor-main span {
  font-weight: 100;
}
.site-overview .sensor-desc {
    height: 20px;
    line-height: 20px;
    font-weight: 300;
    font-size: 13px;
    text-transform: capitalize;
    color: rgba(180,180,180,1);
}
.sensor span, .display-hints span {
    font-weight:300;
}
.site-overview .display-hints {
    padding-top: 5px;
    height: 40px;
    line-height: 40px;
    border-top:1px solid rgba(58,175,169,0.3);
    margin-top:10px;
    text-align:left;
}
.site-region {
  position: relative;
  border-right:1px solid rgba(222,242,241,1.00);
}
.area-holder {
  position: absolute;
  z-index: 10;
  background-color: #fff;
  min-width: 250px; 
  padding: 15px;
  width: 100%;
  border-radius: 5px;
  -webkit-box-shadow: 0px 1px 3px #999999;
  -moz-box-shadow: 0px 1px 3px #999999;
  box-shadow: 0px 1px 3px #999999;
  top: 90px;
  left: 0;
}
.area-btn {
  display: inline-block;
  position: relative;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
  height: 33px;
  line-height: 33px;
  border-radius: 15px;
  padding-right: 15px;
  padding-left: 15px;
  margin: 3px;
  color: #2b2929;
  font-size: 14px;
  background-color: rgba(240,240,240,1.00);
  border: 1px solid transparent;
}
.area-btn:hover {
  border: 1px solid rgba(23,70,67,0.8);
}
.display-hints span {
    font-weight:300;
    font-size:13px;
}
.display-hints i {
    font-size: 18px;
    margin-right: 10px;
}
.site-view {
    display: flex;
    flex-wrap:wrap;
    margin-top: 40px;
    margin-bottom: 30px;
}
.site-view > div {
  padding-left: 12px;
  padding-right: 12px;
} 
.site-view .sensor-main {
  font-size: 34px;
  height: 60px;
  line-height: 60px;
}
.site-view .sensor-main span, .site-view .sensor-main {
  font-weight: 100;
}
.site-view .sensor-desc {
  height: 25px;
  line-height: 25px;
  font-weight: 300;
  font-size: 12px;
  text-transform: capitalize
}
.site-view .hum {
  border-right:1px solid rgba(222,242,241,1.00);
}
.io-btn, .stat-btn {
  padding-top: 8px;
  height: 90px;
  min-width: 90px;
  background-color: rgba(222,242,241,0.2);
}
.io-btn i, .stat-btn i {
  font-size: 35px;
  display: block;
  margin-bottom: 10px;
}
.io-btn i {
  color: rgba(23,37,42,1.00) !important;
}
.stat-btn i {
  color: rgba(0,187,240,0.6);
}
.io-btn span, .stat-btn span {
  font-size: 11px;
  font-weight: 300;
}
.io-btn:hover, .io-btn:active, .io-btn:focus {
  border:3px solid rgba(0,187,240,0.4);
  opacity: 1;
}
.stat-btn:hover, .stat-btn:active, .stat-btn:focus {
  border:3px solid rgba(0,187,240,0.6);
  opacity: 1;
}
.io-btn.current {
  background: rgba(23,70,67,1.00);
  color: #FFFFFF !important;
  }
.io-btn.current i {
  color: #FFFFFF !important;
}
#xhr_busy {
  font-size: 34px;
  line-height: 90px;
}
.cam-overview {
  background-color: rgba(222,242,241,0.2);
  border: 1px solid rgba(0,187,240,0.3);
  border-radius: 3px;
  padding: 15px;
  margin: 10px;
  cursor: pointer;
  border-radius: 3px;
  width: 450px;
  height: 380px;
  float: left;
}
.cam-overview .camera-img {
  background-color: #e1eaf0;
  height: 320px;
  margin-bottom: 10px;
  overflow: hidden;
}
.cam-overview .camera-img img {
  min-height: 320px;
}
.cam-thumbs {
  /* min-height: 280px;
  flex-basis : 20%; */
  background-color: rgba(222,242,241,0.2);
  padding: 8px;
  margin: 10px;
  border: 1px solid rgba(0,187,240,0.3);
  border-radius: 3px;
  cursor: pointer;
  border-radius: 3px;
  min-height: 200px;
  height: auto;
  width:20%;
}
.cam-thumbs .camera-img {
  background-color: #e1eaf0;
  margin-bottom: 10px;
  overflow: hidden;
}
.camera-img img {
  width: 100%;
  height: auto;
}
.cam-thumbs .camera-img img {
  width: 100%;
  height: auto;
  min-height: 200px;
}
.camera-title {
  line-height: 30px;
  font-weight: lighter;
  padding-left: 8px;
}
.ptz-camera{
  float: right;
  display: flex;
  width: 76%;
  margin-left: 2%;
  margin-right: 2%;
  min-height: 40vh;
  padding: 15px;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
  margin-bottom: 40px;
}
.ptz-ctrl {
  width: 20%;
}
.ptz-btns {
  display: flex;
  flex-wrap:wrap;
  margin-top: 30px;
  width: 100%;
  margin-bottom: 30px;
}
.ptz-btns button {
  flex-basis : 40%;
  min-width: 40%;
  margin: 2px;
  min-height: 70px;
  background-color: rgba(222,242,241,0.3);
  border:3px solid transparent;
}
.ptz-btns button i {
  font-size: 22px;
  color: rgba(23,70,67,1.00) !important;
}
.ptz-btns button:hover {
  border:3px solid rgba(0,187,240,0.3);
  opacity: 1;
}
.ptz-img {
  width: 80%;
  background-color: #e1eaf0;
  min-height: 60vh;
}
.ptz-img img {
  width: 100%;
  height: auto;
}
#presets {

}
#presets span {
  display: block;
  color: rgba(23,37,42,0.8);
  font-weight: 300;
  margin-top: 3px;
  text-decoration: none;
}
#presets span a {
  color: rgba(0,187,240,0.7) !important;
  text-decoration: none;
}
#presets span a:hover{
  color: rgba(0,187,240,1) !important;
}
.records {
  margin-top: 30px;
  margin-bottom: 30px;
}
.settings {
  margin-top: 0;
  margin-bottom: 30px;
}
.record-div {
  width: 90%;
  margin: auto;
}
.record-line{
  height: auto;
  min-height: 40px;
}
.record-line {
  height: 40px;
  line-height: 40px;
  background-color: rgba(220,220,220,0.1);
  border-bottom: 1px solid rgba(0,187,240,0.2);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
  cursor: pointer;
  margin-bottom: 5px;
}
.play-btn {
  width: 38px;
}
.play-btn i {
  font-size: 16px;
}
.record-btn {
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin-left: 3px;
  background-color: rgba(222,242,241,0.5);
  border:3px solid transparent;
}
.record-btn i {
  font-size: 18px;
  color: rgba(23,70,67,1.00) !important;
}
.record-btn:hover {
  border:3px solid rgba(0,187,240,0.3);
  background-color: rgba(222,242,241,0.7);
  opacity: 1;
}
.record-v {
  background-color: rgba(220,220,220,0.2);
  padding: 20px;
  margin-bottom: 20px;
}
.red {
    color:#D91E18 !important;
}
.gray {
    color: rgba(220,220,220,1);
}
.active-btn i{
  color: rgba(23,37,42,1.00)
}
.palyer-border {
  border: 1px solid rgba(220,220,220,1);
  border-radius: 5px;
}
.player-init{
  text-align: center;
  width: 100%;
  min-height: 250px;
  line-height: 250px;
  font-size: 70px;
}
.show-camera {
  width: 100%;
  padding: 1.5%;
  height: auto;
  text-align: center;
}
.show-camera img {
  width: 97%;
  min-height: 97%;
  margin: auto;
}
.float-mid {
  float: left;
  width: 50%;
}
/* SETTINGS */
#sidebar {
  display: flex;
  flex-direction: column;
  width: 20%;
  min-height: 80vh;
  height: auto;
}
#rightbar {
  width: 80%;
}
.set-line{
  width: 80%;
  height: 40px;
  line-height: 40px;
  color: #2b2929;
  display:block;
  position: relative;
  background-color: rgba(220,220,220,0.1);
  border-bottom: 1px solid rgba(0,187,240,0.1); 
  margin: 5px 10% 8px 10%;
  border-radius: 3px;
  overflow: hidden;
}
.set-line .icon i {
  color: rgba(23,37,42,1.00) !important;
}
.set-line:hover {
  background-color: rgba(222,242,241,0.2);
}
.dis-line {
  height: auto;
}
.dis-line .displays{
  width: 80%;
  height: 40px;
  line-height: 40px;
  color: #2b2929;
  display:block;
  position: relative;
  background-color: rgba(220,220,220,0.1);
  border-bottom: 1px solid rgba(0,187,240,0.2); 
  margin: 5px 10% 8px 10%;
  border-radius: 3px;
  overflow: hidden;
}
.dis-line .displays .icon i {
  color: rgba(23,37,42,1.00) !important;
}
.edit{
  cursor: pointer;
}
.edit i {
  color: rgba(0,187,240,0.6) !important;
} 
.edit i.fa-edit, .edit i.fa-play-circle{
  font-size: 18px;
}
.dis-dev-cls {
  margin-top: 30px;
}
.dis-line .dis-devices .set-line {
  height: 30px !important;
  line-height: 30px !important;
  background-color: rgba(255,255,255,1) !important;
  border-bottom: 1px solid rgba(220,220,220,0.5) !important;
} 
#chartdiv {
  width: 100%;
  height: 600px;
  max-width: 100%;
  margin-bottom: 40px;
  margin-top: 20px;
}
/* */
@media (min-width: 768px) {
    .main-bar {
      display: none;
    }
    .flex-container {
        justify-content: start;
        align-content: flex-start;
    }
    .site-overview {
        flex-basis : 210px;
        min-width: 210px;
        max-width:260px;
    }
    .recording-lyt {
      flex-basis: 60%;
      margin: 10px;
    }
    
}
@media (max-width: 767px) {
  .flex-container {
    flex-direction: column;
    align-content: center;
  }
  .site-overview {
    flex-basis :90%;
    min-width: 90%;
  }
  .main-bar {
    display: block;
    top: 50px;
  }
  .main-bar > ul > li {
      background-color:rgba(222,242,241,0.8);
      border-bottom: 1px solid rgba(23,37,42,0.1);
  }
  .main-bar > ul > li > a > span{
    font-weight:normal;
    color: rgba(23,37,42,0.5) !important;
  }
  .main-bar > ul > li > a:hover > span{
    font-weight:normal;
    color: rgba(23,37,42,0.8) !important;
  }
  .main-bar > ul > li > a > i {
    display: inline-block;
    margin-bottom: 0;
  }
  .site-region {
    width: 100%;
    border-right:0;
    text-align: center;
  }
  .site-view {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .site-view .sensor {
    width: 33%;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .site-view .sensor-main {
    font-size: 20px;
    height: 40px;
    line-height: 40px;
  }
 
  .site-view .down-dvcs {
    width: 33%;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .cam-overview {
    width: 98%;
    margin: 2% auto 1% auto;
    min-height: 200px;
    height: auto;
  }
  .cam-overview .camera-img  {
    min-height: 200px;
    height: auto;
  }
}
/* From Partner CSS */
.partner-band {
  background-color: rgba(23,37,42,1.00);
  color: #FFFFFF;
  height: 52px;
  line-height: 52px;
  padding-right: 10px;
  padding-left: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
}
.logo {
  margin-left: 55px;
  height: 42px;
  overflow: hidden;
}
.logo img {
  height: 37px;
  margin-top: 5px;
  margin-right: 10px;
}
.logo-txt a {
  margin-left: 30px;
  margin-right: 10px;
  line-height: 55px;
  font-size: 110%;
  font-weight: bold;
  overflow: hidden;
  text-decoration: none !important;
  color: #FFFFFF !important;
}
.nav-pill {
  position:sticky;
  position: -webkit-sticky;
  top: 0;
}
.nav-pill li {
  width: 100%;
}
.nav-pill li a {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 90%;
  margin: 6%;
  padding: 20px;
  font-size: 1.0rem;
  font-weight: 300;
  color: rgba(120,120,120,1);
  background-color: rgba(222,242,241,0.2);
  border:3px solid rgba(58,175,169,0.1);
  border-radius: 5px;
  -webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
}
.nav-pill li a i {
  font-size:26px;
  display: block;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom:3px solid rgba(58,175,169,0.2);
  color: rgba(23,37,42,0.9) !important;
}
.nav-pill li a:hover, .nav-pill li a:active, .nav-pill li a:focus, .nav-pill li a.current {
  border:3px solid rgba(58,175,169,0.2);
}
.nav-pill li a:hover i, .nav-pill li a:active i, .nav-pill li a:focus i, .nav-pill li a.current i {
  border-bottom:3px solid rgba(58,175,169,0.9);
}
/* SMALL TOP NAV */
.small-nav {
  height: 52px;
  margin-right: 0;
}
.small-nav  > ul > li {
  border-right: 1px dotted #494545;
}
.small-nav  > ul > li > a {
  line-height: 52px;
  color:rgba(222,242,241,1.00);
  font-weight: 300;
  font-size: 14px;
  padding: 0 12px;
  background-color: transparent;
  -webkit-transition: background-color 0.2s linear,color 0.2s linear; /* Safari */
  transition: background-color 0.2s linear, color 0.2s linear;
  opacity: 0.7;
}
.small-nav  > ul > li > a.strong {
  font-weight: bold;
}
.small-nav  > ul > li:last-child {
  border: 0;
}
.small-nav  > ul > li > a > i {
  color: rgba(222,242,241,1.00);
}
.small-nav  > ul > li > a:hover, .small-nav  > ul > li > a:active, .small-nav  > ul > li > a:focus, .nav > ul > li > a.current {
  opacity: 1;
}
footer {
  background-color: rgba(23,37,42,1.00);
  color: #c6c5c6;
  padding-right: 50px;
  padding-left: 50px;
  border-top: 6px solid rgba(222,242,241,1);
}
footer a {
  color: rgba(58,175,169,1.00);
}
i {
  margin: 0 3px;
  color: rgba(58,175,169,0.6);
}
footer i {
  color: #fed330 !important;
}
.signature{
  font-size: 0.85rem;
}
.black-btn {
  background: rgba(23,37,42,0.9);
  color: #def2f1 !important;
  border: 1px solid rgba(0,187,240,0.6);
  font-weight: bold;
  opacity: 0.9;
}
.black-btn i {
color: #def2f1 !important;
}
.black-btn:hover, .black-btn:active, .black-btn:focus, .black-btn.current {
opacity: 1;
text-decoration: none;
}
.dark-btn {
  background: rgba(23,70,67,1.00);
  color: #ffffff !important;
  border: 1px solid rgba(43,122,120,1.00);
  font-weight: bold;
  opacity: 0.8;
  padding: 4px 6px 4px 6px;
  border-radius: 3px;
}
.dark-btn i {
color: #ffffff !important;
}
.dark-btn:hover, .dark-btn:active, .dark-btn:focus, .dark-btn.current {
opacity: 1;
text-decoration: none;
}
.light-btn {
  background-color: rgba(222,242,241,0.3);
}
.light-btn i {
  color: rgba(23,70,67,1.00) !important;
}
.light-btn:hover {
  background-color: rgba(222,242,241,0.6);
}
.orange-btn {
  background: rgba(255,106,10,0.8);
  color: #ffffff !important;
  border: 1px solid rgba(255,106,10,0.9);
  font-weight: bold;
  opacity: 0.8;
}
.orange-btn i {
  color: #ffffff !important;
}
.orange, i.orange {
  color: rgba(255,106,10,0.9) !important;
}
.stg-bar {
  top: 10px;
  right: 0;
} 
.stg-bar > ul > li {
  margin: 20px;
}
.stg-bar > ul > li > a {
   position: relative;
}
.stg-bar > ul > li > a > span{
  color:rgba(23,37,42,0.8);
  font-size: 17px;
  font-weight: 400;
}
.stg-bar > ul > li > a > i {
  color: rgba(58,175,169,1.00);
  font-size: 1rem;
  display: block;
  margin-bottom: 5px;
}
.stg-bar > ul > li:last-child {
  border: 0;
}
.stg-bar > ul > li > a:active,  .stg-bar > ul > li > a.current {
  font-weight: bold;
}
.stg-bar > ul > li > a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: -2px;
  content: "";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  background: rgba(0,187,240,0.6); 
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.stg-bar > ul > li > a:hover:after { 
  width: 100%; 
  left: 0; 
}
#stgMenu {
  margin-top: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,187,240,0.2);
}
#stgBtn {
  display: inline-block;
  padding-top: 20px;
}
#stgBtn button {
  display: inline-block !important;
}
/* CUSTOM RESPONSIVE MENU */
.main-bar > ul > li {
  margin: 15px;
}
.main-bar > ul > li > a {
   position: relative;
}
.main-bar > ul > li > a > span{
  font-size: 18px;
}
.main-bar > ul > li > a:active,  .main-bar > ul > li > a.current {
  font-weight: bold;
}
.main-bar > ul > li > a:hover{ 
}
/* END CUSTOM RESPONSIVE MENU */
/* CUSTOM POPUP */
.popup-div {
  border: 1px solid rgba(58,175,169,1.00);
}
.popup-header {
  background-color: rgba(23,37,42,1);
  color: rgba(58,175,169,1.00);
}
.popup-header i {
  color: rgba(222,242,241,1.00) !important;
}
.popup-content {
  padding: 15px 30px;
  background: rgba(245,244,245,0.9);
}
/* Login Agent CSS */
.login-block {
  width: 320px;
  padding: 20px;
  border-radius: 3px;
  margin: 0 auto;
  border: 1px solid rgba(222,242,241,1.00);
  position: relative;
}
.login-block input[type=submit]{
  width: 100% !important; 
}
.login-block input[type=text], .login-block input[type=password] {
  height: 42px;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 15px;
  padding: 0 20px 0 20px;
  outline: none;
  -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box
}
.login-block input[type=submit] {
  height: 42px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 20px;
  -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box
}
.login-block .fa-user {
  top: 52px;
  right: 40px;
  position: absolute;
  z-index: 2;
}
.login-block .fa-unlock {
  top: 135px;
  right: 40px;
  position: absolute;
  z-index: 2;
}
.os-logo {
  height: 90px;
  overflow: hidden;
  margin-top: 20px;
}
.os-logo img {
  height: 90px
}
.theme-line {
  margin-top: 5px;
  border-bottom:1px solid rgba(58,175,169,0.3);
  margin-bottom: 20px;
}