/* Global Styles */

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900&display=swap');
html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #fff;
    font-family: 'Noto Sans TC',"微軟正黑體", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #333;
    letter-spacing: 1px;
}

section {
    padding: 60px 0 100px;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.bg-gray {
    background: url('../img/bg-gray.png') repeat;
}

.bg-white {
    background: #fff;
}
.bg-green {
    background: #005148;
}

.btn {
    font-size: 16px;
}




/* Header */

.header {
    /*display: table;*/
    position: relative;
    width: 100%;
    height: 85vh;
    background: url(../img/bg1.jpg) no-repeat bottom right scroll;
    background-position: 25% 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.headertext {
    background: rgba(255, 244, 92, .6);
    height: 85vh;
    padding-top: 10vh;
}

.logo {
    width: 100%;
    max-width: 400px;
    margin-bottom: 8vh;
}

.keywordscheck {
    display: none
}

.scrollup {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 100px;
    border-radius: 10%;
    display: none;
    background-color: #949152;
    color: #fff;
    opacity: .8;
    z-index: 99;
}

.scrollup:hover {
    opacity: 1;
    color: #fff;
}




/* Custom Button Styles */

.header-btn {
    margin-top: 8vh;
    border-radius: 3em;
    border-color: #6f6c36;
    border-width: 2px;
    color: #6f6c36;
 /*   background-image: -webkit-linear-gradient(top, transparent 50%, #6f6c36 50%);
    background-image: linear-gradient(to bottom, transparent 50%, #6f6c36 50%);
    background-image: -moz-linear-gradient(top, transparent 0%, #6f6c36 100%);
    background-position: 0% 0%;
    background-size: 210%;
    /*-webkit-transition: background 150ms ease-in-out, color 150ms ease-in-out;
    transition: background 150ms ease-in-out, color 150ms ease-in-out;
    -moz-transition: background 150ms ease-in-out, color 150ms ease-in-out;*/
}

.header-btn:hover {
    color: #fff;
    /*background-position: 0 100%;*/
}

.header-btn:hover, .header-btn:active {
    background: #6f6c36;
}

.btn-blue {
    display: inline-block;
    margin-top: -5px;
    margin-left: 10px;
    background: #949152;
    color: #fff;
    border-radius: 0;
    padding: 5px 8px;
    -webkit-box-shadow: -4px 4px 0px 0px #3f464c;
    -moz-box-shadow: -4px 4px 0px 0px #3f464c;
    box-shadow: -4px 4px 0px 0px #3f464c;
    -webkit-transition: background 150ms ease-in-out, color 150ms ease-in-out, box-shadow 150ms ease-in-out;
    transition: background 150ms ease-in-out, color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

.btn-blue:hover {
    background: #fff;
    color: #949152;
    font-weight: 600;
    border: 1px solid #949152;
    -webkit-box-shadow: 4px -4px 0px 0px #949152;
    -moz-box-shadow: 4px -4px 0px 0px #949152;
    box-shadow: 4px -4px 0px 0px #949152;
}




/* font stlye */

header h2 {
    font-size: 70px;
    font-weight: 600;
    color: #6f6c36;
    border: none;
}

header h2:after {
    display: none;
}

header h1 {
    font-size: 72px;
    font-weight: 900;
    color: #f15a5a;
}

a:hover,
a:focus {
    text-decoration: none;
}

h2 {
    font-size: 30px;
    font-weight: 600;
}

h2after {
    content: '';
    height: 3px;
    width: 60px;
    background: #333;
    display: block;
    margin: 10px 0 30px;
}

h1 {
    font-size: 24px;
    vertical-align: middle;
}

#block1 {
    font-size: 20px;
}

#block1 .highlight {
    font-size: 36px;
    white-space: nowrap;
}

h3 {
    font-size: 18px;
}

span.highlight {
    vertical-align: sub;
    font-size: 30px;
    font-weight: 900;
    color: #fc4349;
    display: inline-block;
}

.fatfont {
    font-weight: 900;
}




/*iconbox style */

.style-icon-two {
    color: #fff;
    background: #fc4349;
    padding: 5px 7px;
    font-size: 24px;
    border-radius: 50%;
    position: absolute;
    margin-top: 11px;
}


.iconbox2 {
    margin-top: 40px;
}

.iconbox2-content {
    border: 1px solid #d7d7d7;
    background: #fff;
    margin-left: 20px;
    padding: 10px 10px 10px 40px;
}




/*ol style*/

ol {
    list-style: none;
    counter-reset: my-awesome-counter;
    margin-top: 20px;
}

ol li {
    counter-increment: my-awesome-counter;
    margin: 0.25rem;
    -webkit-padding-start: 40px;
}

ol li::before {
    content: counter(my-awesome-counter);
    background: #1c397b;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    line-height: 30px;
    color: white;
    text-align: center;
    margin-right: 10px;
}

#toefl ol li::before {
    background: #1c397b;
}

#ielts ol li::before {
    background: #dd6765;
}

