@font-face {
    font-family: 'Font Awesome 5 Free';
    src: url('/assets/webfonts/fa-solid-900.eot');
    src: url('/assets/webfonts/fa-solid-900.eot#iefix') format('embedded-opentype'),
        url('/assets/webfonts/fa-solid-900.woff') format('woff'),
        url('/assets/webfonts/fa-solid-900.ttf') format('truetype'),
        url('/assets/webfonts/fa-solid-900.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

#page-content {
    background-color: #f7f7f7;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
.btn {
    font-family: 'Microsoft JhengHei', '微軟正黑體', 'Microsoft YaHei', sans-serif !important;

}

:focus {
    outline: -webkit-focus-ring-color auto 0px;
}

h1,
h2,
h3,
h4,
h5 {
    color: #6b6b6b;
    font-weight: 600;
    line-height: initial;
}

h1 {
    font-size: 8.5vw;
}

h2 {
    font-size: 7.5vw;
}

h3 {
    font-size: 7.5vw;
}

h4 {
    font-size: 5.5vw;
}

body,
span,
p,
.btn,
.form-group label:not(.error),
.form-control {
    font-size: 4.8vw;
    letter-spacing: 0.5vw;
}

h3 {
    font-size: 7.5vw;
    letter-spacing: 0.5vw;
}

button.btn,
.btn:not(.close):not(.mfp-close),
a.btn:not([href]):not([tabindex]) {
    background-color: orange;
    border-color: orange;
    border-radius: 10px;
}

button.btn.btn-options,
.btn:not(.close):not(.mfp-close).btn-options,
a.btn:not([href]):not([tabindex]).btn-options {
    color: #495057;
    background-color: #ffe6bf;
    border: 1px solid #aaa;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-weight: 400;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

button.btn.btn-lightgray,
.btn:not(.close):not(.mfp-close).btn-lightgray,
a.btn:not([href]):not([tabindex]).btn-lightgray {
    padding: 10px 15px;
    background-color: #ccc;
    border-color: #ccc;
    color: #4c5667;
}

.d-flex {
    align-items: center;
}

button.btn.btn-lightgray:hover,
button.btn.btn-lightgray:focus,
button.btn.btn-lightgray:not(:disabled):not(.disabled):active,
button.btn.btn-lightgray:not(:disabled):not(.disabled).active,
.btn:not(.close):not(.mfp-close).btn-lightgray:hover,
.btn:not(.close):not(.mfp-close).btn-lightgray:focus,
.btn:not(.close):not(.mfp-close).btn-lightgray:not(:disabled):not(.disabled):active,
.btn:not(.close):not(.mfp-close).btn-lightgray:not(:disabled):not(.disabled).active,
a.btn:not([href]):not([tabindex]).btn-lightgray:hover,
a.btn:not([href]):not([tabindex]).btn-lightgray:focus,
a.btn:not([href]):not([tabindex]).btn-lightgray:not(:disabled):not(.disabled):active,
a.btn:not([href]):not([tabindex]).btn-lightgray:not(:disabled):not(.disabled).active {
    background-color: orange;
    border-color: orange;
    color: #fff
}

.input-group-float {
    position: relative;
}

.input-group-float .btn.inner-btn {
    position: absolute;
    margin: 4px 4px;
    top: 0;
    right: 0;
    padding: 8px 16px;
    border-radius: 8px;
}

input:not([type="checkbox"]):not([type="radio"]),
select {
    font-size: 4.8vw;
    color: #aaa;
    border-color: #aaa;
    border-radius: 10px;
}

.p-checkbox > input[type="checkbox"] + .p-checkbox-style:before {
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #fff
}

.p-checkbox > input[type="checkbox"] + .p-checkbox-style {
    width: 1.6em;
    font-size: 1.4em;
}

a:not(.btn):not(.badge):hover,
a:not(.btn):not(.badge):focus,
a:not(.btn):not(.badge):active {
    color: darkorange;
}

a,
#mainMenu nav > ul > li.hover-active > a,
#mainMenu nav > ul > li.hover-active > span,
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.current > span,
#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li:hover > span,
#mainMenu nav > ul > li:focus > a,
#mainMenu nav > ul > li:focus > span {
    color: orange;
}

a:hover {
    color: darkorange;
}

#home-promo {
    list-style-type: none;
}

#home-promo li {
    display: flex;
    align-items: center;
}

