/*@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto:700&display=swap');*/

/* ===================================================================
 * # base style overrides
 *
 * ------------------------------------------------------------------- */
html {
    font-size: 10px;
    height: 100%;
}

@media only screen and (max-width: 400px) {
    html {
        font-size: 9.411764705882353px;
    }
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0
}

body {
    background-image: url(../images/index/bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 1.7rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1.765;
    color: #555555;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    min-height: 100%
}

/* ------------------------------------------------------------------- 
 * ## links
 * ------------------------------------------------------------------- */
a {
    color: #cc147f;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
    color: #26bfb5;
}

a:hover,
a:active {
    outline: 0;
}


/* ===================================================================
 * # typography & general theme styles
 * 
 * ------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    color: #000000;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
    margin-top: 6rem;
    margin-bottom: 1.8rem;
}

@media only screen and (max-width:600px) {

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4 {
        margin-top: 5.1rem;
    }

}

h5,
.h5,
h6,
.h6 {
    margin-top: 4.2rem;
    margin-bottom: 1.5rem;
}

@media only screen and (max-width:600px) {

    h5,
    .h5,
    h6,
    .h6 {
        margin-top: 3.6rem;
        margin-bottom: 0.9rem;
    }

}

h1,
.h1 {
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -0.1rem;
}

@media only screen and (max-width:600px) {

    h1,
    .h1 {
        font-size: 3.3rem;
        letter-spacing: -0.07rem;
    }

}

h2,
.h2 {
    font-size: 3rem;
    line-height: 1.3;
}

h3,
.h3 {
    font-size: 2.4rem;
    line-height: 1.25;
}

h4,
.h4 {
    font-size: 2.1rem;
    line-height: 1.286;
}

h5,
.h5 {
    font-size: 1.7rem;
    line-height: 1.235;
}

h6,
.h6 {
    font-size: 1.4rem;
    line-height: 1.286;
    text-transform: uppercase;
    letter-spacing: 0.16rem;
}

p img {
    margin: 0;
}

p.lead {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-size: 2.4rem;
    line-height: 1.75;
    margin-bottom: 3.6rem;
    color: rgba(85, 85, 85, 0.95);
}

@media only screen and (max-width: 1200px) {
    p.lead {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 1000px) {
    p.lead {
        font-size: 2.1rem;
    }
}

@media only screen and (max-width: 800px) {
    p.lead {
        font-size: 1.9rem;
    }
}

em,
i,
strong,
b {
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
    font-weight: normal;
}

em,
i {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
}

strong,
b {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-weight: normal;
}

small {
    font-size: 1.2rem;
    line-height: inherit;
}


mark {
    background: #ffd900;
    color: #000000;
}

hr {
    border: solid rgba(0, 0, 0, 0.1);
    border-width: 1px 0 0;
    clear: both;
    margin: 2.4rem 0 1.5rem;
    height: 0;
}


/* ------------------------------------------------------------------- 
 * ## Lists
 * ------------------------------------------------------------------- */
ol {
    list-style: none;
}

ul {
    list-style: disc;
}

li {
    display: list-item;
}

ol,
ul {
    /*margin-left: 1.7rem;*/
}

ul li {
    /*padding-left: 0.4rem;*/
}

ul ul,
ul ol,
ol ol,
ol ul {
    /*margin: 0.6rem 0 0.6rem 1.7rem;*/
}

ul.disc li {
    display: list-item;
    list-style: none;
    /*padding: 0 0 0 0.8rem;*/
    position: relative;
}

ul.disc li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cc147f;
    position: absolute;
    left: -17px;
    top: 11px;
    vertical-align: middle;
}

dt {
    margin: 0;
    color: #cc147f;
}

dd {
    margin: 0 0 0 2rem;
}


/* ------------------------------------------------------------------- 
 * ## responsive video container
 * ------------------------------------------------------------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ------------------------------------------------------------------- 
 * ## floated image
 * ------------------------------------------------------------------- */
img.pull-right {
    margin: 1.5rem 0 0 3rem;
}

