/*reset css*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
    /*h1,*/
    /*h2,*/
    /*h3,*/
    /*h4,*/
    /*h5,*/
    /*h6,*/
    /*p,*/
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*end reset css*/

body,
html {
    height: 100%;
}

html {
    overflow-x: hidden;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 600px) {

    html {
        font-size: 14px;
    }
}

html,
html a,
body {
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: "Noto Sans CJK TC Regular", "Microsoft JhengHei", sans-serif;
    color: #2d4aa9;
    line-height: 1.6;
}

::selection {
    background: #2FD3A1;
    color: #2d4aa9;
}

::-moz-selection {
    background: #2FD3A1;
    color: #2d4aa9;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

a {
    color: #2d4aa9;
}

a:hover {
    color: #2FD3A1;
    text-decoration: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    font-family: "Noto Sans CJK TC Regular", "Microsoft JhengHei", sans-serif;
    line-height: 1.2;
    color: #2d4aa9;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h4,
h5,
h6 {
    font-weight: 600;
    font-family: "Noto Sans CJK TC Regular", "Microsoft JhengHei", sans-serif;
    line-height: 1.2;
    color: #2d4aa9;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {
    font-weight: 300;
    color: #000;
}

/* btn */

.btn {
    border: 0px;
    border-radius: 30px;
    color: #2d4aa9;
    background-color: #fbd872;
    margin: 1em;
}

.btn-secondary {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #2d4aa9;
    background-color: #F3F5EE;
    margin: 1em;
    padding: 10px;
}

.btn-disabled {
    color: #686868;
    background-color: #F3F5EE;
}

.btn:hover {
    transition-duration: 200ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.15, 0.96, 0.65, 0.94);
    transform: scale(1.1, 1.1);
}

button:focus {
    outline: none;
}

/* navbar */

.navbar {
    background-color: #fff;
}

.navbar-brand {
    padding-bottom: 0rem;
}

.navbar-brand img {
    width: 50px;
}

@media (max-width: 360px) {

    .navbar-brand {
        margin-right: 0rem;
    }

    .navbar-brand img {
        width: 40px;
    }

}

.navbar-nav .nav-item .dd {
    color: #2d4aa9;
    background-color: #F3F5EE;
    border-radius: 30px;

}

@media (max-width: 1024px) {
    .navbar-nav .nav-link {
        padding-left: 2em;
    }
}

/*.navbar-light .navbar-nav .nav-link {*/
/*color: #2d4aa9;*/
/*}*/

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #2d4aa9;
}

.navbar-light .navbar-nav .active > .nav-link {
    color: rgba(0, 0, 0, 0.5);
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-toggler {
    border-color: transparent;
}

.background {
    position: fixed;
    z-index: -1;
}

.hero-image {
    text-align: center;
}

.hero-image p {
    color: #686868;
}

@media screen and (max-width: 767px) {
    .hero-image img {
        width: 50%;
    }
}

/*for-responsive-image*/
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/*分隔線*/
.divider {
    border-bottom: 0.5px solid #acdeef;
}

.card-bg {
    background-color: #fff;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: 0px 30px 31px -11px rgba(135, 135, 135, .5);
    -moz-box-shadow: 0px 30px 31px -11px rgba(135, 135, 135, .5);
    box-shadow: 0px 30px 31px -11px rgba(135, 135, 135, .5);
}

/*hover動畫*/
/* Bob */
@-webkit-keyframes hvr-bob {
    0% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
    50% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
    100% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
}

@keyframes hvr-bob {
    0% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
    50% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
    100% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
}

@-webkit-keyframes hvr-bob-float {
    100% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
}

@keyframes hvr-bob-float {
    100% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
}

.hvr-bob {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.hvr-bob:hover, .hvr-bob:focus, .hvr-bob:active {
    -webkit-animation-name: hvr-bob-float, hvr-bob;
    animation-name: hvr-bob-float, hvr-bob;
    -webkit-animation-duration: .3s, 1.5s;
    animation-duration: .3s, 1.5s;
    -webkit-animation-delay: 0s, .3s;
    animation-delay: 0s, .3s;
    -webkit-animation-timing-function: ease-out, ease-in-out;
    animation-timing-function: ease-out, ease-in-out;
    -webkit-animation-iteration-count: 1, infinite;
    animation-iteration-count: 1, infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-direction: normal, alternate;
    animation-direction: normal, alternate;
}

/*tabbars*/

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #F3F5EE;
    background-color: #2d4aa9;
    border-radius: 30px;
}

.nav-fill .nav-item {
    flex: 0 0 auto;
}

.nav-pills a {
    font-size: 18px;
}

/*brakets*/

.brakets-l {
    position: absolute;
    left: 40px;
    height: 80px;
    width: auto;
}

.brakets-r {
    position: absolute;
    right: 40px;
    height: 80px;
    width: auto;
}

@media screen and (max-width: 576px) {
    .nav-pills a {
        font-size: 17px;
    }

    .brakets-l {

        left: -10px;
        height: 100px;
        margin-top: 30px;
        margin-right: 10px;
    }

    .brakets-r {

        right: -10px;
        height: 100px;
        margin-top: 30px;
        margin-left: 10px;
    }
}

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

    .brakets-l {
        left: -28px;
    }

    .brakets-r {
        right: -28px;
    }
}

