body {
    background-color: #fff;
    font-size: 16px;
    color: #333;
    line-height: 30px;
    font-family: '微軟正黑體', '新細明體', Ariel, Helvetica, sans-serif;
}

a {
    color: #15909a;
}

h1 {
    color: #0a3255;
    font-size: 6vh;
    font-weight: bold;
}

h1>span {
    color: #ee5f41;
}

#header {
    margin-top: 3%;
}

#header>.content>img {
    margin: 0 auto;
}

.number-block {
    padding: 0 15px;
    text-align: center;
}

.number-block:nth-child(1)>span {
    color: #e47c0d;
}

.number-block:nth-child(2)>span {
    color: #15909a;
}

.number-block:nth-child(3)>span {
    color: #1c7fa8;
}

.number-block:nth-child(4)>span {
    color: #de482a;
}



/* ======time-line====== */

.timeLine-row {
    display: flex;
    flex-direction: row;
}

.timeLine-title {
    flex: 0 1 20%;
}

.title-block {
    background-color: #878585;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    padding: 5px 5px;
}

.title-block h2 {
    margin-top: 10px;
}

.timeLine-info {
    flex: 1 0 80%;
    position: relative;
    padding: 15px 10px;
}

.timeLine-info:before {
    position: absolute;
    content: '';
    height: 3px;
    width: 100%;
    background-color: #878585;
    left: 0;
    top: 30px;
    z-index: -1;
}

.timeLine-dot {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

.timeLine-dot>li {
    flex: 16%;
    text-align: center;
}

.timeLine-dot>li>a {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.timeLine-dot>li>a.active:before {
    content: '';
    position: absolute;
    width: 3px;
    height: 30px;
    bottom: -36px;
    left: calc(50% - 2px);
}


/* dot01 */

.timeLine-dot>li:nth-child(1)>a {
    background-color: #e47c0d;
}

.timeLine-dot>li:nth-child(1)>a.active {
    box-shadow: 0 0 0 3px #e47c0d;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(1)>a.active:before {
    background-color: #e47c0d;
}


/* dot02 */

.timeLine-dot>li:nth-child(2)>a {
    background-color: #f05f42;
}

.timeLine-dot>li:nth-child(2)>a.active {
    box-shadow: 0 0 0 3px #f05f42;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(2)>a.active:before {
    background-color: #f05f42;
}


/* dot03 */

.timeLine-dot>li:nth-child(3)>a {
    background-color: #00adbb;
}

.timeLine-dot>li:nth-child(3)>a.active {
    box-shadow: 0 0 0 3px #00adbb;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(3)>a.active:before {
    background-color: #00adbb;
}


/* dot04 */

.timeLine-dot>li:nth-child(4)>a {
    background-color: #1c7fa8;
}

.timeLine-dot>li:nth-child(4)>a.active {
    box-shadow: 0 0 0 3px #1c7fa8;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(4)>a.active:before {
    background-color: #1c7fa8;
}



/* dot05 */

.timeLine-dot>li:nth-child(5)>a {
    background-color: #3ea76a;
}

.timeLine-dot>li:nth-child(5)>a.active {
    box-shadow: 0 0 0 3px #3ea76a;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(5)>a.active:before {
    background-color: #3ea76a;
}


/* dot06 */

.timeLine-dot>li:nth-child(6)>a {
    background-color: #9fd225;
}

.timeLine-dot>li:nth-child(6)>a.active {
    box-shadow: 0 0 0 3px #9fd225;
    border: 4px solid #fff;
}

.timeLine-dot>li:nth-child(6)>a.active:before {
    background-color: #9fd225;
}

.timeLine-textGroup {
    position: relative;
    top: 22px;
}

.timeLine-text {
    padding: 10px 15px;
    border-radius: 10px;
    border: 3px solid #e47c0d;
    display: none;
}

.timeLine-text.show {
    display: block;
}

.timeLine-text:nth-child(1) {
    border: 3px solid #e47c0d;
}

.timeLine-text:nth-child(2) {
    border: 3px solid #f05f42;
}

.timeLine-text:nth-child(3) {
    border: 3px solid #00adbb;
}

.timeLine-text:nth-child(4) {
    border: 3px solid #1c7fa8;
}

.timeLine-text:nth-child(5) {
    border: 3px solid #3ea76a;
}

.timeLine-text:nth-child(6) {
    border: 3px solid #9fd225;
}

.timeLine-text img {
    margin: 0 auto;
    margin-top: 20px;
}

.timeLine-text h3 {
    font-size: 22px;
    color: #686868;
    font-weight: bold;
}

.timeLine-text kbd {
    background-color: #9f9f9f;
    color: #fff;
    border-radius: 0;
    box-shadow: 0 0 0 transparent;
    margin-left: 10px;
    font-weight: normal;
}

.timeLine-text p {
    border-left: 2px solid #9f9f9f;
    padding-left: 8px;
}


/* =======speaker======= */

#speaker {
    padding: 3% 0 4%;
}

.speaker-group {
    display: flex;
    flex-wrap: wrap;
}

.speaker-group>a {
    display: block;
    flex: 0 0 10%;
    overflow: hidden;
    position: relative;
    z-index: 0;
    outline: transparent;
    width: 184px;
}

.speaker-group>a:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: .6s ease-in;
}

