/* ============================================================
   web-cart  —  購物車 / 結帳   〔積木說明〕
   商品表、優惠券、金額計算、結帳步驟(.car-*/.cars-*/.step-*)
   （由 all.css 拆分；純樣式區塊，改這裡不影響其他積木）
   ============================================================ */


.instructor-images-swiper .gallery-thumbs .swiper-slide {
    margin: 0 3px;
}



body {
    font-family: "微軟正黑體";
}

.car-inside-title {
    padding-top: 60px;
    padding-bottom: 60px;
}

.step-block {
    text-align: center;
    margin-bottom: 30px;
    padding-right: 70px;
}

.step-group {
    box-sizing: border-box;
    padding: 0px 35px;
    position: relative;
    display: inline-block;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    background: #e2e3e3;
    color: #868585;
    position: relative;
    z-index: 2;
}

.step-group p {
    color: #868585;
    font-size: 16px;
    margin-top: 10px;
    min-width: 176px;
}

.step-block .line {
    position: absolute;
    width: 130px;
    height: 24px;
    background: url(/assets/images/grey-arrow.svg) no-repeat;
    background-size: 100% 100%;
    right: -30px;
    top: 3px;
    z-index: 1;
    border-bottom: unset;
    float: unset;
    margin: unset;
}

.step-group-active .step-number {
    background: #a71e2a !important;
    color: #fff !important;
}

.step-group-active .step-block .line {
    background: url(/assets/images/gradient-arrow.svg) no-repeat;
    background-size: 100% 100%;
}

.car-inside-title-img {
    max-width: 800px;
    margin: 0px auto;
    width: 100%;
    box-sizing: border-box;
}

.car-inside-title-img img {
    width: 100%;
    vertical-align: middle;
}

.car-tables th {
    border-bottom: 1px solid #e9eaea;
    border-top: 1px solid #e9eaea;
    padding: 15px 10px;
    color: #595757;
    font-size: 16px;
    font-weight: bold;
}

.car-tables th:first-child {
    border-left: 1px solid #e9eaea;
}

.car-tables th:last-child {
    border-right: 1px solid #e9eaea;
}

.cars-phone {
    display: none;
}

.car-tables td {
    text-align: center;
    border-bottom: 1px solid #e9eaea;
    padding: 30px 10px;
    color: #2C2D2D;
    font-size: 16px;
}

.car-tables td a {
    color: #2C2D2D;
    text-decoration: underline;
}

.car-product {
    display: inline-block;
}

.car-product img {
    display: block;
    width: 80px;
    height: 80px;
    vertical-align: middle;
}

.car-product-text {
    margin-left: 100px;
    line-height: 20px;
    padding-top: 30px;
}

.color-red {
    color: #A71F2A !important;
}

.car-tables td .small-font {
    font-size: 14px;
    font-style: normal;
}

.car-delete {
    font-size: 16px;
    display: none;
}

.car-bodys-table-tr .car-delete {
    display: block;
}

.car-td-phone-hover .car-delete {
    display: block;
}

.car-delete:hover {
    cursor: pointer;
    color: #A71F2A;
}

.car-delete i {
    margin-right: 1px;
}

.car-delete-text {
    font-size: 12px;
    display: block;
    line-height: 10px;
}

.cars-phone li {
    border-top: 1px solid #e9eaea;
    padding: 15px 0px;
}

.car-phone-top-group {
    width: 50%;
}

.car-phone-top-group.right {
    text-align: right;
}

.car-phone-delete {
    display: inline-block;
    font-size: 12px;
    color: #231815;
    line-height: 20px;
    padding: 0 5px;
    border: 1px solid #e2e3e3;
    border-radius: 3px;
}

.car-phone-delete i {
    vertical-align: 1px;
}

.car-phone-top-group .small-font {
    font-size: 14px;
}

.car-phone-top-group .car-phone-delete {
    margin-bottom: 24px;
}

