/* Global Styles */

@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);
html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #fff;
    font-family: 'Microsoft JhengHei', 'cwTeXHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #333;
    letter-spacing: 1px;
}

section {
    padding: 80px 0 100px;
}

section#block5 {
    padding: 20px 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;
}

.btn {
    font-size: 16px;
}

.bnone {
    border: none!important;
}

.al_center {
    text-align: center;
}


/* Header */

.header {
    /*display: table;*/
    position: relative;
    width: 100%;
    height: 85vh;
    background: url(../img/bg1.jpg) no-repeat bottom right scroll;
    background-position: 50% 0%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.headertext {
    background: rgba(23, 101, 176, .8);
    /*padding-top: 10vh;
    height: 85vh;*/
    height: inherit;
    bottom: 0;
    position: absolute;
    width: 100%;
    padding: 3vh 10vh 5vh;
}

.headertext span {
    display: inline-block;
    vertical-align: top;
}

.logo {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15vh;
    margin-top: 20px;
}

.keywordscheck {
    display: none
}

.scrollup {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 100px;
    border-radius: 10%;
    display: none;
    background-color: #1765b1;
    color: #fff;
    opacity: .8;
    z-index: 99;
}

.scrollup:hover {
    opacity: 1;
    color: #fff;
}


/* Custom Button Styles */

.header-btn {
    margin-top: 30px;
    border-radius: 3em;
    border-color: #fff;
    border-width: 2px;
    color: #fff;
    /*background-image: -webkit-linear-gradient(top, transparent 50%, #fff 50%);
    background-image: linear-gradient(to bottom, transparent 50%, #fff 50%);
    background-image: -moz-linear-gradient(top, transparent 0%, #fff 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: #1766b0;
   /* background-position: 0 100%;*/
}

.header-btn:hover,.header-btn:active {
    background: #fff;
}

.btn-maincolor {
    display: inline-block;
    margin-top: -5px;
    margin-left: 10px;
    background: #1766b0;
    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-maincolor:hover {
    background: #fff;
    color: #1766b0;
    font-weight: 600;
    border: 1px solid #1766b0;
    -webkit-box-shadow: 4px -4px 0px 0px #1766b0;
    -moz-box-shadow: 4px -4px 0px 0px #1766b0;
    box-shadow: 4px -4px 0px 0px #1766b0;
}

.btn-white {
    text-align: center;
    background: #fff;
    color: #1766b0;
    border-radius: 0;
    padding: 5px 8px;
    -webkit-box-shadow: -4px 4px 0px 0px #333;
    -moz-box-shadow: -4px 4px 0px 0px #333;
    box-shadow: -4px 4px 0px 0px #333;
    -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-white:hover {
    background: #1766b0;
    border: 1px solid #fff;
    color: #fff;
    box-shadow: 4px -4px 0px 0px #fff;
    -webkit-box-shadow: 4px -4px 0px 0px #fff;
    -moz-box-shadow: 4px -4px 0px 0px #fff;
}


/* font stlye */

header h1 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    border: none;
}

header h1:after {
    display: none;
}

header h2 {
    font-size: 95px;
    font-weight: 600;
    color: #fff45c;
}

header h3 {
    font-size: 24px;
    color: #fff;
}

a:hover,
a:focus {
    text-decoration: none;
}

h1 {
    font-size: 30px;
    font-weight: 600;
}

h1:after {
    content: '';
    height: 3px;
    width: 60px;
    background: #333;
    display: block;
    margin: 10px 0 30px;
}

h2 {
    font-size: 24px;
    vertical-align: middle;
}

#block1 {
    font-size: 20px;
}

#block1 .highlight {
    font-size: 36px;
    white-space: nowrap;
}

#block2 h2:before,
#block2 h2:after {
    content: "\f111";
    font-family: 'fontello';
    text-decoration: inherit;
    font-size: 18px;
    vertical-align: middle;
}

#block2 h2:before {
    margin-right: 10px;
}

#block2 h2:after {
    margin-left: 10px;
    margin-top: -5px;
}

h3 {
    font-size: 18px;
}

span.highlight {
    vertical-align: sub;
    font-size: 30px;
    font-weight: 900;
    color: #fc4349;
    display: -webkit-inline-box;
}

.fatfont {
    font-weight: 900;
}


/*iconbox style */

.iconbox-one {
    display: block;
    margin: 0 0 40px 0;
}

.iconbox-one-icon {
    color: #fff;
    background: #1766b0;
    font-size: 48px;
    padding: 0px 0px 0px 7px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 15px;
}

.style-icon-two {
    color: #fff;
    background: #fc4349;
    padding: 5px 7px;
    font-size: 24px;
    border-radius: 50%;
    position: absolute;
    margin-top: 11px;
}

.iconbox-one-content {
    display: table;
}

.iconbox2 {
    margin-top: 40px;
}

.iconbox2-content {
    border: 1px solid #d7d7d7;
    background: #fff;
    margin-left: 20px;
    padding: 10px 10px 10px 40px;
}