img.pull-left {
    margin: 1.5rem 3rem 0 0;
}

/* ------------------------------------------------------------------- 
 * ## Spacing 
 * ------------------------------------------------------------------- */
button,
.btn {
    margin-bottom: 1.2rem;
}

fieldset {
    margin-bottom: 1.5rem;
}

input,
textarea,
select,
pre,
blockquote,
figure,
table,
p,
ul,
ol,
dl,
form,
.video-container,
.cl-custom-select {
    margin-bottom: 3rem;
}



/* ===================================================================
 * # preloader
 *
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #050505;
    z-index: 800;
    height: 100%;
    width: 100%;
}

.no-js #preloader,
.oldie #preloader {
    display: none;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    padding: 0;
}

#loader:before {
    content: "";
    border-top: 6px solid rgba(255, 255, 255, 0.1);
    border-right: 6px solid rgba(255, 255, 255, 0.1);
    border-bottom: 6px solid rgba(255, 255, 255, 0.1);
    border-left: 6px solid #cc147f;
    -webkit-animation: load 1.1s infinite linear;
    animation: load 1.1s infinite linear;
    display: block;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

@-webkit-keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* ------------------------------------------------------------------- 
 * ## Style Placeholder Text
 * ------------------------------------------------------------------- */
::-webkit-input-placeholder {
    color: #626262;
}

:-moz-placeholder {
    color: #626262;
    /* Firefox 18- */
}

::-moz-placeholder {
    color: #626262;
    /* Firefox 19+ */
}

:-ms-input-placeholder {
    color: #626262;
}

.placeholder {
    color: #626262 !important;
}


/* ===================================================================
 * # header styles
 *
 * ------------------------------------------------------------------- */
.s-header {
    z-index: 500;
    width: 100%;
    height: 96px;
    background-color: transparent;
    position: absolute;
    top: 24px;
}


/* -------------------------------------------------------------------
 * ## header logo
 * ------------------------------------------------------------------- */
