body {
    background-color: #b5282c;
    color: #fff;
    font-family: "Arial", "Noto Sans TC", "微軟正黑體", Calibri;
}

section h2 {
    color: #c0ae9b;
}

section#p-2,
section#p-6,
section#slogan,
section#photo {
    background-color: #967859;
    color: white;
}

section#p-2 h2,
section#p-6 h2,
section#slogan h2,
section#photo h3 {
    color: white;
}

.container {
    min-width: 90% !important;
}

/* define bootstrap 5 columns */
.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 767.98px) {

    .col-xs-1-5,
    .col-sm-1-5,
    .col-md-1-5,
    .col-lg-1-5 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

/* ==================================================== P1 */
#p-1 {
    /*background-image: url('../img/img-1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
	background-size: cover;*/
    height: 100vh;
    overflow: hidden;
}

#p-1 .play,
#p-1 .play img {
    width: 150px;
    height: 150px;
}

@media (max-width: 1024.98px) {
    #p-1 {
        padding: 0;
        margin: 0;
    }

    #p-1,
    #p-1 .background-video,
    #p-1 .background-video iframe {
        width: 100% !important;
        height: 55vh !important;
    }
}

@media (max-width: 767.98px) {

    #p-1,
    #p-1 .background-video,
    #p-1 .background-video iframe {
        height: 40vh !important;
    }

    #p-1 .play,
    #p-1 .play img {
        width: 80px;
        height: 80px;
    }
}

/* ==================================================== P2 */
#p-2 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#p-2 .title {
    padding: .6em 0;
    line-height: 1em;
    font-weight: 900;
}

@media (min-width: 1366.98px) {
    #p-2 .title {
        padding-top: 0;
    }
}

@media (max-width: 1024.98px) {
    #p-2 .title {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    #p-2 .title {
        font-size: 1.5rem;
        line-height: 1.5em;
    }
}

/* ==================================================== P3 */
#p-3 {
    background-image: url('../img/img-2.jpg');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 55vw;
    padding: 10vw 5vw 0 0;
    background-color: #9f205e;
}

#p-3 .heading img {
    /* width: 445px; */
    width: 100%;
}

#p-3 .heading h2,
#p-3 .heading h3,
#p-3 .heading h4 {
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 0;
}

#p-3 .heading h2 {
    font-size: 1.88vw;
    margin-top: 1rem;
    margin-bottom: .5rem;
    /* font-weight: 300; */
}

#p-3 .heading h3 {
    font-size: 3.5vw;
}

#p-3 .heading h4 {
    font-size: 3vw;
    letter-spacing: 1px;
    border: #fff 1px solid;
    padding: .5rem;
    margin-top: .5rem;
}

#p-3 .heading .line {
    padding-left: 1rem;
    margin-right: 1rem;
    border-right: #fff 2px solid;
}

@media (max-width: 1366.98px) {
    #p-3 .heading h2 {
        font-size: 1.8vw;
    }

    #p-3 .heading h3 {
        font-size: 3.45vw;
    }
}

@media (max-width: 1024.98px) {
    #p-3 .heading h2 {
        font-size: 2vw;
    }

    #p-3 .heading h3 {
        font-size: 3.7vw;
    }

    #p-3 .heading h4 {
        font-size: 2vw;
    }

    #p-3 .heading .line {
        padding-left: .5rem;
        margin-right: .5rem;
    }
}

@media (max-width: 768.98px) {
    #p-3 .heading h2 {
        font-size: 1.8vw;
    }

    #p-3 .heading h3 {
        font-size: 3.5vw;
    }

    #p-3 .heading h4 {
        font-size: 2.5vw;
    }
}

@media (max-width: 567.98px) {
    #p-3 .heading img {
        width: 260px;
    }

    #p-3 {
        height: 120vw;
    }

    #p-3 .heading h2 {
        font-size: 3.4vw;
    }

    #p-3 .heading h3 {
        font-size: 6.5vw;
    }

    #p-3 .heading h4 {
        font-size: 5vw;
        width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==================================================== P4 */
