﻿/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/


/*-------- 3.7 Sing In Modal --------*/
#sendform {
    background: #fff;
    padding: 30px;
    padding-top: 0;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
    box-sizing: border-box;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

    /* Popup close button*/
    #sendform .mfp-close,
    #lang-dialog .mfp-close {
        color: #666;
        background-color: #e4e4e4;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        border-radius: 50%;
        top: 12px;
        right: 20px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

        #sendform .mfp-close:hover,
        #lang-dialog .mfp-close:hover {
            color: #fff;
            background-color: #66676b;
        }

        #sendform .mfp-close:before {
            font-size: 24px;
            font-family: 'ElegantIcons';
            content: "\4d";
        }


    #sendform .form-group {
        position: relative;
    }

        #sendform .form-group input.form-control {
            padding-left: 40px;
        }

        #sendform .form-group i {
            font-size: 21px;
            font-size: 1.3125rem;
            position: absolute;
            left: 12px;
            top: 34px;
            color: #ccc;
            width: 25px;
            height: 25px;
            display: block;
            font-weight: 400 !important;
        }

            #sendform .form-group i.icon_lock_alt {
                top: 36px;
            }


.bs-docs-section + .bs-docs-section {
    padding-top: 40px;
}

.page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eeeeee;
}

.lead {
    margin-bottom: 20px;
    font-size: 16.099999999999998px;
    font-weight: 200;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .lead {
        font-size: 21px;
    }
}
.piaofu {
    width: 68px;
    float: left;
    background-color: #ff6a00;
    position: fixed;
    right: 0;
    top: 30%;
    border-radius: 10px;
    z-index: 99;
}

    .piaofu ul {
        width: 100%;
        float: left;
    }

        .piaofu ul li {
            width: 100%;
            height: 68px;
            float: left;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #980605;
            cursor: pointer;
        }

            .piaofu ul li:last-child {
                border-bottom: none;
            }

    .piaofu .phone {
        width: 186px;
        height: 50px;
        line-height: 50px;
        float: left;
        background: url(../img/pf_04.png) no-repeat;
        position: absolute;
        left: -196px;
        top: 7px;
        font-size: 20px;
        color: #FFFFFF;
        padding-left: 15px;
        box-sizing: border-box;
    }

    .piaofu .rwm {
        width: 167px;
        height: 160px;
        float: left;
        background: url(../img/pf_05.png) no-repeat;
        position: absolute;
        left: -196px;
        top: 27px;
        padding: 15px 20px 15px 15px;
        box-sizing: border-box;
    }

        .piaofu .rwm .img {
            width: 130px;
            height: 130px;
            float: left;
            background-color: #FFFFFF;
            padding: 15px;
            box-sizing: border-box;
        }

            .piaofu .rwm .img img {
                width: 100%;
            }

.piaofu-m {
    display: none;
}

@media screen and (max-width: 751px) {
    .piaofu {
        display: none;
    }

    .piaofu-m {
        width: 100%;
        float: left;
        text-align: center;
        line-height: 1.5rem;
        font-size: 1rem;
        font-weight: bold;
        color: #FFFFFF;
        position: fixed;
        z-index: 998;
        bottom: 0;
        left: 0;
        display: block;
    }

        .piaofu-m a {
            color: #FFFFFF;
        }

        .piaofu-m .div1 {
            width: 50%;
            height: 1.5rem;
            float: left;
            background-color: #e9c32c;
        }

            .piaofu-m .div1 span {
                background: url(../img/pf_03.png) no-repeat left;
                padding-left: 1rem;
                background-size: 1rem 1rem;
            }

        .piaofu-m .div2 {
            width: 50%;
            height: 1.5rem;
            float: left;
            background-color: #ff6a00;
        }

            .piaofu-m .div2 span {
                background: url(../img/pf_01.png) no-repeat left;
                padding-left: 1rem;
                background-size: 1rem 1rem;
            }

}


a.box_serv {
    text-align: center;
    background: #fff;
    padding: 30px 30px 30px 30px;
    display: block;
    -moz-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    -webkit-box-shadow: 0px 3px 0px 0px #f0f2f4;
    -moz-box-shadow: 0px 3px 0px 0px #f0f2f4;
    box-shadow: 0px 3px 0px 0px #f0f2f4;
    color: #555;
    margin-bottom: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    overflow: hidden;
}

