﻿.modal-dialog table.table-data {
    position: inherit;
}

.modal-body .activity-alert-body .activity-gifts-remainMsg {
    color: #969696;
}

.modal-body .activity-alert-body > h2 {
    color: #4d4d4d;
    margin-bottom: 0px;
}

.modal-body .activity-alert-body > span {
    color: #4d4d4d;
    font-weight: bold;
    font-size: 15px;
}

.modal-body .activity-btn .btn {
    border-radius: 20px;
    padding: 6px 25px 4px 25px;
    font-size: 18px;
    margin: 0 5px;
}

.modal-body .activity-btn .btn-activity-ok {
    background-color: #62c0dd;
    border-color: #62c0dd;
}

.modal-body .activity-btn .btn-activity-s-ok, .modal-body .activity-btn .btn-activity-s-cancel {
    background-color: #ff9f9c;
    border-color: #ff9f9c;
}

.modal-body .activity-btn {
    margin: 15px 0px 10px 0px;
}

.modal-body .activity-alert-body {
    width: 100%;
    text-align: center;
    margin-top: 10%;
    padding-left: 20px;
    padding-right: 20px;
}

.modal-body .modal-footer-img {
    margin-top: 20px;
}

.modal-body .notification-messages-alert-body {
    width: 100%;
    text-align: left;
    margin-top: 6%;
    padding-left: 18px;
    padding-right: 18px;
}

    .modal-body .notification-messages-alert-body .notification-messages-alert-body-date {
        text-align: left;
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 300;
    }

    .modal-body .notification-messages-alert-body .notification-messages-alert-body-message {
        text-align: left;
        font-size: 20px;
        word-break: break-word;
    }

    .modal-body .notification-messages-alert-body .notification-messages-alert-body-close {
        margin: 15px 0px 10px 0px;
        text-align: center;
    }

    .modal-body .notification-messages-alert-body .notification-messages-alert-body-close-btn {
        background-color: #62c0dd;
        border-color: #62c0dd;
        padding: 4px 20px 2px 20px;
        border-radius: 20px;
        font-size: 18px;
        margin: 0 5px;
    }

.batch-delete-btn {
    float: right;
    color: white;
    background-color: red;
    font-size: 17px;
    padding: 4px 5px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 19px;
    font-weight: bold;
}

.batch-readed-btn {
    float: right;
    color: white;
    background-color: #9F3A83;
    font-size: 17px;
    padding: 4px 5px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 19px;
    font-weight: bold;
    margin-left: 38px;
}

.notification-messages-circle {
    position: relative;
    bottom: 40px;
    left: 26px;
}

.no-read-red-dot-menu {
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 999em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 3px;
}

