﻿/* all-options */
.all-options {
    display: flex;
    width: 250px;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid silver;
    cursor: pointer;
}

    .all-options:hover {
        background-color: whitesmoke;
    }

    .all-options > span {
        color: silver;
        padding-right: 10px;
    }

    .all-options i {
        width: 25px;
        text-align: right;
    }

        .all-options i:first-child {
            text-align: left;
        }

    .all-options div {
        width: 0px;
        flex: 1;
        text-align: left;
    }

/* filter-panel */
.filter-panel {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-bottom: 1px solid silver;
}

    .filter-panel .title {
        width: 980px;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        text-align: left;
        align-items: center;
        padding: 5px 10px;
    }

/* options-panel */
.options-panel {
    display: flex;
    padding: 10px;
    flex-wrap: wrap;
}

    .options-panel .title {
        width: 980px;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        text-align: left;
        padding: 5px 10px;
    }

    .options-panel .option {
        position: relative;
        border: 1px solid silver;
        background-color: whitesmoke;
        padding: 5px 10px;
        margin: 5px;
        cursor: pointer;
    }

        .options-panel .option .rj-mark-triangle {
            display: none;
        }

    .options-panel .option-check {
        position: relative;
        border: 1px solid brown;
        background-color: lavenderblush;
        padding: 5px 10px;
        margin: 5px;
        cursor: pointer;
    }

        .options-panel .option-check div.rj-mark-triangle {
            position: absolute;
            display: inline-block;
            width: 0px;
            height: 0px;
            border: 3px solid transparent;
            border-left: 3px solid darkslategray;
            border-top: 3px solid darkslategray;
            left: 2px;
            top: 2px;
        }

.rj-count {
    background-color: darkslategray;
    color: white;
    border-radius: 20px;
    padding: 0px 5px;
    display: none;
}

sup {
    color: orangered;
    font-weight: bold;
}

#TITLE {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

#MENUBAR {
    display: flex;
    background-color: white;
    text-align: center;
    z-index: 9999;
    width: 100%;
    justify-content: center;
    align-items: center;
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
}

#BAR_FILTER {
    width: 190px;
    padding-left: 20px;
    text-align: left !important;
    background-color: whitesmoke !important;
    color: darkslategray !important;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
}

    #BAR_FILTER i:first-child {
        font-size: 16px;
    }

#MST_BODY {
    display: flex;
    justify-content: center;
}

    #MST_BODY > div:first-child {
        width: 1200px;
        background-color: white;
    }

.item-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0px 5px 5px 0px;
}

.item-full {
    border: 1px solid silver;
    padding: 5px;
    cursor: pointer;
    flex: 1;
    position: relative;
    min-width: 250px;
    margin-left: 5px;
    margin-top: 5px;
}

    .item-full .item-top {
        position: absolute;
        margin: 5px;
        display: flex;
        justify-content: space-between;
        width: calc(100% - 20px);
    }

    .item-full .stock {
        color: brown;
        font-weight: bold;
        text-align: center;
    }

    .item-full .model {
        font-weight: bold;
    }

    .item-full .item-name {
        font-weight: bold;
    }

    .item-full .item-stock {
        display: none;
        justify-content: space-between;
        padding: 5px 10px 0px 10px;
    }

    .item-full .item-size {
        justify-content: space-between;
        padding: 5px;
        margin-top: -30px;
        flex-direction: column;
    }

    .item-full .item-price {
        font-size: 14px;
        font-weight: bold;
        border-top: 1px solid whitesmoke;
    }

        .item-full .item-price .price {
            color: orangered;
        }

        .item-full .item-price .stock {
            color: dodgerblue;
        }

        .item-full .item-price i {
            color: darkslategray;
            font-size: 18px;
        }

    .item-full .item-msg {
        position: absolute;
        font-size: 16px;
        top: 35px;
        width: 100%;
        text-align: center;
        border-top: 1px solid whitesmoke;
        padding-top: 5px;
    }

        .item-full .item-msg span {
            padding: 2px 5px;
            margin: 20px;
            color: crimson;
            background-color: transparent;
            border-radius: 4px;
            font-weight: bold;
        }

.item-full-empty {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    color: #ddd;
    background-color: whitesmoke;
    font-weight: bold;
    font-size: 32px;
    border: 1px solid silver;
    margin-left: 5px;
    margin-top: 5px;
    padding: 5px;
    min-width: 250px;
}

.rj-button-bar .rj-absolute {
    display: none;
    position: absolute;
    justify-content: left;
    border-top: 2px solid darkslategray;
    width: 100%;
}

    .rj-button-bar .rj-absolute .CATECD {
        padding: 12px 0px 12px 8px;
        justify-content: left;
        font-weight: normal;
        border-bottom: 1px solid whitesmoke;
    }

        .rj-button-bar .rj-absolute .CATECD:hover {
            background-color: whitesmoke;
            font-weight: bold;
            border-bottom: 1px solid silver;
        }

    .rj-button-bar .rj-absolute .BRAND {
        padding: 12px 0px 12px 8px;
        justify-content: left;
        font-weight: normal;
        border-bottom: 1px solid whitesmoke;
    }

        .rj-button-bar .rj-absolute .BRAND:hover {
            background-color: whitesmoke;
            font-weight: bold;
            border-bottom: 1px solid silver;
        }

#BRAND_LIST {
    position: absolute;
    background-color: white;
    padding: 5px;
    display: none;
    justify-content: left;
    flex-wrap: wrap;
    width: 1190px;
    top: 45px;
    border: 1px solid silver;
    border-bottom: 2px solid darkslategray;
}

    #BRAND_LIST .icon {
        width: 15%;
        margin: 5px;
        border: 1px solid silver;
    }

        #BRAND_LIST .icon:hover {
            border: 2px solid brown;
        }

        #BRAND_LIST .icon img {
            width: 100%;
        }

#PANEL_FILTER {
    display: none;
    width: 100%;
    position: absolute;
    top: 45px;
    z-index: 9999;
}

    #PANEL_FILTER .group {
        background-color: white;
        border: 1px solid silver;
        border-bottom: 2px solid darkslategray;
        border-top: 1px solid silver;
    }

    #PANEL_FILTER .detail {
        flex: 1;
        background-color: white;
        border: 1px solid silver;
        border-bottom: 2px solid darkslategray;
        border-top: 1px solid silver;
    }

#FOOTER {
    display: flex;
    justify-content: center;
    background-color: whitesmoke;
    padding: 10px;
    flex-wrap: wrap;
}

    #FOOTER div {
        color: darkslategray;
    }

    #FOOTER > div:first-child {
        padding: 5px;
    }

    #FOOTER div.icon {
        padding: 5px 0px;
        font-weight: bold;
    }

.reload {
    cursor: pointer;
    text-align: center;
    padding: 2px 5px;
    border: 1px solid steelblue;
    color: black;
    border-radius: 10px;
    background-color: white;
    text-decoration: none;
    margin: 0px 5px;
    font-size: 14px;
}

.pointDiv {
    position: absolute;
    right: 380px;
    top: 40px;
    flex-direction: column;
    background-color: ghostwhite;
    border: 1px solid silver;
    border-radius: 15px;
    padding: 10px;
    width: 350px;
    max-height: 150px;
    min-height: 50px;
    overflow-y: scroll;
    scrollbar-width: thin;
    align-items: center;
    display: none;
    overflow-x: hidden;
}