body {
    background: white !important;
    font-family: 微軟正黑體, Microsoft JhengHei, RobotoBold;
}

.D_768, .D_700, .D_650 {
    display: block;
}

.M_768, .M_700, .M_650 {
    display: none;
}

.pageheight .breadcrumb {
    padding: 90px 0 0 0;
}

.error {
    height: 20px;
}

h3 {
    border-bottom: 2px solid #8e8787;
} 

.submenu{
    top: 10px;
}












































/* Loading */
.loading-area{
    background: rgba(255,255,255,0.3);
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    visibility: hidden;
    z-index: 9999;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    margin: 3px;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #cfcfcf transparent transparent transparent;
    top: -15px;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  



.grid {
    max-width: 100%;
}

/* reveal grid after images loaded */

.grid.are-images-unloaded {
    opacity: 0;
}

.are-images-unloaded .grid__item, .grid .are-images-unloaded {
    transform: translateY(100px);
    transition: all 0.5s;
    opacity: 0;
}

.grid__item {
    width: 20%;
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.5s;
}

.grid__col-sizer {
    width: 20%;
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.5s;
}

.grid__gutter-sizer {
    width: 0px;
}

/* hide by default */

.grid.are-images-unloaded .image-grid__item {
    opacity: 0;
}

.grid__item {
    float: left;
}

.grid_shadow {
    /* -webkit-box-shadow: 5px 6px 14px -10px #000000;
    box-shadow: 5px 6px 14px -10px #000000; */
    color: #ffffff;
    background-color: #009FE6;
    border-radius: 15px;
}

.grid__item img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
}

.grid__item a {
    font-size: .7em;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.page-load-status {
    display: none;
    /* hidden by default */
    padding-top: 20px;
    border-top: 1px solid #DDD;
    text-align: center;
    color: #777;
}

.youtube_container {
    position: relative;
    width: 75%;
    height: 0;
    padding-bottom: 56.25%;
}

/*3 Tabs*/
.nav-tabs {
    width: 100%;
    text-align: center;
    cursor: pointer;
    color: #777;
}

.nav-tabs .nav-link {
    border: 0;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border: 0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #009bde;
    border-color: #009bde;
}

.dropdown-item, .dropdown-item.active, .dropdown-item:active {
    background-color: #ffffff;
    color: #9a989a;
    text-align: center;
}

#nav-home {
    background: url(/images/about_tab1_bg.jpg) no-repeat top center;
    -webkit-transition: all 0s ease;
    transition: all 0s ease;
}

.about_tab2 {
    background: #ffffff url(/images/social/about_tab2.png) no-repeat center left
}

.about_tab2_active {
    background: #009bde url(/images/social/about_tab2_active.png) no-repeat center left
}

.about_tab3 {
    background: #ffffff url(/images/social/about_tab3.png) no-repeat center left
}

.about_tab3_active {
    background: #009bde url(/images/social/about_tab3_active.png) no-repeat center left
}

.smallsubtab {
    position: relative;
}

/*3 Tabs*/

.live-chat {
    position: relative;
}

#blf_floating_btn {
    border-radius: 80px;
    color: white;
    font-size: 13px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1000;
    width: 110px;
    height: 110px;
    background-color: #00498f;
    box-shadow: 1px 1px 6px 1px #00000085;
    text-align: center !important;
    cursor: pointer;
}

#blf_floating_btn .div_1 {
    padding-top: 1.5rem !important;
    padding-bottom: 0.4rem !important;
}

#blf_floating_btn .div_1 img {
    width: 52px;
    display: inline-block;
}

.open-service, .collapse-btn {
    cursor: pointer;
}

.about_tab1_subtitle {
    color: #00498F;
}

.service-container .description {
    color: #00498F;
    display: table;
    margin: auto;
}

.service-container .description .content {
    vertical-align: middle;
    display: table-cell;
    margin: auto;
}

.service-container .description .number {
    background-color: #00498f;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 8px;
    vertical-align: middle;
}

.service-container h2 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #00498F;
    color: #009BDE;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

.service-container h2 span {
    background: #fff;
    padding: 0 10px;
}

.service-container .tab-3-bottom img {
    vertical-align: bottom;
}

.service-container h3 {
    color: #00498F;
}

#contentarea_10 {
    background-color: transparent;
}

.to-contact-btn {
    cursor: pointer;
    max-width: 176px;
}

.service-row, .submit_btn {
    background-color: #009fe6;
}

.submit_btn {
    width: 250px;
}

.submit_btn:hover {
    background-color: #009fe6;
}


.contact-form {
    background-color: #EBEBEB;
}

.contact-form .inputselect, .contact-form .inputselect:focus, .contact-form .inputselect:active, .contact-form .inputfield, .contact-form .inputfield:focus, .contact-form .inputfield:active {
    border: 1px solid #EBEBEB !important;
}

.call-btn {
    background-color: #009FE6;
    border: 0;
    height: 42px;
    line-height: 42px;
    border-radius: 42px;
    text-align: center;
    padding: 13px 60px;
    color: #fff;
    display: block;
    cursor: pointer;
}

.call-btn:hover {
    background-color: #009fe6;
    color: #ffffff;
}

.contact-btn {
    background-color: #ffffff;
    border: 0;
    height: 62px;
    line-height: 63px;
    border-radius: 42px;
    text-align: center;
    color: #004287;
    display: block;
    cursor: pointer;
    font-size: 1.5em;
}

.load-more-btn {
    color: #ffffff;
    border: 0;
    height: 62px;
    line-height: 63px;
    border-radius: 42px;
    text-align: center;
    background-color: #004287;
    display: block;
    cursor: pointer;
    font-size: 1.5em;
}