.no-read-red-dot {
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 999em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.no-read-number {
    color: white;
    font-size: 13px;
    font-weight: bold;
}


.site-brand span.menuTitle, .navbar-header span.menuTitle {
    margin-right: 3px;
}

.site-brand a span.menuTitle {
    display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    border: 0px solid #F0F;
}

.navbar-header a.link-right.active {
    color: #1b1b1b;
    text-decoration: none;
}

.navbar-header a.link-right:focus {
    color: #A6D107;
}

.navbar-header a.link-right {
    float: right;
    height: 50px;
    line-height: 50px;
    font-weight: 700;
    white-space: nowrap;
    color: #bcbcbc;
    border: 0 solid #f0f;
    display: inline-block;
    text-decoration: none;
    margin: 0 0 10px 0;
    padding: 0 20px 0 0;
}

.site-brand a.another {
    color: #bcbcbc;
    padding-top: 13px;
    margin-right: 5px;
}

.cursor-initial {
    cursor: initial;
}

.calendar-reservation table a.doctor-frame, .calendar-reservation table span.doctor-frame {
    padding: 5px 10px;
    text-decoration: none;
    font-weight: 700;
    color: #5B5B5B;
    border-radius: 5px;
}

    .calendar-reservation table a.doctor-frame.doctor-frame-old, .calendar-reservation table span.doctor-frame.doctor-frame-old {
        color: #8E8E8E;
    }

    .calendar-reservation table a.doctor-frame:hover, .calendar-reservation table span.doctor-frame:hover {
        color: #5B5B5B;
    }

    .calendar-reservation table a.doctor-frame.doctor-frame-old:hover, .calendar-reservation table span.doctor-frame.doctor-frame-old:hover {
        color: #8E8E8E;
    }

.line-icon-svg {
    overflow: visible;
    width: .875em;
    display: inline-block;
    height: 1em;
    vertical-align: -.125em;
}

.list-social-icons a.line {
    color: #00c300;
}

.list-item-registered {
    background: #F0F0F0;
}

.no-frame {
    margin: 0 0 0 0;
    padding: 0 0px 0 0;
}

.no-bottom {
    margin-bottom: 0px;
    padding-bottom: 0px;
}


.babyimage-size {
    max-height: 400px;
    max-width: 80%;
}

.baby-edit-image-size {
    max-height: 365px;
    max-width: 80%;
}

.baby-icon-size {
    font-size: 30px;
}

.baby-icon-size-35 {
    font-size: 35px;
}

.baby-icon-size-40 {
    font-size: 40px;
}

.baby-icon-add {
    z-index: 2;
    position: absolute;
    right: 0;
    margin-top: -60px;
}

.nav-justified-b > li > a > i {
    display: none !important;
}

.nav-justified-b > li > a {
    text-align: center !important;
    padding: 5px 0 10px 0 !important;
}


.nav-justified-b > li {
    display: table-cell !important;
    vertical-align: bottom;
    width: 1% !important;
}

.nav-justified-b {
    margin-bottom: 2rem !important;
}

.baby-vaccine-age-select {
    width: 100%;
}

.curve-operation-action {
    margin-right: 1em;
}

    .curve-operation-action > i {
        font-size: 1.8rem;
    }

.curve-single-edit {
    margin-right: 0px;
}

#curve-maintenance-list .curve-unit {
    font-size: 0.5em;
}

#curve-maintenance-list input {
    width: 100%;
}

#curve-maintenance-single input {
    width: 100%;
}

#vaccine-edit-form .panel-body .radio > div {
    padding-left: 0px;
}

#vaccine-edit-form .panel-body .radio {
    margin-top: 0px;
}


#vaccine-edit-form .field-validation-error {
    display: block;
}

#vaccine-edit-form .panel-body {
    padding: 10px 0px;
}

#vaccine-edit-form .panel {
    border-radius: 5px;
}

#tbodyVaccine .vaccine-delete {
    margin-left: 5px;
}

.baby-list-status-icon {
    font-size: 25px;
    color: darkgray;
    width: 20%;
    text-align: center;
}

.vaccine-edit-block {
    width: 80px;
}

.vaccine-edit-btn {
    vertical-align: top;
    height: 24px;
    margin-right: 10px;
}

/*ranking*/
#rankingDataList .rankingDataList-empty {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid;
}


#rankingDataList .rankingDataList-row {
    display: table;
    width: 100%;
    margin-right: 0px;
    margin-left: 0px;
    padding: 1px 0px;
}

    #rankingDataList .rankingDataList-row:nth-of-type(odd) {
        background-color: #f9f9f9;
    }

#rankingDataList .rankingDataList-row-rank {
    width: 20px;
    display: table-cell;
    float: none;
    background-color: dodgerblue;
    color: white;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

    #rankingDataList .rankingDataList-row-rank.top3 {
        background-color: darkblue;
    }

#rankingDataList .rankingDataList-row-data {
    display: table-cell;
    float: none;
    cursor: pointer;
}

#rankingDataList .rankingDataList-row-data-link {
}

#rankingDataList .rankingDataList-row-data-title {
    color: #4d4d4d;
    margin: 5px 0px 15px;
    font-size: 20px;
    font-weight: bold;
}

#rankingDataList .rankingDataList-row-data-articleSource {
    color: #5f5f5f;
    font-size: 15px;
}

#rankingDataList .rankingDataList-row-data-clickCount {
    color: blue;
    font-size: 15px;
    font-weight: bold;
}

#rankingDataList .rankingDataList-row-data-more {
}