.header-logo {
    z-index: 501;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 110px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.header-logo a {
    display: block;
    padding: 0;
    outline: 0;
    border: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.header-logo img {
    width: 139px;
    height: 30px;
}


/* ------------------------------------------------------------------- 
 * ## main navigation 
 * ------------------------------------------------------------------- */
.header-nav {
    z-index: 900;
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-size: 1.3rem;
    line-height: 1.846;
    padding: 3.6rem 3rem 3.6rem 3.6rem;
    height: 100%;
    width: 280px;
    background: #0c0c0c;
    color: rgba(255, 255, 255, 0.25);
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    visibility: hidden;
}



/* ------------------------------------------------------------------- 
 * responsive:
 * header
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1600px) {
    .header-logo {
        left: 20px;
    }

    .main-content__main {
        max-height: 768px;
        max-width: 1000px;
        padding-top: 18rem;
    }
}

@media only screen and (max-width: 1500px) {

    .main-content__main {
        max-width: 1000px;
    }
}

@media only screen and (max-width: 1400px) {
    .main-content__main {
        max-width: 1000px;
    }

}

@media only screen and (max-width: 1200px) {
    .main-content__main {
        max-width: 850px;
    }

}


@media only screen and (max-width: 1000px) {
    .main-content__main {
        max-width: 650px;
        padding-right: 0;
    }
}

@media only screen and (max-width: 800px) {

    .main-content__main {
        max-width: 580px;
    }

    .header-logo {
        left: 40px;
    }

}

@media only screen and (max-width: 600px) {
    .s-header {
        height: 90px;
        top: 12px;
    }

    .header-logo {
        left: 30px;
    }

    .header-logo img {
        width: 180px;
        height: 34px;
    }

}


@media only screen and (max-width: 400px) {
    .s-header {
        top: 6px;
    }

    .header-logo {
        left: 25px;
    }

    .header-logo img img {
        width: 141px;
        height: 27px;
    }

}


/* ===================================================================
 * # Main
 *
 * ------------------------------------------------------------------- */
.s-main {
    width: 100%;
    height: 100%;
    height: -moz-calc(100vw * 90.0 / 85.0);
    height: -webkit-calc(100vw * 90.0 / 85.0);
    height: calc(100vw * 90.0 / 85.0);
    max-height: 90vh;
    max-width: 85vw;
    background-color: transparent;
    position: relative;
    display: table;
    margin: auto;
}

.s-main .shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.s-main::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.no-js .s-main {
    background: none;
}


/* ------------------------------------------------------------------- 
 * ## Main content
 * ------------------------------------------------------------------- */
.main-content {
    vertical-align: middle;
    padding-bottom: 6rem;
    overflow: hidden;
    position: relative;
    background-image: url(../images/index/book.png);
    height: -moz-calc(100vw * 90.0 / 75.0);
    height: -webkit-calc(100vw * 90.0 / 75.0);
    height: calc(100vw * 90.0 / 75.0);
    max-height: 90vh;
    max-width: 75vw;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center center;
    background-attachment: inherit;
    background-repeat: no-repeat;
    margin: 4vh auto;
}

.main-content__main {
    max-width: 900px;
}

.main-pic-group {
    height: -moz-calc(100vw * 90.0 / 85.0);
    height: -webkit-calc(100vw * 90.0 / 85.0);
    height: calc(100vw * 90.0 / 85.0);
    max-height: 90vh;
    max-width: 85vw;
}

.main-content.animated.infinite {
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

.main-content h1 {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-size: 9rem;
    line-height: 1.1;
    margin-top: 0;
    color: #ffffff;
}

.main-content h1+p {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-size: 3.8rem;
    line-height: 1.421;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2.4rem;
    padding-left: 10rem;
    position: relative;
}

.main-content h1+p::before {
    content: "";
    display: block;
    width: 6.5rem;
    height: 1px;
    background-color: #cc147f;
    position: absolute;
    left: 6px;
    top: 2.7rem;
}

.main-wrap {
    width: 80%;
    /*100*/
    display: contents;
    margin: 0 auto;
    float: left;

}

.main-wrap-left {
    width: 20%;
}

.main-wrap-right {
    width: 40%;
    position: relative;

}


.main-content__main {
    padding-top: 0;
    padding-bottom: 12rem;
    position: relative;


}

ol.main-content_list {
    color: #ec008c;
    font-weight: 400;
    width: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    text-align: left
}

ol.main-content_list div {
    display: grid -ms-inline-grid;
    display: -moz-inline-grid;
    display: inline-grid;
}

ol.main-content_list div.main-content_left {
    float: left;
    /*width: 50%;*/

}

ol.main-content_list div.main-content_right {
    /*width: 50%;
    padding-left: 150px;*/
}

/*ie11 css hack*/
@media all and (-ms-high-contrast:none) {

    *::-ms-backdrop,
    ol.main-content_list div.main-content_left {
        float: left;
        width: 50%;
        padding-left: 0
    }

    *::-ms-backdrop,
    ol.main-content_list div.main-content_right {
        width: 50%;
        padding-left: 180px;
    }

    *::-ms-backdrop,
    .main-content__main {
        max-width: 100%;
        padding-bottom: 6rem;
        padding-top: 0;
        margin-bottom: 3rem
    }

    *::-ms-backdrop,
    ol {
        margin-bottom:5rem 
    }

}

.main-content_list li {
    font-size: 2.2rem;
    padding: 0 0 5px 0;
    vertical-align: middle;
}


.main-content_list li a:hover {
    color: #ec008c;
    font-size: 19px;
}

.animate-pic-1 {
    position: absolute;
    top: 5%;
    right: 35%;
}

.animate-pic-2 {
    position: absolute;
    top: 11%;
    left: 0%;
}

.animate-pic-2 img {
    width: 90%
}

.animate-pic-3 {
    position: absolute;
    top: 50%;
    left: 3%;
}

.animate-pic-4 {
    position: absolute;
    bottom: 15%;
    left: 31%;
}

.animate-pic-5 {
    position: absolute;
    bottom: 30%;
    left: 56%;
}

.animate-pic-6 {
    position: absolute;
    top: 28%;
    left: 39%;
}

.animate-pic-7 {
    position: absolute;
    top: 20%;
    left: 30%;
}

.animate-pic-8 {
    position: absolute;
    top: 4%;
    right: -4%;
}

.animate-pic-8 img {
    width: 75%
}

.animate-pic-9 {
    position: absolute;
    top: 45%;
    right: -1%;
}

.animate-pic-9 img {
    width: 45%
}

.animate-pic-10 {
    position: absolute;
    bottom: 25%;
    right: -1%;
}

.animate-pic-10 img {
    width: 45%
}

/* ------------------------------------------------------------------- 
 * ## main sidelinks
 * ------------------------------------------------------------------- */
.main-sidelinks {
    list-style: none;
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.714;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin: 0;
    -webkit-transform: translateY(-80%);
    -ms-transform: translateY(-80%);
    transform: translateY(-80%);
    position: absolute;
    top: 50%;
    right: 0;
}

.main-sidelinks li {
    display: block;
    padding: 0;
    text-align: left;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    position: relative;
}


.main-sidelinks a {
    display: block;
    padding: .3rem 3rem .3rem 3rem;
    color: #cc147f;
}

.main-sidelinks a:hover {
    color: #ec008c;
    font-size: 1.8rem
}

.main-sidelinks span {
    display: block;
    font-size: 1.5rem;
    line-height: 1.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
    letter-spacing: 0;
}

/* ------------------------------------------------------------------- 
 * ## footer
 * ------------------------------------------------------------------- */
.footer {
    list-style: none;
    font-size: 14px;
    line-height: 1.8rem;
    margin: 0;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    right: 110px;
}

.footer a {
    color: #ffffff;
    border-bottom: 1px solid transparent;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.footer a:hover {
    border-bottom: 1px solid #ffffff;
}

.footer i {
    display: none;
}

.footer .footer-title {
    font-family: 'Roboto', "微軟正黑體", sans-serif, Arial;
    padding-right: 4rem;
    margin-right: 0.8rem;
    position: relative;
}

.footer li {
    display: inline-block;
    position: relative;
    margin-right: 0.6rem;
}

.footer li a {
    display: block;
}

.footer li:last-child {
    margin-right: 0;
}


/* ------------------------------------------------------------------- 
 * responsive:
 * Main
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1600px) {

    .main-content {
        height: calc(100vw * 90.0 / 85.0);
        max-height: 90vh;
        max-width: 85vw;
    }

    .main-content__main {
        max-width: 65%;
        padding-top: 0;
        padding-bottom: 11rem
    }

    .main-content_list li {
        font-size: 19px;
        font-weight: 600;
        padding: 0 0 8px 0;

    }

    .main-content_list li a:hover {
        font-size: 19px;

    }

    .main-content h1 {
        font-size: 8.8rem;
    }

    .main-content h1+p {
        font-size: 3.6rem;
    }

    .footer {
        right: 20px;
    }
}

@media only screen and (max-width: 1500px) {
    .main-content h1 {
        font-size: 8.6rem;
    }


}

@media only screen and (max-width: 1400px) {
    .main-content h1 {
        font-size: 7.8rem;
    }


    .main-content__main {
        max-width: 70%;
        padding-top: 2rem;
    }
}

@media only screen and (max-width: 1200px) {
    .main-content h1 {
        font-size: 7.2rem;
    }

    .main-content h1+p {
        font-size: 2.4rem;
        padding-right: 2rem;
        padding-left: 8rem;
    }

    .main-content h1+p::before {
        width: 5.5rem;
        top: 1.8rem;
    }

    .main-content br {
        display: none;
    }

    .main-content__main {
        max-width: 70%;
        padding-bottom: 3rem;
    }


    .animate-pic-9,
    .animate-pic-10 {
        right: -8%;
    }
}

@media only screen and (max-width: 1000px) {
    .main-content__main {
        max-width: 70%;
        padding-right: 0;
        padding-top: 0rem;
    }

    .main-content_list li {
        font-size: 16px;
        padding: 0;

    }

}