#p-4 {
    background-image: url('../img/img-3.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 55vw;
}

@media (max-width: 767.98px) {
    #p-4 {
        height: 70vw;
    }
}

#slogan {
    text-align: center;
}

#slogan h2,
#slogan p {
    text-align: center;
    width: 95%;
    margin: auto;
}

#slogan h2 {
    display: inline;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

#slogan p {
    margin-bottom: 0px;
}

#photo img {
    width: 100%;
}

#photo h3 {
    font-weight: 600;
}

#photo p {
    margin-bottom: 0px;
}

@media (max-width: 1024.98px) {
    #slogan h2 {
        border-bottom: none;
    }
}

/* ==================================================== P5 */
#p-5 .team {
    width: 95%;
    margin: 0 auto;
    padding-bottom: 100px;
}

#p-5 .team h3 {
    color: #967859;
    font-weight: 600;
    background-color: #fff;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 0px;
}

#p-5 .team .rounded {
    border-radius: 15px !important;
    border-width: 2px;
    margin-top: -40px;
}

#p-5 .team .rounded .col-lg-1-5 {
    border-right: 1px solid rgba(255, 255, 255, .5);
    padding-top: 10px;
    padding-bottom: 10px;
}

#p-5 .team .rounded .col-lg-1-5:last-child {
    border-right: none;
}

#p-5 .team h4 {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

#p-5 .team p {
    margin-bottom: 0px;
    font-weight: 500;
}

#p-5 .team .logo {
    width: 170px;
    padding: 25px 0;
}

#p-5 ._1,
#p-5 ._2 {
    height: 200px;
    z-index: 2;
}

#p-5 ._1 {
    left: 10%;
}

#p-5 ._2 {
    left: auto;
    right: 5%;
}

@media (max-width: 991.98px) {
    #p-5 .team .logo {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    #p-5 .team .rounded {
        margin-top: -30px;
    }

    #p-5 .team .rounded .col-lg-1-5 {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
    }

    #p-5 .team .rounded .col-lg-1-5:last-child {
        border-bottom: none;
    }

    #p-5 .team h4 {
        border-bottom: none;
        padding-bottom: 0px;
    }

    #p-5 .team .logo {
        width: 170px;
    }
}

@media (min-width: 1366px) {
    #p-5 .team h4 {
        font-size: 1.8rem;
    }

    #p-5 .team p {
        font-size: 1.3rem;
    }
}

/* ==================================================== P6 */
#p-6 {
    background-image: url('../img/img-4.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

#p-6 .carousel {
    width: 85%;
    margin: 0 auto;
}

#p-6 .carousel .photo {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

#p-6 .carousel .photo img {
    width: 100%;
}

#p-6 .carousel h3 {
    background-color: #b5282c;
    color: #fff;
    font-weight: 600;
    padding: 2.5px;
    width: 80%;
    margin: 0 auto 30px auto;
}

#p-6 .carousel h4 {
    font-weight: 600;
    width: 80%;
    margin: 0 auto 10px auto;
}

#p-6 .carousel h4.border-bottom {
    border-color: rgba(255, 255, 255, .5) !important;
    padding-bottom: 10px;
}

#p-6 .carousel .carousel-control-next,
#p-6 .carousel .carousel-control-prev {
    width: 20px;
}

#p-6 .carousel .carousel-control-prev {
    left: -30px;
}

#p-6 .carousel .carousel-control-next {
    right: -30px;
}

@media (max-width: 991.98px) {
    #p-6 .carousel .photo {
        width: 75%;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    #p-6 .carousel h3,
    #p-6 .carousel h4 {
        width: 100%;
    }

    #p-6 .carousel h3 {
        font-size: 1.3rem;
    }

    #p-6 .carousel h4 {
        font-size: 1.1rem;
    }

    #p-6 .carousel p {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {

    #p-6 .carousel h3,
    #p-6 .carousel h4 {
        width: 85%;
    }
}

