﻿body {
    background-color: #dff0e6;
}

.intop_img {
    position: relative;
    padding: 0px;
    margin-bottom: 20px;
    display:flex;
    justify-content:center;
}

.intop_img img{
    height:333px;
}

.descDiv {
    height: 103px;
    background-color: #ffffff;
    opacity: .75 !important;
    border-radius: 20px;
    padding: 12px 24px;
    position: absolute;
    bottom: 0%;
    left: 0%;
    transform: translate(0%, -3%);
}

    .descDiv #desc {
        height: 60px;
        padding: 0px;
        overflow: hidden;
    }

    .descDiv.open, .descDiv.open #desc {
        height: auto;
    }

.openBtnDiv {
    display: block;
    margin-top: 5px;
    padding: 0px;
}

.descDiv h4 {
    margin: 0px;
    font-weight: bold;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.15em;
    color: black;
}

#openBtn {
    background-color: black;
    opacity: .3;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    line-height: 22px;
    letter-spacing: 0.15em;
}

.menu {
    padding: 0px;
    margin-bottom: 30px;
}

.menu-title {
    background-color: #7FCAC3;
    padding: 0px 10px;
    border-radius: 10px 10px 0px 0px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*解決在ie中min-height會讓align-items: center無效的問題*/
.menu-title:after {
    content: '';
    min-height: inherit;
    font-size: 0;
}

.menu-title span {
    font-weight: bold;
    font-size: 20px;
    line-height: 39.6px;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.menu-content {
    background-color: #F9F9F9;
    height: 301px;
    overflow-y: scroll;
    padding: 0px 0px 4px 0px;
}

.menu-item {
    height: 59px;
    background-color: white;
    display: flex;
    justify-content: center;
    margin: 4px 0px 0px 0px;
}

.first-item {
    border-radius: 20px 20px 0px 0px;
}

.last-item {
    border-radius: 0px 0px 20px 20px;
}

.menu-item .stationNum {
    background-color: #7FCAC3;
    padding: 12px 2px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

    .menu-item .stationNum span {
        display: inline-block;
        font-weight: bold;
        font-size: 18px;
        line-height: 22px;
        background-color: #ffffff;
        color: #424242;
        border: 4px solid #D9D9D9;
        border-radius: 50%;
        width: 30px;
        min-width: 30px;
        height: 30px;
        text-align: center;
    }

.menu-item.active .stationNum span {
    border: 4px solid #ECC703;
}

.menu-item .stationName {
    padding: 0px 5px;
}

    .menu-item .stationName a {
        width: 170px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-item .stationName span {
        font-weight: bold;
        font-size: 18px;
        line-height: 26.4px;
        letter-spacing: 0.14em;
        color: #373737;
        text-align: center;
    }

.menu-item.active .stationName {
    background-color: #7FCAC3;
}

    .menu-item.active .stationName span {
        color: white;
    }

.menu-footer {
    background-color: #7FCAC3;
    padding: 0px 10px;
    border-radius: 0px 0px 10px 10px;
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*解決在ie中min-height會讓align-items: center無效的問題*/
.menu-footer:after {
    content: '';
    min-height: inherit;
    font-size: 0;
}

.footer-item a {
    cursor: pointer;
    display: block;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}

.footer-item .questionIcon {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    background-color: #ffffff;
    border: 4px solid #D9D9D9;
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin-right: 20px;
    text-align: center;
    color: #424242;
}

.footer-item .extraInfo {
    font-weight: bold;
    font-size: 20px;
    line-height: 26.4px;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.stationCard {
    margin-bottom: 30px;
    padding: 0px;
}

.cardTitle {
    min-height: 86px;
    border-radius: 20px 20px 0px 0px;
    padding: 8px 0px;
    background-color: #7FCAC3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

    .cardTitle .grade {
        background-color: #6CA6DF;
        color: white;
        border-radius: 20px;
        padding: 8px 32px;
        font-weight: 400;
        font-size: 14px;
        line-height: 15.4px;
        margin: 3px;
    }

    .cardTitle .stationNum {
        color: white;
        padding: 0px 20px;
        font-weight: bold;
        font-size: 20px;
        line-height: 26.4px;
        margin: 3px;
    }

    .cardTitle .stationName {
        color: white;
        font-weight: bold;
        font-size: 20px;
        line-height: 26.4px;
        letter-spacing: 0.05em;
        margin: 3px;
        width: 100%;
        text-align: center;
    }

.cardBody {
    background-color: white;
    padding: 12px 0px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .cardBody .imgDiv {
        display: flex;
        justify-content: center;
    }

    .cardBody .cardImg {
        width: 250px !important;
        height: 250px;
    }

.stationInfo {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

    .stationInfo .incomplete {
        width: 124px;
        padding: 4px 32px;
        background-color: #E9E9E9;
        color: #4D4D4D;
        font-weight: bold;
        font-size: 20px;
        line-height: 15.4px;
    }

    .stationInfo .ongoing {
        width: 124px;
        padding: 4px 32px;
        background-color: #ECC703;
        color: white;
        font-weight: bold;
        font-size: 20px;
        line-height: 15.4px;
    }

    .stationInfo .complete {
        width: 124px;
        padding: 4px 32px;
        background-color: #7FCAC3;
        color: white;
        font-weight: bold;
        font-size: 20px;
        line-height: 15.4px;
    }

    .stationInfo div {
        padding: 0px;
    }

.stationDesc {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.05em;
}

.btn_explore {
    width: 104px;
    height: 40px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 15.4px;
    color: white;
    background-color: #5CB9B1;
}

.cardFooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #7FCAC3;
    border-radius: 0px 0px 20px 20px;
    padding: 8px 0px;
    min-height: 56px;
}

    .cardFooter.firstStation {
        justify-content: flex-end !important;
    }

    .cardFooter.lastStation {
        justify-content: flex-start !important;
    }

.previousBnt {
    border-radius: 20px 0px 0px 20px;
    margin: 4px 32px;
    padding: 8px 0px;
    background-color: #5CB9B1;
    color: white;
    font-weight: bold;
    font-size: 14px;
    line-height: 15.4px;
    width: 100px;
    height: 32px;
    text-align: center;
}

.nextBnt {
    border-radius: 0px 20px 20px 0px;
    margin: 4px 32px;
    padding: 8px 0px;
    background-color: #5CB9B1;
    color: white;
    font-weight: bold;
    font-size: 14px;
    line-height: 15.4px;
    width: 100px;
    height: 32px;
    text-align: center;
}

    .btn_explore:hover, .btn_explore:focus, .previousBnt:hover, .previousBnt:focus, .nextBnt:hover, .nextBnt:focus {
        outline: none;
        color: white;
    }

.modal-body {
    font-size: 18px;
}

@media(min-width:400px) {
    .menu-item .stationNum {
        margin-right: 20px;
    }

    .menu-item .stationName a {
        width: 190px;
    }
}

@media (min-width: 768px) {
    .intop_img {
        margin-bottom: 24px;
    }

        .intop_img img {
            width: 100%;
            height:auto;
        }

    .descDiv h4 {
        font-size: 18px;
        line-height: 27px;
    }

    .menu-title {
        border-radius: 20px 20px 0px 0px;
        min-height: 56px;
    }

    .menu-item .stationName span {
        font-size: 20px;
    }

    .menu-footer {
        padding: 0px 12px;
        border-radius: 0px 0px 20px 20px;
        min-height: 56px;
    }

    .cardTitle {
        min-height: 56px;
    }

        .cardTitle .stationNum {
            font-size: 24px;
        }

        .cardTitle .stationName {
            font-size: 24px;
            width: auto;
        }

    .cardBody {
        padding: 12px;
        height: 440px;
    }

        .cardBody .cardImg {
            width: 100% !important;
            height: 100%;
        }

    .stationInfo {
        padding: 12px 16px 0px 16px;
    }
}

@media (min-width: 992px) {
    .menu-content {
        height: 440px;
    }

    .descDiv, .descDiv #desc {
        height: auto;
    }

    .openBtnDiv {
        display: none;
    }

    .stationCard {
        padding: 0px 15px;
    }
}

@media(min-width:1200px) {
    .descDiv {
        transform: translate(0%, -40%);
    }
}
