@charset "utf-8";

/*自由行特色不限圖文*/

.tripAgt-feature {
    text-align: inherit;
    line-height: inherit;
}

.FitAgt-feature {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

table.FitAgt-tableList {
    width: 100%;
    border: solid 2px #a6acb5;
    margin-bottom: 30px;
}

table.FitAgt-tableList th {
    background: #a6acb5;
    color: #fff;
    font-size: 18px;
}

table.FitAgt-tableList th i {
    margin-right: 10px;
}

table.FitAgt-tableList th,
table.FitAgt-tableList td {
    padding: 10px;
    text-align: center;
}

table.FitAgt-tableList th:first-of-type,
table.FitAgt-tableList td:first-of-type {
    text-align: left;
}

.FitAgt-count {
    background: #a6acb5;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin-right: 10px;
}

.FitAgt-unit {
    width: 100px;
}

.FitAgt-amount {
    width: 140px;
    text-align: center;
}

.FitAgt-amount .form-control {
    text-align: center;
}

.FitAgt-price {
    width: 170px;
    color: #e10500;
    font-size: 20px;
}

.FitAgt-feature .btn {
    display: block;
    height: 40px;
    vertical-align: middle;
    background-color: #ff615d;
    padding: 0;
    overflow: hidden;
    outline: 0;
    border: 0;
    cursor: pointer;
    width: 100px;
    margin: 0 auto;
    transition: .5s;
}

.FitAgt-feature .btn:hover {
    background-color: #e10500;
}

.FitAgt-feature .btn a {
    display: block;
    vertical-align: middle;
    font-size: 1rem;
    color: #fff;
    position: relative;
    z-index: 5;
}

@media (max-width: 500px) {
    table.FitAgt-tableList th {
        display: none;
    }
    table.FitAgt-tableList th:first-of-type {
        display: block;
        text-align: center;
    }
    table.FitAgt-tableList td {
        display: block;
        text-align: left;
        width: 100%;
        border: none;
        padding: 8px 10px;
    }
    table.FitAgt-tableList td:last-child {
        border-bottom: solid 1px #a6acb5;
    }
    table.FitAgt-tableList td:before {
        content: attr(data-th);
        font-weight: bold;
        display: inline-block;
        margin-right: 10px;
    }
    .FitAgt-price:before {
        color: #686868;
        font-size: 16px; 
    }
    .FitAgt-amount .form-control {
        text-align: center;
        width: auto;
        display: inline-block;
    }
}