@media (max-width: 767px) {
    a.box_serv {
        padding: 10px 10px 0 10px;
    }
        a.box_serv h3 {
            font-size: 10px;
            font-size: 1rem;
        }}

a.box_serv:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0px 3px 0px 0px #ebedef;
    -moz-box-shadow: 0px 3px 0px 0px #ebedef;
    box-shadow: 0px 3px 0px 0px #ebedef;
}

a.box_serv i {
    font-size: 70px;
    font-size: 4.375rem;
    color: #32a067;
    margin-bottom: 1px;
}

a.box_serv h3 {
    font-size: 18px;
    font-size: 1.125rem;
}


a.box_newshome {
    position: relative;
    display: block;
    padding-left: 30px;

    text-align: left;
    background: #fff;
    padding: 2px 2px 2px 10px;
    display: block;
    -moz-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    -webkit-box-shadow: 0px 3px 0px 0px #f0f2f4;
    -moz-box-shadow: 0px 3px 0px 0px #f0f2f4;
    box-shadow: 0px 3px 0px 0px #f0f2f4;
    color: #555;
    margin-bottom: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    overflow: hidden;
}

    a.box_newshome:hover {
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -o-transform: translateY(-10px);
        transform: translateY(-10px);
        -webkit-box-shadow: 0px 3px 0px 0px #ebedef;
        -moz-box-shadow: 0px 3px 0px 0px #ebedef;
        box-shadow: 0px 3px 0px 0px #ebedef;
    }
@media (max-width: 767px) {
    a.box_newshome {
        min-height: inherit;
        padding-left: 0;
    }
}

a.box_newshome figure {
    width: 200px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 767px) {
    a.box_newshome figure {
        position: relative;
        width: auto;
    }
}

