/* This code is subject to LICENSE in root of this repository */

/* Used to detect in JavaScript if apps have loaded styles or not. */
:root {
    --reach-dialog: 1;
}

[data-reach-dialog-overlay] {
    background: hsla(0, 0%, 0%, 0.33);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    z-index: 9;
}

[data-reach-dialog-content] {
    margin: 10vh auto;
    background: white;
    padding: 2rem;
    outline: none;
}

@media (min-width: 575.9px) {
    [data-reach-dialog-content] {
        width: 75vw;
        margin: 10vh auto;
        background: white;
        padding: 2rem;
        outline: none;
    }
}

@media (min-width: 767.9px) {
    [data-reach-dialog-content] {
        width: 60vw;
        margin: 10vh auto;
        background: white;
        padding: 2rem;
        outline: none;
    }
}

@media (min-width: 992px) {
    [data-reach-dialog-content] {
        width: 49vw;
        margin: 10vh auto;
        background: white;
        padding: 2rem;
        outline: none;
    }
}

@media (min-width: 1205px) {
    [data-reach-dialog-content] {
        width: 42vw;
        margin: 10vh auto;
        background: white;
        padding: 2rem;
        outline: none;
    }
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.form-group.flex-fill {
    flex: 1 1 auto !important;
    position: relative;
}

.slider:before {
    position: absolute;
    content: '';
    height: 17.5px;
    width: 17.5px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.rtl .slider:before {
    right: 3px;
}

.ltr .slider:before {
    right: 18px;
}

input:checked + .slider {
    background-color: paleturquoise;
}

input:focus + .slider {
    box-shadow: 0 0 1px paleturquoise;
}

.rtl input:checked + .slider:before {
    -webkit-transform: translateX(-16px);
    -ms-transform: translateX(-16px);
    transform: translateX(-16px);
}

.ltr input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input.text {
    background: #f2f2f2;
    border: 0px;
    border-radius: 30px;
    box-shadow: none;
    padding-right: 40px;
    padding-left: 15px;
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI';
}

input.text.password {
    padding-right: 85px;
}

button.btn-dialog,
button.btn-dialog2 {
    border-radius: 30px;
}

.custom-control-label {
    color: #808285;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff !important;
    border-color: paleturquoise !important;
    background-color: paleturquoise !important;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff !important;
    background-color: #ffcb05 !important;
    border-color: #ffcb05 !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: unset !important;
}

@media (min-width: 576px) {
    button.btn-dialog {
        width: 140px;
        margin-top: 0px !important;
    }

    .rtl button.btn-dialog2 {
        width: 150px;
        margin-top: 0px !important;
    }

    .ltr button.btn-dialog2 {
        font-size: 14px;
        width: 200px;
        margin-top: 0px !important;
    }
}

@media (max-width: 768px) {
    input.text {
        font-size: 13px;
    }
}

i.icon {
    position: absolute;
    padding: 10px;
    color: #ccc;
}

.ltr .form-group i.check,
.ltr .form-group i.reset {
    right: 0;
}

.rtl i.copy {
    margin-right: 23px;
}

.ltr i.copy {
    right: 23px;
}

.rtl i.eye {
    margin-right: 46px;
}

.ltr i.eye {
    right: 46px;
}

.check-icon {
    right: 50px;
    position: absolute;
    top: 2px;
}

.times-icon {
    right: 20px;
    position: absolute;
    top: 2px;
}

.icon-input {
    padding-right: 60px !important;
}

i.reset:hover,
i.copy:hover,
i.eye:hover {
    color: #ffcb05 !important;
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    cursor: pointer;
}

i.check {
    color: rgb(70, 190, 190) !important;
}

button:disabled {
    cursor: unset;
}

input[type='radio'].view.custom-control-input:not(:disabled):hover
    ~ label.view.custom-control-label:hover {
    cursor: pointer;
}

.form-layer .form-group {
    position: relative;
}

.form-layer .form-group .fa {
    color: #a7a9ac;
    position: absolute;
    top: 14px;
    font-size: 18px;
}

.form-layer.rtl .form-group .fa {
    right: 15px;
}

.form-layer.ltr .form-group .fa {
    left: 15px;
}

.form-layer input {
    background: #f2f2f2;
    border: 0px;
    border-radius: 30px;
    height: 45px;
}

.form-layer.rtl input {
    padding-right: 50px;
}

.form-layer.ltr input {
    padding-left: 50px;
}

.clear-select {
    line-height: 38px;
    width: 25px;
    text-align: center;
    cursor: pointer;
}