.icon-big {
    font-size: 60px;
    background: #47b39d;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    padding: 25px 0px 25px 0;
    color: #fff;
}

.icon-big-stu {
    padding: 25px 10px 25px 0;
}
.useful-card {
    -webkit-animation-delay: .5s;
    /* Safari 4.0 - 8.0 */
    animation-delay: .5s;
}
.useful-card.group-sal {
    -webkit-animation-delay: 1s;
    /* Safari 4.0 - 8.0 */
    animation-delay: 1s;
}


/*ul style*/

#block2 ul,
#block4 ul {
    margin-top: 30px;
    list-style: none;
    -webkit-padding-start: 25px;
    text-align: left;
}

#block2 ul li,
#block4 ul li {
    margin: 0;
    position: relative;
    vertical-align: middle;
    padding-left: 1em;
}

#block2 ul li:after,
#block4 ul li:after {
    content: '';
    height: .4em;
    width: .4em;
    background: #333;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    top: .25em;
    left: 0;
    margin-top: 5px;
}


/*student block */

.stu-block {
    text-align: initial;
}

.bg-blue {
    display: table;
    position: relative;
    width: 100%;
    height: auto;
    background: url(../img/bg2.jpg) no-repeat bottom right scroll;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: #fff;;

}

.bg-blue h1:after {
    background: #fff;
}

.stu-img {
    height: 200px;
    width:200px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #fff;
}
#stu-1 {
background: url(../img/student1.jpg) no-repeat center center scroll;
    background-position: 45% 35%;
    background-size: 100%;
}

#stu-2 {
    background: url(../img/student2.jpg) no-repeat center center scroll;
    background-size: 100%;
    background-position: 45% 50%;
}

.stu-highlight {
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    margin-top: 0;
}

.stu-name {
    text-align: center;
    margin-top: 10px;
    /*text-shadow: 1px 1px 1px #333;*/
}

.stu-name:before {
    content: '－ \e802';
    font-family: 'fontello';
    text-decoration: inherit;
    margin-right: 10px;
}

.stu-content {
    /*text-shadow: 1px 1px 1px #333;*/
}

.free {
    font-weight: 900;
    color: #fff;
    background: #fc4349;
    border-radius: 10px;
    padding: 0px 10px;
    width: 60px;
    margin: 0 auto;
    margin-top: 5px;
    /* display: block;*/
}

.innertable-inner {
    margin: 0 auto;
    text-align: left;
}

#bookcover {
    max-width: 140px;
}

.show705 {
    display: none;
}

.tb-bg-blue {
    background: rgba(23, 101, 176, .15);
}


/* Footer */

.rights {
    padding: 5px 0;
    background: #1766b0;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.rights .container span {
    display: inline-block;
}

.school-row {
    border-left: 3px solid #1766b0;
    padding-left: 10px;
    color: #333;
    margin: 10px 0;
}

.school-row:hover {
    color: #1766b0;
}

.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: #1766b0;
    display: inline;
    font-size: 20px;
}

label:hover input[type="radio"] ~ i.fa {
    color: #1766b0;
}

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: #1766b0;
    display: inline;
    font-size: 20px;
}

label:hover input[type="checkbox"] ~ i.fa {
    color: #1766b0;
}

div[data-toggle="buttons"] label.active {
    color: #1766b0;
}

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: #1766b0;
}

div[data-toggle="buttons"] label:active,
div[data-toggle="buttons"] label.active {
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: bolder;
}

table {
    vertical-align: middle;
}

.ans-table th {
    font-weight: bolder;
    vertical-align: middle!important;
    min-width: 90px;
    text-align: right;
}

table.table-inner-table.table {
    width: auto;
    margin: 0 auto;
    margin-top: 10px;
}

table.table-inner-table>tbody>tr>td {
    border: none;
    padding: 5px;
}

.group-stu,
.group-sal {
    text-align: center;
    font-weight: 600;
}

.group-stu h1:after,
.group-sal h1:after {
    display: none;
}


.useful {
    margin-top: 20px;
}

.useful-card {
    margin-top: 20px;
}

.course-card {
    padding: 30px 10px;
    border-radius: 20px;
    margin-bottom: 60px;
}
.course-card-2{
    -webkit-animation-delay: 1s;
    /* Safari 4.0 - 8.0 */
    animation-delay:1s;
}

.course-name {
    background: #fff;
    color: #02ab9d;
    text-align: center;
    padding: 55px 10px 10px;
    font-size: 24px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 auto;
    -webkit-animation-delay: .5s;
    /* Safari 4.0 - 8.0 */
    animation-delay: .5s;
    line-height: 30px;
}
.course-card-2 > .course-name{
        -webkit-animation-delay: 1.5s;
    /* Safari 4.0 - 8.0 */
    animation-delay: 1.5s;
}

.course-info-list-head {
    display: block;
}

.course-info-list {
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    color: rgba(255, 255, 255, .8);
    font-weight: 300;
}

.course-info-list:last-child {
    border: none;
}

.course-info-highlight {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}
/*-----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
}