.speaker-img>img {
    margin: 0 auto;
    width: 100%;
}

.speakerEvent-title {
    position: absolute;
    bottom: -100%;
    width: 100%;
    background-color: #00adbb;
    text-align: center;
    padding: 10px 15px;
    transition: .5s ease-in-out;
    z-index: 2;
}

.speakerEvent-title>p {
    color: #fff;
    margin-bottom: 0;
}

.speaker-group>a:hover:before {
    background-color: rgba(0, 0, 0, 0.4);
}

.speaker-group>a:hover .speakerEvent-title {
    bottom: 0;
}


/* Modal */

.speakerModal-content {
    position: relative;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 12px 12px 0 4px #00adbb;
    ;
}

.modal-header {
    padding: 25px;
    border-bottom: 0;
}

.modal-body {
    display: flex;
    justify-content: center;
    align-content: center;
}

.nextBtn-left,
.nextBtn-right {
    width: 10%;
    position: relative;
}


.nextBtn-left:before,
.nextBtn-right:before {
    content: '';
    position: relative;
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.nextBtn-left>button,
.nextBtn-right>button {
    background-color: transparent;
    border: 0;
    transition: .3s ease-in-out;
    opacity: 1;
    outline: transparent;
    width: 85%;
    display: inline-block;
    vertical-align: middle;
}

.nextBtn-left>button:hover img,
.nextBtn-right>button:hover img {
    opacity: .7;
}

.info-box {
    width: 80%;
    padding: 10px 25px;
    display: flex;
}

.info-block {
    padding: 0 10px;
}

.info-block:nth-child(1) {
    width: 40%;
}

.info-block:nth-child(2) {
    width: 60%;
}

.speInfo-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.speInfo-box {
    position: absolute;
    bottom: 0;
}

.speInfo-box h3 {
    font-weight: bold;
    color: #00adbb;
    font-size: 25px;
}

.speInfo-box h4 {
    margin-bottom: 30px;
    font-size: 18px;
    color: #444;
}

.speInfo-box h4>i {
    color: #38a2d2;
}

.speInfo-box p {
    margin: 0;
    color: #fff;
    background-color: #bbbbbb;
    border-radius: 10px;
    padding: 2px 5px;
    font-size: 14px;
    margin-top: 5px;
}


/* ======partner====== */

#partner-wall {
    padding: 2% 0;
}


/* ======footer====== */

footer {
    background-color: #00adbb;
    padding-top: 3%;
    padding-bottom: 3%;
    color: #fbfbfb;
}

.share-btn {
    list-style: none;
    padding: 0;
    margin: 0;
}

