﻿body {
    font-size: 16px;
    line-height: 1.8;
    font-family: "RilenoSans","Guardians Sans", "Tahoma", "微軟正黑體", "新細明體", Helvetica,
        sans-serif;
    background-color: #ffffff;
    color: #333;
    padding-top: 80px;
}

i {
    margin-right: 5px;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover,
a:active {
    color: #333;
    text-decoration: none;
}

img {
    margin: 0 auto;
}

section,
footer {
    margin: 0 auto;
}

h3 {
    line-height: 1.5;
    font-weight: bold;
}

p {
    text-align: justify;
    line-height: 30px;

}

mark {
    background-color: #00c0eb;
}

mark>a:hover,
a:active {
    color: #fff;
    text-decoration: none;
}

.title {
    font-size: 4.5vh;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 2%;
    color: #094067;
    font-weight: bold;
}

.form-group {
    margin-right: 0;
    margin-left: 0;
    float: left;
    width: 100%;
}

.btn-block {
    padding: 10px;
    font-size: 1.2em;
    font-weight: 700;
}

.btn-primary btn-blockBorder {
    color: #3da9fc;
    font-size: 18px;
    line-height: 1.8;
    border-radius: 0px;
    padding: 5px 15px;
    font-weight: bold;
    border: 1px solid #094067;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}

.btn-primary btn-blockBorder:hover,
.btn-primary btn-blockBorder:active {
    border: 1px solid #3da9fc;
    color: #3da9fc;
}

.btn-primary btn-blockBorder i {
    color: #094067;
}

.btn-primary btn-blockBorder:hover i,
.btn-primary btn-blockBorder:active i {
    color: #3da9fc;
}

.btn-primary btn-block {
    background-color: #3da9fc;
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    border-radius: 0px;
    padding: 5px 15px;
    margin: 10px 5px;
    font-weight: bold;
    border: 0px solid #3da9fc;
    text-shadow: none;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}

.btn-primary btn-block:hover,
.btn-primary btn-block:active {
    background-color: #3da9fc;
    color: #eeeee1;
}

.btn-primary {
    background-color: #3da9fc;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.side-bar-prize {
    position: relative;
    z-index: 100;
    position: fixed;
    right: 0;
    bottom: 17%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.side-bar-fb,
.side-bar-youtube {
    position: relative;
    z-index: 100;
    position: fixed;
    left: 0;
    width: 50px
}

.side-bar-fb {
    bottom: 28%
}

.side-bar-youtube {
    bottom: 20%
}

#signup,
#signup,
#talk,
#prisma {
    padding: 2% 2%;
    /* padding-top: 2%;
padding-bottom: 2%; */
}

.section-three,
#webinar,
#con {
    padding: 1% 0;
    background-color: #ECF7FA;
}


#intro,
#download {
    padding: 4% 0;
}




/* utilities */

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.pt10 {
    padding-top: 10px;
}

.pt20 {
    padding-top: 20px;
}

.pt30 {
    padding-top: 30px;
}

/* =====nav===== */

nav {
    background-color: #00c0eb;
    box-shadow: 0 2px 2px 0 rgba(23, 25, 23, 0.3);
    position: fixed;
    top: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 28px 0;
}

.navi {
    margin: 0 2%;
}

.mobile-btn {
    cursor: pointer;
    height: 40px;
    line-height: 30px;
    position: fixed;
    z-index: 1000;
    top: 20px;
    right: 10px;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 15px 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 22px;
    margin: 0 10px;
    text-align: left;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all 0.5s;
}

nav ul li a:hover {
    color: #ffd369;
}

/* stroke */
nav.stroke ul li a,
nav.fill ul li a {
    position: relative;
}

nav.stroke ul li a:after,
nav.fill ul li a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: ".";
    color: transparent;
    background: #ffd369;
    height: 5px;
}

nav.stroke ul li a:hover:after {
    width: 100%;
}

nav.fill ul li a {
    transition: all 2s;
}

nav.fill ul li a:after {
    text-align: left;
    content: ".";
    margin: 0;
    opacity: 0;
}

nav.fill ul li a:hover {
    color: #fff;
    z-index: 1;
}

nav.fill ul li a:hover:after {
    z-index: -10;
    animation: fill 1s forwards;
    -webkit-animation: fill 1s forwards;
    -moz-animation: fill 1s forwards;
    opacity: 1;
}


.focus {
    color: #fff;
    background-color: #3da9fc;
}

