datetimepicker {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: absolute;
    display: flex;
    flex-direction: row;
    border-radius: 3px;
    background-color: rgb(255,255,255);
    background-color: rgb(var(--light-primary));
    left: 0;
    z-index: 10001;
}

datetimepicker * {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

datetimepicker-parent {
    position: relative;
    height: 100%;
    width: 100%;
}

datetimepicker-datecontainer {
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    padding: 0.2rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(0,0,0);
    border-color: rgb(var(--dark-primary));
}

datetimepicker-month {
    display: flex;
    flex-direction: column;
    border-radius: inherit; 
}

datetimepicker-monthheader {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: inherit;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: rgb(91,280,53);
    background-color: rgb(var(--light-theme-primary));
    margin-bottom: 0.2rem;
}

datetimepicker-monthheader * {
    font-weight: 700;
}

datetimepicker-monthheader .DatetimePicker-Button {
    color: rgb(0,0,0);
    color: rgb(var(--dark-primary));
    font-weight: 900;
}

datetimepicker-weekheader {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom-width: 0.5px;
    border-bottom-style: solid;
    border-bottom-color: rgb(41,41,41);
    border-bottom-color: rgb(var(--dark-secondary));
}

datetimepicker-week {
    display: flex;
    flex-direction: row;
}

.DatetimePicker-Button {
    background: none;
    border: none;
    padding: 0.1rem;
    color: rgb(41,41,41);
    color: rgb(var(--dark-secondary));
    text-align: right;
    border-radius: 3px;
}

.DatetimePicker-Button.DatetimePicker-OtherMonth {
    background-color: rgba(0,0,0,0.1);
    background-color: rgba(var(--dark-primary),0.1);
}

.DatetimePicker-Active {
    background-color: rgb(36,179,108);
    background-color: rgb(var(--light-theme-primary));
    border-radius: 3px;
    color: rgb(0,0,0);
    color: rgb(var(--dark-primary));
}

#DatetimePicker-MonthDisplay {
    padding: 0 0.3rem 0 0.2rem;
    background-color: rgb(var(--light-theme-primary));
}

#DatetimePicker-YearDisplay {
    padding: 0 0.2rem 0 0.3rem;
    background-color: rgb(var(--light-theme-primary));
}

.DatetimePicker-Day:hover {
    background-color: rgba(0,0,0,0.3);
    background-color: rgba(var(--dark-primary),0.3);
    font-weight: 600;
}

.DatetimePicker-Day {
    width: 2rem;
    padding: 0.2rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.DatetimePicker-WeekdayTitle {
    width: 2rem;
    padding: 0.2rem;
    font-size: 1rem;
    box-sizing: border-box;
    justify-content: flex-end;
}

.DatetimePicker-WeekNumber {
    background: none;
    border-right-width: 0.5px;
    border-right-style: solid;
    border-right-color: rgb(41,41,41);
    border-right-color: rgb(var(--dark-secondary));
    width: 1.3rem;
    padding: 0.2rem;
    font-size: 0.8rem;
    box-sizing: border-box;
    justify-content: flex-end;
    align-content: flex-end;
}

datetimepicker-timecontainer {
    display: flex;
    flex-direction: row;
    position: relative;
    border-radius: inherit;
    padding: 0.2rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(0,0,0);
    border-color: rgb(var(--dark-primary));
    max-height: 16.5rem;
}

datetimepicker-hours {
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    overflow: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    border-right-width: 0.5px;
    border-right-style: solid;
    border-right-color: rgb(41,41,41);
    border-right-color: rgb(var(--dark-secondary));
    padding: 0 0.2rem;
    width: 2.5rem;
    align-items: center;
}

datetimepicker-ampm {
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    padding: 0 0.2rem;
}

datetime-nowcontainer {
    display: flex;
    flex: 2;
}

.DatetimePicker-DateNow {
    padding-top: 0.5rem;
    justify-content: flex-start;
    align-items: flex-end;
    
}

.DatetimePicker-TimeNow {
    padding-left: 0.2rem;
    justify-content: flex-start;
    align-items: flex-start;
}

datetimepicker-hours::-webkit-scrollbar {
    overflow: hidden;
    width: 6px;
    background-color: rgb(240,240,240);
    background-color: rgb(var(--light-secondary));
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
}

datetimepicker-hours::-webkit-scrollbar-button{
    display: none;
}

datetimepicker-hours::-webkit-scrollbar-piece {
    background-color: rgb(240,240,240);
    background-color: rgb(var(--light-secondary));
}

datetimepicker-hours::-webkit-scrollbar-thumb {
    background-color: rgb(200,200,200);
    background-color: rgb(var(--light-tertiary));
    border-radius: 3px;
    -webkit-border-radius: 3px;
}

datetimepicker-hours::-webkit-scrollbar-corner {
    background-color: rgb(41,41,41);
    background-color: rgb(var(--dark-secondary));
}

datetimepicker-minutes {
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    overflow: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    border-right-width: 0.5px;
    border-right-style: solid;
    border-right-color: rgb(41,41,41);
    border-right-color: rgb(var(--dark-secondary));
    padding: 0 0.2rem;
    width: 2.5rem;
    align-items: center;
}

datetimepicker-minutes::-webkit-scrollbar {
    overflow: hidden;
    width: 6px;
    background-color: rgb(90,90,90);
    background-color: rgb(var(--dark-tertiary));
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
}

datetimepicker-minutes::-webkit-scrollbar-button {
    display: none;
}


datetimepicker-minutes::-webkit-scrollbar-piece {
    background-color: rgb(240,240,240);
    background-color: rgb(var(--light-secondary));
}

datetimepicker-minutes::-webkit-scrollbar-thumb {
    background-color: rgb(200,200,200);
    background-color: rgb(var(--light-tertiary));
    border-radius: 3px;
    -webkit-border-radius: 3px;
}

datetimepicker-minutes::-webkit-scrollbar-corner {
    background: #333;
}

.DatetimePicker-Hour:hover {
    background-color: rgba(0,0,0,0.3);
    background-color: rgba(var(--dark-primary),0.3);
    font-weight: 600;
}

.DatetimePicker-Minute:hover {
    background-color: rgba(0,0,0,0.3);
    background-color: rgba(var(--dark-primary),0.3);
    font-weight: 600;
}