@media screen and (min-width: 1025px) {

    .brakets-l {
        left: 10%;

    }

    .brakets-r {
        right: 10%;
    }
}

/*video container*/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

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

/*.bubble {*/
/*position: absolute;*/
/*width: 220px;*/
/*top: -150px;*/
/*right: 50px;*/
/*margin-right: 140px;*/

/*}*/

/*@media screen and (max-width: 768px) {*/
/*.bubble {*/
/*top: -100px;*/
/*right: 30px;*/
/*width: 150px;*/
/*}*/
/*}*/

/*@media screen and (max-width: 360px) {*/
/*.bubble {*/
/*display: none;*/
/*}*/
/*}*/

.watermark {
    opacity: 0.3;
    width: 36%;
    position: absolute;
    left: -50px;
    top: -50px;
    rotation: 30deg;
    transform: rotate(5deg);
}

@media screen and (max-width: 767px) {
    .watermark {
        width: 55%;
        left: -40px;
        top: -40px;
    }

}

/*timeline*/
.main-timeline {
    overflow: hidden;
    position: relative;
}

.main-timeline:before {
    content: "";
    width: 7px;
    height: 100%;
    background: #909090;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-timeline .timeline {
    width: 50%;
    padding-left: 50px;
    float: right;
    position: relative;
}

.main-timeline .timeline:before {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #909090;
    border: 7px solid #fff;
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
}

.main-timeline .timeline:after {
    content: "";
    display: block;
    border-right: 30px solid #3D5A80;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
}

.main-timeline .timeline-content {
    display: block;
    padding: 25px;
    border-radius: 100px;
    background: #3D5A80;
    position: relative;
    -webkit-box-shadow: 0px 10px 31px -11px rgba(135, 135, 135, 1);
    -moz-box-shadow: 0px 10px 31px -11px rgba(135, 135, 135, 1);
    box-shadow: 0px 10px 31px -11px rgba(135, 135, 135, 1);
}

.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline .timeline-content:hover {
    text-decoration: none;
}

.main-timeline .inner-content {
    width: 70%;
    float: right;
    padding: 15px 20px 15px 15px;
    background: #fff;
    border-radius: 0 100px 100px 0;
    color: #3D5A80;
}

.main-timeline .year {
    display: inline-block;
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
}