.contact-btn:hover, .load-more-btn:hover {
    background: #004287;
    color: #fff;
}

.service-container {
    /* background: #009FE6; */
}

.inputfield {
    width: 100%;
    height: 42px;
}

.error-hide {
    display: none;
}

/***loader***/

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #009fe6;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/***loader***/

/***video***/
.video {
    aspect-ratio: 16 / 9;
    width: 60%;
}

/***video***/

/***slider***
  .slider {
    width: 100%;
    margin: 20px auto;
    text-align: center;
    padding: 0px;
    color: white;
  }
  .slider .slide {
    padding: 15px;
  }
  .slider .slide .child-element {
    transition: all 0.2s ease;
    width: 100%;
    height: 380px;
    margin: 30px 0;
    transition: all 0.5s;
  }
  .slider .slide.slick-center .child-element {
    margin: 0;
    height: 450px;
    max-width: initial;
  }
  /***slider***/

.inputselect {
    margin-bottom: 0;
}


.sw-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sw-form select, .sw-form input {
    margin-bottom: 10px;
}

/* offer */
.offer-main-title {
    font-weight: bold;
    color: #1C498A;
}

.offer-container:not(:last-child):after {
    /* content: "";
    background: #c7c7c7;
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px; */
}

.offer-container img {
    max-width: 250px;
    margin: auto;
}

.offer-container .offer-title {
    font-weight: bold;
}

/* location */
#section-location{
    margin-bottom: 5rem;
}

.location-filter .region-option,
.location-filter .district-option {
    padding: 1rem 2rem;
    text-align: center;
    cursor: pointer;
}

.location-filter .region-option {
    background-color: #469DE0;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.location-filter .arrow {
    margin-left: 0.5em;
    box-sizing: border-box;
    height: 0.8vw;
    width: 0.8vw;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    transform: rotate(45deg);
    transition: border-width 150ms ease-in-out;
}

.region-option:hover .arrow,
.district-option:hover .arrow {
    border-bottom-width: 4px;
    border-right-width: 4px;
}

.region .arrow {
    border-color: #ffffff;
}

.district .arrow {
    border-color: #000000;
}

.district-option.active .arrow {
    border-color: #6bb1e6;
}

.location-filter .region-option.active,
.location-filter .region-option:hover {
    background-color: #6bb1e6;
}

.location-filter .district-area,
.location-filter .estate-area {
    /* border: 1px solid #D8D8D8; */
    border-top: 0px;
    position: relative;
}

.location-filter .district-area.opened,
.location-filter .estate-area.opened {
    border: 1px solid #D8D8D8;
}

.location-filter .district-option {
    display: flex;
    justify-content: center;
}

.location-filter .district-option.active {
    color: #4DA3DD;
}

.location-filter .estate-area .arrow {
    display: none;
}

.location-filter .estate-area .location-icon {
    display: none;
    z-index: -9999;
}

.location-filter .estate-area .district-option {
    color: #6bb1e6;
}


@media only screen and (max-width: 1200px) {
    .grid__item, .grid__col-sizer {
        width: 25%;
    }
    .pageheight .breadcrumb {
        padding: 50px 0 0 0;
    }
}

@media only screen and (max-width: 1025px) {
    .grid__item, .grid__col-sizer {
        width: 33.33%;
    }
}

@media only screen and (max-width: 821px) {
    .grid__item, .grid__col-sizer {
        width: 50%;
    }
}

@media only screen and (max-width: 768px) {
    .M_768 {display: block;}
    .D_768 {display: none;}

    h2 {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 700px) {
    .M_700 {display: block;}

    .D_700 {display: none;}


}

@media only screen and (max-width: 650px) {
    .M_650 {display: block;}

    .D_650 {display: none;}
}


@media only screen and (max-width: 640px) {
    .service-container h2 span {
        font-size: 1.2rem;
    }

    .h3, h3 {
        font-size: 1rem;
    }

    .service-container .description {
        font-size: 0.7rem;
    }

    .contentarea img {
        width: auto;
    }

    .to-contact-btn {
        max-width: 100px;
    }



    #collapseExample {
        position: fixed;
        top: 10%;
        height: 100px;
        width: 92%;
        height: 80%;
        overflow: scroll;
    }

    .grid__item, .grid__col-sizer {
        width: 100%;
    }

    #nav-home {
        background: url(/images/about_tab1_bg.jpg) no-repeat bottom right;
        -webkit-background-size: auto 300px;
        -moz-background-size: auto 300px;
        -o-background-size: auto 300px;
        background-size: auto 300px;
        padding: 0 0 250px 0;
    }

    .video {
        width: 100%;
    }

    #blf_floating_btn {
        width: 100px;
        height: 100px;
    }

    #blf_floating_btn .div_1 img {
        width: 42px;
    }

    #blf_floating_btn .div_1 {
        padding-top: 1.3rem !important;
    }

    .load-more-btn {
        height: 42px;
        line-height: 42px;
        font-size: 1.3em;
    }

    .offer-container:not(:last-child):after {
        /* content: "";
        background: #c7c7c7;
        position: absolute;
        top: 100%;
        left: 10%;
        right: 0;
        height: 1px;
        width: 80%; */
    }

    .offer-container img{
        max-width: 70%;
    }

    .location-filter .region-option, .location-filter .district-option {
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
    }
    
    .location-filter .arrow{
        width: 3.8vw;
        height: 3.8vw;
    }

    /* .location-filter .region-option {
        flex-direction: column;
        align-items: center;
    } */
}

@media screen and (min-width: 320px) {
    .contentarea img {
        width: auto;
    }

    .smalltab {
        height: 47px;
    }
}