a.box_newshome figure img {
    width: 250px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    -moz-transform: translate(-50%, -50%) scale(1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1);
    -o-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (max-width: 767px) {
    a.box_newshome figure img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

a.box_newshome figure figcaption {
    background-color: #FFC107;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    color: #fff;
    width: 60px;
    height: 60px;
    padding: 5px;
    line-height: 1;
}

    a.box_newshome figure figcaption strong {
        display: block;
        font-size: 21px;
        font-size: 1.3125rem;
    }

a.box_newshome h4 {
    font-size: 18px;
    font-size: 1.125rem;
}

@media (max-width: 767px) {
    a.box_newshome h4 {
        margin-bottom: 5px;
    }
}

a.box_newshome:hover img {
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

a.box_newshome:hover h4 {
    color: #fc5b62;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a.box_newshome ul {
    margin: 0;
    padding: 10px 0 0 0;
}

@media (max-width: 767px) {
    a.box_newshome ul {
        padding: 0;
    }
}

a.box_newshome ul li {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    font-size: 12px;
    font-size: 0.75rem;
    margin-right: 5px;
}

    a.box_newshome ul li:last-child {
        margin-right: 0;
    }

        a.box_newshome ul li:last-child:after {
            content: '';
            margin: 0;
        }

    a.box_newshome ul li:after {
        content: '-';
        margin: 0 0 0 10px;
    }

    .custom-why-us {
        width: 50%;
        margin: 0 auto;
    }

    .custom-why-us-image {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    @media (max-width: 767px) {
        .custom-why-us {
            width: 100%;
            margin: 0 auto;
        }
    }

    @media (max-width: 767px) {
        #serviceobjects li .cbp_tmicon {
            display: none;
        }
        #servicecontents li .cbp_tmicon {
            display: none;
        }
        #serviceprocesses li .cbp_tmicon {
            display: none;
        }
        #custom-timeline li .cbp_tmicon {
            display: none;
        }
    }

    .custom-partnership-icon {
        margin: 20px 0;
        display: flex;
        justify-content: center;
        align-content: center;
    }

    .custom-download-app {
        margin-top: 120px;
    }
    @media (max-width: 767px) {
        .custom-download-app {
            margin-top: 80px;
        }
    }
    .custom_employees_share ul.magnific-gallery li {
        width: auto;
    }
    .custom-join-us {
        text-align: right;
    }
    .custom-radio-item-list {
        display: flex;
    }
    .custom-radio-item {
        display: flex;
        /* align-items: center; */
    }
    .custom-radio-item label {
        margin-right: 4px;
    }
    .custom-radio-item:last-of-type {
        margin-left: 20px;
    }
    .custom-volunteer-button-group, 
    .custom-elderly-button-group {
        display: flex;
    }
    .custom-height-max {
        min-height: 100%;
    }
    .custom-padding-bottom {
        box-sizing: border-box;
        padding-bottom: 30px;
    }
    .box_newshome.custom-news {
        min-height: 80px;
        position: relative;
        display: flex;
        align-items: center;
    }
    .box_newshome.custom-news p {
        margin: 0;
    }
    .custom-news .custom-news-date {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    @media (max-width: 767px) {
        .custom-mobile-title {
            font-size: 26px;
        }
    }
    .custom-download-container {
        padding: 20px 0 80px;
        box-sizing: border-box;
        background: linear-gradient(to bottom, #fff, rgb(240, 240, 240));
        /* background: gray; */
    }
    .custom-download-area {
        margin: 0 auto;
        max-width: 1140px;
    }
    .custom-download-container div.custom-download-area {
        display: flex !important;
        justify-content: space-between;
    }
    .custom-download-left p {
        text-align: center;
        margin-bottom: 10px;
    }
    .custom-user-app,
    .custom-nurse-app {
        margin-right: 40px;
    }
    .custom-download-left {
        display: flex;
        flex-shrink: 1;
    }
    .custom-download-right {
        flex-shrink: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .custom-app-image {
        width: 300px;
    }
    .download-box {
        display: flex;
        margin-top: 30px;
        
    }
    .download-qr-code {
        margin-right: 40px;
        width: 140px;
        height: 140px;
        position: relative;
    }
    .custom-qr-image {
        width: 140px;
        height: 140px;
        position: absolute;
        left: 0;
        top: 0;
    }
    .qr-code-switch {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    .download-button {
        text-align: center;
        padding: 10px 30px;
        border-radius: 4px;
        cursor: pointer;
        transition: all .2s ease;
    }
    .mobile-download-button:hover,
    .download-button:hover {
        box-shadow: 0 2px 10px 0 rgb(0 0 0 / 50%);
    }
    .custom-user-button {
        background: rgb(255, 150, 23);
        color: #fff;
    }
    .custom-nurse-button {
        background: rgb(0, 136, 255);
        color: #fff;
    }
    .custom-download-right h4 {
        margin-top: 30px;
    }
    /* mobile */
    .custom-mobile-container {
        width: 100%;
        padding: 0 15px 40px;
        box-sizing: border-box;
        background: linear-gradient(to bottom, #fff, rgb(240, 240, 240));
    }

    .mobile-download-app {
        width: 150px;
        height: 300px;
        position: relative;
        overflow: hidden;
    }
    .custom-mobile-app-image {
        width: 150px;
        height: 300px;
        position: absolute;
        left: 0;
        top: 0;
    }
    .custom-mobile-container-wrapper {
        display: flex;
        justify-content: space-around;
    }
    .mobile-download-left {
        flex-grow: 0;
    }
    .mobile-download-right {
        flex-grow: 1;
    }
    .mobile-download-left,
    .mobile-download-right{
        flex-shrink: 1;
    }
    .mobile-download-right-wrapper h3 {
        font-size: 20px;
    }
    .mobile-download-right-wrapper p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .mobile-download-qr {
        width: 100px;
        height: 100px;
        position: relative;
    }
    .custom-mobile-qr-image {
        width: 100px;
        height: 100px;
        position: absolute;
        left: 0;
        right: 0;
    }
    .mobile-download-button {
        text-align: center;
        padding: 10px 30px;
        border-radius: 4px;
        cursor: pointer;
        transition: all .2s ease;
        margin: 10px 0;
    }
    .custom-partner-introduce {
        display: flex;
    }
    .custom-partner-introduce-icon {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .custom-partner-introduce-icon a{
        display: block;
        flex-shrink: 0;
        
    }
    .custom-partner-introduce-content {
        margin-left: 50px;
        padding-top: 26px;
    }