@import url(/css/notosanstc.css);

/* General button style (reset) */

.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%;
}



.btnCL {
    border: none;
    font-family: inherit;
    font-size: 20PX;
    color: inherit;
    background: none;
    cursor: pointer;
    padding: 25px 50px;
    display: inline-block;
    margin: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btnCL:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/* Pseudo elements for icons */

.btnCL:before,
.icon-heart:after,
.icon-star:after,
.icon-plus:after,
.icon-file:before {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.btnCL-2 {
    background: #0195b8;
    color: #fff;
    box-shadow: 0 6px #0383a2;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

/* Button 2a */

.btnCL-2a {
    border-radius: 0 0 5px 5px;
}

.btnCL-2a:hover {
    box-shadow: 0 4px #0383a2;
    top: 2px;
}

.btnCL-2a:active {
    box-shadow: 0 0 #0383a2;
    top: 6px;
}

table {
    background: white;
    border-collapse: collapse;
    margin: 1.25em 0 0;
    width: 100%
}

table tr,
table th,
table td {
    border: none;
    border-bottom: 1px solid #e4ebeb;
    font-size: 1.1rem
}

table th,
table td {
    padding: 10px 12px;
    text-align: left
}

table th {
    background: #56a2cf;
    color: #ffffff;
    text-transform: uppercase
}

table tr td {
    background: #eaf3f5;
    color: #666666
}

table tr:nth-of-type(2n+2) td {
    background: #ffffff
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
    font-size: .8125rem;
    padding: 0
}

table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
    background: #56a2cf;
    color: white;
    margin-right: 10px;
    padding: 2px 10px
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
    display: inline-block;
    padding: 2px 5px
}

table.bt tfoot th:first-of-type:before,
table.bt tfoot th:first-of-type .bt-content,
table.bt tfoot td:first-of-type:before,
table.bt tfoot td:first-of-type .bt-content,
table.bt tbody td:first-of-type:before,
table.bt tbody td:first-of-type .bt-content {
    padding-top: 10px
}

table.bt tfoot th:last-of-type:before,
table.bt tfoot th:last-of-type .bt-content,
table.bt tfoot td:last-of-type:before,
table.bt tfoot td:last-of-type .bt-content,
table.bt tbody td:last-of-type:before,
table.bt tbody td:last-of-type .bt-content {
    padding-bottom: 10px
}

table.bt thead,
table.bt tbody th {
    display: none
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
    border: none;
    display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    vertical-align: top;
    float: left\9;
    width: 100%\9;
}

table.bt tfoot th::before,
table.bt tfoot td::before,
table.bt tbody td::before {
    content: attr(data-th) ":";
    display: inline-block;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    font-weight: bold;
    width: 6.5em
}

table.bt tfoot th.bt-hide,
table.bt tfoot td.bt-hide,
table.bt tbody td.bt-hide {
    display: none
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
    vertical-align: top
}

.bt-wrapper.active {
    max-height: 310px;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

body {
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 5%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
}
@media (max-width: 1024px) {  
    .modal {
        padding-top: 10%;
    }
}
@media (max-width: 480px) {  
    .modal {
        padding-top: 5%;
    }
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0), 0 6px 20px 0 rgba(0, 0, 0);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */

.close {
    color: white;
    float: left;
    text-align: left;
    font-size: 24px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 8px;
    background-color: #006f89;
    color: white;
}

.modal-body {
    padding: 16px 16px;
    text-align: center;
}


.text-center {
    font-size: 16px;
}
/*------------------------------------------------------------------------------------------------------------------------*/
.textNumber{
    font-size: 5px;
    text-align: center;
    margin-bottom: 5%;
    color: #006f89;
}
.text-red{
    color: red;
}
.line-red{
    font-size: 18px;
}
.line-red::after{
    border-bottom: 2px solid red;
    content: '';
    width: 175px;
    position: absolute;
    bottom: 57px;
    left: 10px;
}
.line-red-d{
    font-size: 20px;
}
#divprevention{
    margin-bottom: 2.5%;
}
@media (max-width: 1024px) {  
    #divprevention{
        margin-bottom: 33%;
    }
}
@media (max-width: 768px) {  
    #divprevention{
        margin-bottom: 8%;
    }
}
/*------------------------------------------------------------------------------------------------------------------------*/
.m-0 {
    font-size: 16px;
}
.fixed-btn {
    padding: 5px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #006f89;
    text-align: center;
    font-size: 23px;
    color: #ffffff;
    z-index: 99;
}
@media (max-width: 480px) {  
    .fixed-btn {
        padding: 5px;
        font-size: 15px;
    }
}


