
.brand:hover {
  text-decoration: none;
}
.navbar .brand {
  float: left;
  display: block;
  padding: 8px 20px 12px;
  margin-left: -20px;
  font-size: 20px;
  font-weight: 200;
  line-height: 1;
  color: #ffffff;
}
.brand {
  width: 144px;
  height: 26px;
  margin: 10px 15px 10px 10px;
  padding: 0;
  display: block;
  background: url(../../../static/images/logo.png) no-repeat;
  text-indent: -9999em;
}
.brand abbr[title] {
  border: 0;
}

#site-name{
  display: none !important;
}

.dashboard-item-content{
  box-shadow: none;
}

#site-name {
  font-size: 20px !important;
}

#utilization-datepicker {
  margin-left: 10px;
  cursor: pointer;
}

/* Utilization Tabs */
.tabs{
  margin-top:20px;
  margin-bottom: 20px;
  font-size:15px;
  padding:0px;
  list-style:none;
  background:#fff;
  box-shadow:0px 5px 20px rgba(0,0,0,0.1);
  display:inline-block;
  position:relative;
}

.tabs a{
  text-decoration:none;
  color: #777;
  text-transform:uppercase;
  padding:10px 20px;
  position:relative;
  z-index:1;
  transition-duration:0.6s;
}

.tabs a i{
  margin-right:5px;
}

.tabs .selector{
  height:100%;
  position:absolute;
  left:0px;
  top:0px;
  z-index:1;
  transition-duration:0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 768px) {
  #utilization-dateselect{
    float: left; 
    margin-left: 20px; 
    margin-top: -5px
  }

  #util-title{
    float: left; 
  }

  .lf-container{
    position: relative;
    width: 50%; 
    float: left; 
    margin-left: 30px;
  }

  #totalmatsavailable .info {
    float: left; 
    width: 40%; 
    margin-top: 125px;
  }

  /* #totalmatsavailable p.percent {
    position: absolute; 
    top: 45%; 
    left: 12%; 
    transform: translate(-12%, -50%);
  } */

  /* LP Utilization */
  #lputilization #lputilization-chart {
    width: 100%;
    /* height: 200px; */
    margin-left: 20px;
    display: block;
    position: relative;
    z-index: 1;
    float: left;
  }

  .lp-container{
    position: relative;
    width: 50%; 
    float: left;
    margin-left: 13px;
  }

  /* #lputilization p.percent {
    top: 92%; 
    left: 12%;
  } */

  #lputilization .info {
    float: left; 
    width: 40%; 
    margin-top: 125px;
    margin-left: 20px;
  }

  /* .lputilizationshift {
    top: 45% !important; 
    left: 25% !important;
  } */

  .tabs a{
    display:inline-block;
  }
  
  .tabs a.active{
    color:#fff;
  }
  
  .tabs .selector{
    display:inline-block;   
    background: #ebb600;
  }

  /* Movements */
  .objects{
    width: 50%; 
    float: right;
  }
} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
  #totalmatsavailable .info {
    display: flex;
    flex-wrap: wrap;
  }

  #totalmatsavailable .info p {
    flex-basis: 100%;
    flex-shrink: 0;
    text-align: center;
  }

  #totalmatsavailable .info p strong {
    font-weight: 800;
    font-size: 40px;
  }

  /* #totalmatsavailable p.percent {
    top: 56%; 
    left: 30%;
  } */

  #lputilization-chart {
    width: 100%;
  }
  /* #lputilization p.percent {
    top: 131%;
    left: 33%;
  } */
  #lputilization .info {
    display: flex;
    flex-wrap: wrap;
  }

  #lputilization .info p {
    flex-basis: 100%;
    flex-shrink: 0;
    text-align: center;
  }

  .tabs a{
    display: block;
  }

  .tabs a.active{
    background: #ebb600;
    color: #fff;
  }
  
  .tabs .selector{
    display:inline-block;
    
    /* background: #ebb600; */
  }
} 