.car-amounts {
    display: inline-block;
    margin-top: 20px;
    min-width: 200px;
}

.car-amount-top {
    padding: 20px 30px;
    border-bottom: 1px solid #e9eaea;
    box-sizing: border-box;
    width: 510px;
}

.car-amount-group {
    width: 33.33%;
    color: #2C2D2D;
    font-size: 16px;
    margin-bottom: 20px;
    float: left;
}

.car-amount-price {
    text-align: right;
}

.car-amount-middle {
    text-align: center;
}

.car-course-number {
    margin: 0px 10px;
}

.car-blod {
    font-weight: bold;
}

.car-coupons {
    font-size: 16px;
    line-height: 28px;
}

.car-coupons-main input {
    -webkit-appearance: none;
    height: 28px;
    line-height: 28px;
    box-sizing: border-box;
    border: none;
    font-family: "微軟正黑體";
}

.car-coupons-main input[type="text"] {
    width: 150px;
    text-align: center;
    background: #e2e3e3;
    font-size: 16px;
    padding: 0px 10px;
}

.car-coupons-main {
    margin-left: 10px;
}

.car-coupons-main input[type="button"] {
    background: #a71e2a;
    color: #fff;
    width: 62px;
    text-align: center;
    margin-left: 2px;
}

.car-coupons-right {
    margin-left: 309px;
    text-align: right;
}

.car-amount-total {
    color: #2C2D2D;
    font-size: 26px;
    text-align: right;
    padding-top: 10px;
}

.car-amount-total .total-price {
    color: #A71F2A;
    font-size: 26px;
    font-weight: bold;
    margin-left: 10px;
}

.car-form-title {
    border: 1px solid #e9eaea;
    padding: 15px 30px;
    color: #231815;
    font-size: 17px;
    font-weight: bold;
    margin-top: 45px;
}

.car-form-group li {
    padding: 0 30px;
    margin-top: 20px;
    color: #231815;
    font-size: 16px;
    line-height: 22px;
}

.car-form-group input {
    width: 22px;
    height: 22px;
}

.car-form-group-right {
    margin-left: 32px;
}

.car-input-group {
    padding: 0px 30px;
    margin-top: 15px;
    line-height: 34px;
    font-size: 16px;
}

.car-input-group-input {
    margin-left: 90px;
}

.car-input-group-input input {
    -webkit-appearance: none;
    height: 34px;
    border: 1px solid #e9eaea;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    font-size: 16px;
    font-family: "微軟正黑體";
    padding: 0px 10px;
}

.car-agree {
    border-bottom: 1px solid #e9eaea;
    border-top: 1px solid #e9eaea;
    padding: 12px 30px;
    line-height: 22px;
    margin: 40px 0px;
}

.car-agree input {
    width: 18px;
    height: 18px;
    display: block;
}

.car-agree-text {
    margin-left: 30px;
    color: #231815;
    font-size: 12px;
}

.car-agree-text a {
    color: #3490dc;
    text-decoration: underline;
}

.cars-pc .cars-next a {
    display: block;
    line-height: 42px;
    font-size: 16px;
    font-weight: bold;
    width: 140px;
    text-align: center;
    border-radius: 10px;
}

.button-gray {
    background: #878687;
    color: #fff;
}

.button-red {
    background: #aa3d4e;
    color: #fff;
}

.cars-phone-fix {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 60px;
    background: #fff;
    border-top: 1px solid #e9eaea;
    z-index: 1000;
}