#rankingDataList .rankingDataList-row-data-more-btn {
    min-width: 52px;
    font-size: 15px;
    font-weight: bold;
    background-color: #0fc5bf;
    color: white;
    text-align: center;
    border-radius: 15px;
}

#rankingThemes {
    text-align: center;
    margin: 20px 0px;
}

    #rankingThemes .rankingThemes-title {
        font-size: 23px;
        font-weight: bold;
        color: #5f5f5f;
        margin-right: 20px;
    }

    #rankingThemes .rankingThemes-select {
        font-size: 25px;
        background-color: aliceblue;
        border: 0px;
        border-radius: 25px;
        color: royalblue;
        font-weight: bold;
        width: auto;
        padding: 0 2%;
        margin: 0;
    }

        #rankingThemes .rankingThemes-select option {
            text-align: center;
        }
/*ranking*/

.page-header {
    position: relative;
    z-index: 1;
}

.growth-curve-dropdown {
    font-size: 25px;
    background-color: lightgray;
    border: 0;
    border-radius: 25px;
    color: #5f5f5f;
    font-weight: bold;
    width: auto;
    padding: 0 2%;
    margin: 0;
}

.growth-curve-dropdown-area {
    text-align: center;
    margin: 25px 0px 15px;
}

    .growth-curve-dropdown-area span {
        font-size: 23px;
        font-weight: bold;
        color: #5f5f5f;
        margin-right: 20px;
    }

#growth-curve-chart {
    width: 1024px;
    height: 600px;
}

#growth-curve-chart-area {
    text-align: center;
}

.growth-curve-instructions {
    font-size: 19px;
    font-weight: bold;
}

.growth-curve-instructions-area {
    text-align: center;
    margin: 20px 0px 5px;
}

.share-div {
    float: left;
    margin: 0px 5px 0px;
}

    .share-div img {
        height: 35px;
    }

.divider .divider-label {
    display: inline-block;
    background-color: #fff;
    padding: 0 1rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.divider:before {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    position: absolute;
    left: 0;
    top: 50%;
}

.divider {
    position: relative;
    text-align: center;
    height: 1.5rem;
    margin: 1rem 0;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}



.btn-oauth-login {
    text-align: center;
    margin-bottom: 20px;
}

.fa-c-size {
    width: 20px;
}

.oauth-connected-text span {
    font-size: 20px;
    float: right;
    font-weight: bold;
    line-height: 40px;
}

.nohand {
    cursor: default;
}

.oauth-connected-text .noactive {
    color: red;
}

.oauth-btn-cancel {
    text-align: right;
}

.pat-select-item select {
    width: 80%;
}

.pat-select-item a {
    width: 20px;
}

.pat-select-item .fa-minus-circle {
    font-size: 1.5em;
    float: right;
    margin-right: 5px;
}

.reg-user-add .fa-plus-circle {
    font-size: 1.5em;
}

.pat-select-item, .reg-user-add {
    margin-top: 10px;
}

    .pat-select-item:first-child {
        margin-top: 0
    }

.relative-select .select-custom-color {
    font-size: 1.2em;
    border-radius: 1em;
    font-weight: bold;
    padding: 0 1.5em;
    margin: 0;
}

.relative-select {
    position: absolute;
    right: 0;
    margin-top: -3em;
    z-index: 2;
}

.nestle-block {
    padding-top: 50px;
}

.nestle-block-title {
    font-size: 20px;
    color: gray;
}

.nestle-block-description {
    font-size: 18px;
    color: darkgray;
    margin-top: 10px;
}

.nestle-block-banner {
    width: 468px;
    height: 130px;
}

.nestle-block-joinNestle label {
    color: darkgray;
    font-size: 20px;
}

.nestle-block-joinNestle input[type='checkbox'] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    margin-left: 15px;
}

.header_bar_frame {
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0px 25px;
    width: 433px;
}

    .header_bar_frame .swiper-button-prev {
        width: 12px;
        height: 33px;
        background-size: 18px 20px;
        left: 5px;
    }

    .header_bar_frame .swiper-button-next {
        width: 12px;
        height: 33px;
        background-size: 18px 20px;
        right: 5px;
    }