@media (min-width: 1366px) {
    #p-6 .carousel h3 {
        font-size: 1.8rem;
    }

    #p-6 .carousel h4 {
        font-size: 1.6rem;
    }

    #p-6 .carousel p {
        font-size: 1.4rem;
    }
}

/* ==================================================== P7 */
#p-7 {
    /*background-image: url('../img/img-7.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding-bottom: 350px;*/
}

#p-7 .img {
    width: 100%;
}

#p-7 .v-text h5 {
    font-size: 0.95rem;
}

#p-7 .v-text span {
    bottom: 2.5px;
    left: 2.5px;
    font-size: 0.8rem;
}

#p-7 .v-text span.black {
    color: black;
}

#p-7 .v-text ._1 {
    width: 100%;
}

#p-7 .v-text ul li {
    list-style: disc;
}

@media (max-width: 991.98px) {
    /*#p-7{
        padding-bottom: 200px;
    }*/
}

@media (max-width: 767.98px) {

    /*#p-7{
        padding-bottom: 150px;
    }*/
    #p-7 .v-image img._2 {
        display: none;
    }
}

@media (min-width: 1366px) {
    #p-7 .v-text h5 {
        font-size: 1.4rem;
    }

    #p-7 .v-text span {
        font-size: 1rem;
    }

    #p-7 .v-text ul li {
        font-size: 1.4rem;
        line-height: 2em;
    }
}

/* ==================================================== contact form */
.v-google-map {
    min-height: 300px !important;
}

#mg-contact-form {
    color: white;
}

#mg-contact-form h2 {
    font-size: 1.6rem;
    display: inline-block;
    margin-right: .5em;
    margin-bottom: .8em;
}

#mg-contact-form .btn-primary {
    color: #b5282c;
    background-color: #fff;
    border-color: #fff;
    -webkit-transition: .3s;
    transition: .3s;
}

#mg-contact-form .btn-primary:hover {
    opacity: .8;
}

#mg-contact-form .link img {
    margin-right: 5px;
}

@media (max-width: 767.98px) {
    #mg-contact-form {
        height: auto;
        padding-bottom: 80px;
        background-position: right -50vw top 0;
    }
}

@media (min-width: 1366px) {

    #mg-contact-form,
    #mg-contact-form p {
        font-size: 1.2rem;
    }
}

/**
Image Wrapper
=========================================================
=========================================================
=========================================================
*/
.v-image-wrapper {}

/**
Image Frame
=========================================================
=========================================================
=========================================================
*/
.v-image-frame {
    overflow: hidden;
}

.v-image-frame img {
    width: 100%;
    height: auto;
}



.v-google-map {
    width: 100%;
    height: 100%;
}



/* https://bootstrapbay.com/blog/bootstrap-button-styles/ */
/**************************
  DEFAULT BOOTSTRAP STYLES
**************************/

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 10px 16px;
}

.btn-lg {
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

.btn-primary {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #3276b1;
    border-color: #285e8e;
}

/***********************
    ROUND BUTTONS
  ************************/
.round {
    border-radius: 24px;
}

/***********************
    CUSTON BTN VALUES
  ************************/

.btn {
    padding: 12px 24px;
    line-height: 1em;
    border: 0 none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
    outline: 0 none;
}

.btn-primary {
    background: #0099cc;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    background: #33a6cc;
}

.btn-primary:active,
.btn-primary.active {
    background: #007299;
    box-shadow: none;
}




/*
211117 update
*/
#banner-211117{
    background-color: white;
}
#banner-211117 .container-fluid{
    min-height: 50vw;
    background: url(../img/220210/bg.jpg) bottom;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}
#banner-211117 #image-logo{
    width: 38vw;
    position: absolute;
    top: 5vw;
    left: 10vw;
}
@media (max-width: 767.98px) {
    #banner-211117 .container-fluid {
        min-height: 77vw;
    }
    #banner-211117 #image-logo{
        width: 80vw;
        position: absolute;
        top: 15vw;
        left: 10vw;
    }
}