.focus:hover {
    color: #fff;

}

.naviLink {
    writing-mode: vertical-lr;

}

/* ====hamburger===== */

.bar,
.bar:after,
.bar:before {
    width: 40px;
    height: 5px;
}

.bar {
    position: relative;
    transform: translateY(8px);
    background: #444;
    transition: all 0ms 300ms;
}

.bar.animate {
    background: rgba(255, 255, 255, 0);
}

.bar:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    background: #444;
    transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar:after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    background: #444;
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:after {
    top: 0;
    background: #fff;
    transform: rotate(45deg);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:before {
    bottom: 0;
    background: #fff;
    transform: rotate(-45deg);
    transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1),
        transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-btn i {
    font-size: 30px;
    display: block;
}

.navi-logo {
    float: left;
    width: 25%;
}

.navibar {
    position: absolute;
    right: 2%;
    bottom: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* mobile-navi */

.mobile-navi {
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 20% 10%;
    list-style: none;
    display: none;
    z-index: 100;
}

.mobile-navi>li>a {
    /*height: 50px;*/
    line-height: 50px;
    padding: 0 8px;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    display: block;
    text-align: center;
}

/* ====head==== */

#header {
    background-image: url(../img/kv-bg.jpg);
    /*max-width: 1440px;*/
    position: relative;
    background-position: center;
    margin: 0 auto;
}

#header>.title-area {
    padding-top: 7%;
    padding-bottom: 5%;
    text-align: left;
    color: #333333;
    /*text-shadow: 0 0 7px rgba(0, 0, 0, 0.7);*/
}

#header .btn {
    width: 30%;
}

.title-area>h1 {
    font-weight: bolder;
    padding: 5px 15px 20px 5px;
}

.kv-btn {
    background-color: rgba(22, 22, 22, 0.8);
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 25px;
}

.kv-btn:hover {
    background-color: rgba(22, 22, 22, 1);
    color: #fff;
}

.title-area .fa-caret-right {
    color: #2bb34a;
}

.btn-primary-no {
    text-shadow: none;
}

/* ====intro==== */
.middle {
    float: none;
    display: inline-block;
    vertical-align: middle;
    padding-top: 5%;
}

.middle-p {
    margin: 0 20px;
    padding-top: 5%;

}


.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    vertical-align: middle;
}

hr {
    border: 2px solid #00c0eb;
    width: 8%;
}

/*==填滿按鈕==*/

.btn-area {
    text-align: center;
}

button {
    color: #00c0eb;
    background: none;
    border: 2px solid;
    font-size: 18px;
    line-height: 1;
    margin: 0.5em;
    padding: 1em 2em;
    -webkit-transition: 0.25s;
    transition: 0.25s;
}

button:hover,
button:focus {
    border-color: #00c0eb;
    color: #fff;
}

.fill:hover,
.fill:focus {
    box-shadow: inset 0 0 0 2em #00c0eb;
}

/*==填滿按鈕end==*/

.feature-box {
    background-color: rgba(255, 203, 6, 0.8);
    border-radius: 10px;
    padding: 6%;
    margin: 3% 0;
    box-shadow: 0.125rem .25rem rgba(0, 0, 0, .075);
    border: 1px solid #eae9e9;
}

.feature-box:hover {
    border: 2px solid #ffcb06;
    background-color: rgba(255, 203, 6, 0.4);
    border-radius: 10px;


}

.feature-box2 {
    background-color: rgba(250, 88, 45, 0.8);
    border-radius: 10px;
    padding: 6%;
    margin: 3% 0;
    box-shadow: 0.125rem .25rem rgba(0, 0, 0, .075);
    border: 1px solid #eae9e9;
}

.feature-box2:hover {
    border: 2px solid #fa582d;
    border-radius: 10px;
    background-color: rgba(250, 88, 45, 0.4);

}

.feature-box3 {
    background-color: rgba(0, 204, 102, 0.8);
    border-radius: 10px;
    padding: 6%;
    margin: 3% 0;
    box-shadow: 0.125rem .25rem rgba(0, 0, 0, .075);
    border: 1px solid #eae9e9;
}

.feature-box3:hover {
    border: 2px solid #00cc66;
    border-radius: 10px;
    background-color: rgba(0, 204, 102, 0.4);

}

.feature-box-txt {
    height: 340px;
    font-weight: bolder;
}

.dlbox {
    border-top: 1px solid #00c0eb;
    padding: 2% 1%;
}