.cars-phone-fix a {
    display: block;
    width: 84px;
    line-height: 48px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.cars-phone-fix-text {
    margin-left: 86px;
    margin-right: 86px;
    text-align: center;
    line-height: 44px;
    text-align: center;
    color: #231815;
    font-size: 14px;
}

.cars-phone-fix-price {
    font-size: 16px;
    font-weight: bold;
}

.cars-phone-fix-price i {
    font-size: 14px;
}

.price-minute {
    color: #444;
    font-size: 0.8em !important;
}

.information-course {
    line-height: 29px;
    margin-left: 5px;
    position: absolute;
}

.information-course i {
    font-size: 12px !important;
    cursor: pointer;
}

.information-course p {
    font-size: 12px !important;
    background-color: #ffe9e6;
    padding: 5px !important;
    position: absolute;
    bottom: 24px;
    line-height: 19px !important;
    border: 1px solid #e0b9b4;
    border-radius: 5px;
    min-width: 235px;
    display: none;
    text-align: justify;
    color: #474747;
}

.pack-td label {
    margin-bottom: unset;
}


@media (min-width: 1080px) {

    .button-gray,
    .button-red:hover {
        opacity: 0.8;
    }
}

@media (max-width: 1080px) {
    .cars-pc .car-tables th {
        padding: 5px 5px;
        font-size: 12px;
    }

    .cars-pc .car-tables td {
        font-size: 12px;
        padding: 5px 5px;
        border-bottom: none;
    }

    .cars-pc a {
        font-size: 12px;
    }

    .car-product img {
        width: 60px;
        height: 60px;
    }

    .car-product-text {
        margin-left: 70px;
        padding-top: 20px;
    }

    .car-tables td .small-font {
        font-size: 12px;
    }

    .first-class-phone {
        position: absolute;
        right: 8px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .car-inside-title {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .step-block {
        display: none;
    }

    .car-inside-title-img {
        box-sizing: border-box;
    }

    .cars-phone {
        display: block;
    }

    .cars-pc {
        display: none;
    }

    .car-product img {
        width: 60px;
        height: 60px;
    }

    .car-product-text {
        margin-left: 70px;
        padding-top: 20px;
    }

    .cars-phone .car-tables th {
        padding: 5px 5px;
        font-size: 12px;
    }

    .cars-phone .car-tables td {
        font-size: 12px;
        padding: 5px 5px;
        border-bottom: none;
    }

    .cars-phone .car-tables {
        margin-top: 10px;
    }

    .cars-phone .car-product-text,
    .car-phone-top-group.right {
        font-size: 16px;
    }

    .car-amount-top {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0px;
    }

    .car-amount-group {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .car-coupons-main input[type="text"] {
        width: 110px;
        font-size: 14px;
    }

    .car-coupons-main input[type="button"] {
        width: 46px;
        font-size: 14px
    }

    .car-coupons-right {
        margin-left: 233px;
    }

    .car-coupons {
        font-size: 14px;
    }

    .car-coupons-main {
        margin-left: 5px;
    }

    .car-amount-total {
        font-size: 18px;
        padding-top: 12px;
    }

    .car-amount-total .total-price {
        margin-left: 10px;
    }

    .car-amount-total .total-price {
        font-size: 18px;
    }

    .car-form-title {
        margin-top: 25px;
        font-size: 16px;
        padding: 8px 6px;
    }

    .car-form-group input {
        width: 18px;
        height: 18px;
    }

    .car-form-group li {
        font-size: 14px;
        line-height: 18px;
        padding: 0px 6px;
    }

    .car-form-group-right {
        margin-left: 22px;
    }

    .car-input-group-input input {
        font-size: 14px;
    }

    .car-agree input {
        width: 18px;
        height: 18px;
    }

    .car-agree-text {
        margin-left: 22px;
    }

    .car-agree {
        padding: 5px 6px;
        margin: 20px 0px;
    }

    .car-containers {
        margin-bottom: 44px;
    }

    .car-amounts {
        min-width: 150px;
    }

    .information-course p {
        min-width: 150px;
    }
}

/*7月27日*/
.car-bodys {
    background: #f7f7f7;
    padding: 20px 0px 55px 0px;
    border-top: 2px solid #d5d6d7;
}

.car-title {
    color: #222120;
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 10px;
}

.car-lists {
    background: #fff;
    margin-bottom: 10px;
    border: 1px solid #eeeeef;
}

.car-checkbox-lable {
    color: #555555;
    font-size: 13px;
    margin-bottom: unset;
    margin-left: 11px;
}

.car-checkbox-all {
    margin-top: 5px;
}

.car-checkbox {
    width: 15px;
    height: 15px;
    border: 1px solid #959696;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.car-item-title .car-checkbox {
    margin-top: 18.5px;
}

.car-item-title {
    line-height: 52px;
    border-bottom: 1px solid #eeeeef;
    padding: 10px 20px;
}

.pt-images {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 10px;
}

.pt-name {
    font-size: 15px;
    color: #555555;
}

.car-bodys-table thead {
    display: table;
    table-layout: fixed;
    width: calc(100% - 1em);
}

.car-bodys-table tbody {
    display: block;
    max-height: 300px;
    overflow: auto;
    overflow-x: hidden;
}

.car-bodys-table th {
    border-bottom: 1px solid #eeeeef;
    padding: 10px 0px;
    color: #555555;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.car-bodys-table td {
    padding: 10px 0;
    color: #555555 !important;
    font-size: 15px;
    text-align: center;
}

.car-table-more th,
.car-table-more td {
    width: 230px;
}

.car-table-more th:first-child,
.car-table-more td:first-child {
    width: 40px;
}

.car-table-more select {
    padding: 0 20px;
}

.car-selects {
    text-align: center;
    text-align-last: center;
    border: none;
    border-bottom: 1px solid #a5a5a5;
    border-radius: 0px;
    display: inline-block;
    color: #555555;
    font-size: 13px;
    height: 25px;
    line-height: 25px;
    background: none;
}

.car-select-class {
    font-size: 15px;
}

.car-appointment {
    color: #A71F2A;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

.car-tables-price {
    color: #A71F2A !important;
    font-size: 13px !important;
}

.car-tables-price i {
    font-size: 15px !important;
}

.car-remaining {
    font-size: 13px;
    color: #A71F2A;
}

.car-selects-date {
    width: 150px;
}

.car-content-phone {
    display: none;
}

.sum-main {
    display: inline-block;
}

.min,
.add {
    width: 25px;
    height: 25px;
    border: none;
    border: 1px solid #cccccc;
    background: none;
    box-sizing: border-box;
}

.text_box {
    border: none;
    width: 50px !important;
    text-align: center;
    background: none;
    margin: 0px 5px;
    height: 25px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
}

.text_box:focus {
    background: #ddd;
}

.min:focus,
.add:focus {
    outline: none;
}

.car-bodys-table tbody tr {
    width: 100%;
    display: inline-table;
}

.car-bodys-table ::-webkit-scrollbar {
    width: 5px;
    margin-left: 0px;
    background-color: #f8f8f8;
}

.car-bodys-table ::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.car-bodys-table ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: rgb(219, 219, 219);
}

.car-bodys-table-tr td,
.car-td-phone-hover {
    background: #f8edee;
}

.table-class-name {
    width: 280px;
}

.coupon-use {
    text-decoration: 1px #444 solid !important;
    text-decoration: underline !important;
}

.original-price-group {
    display: inline-block;
    float: left;
}

.coupon-group p {
    display: inline-block;
    float: left;
    margin-left: 10px;
}

.discount-block {
    font-size: 15px;
    border-bottom: 1px solid #e9eaea;
    display: flex;
    padding-bottom: 10px;
}

.discount-block p {
    width: 50%;
    text-align: left;
    float: left;
}

.discount-block span {
    width: 50%;
    text-align: right;
    display: block;
    float: left;
}

.coupon-group span {
    margin-left: 10px;
}


@media (max-width: 1079px) {
    .car-content-phone {
        display: block;
    }

    .car-content-pc {
        display: none;
    }

    .step-group {
        padding: 0px;
    }

    .car-title {
        text-align: center;
        font-size: 20px;
    }

    .car-item-title {
        line-height: 30px;
        padding: 5px;
    }

    .pt-images {
        width: 30px;
        height: 30px;
        margin-left: 10px;
    }

    .car-item-title .car-checkbox {
        margin-top: 7.5px;
        margin-left: 5px;
    }

    .car-td-phone {
        padding: 5px;
        border-bottom: 1px solid #eeeeef;
        position: relative;
    }

    .car-td-right {
        margin-left: 20px;
    }

    .car-td-group {
        font-size: 12px;
        line-height: 25px;
        margin-bottom: 6px;
    }

    .car-td-phone .car-checkbox {
        margin-top: 5px;
    }

    .car-selects {
        font-size: 12px;
        width: 100px;
        background: url("/assets/images/select-arrow.svg") no-repeat scroll right center transparent;
        background-size: 8px 8px;
        text-align: left;
        padding-left: 5px;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
    }

    .car-select-class {
        width: 135px;
    }

    .car-checkbox-lable {
        font-size: 12px;
    }

    .pt-name {
        font-size: 12px;
    }

    .car-tables-price {
        font-size: 12px !important;
    }

    .car-td-group .car-checkbox {
        vertical-align: middle;
        margin-top: 0px;
    }

    .car-td-phone .car-delete {
        position: absolute;
        bottom: 10px;
        right: 8px;
        font-size: 15px;
        text-align: center;
    }

    .car-td-phone .sum-main {
        vertical-align: middle;
    }

    .car-checkbox-all {
        margin-left: unset;
    }

    .car-checkbox-lable {
        margin-left: unset;
    }
}

.car-bottoms {
    padding: 15px 0px;
    line-height: 32px;
    border-top: 2px solid #d5d6d7;
    color: #555555;
    font-size: 15px;
}

.car-bottoms .car-checkbox {
    margin-top: 9px;
}

.car-bottoms-right a {
    display: inline-block;
    background: #a71f2a;
    color: #fff;
    border-radius: 50px;
    padding: 0px 15px;
    margin-left: 15px;
}

.car-bottoms-right a i {
    margin-right: 5px;
}

.car-bottoms-main {
    padding: 0px 20px;
    display: flow-root;
}

.car-bottoms-content {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1100;
    background: #fff;
    display: none;
}

.car-bottom-phone {
    display: none;
}

.car-bottom-phone {
    border-top: 2px solid #d5d6d7;
    line-height: 40px;
    background: #f7f7f7;
    text-align: center;
    color: #231815;
    font-size: 12px;
}

.car-bottom-phone-price {
    color: #A71F2A;
}

.car-bottom-phone a {
    display: block;
    width: 105px;
    color: #fff;
    background: #868585;
    font-size: 16px;
    font-weight: bold;
}

.car-bottom-phone-mains {
    margin-left: 105px;
    margin-right: 105px;
}

.car-bottom-phone a.right {
    background: #aa3d4e;
}

.car-bottom-phone-price i {
    font-size: 16px;
}

@media (min-width: 1080px) {
    .car-bottoms-right a:hover {
        opacity: 0.8;
    }
}

@media (max-width: 1079px) {
    .car-bottoms-main {
        padding: 0px;
    }

    .car-bottoms {
        font-size: 12px;
        padding: 10px 0px;
        line-height: 28px;
    }

    .car-bottoms-right a {
        margin-left: 5px;
        padding: 0px 8px;
    }

    .car-bottoms .car-checkbox {
        margin-top: 6px;
    }

    .car-bottom-phone {
        display: block;
    }

    .car-containers {
        margin-bottom: 92px;
    }
}

@media (max-width: 767px) {
    .car-containers {
        margin-bottom: 92px;
    }

    .car-bottoms-content {
        bottom: 109px
    }

    #triple-invoice-content input {
        width: 100% !important;
        height: 34px !important;
    }

}
