/*
Project - Availablity Calendar 
Author - Daniel Methieu
Email - daniel.methieu@gmail.com
Created on - 2018-06-14
*/
tr.calendar-row{}

td.booked{
	background-color:RGB(16, 16, 150) !important; 
	pointer-events: none;
	cursor: not-allowed;
}

td.booked > .day-number{
	color:#fff !important;
}
td.booked > .calendar-event a{
	color:#fff !important;
}
td.first > .day-number{
	color:#fff !important;
}
td.first > .calendar-event a{
	color:#fff !important;
}

td.last > .day-number{
	color:#fff !important;
}
td.last > .calendar-event a{
	color:#fff !important;
}

td.unavailable{
	pointer-events: none;
}
.calendar-row td{
	margin-bottom:5px;
}
td.calendar-day{
	font-family: Roboto, sans-serif;
	height:48px; 
	font-size:11px; 
	position:relative; 
    	
} 

div.calendar-day{
	height:50px; 
}

td.calendar-day:hover{ 
	background:#eceff5; 

}

td.calendar-day-np{
	
	background:#; 
	min-height:80px; 
}
  
div.calendar-day-np{ 
	height:80px; 

}

td.calendar-day-head{ 
	font-family: Roboto, sans-serif;
	background:#eee; 
	text-align:center; 
	color: #5f5d5d;
	padding:10px; 
	font-size: 14px;
    font-weight: 900;
}

div.day-number{
	font-family: Roboto, sans-serif; 
    margin: -10px -5px 0 0;
    width: 35px;
    text-align: center;
    color: #636161;
    font-size: 16px; 
	font-weight:600;
	position:relative;
	
}

/* shared */
td.calendar-day, td.calendar-day-np{
	padding: 5px;
    border-bottom: 3px solid #ffffff;
    border-right: 1px solid #ffffff;
   	border-top:3px solid #ffffff;
	background-color:#eee; 
}
div.calendar-event a {
	font-family: Roboto, sans-serif;
	color: #222;
    text-decoration: none;
    font-size: 11px;
	font-weight:700;
    position: absolute;
}

.last .first-last{
	width: 100% !important;
    height: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    border-top: 45px solid RGB(16, 16, 150) !important;
    border-right: 45px solid transparent;
}

.first .first-last{
	width: 100% !important;
    height: 0;
    position: absolute;
    top: 1px;
    left: 0px;
    border-bottom: 44px solid RGB(16, 16, 150) !important;
    border-left: 46px solid transparent !important;
}

.book-end{
	width: 20px !important;
    height: 20px;
    border-top: 45px solid rgb(6, 80, 162);
    border-right: 45px solid transparent;
}

.book-start{
	width: 20px !important;
    height: 20px;
     border-bottom: 44px solid rgb(6, 80, 162)!important;
    border-left: 46px solid transparent !important;
}

.book-status{
	width: 50px !important;
    height: 40px;
    background-color: rgb(6, 80, 162);
}

.request-to,.request-from{
	background-color:#09baf5 !important;
}
.request-to div,.request-from div,.request-to a,.request-from a{
	color:#fff !important;
}
#myCalendar .modal-content{
	border-radius:1px !important;
}
#myCalendar .form-control{
	border:1px solid #cccccc7a !important;
	box-shadow:none !important;
	border-radius:1px !important;
	
}

#myCalendar label{
	font-weight:500 !important;
}
#myCalendar h4{
	font-weight:100 !important;
}
/*#myCalendar{margin-top:100px;}*/
.cal-month-name{
	font-family: Roboto, sans-serif;
	font-weight:600;font-size:20px;
}

/*   ajax loader   */

.loader {
  height: 20px;
  width: 250px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.loader--dot {
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background-color: black;
  position: absolute;
  border: 2px solid white;
}
.loader--dot:first-child {
  background-color: #8cc759;
  animation-delay: 0.5s;
}
.loader--dot:nth-child(2) {
  background-color: #8c6daf;
  animation-delay: 0.4s;
}
.loader--dot:nth-child(3) {
  background-color: #ef5d74;
  animation-delay: 0.3s;
}
.loader--dot:nth-child(4) {
  background-color: #f9a74b;
  animation-delay: 0.2s;
}
.loader--dot:nth-child(5) {
  background-color: #60beeb;
  animation-delay: 0.1s;
}
.loader--dot:nth-child(6) {
  background-color: #fbef5a;
  animation-delay: 0s;
}
.loader--text{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 4rem;
  margin: auto;
}

.btn-prev,.btn-next{
	padding:5px 12px !important;
	background-color:rgb(6, 80, 162) !important;
	border-color:rgb(6, 80, 162) !important;
	border-radius:30px !important;
	z-index:999999;
}
.btn-prev i,.btn-next i{
	color:#fff !important;
	z-index:999999;
	
}
.previous-date{
	background-color:#eee !important;
	cursor: not-allowed;
}

.last-previous-date{
	background-color:#eee !important;
	cursor: not-allowed;
}

.previous-date a,.last-previous-date a,.previous-date div,.last-previous-date div{
	color:#eee !important;
	cursor: not-allowed;
}


.loader--text:after {
  content: "Loading";
  font-weight: bold;
  animation-name: loading-text;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes loader {
  15% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(230px);
  }
  65% {
    transform: translateX(230px);
  }
  95% {
    transform: translateX(0);
  }
}
@keyframes loading-text {
  0% {
    content: "Loading";
  }
  25% {
    content: "Loading.";
  }
  50% {
    content: "Loading..";
  }
  75% {
    content: "Loading...";
  }
}
.last-page{
	display:none;
}