.dlbox-title {
    font-size: 1.2em;
    color: #3da9fc;
    font-weight: bolder;

}

.video-link {
    transition: ease .3s;
}

.video-link:focus,
.video-link:hover {
    opacity: 0.9;
    display: block;
}

.conbox {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 3% 5%;
    margin: 3% 0;
    box-shadow: 0.125rem .25rem rgba(0, 0, 0, .075);
    border: 1px solid #eae9e9;
}

/* ====footer==== */

footer {
    text-align: center;
    padding: 2% 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo {
    display: inline-block;
}

.footer-txt {
    margin-top: 10%;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
}




@media (max-width: 985px) {
    #case {
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }



    #header .btn {
        width: 90%;
    }

    .navibar {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .navi-logo {
        width: 40%;
        left: 2%;
        position: relative;
    }

    #header>.title-area {
        font-size: 6vh;
        left: 5%;
        position: relative;
    }

    #header {
        height: 300px;
        background-size: cover;
        text-shadow: 0 0 7px #fff;
    }

    .side-btn {
        display: none;
    }

    h1 {
        font-size: 40px;
    }

    .top-wording {
        height: 100%;
    }

    .feature-box-txt {
        height: auto;
    }
}

@media (max-width: 768px) {
    .navibar {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .navi-logo {
        width: 40%;
    }

    #header>.title-area {
        font-size: 6vh;
        left: 5%;
    }

    #header {
        height: 250px;
        background-size: cover;
    }

    #header h3 {
        width: 90%;
    }

    .side-btn {
        display: none;
    }

    h1 {
        font-size: 40px;
    }

    .title-area>h2 {
        font-size: 2.5rem;
    }

    .title-area>h3 {
        font-size: 1.5rem;
    }
    .top-wording {
        height: 100%;
    }

    section {
        margin-top: 5%;
    }

    #intro {
        margin-top: 10%;
    }
}

@media (min-width: 768px) {
    .navi {
        width: 760px;
    }

    nav,
    section,
    footer {
        width: 100%;
    }
}

@media (min-width: 986px) {

    nav,
    section,
    footer {
        width: 100%;
    }

    .navi {
        width: 976px;
    }

    .navibar {
        display: block;
    }

    .mobile-btn {
        display: none;
    }

    .navi-logo {
        width: 25%;
    }

    #header>.title-area {
        font-size: 4.5vw;
        left: 6%;
        position: relative;
    }

    #header {
        height: 420px;
        background-size: cover;
    }

    .side-btn {
        display: block;
    }

    h1 {
        font-size: 50px;
    }

    .top-wording {
        height: 150px;
    }

    .feature-box-txt {
        height: 340px;
    }
}

@media (min-width: 1200px) {

    nav,
    section,
    footer {
        width: 100%;
    }

    .navi {
        width: 1150px;
    }

    .feature-box-txt {
        height: 350px;
    }
}

@media (min-width: 1400px) {
    /* nav,
  section,
  footer {
    width: 1440px;
  } */

    .navi {
        width: 1420px;
    }
}


/*-- 報名表單 --*/
.section-form {
    margin-top: 3%;
}

.section-form .intro .intro-main-desc {
    font-size: 18px;
}

.section-form .intro .intro-desc {}

.section-form .form-group label {
    padding-right: 5px;
}

.step-box-1 {
    background-color: #ECF7FA;
    padding: 15px 10px;
}

.step-box-2 {
    background-color: #ECF7FA;
    padding: 15px 10px;
}

.d-none {
    display: none;
}

/*==問答頁==*/
.QApart {
    padding-top: 8%;
    background-image: url(../img/qabg.jpg);
    max-width: 1440px;
    height: 80vh;
    position: relative;
    background-position: center;
    margin: 0 auto;
    color: #fff;
}

.QApart-txt {
    font-size: 2rem;
    padding-top: 2%;
}

.QApart-txt>li {
    padding: 2px 30px;
}

.QApart-txt>li:hover {
    background-color: #ffd369;
    color: #333;
    border-radius: 10px;
}

.wrong_answer {
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

/*.correct_answer {
    display: inline-block;
    position: relative; 
    left: 20%;   
}*/

.QApart-txt>li.wrong {
    background-color: #fa582d;
    color: #fff;
    border-radius: 10px;
}

.QApart-txt>li.correct {
    background-color: #00cc66;
    color: #fff;
    border-radius: 10px;
}

.btn-warning {
    margin-top: 30px;
    padding: 10px 25px;
}