/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Loader */

.text-red{
    color: red;
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.loader {
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;

    position: absolute;
    top: 40%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
#loadingDiv {
    position:fixed;
    display: none;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,.8);
    z-index: 99999;
}

.flatpickr-disabled{ text-decoration: line-through;}

.clear-both { clear:both; }

#booking-hour-blocks{
    width: 100%;
    position: relative;
    margin-top: 0;
}
#booking-hour-blocks{
}

#booking-hour-blocks ul{
    position: relative;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#booking-hour-blocks ul li{
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    float: left;
    width: 19%;
    padding: 10px;
    margin-right: 5px;
    text-align: center;
    background-color: #d0f4ff;
    border-radius: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    transition: all .25s linear;
    cursor: pointer;
}
#booking-hour-blocks ul li:nth-child(5n){
    margin-right: 0px;
}

#booking-hour-blocks ul li:not(.selected):hover{
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,.3);
    border-color: #d0f4ff;
}

#booking-hour-blocks ul li.selected{
    background-color: #96e6ff;
}

#booking-hour-blocks, #booking-client-info{
    padding-top: 80px;
}

@media screen and (max-width: 700px){
    #booking-hour-blocks{
     padding: 0;
 }
 #booking-hour-blocks ul li{
    width: 18%;
}
}

#booking-client-info{
    width: 100%;
    position: relative;
    clear: both;
}
#booking-client-info label{
    width: 100%;
    clear: both;
}

.iti{
    width: 100%;
}

.erb-form-field-group.erb-form-field-group-error label{
    color: red!important;
}


.erb-form-field-group.erb-form-field-group-error input{
    color: red!important;
    border-color: red!important;
}

.erb-error-msg{
    font-style: italic;
}

.flatpickr-day.flatpickr-disabled:not(.flatpickr-holidays), .flatpickr-day.flatpickr-disabled:not(.flatpickr-holidays):hover {

  color: rgba(72,72,72,0.3);
}

.flatpickr-day.flatpickr-holidays, .flatpickr-day.flatpickr-holidays:hover {
  color: rgba(255,0,0,.5)!important;
}

/* ***** */
/* Popup */
/* ***** */

.erb-popup-container {
  position: fixed;
  display: none;
  height: 100%;
  width: 100%;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.erb-popup-container .popup {
  margin: 200px auto auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  text-align: center;
}

.erb-popup-container .popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 25px;
}

.erb-popup-container .popup .content {
  max-height: 30%;
  overflow: auto;
}

.erb-popup-container .popup .content .booking-reference {
  font-weight: 700;
  font-size: 25px;
}

.erb-closed-booking{
    padding: 20px;
    border-radius: 5px;
    background-color: #ffd3d3;
    text-align: center;
}

@media screen and (max-width: 700px){
  .erb-popup-container .popup{
    width: 70%;
}
}