#home-promo img {
    float: left;
    width: 30vw;
    padding-right: 5vw;
}

@media only screen and (min-width: 992px) {
    #home-promo img {
        width: 120px;
        padding-right: 10px;
    }
}

/* 取消選取 */
.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.text-orange {
    color: orange !important;
}

.text-numberic {
    font-family: sans-serif;
    font-weight: 600;
    color: orange;
    font-size: 5.5vw;
}

.text-large {
    font-size: 6vw;
    font-weight: 600;
}

#header.header-mini .header-inner #mainMenu > .container nav > ul > li > a,
#header.header-mini #header-wrap #mainMenu > .container nav > ul > li > a {
    font-size: 16px;
    color: #6b6b6b;
}

#header.header-mini .header-inner #logo a > img,
#header.header-mini #header-wrap #logo a > img {
    height: 60px;
    padding: 10px;
}

select.form-control:not([size]):not([multiple]),
input:not([type="checkbox"]):not([type="radio"]),
select {
    font-size: 18px !important;
    background-color: #fff;
    color: #6b6b6b;
    font-weight: 600;
    border-radius: 10px;
    border-color: #aaa;
}

select.form-control:not([size]):not([multiple]).bg-gray,
input:not([type="checkbox"]):not([type="radio"]).bg-gray,
select .bg-gray {
    background-color: #f7f7f7;
}

textarea.form-control,
textarea.form-control:focus {
    border-radius: 10px 10px 0 10px;
    background-color: #f7f7f7;
    border-color: #aaa;
}

select.form-control:not([size]):not([multiple])::placeholder,
input:not([type="checkbox"]):not([type="radio"])::placeholder,
textarea.form-control::placeholder {
    color: #aaa;
}

#main_BN .slick-list picture img {
    width: 100%;
}

#main_BN .slick-dots {
    text-align: center;
    position: absolute;
    height: 34px;
    list-style: none;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%) background-color: #ce0037;
    /* background-color: #ce0037; */
    top: 94%;
}

#main_BN .slick-dots {
    padding-left: 0;
    top: unset;
    bottom: 0%;
    margin-bottom: 0;
}

#main_BN .slick-dots li {
    display: inline-block;
    margin: 10px;
    line-height: 24px;
}

#main_BN .slick-dots li button {
    background-color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: block;
    padding: 0;
    text-indent: -999px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid orange;
}

#main_BN .slick-dots li.slick-active button {
    background-color: orange;
}

.flickity-button:hover {
    background-color: orange;
}

.flickity-button.next:before,
.flickity-button.previous:before {
    font-size: 25px;
    font-family: 'pvicons' !important;
}

.flickity-button.previous:before {
    content: "\e800";
    margin-right: 2px;
}

.flickity-button.next:before {
    margin-left: 4px;
    content: "\e801";
}

.team-members.team-members-shadow .team-member {
    border-radius: 10px;
    height: 600px
}

.team-members .team-member .team-desc > p {
    height: 160px;
    overflow: hidden
}

.main-slide {
    padding: 0.75vw;
    background-color: white;

}

.main-slide .container {
    position: relative;
    padding: 0;
    border-radius: 4vw;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}

.main-slide a {
    /* height: 39.375vw; */
    background-position: center center;
    background-size: cover;
    display: block;
    border-radius: 2vw;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.25;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}


.main-slide > .container > .slide-img {
    width: 100%;
    background-size: cover;
    background-position: center center;
}

.main-slide > .container > .show-pc {
    display: none;
}

@media only screen and (min-width: 992px) {
    .main-slide .container {
        border-radius: 20px;
    }

    .main-slide > .container > .show-pc {
        display: block;
    }

    .main-slide > .container > .show-m {
        display: none;
    }
}

.main-slide .slide-text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4vw 4vw;
    width: 100%;
    height: 60vw;
}

.slide-text h2 {
    text-align: center;
    font-size: 7.5vw;
    color: white;
    margin-bottom: 0
}

.slide-text p {
    text-align: center;
    font-size: 5vw;
    font-weight: 600;
    color: white;
}

.main-slide.slick-active a {
    opacity: 1;
}

.slick-next,
.slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    background-color: orange;
    border-radius: 25px;
    z-index: 1;
    outline: none;
    transition: all 0.4s ease;
}