.share-btn>li {
    display: inline-block;
}

.share-btn>li+li {
    margin-left: 5px;
}

.share-btn>li>a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #00adbb;
    line-height: 50px;
    font-size: 25px;
    text-align: center;
    transition: .3s ease-in-out;
}

.share-btn>li>a:hover,
.share-btn>li>a:focus,
.share-btn>li>a:active {
    background-color: #fbfbfb;
    color: #e47c0d;
}

@media (max-width: 768px) {
    .content {
        width: 90%;
        margin: 0 auto;
        position: relative;
    }
    .speaker-content {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .number-row {
        position: absolute;
        bottom: 8%;
        left: 0;
        display: flex;
    }

    .number-block>span {
        font-size: 3.2vh;
    }

    .number-block>p {
        font-size: 12px;
    }
    .number-block {
        padding: 0 5px;
    }
    .title-block h2 {
        font-size: 2vh;
    }

    .speakerEvent-title>p {
        font-size: 1.8vh;
    }

    .speaker-group>a {
        flex: 0 1 33%;
    }
    .info-box {
        width: 80%;
        padding: 10px 25px;
        display: flex;
        flex-wrap: wrap;
    }

    .info-block {
        padding: 0 10px;
    }

    .info-block:nth-child(1) {
        width: 100%;
    }

    .info-block:nth-child(2) {
        width: 100%;
    }

    .speInfo-box {
        position: relative;
    }

    footer p {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .content {
        width: 80%;
        margin: 0 auto;
        position: relative;
    }
    .speaker-content {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .number-row {
        position: absolute;
        bottom: 15%;
        left: 0;
        display: flex;
    }

    .number-block>span {
        font-size: 4vh;
    }

    .number-block>p {
        font-size: 13px;
    }
    .number-block {
        padding: 0 8px;
    }

    .title-block h2 {
        font-size: 2.5vh;
    }

    .modal-dialog {
        margin: 60px auto;
    }

    .speakerEvent-title>p {
        font-size: 1.8vh;
    }

    .speaker-group>a {
        flex: 0 0 20%;
    }
    .info-box {
        width: 80%;
        padding: 10px 25px;
        display: flex;
        flex-wrap: wrap;
    }

    .info-block {
        padding: 0 10px;
    }

    .info-block:nth-child(1) {
        width: 100%;
    }

    .info-block:nth-child(2) {
        width: 100%;
    }

    .speInfo-box {
        position: relative;
    }

    footer p {
        text-align: right;
    }
}

@media (min-width: 968px) {
    .number-row {
        position: absolute;
        bottom: 20%;
        left: -10px;
        display: flex;
    }

    .number-block>span {
        font-size: 50px;
    }

    .number-block>p {
        font-size: 16px;
    }
    .number-block {
        padding: 0 15px;
    }
    .title-block h2 {
        font-size: 30px;
    }

    .info-box {
        width: 80%;
        padding: 10px 25px;
        display: flex;
        flex-wrap: nowrap;
    }

    .info-block {
        padding: 0 10px;
    }

    .info-block:nth-child(1) {
        width: 40%;
    }

    .info-block:nth-child(2) {
        width: 60%;
    }
    .speInfo-box {
        position: absolute;
        bottom: 0;
    }
}

@media (min-width: 1200px) {
    .number-row {
        position: absolute;
        bottom: 22%;
        left: -10px;
        display: flex;
    }

    .number-block>span {
        font-size: 65px;
    }

    .number-block>p {
        font-size: 25px;
    }

    .speakerEvent-title>p {
        font-size: 2vh;
    }

    .speaker-group>a {
        flex: 0 0 10%;
    }
}

@media (min-width: 1500px) {
    .number-row {
        position: absolute;
        bottom: 22%;
        left: 10px;
        display: flex;
    }

    .number-block>span {
        font-size: 100px;
    }

    .number-block>p {
        font-size: 35px;
    }
}