.bg-light {
    background-color: #f8f9fa!important;
    opacity: 1;
}

.farbargreen {
    color: #006f89;
}

.bg-farbargreen {
    background-color: #006f89;
}

section {
    margin-top: 140px;
}

.navbar-nav .nav-link {
    font-size: 18px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #006f89;
}

.navbar-light .navbar-nav .active > .nav-link.nav-farbargreen {
    color: #006f89;
    font-weight: bold;
}

.btn-farbar {
    color: #fff;
    background-color: #006f89;
    border-color: #006f89;
}

.btn-farbar:hover {
    color: #fff;
    background-color: #001b4f;
    border-color: #001b4f;
}

.btn-outline-farbar {
    color: #006f89;
    border-color: #006f89;
}

.btn-outline-farbar:hover {
    color: #fff;
    background-color: #006f89;
}

.btn-outline-farbar.active {
    color: #fff;
    background-color: #006f89;
}

footer {
    padding: 30px 0;
    background-color: #3d3d3d;
    color: #fff;
}

@media (max-width: 768px) {
    .farbargreen .text-center .m-0 .fixed-btn {
        font-size: 100%;
    }
    .navbar-brand {
        width: 80%;
    }
}
@media (max-width: 480px) {
    .farbargreen .text-center .m-0 .fixed-btn {
        font-size: 100%;
    }
    .navbar-brand {
        width: 70%;
    }
    .navbar-brand img {
        height: auto;
    }
    .modal-body a button{
        margin-top: 5%;
    }
}
@media (max-width: 1200px) {
    .modal-content {
        width: 80%;
    }
    .btn{
        width: 100%;
        margin: 0px auto;
    }
}



.link-Main{
    position: relative;
}
.link-btn{
    width: 100%;
    margin: 0px auto;
}
/* -------------------------------- product-click-img-css */
.btnImg{
    position: absolute;
    width: 20%;
    height: auto;
    right: 10%;
    bottom: 5%;
}
@media (max-width: 1920px) {
    .btnImg{
        width: 25%;
    }
}
@media (max-width: 1024px) {
    .btnImg{
        width: 45%;
        right: 0%;
    }
}
@media (max-width: 768px) {
    .btnImg{
        width: 45%; 
    }
}
@media (max-width: 480px) {

    section {
        margin-top: 80px;
    }
    .btnImg{
        width: 45%;
    }
}

/* --------------------------------------------------------------------------- home style --------------------------------------------------------------------------- */


.txtbtn {
    font-size: 28px;
}