#toeic ol li::before {
    background: #4ba9c2;
}

.tab-content h3 {
    font-size: 28px;
    font-weight: bolder;
}

#toefl h3 {
    color: #1c397b;
}

#ielts h3 {
    color: #dd6765;
}

#toeic h3 {
    color: #4ba9c2;
}



/*table style*/

#block2 table {
    background: #fff;
    margin-top: 30px;
    text-align: center;
}

#block2 table th {
    background: #1766b0;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    border: none;
}

#block2 table td:first-child {
    font-weight: bolder;
}

#block2 table tr:nth-child(even) {
    background: rgba(23, 101, 176, .15);
}

#block2 table td {
    vertical-align: middle;
}

#block2 table span.table-name {
    display: block;
}

#toefl table th {
    background: #1c397b;
}

#toefl table tr:nth-child(even) {
    background: rgba(28, 57, 123, 0.1);
}

#ielts table th {
    background: #dd6765;
}

#ielts table tr:nth-child(even) {
    background: rgba(221, 103, 101, .2);
}

#toeic table th {
    background: #4ba9c2;
}

#toeic table tr:nth-child(even) {
    background: rgba(75, 169, 194, 0.2);
}

#toeic table:last-child th {
    background: #eb995d;
}

#toeic table:last-child tr:nth-child(even) {
    background: rgba(235, 153, 93, 0.3);
}

#toefl img,
#ielts img,
#toeic img {
    margin-top: 20px;
    border: 10px solid #fff;
    box-shadow: 0px 0px 10px 0px rgba(109, 109, 109, 0.75);
}

#bookcover {
    max-width: 300px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border: none;
}



/* Footer */

.rights {
    padding: 5px 0;
    background: rgba(255, 244, 92, .7);
    color: #6f6c36;
    font-size: 12px;
    text-align: center;
}

.rights .container span {
    display: inline-block;
}

.school-row {
    border-left: 3px solid #949152;
    padding-left: 10px;
    color: #333;
    margin: 10px 0;
}

.school-row:hover {
    color: #949152;
}

.addressblock {
    margin-top: 50px;
}

.linehight50 {
    line-height: 50px;
}




/*checkboxes*/

label.btn span {
    font-size: initial;
}

label input[type="radio"]~i.demo-icon.icon-circle-empty {
    color: #898989;
    display: inline;
    font-size: 20px;
}

label input[type="radio"]~i.demo-icon.icon-dot-circled {
    display: none;
}

label input[type="radio"]:checked~i.demo-icon.icon-circle-empty {
    display: none;
}

label input[type="radio"]:checked~i.demo-icon.icon-dot-circled {
    color: #949152;
    display: inline;
    font-size: 20px;
}

label:hover input[type="radio"]~i.fa {
    color: #949152;
}

label input[type="checkbox"]~i.demo-icon.icon-check-empty {
    color: #898989;
    display: inline;
    font-size: 20px;
}

label input[type="checkbox"]~i.demo-icon.icon-check {
    display: none;
}

label input[type="checkbox"]:checked~i.demo-icon.icon-check-empty {
    display: none;
}

label input[type="checkbox"]:checked~i.demo-icon.icon-check {
    color: #949152;
    display: inline;
    font-size: 20px;
}

label:hover input[type="checkbox"]~i.fa {
    color: #949152;
}

div[data-toggle="buttons"] label.active {
    color: #949152;
}

div[data-toggle="buttons"] label {
    display: inline-block;
    padding: 6px 5px 0 0;
    margin-bottom: 0;
    font-weight: normal;
    line-height: 2em;
    text-align: left;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
    background-color: none;
    border: 0px solid #898989;
    border-radius: 3px;
    color: #898989;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

div[data-toggle="buttons"] label:hover {
    color: #949152;
}

div[data-toggle="buttons"] label:active,
div[data-toggle="buttons"] label.active {
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: bolder;
}

/*chinatrus */

.chinatrus{
    color: #fff;
    font-size: 30px;
    font-weight: bolder;
    letter-spacing: 5px;
    text-align: center;
}

.chinatrus img{
    vertical-align: bottom;
}
.go_onlinetest {
    background: #27374e;
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 50px 0;
    vertical-align: middle;
    margin: 60px 0;
}

.go_onlinetest button {
    font-size: .5em;
}

.button {
    display: block;
    background-color: #c0392b;
    margin: auto;
    color: #fff;
    bottom: 0;
    right: 0;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
    transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
    width: 200px;
    height: 65px;
    left: 0;
    top: 100px;
    overflow: hidden;
    position: absolute;
    line-height: 60px;
}

.button span,
.button .icon {
    display: block;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
}

.button span {
    width: 72%;
    line-height: inherit;
    font-size: 22px;
    text-transform: uppercase;
    left: 0;
    -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
    transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}

.button span:after {
    content: '';
    background-color: #a53125;
    width: 2px;
    height: 70%;
    position: absolute;
    top: 15%;
    right: -1px;
}

.button .icon {
    width: 28%;
    right: 0;
    -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
    transition: all 0.25s cubic-bezier(0.1, -0.105, 0.43, 1.4);
}

.button .icon .fa {
    font-size: 30px;
    vertical-align: middle;
    -webkit-transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4), height 0.25s ease;
    transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4), height 0.25s ease;
}

