.ui-datepicker {
    display: none;
    padding: .2em 0 0;
    width: 17em;
}

.ui-datepicker .ui-datepicker-header {
    padding:.2em 0 0 0;
    position: relative;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    height: 1.8em;
    position: absolute;
    top: 12px;
    width: auto;
	color: #555555;
	opacity:.8;
	cursor:pointer;
}
	  .ui-datepicker .ui-state-disabled {opacity:.3; cursor:auto;border: 0;}
	  .ui-datepicker .ui-datepicker-current-day {    
		  background: #ff0000;
		  color: #fff;
 
    text-align: center;}
	  .ui-datepicker .ui-datepicker-current-day a {color:#fff;}
 
	  .ui-datepicker-calendar td a.ui-state-active[data-custom]::after {color:#fff;}
	  .ui-datepicker .ui-state-disabled:hover {background:#fff; color:#000;}
	   
/*.ui-datepicker .ui-state-highlight {background:#fba5a8;color:#fff; border-radius:50%;}*/
.ui-datepicker .ui-datepicker-prev { left: 0; }

.ui-datepicker .ui-datepicker-next { right: 0; }
.overlayWrapper {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index:1;
    background: rgba(0,0,0,.3);
}
 

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: none;
 
}
	  .ui-datepicker .ui-datepicker-prev:before {
		  content:"\f053";
		  font-family: Font Awesome\ 5 Free;
		   font-weight: 600;
          position: relative;
          top: 5px;
	  }
	  .ui-datepicker .ui-datepicker-next:after {
		  content:"\f054";
		  font-family: Font Awesome\ 5 Free;
		  font-weight: 600;
          position: relative;
          top: 5px;
	  }	  
	  
.ui-datepicker .ui-datepicker-title {
	line-height: 1em;
    margin:0 0 0;
    border-bottom: 1px solid #e6e6e6;
    padding:12px 0 12px;
	text-align:center
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month-year { width: 100%; }

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { 
    width: 40%;
   padding: 5px;
    margin: 0 5px;
    font-weight: bold
}

.ui-datepicker table {
    border-collapse: collapse;
    font-size: .9em;
    margin: 0 0 .4em;
    width: 100%;
}
.ui-datepicker table thead {
	margin: 0 0 10px
}
.ui-datepicker th {
    font-weight: bold;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #e6e5e5;
	border-top: 0;
}

.ui-datepicker td {
	-webkit-transition: .5s;
    transition: .5s;
	height:auto;
	padding: 5px 0;
	width:40px;
	border: 1px solid #e6e5e5;
	line-height: 20px;
}

.ui-datepicker td span, .ui-datepicker td a {
    display: block;
    text-align: center;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: #4b4f52;
}
.ui-datepicker td:hover a {color:#fff;}	  
.ui-datepicker td:hover {
background: #326fc2;
    text-align: center;
	color:#fff;
	  }	  

.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    margin: .7em 0 0 0;
    padding: 0 .2em;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    cursor: pointer;
    float: right;
    margin: .5em .2em .4em;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float: left; }

/* with multiple calendars */

.ui-datepicker.ui-datepicker-multi {    width: auto !important;
    background: #fff;
    margin-top: 15px;
    box-shadow: 0 0 16px 10px rgba(0,0,0,.19);
    padding: 0 15px 18px 15px;
    left: 0 !important;
    right: 0 !important;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
	z-index:9999 !important;

}
/*
.ui-datepicker.ui-datepicker-multi:before {
    display: inline-block;
    border-color: transparent transparent #fff;
    border-width: 12px;
    border-style: solid;
    width: 0;
    height: 0;
    position: absolute;
    content: '';
    top: -22px;
	right:0;
	left:0;
	margin:0 auto;
	margin-left:52%;
}	  
*/

.ui-datepicker-multi .ui-datepicker-group { float: left; }

.ui-datepicker-multi .ui-datepicker-group table {
    margin: 0 auto .4em;
    width: 95%;
}

.ui-datepicker-multi-2 .ui-datepicker-group { width: 50%;padding:0 10px; }

.ui-datepicker-multi-3 .ui-datepicker-group { width: 33.3%; }

.ui-datepicker-multi-4 .ui-datepicker-group { width: 25%; }

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width: 0; }

.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width: 0; }

.ui-datepicker-multi .ui-datepicker-buttonpane { clear: left; }

.ui-datepicker-row-break {
    clear: both;
    font-size: 0em;
    width: 100%;
}

/* RTL support */

.ui-datepicker-rtl { direction: rtl; }

.ui-datepicker-rtl .ui-datepicker-prev {
    left: auto;
    right: 2px;
}

.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}

 

.ui-datepicker-rtl .ui-datepicker-buttonpane { clear: right; }

.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float: right; }

.ui-datepicker-rtl .ui-datepicker-group { float: right; }

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
    border-left-width: 1px;
    border-right-width: 0;
}

.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 1px;
    border-right-width: 0;
}


.ui-datepicker-calendar td a[data-custom] {
  position: relative;
}
.ui-datepicker-calendar td a[data-custom]::before {content: "\f156"; font-family: Font Awesome\ 5 Free; font-weight:600;font-size: 8px;
    bottom: 0;
    left: 9px;
    color: #ca2128;
	position: absolute;
	line-height: 18px;
}
.ui-datepicker-calendar td a[data-custom]::after {
content: attr(data-custom);
    display: block;
    text-align: center;
	color:#ca2128;
	font-size:10px;
	 
}
.ui-datepicker-calendar td:hover a[data-custom]::after {color:#fff;}
.ui-datepicker-calendar td:hover a[data-custom]::before{color:#fff;}
.ui-datepicker-calendar td a.ui-state-active[data-custom]::before {color:#fff;}

.ui-datepicker {
    width: auto !important;
    background: #fff;
    margin-top: 15px;
    box-shadow: 0 0 16px 10px rgba(0,0,0,.19);
    padding: 0 15px 18px 15px;
    max-width: 450px;
    margin-right: auto;
    margin-left: auto;
    z-index: 9999 !important;
 
}
 .ui-datepicker-week-end, .ui-datepicker-unselectable {
	background-color: #f1f1f1;
}
.ui-datepicker-multi .ui-datepicker-group table{
	width: 100%!important;
}

.ui-datepicker-week-end[title] {
  outline: #ed1c24 dotted 1px; /*optional styling*/
  position: relative;
}

.ui-datepicker-week-end[title]:hover::before {
  content: attr(title);
  position: absolute;
  bottom: -33px;
  left: -13px;
  display: inline-block;
  padding: 3px 6px;
  border-radius: 2px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-family: sans-serif;
  white-space: nowrap;
  z-index: 9999;

}
.ui-datepicker-week-end[title]:hover::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30%;
  display: inline-block;
  color: #fff;
  border: 8px solid transparent;	
  border-bottom: 8px solid #000;
}