@tailwind base;
@tailwind components;
@tailwind utilities;
/* Progress bar arrow */
.progressBarArrow {
    fill:none;
    stroke:#FFFFFF;
    stroke-width:4;
    stroke-linecap:round;
}
select {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
    background-position: 100% center;
    background-repeat: no-repeat;
}


.field select {
    color: darkgray;
}
.field option:not(first-child),
.field select.valSelected {
    color: var(--primaryText);
}

.runningGradiant { 
    background: repeating-linear-gradient(295deg, var(--primary) 0px, var(--primary)  20px, var(--primaryHover) 20px, var(--primaryHover) 40px);
/*    width: 10000%;*/
    width: 1000%;
    height: 100%;
    background-size: 200% auto;
    background-position: 100% 100%;
    animation: gradient-progress 10000s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}


.stepBreaks .stepInfo::before {
    content: '';
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid var(--primaryHover);
    position: absolute;
    left: calc(50% - 5px);
    margin-top: -15px;
}

@keyframes gradient-progress {
    0%   { background-position: 100% 0; }
    100% { background-position: -2000% 0; }
}

/* datepicker */
#ui-datepicker-div {
    background: #fff !important;
}
.ui-datepicker .ui-datepicker-header {
    margin-bottom: 10px;
    position: relative;
    padding: 0.2em 0;
}
.ui-datepicker-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 4px !important;
}
.ui-icon {
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}
.ui-datepicker .ui-datepicker-prev {
    left: 22%;
}
.ui-datepicker .ui-datepicker-next {
    right: 28%;
}

.ui-datepicker .ui-datepicker-prev, 
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 6px;
    /* transform: translate(-50%, -50%); */
    width: inherit;
    height: inherit;
}
.ui-datepicker .ui-datepicker-prev span, 
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: inherit;
    left: inherit;
    margin-left: inherit;
    top: inherit;
    margin-top: inherit;
}
.ui-widget-header {
    border: none!important;
    background: 0 0!important;
    color: #4a4a4a!important;
    font-weight: 400!important;
}
.ui-widget-header .ui-icon {
    background-position: center;
    background-size: 9px;
    width: 20px;
    height: 20px;
}
#ui-datepicker-div {
    width: 400px;
    z-index: 100 !important;
}
@media (max-width: 420px) {
    #ui-datepicker-div {
        width: 100%;
    }
}
.ui-datepicker .ui-datepicker-prev span.ui-icon {
    background-image: url(../img/calendar_arrow_left.svg);
}
.ui-datepicker .ui-datepicker-next span.ui-icon {
    background-image: url(../img/calendar_arrow_right.svg);
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover, 
.ui-datepicker .ui-datepicker-next.ui-state-hover {
    border: none !important;
    border-bottom: none !important;
    background: none !important;
}

.ui-datepicker table {
    border: none;
}
.ui-datepicker table tfoot,
.ui-datepicker table thead {
    background: #fff;
    text-transform: uppercase;
    opacity: .4;
    font-weight: 300;
}
table tr.alt, table tr.even, 
table tr:nth-of-type(even) {
    background: #fff;
}
.ui-datepicker th {
    padding: 0.7em 0.3em;
    text-align: center;
    font-size: .875rem;
    font-weight: bold;
    border: 0;
}
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
    background-image: none;
}
.ui-state-default, 
.ui-widget-content 
.ui-state-default, 
.ui-widget-header .ui-state-default {
    border: none !important;
    border-bottom: none !important;
    background: #fff !important;
    font-weight: normal;
    color: #000 !important;
    text-align: center;
    font-size: 14px;
}
.ui-state-active, 
.ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active {
    border: none !important;
    border-bottom: none !important;
    background: #000 !important;
    font-weight: normal;
    color: #fff !important;
    border-radius: 100%;
}
.ui-datepicker td {
    border: 0;
    padding: 7px 0px;
}
.ui-datepicker td a,
.ui-datepicker td span {
    font-size: .875rem;
    display: block;
    padding: 7px 0;
    text-align: right;
    text-decoration: none;
}
.ui-datepicker-current-day .ui-state-active {
    /* padding-inline: 8px; */
    width: 34px;
    height: 34px;
    margin-inline: auto;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}