.slick-next:focus,
.slick-prev:focus {
    outline: none;
}

.slick-next:hover,
.slick-prev:hover {
    background-color: #f98c09;
}

.tabs.tabs-clean .nav-tabs .nav-link.active {
    border-color: orange;
    background-color: orange;
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
}

.tabs.tabs-clean .nav-tabs .nav-link,
.tabs .nav-tabs .nav-link {
    color: #484848;
    padding: 4px 15px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #ccc;
    border-radius: 20px;
    margin: 0 4px 8px 0;
    font-weight: 600;
    color: #666;
}

#page-content:not(.no-sidebar) {
    padding: 20px 0 40px 0;
}

#main_BN .slick-prev {
    left: 10vw;
}

#main_BN .slick-prev:after,
#main_BN .slick-next:after {
    font-family: "Font Awesome 5 Free";
    font-size: 40px;
    color: white;
    vertical-align: middle;
    text-align: center;
}

#main_BN .slick-prev:after {
    content: '\f053';
}

#main_BN .slick-next:after {
    content: '\f054';
}

.slick-next {
    right: 10vw;
}

#hot_lessons,
#hot_services {
    margin: -10px -15px;
    padding: 0;
}

.lesson-service-box {
    height: auto;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 8vw;
}

.lesson-service-box:hover,
.lesson-service-box:focus,
.lesson-service-box:active {
    cursor: pointer;
}

.lesson-service-box .card-body {
    height: 150px;
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
}

.lesson-service-box .card-body:after{
    position: absolute;
    width: calc(100% - 4rem);
    height: 1.8rem;
    bottom: 0;
    content: '';
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.lesson-service-box .lesson-service-cta {
    bottom: 0;
    display: block;
    margin: .8rem 1.8rem 1.8rem !important;
}

#page-content .slick-prev:after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-size: 40px;
    content: '\f060';
    left: 45px;
    color: white;
}

#page-content .slick-next:after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-size: 40px;
    content: '\f061';

    right: 45px;
    color: white;
}

#page-content .slick-prev {
    left: -63px;
}

#page-content .slick-next {
    right: -63px;
}

#page-content .slick-next,
#page-content .slick-prev {
    width: 60vw;
    height: 180px;
    border-radius: 90px;
    z-index: -1;
}

.lesson-service-list {
    font-size: 7.5vw;
    font-weight: 600;
    text-align: center;
    margin: 12vw 0;
}

.lesson-service-list a:after {
    width: 12vw;
    height: 12vw;
    border-radius: 6vw;
    background-color: orange;
    color: white;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2vw;
    line-height: 12vw;
    font-family: 'Font Awesome 5 Free';
    content: '\f061';
}

.lesson-info-t {
    border: 1px solid #aaa;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background-color: #fff;
}

.lesson-info-b {
    border-width: 0 1px 1px 1px;
    border-color: #aaa;
    border-style: solid;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background-color: #fff;
}

.lesson-info-b > div:first-child {
    border-right: 1px solid #aaa;
}

.lesson-info-b > div:not(:last-child) {
    border-bottom: 1px solid #aaa;
}

.bg-gray {
    background-color: #efefef;
}

.subscribe {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.steps,
.field-selector {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.field-selector-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px 40px 8px 16px;
    position: relative;
    border: 1px solid #aaa;
    border-radius: 10px;
    cursor: pointer;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ffffff;
    color: #3E4459;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    white-space: nowrap;
}

select.form-control:not([size]):not([multiple]):after,
.field-selector .field-selector-field:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
    color: orange;
    position: absolute;
    right: 15px;
}

.field-selector.expand .field-selector-field:after {
    content: '\e822';
}

.field-selector.expand .field-selector-field {
    border-radius: 10px 10px 0 0;
    border-color: #aaa #aaa #dedede #aaa;
    white-space: nowrap;
}

.field-options-pulldown {
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-radius: 0 0 10px 10px;
    height: 200px;
    border-color: #aaa;
    overflow: hidden;
    display: none;
}

.field-selector.expand .field-options-pulldown {
    display: flex;
    position: absolute;
    width: calc(100% - 30px);
    max-width: 500px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 1)
}

