/* Gernal style */

body {
    background-color: #fffcf1;
    font-family: Montserrat, Helvetica, Arial, "MYuen HK SemiBold", "PingFang TC", "Microsoft JhengHei", 微軟正黑體, sans-serif;
    font-size: 15px;
    color: #727171;
    line-height: 1.6;
    position: relative
}

p,
small {
    font-size: 15px;
    font-family: Montserrat, Helvetica, Arial, "MYuen HK SemiBold", "PingFang TC", "Microsoft JhengHei", 微軟正黑體, sans-serif;
}

:focus {
    outline: none;
}

.form-control-plaintext {
    width: 100%;
}

nav button:focus {
    outline: none;
}

/* button style */

.btn-round {
    border-radius: 100px;
    padding-left: 32px;
    padding-right: 32px;
}

/* set button primary color */

.btn-primary {
    background-color: #7fcef4;
    border-color: #7fcef4;
}

.btn-primary:hover {
    background-color: #56C2F0;
    border-color: #56C2F0;
}

.btn-primary:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #7fcef4;
    border-color: #7fcef4;
}

.btn-outline-primary {
    color: #7fcef4;
    border-color: #7fcef4;
}

.btn-outline-primary:hover {
    background-color: #56C2F0;
    border-color: #56C2F0;
}

.btn-primary:not([disabled]):not(.disabled):active {
    background-color: rgb(61, 165, 206);
    border-color: rgb(61, 165, 206);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
}

.btn-outline-primary:not([disabled]):not(.disabled):active {
    background-color: rgb(61, 165, 206);
    border-color: rgb(61, 165, 206);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(86, 196, 240, 0.2);
}

/* set button special color */

.btn-special {
    background-color: #f4b4d0;
    border-color: #f4b4d0;
}

.btn-special:hover {
    background-color: #f192bd;
    border-color: #f192bd;
}

.btn-special:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(214, 130, 168, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(214, 130, 168, 0.2);
}

.btn--special.disabled,
.btn-special:disabled {
    background-color: #f4b4d0;
    border-color: #f4b4d0;
}

.btn-outline-special {
    color: #f4b4d0;
    border-color: #f4b4d0;
}

.btn-outline-special:hover {
    background-color: #fcc5de;
    border-color: #fcc5de;
}

.btn--special:not([disabled]):not(.disabled):active {
    background-color: #d682a8;
    border-color: #d682a8;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(214, 130, 168, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(214, 130, 168, 0.2);
}

.badge-primary {
    background-color: #54c2f0;
    margin-left: 4px;
}


input::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

input:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}


textarea::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}


textarea:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}


textarea::placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

textarea::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

textarea:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}

textarea::placeholder {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
}


/* Header pattern bar */

