/* DatePicker Container */
.ui-datepicker {
	width: auto;
	height: auto;
	margin: 5px auto 0;
	font: 9pt Arial, sans-serif;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
	background: white;
    display: none;
}
.ui-datepicker a {
	text-decoration: none;
}
/* DatePicker Table */
.ui-datepicker table {
	width: 100%;
}
.ui-datepicker-header {
	background: #828282;
	color: #e0e0e0;
	line-height: 30px;
}
.ui-datepicker-title {
	text-align: center;
	padding: 15px;
	font-size: 18px;
}
.ui-datepicker-prev, .ui-datepicker-next {
	display: inline-block;
	width: 50px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	color: transparent!important;
	z-index: 10;
}
.ui-datepicker-prev:before, .ui-datepicker-next:before {
    position:absolute;
    content:"";
    display:inline-block;
  	font-family: "fontello";
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-weight: normal;
    font-stretch: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 15px;
    left: 0;
}
.ui-datepicker-prev:before {
    content: "\E803";
}
.ui-datepicker-next:before {
    content: "\E804";
}
.ui-datepicker-prev {
	float: left;
	background-position: center -30px;
}
.ui-datepicker-next {
	float: right;
	background-position: center 0px;
}
.ui-datepicker thead {
	background-color: #f7f7f7;
	background-image: -moz-linear-gradient(top,  #f7f7f7 0%, #f1f1f1 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#f1f1f1));
	background-image: -webkit-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
	background-image: -o-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
	background-image: -ms-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
	background-image: linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1',GradientType=0 );
	border-bottom: 1px solid #bbb;
}
.ui-datepicker th {
	text-transform: uppercase;
	font-size: 6pt;
	padding: 5px 0;
	color: #666666;
	text-shadow: 1px 0px 0px #fff;
	filter: dropshadow(color=#fff, offx=1, offy=0);
	text-align: center;
}
.ui-datepicker tbody td {
	padding: 0px;
	border-right: 1px solid #bbb;
}
.ui-datepicker tbody td:last-child {
	border-right: 0px;
}
.ui-datepicker tbody tr {
	border-bottom: 1px solid #bbb;
}
.ui-datepicker tbody tr:last-child {
	border-bottom: 0px;
}
.ui-datepicker td span, .ui-datepicker td a {
	display: block;
	font-weight: bold;
	text-align: center;
	line-height: 30px;
	color: #666666;
	filter: dropshadow(color=#fff, offx=1, offy=1);
	padding: 15px 20px;
}
.ui-datepicker-calendar .ui-state-default {
	background: #efefef;
}
.ui-datepicker-calendar .ui-state-hover {
	background: #f7f7f7;
}
.ui-datepicker-calendar .ui-state-active {
	color: #e0e0e0;
	position: relative;
	margin: -1px;
}
.ui-datepicker-unselectable .ui-state-default {
	background: #f4f4f4;
	color: #b4b3b3;
}
.ui-datepicker-calendar td:first-child .ui-state-active {
	margin-left: -1px;
}
.ui-datepicker-calendar td:last-child .ui-state-active {
	margin-right: -1px;
}
.ui-datepicker-calendar tr:last-child .ui-state-active {
	margin-bottom: -1px;
}

/* custom */
.check_email {
    display: none !important;
}
.ui-datepicker {
    z-index: 100005 !important;
}
.reserved-date .ui-state-default {
    /*color: white;*/
    background: #badfff;
}
.first-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #badfff 50%, #eeeeef 50%);
    background: -o-linear-gradient(135deg, #badfff 50%, #eeeeef 50%);
    background: -moz-linear-gradient(135deg, #badfff 50%, #eeeeef 50%);
    background: linear-gradient(315deg, #badfff 50%, #eeeeef 50%);
}
.ui-datepicker-unselectable.first-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #badfff 50%, #f4f4f4 50%);
    background: -o-linear-gradient(135deg, #badfff 50%, #f4f4f4 50%);
    background: -moz-linear-gradient(135deg, #badfff 50%, #f4f4f4 50%);
    background: linear-gradient(315deg, #badfff 50%, #f4f4f4 50%);
}
.last-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #eeeeef 50%, #badfff 50%);
    background: -o-linear-gradient(135deg, #eeeeef 50%, #badfff 50%);
    background: -moz-linear-gradient(135deg, #eeeeef 50%, #badfff 50%);
    background: linear-gradient(315deg, #eeeeef 50%, #badfff 50%);
}
.ui-datepicker-unselectable.last-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #f4f4f4 50%, #badfff 50%);
    background: -o-linear-gradient(135deg, #f4f4f4 50%, #badfff 50%);
    background: -moz-linear-gradient(135deg, #f4f4f4 50%, #badfff 50%);
    background: linear-gradient(315deg, #f4f4f4 50%, #badfff 50%);
}
.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background-color: #00486c;
}
.ui-datepicker-header {
    background-color: #00486c;
}
.calendar-nopop .ui-datepicker {
    z-index: 1 !important;
}
@media screen and (max-width: 600px) {
    .ui-datepicker {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        top: 0 !important;
        margin-top: 0 !important;
        position: fixed !important;
    }
    .ui-datepicker td span, .ui-datepicker td a {
        padding: 15px;
        line-height: inherit;
    }
    .calendar-nopop .ui-datepicker {
        position: relative !important;
    }
}
/* colors */
.ui-datepicker-header, .ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background-color: #9e2d39;
}
.reserved-date .ui-state-default {
    background-color: #9e2d39;
	background-color: rgba(158, 45, 57, 0.5);
}
.ui-datepicker-unselectable.first-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, rgba(158, 45, 57, 0.5) 50%, #f4f4f4 50%);
    background: -o-linear-gradient(135deg, rgba(158, 45, 57, 0.5) 50%, #f4f4f4 50%);
    background: -moz-linear-gradient(135deg, rgba(158, 45, 57, 0.5) 50%, #f4f4f4 50%);
    background: linear-gradient(315deg, rgba(158, 45, 57, 0.5) 50%, #f4f4f4 50%);
}
.last-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #eeeeef 50%, rgba(158, 45, 57, 0.5) 50%);
    background: -o-linear-gradient(135deg, #eeeeef 50%, rgba(158, 45, 57, 0.5) 50%);
    background: -moz-linear-gradient(135deg, #eeeeef 50%, rgba(158, 45, 57, 0.5) 50%);
    background: linear-gradient(315deg, #eeeeef 50%, rgba(158, 45, 57, 0.5) 50%);
}
.ui-datepicker-unselectable.last-date .ui-state-default {
    background: -webkit-linear-gradient(135deg, #f4f4f4 50%, rgba(158, 45, 57, 0.5) 50%);
    background: -o-linear-gradient(135deg, #f4f4f4 50%, rgba(158, 45, 57, 0.5) 50%);
    background: -moz-linear-gradient(135deg, #f4f4f4 50%, rgba(158, 45, 57, 0.5) 50%);
    background: linear-gradient(315deg, #f4f4f4 50%, rgba(158, 45, 57, 0.5) 50%);
}
@media (min-width: 769px) {
    .ui-datepicker-inline{
        width: 100% !important;
        border: 1px solid #bbb;
        box-shadow: none !important;
    }
    .ui-datepicker-group{
        width: 50% !important;
        display: inline-block;
    }
    .ui-datepicker-group-first{
        border-right: 1px solid #bbb;
    }
    /*.ui-datepicker-group-last{
        border-left: 1px solid #bbb;
    }*/

    .calendar-nopop .ui-datepicker tbody td {
        pointer-events: none !important;
    }
}