@import './default-config.css';
@import 'config.css';

.dpBoxWrap {
    width: 100%;
    position: relative;
    font-weight: normal;
}

.dp {
    position: relative;
    max-width: 100%;
    border: 1px solid #D7D6D6;
    color: #595959;
    font-weight: normal;
}

.dp.dpNoLabel {
    width: 100%;
}

.dpWrap {
    display: inline-flex;
    margin: 0 20px 0 0;
}

:global(html[dir='rtl']) .dpWrap {
    margin: 0 0 0 20px;
}

.dpWrap.last {
    margin: 0;
}

.dpWrap input {
    width: 100%;
    padding: 4px 36px 4px 10px;
    border: none;
    height: 28px;
}

:global(html[dir='rtl']) .dpWrap input {
    padding: 4px 10px 4px 36px;
}

.dpWrap button {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    border: none;
    background: var(--ut-front-react-standardDatePickerBackgroundColor);
    background-image: url('./images/calendar.png');
    background-repeat: no-repeat;
    background-position: center center;
}

:global(html[dir='rtl']) .dpWrap button {
    right: initial;
    left: 1px;
}

.dpWrap .label, .masterLabel {
    align-self: center;
    margin: 0 10px 0 0;
}

:global(html[dir='rtl']) .dpWrap .label, .masterLabel {
    margin: 0 0 0 10px;
}

.dpBoxGroupWrap {
    max-width: 100%;
}


.verticalWrapper .dpWrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
}

.verticalWrapper .dpWrap .label{
    width: 28%;
    text-align: left;
    font-size: 14px;
    color: #595959;
    font-weight: bold;
}

.verticalWrapper .dpWrap .dp{
    width: 70%;
}

/* Styles for Simple Date Picker */

.datePickerLabeled {
    width: 70% !important;
}

.datePicker {
    width: 100%;
    position: relative;
    vertical-align: middle;
}

.datePicker input:hover {
    cursor: pointer !important;
}

.datePicker input:disabled {
    cursor: not-allowed !important;
}

.datePicker input {
    padding-right: 32px !important;
    padding-left: 10px !important;
    font-size: 14px;
}

.datePicker hr {
    display: none;
    width: 0px;
}

.datePickerIcon {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 26px;
    width: 26px;
    margin: 2px;
    background: var(--ut-front-react-standardDatePickerBackgroundColor);
    background-image: url('./images/calendar.png');
    background-repeat: no-repeat;
    background-position: center center;
}

.datePickerIconDisabled {
    background-color: #d7d6d6;
}

.error {
    border-color: #ff3333 !important;
}

.errorWrap {
    height: 23px;
    overflow: hidden;
    font-size: 12px;
    -webkit-transition: all 0.6s; /* Safari */
    transition: all 0.6s;
}

.errorWrap .errorMessage {
    position: relative !important;
    display: block;
    color: #ff3333;
    padding-top: 5px;
    font-weight: normal;
}

.hh {
    height: 0 !important;
}

.textFieldStyle {
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.dpStylesValid {
    border: 1px solid #D6D6D6;
}

.dpStylesNonValid {
    border: 1px solid #ff3333;
}
.wrap {
    width: 100%;
    font-size: 14px;
    color: #595959;
    display: flex;
    align-items: center;
}
.readonlyInput {
    cursor: not-allowed;
    border-color: #EBEBEB !important;
}

.labelWrapHorizontal, .labelWrap {
    font-size: 14px;
    text-align: left;
}

.labelWrapHorizontal {
    width: 40%;
}

.labelWrap {
    width: 30%;
}

.boldLabel {
    font-weight: bold;
}

@media only screen and (min-device-width: 280px) and (max-device-width:  539px) {
    .dpBoxGroupWrap {
        display: flex;
        flex-direction: column;
    }

    .dpWrap {
        display: inline-flex;
        margin: 0;
        padding-bottom: 10px;
    }
  }
