/************************************************ Common */
html {
    font-size: 12px;
    color: darkslategray;
}

body {
    font-size: 12px;
    color: darkslategray;
    background-color:whitesmoke;
}


input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/************************************************ rj-controls */
.rj-pair-box {
    padding: 10px;
    border: 1px solid silver;
    background-color: white;
    border-radius: 5px;
    flex-wrap: wrap;
}

/************************************************ rj-pair-row */
.rj-pair-row {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
}

/************************************************ rj-pair ._icon */
._icon_prefix {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: right;
    height: 26px;
    width: 20px;
    left: 1px;
}

._icon_suffix {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 26px;
    width: 20px;
    right: 1px;
}

/*  Í¼±êÓÐ±³¾°ÑÕÉ«Ê±
    ._icon_prefix {
        position: absolute;
        display:flex;
        align-items:center;
        justify-content:center;
        height: 26px;
        width: 24px;
        left:1px;
        background-color: whitesmoke;
        border-right:1px solid silver;
    }
    ._icon_suffix {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 26px;
        width: 24px;
        right: 1px;
        background-color: whitesmoke;
        border-left: 1px solid silver;
    }
    */

/************************************************ rj-button */
.rj-button {
    align-items: center;
    padding: 5px;
    cursor: pointer;
}
    .rj-button ._button {
        padding:2px 10px;
        width:0px;
        flex: 1;
        border-radius: 4px;
    }
    .rj-button i {
        margin: 0px 5px 0px 0px !important;
    }