.main-timeline .title {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.main-timeline .description {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.main-timeline .timeline:nth-child(2n) {
    padding: 0 50px 0 0;
}

.main-timeline .timeline:nth-child(2n):before,
.main-timeline .timeline:nth-child(2n) .year {
    left: auto;
    right: -15px;
}

.main-timeline .timeline:nth-child(2n) .year {
    right: 7%;
}

.main-timeline .timeline:nth-child(2n):after {
    border-right: none;
    border-left: 30px solid #3D5A80;
    left: auto;
    right: 24px;
}

.main-timeline .timeline:nth-child(2n) .inner-content {
    float: none;
    border-radius: 100px 0 0 100px;
    text-align: left;
}

.main-timeline .timeline:nth-child(2) {
    margin-top: 130px;
}

.main-timeline .timeline:nth-child(odd) {
    margin: -130px 0 0 0;
}

.main-timeline .timeline:nth-child(even) {
    margin-bottom: 80px;
}

.main-timeline .timeline:first-child,
.main-timeline .timeline:last-child:nth-child(even) {
    margin: 0;
}

.main-timeline .timeline:nth-child(2n) .timeline-content {
    background: #3BA99C;
}

.main-timeline .timeline:nth-child(2n),
.main-timeline .timeline:nth-child(2n) .inner-content {
    color: #3BA99C;
}

.main-timeline .timeline:nth-child(2n):after {
    border-left-color: #3BA99C;
}

.main-timeline .timeline:nth-child(3n) .timeline-content {
    background: #69D1C5;
}

.main-timeline .timeline:nth-child(3n),
.main-timeline .timeline:nth-child(3n) .inner-content {
    color: #69D1C5;
}

.main-timeline .timeline:nth-child(3n):after {
    border-right-color: #69D1C5;
}

.main-timeline .timeline:nth-child(4n) .timeline-content {
    background: #7EBCE6;
}

.main-timeline .timeline:nth-child(4n),
.main-timeline .timeline:nth-child(4n) .inner-content {
    color: #7EBCE6;
}

.main-timeline .timeline:nth-child(4n):after {
    border-left-color: #7EBCE6;
}

.main-timeline .timeline:nth-child(5n) .timeline-content {
    background: #8980F5;
}

.main-timeline .timeline:nth-child(5n),
.main-timeline .timeline:nth-child(5n) .inner-content {
    color: #8980F5;
}

.main-timeline .timeline:nth-child(5n):after {
    border-right-color: #8980F5;
}

@media only screen and (max-width: 1200px) {
    .main-timeline .inner-content {
        width: 80%;
    }

    .main-timeline .year {
        font-size: 45px;
        left: 10px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: 10px;
    }
}

@media only screen and (max-width: 990px) {
    .main-timeline .year {
        font-size: 40px;
        left: 0;
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline:before,
    .main-timeline .timeline:before {
        left: 10px;
        transform: translateX(0);
    }

    .main-timeline .timeline:nth-child(2n):after {
        border-left: none;
        border-right: 30px solid #3D5A80;
        right: auto;
        left: 24px;
    }

    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even),
    .main-timeline .timeline:nth-child(odd) {
        width: 100%;
        float: none;
        margin: 0 0 30px 0;
    }

    .main-timeline .timeline:last-child {
        margin-bottom: 0;
    }

    .main-timeline .timeline:nth-child(2n) {
        padding: 0 0 0 50px;
    }

    .main-timeline .timeline:before,
    .main-timeline .timeline:nth-child(2n):before {
        left: -2px;
    }

    .main-timeline .inner-content {
        width: 85%;
    }

    .main-timeline .timeline:nth-child(2n) .inner-content {
        float: right;
        border-radius: 0 100px 100px 0;
        text-align: left;
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: auto;
        left: 0;
    }

    .main-timeline .timeline:nth-child(2n):after {
        border-right-color: #3BA99C;
    }

    .main-timeline .timeline:nth-child(3n):after {
        border-left-color: #69D1C5;
    }

    .main-timeline .timeline:nth-child(4n):after {
        border-right-color: #7EBCE6;
    }

    .main-timeline .timeline:nth-child(5n):after {
        border-left-color: #8980F5;
    }
}

@media only screen and (min-width: 768px) {
    .main-timeline .timeline:nth-child(2n) .inner-content {

        padding-left: 50px;
    }
}

@media only screen and (max-width: 479px) {
    .main-timeline .timeline-content {
        padding: 15px;
    }

    .main-timeline .inner-content {
        width: 80%;
    }

    .main-timeline .year {
        font-size: 30px;
    }
}

/*footer & brands*/

.brands {
    background-color: #fff;
    height: auto;
    width: 100%;
    padding: 80px 20px 40px 20px;
    -webkit-box-shadow: 0px -16px 30px -24px rgba(117, 117, 117, 1);
    -moz-box-shadow: 0px -16px 30px -24px rgba(117, 117, 117, 1);
    box-shadow: 0px -16px 30px -24px rgba(117, 117, 117, 1);
}

.brands-pic {
    width: auto;
    height: 48px;

}

.brands-pic-square {
    width: auto;
    height: 80px;
}

.brands-pic, .brands-pic-square {
    filter: grayscale(1);
}

footer {
    position: relative;
    background-color: #00275A;
    height: auto;
    width: 100%;
    padding: 48px 0px 20px 0px;
}

footer .row {
    margin: 30px 30px 10px 30px;
}

footer h4 {
    border-left: solid 8px #2FD3A1;
    color: #fff;
    margin-left: 12px;
    padding-left: 8px;
    margin-bottom: 20px;
}

footer p, footer a {
    color: rgba(255, 255, 255, .7);
    line-height: 40px;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .brands {
        padding: 40px 10px 30px 10px;
    }

    .brands-pic {
        width: auto;
        height: 30px;
    }

    .brands-pic-square {
        width: auto;
        height: 50px;
    }

}

.triangle {
    position: absolute;
    top: 0px;
    left: 50px;

}
