﻿/*#region Text box*/
.pure-material-textbox {
    position: relative;
    margin: 15px 0;
}

.pure-material-textbox textarea {
    resize: none;
}

    .pure-material-textbox input, textarea {
        background: none;
        font-size: 18px;
        padding: 5px 5px 5px 5px;
        display: block;
        width: 100%;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #c6c6c6;
        color: rgba(var(--bs-form-Control-Text-Color));
        background-color: rgba(var(--bs-white-rgb));
    }
.pure-material-textbox-input {
    background: none;
}
    .pure-material-textbox input:focus, textarea:focus {
        outline: none;
    }

        .pure-material-textbox input:focus ~ label, .pure-material-textbox textarea:focus ~ label {
            top: -14px;
            font-size: 12px;
        }

        .pure-material-textbox input:focus ~ .bar:before, .pure-material-textbox textarea:focus ~ .bar:before {
            width: 100%;
        }

        .pure-material-textbox input:focus ~ .labelStyle:before {
        }

    .pure-material-textbox input[type="password"] {
        letter-spacing: 0.3em;
    }
.pure-material-textbox-label {
    top: -14px !important;
    font-size: 12px !important;
}
.pure-material-textbox-password-icon {
    top: -22px !important;
    position: relative !important;
}
.pure-material-textbox label {
    color: rgba(var(--bs-form-Control-Text-Color));
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}
.pure-material-textbox .bar {
    position: relative;
    display: block;
    width: 100%;
}

    .pure-material-textbox .bar:before {
        content: '';
        height: 2px;
        width: 0;
        bottom: 0px;
        position: absolute;
        background: #2196f3;
        transition: 300ms ease all;
        left: 0%;
    }
/*#endregion*/

/*#region Check box*/
.pure-material-checkbox {
    z-index: 0;
    position: relative;
    display: inline-block;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
    font-size: 16px;
    line-height: 1.5;
    margin: 15px 0;
}

    /* Input */
    .pure-material-checkbox > input {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        z-index: -1;
        position: absolute;
        left: -10px;
        top: -8px;
        display: block;
        margin: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
        box-shadow: none;
        outline: none;
        opacity: 0;
        transform: scale(1);
        pointer-events: none;
        transition: opacity 0.3s, transform 0.2s;
    }

    /* Span */
    .pure-material-checkbox > span {
        display: inline-block;
        width: 100%;
        cursor: pointer;
    }

        /* Box */
        .pure-material-checkbox > span::before {
            content: "";
            display: inline-block;
            box-sizing: border-box;
            margin: 3px 11px 3px 1px;
            border: solid 2px; /* Safari */
            border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
            border-radius: 2px;
            width: 18px;
            height: 18px;
            vertical-align: top;
            transition: border-color 0.2s, background-color 0.2s;
        }

        /* Checkmark */
        .pure-material-checkbox > span::after {
            content: "";
            display: block;
            position: absolute;
            top: 3px;
            left: 1px;
            width: 10px;
            height: 5px;
            border: solid 2px transparent;
            border-right: none;
            border-top: none;
            transform: translate(3px, 4px) rotate(-45deg);
        }

    /* Checked, Indeterminate */
    .pure-material-checkbox > input:checked,
    .pure-material-checkbox > input:indeterminate {
        background-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
    }

        .pure-material-checkbox > input:checked + span::before,
        .pure-material-checkbox > input:indeterminate + span::before {
            border-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
            background-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
        }

        .pure-material-checkbox > input:checked + span::after,
        .pure-material-checkbox > input:indeterminate + span::after {
            border-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
        }

        .pure-material-checkbox > input:indeterminate + span::after {
            border-left: none;
            transform: translate(4px, 3px);
        }

    /* Hover, Focus */
    .pure-material-checkbox:hover > input {
        opacity: 0.04;
    }

    .pure-material-checkbox > input:focus {
        opacity: 0.12;
    }

    .pure-material-checkbox:hover > input:focus {
        opacity: 0.16;
    }

    /* Active */
    .pure-material-checkbox > input:active {
        opacity: 1;
        transform: scale(0);
        transition: transform 0s, opacity 0s;
    }

        .pure-material-checkbox > input:active + span::before {
            border-color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
        }

    .pure-material-checkbox > input:checked:active + span::before {
        border-color: transparent;
        background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    }

    /* Disabled */
    .pure-material-checkbox > input:disabled {
        opacity: 0;
    }

        .pure-material-checkbox > input:disabled + span {
            color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
            cursor: initial;
        }

            .pure-material-checkbox > input:disabled + span::before {
                border-color: currentColor;
            }

    .pure-material-checkbox > input:checked:disabled + span::before,
    .pure-material-checkbox > input:indeterminate:disabled + span::before {
        border-color: transparent;
        background-color: currentColor;
    }

/*#endregion*/

/*#region Select*/
.pure-material-select {
    position: relative;
    margin: 15px 0;
}

.pure-material-select-text {
    position: relative;
    background-color: rgba(var(--bs-white-rgb));
    padding: 5px 5px 5px 5px;
    width: 100%;
    font-size: 18px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #c6c6c6;
    color: rgba(var(--bs-form-Control-Text-Color));
}
    .pure-material-select-text:focus {
        outline: none;
        border-bottom: 1px solid #c6c6c6;
    }
.pure-material-select .pure-material-select-text {
    appearance: none;
    -webkit-appearance: none
}
.pure-material-select:after {
    position: absolute;
    top: 18px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(var(--bs-Select-Arrow-Color));
    pointer-events: none;
}
.pure-material-select-label {
    color: rgba(var(--bs-label));
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}
/* active state */
.pure-material-select-text:focus ~ .pure-material-select-label {
    color: #2F80ED;
    top: -20px;
    transition: 0.2s ease all;
    font-size: 14px;
}
/* BOTTOM BARS ================================= */
.pure-material-select-bar {
    position: relative;
    display: block;
    width: 100%;
}

    .pure-material-select-bar:before, .pure-material-select-bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 1px;
        position: absolute;
        background: #2F80ED;
        transition: 0.2s ease all;
    }

    .pure-material-select-bar:before {
        left: 50%;
    }

    .pure-material-select-bar:after {
        right: 50%;
    }
/* active state */
.pure-material-select-text:focus ~ .pure-material-select-bar:before, .pure-material-select-text:focus ~ .pure-material-select-bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.pure-material-select-highlight {
    position: absolute;
    height: 60%;
    width: 100%;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}
/*#endregion*/