.button .icon .fa-remove {
    height: 36px;
}

.button .icon icon-check {
    display: none;
}

.button:hover span {
    left: -72%;
    opacity: 0;
}

.button:hover .icon {
    width: 100%;
}

.button:hover .icon .fa {
    font-size: 45px;
}

.button:hover, a.button:focus,  a.button:hover {
    opacity: .9;
    color: #fff;
}

.button:hover .icon .icon-right-open {
    height: 46px;
}

.button:active {
    opacity: 1;
}
/*-----Footer-----*/
.mobile-footer {width:100%;text-align:center;font-size:12px;color:#9e9e9e;background-color:#f3f3f3;z-index:998;position:fixed;bottom:0;border-top:1px solid #e4e4e4;box-shadow:0 -1px 5px rgba(0, 0, 0, .5)}
.mobile-footer a,.mobile-footer a:focus,.mobile-footer a:hover {color:#9e9e9e;text-decoration:none}
.mobile-footer div {display:inline-block;width:18%;line-height:16px;padding:5px}
.mobile-footer div:last-child {border:none}
.m_footer_block {cursor:pointer}
.m_footer_block i {display:block;font-size:28px;padding-bottom:5px}
.modal {text-align:center;padding:0 !important}
#m_school-address .modal-content,#m_school-tel .modal-content,.teacher_modal .modal-content {width:inherit;height:inherit;margin:20vh auto 0;padding:0;text-align:center;max-width:90%;min-width:270px}
#m_school-address .modal-content a, #m_school-tel .modal-content a {color:#333;text-decoration:none}
.modal-body {padding:5px}
.modal .close {width:100%;position:absolute;top:-40px;color:#fff !important;opacity:1;font-size:40px;text-align:right;right:0}
.modal-content ul {list-style:none;padding-left:0;-webkit-padding-start:0;margin:0 auto;min-width:260px;text-align:center}
.modal-content ul li {border-bottom:1px solid #ddd;margin:0 auto;padding:15px 20px;line-height:20px}
.modal-content ul li:last-child {border-bottom:0}
.modal-content ul li::before {display:none}
#m_school-address button.close:hover,#m_school-tel button.close:hover,.teacher_modal button {background:0 0}
.m_footer_block .fa-facebook-messenger, .m_footer_block .fa-home, .m_footer_block .fa-line, .m_footer_block .fa-map-marker-alt {height:15px !important;margin-top:5px;margin-bottom:5px}
.m_footer_block .fa-phone {height:20px !important;color:#fe8a01}
.m_footer_block .fa-facebook-messenger {color:#00a1ff}
.m_footer_block .fa-line {color:#00b900}
.m_footer_block .fa-home {color:#004ea1}
.m_footer_block .fa-map-marker-alt {color:#d6463a}
@-webkit-keyframes drop{0%{top:15px;opacity:0}30%{top:5px;opacity:1}100%{top:0;opacity:0}}@keyframes drop{0%{top:15px;opacity:0}30%{top:5px;opacity:1}100%{top:0;opacity:0}}
.social {
    position: fixed;
    display: block;
    right: -250px;
    top: 25%;
    z-index: 1040;
}

.social ul {
    padding: 0;
    -webkit-transform: translate(-270px, 0);
    -moz-transform: translate(-270px, 0);
    -ms-transform: translate(-270px, 0);
    -o-transform: translate(-270px, 0);
    transform: translate(0, 0)
}

.social ul li {
    display: block;
    margin: 5px;
    background: rgba(0, 0, 0, .2);
    width: 300px;
    text-align: left;
    padding: 10px;
    -webkit-border-radius: 30px 0 0 30px;
    -moz-border-radius: 30px 0 0 30px;
    border-radius: 30px 0 0 30px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: all 1s;
    -o-transition: 1s;
    transition: 1s
}

.social ul li:hover {
    -webkit-transform: translate(-100px, 0);
    -moz-transform: translate(-100px, 0);
    -ms-transform: translate(-100px, 0);
    -o-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
    background: rgba(0, 0, 0, .5)
}

.social ul li#social-line:hover {background: #11b71f}

.social ul li#social-fb:hover {background: #016beb}
.social ul li#social-signup:hover {background: #fe8a01}
.social ul li:hover a {color: #fff}

.social ul li:hover i {
    color: #fff;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: all 1s;
    -o-transition: 1s;
    transition: 1s
}

.social ul li i {
    padding: 5px 5px 5px 6px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 30px;
    background: #fff;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0)
}

.social ul li a {
    color: #fff!important;
    font-size: 20px;
    line-height: 1.5;
    text-decoration: none
}