/*normal*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

body {
    font-size: 16px;
    -webkit-tap-highlight-color: #2780E3;
    color: #626262;
    font-weight: 300;
    font-family: 'Noto Sans TC',Microsoft JhengHei,sans-serif;
    letter-spacing:1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    color: #464646;
    letter-spacing: 2px;
}

    .title {
        text-transform: uppercase;
        color: #464646;
        letter-spacing: 1px;
    }

        .title:after {
            background-color: #2780e3;
            display: block;
            content: "";
            margin-top: 10px;
            margin-bottom: 20px;
            width: 62px;
            height: 3px;
        }


    .subtitle {
        color: #464646;
        letter-spacing: 1px;
        font-weight:500;
    }

        .subtitle:after {
            background-color: #2780e3;
            display: block;
            content: "";
            width: 62px;
            height: 2px;
            margin: 10px auto;
        }

    p a {
        text-decoration: underline;
    }



a {
    color: #212529;
}

    a:focus,
    a:hover {
        color: #1a6dca;
    }


.text-primary {
    color: #2780e3;
}

.bg-light-primary {
    background-color: #f2f5f8;
}
.custom-shadow {
    background: rgba(255,255,255,0.8);
    padding: 50px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 10%);
}
/*set*/

.section-heading {
    font-size: 36px;
    font-weight: 700;
    margin-top: 60px;
}

.caption {
    font-size: 14px;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 10px;
    text-align: center;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

::-moz-selection {
    color: #fff;
    background: #0085A1;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #666;
    text-shadow: none;
}

img::selection {
    color: #fff;
    background: transparent;
}

img::-moz-selection {
    color: #fff;
    background: transparent;
}

.logo {
    /* position: absolute; */
    /* top: 27px; */
    /* left: 35px; */
    /* z-index: 2; */
    margin-top: 15px;
    text-indent: -9999px;
    background: url(../../../Images/ksi/ksi_logo.svg) no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    display: block;
    width: 320px;
    height: 50px;
    /*width: 320px;
    height: 50px;*/
    overflow: hidden;
}
}

/*mainNav*/
.navbar-light .navbar-nav .show > .nav-link:hover {
    color: #2780e3;
}

#mainNav {
    border-bottom: 1px solid #e9ecef;
    background-color: white;
}
    #mainNav .smallText {
        position:absolute;
        font-size: 13px;
        color: #9f9fa0;
        top: 85%;
        left: 50%;
        transform: translate(-50%, -50%);
        width:80px;
    }
    #mainNav li:nth-child(6) .smallText {
        position: absolute;
        font-size: 13px;
        color: #9f9fa0;
        top: 85%;
        left: 42%;
        transform: translate(-50%, -50%);
        width: 80px;
    }

    #mainNav li:nth-child(7) .smallText {
        position: absolute;
        font-size: 13px;
        color: #9f9fa0;
        top: 85%;
        left: 43%;
        transform: translate(-50%, -50%);
        width: 80px;
    }

    #mainNav .navbar-brand {
        font-weight: 800;
        color: #343a40;
    }

    #mainNav .navbar-toggler {
        font-size: 12px;
        font-weight: 500;
        padding: 13px;
        text-transform: uppercase;
        color: #464646;
    }

    #mainNav .navbar-nav > li.nav-item > a {
        font-size: 14px;
        /*font-weight: 800;*/
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #282828;
    }

    #mainNav .navbar-nav .dropdown-menu {
        padding:0.5rem;
    }

@media only screen and (max-width:1199px){

    #mainNav .nav-item{
        display:flex;
        flex-direction:column;
        border-bottom:1px solid #e5e5e5;
    }

    #mainNav .smallText, #mainNav li:nth-child(6) .smallText, #mainNav li:nth-child(7) .smallText {
        position: static;
        transform: unset;
        margin-bottom: 0;
        text-align:left !important;
    }
}

@media only screen and (min-width: 1199px) {
    #mainNav {
        background: #ffffff;
    }

        #mainNav .navbar-brand {
            padding: 10px 20px;
            color: #fff;
        }

            #mainNav .navbar-brand:focus,
            #mainNav .navbar-brand:hover {
                color: rgba(255, 255, 255, 0.8);
            }

        /*#mainNav .nav-link:nth-child(6) {
            margin-left: 10px;
        }*/

        #mainNav .navbar-nav > li.nav-item > a {
            /*padding: 0 8px 17px;*/
            color: #282828;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 2px;
            margin: 0px 5px;
        }

            #mainNav .navbar-nav > li.nav-item > a:focus,
            #mainNav .navbar-nav > li.nav-item > a:hover {
                color: #2780e3;
            }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        border: none;
        margin: 0.5rem 0 0;
    }
}