/************************************************ rj-pair-combo */
.rj-pair-combo {
    align-items: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

    .rj-pair-combo ._box {
        display: flex;
    }

    .rj-pair-combo ._label {
        display: flex;
        align-items: center;
        justify-content: right;
        padding-right: 5px;
    }

    .rj-pair-combo ._ctl {
        position:relative;
        background-color: white;
        min-height:25px;
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        border: 1px solid silver;
    }
        .rj-pair-combo ._ctl:hover {
            border: 1px solid steelblue;
        }

    .rj-pair-combo ._value {
        flex: 1;
        display: flex;
    }
    .rj-pair-combo ._text {
        flex:1;
        padding-left:5px;
    }
    .rj-pair-combo i {
        margin: 0px 4px;
    }

    .rj-pair-combo ._tail {
        margin: 0px 4px;
    }

    .rj-pair-combo ._option_box {
        position: absolute;
        width: 100%;
        top: 25px;
        border: 1px solid silver;
        display: none;
    }
    .rj-pair-combo ._option {
        align-items: center;
        padding: 5px;
        background-color: white;
        border-bottom: 1px solid whitesmoke;
    }
    .rj-pair-combo ._option:hover {
        background-color: whitesmoke;
    }

/************************************************ rj-pair-text */
.rj-pair-text {
    display:flex;
    justify-content:space-between;
    align-items: center;
    padding: 4px;
}

    .rj-pair-text ._label {
        display: flex;
        align-items: center;
        justify-content: right;
        padding-right: 5px;
    }

    .rj-pair-text ._label.required {
        color:red;
    }

    .rj-pair-text ._ctl {
        position: relative;
        display: flex;
        flex: 1;
        background-color: white;
        align-items: center;
        justify-content: center;
    }

    .rj-pair-text ._tail {
        padding: 0px 4px;
    }

    .rj-pair-text input {
        height: 26px;
        width: 0px;
        flex: 1;
        border: 1px solid silver;
        outline: none;
        padding: 0px 8px;
    }

        .rj-pair-text input:focus {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

        .rj-pair-text input:hover {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

/************************************************ rj-pair-date */
.rj-pair-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
}

    .rj-pair-date ._label {
        display: flex;
        align-items: center;
        justify-content: right;
        padding-right: 5px;
    }

        .rj-pair-date ._label.required {
            color: red;
        }

    .rj-pair-date ._ctl {
        position: relative;
        display: flex;
        flex: 1;
        background-color: white;
        align-items: center;
        justify-content: center;
    }

    .rj-pair-date ._tail {
        padding: 0px 4px;
    }

    .rj-pair-date input {
        height: 26px;
        width: 0px;
        flex: 1;
        border: 1px solid silver;
        outline: none;
        padding: 0px 8px;
    }

        .rj-pair-date input:focus {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

        .rj-pair-date input:hover {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

/************************************************ rj-pair-number */
.rj-pair-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
}

    .rj-pair-number ._label {
        display: flex;
        align-items: center;
        justify-content: right;
        padding-right: 5px;
    }

        .rj-pair-number ._label.required {
            color: red;
        }

    .rj-pair-number ._ctl {
        position: relative;
        display: flex;
        flex: 1;
        background-color: white;
        align-items: center;
        justify-content: center;
    }

    .rj-pair-number ._tail {
        padding: 0px 4px;
    }

    .rj-pair-number input {
        height: 26px;
        width: 0px;
        flex: 1;
        text-align:center;
        border: 1px solid silver;
        outline: none;
        padding: 0px 8px;
    }

        .rj-pair-number input:focus {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

        .rj-pair-number input:hover {
            border: 1px solid darkcyan;
            box-shadow: 0px 0px 1px darkcyan;
        }

/************************************************ rj-pair-button */
.rj-pair-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-bottom: 2px;
}
.rj-pair-button ._button {
    background-color: steelblue;
    color:white;
    border-radius: 2px;
    padding: 5px 10px;
    cursor:pointer;
}
    .rj-pair-button ._button:hover {
        opacity: 0.5;
    }

/************************************* rj-form */
div.rj-form-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid silver;
}

div.rj-form-label {
    font-weight: bold;
    padding: 8px 5px;
    font-size: 0.35rem;
}

input.rj-form-input {
    font-size: 0.35rem;
    border: none;
    width: calc(100% - 10px);
    padding: 10px 5px;
}

    input.rj-form-input:focus {
        outline: none;
        border-bottom: 1px solid steelblue;
    }
/************************************* rj-checkbox */
div.rj-checkbox {
    display: inline-block;
}

    div.rj-checkbox > input {
        display: none;
    }

    div.rj-checkbox > span {
        float: left;
        padding-top: 1px;
        padding-left: 5px;
    }

        div.rj-checkbox > span > i {
            font-size: 0.5rem;
        }

            div.rj-checkbox > span > i.fa-check-square-o {
                color: steelblue;
            }

            div.rj-checkbox > span > i.fa-check-circle {
                color: steelblue;
            }

    div.rj-checkbox > label {
        padding-left: 5px;
        padding-right: 20px;
    }
/************************************* rj-button */

div.rj-button-icon {
    border-radius: 20px;
    background-color: steelblue;
    padding: 5px 20px 5px 10px;
    color: white;
    margin: 5px;
}

    div.rj-button-icon > i {
        /* */
    }

    div.rj-button-icon > div {
        padding: 3px 10px;
        margin: 1px;
        border-radius: 15px;
        background-color: darkcyan;
        color: white;
    }

    div.rj-button-icon > span {
        padding: 3px 10px;
        margin: 1px;
        border-radius: 15px;
        background-color: darkcyan;
        color: white;
    }

div.rj-button {
    background-color: steelblue;
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
    text-align: center;
    color: white;
    font-weight: bold;
}

span.rj-button {
    display: inline-block;
    border-radius: 5px;
    padding: 5px 20px;
    margin: 0px 5px;
    background-color: steelblue;
    color: white;
    font-weight: bold;
}

div.rj-pagename {
    padding: 5px;
    text-align: center;
    color: transparent;
    background-color: transparent;
}

div.rj-search {
    display: flex;
    align-items: center;
    padding-left: 10px;
    border-radius: 15px;
    border: 1px solid darkcyan;
}

    div.rj-search > i {
        color: silver;
    }

    div.rj-search > input {
        flex-grow: 1;
        padding: 5px;
        border: none;
    }

    div.rj-search > div {
        padding: 3px 10px;
        margin: 1px;
        border-radius: 15px;
        background-color: darkcyan;
        color: white;
    }

    div.rj-search > span {
        padding: 3px 10px;
        margin: 1px;
        border-radius: 15px;
        background-color: darkcyan;
        color: white;
    }

/************************************* alert */
#__Alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    padding: 10px 0;
    border-radius: 5px;
    background-color: rgb(0 0 0 / 70%);
    color: white;
    text-align: center;
    z-index: 999999999;
    min-width: 30vw;
}

    #__Alert i {
        display: none;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    #__Alert .con {
        color: white;
        font-weight: bold;
        letter-spacing: 1px;
        padding: 0 10px;
    }
