/* Hack to keep transitions from being jumpy */

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

/* Layout Stuff */

/* Fonts */

h1{
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
h2,h3,h4,h5,h6{
  font-family: 'Muli', sans-serif;
  font-weight: 600;
}

body{
  font-family: 'Muli', sans-serif;
  font-weight: 400;
  background: rgb(244,244,244);
}
a{
  color: rgb(41, 171, 227);
  color: black;
}
img{
  width: 100%;
  height: auto;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    background: rgb(0,255,255);
    border-color: black;
    margin-top: 10px;
}
#main-container .noUi-connect{
  background: rgb(41, 171, 227);
}


.clearfix {
  overflow: auto;
  zoom: 1;
}

*{
  box-sizing: border-box;
}


.rounded_top_border{
  border: 1px solid black;
  -webkit-border-top-left-radius: 5px; 
  -moz-border-top-left-radius: 5px; 
  border-top-left-radius: 5px; 
  -webkit-border-top-right-radius: 5px; 
  -moz-border-top-right-radius: 5px; 
  border-top-right-radius: 5px; 

  -webkit-border-bottom-left-radius: 0; 
  -moz-border-bottom-left-radius: 0; 
  border-bottom-left-radius: 0; 
  -webkit-border-bottom-right-radius: 0; 
  -moz-border-bottom-right-radius: 0; 
  border-bottom-right-radius: 0;
  border-bottom: none;
}

.rounded_bottom_border{
  border: 1px solid black;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-bottom-left-radius: 5px;
  border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px; 
  -moz-border-bottom-right-radius: 5px; 
  border-bottom-right-radius: 5px;

  -webkit-border-top-left-radius: 0; 
  -moz-border-top-left-radius: 0; 
  border-top-left-radius: 0; 
  -webkit-border-top-right-radius: 0; 
  -moz-border-top-right-radius: 0; 
  border-top-right-radius: 0; 
  border-top: none;
}

.spaebot-table-section .table{
  padding: 0;
  background: white; /* rgb(244,244,244); */
  -moz-box-shadow: 1px 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
  box-shadow: 1px 1px 1px 1px #ccc;
}

.spaebot-table-section h4 span{
  display: inline-block;
  padding: 8px;
  background: white;
  -moz-box-shadow: 1px 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
  box-shadow: 1px 1px 1px 1px #ccc; 
  color: rgb(41, 171, 227);
}
.spaebot-table-section h4 a{
  float: right;
  border: none;
  -moz-box-shadow: 1px 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
  box-shadow: 1px 1px 1px 1px #ccc;
}

.spacebot-form{
  margin-top: 0;
}

.spacebot-buttons > .btn-danger{
  margin-right: 0 !important;
  float: right;
}

.spacebot-form .spacebot-buttons .btn{
  margin: 10px 10px 0 0;
}

.spacebot-form h4{
    display: inline-block;
    padding: 8px;
    margin: 10px 0 25px 0;
    background: white;
    -moz-box-shadow: 1px 1px 1px 1px #ccc;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow: 1px 1px 1px 1px #ccc; 
    color: rgb(41, 171, 227);
}
@media screen and (max-height: 768px) {
  .spacebot-form{
    padding: 10px;
  }
} 


.spacebot-list h4{
  display: inline-block;
  padding: 8px;
  margin: 10px 0;
  background: white;
  -moz-box-shadow: 1px 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
  box-shadow: 1px 1px 1px 1px #ccc; 
  color: rgb(41, 171, 227);
}

.spacebot-form-table{
  margin-top: 10px;
}

.name-col a{
  text-decoration: underline;
}

.edit-col, .delete-col{
  text-align: center;
  width: 45px;
}
.user .edit-col, .user .delete-col{
  display: none;
}

/* General Classes */

.row-20, .row-25, .row-33, .row-40, .row-50, 
.row-60, .row-66, .row-75, .row-100{
  display: block;
  margin: 0;
  padding: 0;
  float: left;
}