/********Charts********/
/* .totalmatshift{
  top: 93% !important; 
  left: 25% !important;
} */
#totalmatsavailable {
    *zoom: 1;
  }
  #totalmatsavailable:before,
  #totalmatsavailable:after {
    display: table;
    content: "";
  }
  #totalmatsavailable:after {
    clear: both;
  } 
  #totalmatsavailable #totalmatsavailable-chart {
    /* width: 50%;
    /* height: 200px; */
    
  }
  #totalmatsavailable-chart {
    width: 100%; 
    /*margin: 0 auto;*/
  }

  #totalmatsavailable .info p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    /* flex-basis: 100%;
    flex-shrink: 0;
    text-align: center;
    font-size: 30px; */
  }

  #totalmatsavailable .info p strong {
    font-weight: 800;
    display: block;
    font-size: 58px;
  }

  #totalmatsavailable p.percent {
    position: absolute; 
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 800;
    font-size: 70px;
    /* line-height: 200px; */
    color: #ebb600;
  }
  #totalmatsavailable p.percent sup {
    position: relative;
    /* top: -16px; */
    font-size: 40px;
  }
 
  #totalmatsavailable .info p.available {
    color: #bbb;
  }
  #totalmatsavailable .info p.allocated {
    color: #ebb600;
  }
  
 /* LP Utilization */
  #lputilization {
    *zoom: 1;
  }
  #lputilization:before,
  #lputilization:after {
    display: table;
    content: "";
  }
  #lputilization:after {
    clear: both;
  }
  
  #lputilization p.percent {
    position: absolute; 
    left: 58%;
    top: 45%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 800;
    font-size: 70px;
    /* line-height: 200px; */
    color: #BBB;
  }
  #lputilization p.percent sup {
    position: relative;
    /* top: -16px; */
    font-size: 32px;
  }
  
  /* .right-shift{
    float: right !important;
  } */

  #lputilization .info p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 0.8;
    font-weight: 400;
    text-transform: uppercase;
  }
  #lputilization .info p strong {
    font-weight: 800;
    display: block;
    font-size: 58px;
  }
  #lputilization .info p.available {
    color: #ebb600;
  }
  #lputilization .info p.allocated {
    color: #bbb;
  }

  .utchart {
    width: 50%;
    float: left;
    padding: 0 20px 20px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 0 15px;
    position: relative;
  }
  .utchart .percent {
    position: absolute;
    z-index: 2;
    left: -2px;
    width: 50%;
    text-align: center;
    font-weight: 800;
    font-size: 24px;
    /* line-height: 106px; */
    color: #ebb600;
  }
  .utchart .percent sup {
    font-size: 14px;
  }
  .utchart-donut,
  .utchart-info {
    width: 50%;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .utchart-info {
    margin-top: 15px;
    /* padding-left: 10px; */
  }
  .utchart-info p {
    /* margin: 0 0 1px; */
    font-weight: bold;
    font-size: 17px;
    color: #bbbbbb;
  }
  .utchart-info p.utchart-laid {
    color: #ebb600;
  }
  .utchart-name {
    width: 100%;
    float: left;
  }
  .utchart-name h1 {
    font-size: 17px;
    color: #bbbbbb;
    text-align: center;
    line-height: 1.1em;
    font-weight: bolder;
  }

  .hide {
    display: none;
  }

  /* Leaflet Maps */
  .leaflet-popup-pane .leaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #000;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgba(37, 37, 37, 0.8);
    background-image: -moz-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -ms-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(45, 45, 45, 0.8)), to(rgba(25, 25, 25, 0.8)));
    background-image: -webkit-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -o-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(45, 45, 45, 0.8)', endColorstr='rgba(25, 25, 25, 0.8)', GradientType=0);
  }
  .leaflet-popup-pane .leaflet-popup-tip {
    margin-top: -14px;
    background: #000;
    border: 1px solid #000;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  .leaflet-popup-pane .leaflet-popup-content .popup {
    width: 460px;
    *zoom: 1;
  }
  .leaflet-popup-pane .leaflet-popup-content .popup:before,
  .leaflet-popup-pane .leaflet-popup-content .popup:after {
    display: table;
    content: "";
  }
  .leaflet-popup-pane .leaflet-popup-content .popup:after {
    clear: both;
  }
  .leaflet-popup-pane .leaflet-popup-content .popup .col {
    width: 220px;
    float: left;
  }
  .leaflet-popup-pane .leaflet-popup-content .popup .col.first {
    margin-right: 20px;
  }
  .leaflet-popup-pane .leaflet-popup-content hr {
    border-top: 1px solid #000;
    border-bottom: 1px solid #333;
  }
  .leaflet-popup-pane .leaflet-popup-content .inventory strong {
    width: 70px;
    text-align: right;
    display: inline-block;
  }
  .leaflet-popup-pane .leaflet-popup-content h1 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  }
  .leaflet-popup-pane .leaflet-popup-content h2 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  }
  .leaflet-popup-pane .leaflet-popup-content p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #aaa;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  }
  .leaflet-popup-pane .leaflet-popup-content p strong {
    color: #ccc;
  }

  /* Alerts */
  .alert-danger,
  .alert-error {
    background-color: #eacfcf;
    border-color: #a36464;
    color: #8f4c4c;
  }
  .alert-danger p:last-child,
  .alert-error p:last-child {
    margin-bottom: 0;
  }

  /* Reports */

  .card p{
    white-space: normal;
  }

  .card a, .card a:visited{
    background-color: white;
  }

  .card a:hover{
    background-color: #639af5;
  }

  .page-header h1 {
    margin-bottom: 10px;
  }

  .vDateField-link {
    display: none;
  }

  .vDateField {
    border-right-width: 1px !important;
  }

  .report-spacing {
    margin-top: 25px;
  }

  .submit-row input:hover {
    cursor: pointer;
  }

  /* Leaflet */

  #mapcontainer {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  #controlsholder {
    padding: 10px;
    text-align: center;
    position: fixed;
    width: 150px;
    right: 20px;
    top: 46px;
    z-index: 2;
    *zoom: 1;
  }

  #controlsholder:before,
  #controlsholder:after {
    display: table;
    content: "";
  }
  #controlsholder:after {
    clear: both;
  }

  #controlsholder .controls {
    display: block;
    width: 150px;
    margin: 5px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #000;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    *zoom: 1;
    background-color: rgba(37, 37, 37, 0.8);
    background-image: -moz-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -ms-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(45, 45, 45, 0.8)), to(rgba(25, 25, 25, 0.8)));
    background-image: -webkit-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: -o-linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-image: linear-gradient(top, rgba(45, 45, 45, 0.8), rgba(25, 25, 25, 0.8));
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(45, 45, 45, 0.8)', endColorstr='rgba(25, 25, 25, 0.8)', GradientType=0);
  }

  #controlsholder .controls:before,
  #controlsholder .controls:after {
    display: table;
    content: "";
  }

  #controlsholder .controls:after {
    clear: both;
  }

  #controlsholder .controls form {
    margin: 0;
  }

  #controlsholder .controls h1 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    color: #fff;
  }

  #controlsholder .controls label {
    margin: 0;
    padding: 2px 5px;
    display: block;
    text-align: left;
    color: #bbb;
  }

  #controlsholder .controls label input {
    float: left;
    margin-right: 5px;
  }

  #controlsholder .controls select {
    max-width: 100%;
  }

  #mat-listing .tab-content {
    width: auto;
    display: block;
  }

  .leaflet-control-layers input {
    display: inline-block;
  }

  .hasTimepicker{
    font-size: 12px;
    height: 28px;
  }