/* Override jQuery UI Datepicker styles */
.ui-datepicker {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    @media(min-width: 1000px){
    	width: 22em;
	}
}

/* Header with month/year */
.ui-datepicker.custom-datepicker .ui-datepicker-header {
    background: transparent;
    border: none;
    padding: 0;
}

.ui-datepicker-title {
    text-align: center;
    font-size: 20px !important;
    color: #000000;
}

/* Navigation arrows */
.ui-datepicker-prev,
.ui-datepicker-next {
    top: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background: transparent;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: none;
}

.ui-datepicker.custom-datepicker .ui-datepicker-prev span,
.ui-datepicker.custom-datepicker .ui-datepicker-next span {
    margin-top: -10px;
}

/* Calendar table */
.ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
}


/* Day cells */
.ui-datepicker-calendar td {
    text-align: center;
    border: none !important;
    width: calc(99.9% / 7) !important;
}

.ui-datepicker.custom-datepicker td a,
.ui-datepicker.custom-datepicker td span {
    padding: 0.5rem;
    text-align: center;
}

/* Hoverable days */
.ui-datepicker-calendar td a:hover {
    background: #f0f0f0;
}

/* Today's date */
.ui-datepicker-today a {
    background: transparent !important;
    color: #333333 !important;
    font-weight: normal;
}

/* Days from other months */
.ui-datepicker-other-month .ui-state-default {
    color: #cccccc;
}

/* Remove default jQuery UI styles */
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: none;
    background: transparent;
    font-weight: normal;
    font-size: 15px !important;
}

.ui-datepicker-current-day a,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background: transparent !important;
    color: #333333 !important;
    font-weight: 600;
    border-bottom: none !important;
    position: relative;
}

.ui-datepicker-current-day a::after,
.ui-state-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #FF595A;
    border-radius: 2px;
}

.ui-widget-content .ui-state-active,
.ui-widget-header {
    border: none;
    background: transparent;
    color: #333333;
    font-weight: 600;
    border-bottom: 1px solid #ECEAE6;
}



.ui-datepicker .ui-datepicker-next-hover{
  right: 2px;
}

.ui-datepicker .ui-datepicker-prev{
  left: 2px;
}

.ui-datepicker-calendar thead th{
	display: table;
	padding: 0 !important;
	font-size: 15px;
	width: calc(99.9% / 7) !important;
	border: none !important;
}

.ui-datepicker .ui-datepicker-prev span:before, .ui-datepicker .ui-datepicker-next span:before{
	color: #FF595A !important;
}

.ui-datepicker .ui-icon{
	height: inherit;
}