.row-20{ width: 20%; }
.row-25{ width: 25%; }
.row-33{ width: 33.33%; }
.row-40{ width: 40%; }
.row-50{ width: 50%; }
.row-60{ width: 60%; }
.row-66{ width: 66.66%; }
.row-75{ width: 75%; }
.row-100{ width: 100%; }


.invisable{
    opacity: 0;
}
.refreshing{
    opacity: .7;
}
.compare{
  display: none;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
html{
  overflow-y: scroll;
  -ms-overflow-style: scrollbar;
  overflow-x: hidden;
}


#main-holder, #layout-wrapper{
  width: 100%;
}

#push{
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#display-message{
  display: none;
  position: absolute;
  z-index: 11;
  width: 100%;
  background: black;
  text-align: center;
  color: rgb(0,255,255);
  -webkit-animation: color_flash 2s infinite; /* Safari 4+ */
  -moz-animation:    color_flash 2s infinite; /* Fx 5+ */
  -o-animation:      color_flash 2s infinite; /* Opera 12+ */
  animation:         color_flash 2s infinite; /* IE 10+, Fx 29+ */
}
#display-message p{
  padding: 10px 40px;
  font-size: 20px;
}
#display-message span{
  cursor: pointer;
}
#display-message span{
  font-size: 24px;
  position: absolute;
  right: 15px;
  top: 15px;
  display: block;
}

.display-bottom{
  position: fixed !important;
  bottom: 0 !important;
}

@-webkit-keyframes color_flash {
  0%   { color: rgb(0,255,255); }
  50% { color: white; }
  100%   { color: rgb(0,255,255); }
}
@-moz-keyframes color_flash {
  0%   { color: rgb(0,255,255); }
  50% { color: white; }
  100%   { color: rgb(0,255,255); }
}
@-o-keyframes color_flash {
  0%   { color: rgb(0,255,255); }
  50% { color: white; }
  100%   { color: rgb(0,255,255); }
}
@keyframes color_flash {
  0%   { color: rgb(0,255,255); }
  50% { color: white; }
  100%   { color: rgb(0,255,255); }
}


/****************** NAV BAR *****************************************/
#side-nav-local{
  display: none;
}
#side-nav-local p{
  margin: 20px;
  padding: 8px 12px;
  border: 1px dashed black;
  min-width: 180px;
}

.local-bot #side-nav{
  display: none;
}
.local-bot #side-nav-local{
  display: block;
}
#nav-holder{
    height: 100%; /* 100% Full-height */
    width: 100%;
    position: fixed;
    z-index: -1; /* Stay on top */
    overflow-x: hidden;
}
#nav-cover{
    height: 100%; /* 100% Full-height */
    background: rgb(244,244,244);
    right: 0;
    top: 0;
    position: absolute;
}
#nav-holder2{
    height: 100%; /* 100% Full-height */
    /*max-width: 1000px;*/
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}
/* The side navigation menu */
.sidenav {
    position: absolute;
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    top: 0;
    right: -2px;
    border-left: 1px solid black;
    background-color: rgb(244,244,244);
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.2s;
    padding-top: 75px;
}

#camera-dropdown, #settings-dropdown, #location-dropdown, #reports-dropdown{
  position: relative;
}
#camera-dropdown .dropdown-menu, #settings-dropdown .dropdown-menu, 
#location-dropdown .dropdown-menu, #reports-dropdown .dropdown-menu{
  width: 96%;
  margin-left: 2%;
}
#camera-dropdown .dropdown-menu li a, #settings-dropdown .dropdown-menu li a, 
#location-dropdown .dropdown-menu li a, #reports-dropdown .dropdown-menu li a,{
  display: block;
  padding-left: 30px;
}

/* The navigation menu links */
.sidenav a, .sidenav p {
  cursor: pointer;  
  padding: 8px 8px 8px 32px;
  margin: 0;
  text-decoration: none;
  font-size: 18px;
  color: black;
  display: block;
  transition: 0.3s
}