#header_bar {
    width: 406px;
}

.gga-report-btn {
    float: right;
}

    .gga-report-btn div {
        background-color: #e04a4b;
        color: #ffffff;
        padding: 7px;
        border-radius: 10px;
        margin-top: -6px;
        margin-right: 5px;
        font-size: 19px;
    }

.progress-list-block {
    padding: 10px 6px 40px 6px;
    border-bottom: 2px solid gray;
}

    .progress-list-block .clinic-data table {
        width: 100%;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
    }

        .progress-list-block .clinic-data table tr th {
            text-align: center;
        }

        .progress-list-block .clinic-data table tr td {
            text-align: center;
        }

        .progress-list-block .clinic-data table tr:first-child th {
            border-top-left-radius: 10px;
        }

        .progress-list-block .clinic-data table tr:first-child td:last-child {
            border-top-right-radius: 10px;
        }

        .progress-list-block .clinic-data table tr:last-child th {
            border-bottom-left-radius: 10px;
        }

        .progress-list-block .clinic-data table tr:last-child td:last-child {
            border-bottom-right-radius: 10px;
        }

    .progress-list-block .clinic-number {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

        .progress-list-block .clinic-number .item-block {
            font-size: 19px;
            font-weight: bold;
            text-align: center;
        }

            .progress-list-block .clinic-number .item-block .item-title.item-title-l {
                border-radius: 5px 0px 0px 5px;
            }

            .progress-list-block .clinic-number .item-block .item-title.item-title-r {
                border-radius: 0px 5px 5px 0px;
            }

            .progress-list-block .clinic-number .item-block .item-title.item-title-lr {
                border-radius: 5px;
            }

            .progress-list-block .clinic-number .item-block .item-value-s {
                height: 100px;
                font-size: 45px;
            }
            .progress-list-block .clinic-number .item-block .item-value-m {
                height: 100px;
                font-size: 70px;
                line-height: 80px;
            }
            .progress-list-block .clinic-number .item-block .item-value-l {
                height: 100px;
                font-size: 110px;
                line-height: 100px;
            }

            .progress-list-block .clinic-number .item-block .small {
                padding: 0 5px;
                font-size: 13px;
            }

    .progress-list-block .call-nuber-notfication-btn {
        text-align: center;
        margin-top: 10px;
    }

        .progress-list-block .call-nuber-notfication-btn a i {
            font-size: 35px;
        }

    .progress-list-block .progress-list-detail-link, .progress-list-block .progress-list-detail-link {
        color: black;
    }

/*.progress-list-block .progress-list-detail-link:hover, .progress-list-block .progress-list-detail-link:focus {
      color: darkslategray;
}*/

.calendar-reservation table td p span.old-full {
    color: #fff;
    background-color: #8E8E8E;
}

@media screen and (max-width: 1200px) {
    #tbodyVaccine .vaccine-delete {
        margin-left: 2px;
    }
}

@media screen and (max-width: 414px) {
    .oauth-connected-img img {
        width: 100%;
    }

    .oauth-connected-text span {
        font-size: 12px;
        line-height: 24px;
    }

    .oauth-btn-cancel .btn {
        font-size: 12px;
    }
}

@media screen and (max-width: 375px) {
    .modal-body .activity-btn .btn {
        padding: 4px 20px 2px 20px;
    }
}


@media screen and (max-width: 319px) {

    .navbar-header a.link-right.active {
        color: #FFFFFF;
    }

    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 14px;
    }

    .navbar-header a.link-right {
        height: 50px;
        margin: 0;
        padding: 0 6px 0 0;
    }
}

@media screen and (min-width: 320px) and (max-width: 639px) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 17px;
    }

    .navbar-header a.link-right.active {
        color: #FFFFFF;
    }

    .navbar-header a.link-right {
        height: 50px;
        margin: 0;
        padding: 0 18px 0 0;
    }
}

