.card-body {
    border-top: 2px solid green;
}

.card-body .title {
    font-family: SegoeUI, 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
    font-size: 22px;
}

.card-body .track-requirements {
    color: #767676;
    font-size: 12px;
}

.sort-card {
    position: absolute;
    float: left;
    height: 500px;
    margin-left: 10px;
    margin-top: 30px;
    width: 25%;
    box-shadow: 2px 2px 2px rgba(20%, 20%, 40%, 0.6), 4px 4px 6px rgba(20%, 20%, 40%, 0.4), 6px 6px 12px rgba(20%, 20%, 40%, 0.4);
}

.sort-card-2 {
    height: 500px;
    left: 10px;
    top: 30px;
    width: 350px;
    box-shadow: 2px 2px 2px rgba(20%, 20%, 40%, 0.6), 4px 4px 6px rgba(20%, 20%, 40%, 0.4), 6px 6px 12px rgba(20%, 20%, 40%, 0.4);
}

.sort-card p {
    max-height: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-sort-card {
    margin-left: 20px;
}

.track-card-footer {
    position: absolute;
    bottom: 30px;
}

.slide-block {
    /*width: 100%;*/
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
    margin-right: auto;
    margin-left: auto;
}

.logo-block {
    max-width: 200px;
    max-height: 100px;
}


.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.flex-container-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex{
    display: flex;
    align-items: center;
    justify-content: center;
}

/*header.active{*/
    /*background: rgba(38, 38, 38, 0.4);*/
    /*!*background: #0e0e0e;*!*/
    /*transition: all .3s;*/
/*}*/

header{
    /*background: rgba(0, 0, 0, 0);*/
    background: #0e0e0e;
    /*background: rgba(38, 38, 38, 0.6);*/
    /*transition-property: all;*/
    /*transition-duration: 0.3s;*/
    /*transition-timing-function: linear;*/
    /*transition-delay: 0s;;*/
    width: auto;
}

.faq-block{
    background-color: #6BF178;
    /*margin-top: 1vh;*/
}

.QA_delete_text{
    display: none;
    font-size: 40px;
    z-index: 5;
    cursor: pointer;
}

.QA_delete_text_admin{
    display: block;
}

.modal-window{
    cursor: pointer;
}


.item-block{
    padding-top: 5rem;
    height: auto;
}

.item-container{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 0rem ;
}

.item{
    position: relative;
    width: 100%;
    min-height: 1px;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding-bottom: 1rem;
}

.category-block{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category-item{
    display: flex;
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    max-width: 348px;
    min-width: 300px !important;
}

.category-item img{
    margin: 0;
}

.card-text{
    color: black;
    text-align: center;
    max-width: 284px;
}

.well{
    margin: 2rem;
}

.tab-pane{
    display: none;
}

.tab-pane.active{
    display: block;
}

.btn{
    cursor: pointer;
}


/* 響應式 */
@media (min-width: 300px) {

    .sort-card {
        width: 85vw;
        margin-left: 4vw;
    }

    .logo-block {
        /*width: 200px;*/
        /*height: 80px;*/
        margin-left:2rem;
    }

    .justify-content-end img{
        margin-left: 0.5rem;
    }

    .container.d-flex{
        flex-direction: column;
    }

    .item-container{
        display: unset;
        -ms-flex-wrap: unset;
        flex-wrap: unset;
        position: relative;
        width: 100%;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
        margin: 0 auto;
    }

    .item{
        margin: 0 auto;
    }

    .department-block{
        margin: 1rem 0 0 0;
    }

    .row.category-container{
        padding-top: 1rem;
    }

    .category-item{
        flex: 0 0 85%;
        margin: 1rem auto;
    }


    .title-name-extra{
        flex: 1 0 100% !important;
    }

    .logo-container{
        text-align: center;
    }


}

@media (min-width: 400px) {
    .logo-block {
        /*width: 200px;*/
        /*height: 80px;*/
        margin-left:6rem;
    }
}

@media (min-width: 576px) {
    .sort-card {
        width: 38vw;
        margin-left: 1vw;
    }

    .logo-block {
        /*width: 200px;*/
        /*height: 80px;*/
    }


    .container.d-flex{
        flex-direction: unset;
    }

    .item-container {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .department-block{
        margin: 0rem 5rem 1rem 5rem;
    }

    .category-item{
        flex: 0 0 49%;
        margin-left: 1px;
    }

    .category-item .row .col-sm{
        position: absolute;padding-left:6rem ; right: 0px; top: 0px; width: 20rem;
    }

    .item-container{
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .sort-card {
        width: 40vw;
        margin-left: 2vw;
    }

    .title-name-extra{
        flex: 0 0 30% !important;
    }

    .item{
        margin: 2rem 0.5rem 0rem 0.5rem;
        max-width: 400px;
    }

    .logo-container{
        text-align: unset;
    }

    .item-container{
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .sort-card {
        width: 28vw;
        margin-left: 2vw;
    }

    .category-item{
        flex: 0 0 30%;
        margin-left: 1rem;
        margin-bottom: 1rem;
        margin-right: 1rem;
    }

    .item-container{
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .slide-block {
        min-width: 1540px;
    }

    .sort-card {
        width: 300px;
        height: 450px;
        margin-left: 3.5vw;
    }

    .logo-block {
        margin-left:-6rem;
    }

    .item-container{
        max-width: 1200px;
    }
}

/*
    min = 大於多少
    max = 小於多少
*/