.sidenav a .glyphicon, .sidenav p .glyphicon{
  padding-right: 10px;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus, .sidenav p:hover, .offcanvas p:focus{
    color: #23527c;
}

/* Position and style the close button (top right corner) */
.sidenav .close-btn-holder{
}
.sidenav .closebtn {
  z-index: 10;
  position: absolute;
  top: 15px;
  right: 25px;
  text-align: center;
  width: 34px;
  height: 34px;
  color: black;
  margin: 0;
  z-index: 2;
  background: rgb(41, 171, 227);
  border-radius: 50%;
  cursor: pointer;
}
.sidenav .closebtn span{
  color: white;
  padding-top: 5px;
  font-size: 34px;
  line-height: 100%;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main-holder {
    transition: 0.5s;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
} 

/****************** HEADER *****************************************/


header{
  margin: 0;
  padding: 15px 10px 10px 10px;
  background: rgb(244,244,244);
  position: relative;
  z-index: 2;
  /*
  background: white;
  -moz-box-shadow: 1px 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
  box-shadow: 1px 1px 1px 1px #ccc;
  */
}


header #filter-toggle-btn {
  color: rgb(41, 171, 227);
  position: absolute;
  display: block;
  z-index: 2;
  font-size: 22px;
  left: 0;
  top: 0;
  padding: 10px;
  line-height: 100%;
  cursor: pointer;
}

header h1{
  font-size: 32px;
  text-align: left;
  margin: 0 200px 0 0;
  padding: 0;
  position: relative;
}


/****************** FOOTER *****************************************/
footer{
  opacity: 0;
  -webkit-transition: opacity .5s ease-out .5s;
  -moz-transition: opacity .5s ease-out .5s;
  -o-transition: opacity .5s ease-out .5s;
  transition: opacity .5s ease-out .5s;
  width: 100%;
  text-align: center;
  color: black;
}

footer h1{
    margin-bottom: 2em;
}

#email-waitbot{
    font-size: .7em;
    font-weight: 400;
    text-decoration: underline;
}

footer img{
    width: 100%;
    height: auto;
    margin-bottom: -2px;
}

footer div{
    padding: 15px;
    background: white;
}

footer h3{
    font-family: 'Exo', sans-serif;
    letter-spacing: 1px;
    font-weight: 600;    
}

footer a{
    color: black;
    text-decoration: none;
}

@media only screen and (max-width: 400px) {
  header h1{
    font-size: 20px;
  }
}

/************* Connecting animation  ***********************/
.connecting{
  visibility: hidden;
}
.connecting #connecting-box{
  opacity: 1;
  visibility: visible;
}

#connecting-box{
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 1s ease-out 1s;
  -moz-transition: opacity 1s ease-out 1s;
  -o-transition: opacity 1s ease-out 1s;
  transition: opacity 1s ease-out 1s;
}

.box{
  width: 240px;
  height: 150px;
  position: absolute;
  top: calc(40% - 25px);
  top: -webkit-calc(40% - 25px);
  left: calc(50% - 120px);
  left: -webkit-calc(50% - 120px);
}

.text{
  position: absolute;
  width: 150%;
  margin-left: -25%;
  text-align: center;
  top: -50px;
  font-family: 'Lato', sans-serif;
  color: black;
  font-weight: 300;
  font-size: 20px;
  position: relative;
  opacity: 1;
  -webkit-animation: fade-in-out 2.5s infinite; 
  -moz-animation: fade-in-out 2.5s infinite; 
  -o-animation: fade-in-out 2.5s infinite; 
  animation: fade-in-out 2.5s infinite; 
}

.comp{
  position: absolute;
  top: 0px;
  width: 80px;
  height: 55px;
  border: 2px solid black;
  border-radius: 5px;
}

.comp:after{
  content: '';
  position: absolute;
  z-index: 5;
  top: 19px;
  left: 5px;
  width: 65px;
  height: 10px;
  border-radius: 360px;
  border: 2px solid black;
}

.loader{
  position: absolute;
  z-index: 5;
  top: 26px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 360px;
  background: black;
  -webkit-animation: loader 5s infinite linear 0.5s;
  -moz-animation: loader 5s infinite linear 0.5s;
  -o-animation: loader 5s infinite linear 0.5s;
  animation: loader 5s infinite linear 0.5s;
}

.con{
  position: absolute;
  top: 28px;
  left: 85px;
  width: 100px;
  height: 2px;
  background: black;
}

