html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8em;
    color: #515151;
    font-family: Arial,
        "Microsoft JhengHei",
        '新細明體',
        Helvetica,
        sans-serif;

}


.kv {
    background: url(../img/kv_bg.png)center;
}

nav {
    font-weight: 700;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 75%;
}

.navbar-nav {
    width: 100%;
}



.nav-link {
    padding: 10px 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    border-bottom: 4px #FFF solid;
    margin-left: 10px;
}

.nav-link:hover {
    /*transform: translate(2px, 1px);*/
    border-bottom: 4px #333 solid;
}



h1 {
    font-size: 3.2em;
    font-weight: 600;
    text-align: center;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.8) 0px 3px 8px;
    margin-top: 2em;
}

.txt-blue {
    color: #0068b5;
    font-weight: bold;

}

a {
    color: #EC6604;
}

s a:hover {
    color: #FEA82F;
    text-decoration: none;
}

.btn-main {
    background-color: #ff8400;
    border-color: #ff8400;
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.btn-main:hover {
    background-color: #ffd200;
    border-color: #ffd200;
}


.section-foreword {
    padding: 4rem 2rem;
    color: #fff;
    background-color: #000d33;
}

.foreword-title {
    color: #e04010;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    font-size: 2.2em;
}


.foreword-info {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 30px;
    color: #121212;
    font-size: 20px;
}


.main-title {
    font-size: 2.8rem;
    color: #242629;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background-color: #00c7fd;
    border-color: #00c7fd;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 4px #00c7fd solid;
}

.nav-tabs .nav-link {
    background-color: #dfdfdf;
}

.nav-tabs .nav-link:hover {
    color: #ffffff;
}

.area_tech{
    padding: 4rem 1.5rem;
}

.tab-content {
    border: 4px solid #00c7fd;
}

.tab-pane {
    padding: 24px;
}

.op-title {
    color: #0068b5;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.8;
    text-align: center;
    padding: 20px 0;
}

.op-intro {
    background-color: #e3f6f5;
    padding: 20px;
    margin: 0 25px;
}

.op-title small {
    font-size: 20px;
}

.area-contact {
    padding: 5em 0;
    background-size: cover;
    /*background: url(../img/background.jpg)center no-repeat;*/
    background: #6441A5;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2f6dc0, #001759);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2f6dc0, #001759); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment: fixed;

}

.blog-box {
    background-color: rgba(255, 255, 255, 1);
    padding: 16px;
    margin: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 2px 4px 4px #00103e;
}


.b-link {
    font-size: 24px;
    color: #0068b5;
    transition: 0.3s;
}

.b-link:hover {
    color: #00c7fd;
    text-decoration: none;
}

.area-blog {
    text-align: justify;
    background-color: #efefef;
    padding: 0 1.5rem;

}

.area-blog .row {
    background-color: #ffffff;
}

.blog-title {
    color: #0068b5;
    border-bottom: 1px solid #0068b5;
    line-height: 1.5;
    margin: 3rem 0 1.5rem;
}

.blog-subtitle {
    font-weight: 600;
    padding: 25px 0 12px;
}

.area-blog p:last-child {
    margin-bottom: 4rem;
}

.bimg-info {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
}

.footer {
    color: #94a1b2;
    background-color: #16161a;
    padding: 1.5rem 1rem;
    line-height: 1.4;
    font-size: 15px;
    text-align: center;
}




/*sidebar*/
#sidebarReg .register {
    background: #ff0054;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #ff0054, #ffae00);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #ff0054, #ffae00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #ffffff;
    position: fixed;
    word-spacing: 3px;
    bottom: 15%;
    right: 0;
    border: none;
    display: block;
    /* font-weight: bold; */
    font-size: 20px;
    writing-mode: vertical-lr;
    padding: 25px 10px;
    z-index: 10;
    border-radius: 5px 0 0 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: 0.3s;
}

#sidebarReg .register:hover {
       background: -webkit-linear-gradient(to bottom, #ff0054, #ffae00);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #ff0054, #ffae00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

#gotopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: rgba(163, 163, 163, 0.5);
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.3s;
}

#gotopBtn:hover {
    background-color: rgba(163, 163, 163, 0.8);
}

/* :target:before {
    content: "";
    display: block;
    height: 79px; 
    margin: -79px 0 0;   
} */