.header-pattern {
    height: 32px;
    width: 100%;
    background: url("../../img/pattern_bar.png");
    background-image: url("../../img/layout/pattern_bar.svg"), none;
    background-repeat: repeat-x;
    background-size: initial;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

/* =========
   Nav bar
============*/

header {
    background-color: white;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-bottom-line {
    border-bottom: 2px solid #f4b4d0;
}

.form-margin-right {
    margin-right: 20px;
}

.header-logo {
    height: 92px;
}

.header-logo > img {
    height: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    width: auto;
}

.nav-icon a {
    color: #727171;
}

.nav-link {
    font-size: 1.2rem;
    font-family: "MYuen HK SemiBold";
}

li.nav-item {
    position: relative;
}

.nav-family {
    background-color: #f6c2d3;
    padding: 0px;
}

.navbar-light .navbar-nav .nav-family-link {
    color: #f6c2d3;
}

.nav-family .navbar-content {
    width: 100%;
}

.nav-family .form-inline {
    float: right;
}

.nav-family .navbar-nav .nav-link {
    font-size: 1.4rem;
    color: white;
}

.nav-signin-block {
    background-color: white;
}

.nav-family .nav-signin-block {
    border-color: #f3a6c8;
}

.nav-family .nav-signin-block .separate-line {
    background-color: #ffddec;
}

.nav-family .nav-signin-block .nav-link {
    color: #727171;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 1.4rem;
    padding-left: 16px;
    padding-right: 16px;
}

.nav-family .navbar-nav .nav-link:hover {
    color: #ea6ca4;
}

.navbar-light .navbar-nav .nav-link:active {
    color: #7fcef4;
}

.navbar-light .navbar-nav .nav-link[tabindex]:focus {
    color: #3a3a3a;
}

.nav-family-active-icon {
    width: 100%;
    font-size: 32px;
    text-align: center;
    color: #f6c2d3;
    position: absolute;
    bottom: -40px;
}

.nav-blue-dot {
    width: 8px;
    height: 8px;
    border: 3px solid #7fcef4;
    border-radius: 100px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 4px;
}

.nav-signin-block {
    border-radius: 100px;
    margin-top: 4px;
    padding-left: 16px;
    padding-right: 16px;
    border: 2px solid #f4b4d0;
    margin-left: 8px;
    display: inline-block;
}

.nav-signin-block a {
    display: inline-block;
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline-block
}

.nav-signin-block .separate-line {
    height: 16px;
    width: 2px;
    background-color: #d2d1c5;
    margin-bottom: -2px;
    display: inline-block;
}

.nav-signin-block .nav-blue-dot {
    margin-left: -21px;
    background-color: #fffcf1;
    -webkit-box-shadow: 0 0 0 2px #fffcf1;
    box-shadow: 0 0 0 2px #fffcf1;
}

.navbar-toggler i {
    color: #7fcef4;
    font-size: 32px;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-toggle {
    float: left !important;
    margin-left: 15px;
    margin-right: 0;
}

.navbar-mobile-family {
    width: 104%;
    background-color: #f6c2d3;
    margin-left: -12px;
    margin-top: -48px;
}

.navbar-mobile-family .navbar-nav a.nav-link {
    color: white;
    padding-left: 0px;
}

.navbar-mobile-family .btn-primary {
    border: 2px solid #f4b4d0;
    background-color: white;
    color: #727171;
}

.navbar-mobile-family .btn-outline-primary {
    border: 2px solid white;
    color: white;
}

/* === Nav bar end ! ====*/

/* =========
   Footer
============*/

footer {
    border-top: 2px solid #f4b4d0;
    padding-top: 30px;
    padding-bottom: 16px;
    font-weight: 200;
    /*text-align: center;*/
    font-size: 15px;
    bottom: 0;
    font-family: sans-serif;
}

.footer-group {
    margin-bottom: 4px;
}

.footer-group p {
    margin-bottom: -2px;
    font-family: sans-serif;
}

.footer-group strong {
    margin-bottom: 4px;
}

.footer-copyright {
    margin-top: 24px;
    margin-bottom: 0px;
    text-align: center;
}

.footer-title {
    font-size: 15px;
    opacity: 1;
    margin-bottom: 4px;
    font-weight: bolder;
}

.footer_list {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.footer_list_item:first-child {
    border-left: none;
}

.footer_list_item {
    display: inline-block;
    padding: 0 20px;
    border-left: 1px solid #c4c4c4;
}

.footer_list li,
footer p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    opacity: 0.8;
}

.footer_space {
    width: 10px;
    display: inline-block;
}

/* === Footer end ! ====*/

/* =================
   Responsive style
==================== */

@media only screen and (max-width: 535px) {
    .footer_list_item {
        border: none;
    }

    .header-logo > img {
        padding-left: 16px;
    }

    .navbar-mobile-family .btn {
        width: 80% !important;
    }

}

@media (max-width: 480px) {
    .header-logo {
        width: 225px;
    }

    .navbar-mobile-family {
        width: 108%;
    }

    .navbar-mobile-family .navbar-nav .nav-link {
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar-light .navbar-brand > img {
        height: 95%;
        padding-top: 16px;
        padding-left: 8px;
    }

    .card-body {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/*Medium devices (tablets, less than 992px)*/

@media (max-width: 991px) {

    .navbar-light .navbar-brand {
        height: 80px;
    }

    .navbar-light .navbar-nav > li > a {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-family .navbar-nav > li > a {
        padding-top: 16px;
    }

    .navbar-mobile-family a.nav-login,
    .navbar-mobile-family a.nav-signin {
        padding-bottom: 8px !important;
        padding-top: 8px !important;
    }

    .navbar-mobile-family .btn {
        width: 40%;
    }


    .navbar .navbar-nav {
        display: inline-block;
        vertical-align: top;
        width: 100%;
        margin-bottom: 28px;
    }



    .nav-item {
        text-align: center;
        /* padding-left: 16px; */
    }

    .nav-item:hover {
        background-color: rgba(226, 226, 226, 0.2);
    }

    .navbar .modal {
        text-align: center;
    }

    .cdhl-form-inline {
        padding-top: 0px !important;
    }


    .form-inline {
        display: block;
        margin-top: 8px;
        padding-top: 24px;
    }

    .navbar-content {
        display: none;
    }

    /* nav modal */
    .modal-backdrop {
        background-color: #fffcf1;
    }

    .modal-backdrop.fade {
        opacity: 1;
    }

    .modal-dialog {
        /* padding-left: 24px;
        padding-right: 24px; */
        /* padding-top: 16px; */
        max-width: 100%;
    }

    .modal-content {
        background-color: transparent;
        border: none;
        text-align: center;
        padding-top: 40px;
        /* padding-left:24px; */
    }

    .modal button.close {
        font-size: 32px;
        position: absolute;
        right: 32px;
        z-index: 10;
        top: 0;
    }

    .nav-signin-block {
        display: none;
    }

    .modal-content .btn {
        padding-right: 64px;
        padding-left: 64px;
    }

    /* footer */
    footer {
        text-align: center;
    }

    .footer-groups {
        padding-left: 0px;
        margin-top: 24px;
    }

    .footer-group {
        margin-bottom: 16px;
    }
}

@media (max-width: 767px) {

    .nav-family-active-icon {
        bottom: -34px !important;
    }

}

/* === Responsive style end ! ====*/