.divJumbotrone {
    height: 480px;
    margin: 10px auto;
    color: #fff;
    display: flex;
    align-items: center;
    background-image: url(../images/home/branchoffice2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.blink {
    display: inline-block;
    font-size: 20px;
    margin: 10px;
    background: linear-gradient(left, #f71605, #e0f513);
    background: -webkit-linear-gradient(left, #f71605, #e0f513);
    background: -o-linear-gradient(right, #f71605, #e0f513);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scratchy 0.253s linear forwards infinite;
    /* 其它浏览器兼容性前缀 */
    -webkit-animation: scratchy 0.253s linear forwards infinite;
    -moz-animation: scratchy 0.253s linear forwards infinite;
    -ms-animation: scratchy 0.253s linear forwards infinite;
    -o-animation: scratchy 0.253s linear forwards infinite;
}

@keyframes scratchy {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 0 0;
    }
    26% {
        background-position: 20px -20px;
    }
    50% {
        background-position: 20px -20px;
    }
    51% {
        background-position: 40px -40px;
    }
    75% {
        background-position: 40px -40px;
    }
    76% {
        background-position: 60px -60px;
    }
    99% {
        background-position: 60px -60px;
    }
    100% {
        background-position: 0 0;
    }
}

/* 添加兼容性前缀 */

@-webkit-keyframes scratchy {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 0 0;
    }
    26% {
        background-position: 20px -20px;
    }
    50% {
        background-position: 20px -20px;
    }
    51% {
        background-position: 40px -40px;
    }
    75% {
        background-position: 40px -40px;
    }
    76% {
        background-position: 60px -60px;
    }
    99% {
        background-position: 60px -60px;
    }
    100% {
        background-position: 0 0;
    }
}

@-moz-keyframes scratchy {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 0 0;
    }
    26% {
        background-position: 20px -20px;
    }
    50% {
        background-position: 20px -20px;
    }
    51% {
        background-position: 40px -40px;
    }
    75% {
        background-position: 40px -40px;
    }
    76% {
        background-position: 60px -60px;
    }
    99% {
        background-position: 60px -60px;
    }
    100% {
        background-position: 0 0;
    }
}

@-ms-keyframes scratchy {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 0 0;
    }
    26% {
        background-position: 20px -20px;
    }
    50% {
        background-position: 20px -20px;
    }
    51% {
        background-position: 40px -40px;
    }
    75% {
        background-position: 40px -40px;
    }
    76% {
        background-position: 60px -60px;
    }
    99% {
        background-position: 60px -60px;
    }
    100% {
        background-position: 0 0;
    }
}

@-o-keyframes scratchy {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 0 0;
    }
    26% {
        background-position: 20px -20px;
    }
    50% {
        background-position: 20px -20px;
    }
    51% {
        background-position: 40px -40px;
    }
    75% {
        background-position: 40px -40px;
    }
    76% {
        background-position: 60px -60px;
    }
    99% {
        background-position: 60px -60px;
    }
    100% {
        background-position: 0 0;
    }
}
.brand-logo{
    height: 50px;
}

.pService {
    font-size: 16pt;
}

.divCardText {
    position: absolute;
    padding: 15px;
    left: 0;
    bottom: 0;
    width: 100%;
}

.card-text {
    font-size: 14px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.spanFeature {
    padding: 3px;
    border: 1px solid;
    font-size: 20px;
}

/* youtube section */
.YT_movie{
    width: 70%; 
    margin: 0px auto;
}

/* newproduct section */
.section{
    width: 80%;
    margin: 0px auto;
    padding: 75px 50px;
}
.section h3{
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 50px;
}
.seriesAllBar{
    width: 100%;
    column-count: 3;
    position: relative;
}
.seriesAll{
    text-align: center;
    width: fit-content;
    margin: 0px auto;
    padding: 0px 150px;
}
.series{
    width: 100%;
    border-bottom: 2px solid #ffffff;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    color: #000000;
    cursor: pointer;
    transition: 0.3s;
}
.series img{
    cursor: pointer;
    width: 80%;
    display: block;
    margin: 0px auto;
}
.series:hover{
    text-decoration: none;
    color: #006f89;
    font-weight: 500;
    border-bottom: 2px solid #006f89;
}


@media (max-width: 1920px) {
    .pService {
        font-size: 100%;
    }
    .txtbtn {
        font-size: 100%;
    }
    .seriesAll{
        padding: 0px 100px;
    }
}
@media (max-width: 1200px) {
    .pService {
        font-size: 100%;
    }
    .txtbtn {
        font-size: 100%;
    }
    .YT_movie{
        width: 100%; 
        margin: 0px auto;
    }    
    .section{
        width: 100%;
        padding: 50px 25px;
    }
    .seriesAll{
        padding: 0px 0px;
    }
}

@media (max-width: 480px) {
    .pService {
        font-size: 100%;
    }
    .txtbtn {
        font-size: 100%;
    }
    .section{
        padding: 25px 0;
    }
    .section h3{
        text-align: center;
        font-size: 20px;
        margin-bottom: 30px;
    }
    .series{
        font-size: 15px;
    }
}