.byte{
  position: absolute;
  top: 25px;
  left: 80px;
  height: 9px;
  width: 9px;
  background: black;
  border-radius: 360px;
  z-index: 6;
  opacity: 0;
  -webkit-animation: byte_animate 5s infinite linear 0.5s;
  -moz-animation: byte_animate 5s infinite linear 0.5s;
  -o-animation: byte_animate 5s infinite linear 0.5s;
  animation: byte_animate 5s infinite linear 0.5s;
}

.server{
  position: absolute;
  top: 22px;
  left: 185px;
  width: 35px;
  height: 35px;
  z-index: 1;
  border: 2px solid black;
  background: rgb(0,255,255);
  border-radius: 360px;
  -webkit-transform: rotateX(58deg);
  -moz-transform: rotateX(58deg);
  -o-transform: rotateX(58deg);
  transform: rotateX(58deg);
}

.server:before{
  content: '';
  position: absolute;
  top: -47px;
  left: -2px;
  width: 35px;
  height: 35px;
  z-index: 20;
  border: 2px solid black;
  background: rgb(0,255,255);
  border-radius: 360px;
}

.server:after{
  position: absolute;
  top: -26px;
  left: -2px;
  border-left: 2px solid black;
  border-right: 2px solid black;
  width: 35px;
  height: 40px;
  z-index: 17;
  background: rgb(0,255,255);
  content: '';
}

/*Byte Animation*/
@-webkit-keyframes byte_animate{
  0%{
    opacity: 0;
    left: 80px;
  }
  4%{
    opacity: 1;
  }
  46%{
    opacity: 1;
  }
  50%{
    opacity: 0;
    left: 185px;
  }
  54%{
    opacity: 1;
  }
  96%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    left: 80px;
  }
}

@-moz-keyframes byte_animate{
  0%{
    opacity: 0;
    left: 80px;
  }
  4%{
    opacity: 1;
  }
  46%{
    opacity: 1;
  }
  50%{
    opacity: 0;
    left: 185px;
  }
  54%{
    opacity: 1;
  }
  96%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    left: 80px;
  }
}

@-o-keyframes byte_animate{
  0%{
    opacity: 0;
    left: 80px;
  }
  4%{
    opacity: 1;
  }
  46%{
    opacity: 1;
  }
  50%{
    opacity: 0;
    left: 185px;
  }
  54%{
    opacity: 1;
  }
  96%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    left: 80px;
  }
}

@keyframes byte_animate{
  0%{
    opacity: 0;
    left: 80px;
  }
  4%{
    opacity: 1;
  }
  46%{
    opacity: 1;
  }
  50%{
    opacity: 0;
    left: 185px;
  }
  54%{
    opacity: 1;
  }
  96%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    left: 80px;
  }
}

/*LOADER*/
@-webkit-keyframes loader{
  0%{
    width: 8px;
  }
  100%{
    width: 63px;
  }
}

@-moz-keyframes loader{
  0%{
    width: 8px;
  }
  100%{
    width: 63px;
  }
}

@-o-keyframes loader{
  0%{
    width: 8px;
  }
  100%{
    width: 63px;
  }
}

@keyframes loader{
  0%{
    width: 8px;
  }
  100%{
    width: 63px;
  }
}


/*FADE IN-OUT*/
@-webkit-keyframes fade-in-out{
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@-moz-keyframes fade-in-out{
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@-o-keyframes fade-in-out{
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes fade-in-out{
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@media only screen and (max-width: 500px) {
  #sb-logo{
    display: none;
  }
}

@media only screen and (max-width: 400px) {
  .text{
    width: 100%;
    margin-left: 0;
    font-size: 32px;
  }

} 

/* Client Adjustments */

.c_new-city #camera-dropdown, .c_new-city #data-extract-btn, .c_new-city #location-dropdown,
.c_new-city #camera-dashboard-link, .c_new-city .camera-summary, .c_1001chicago #data-extract-btn{
  display: none !important;
}

.c_gensler #wifi-dashboard-link, .c_1001chicago #wifi-dashboard-link{
  display: none !important;

}