.field-options-pulldown > ul.box-50 {
    flex: 0 50%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-45 {
    flex: 0 45%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-40 {
    flex: 0 40%;
    height: 200px;
    overflow-y: scroll;
}


.field-options-pulldown > ul.box-35 {
    flex: 0 35%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-30 {
    flex: 0 30%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-25 {
    flex: 0 25%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-20 {
    flex: 0 20%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul.box-15 {
    flex: 0 15%;
    height: 200px;
    overflow-y: scroll;
}

.field-options-pulldown > ul > li {
    display: block;
    list-style: none;
    padding: 3px 5px;
    white-space: nowrap;
}

.field-options-pulldown > ul:not(:last-child) {
    border-right: 1px solid #dedede;
}

.field-options-pulldown > ul:not(:last-child) > li:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f105';
    float: right;
}


.field-options-pulldown > ul > li.active {
    color: orange;
    font-weight: 600;
    background-color: #efefef;
}

.field-options-pulldown > ul > li.disable {
    color: #ccc;
    font-weight: 600;
}

.field-options-pulldown > ul > li:hover:not(.disable) {
    color: orange;
    font-weight: 600;
}

.field-options-pulldown > ul > li:last-child {
    padding-bottom: 10px;
}

@media only screen and (max-width: 575px) {
    .field-options-pulldown > ul.box-20 {
        flex: 0 18%;
    }

    .field-options-pulldown > ul.box-40 {
        flex: 0 41%;
    }
}

@media only screen and (min-width: 576px) {
    .field-options-pulldown > ul > li {
        padding-left: 16px;
    }
}

.orange-box {
    display: inline-block;
    border-radius: 20px;
    background-color: orange;
    color: white;
    padding: 4px 15px;
    margin: 0 10px 0 0;
    font-weight: 600;
}

i.icon-map,
i.icon-time,
i.icon-tutor,
i.icon-form {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    color: orange
}

i.icon-map:after {
    content: '\f279';
}

i.icon-time:after {
    content: '\f3c5';
}

i.icon-tutor:after {
    content: '\f500';
}

i.icon-form:after {
    content: '\f0db';
}

.tutor-box {
    border: 1px solid #aaa;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
}

.tutor-box:not(:last-child) {
    margin-bottom: 10px;
}

.tutor-img {
    flex: 0 40%;
    width: 30vw;
    height: 30vw;
    max-width: 120px;
    max-height: 120px;
    margin-right: 15px;
    border-radius: 20vw;
    background-size: cover;
}

.tutor-box .right-col {
    flex: 0 60%;
    max-width: 325px;
}

.tutor-box .col-title {
    font-size: 3.5vw;
    color: gray;
}

.btn-box {
    display: flex;
    border-top: 1px solid #aaa;
}

.btn-box a {
    color: #484848;
    font-weight: 600;
}

.btn-box a:first-child {
    border-right: 1px solid #aaa;
    background-color: #bfe3ff;
}

.btn-box a:first-child:hover,
.btn-box a:first-child:focus,
.btn-box a:first-child:active {
    background-color: #57b3fb;
    color: white;
}

.btn-box a:last-child {
    background-color: #ffe6bf;
}

.btn-box a:last-child:hover,
.btn-box a:last-child:focus,
.btn-box a:last-child:active {
    background-color: orange;
    color: white;
}

.btn-box a:first-child::before,
.btn-box a:last-child::before {
    font-family: 'Font Awesome 5 Free';
    padding-right: 5px;
    color: white;
}

.btn-box a:first-child::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
}

.btn-box a:last-child::before {
    content: '\f14a';
    font-family: 'Font Awesome 5 Free';
}

.tutor-selector .tutor-reselect {
    display: none;
}

.tutor-selector.selected .tutor-box {
    display: none;
}

.tutor-selector.selected .tutor-box.selected {
    display: block;
}

.tutor-selector.selected .tutor-box.selected .btn-box {
    display: none;
}

.tutor-selector.selected .tutor-reselect {
    display: block;
}

.tutor-selector.selected .tutor-more {
    display: none;
}

.tutor-reselect,
.form-option {
    color: #495057;
    background-color: #eee;
    border: 1px solid #aaa;
    text-align: center;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.form-option:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f058";
    color: #aaa;
    padding-right: 5px
}

.form-option:first-child {
    margin-right: 10px;
}

.tutor-reselect,
.form-option.selected {
    background-color: #ffe6bf;
}

.form-option.selected:before {
    color: orange;
}

form .type-2 {
    display: none;
}

.overlay-layer {
    position: fixed;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    display: none;
}

.tutor-info-box,
.confirm-booking-box {
    width: calc(100vw - 30px);
    height: 75vh;
    margin-top: 7vh;
    max-height: 800px;
    max-width: 500px;
    background-color: white;
    padding: 15px;
    border-radius: 15px 0 15px 15px;
    position: relative;
    display: none;
}

.confirm-booking-box .btn-box {
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 100%;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.confirm-booking-box .btn-box a {
    height: 10vw;
    line-height: 10vw;
}

.box-close {
    font-family: "Font Awesome 5 Free";
    font-size: 7vw;
    line-height: 10vw;
    position: absolute;
    color: #fff;
    background-color: orange;
    width: 12vw;
    height: 10vw;
    border-radius: 10vw 10vw 0 0;
    text-align: center;
    right: 0;
    top: -10vw;
}

.box-close:after {
    content: '\f00d';
}

.box-close:hover {
    background-color: darkorange;
}

.tutor-records {
    position: relative;
    bottom: 0;
    height: 75%;
    overflow-y: scroll;
}

.tutor-certificate li {
    display: inline-block;
    width: 49%;
}


#footer {
    background-color: #fff;
}

#footer .copyright-content {
    border-bottom: 10px solid orange;
}


#footer .footer-content {
    padding: 40px 0;
    border-top: 1px solid #dedede;
    border-bottom: 10px solid orange
}



.accordion .ac-item {
    background-color: #fff;
}

.accordion .ac-item .ac-title:before {
    font-size: 14px;
    content: "\e80b";
    font-family: 'Font Awesome 5 Free';
    color: orange
}

.accordion .ac-item.ac-active .ac-title:before {
    content: "\e80c";
}

.faq-title {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 30px;
    font-family: sans-serif;
    background-color: orange;
    color: #fff;
    font-weight: 600;
    margin-right: 5px;
    position: relative;
    top: -4px;
    left: -4px;
    line-height: 30px;
    text-align: center;
}

.accordion .ac-item:not(.ac-active) {
    height: 50px;
    overflow: hidden;
}

.table-border {
    border: 2px solid #aaa;
    border-radius: 15px;
    overflow: hidden;
}

.td-title {
    background-color: #ffe6bf;
    font-weight: 600;
}

td.nowrap {
    white-space: nowrap
}

.table-grid td:not(.td-title):first-child {
    width: 30%;
    background-color: #dedede;
}

.table-grid td:not(.td-title):last-child {
    background-color: #fff;
}

.table-grid tr:not(:last-child) td {
    border-bottom: 1px solid #aaa;
}

.service-quick-link {
    margin: 5vw 0 5vw 0.5vw;
    list-style: none;
}

.service-quick-link > li > a {
    position: relative;
    white-space: nowrap;
    font-size: 6vw;
    font-weight: 600;
    line-height: 12vw;
}

.service-quick-link > li > a:before {
    font-family: "Font Awesome 5 Free";
    content: '\f061';
    color: #fff;
    background-color: orange;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    padding: 4.5vw;
    font-size: 60%;
    margin-left: 1vw;
    position: absolute;
    bottom: -0.8vw;
    right: -45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-quick-link > li.active > .service-box {
    display: block;
}

.service-quick-link > li > a > .page-back {
    display: none;
}

.title-pill {
    background-color: #aaa;
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
}

.sms-message-box {
    position: relative;
    background-color: #fff;
    padding: 4vw 6vw;
    border-radius: 15px 0 15px 15px;
    display: none;
    margin: auto 4vw;
}

.service-box-container {
    border-radius: 15px;
    background-color: #fff;
    padding: 3vw 4vw;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 2vw;
}

#main_message.disable,
#quick_info.disable,
#quick_link.disable .title-pill,
#quick_link.disable > ul > li > a,
#quick_link > ul > li:not(.enable) > .service-box {
    display: none;
}

#quick_link.disable .service-quick-link {
    margin: 0;
}

#quick_link > ul > li.enable > .service-box {
    position: relative;
    display: block;
}

