﻿*, footer {
    font-family: Microsoft JhengHei;
}

body {
    /* width: 100%; */
    /* height: 100%; */
    /* overflow-x: hidden; */
    background: #f4f5fa;
}

footer {
    /* margin-top: 100px; */
}
/*common*/
.fotter-color {
    background-color: #2b2c38;
    padding: 30px 0;
}

li {
    padding: 5px 0;
    font-size: 17px;
}

.margin-40-0 {
    margin: 15px 0 -15px 0;
}

table {
    /* box-shadow: 0 2px 14px 0 rgba(0,0,0,.1); */
    background-color: #fff;
}

table, th, tr {
    font-size: 17px;
    font-weight: 400;
}

.table-bordered thead th {
    background-color: #d7eef9;
    color: #5b5487;
    font-weight: 700;
}

/*nav bar*/
#navbarResponsive {
    font-weight: bold;
}
/*.nav-link-one, .nav-link-one, .nav-link-two, .nav-link-two {
    border-bottom: 4px solid #fff;
    border-radius: 1px;
}

    .nav-link-one:hover, .nav-link-one:focus {
        border-bottom: 4px solid #ab2c15;
        border-radius: 1px;
    }

    .nav-link-two:hover, .nav-link-two:focus {
        border-bottom: 4px solid #f07468;
        border-radius: 1px;
    }*/

/*top*/
/*.main-bg {
    background: url(../img/bg.png) no-repeat center;
    padding: 0px;
    background-position-x: 20px;
    background-size: 100%;
    background-position-y: center;
    background-position-y: inherit;
}

.main-img {*/
/* width: 91%; */
/*height: 470px;
    background: url(../img/bg.png) no-repeat center;
    background-size: contain;
    margin-top: 55px;*/
/*    background-position-x: -86px;
    background-position-y: 17px;*/
/* padding-left: 54px; */
/*}*/

.bg-div {
    display: flex;
}

.top-div {
    margin-top: 55px;
    padding: 0px;
}

    .top-div > img {
        width: 100%;
        position: relative;
        /* right: 13%; */
        /*top: 22px;*/
    }

.title1-div {
    margin-top: 100px;
    text-align: right;
}

    .title1-div > img {
        width: 80%;
    }

.title-div {
    margin-top: 100px;
}

    .title-div > img {
        width: 124%;
        margin-right: 5;
        right: 35px;
        position: relative;
    }

.circle-div {
    margin-top: 100px;
    text-align: left;
    position: relative;
    right: 3%;
}

    .circle-div > img {
        /* width: 300%; */
        position: relative;
        left: 13%;
    }

.mb-main-bg {
    display: none;
}

.second-bg {
    background: #fff8f0;
    padding-bottom: 100px;
}
/*section*/
section {
    padding: 35px 0;
}

#instruction li, #time li, #repayment li {
    list-style-type: none;
    margin-left: -35px;
    font-size: 18px;
}


/*content*/
.title {
    display: block;
    font-size: 3em;
    color: #212121;
    position: relative;
    padding-top: 50px;
}

    .title:before, .title:after {
        content: '';
        position: absolute;
        top: 70%;
        background: #494949;
        width: 9%;
        height: 3px;
    }

    .title:before {
        left: 30%;
    }

    .title:after {
        right: 30%;
    }

.sub-title {
    font-size: 2rem;
    font-weight: 500;
    color: #dc3545;
    background-color: #f1d66d;
}

.sub-title-number {
    font-size: 26px;
    font-weight: 700;
    background-color: #ffffff;
    padding: 0px 15px;
    color: rgb(43 43 43);
    /* border: 3px solid #01499e; */
    border-radius: 5px;
    position: relative;
    top: -38px;
    /* border-bottom: 3px solid; */
    /* border-style: double; */
    border: solid 2px #5f4c3e;
}

.content {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    top: 45px;
    /* box-shadow: 0 2px 14px 0 rgb(0 0 0 / 25%); */
    border-radius: 5px;
    padding: 1px 0px;
    border: solid 2px #5f4c3e;
}

    /*.content:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;*/
    /* border: 3px solid #01499e; */
    /*background-color: #ffffff;
        top: 45px;
        box-shadow: 0 2px 14px 0 rgb(209 191 161);
        border-radius: 10px;
    }*/

    .content:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        /*border-top: 50px solid #fa7c7f;*/
        border-right: 50px solid transparent;
        top: 45px;
    }


