/*
* iCAM Booking System
* designed and developed by sdesign1
*/

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.username-label 
{
    padding-right: 2.1em;
}

.checkbox.inline
{
    padding-right: 1em;
    width: 130px;
    margin-left: 0px;
}

.popover-inner.edit-booking { text-align: center; }

.popover-inner {
text-align: left;
}

.popover-content {
font-size: 10.5pt;
white-space: normal;
}

.alt-select{
display: inline-block;
}

.cookie-bar {
position: fixed;
bottom: 0;
right: 0;
margin-bottom: 0;
left: 0;
text-align: center;
}

.block-book {
    border-top: 4px solid #08C;
}

.multiselect {
    height: 5.5em !important;
}

span.select-wrapper
{
    height: 30px;
    display: inline-block;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    margin-bottom: 10px;
}

 .form-signin {
        max-width: 300px;
        padding: 19px 29px 29px;
        margin: 0 auto 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
      }
      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }
      .form-signin input[type="text"],
      .form-signin input[type="password"] {
        font-size: 16px;
        height: auto;
        margin-bottom: 15px;
        padding: 7px 9px;
      }


  .half {

    opacity: .8;
  }

.booking-form-yd-item label{
display: inline-block;

}
.booking-form-yd-item input{
display: block;

}

legend + .control-group {
margin-top: 0px;
-webkit-margin-top-collapse: separate;
}