@media only screen and (min-width: 992px) {
    /*#mainNav {
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
        transition: background-color 0.2s;
         Force Hardware Acceleration in WebKit 
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
    }*/

        /*#mainNav.is-fixed {
             when the user scrolls down, we hide the header right above the viewport 
            position: fixed;
            top: -74px;
            -webkit-transition: -webkit-transform 0.2s;
            -moz-transition: -moz-transform 0.2s;
            transition: transform 0.2s;
            border-bottom: 1px solid white;
        }*/

            #mainNav.is-fixed .navbar-brand {
                color: #212529;
            }

                #mainNav.is-fixed .navbar-brand:focus,
                #mainNav.is-fixed .navbar-brand:hover {
                    color: #0085A1;
                }

            #mainNav.is-fixed .navbar-nav > li.nav-item > a {
                color: #212529;
            }

                #mainNav.is-fixed .navbar-nav > li.nav-item > a:focus,
                #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
                    color: #2780e3;
                }

        /*#mainNav.is-visible {
             if the user changes the scrolling direction, we show the header 
            -webkit-transform: translate3d(0, 100%, 0);
            -moz-transform: translate3d(0, 100%, 0);
            -ms-transform: translate3d(0, 100%, 0);
            -o-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
        }*/
}



/*masthead*/

header{
    height:88px;
}

header.masthead {
    margin-bottom: 0px;
    background: no-repeat center center;
    background-attachment: scroll;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

    header.masthead .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: #212529;
        opacity: 0.5;
    }

    header.masthead .page-heading,
    header.masthead .post-heading,
    header.masthead .site-heading {
        padding: 200px 0 150px;
        color: white;
    }

@media only screen and (min-width: 768px) {
    header.masthead .page-heading,
    header.masthead .post-heading,
    header.masthead .site-heading {
        /*padding: 200px 0;*/
        padding: 300px 0;
    }
}

header.masthead .page-heading,
header.masthead .site-heading {
    text-align: center;
}

    header.masthead .page-heading h1,
    header.masthead .site-heading h1 {
        font-size: 50px;
        margin-top: 0;
    }

    header.masthead .page-heading .subheading,
    header.masthead .site-heading .subheading {
        font-size: 24px;
        font-weight: 300;
        line-height: 1.1;
        display: block;
        margin: 10px 0 0;
        font-family: Microsoft JhengHei, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

@media only screen and (min-width: 768px) {
    header.masthead .page-heading h1,
    header.masthead .site-heading h1 {
        font-size: 80px;
    }
}

header.masthead .post-heading h1 {
    font-size: 35px;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
    line-height: 1.1;
    display: block;
}

header.masthead .post-heading .subheading {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 30px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .post-heading .meta {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    font-family: 'Lora', 'Times New Roman', serif;
}

    header.masthead .post-heading .meta a {
        color: #fff;
    }


@media (max-width: 575px) {
    header.masthead .page-heading h1,
    header.masthead .site-heading h1 {
        font-size: 30px;
    }
    .logo {
        width: 255px;
    }
}

@media only screen and (min-width: 768px) {
    header.masthead .post-heading h1 {
        font-size: 55px;
    }

    header.masthead .post-heading .subheading {
        font-size: 30px;
    }
}


/*parallax-window*/

.parallax-window {
    height: 700px;
    background: rgba(0, 0, 0, 0.36);
}

@media (max-width: 991px) {


    .parallax-window {
        height: auto;
        background: rgba(0, 0, 0, 0.36);
    }
}



/*footer*/

footer {
    padding: 50px 0 20px;
    letter-spacing:normal;
}

    footer .list-inline {
        margin: 0;
        padding: 0;
    }

    footer .copyright {
        font-size: 14px;
        margin-bottom: 0;
        text-align: center;
        color: #626262;
    }

footer {
    background-color: #f4f5f9;
}



    footer dd {
        font-size: 14px;
        margin-bottom: 0rem;
        font-weight: 300;
        color: #626262;
        line-height: 1.4rem;
    }

    footer dt {
        font-size: 16px;
        font-weight: 500;
    }

.social_Media {
    display: flex;
    flex-direction: row;
    font-size: 12px;
}

    .social_Media a {
        color: #626262;
    }

    .social_Media a:hover {
        color: #1a6dca;
    }

.social_Media li{
    list-style: none;
    margin-right:20px;
}

.mail_icon {
    color: #D24A34;
}

.fb_icon {
    color: #4867AA;
}

.line_icon {
    color: #00C200;
}

.ig_icon {
    color: #C92C78;
}

.youtu_icon {
    color: #FF0101;
}


@media (max-width: 575px) {
    footer {
        padding: 30px 0px;
    }
}


/*contact*/

.contact {
    padding: 50px 0px;
    background-image: url(../../../Images/ksi/b_bg.jpg);
    background-size: cover;
    color: white;
}


    .contact a {
        color: white;
        padding: 5px 25px;
    }

    .contact p {
        text-align: center;
    }


    .contact .col-lg-11 {
        font-size: 20px;
    }

@media (max-width: 991px) {
    .contact_item {
        margin-bottom: 30px;
    }
}



/*other*/

#goTop {
    width: 50px;
    height: 50px;
    line-height: 45px;
    text-align: center;
    background: #2780E3;
    color: #fff;
    position: fixed;
    bottom: 20px;
    right: 25px;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    display: none;
}

#line {
    background-image: url(../../../Images/ksi/lineeee.png);
    background-size: contain;
    width: 55px;
    height: 55px;
    position: fixed;
    bottom: 80px;
    right: 25px;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    display: none;
}
