﻿html {
    scroll-behavior: smooth;
}
body {
    font-size: 18px;
    line-height: 1.8em;
    color: #212121;
    font-family: "微軟正黑體", "新細明體", Ariel, Helvetica, sans-serif;
}

h2 {
    text-align: center;
    color: #121629;
    font-weight: 700;
    padding: 20px;
}

h3{
    text-align: center;
    margin-bottom: 20px;
}


section {
    padding: 2.5em 2em;
}

.navbar {
    padding: 0rem 1rem;
    background-image: linear-gradient(135deg, #512DA8 0%, #121629 100%);
    background-color: #121629;
}


.nav-item {
    padding: 0px 10px;
}

.nav-link {
    padding: 0.8rem 1rem;
}


.navbar .navbar-nav>li>a:hover {
    color: #efefef;    
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px)
}


.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    transition: .3s;
}

.highlight {
    background-color: #673AB7;
    text-shadow: none;
    font-weight: bold;
}


.kv img {
    width: 100%;
}

.btn-primary{
    background-color: #512DA8;
    border: 2px solid #512DA8;
    color: #fff;
    padding: 4px 16px;
    border-radius: 6px;
}
.btn-primary:hover,.btn-primary:focus{
    background-color: #fff;
    color: #512DA8;
    border: 2px solid #512DA8;
}



.title{
    font-weight: 700;
    background-color: #ffffff;
    padding: 5px 10px;
    margin-right: 10px;
}


.foreword {}
@media (max-width: 767px) {
    .foreword {
        font-size: 16px;
    }
}


.news {
    position: relative;
    background-color: #D1C4E9;
    /* color: #232946; */
}

.news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 88px 0 88px;
    border-color: #fff transparent transparent transparent;
}


.speaker{ 
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-color: #D1C4E9;
}
.tb-top{
    background-color: #512DA8;
    color: #ffffff;
}
.tb-wrapper{
    border-bottom: 1px solid #ddd;
    padding: 10px 5px;
}

.tb-wrapper:nth-of-type(even){
    background-color: #efefef;
}

.tb-title{
    font-weight: 600;
}

.info{
    background-color: #D1C4E9;
}

.cont-txt{
    font-size: 16px;
}

.card-body{
    font-size: 16px;
}

.card-title{
    font-weight: 600;
    font-size: 1.5rem;
}

.c-bl{
    border-left: 6px solid #E040FB;
}


.bottom_line {
    border-bottom: 1px solid #394B6C;
}

.form_area {
    padding-left: 20%;
}

.help-block {
    color: #512DA8;
}

.ag-more{
    font-size: 16px;
    line-height: 1.8;
    border-left: 2px solid #394B6C;
    padding: 10px 15px;
    margin-top: 15px;
}

/*speaker*/

.sp-box{
    position: relative;
    text-align: center;
    padding: 15px 20px;
    background-color: #ffffff;
    min-height: 580px;
    margin-bottom: 25px;    
}

.sp-box::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    border-color: transparent #673AB7 transparent transparent;
}

.sp-box img{
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid #dee2e6;
}
.sp-box p{
    line-height: 1.3;
}
.sp-name{    
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #512DA8;
}

.sp-desc{
    font-size: 15px;
    text-align: justify;
    line-height: 1.6;
}

.modal-content{
    text-align: left;
}

.gift{
   /* background-color: #efefef; */
}

.gift-txt{
    font-size: 17px;
    padding: 20px 0px;
    font-weight: 600;
}

.gift-txt strong{
    color: #4949DC;
}

.badge-info{
    position: relative;
    padding: 8px 20px;
    background-color: #E040FB;
}
.badge-info::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 6px;
    border-color: #E040FB #E040FB transparent transparent;
}


footer {
    color: #fffffe;
    background-color: #030026;
    font-size: 16px;
    padding: 2% 0;
    line-height: 1.4em;
}

/*sidebar*/
#sidebarReg .register {
    color: #ffffff;
    background-color: #673AB7;
    padding: 20px 12px;
    position: fixed;
    bottom: 8%;
    right: 0;
    border: none;
    border-radius: 15px 0 0 15px;
    display: block;
    font-weight: 700;
    font-size: 20px;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr ;
    z-index: 10;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px;
}

#sidebarReg .register:hover {
    background-color: #512DA8;
    
}

