/*calendar*/


/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,

/* We use html here because we need a greater specificity to make sure disabled
works properly when clicked or hovered */
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
	border: unset;
	background: unset;
	font-weight: unset;
	color: unset;
    text-align:center;
}

html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
	border: unset;
	background: unset;
	font-weight: unset;
	color: unset;
}

.ui-widget {
	font-family: sans-serif;
	font-size: 1em;
}
.ui-widget .ui-widget {
	font-size: 1em;
}
.ui-widget-content {
	border: unset;
	background: unset;
    background-color: var(--vel-color-neutral-white);
	color: unset;
}
.ui-datepicker
{
    box-shadow: var(--vel-elevation300-box_shadow);
    color: var(--vel-color-form-text-default);
    font-weight: var(--vel-typography-text-100-font_weight);
    font-size: var(--vel-typography-text-100-font_size);
    line-height: var(--vel-typography-text-100-line_height);
    font-family: var(--vel-typography-text-100-font_family);
    letter-spacing: var(--vel-typography-text-100-letter_spacing);
    background-color: var(--vel-color-neutral-white);
    border-radius: var(--vel-shape300-border_radius) !important;
}
.ui-datepicker table
{
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}

.ui-datepicker .ui-datepicker-buttonpane
{
    padding:4px;
    display:flex;
    flex-direction:column;
    gap:4px;
}
.ui-datepicker .ui-datepicker-buttonpane button {
    float: none;
    margin: unset;
    cursor: pointer;
    padding: unset;
    width: 100%;
    overflow: unset;
}

.ui-widget-content a {
	color: unset;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
	font-family: sans-serif;
	font-size: 1em;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
	border: none;
	background: unset;
	font-weight: unset;
	color: unset;
}



.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	display: block;
	position: unset;
	left: unset;
	margin-left: unset;
	top: unset;
	margin-top: unset;
    width:24px;
}
.ui-datepicker .ui-icon {
	width: 24px;
	height: 24px;
    margin-top:unset;
    display: unset;
	left: unset;
	top: unset;
    color:transparent;
}
.ui-datepicker .ui-datepicker-header {
    display:flex;
    flex-direction:row;
    gap:4px;
    align-items: center
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    left: unset;
    right: unset;
    flex: 0 0 auto;
    width: 2rem;
    position: relative;
    top: unset;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}
.ui-datepicker .ui-datepicker-next {
    
    order:2;
}
.ui-datepicker .ui-datepicker-prev>.ui-icon.ui-icon-circle-triangle-w,
.ui-datepicker .ui-datepicker-next>.ui-icon.ui-icon-circle-triangle-e
{
    background-position: center center !important;
    background-repeat: no-repeat;
    width:100%;
    right:0px;
    display: unset;
	background-repeat: no-repeat;
	left: unset;
	top: unset;
    color:transparent;
}
.ui-datepicker .ui-datepicker-prev>.ui-icon.ui-icon-circle-triangle-w
{
    background-image: url('../../../img/velocity/chevron_left.svg') !important;
}
.ui-datepicker .ui-datepicker-next>.ui-icon.ui-icon-circle-triangle-e
{
    background-image: url('../../../img/velocity/chevron_right.svg') !important;

}
.ui-datepicker .ui-datepicker-prev-hover {
	left: 0px;
}
.ui-datepicker .ui-datepicker-next-hover {
	right: 0px; 
}

/*.ajax__calendar .ajax__calendar_today,*/
.ui-datepicker .ui-datepicker-title select
{
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    letter-spacing: inherit;
    color: var(--vel-color-neutral-600);
    text-align:center;
}
.ui-datepicker .ui-datepicker-title
{
    flex:1 1 auto;
    order:1;
    margin:0;
    display:flex;
    flex-direction:row;
    gap:4px;
    justify-content: center;
    
}

.ui-datepicker > table.ui-datepicker-calendar > thead > tr > th
{
    color: var(--vel-color-neutral-600);
}
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td>a:link
{
    font-weight:inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
    letter-spacing: inherit !important;
    border-radius: inherit !important;
    color: var(--vel-color-form-text-default);
    text-align:center !important;
    background-color:transparent;
    text-decoration:none;
}

.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td>a:link:active
{
    background: var(--vel-color-neutral-200) !important;
}
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover,
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td>a:link:hover
{
    background-color: var(--vel-color-neutral-100) !important;
    color: var(--vel-color-form-text-default)!important;
    border-radius: var(--vel-shape300-border_radius) !important;
}
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td.ui-datepicker-today>a:link,
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td.ui-datepicker-today>span
{
    font-weight:bold !important;
}
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td.ui-datepicker-current-day>a:link
{
    font-weight: var(--vel-typography-text-100-bold-font_weight, var(--vel-typography-text-100-font_weight));
    font-size: var(--vel-typography-text-100-bold-font_size, var(--vel-typography-text-100-font_size));
    line-height: var(--vel-typography-text-100-bold-line_height, var(--vel-typography-text-100-line_height));
    font-family: var(--vel-typography-text-100-bold-font_family, var(--vel-typography-text-100-font_family));
    letter-spacing: var(--vel-typography-text-100-bold-letter_spacing, var(--vel-typography-text-100-letter_spacing));
    background: var(--vel-color-secondary-400) !important;
    color: var(--vel-color-text-on_secondary) !important;
    border:none !important;
}

.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td.ui-datepicker-current-day>a:link:hover,
.ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td.ui-datepicker-current-day>a:link:focus
{
    background: var(--vel-color-secondary-300) !important;
}

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: none;
	display: none;
	border-collapse: collapse;
}


@media only screen and (max-width: 480px) {
    .ui-datepicker {
        position: fixed !important;
        top: 6rem!important;
        bottom: 6rem !important;
        left: 1rem!important;
        right: 1rem!important;
        width: unset !important;
        padding: 1rem;

        font-weight: var(--vel-typography-text-200-font_weight);
        font-size: var(--vel-typography-text-200-font_size);
        line-height: var(--vel-typography-text-200-line_height);
        font-family: var(--vel-typography-text-200-font_family);
        letter-spacing: var(--vel-typography-text-200-letter_spacing);

        box-shadow: 0 0 0rem 6rem rgba(0, 0, 0, .5);
        border-radius: var(--vel-shape400-border_radius) !important;
    }
    .ui-datepicker.mylp-opened
    {
        display:flex !important;
        flex-direction:column;

    }
    
    
    .ui-datepicker > table.ui-datepicker-calendar > tbody > tr > td>a:link
    {
        font-weight: var(--vel-typography-text-200-font_weight);
        font-size: var(--vel-typography-text-200-font_size);
    }
    .ui-datepicker .ui-datepicker-header
    {
        flex:0 0 auto;
        border-radius: var(--vel-shape300-border_radius) !important;
    }
    .ui-datepicker table
    {
        flex:1 1 auto;
        /*height:80%;*/
    }
    .ui-datepicker tbody td {
        height:15%;
    }
    .ui-datepicker .ui-datepicker-buttonpane {
        flex:0 0 auto;
    }
}