﻿/*審查結果*/
.fr0,.r0{
    color:#aaa;
}
.fr1, .r1 {
    color: #5eaa07;
    font-weight:bold;
}
.fr2{
    color:red;
}
.r2
{
    color:#0a88e6;
}
.r3{
    color:#c711be;
}
/*獎牌*/
.fa-medal {
    font-size: 1em;
    font-weight: bold;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    background-color: #000;
    text-align:center;
    /*clip-path: polygon(0 0, 100% 0%, 96% 50%, 100% 100%, 0 100%, 6% 50%);*/
    /*box-shadow:0 0 0 2rem rgba(0,0,0,.5);*/
}
    .fa-medal::after {
        content: attr(title);
        font-weight: bold;
        color: black;
        
        border-left: 0;
        padding: 5px;
        border-radius: 0 5px 5px 0;
    }

    .fa-medal.e1 {
        color: #fac804;
        border: solid 1px #fac804;
        box-shadow: 0px 0px 3px .1rem rgba(250, 200, 4,.5);
    }
        .fa-medal.e1::after {
            color: #fac804;
        }

        .fa-medal.e2 {
            color: #c8c3c3;
            border: solid 1px #c8c3c3;
            box-shadow: 0px 0px 3px .1rem rgba(200, 195, 195,.5);
        }
            .fa-medal.e2::after {
                color: #c8c3c3;
            }
    .fa-medal.e3 {
        color: #bf9063;
        border: solid 1px #bf9063;
        box-shadow: 0px 0px 3px .1rem rgba(191, 144, 99,.5);
    }
        .fa-medal.e3::after {
            color: #bf9063;
        }
    /*空白*/
    .fa-medal.e99 {
        color: #666;
        border: solid 1px #666;
        box-shadow: 0px 0px 3px .1rem rgba(0, 0, 0,.8);
    }

        .fa-medal.e99::after {
            color: #666;
        }

/*禁止符號*/
.fa-ban{
    color:red;
}

.ntype-item {
    border: solid 1px #296906;
    border-radius: 5px;
    font-size: 0.9em;
    padding: 3px 8px;
    background-color: white;
    cursor: pointer;
    margin: 5px;
    user-select: none;
    white-space: nowrap;
}

    .ntype-item.orange {
        border-color: var(--orange);
        color: var(--orange);
    }

        .ntype-item.orange:hover, .ntype-item.orange.active {
            background-color: var(--orange);
            color: white;
        }

        .ntype-item.orange:focus {
            box-shadow: 0px 0px 0 .2rem rgba(250, 76, 10,.5);
        }

    .ntype-item.purple {
        border-color: var(--purple);
        color: var(--purple);
    }

        .ntype-item.purple:hover, .ntype-item.purple.active {
            background-color: var(--purple);
            color: white;
        }

        .ntype-item.purple:focus {
            box-shadow: 0px 0px 0 .2rem rgba(169, 116, 216,.5);
        }

    .ntype-item.green {
        border-color: var(--green);
        color: var(--green);
    }

        .ntype-item.green:hover, .ntype-item.green.active {
            background-color: var(--green);
            color: white;
        }

        .ntype-item.green:focus {
            box-shadow: 0px 0px 0 .2rem rgba(109, 198, 119,.5);
        }

    .ntype-item.blue {
        border-color: var(--blue);
        color: var(--blue);
    }

        .ntype-item.blue:hover, .ntype-item.blue.active {
            background-color: var(--blue);
            color: white;
        }

        .ntype-item.blue:focus {
            box-shadow: 0px 0px 0 .2rem rgb(23, 150, 215,.5);
        }

.ntype-name {
    border-radius: 5px;
    color: white;
    font-size: 0.9em;
    white-space: nowrap;
    padding: 5px;
    display: flex;
    align-items: center;
}

    .ntype-name.green {
        background-color: var(--green);
    }

    .ntype-name.blue {
        background-color: var(--blue);
    }


.databtn, .dw, .dwsbfile {
    color: #0a88e6;
    cursor: pointer;
}
    .databtn:hover, .dw:hover, .dwsbfile:hover {
        color: red;
    }
.upload-file-link {
    color: #0d7ab1 !important;
    cursor:pointer;
}
.upload-file-link:hover {
    color: #d74227 !important;
    cursor: pointer;
}
.xgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: auto;
    padding-top: 20px;
}
.testcount {
    color: #000000;
    font-size: 1.5em;
    font-weight: bold;
}
.viewscore {
    color: blue;
    cursor: pointer;
}
@media(min-width:1200px) {
    .xgrid {
        grid-template-columns: repeat(4, 1fr);
        
    }
}
/*@media (min-width: 769px) {
    .modal-dialog {
        max-width: 85vw !important;
        max-height: 95vh !important;
    }
}
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95vw !important;
        max-height: 95vh !important;
    }
}*/
@media(min-width:481px) and (max-width:900px) {
    .xgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}


    @media(max-width:480px) {
        .xgrid {
            grid-template-columns: repeat(1, 1fr);
        }
    }

    .chart-container {
        background-color: #fcfff7;
        padding: 6px;
        border: solid 1px #CCC;
        border-radius: 8px;
        box-shadow: 2px 2px 8px rgba(0,0,0,.3);
    }


    .x-selecttool {
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        overflow: auto;
        padding: 5px 0px;
        width: 100%;
    }

    @media (max-width:768px) {
        .x-selecttool {
            justify-content: left !important;
            white-space: nowrap;
            /*min-width:1000px;*/
        }
    }

    .empty-chart {
        color: #e2dede;
        padding: 5px 100px;
        border: solid 1px #ccc;
    }

    .sorttd {
        cursor: pointer;
        white-space: nowrap;
        vertical-align: middle;
    }

    .zarrow {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        margin-left: 3px;
    }

    .zsortdiv {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        /*min-width:200px;*/
    }

    .zsort[data-sort=init] {
        width: 6px;
        height: 6px;
        border-top: none;
        border-bottom: 6px solid #d7d3ce;
    }

    .zsort[data-sort=desc] {
        width: 6px;
        height: 6px;
        border-bottom: none;
        border-top: 6px solid #b6ff00;
    }

    .zsort[data-sort=asc] {
        width: 6px;
        height: 6px;
        border-top: none;
        border-bottom: 6px solid #b6ff00;
    }


    .step-arrow {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        margin: 0 auto 6px auto;
    }

    .step-frame {
        border-width: 5px;
        border-style: solid;
        border-radius: 10px;
        min-height: 160px;
        width: 100%;
        box-shadow: #AAA 1px 1px 6px 2px;
    }

        .step-frame.green {
            border-color: #50b215;
        }

        .step-frame.orange {
            border-color: #eea788;
        }

    .step-tab {
        padding: 5px 20px 10px 10px;
        font-weight: bold;
        display: inline;
        border-radius: 0 0 20px 0;
    }

    .autocomplete_completionListElement {
        margin: 0px !important;
        background-color: white;
        color: windowtext;
        border: solid 1px #966a46;
        cursor: default;
        overflow: auto;
        font-size: 1em;
        text-align: left;
        list-style-type: square; /*無作用*/
        margin-left: 0px;
        padding-left: 0px;
        max-height: 150px;
        width: auto;
    }

    .autocomplete_highlightedListItem {
        background: #966a46;
        background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
        color: white;
        padding: 1px;
    }
    .lock-icon {
        font-size: 1.2em;
        color: #724d1f;
    }
    /* AutoComplete item */

    .autocomplete_listItem {
        background-color: white;
        color: windowtext;
        padding: 1px;
    }

    