.existing .table-bordered thead tr {
background: #EEE;
background: -moz-linear-gradient(top, #EEE 0%, #DADADA 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #DADADA));
background: -webkit-linear-gradient(top, #EEE 0%, #DADADA 100%);
background: -o-linear-gradient(top, #EEE 0%, #DADADA 100%);
background: -ms-linear-gradient(top, #EEE 0%, #DADADA 100%);
background: linear-gradient(top, #EEE 0%, #DADADA 100%);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#EEEEEE', endColorstr='#DADADA')";
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#EEEEEE', endColorstr='#DADADA');
}
.existing .table-bordered thead tr th {
padding-top: 10px;
padding-bottom: 10px;
font-size: 13px;
font-weight: 600;
color: #444;
border-left: 1px solid #F1F1F1;
border-right: 1px solid #CCC;
-webkit-box-shadow: inset 0 1px 0 white;
-moz-box-shadow: inset 0 1px 0 #ffffff;
box-shadow: inset 0 1px 0 white;
}
.existing .table-bordered thead:first-child tr:first-child th:last-child, .table-bordered tbody:first-child tr:first-child td:last-child {
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-radius-topright: 4px;
}
.existing .table-bordered thead tr th:first-child {
border-left-color: #CCC;
}
.existing .table-bordered thead tr th:last-child {
border-right: none;
}
.existing .table-bordered tbody tr:first-child td {
border-top-color: #CCC;
}

.inline-block label{
display: inline-block;

}

.control-group.inline-block.margin-bottom {
margin-bottom: 15px;
}

#booking-table .gridheader, #booking-table-two .gridheader{
text-align: left;
}

#booking-table .workstation, #booking-table-two .workstation
{
    box-shadow: inset 0 0 0 #000;
    -moz-box-shadow: inset 0 0 0 #000;
    -webkit-box-shadow: inset 0 0 0 #000;
    font-weight: bold;
}


#booking-table th, #booking-table-two th {
padding: 5px;
}
#booking-table td, #booking-table-two td {
padding: 5px;
}

.table-one .currentuserbooking{background: #56d900 url("../img/currentuserbooking.gif") no-repeat center center; cursor: pointer;} 
.currentuserbookingkey{background: #56d900 url("../img/currentuserbooking.gif") no-repeat center center;} 

.table-one .closed{background: #898989 url("../img/closed.gif") no-repeat center center; } 

.table-one .session{background: #001eff url("../img/session.gif") no-repeat center center; } 

.table-one .available-img{background: url("../img/available.gif") no-repeat center center; } 

.table-one .booked{background: #ff0000 url("../img/booked.gif") no-repeat center center; } 

.table-one .clicked{background: #56d900}

.table-one .key, .table-two .table .key{width: 6%;}

.workstation-highlight
{
   background-color: #C4D9E6;
   -webkit-transition:background-color 0.5s ease-in;
   -moz-transition:background-color 0.5s ease-in;
   -o-transition:background-color 0.5s ease-in;
   transition:background-color 0.5s ease-in;
}

.alt-option {
    margin-top: -3px !important;
}
/*

#booking-table .closed{text-indent: -9999px;   white-space: nowrap;padding: 10px;}
#booking-table .available{text-indent: -9999px;   white-space: nowrap;  cursor: pointer}
#booking-table .booked{text-indent: -9999px;   white-space: nowrap;}
#booking-table .currentuserbooking{text-indent: -9999px;   white-space: nowrap;}
#booking-table .session{text-indent: -9999px;   white-space: nowrap;}
*/

td.available {
    cursor: pointer;
}

td.admin {
cursor: pointer;
}

td.admin:hover {
cursor: pointer;
}

td.available:hover {
    background-color: #631A22;
    cursor: pointer;
}

td.hour {
border-left: 3px solid #DDD;
}

.table-book {

}

th.hour {
border-left: 3px solid #DDD;
}

.table-book {

}

.btn:focus, .btn:hover {
text-decoration: underline;
}

/*.table-one .table .closed:hover {opacity: .6;}*/
/*.table-one .table .available:hover {opacity: .6;}*/

.table-one-key {
display: inline-block;
color: white;
white-space: nowrap;
vertical-align: middle;
background-color: #999;
margin-right: 10px;
width: 15px;
height: 15px;
}
.table-keys {/*text-align:;*/} 
/*.table-keys .span3{margin-bottom: 20px; }*/

.table-keys {margin-bottom: 20px; }

.currentuserbooking.hover {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}
 
.currentuserbooking.hover:hover {
   opacity: 0.5;
}

.booked.hover {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}
 
.booked.hover:hover {
   opacity: 0.5;
}

.rot-neg-90 {
  display: inline-block;
    
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  /*-ms-transform: rotate(-90deg);*/
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 16% 50%;
  -moz-transform-origin: 16% 50%;
  /*-ms-transform-origin: 16% 50%;*/
  -o-transform-origin: 16% 50%;
  transform-origin: 16% 50%;

  /* Should be unset in IE9+ I think. */
  /*filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);*/
}

.select-header 
{
    min-width: 10px !important;    
    max-width: 10px !important;
    width: 10px !important;
}

#table-select-header {
  width: 36px;
}
      
/*help page keys*/

.help-keys .table-one-key {
display: inline-block;
color: white;
white-space: nowrap;
vertical-align: middle;
background-color: #999;
margin-right: 5px;
margin-left: 5px;
width: 15px;
height: 15px;
}

.help-keys .table-keys {margin-bottom: 0px; }

.two-form select {width: 104px; margin-bottom: 10px;}


.two-form legend {
display: block;
margin-bottom: 5px !important;
font-size: 14px;
font-weight: normal;
line-height: 20px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333;
border: none;
}

.two-form legend:after {
    display: block;
    height: 0px; /* @baseLineHeight; */
    border-top: 0px;
    content: "";
}

.hidelabel label{
position: absolute;
left: -2000px;
height: 1%;
overflow: hidden;
}

.table-one table {

  /*width: 1170px;*/
}

.form-show-list {

  margin: 0px;

}

legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 10px;
font-size: 19px;
line-height: 35px;
color: #333;
border: 0;
/*border-bottom: 1px solid #E5E5E5;*/
margin-bottom: 20px;
}

.control-group {
margin-bottom: 5px;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {

margin-bottom: 5px;

}

.form-horizontal .control-group {
margin-bottom: 5px;
}

.mb {
  margin-bottom: 10px;
}

.btn-success {
  background-color: hsl(121, 100%, 16%) !important;
  background-repeat: repeat-x;
  /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#008402", endColorstr="#005101");*/
  border-radius: 4px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc4MjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiMwMDg0MDIiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiMwMDUxMDEiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c4MjgpIiAvPgo8L3N2Zz4=);
  background-image: -khtml-gradient(linear, left top, left bottom, from(#008402), to(#005101));
  background-image: -moz-linear-gradient(top, #008402, #005101);
  background-image: -ms-linear-gradient(top, #008402, #005101);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #008402), color-stop(100%, #005101));
  background-image: -webkit-linear-gradient(top, #008402, #005101);
  background-image: -o-linear-gradient(top, #008402, #005101);
  background-image: linear-gradient(#008402, #005101);
  border-color: #005101 #005101 hsl(121, 100%, 13.5%);
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
}

#cancel-link, #cancel-block-link, #edit-link, #edit-block-link, #print-link, #close-button {
	margin-bottom: 0.5em;
}

.navbar-inverse .brand, .navbar-inverse .nav > li > a {
color: #ececec;
text-shadow: none;
}

.navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li > a:hover {
color: white;
background-color: transparent;
text-decoration: underline;
}

.booking-header-title h2{

  font-size: 26.5px;
  line-height: 40px;
  color: #434343;
}

.booking-header-title .selected-site{

  font-size: 21.5px;
  line-height: 40px;
  color: #7f7f7f;
}


.navbar-inner {
min-height: 40px;
padding-right: 20px;
padding-left: 20px;
background-color: #FAFAFA;
background-image: -moz-linear-gradient(top, white, #F2F2F2);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#F2F2F2));
background-image: -webkit-linear-gradient(top, white, #F2F2F2);
background-image: -o-linear-gradient(top, white, #F2F2F2);
background-image: linear-gradient(to bottom, white, #F2F2F2);
background-repeat: repeat-x;
border: 1px solid #D4D4D4;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

body {
padding-top: 0px;
}

.leg legend {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.leg legend:after {
    display: block;
    height: 20px; /* @baseLineHeight; */
    border-top: 1px solid #e5e5e5;
    content: "";
}

.help-button{
  background: #1B1B1B;
padding: 10px 15px 10px;
  margin-bottom: 10px;
  color: #fff;
  display: inline-block;
}

.help-button a {
color: white;
}

.help-button a:hover {
color: white;

}

td.continue {
  border-left: 0px;
}

.popover-help {
  margin-bottom: 20px;
}

.popover.top {
margin-top: -25px;
margin-left: 75px;
}

a.brand h1 {
font-size: 20px;
font-weight: 200;
text-shadow: none;
line-height: 0px;
color: white;

}

.mb .span4 .form-show-list{

  text-align: right;
}

/*Media Queries*/
@media (max-width: 979px) {
  .navbar-inverse .nav-collapse .nav > li > a,
  .navbar-inverse .nav-collapse .dropdown-menu a {
    color: #fff;
  }
}

/*targeting desktops*/
@media only screen and (min-device-width: 1025px){
  .booknowsection{
     margin-top: 60px;
  }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    #grid{overflow: hidden; overflow-x: scroll } 
    .mb .span4 .form-show-list{text-align: left; }
    .navbar .brand {font-size: 18px !important; }
    .modal {bottom: 50%; height: 75%;}
    .modal-body {max-height: 60%;}
}

/*targeting ipad landscape*/
@media (max-width: 767px) {  
    .mb .span4 .form-show-list{text-align: left; }
    body { font-size: 13px !important; }
}

@media (max-width: 1024px) {
    body { font-size: 12px !important; }

    #booking-table {
      table-layout : fixed;
      width: 100%;
      min-width: 670px;
    }

    #booking-table thead tr th:first-of-type, #booking-table tbody tr td:first-of-type {
      word-wrap: break-word;
    }

    #booking-table thead tr th:first-of-type {
      width: 50px;
    }
}