@media (max-width: 767px) {
    .calendar-reservation table a.doctor-frame, .calendar-reservation table span.doctor-frame {
        padding: 5px 3px;
    }

    .baby-edit-image-size {
        max-height: 240px;
    }

    .adBlockDivDefault {
        width: 100% !important;
        height: auto !important;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 17px;
    }

    .navbar-header a.link-right.active {
        color: #FFFFFF;
    }

    .navbar-header a.link-right {
        height: 50px;
        margin: 0;
        padding: 0 18px 0 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #btn-modify-personal .col-sm-10 {
        width: 83.33333333%;
        padding: 0 10px;
    }

    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 20px;
    }

    .oauth-connected-item .col-sm-2 {
        float: left !important;
        width: 16.66666667% !important;
    }
}

@media screen and (min-width: 992px) {
    .navbar-header a.link-right {
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 22px;
    }
}


/* Portrait 手機拿直*/
@media screen and (max-device-width: 767px) and (orientation:portrait) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 14px;
    }

    .navbar-header a.link-right.active {
        color: #FFFFFF;
    }

    .navbar-header a.link-right {
        height: 50px;
        margin: 0;
        padding: 0 6px 0 0;
    }

    .header_bar_frame {
        position: relative;
        overflow: hidden;
        z-index: 1;
        padding: 0px 23px;
        width: 290px;
    }

        .header_bar_frame .swiper-button-prev {
            width: 11px;
            height: 40px;
            background-size: 17px 28px;
            left: 5px;
        }

        .header_bar_frame .swiper-button-next {
            width: 11px;
            height: 40px;
            background-size: 17px 28px;
            right: 5px;
        }

    #header_bar {
        width: 247px;
    }
}

@media screen and (max-device-width: 340px) and (orientation:portrait) {
    #header_bar.brands p {
        font-size: 12px;
    }

    .header_bar_frame {
        position: relative;
        overflow: hidden;
        z-index: 1;
        padding: 0px 18px;
        width: 260px;
    }

        .header_bar_frame .swiper-button-prev {
            width: 8px;
            height: 42px;
            background-size: 14px 20px;
            left: 5px;
        }

        .header_bar_frame .swiper-button-next {
            width: 8px;
            height: 42px;
            background-size: 14px 20px;
            right: 5px;
        }

    #header_bar {
        width: 223px;
    }
}

@media screen and (max-device-width: 312px) and (orientation:portrait) {
    #header_bar.brands p {
        font-size: 12px;
    }

    .header_bar_frame {
        position: relative;
        overflow: hidden;
        z-index: 1;
        padding: 0px 20px;
        width: 185px;
    }

        .header_bar_frame .swiper-button-prev {
            width: 8px;
            height: 42px;
            background-size: 14px 20px;
            left: 5px;
        }

        .header_bar_frame .swiper-button-next {
            width: 8px;
            height: 42px;
            background-size: 14px 20px;
            right: 5px;
        }

    #header_bar {
        width: 149px;
    }
}

/* Landscape 手機拿橫 */
@media screen and (max-device-width: 767px) and (orientation: landscape) {
    .site-brand a span.menuTitle, .navbar-header a.link-right span.menuTitle {
        font-size: 17px;
    }

    .navbar-header a.link-right.active {
        color: #FFFFFF;
    }

    .navbar-header a.link-right {
        height: 50px;
        margin: 0;
        padding: 0 18px 0 0;
    }

    .header_bar_frame {
        position: relative;
        overflow: hidden;
        z-index: 1;
        padding: 0px 22px;
        width: 386px;
    }

        .header_bar_frame .swiper-button-prev {
            width: 10px;
            height: 44px;
            background-size: 16px 30px;
            left: 5px;
        }

        .header_bar_frame .swiper-button-next {
            width: 10px;
            height: 44px;
            background-size: 16px 30px;
            right: 5px;
        }

    #header_bar {
        width: 364px;
    }
}

@media screen and (max-device-width: 520px) and (orientation: landscape) {
    .brands p {
        font-size: 12px;
    }
}

.carousel-ad {
    position: relative;
}

p span.video {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    margin-top: -5px;
    padding: 5px 5px 5px 5px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 10px;
    color: #2D2D2D;
    background-color: #00ccff;
}

/* Portrait 手機拿直*/
@media screen and (max-device-width: 365px) and (orientation:portrait) {
    .brands p {
        font-size: 12px;
    }
}