a.service-back {
    position: relative;
    display: block;
    font-weight: 600;
    padding-left: 13vw;
    margin-bottom: 2vw;
}

a.service-back:before {
    font-family: "Font Awesome 5 Free";
    content: '\f007';
    color: #fff;
    background-color: orange;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    padding: 4.5vw;
    font-size: 60%;
    position: absolute;
    bottom: -1vw;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-wording {
    display: none;
}

#ATM_toggle,
#invoice_toggle {
    display: none;
}

.tutor-more{
    font-weight: 600;
    margin-top: 20px;
}

.pick-left,
.pick-right {
    display: inline-block;
    background-color: orange;
    width: auto;
    height: 32px;
    border-radius: 12px;
    margin: 0 10px;
    cursor: pointer;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    text-align: center;
    padding: 3px 8px;
}

.pick-left:before {
    content: '\f053';
}

.pick-right:after {
    content: '\f054';
}

.pick-left:hover,
.pick-right:hover {
    background-color: darkorange;
}

@media only screen and (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
}

@media only screen and (min-width: 575px) {

    body,
    span,
    p,
    .btn,
    .form-group label:not(.error),
    .form-control {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    h1 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    h2 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    h3 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    h4 {
        font-size: 22px;
    }

    select.form-control:not([size]):not([multiple]),
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }

    .form-control {
        background-color: #fafafa;
    }

    .text-numberic {
        font-size: 18px;
    }

    .text-large {
        font-size: 24px;
    }

    #hot_lessons,
    #hot_services {
        margin: -10px -10px;
        padding: 20px;
    }

    .main-slide .slide-text {
        position: absolute;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1vw 2vw;
        width: 100%;
        height: auto;
    }

    .slide-text h2 {
        text-align: center;
        font-size: 3vw;
        color: white;
    }

    .slide-text p {
        text-align: center;
        font-size: 1.5vw;
        color: white
    }

    .lesson-service-box {
        margin-bottom: 20px;
    }

    .lesson-service-list {
        font-size: 24px;
        text-align: right;
        margin: 20px 0;
    }

    .lesson-service-list a:after {
        width: 50px;
        height: 50px;
        text-align: center;
        margin-left: 10px;
        line-height: 50px;
    }

    .overlay-layer {
        align-items: center;
    }

    .tutor-box .col-title {
        font-size: 16px;
        color: gray;
    }

    .tutor-info-box,
    .confirm-booking-box {
        height: 80vh;
        max-height: 800px;
        margin-top: 0;
    }

    .box-close {
        right: -20px;
        top: -20px;
        width: 44px;
        height: 44px;
        border-radius: 22px;
        font-size: 24px;
    }

    .box-close:after {
        display: block;
        position: absolute;
        width: 44px;
        height: 44px;
        text-align: center;
        line-height: 44px;
        cursor: pointer;
    }

    #all_list {
        display: flex;
        flex-wrap: wrap;
    }

    .confirm-booking-box .btn-box a {
        height: 40px;
        line-height: 40px;
    }

    .sms-message-box {
        width: 50vw;
    }

    .service-quick-link > li > a {
        font-size: 22px;
        line-height: 36px;
    }

    .service-quick-link > li > a:before {
        width: 30px;
        height: 30px;
        padding: 8px;
        bottom: -1px;
        right: -34px;
    }

    a.service-back {
        font-size: 20px;
        padding-left: 35px;
        margin-bottom: 10px;
    }

    a.service-back:before {
        width: 30px;
        height: 30px;
        padding: 8px;
        bottom: -2px;
    }
}

@media only screen and (min-width: 768px) {

    .lesson-info-b > div:not(:last-child) {
        border-right: 1px solid #aaa;
        border-bottom: none;
    }

    .service-quick-link {
        margin: 20px 4px;
    }

    #all_list .card-container {
        display: inline-block;
        width: calc(33.3% - 5px);
    }
}

@media only screen and (min-width: 992px) {
    .service-quick-link > li > a {
        font-size: 28px;
        line-height: 45px;
    }

    .service-quick-link {
        margin: 20px 4px;
    }

    #all_list .card-container {
        width: calc(33.3% - 5px);
    }

    .service-quick-link > li > a:before {
        width: 40px;
        height: 40px;
        bottom: 0px;
        right: -45px;
    }

    a.service-back {
        font-size: 20px;
        padding-left: 45px;
        margin-bottom: 15px
    }

    a.service-back:before {
        width: 40px;
        height: 40px;
        padding: 8px;
        bottom: -7px;
    }
}