/*-----------------------------------------------------------------------------------------------------------------------*/

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/
.navbar-light .navbar-nav .nav-link:hover {
    color: #e8cf6d;
    /* background-color: #b24c5a; */
    border-radius: 10px;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .nav-link-one:hover, .nav-link-one:focus, .nav-link-two:hover, .nav-link-two:focus {
        border-bottom: 0px solid #fff;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #e8cf6d;
        background-color: #5b5487;
        border-radius: 10px;
    }

    .main-img {
        height: 350px;
    }

    .title:before {
        left: 20%;
    }

    .title:after {
        right: 20%;
    }

    .main-bg {
        padding: 0px;
    }

    .bg-div {
        padding: 0px;
    }

    .circle-div {
        margin-top: 100px;
        text-align: left;
        position: relative;
        right: 3%
    }
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    .nav-link-one:hover, .nav-link-one:focus, .nav-link-two:hover, .nav-link-two:focus {
        border-bottom: 0px solid #fff;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #e8cf6d;
        /*background-color: #b24c5a;*/
    }

    .main-img {
        height: 350px;
    }

    .title:before {
        left: 10%;
    }

    .title:after {
        right: 10%;
    }

    .content {
        margin: 0 5px;
    }

    .main-bg {
        padding: 0px;
    }

    .bg-div {
        padding: 0px;
    }

    .circle-div {
        margin-top: 100px;
        text-align: left;
        position: relative;
        right: 3%
    }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 365px) and (max-width: 670px) {

    .nav-link-one:hover, .nav-link-one:focus, .nav-link-two:hover, .nav-link-two:focus {
        border-bottom: 0px solid #fff;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #e8cf6d;
        /* background-color: #f1c21b; */
    }

    .main-img {
        height: 200px;
        background: url(../img/bg.png) no-repeat center;
        background-size: cover;
        background-position-y: -16px;
    }

    .title {
        margin-top: 0px;
        font-size: 2.5rem;
    }

        .title:before {
            left: 5%;
        }

        .title:after {
            right: 5%;
        }

    .content {
        margin: 0 3px;
    }

    .table-mobile {
        overflow-x: auto;
    }

    .main-bg {
        display: none;
        padding: 0px;
        background-size: cover;
        background-position-x: -20px;
    }

    .bg-div {
        /* padding-right: 20px; */
        /* padding-left: 0px; */
        margin-top: 65px;
        /* width: 100%; */
    }

    .title1-div {
        margin-top: 20px;
        text-align: center;
    }

    .title-div {
        margin-top: 20px;
    }

    .circle-div {
        display: none;
    }

    .mb-circle-div {
        text-align: center;
    }

        .mb-circle-div > img {
            width: 100%;
            /* margin-left: 10%; */
            margin-top: -5px;
        }

    .mb-main-bg {
        display: inline-block;
        /*position: relative;
        top: -50px;*/
        width: 100%;
    }

    .title1-div > img {
        width: 150%;
    }

    .title-div > img {
        width: 235%;
        right: -8px;
        position: relative;
    }

    #time {
        margin-top: -40px;
    }
}


/* 
  ##Device = Some of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 364px
*/

@media (min-width: 320px) and (max-width: 365px) {

    .nav-link-one:hover, .nav-link-one:focus, .nav-link-two:hover, .nav-link-two:focus {
        border-bottom: 0px solid #fff;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #e8cf6d;
        background-color: #b24c5a;
    }

    .main-img {
        height: 200px;
        background: url(../img/banner-m.jpg) no-repeat center;
        background-size: cover;
    }

    .title {
        margin-top: 0px;
        font-size: 2.5rem;
    }

        .title:before {
            left: 5%;
        }

        .title:after {
            right: 5%;
        }

    .content {
        margin: 0 3px;
    }

    .title1-div > img {
        width: 150%;
    }

    .title-div > img {
        width: 230%;
        right: -20px;
        position: relative;
    }

    .Logo {
        height: 37px !important;
    }
}

td.vertical-align-middle {
    vertical-align: middle;
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .bg-div {
        display: flex;
        padding: 0px;
    }
}


@media (min-width: 500px) {
    .svg-pc {
        position: fixed;
        right: -100px;
        width: 200px;
        z-index: 100;
        top: 25%;
    }

    .svg-mb {
        display: none;
    }

    .svg-pc > a > img {
        width: 50%;
    }
}


@media (min-width: 900px) {
    .svg-pc {
        position: fixed;
        right: -80px;
        width: 200px;
        z-index: 100;
        top: 25%;
    }

    .svg-mb {
        display: none;
    }

    .svg-pc > a > img {
        width: 60%;
    }

    /*#about {
        background: url(../img/line.png) no-repeat;
        background-size: 23%;
        background-position: right;
    }

    #notice {
        background: url(../img/line.png) no-repeat;
        background-size: 30%;
        background-position-x: -10%;
    }*/
}


@media (max-width: 600px) {
    .svg1 {
        position: fixed;
        bottom: 0;
        left: 1px;
        width: 50%;
        z-index: 100;
    }

    .svg2 {
        position: fixed;
        bottom: 0;
        right: 2px;
        width: 50%;
        z-index: 100;
    }

    .svg-pc {
        display: none;
    }

    .Logo {
        height: 37px !important;
    }
}

#mainNav {
    box-shadow: 0 0 15px #5b5487;
}

.notice-word {
    margin-left: 10%;
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
}

.bg-white {
    background-color: #c32a2c !important;
}

.text-danger {
    color: #ff103f !important;
}

.list-style {
    list-style-type: none;
    counter-reset: sectioncounter;
}

    .list-style li:before {
        content: "("counter(sectioncounter)")";
        counter-increment: sectioncounter;
        display: inline-block;
        margin-left: -1.5em;
        width: 1.5em;
    }

.center {
    margin-left: auto;
    margin-right: auto;
}

table, th, tr, td {
    border: black solid 2px
}

table {
    width: 90%
}

tr, td {
    text-align: center
}

.container {
    text-align: justify;
}

.color-red {
    color: #ce3235 !important;
    font-weight: bold;
}

.color-blue {
    color: dodgerblue !important;
}

.font-bold {
    font-weight: bold !important;
}

.background-yellow {
    background: #f7de8b;
}

.background-purple {
    background: rgb(238,206,243);
}

div > p {
    font-size: 15px;
    text-align: left;
}

.indent1 {
    text-indent: -2.7em;
    padding: 0 0 0 53px;
}

.indent2 {
    text-indent: -25px;
    padding: 0 0 0 23px;
}

.indent3 {
    text-indent: -38px;
    padding: 0 0 0 40px;
}

.table {
    width: 90%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: #ffffff;
    margin-left: 5%;
}

.table-responsive-sm > p {
    font-size: 17px;
    margin-left: 20px;
    margin-bottom: 0px
}

.table td, .table th {
    padding: 10px;
    font-weight: 700;
    font-size: 18px;
}

.table th {
    background: rgb(228 191 61);
}
