/*https://github.com/angular/material/issues/6095*/
/*md-chips container*/
.md-chips .md-chip-input-container {
    width: 100%;
}


.dragon-logo_color {
    fill: #0059ff !important;
    --main--color: rgba(0,89,255,1);
    --inner-shadow--color: rgba(0,0,0,.1);
    --shadow--color: rgba(0,0,0,.2);
}

.dragon-logo_bw {
    --main--color: rgba(0,0,0,.7);
    --inner-shadow--color: rgba(0,0,0,.2);
    --shadow--color: rgba(255,255,255,.4);
}

.acepep-logo_hide-tm {
    --secondary--color: rgba(255,255,255,0);
}

/*Main Navigation -- start*/
.main-nav {
    min-height: 50px;
}

    .main-nav .md-toolbar-tools {
        height: 50px;
    }

        .main-nav .md-toolbar-tools h4 {
            font-weight: bold;
        }

.green-progress > md-progress-linear > div {
    background-color: rgba(165, 214, 167, 0.5) !important;
}

/*Main Navigation -- end*/

/*Module toolbars -- start*/

.module-toolbar h4 {
    font-weight: bold;
}

.module-tools {
    padding-bottom: 5px;
}

.searchbar md-input-container label {
    margin-bottom: 0;
    bottom: 80%;
}

.searchbar md-icon {
    margin-bottom: 0;
}

.searchbar input {
    border: none !important;
}

md-toolbar.md-table-toolbar.module-toolbar-large .md-toolbar-tools {
    height: auto;
    max-height: initial;
    min-height: 64px;
    padding: 5px 24px;
}

@media only screen and (max-width: 600px) {
    .module-toolbar {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: 1px solid rgba(0,0,0,0.12);
    }

        .module-toolbar h4 {
            text-align: center;
        }

    .tools-xs-wrap {
        max-height: unset !important;
        height: auto !important;
        flex-wrap: wrap;
        padding: 0 !important;
        /*padding-left: 24px !important;*/
    }

        .tools-xs-wrap h4 {
            width: 100%;
            /*border-bottom: 1px solid rgba(0,0,0,0.12);*/
            /*padding-bottom: 5px;*/
        }
}
/*Module toolbars -- end*/

/*Tab toolbars --start*/

.tab-toolbar md-tab-data {
    opacity: 1;
    display: inline-flex;
    right: 0;
    left: initial;
    z-index: 20;
}
/*Tab toolbars --end*/

.search-box {
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 0.5px solid;
}

    .search-box:focus {
        outline: none;
        border-bottom: 0.5px solid rgb(20,154,227);
    }

legend.standard {
    font-size: 14px
}

/*thead {
    display: table;
    table-layout: fixed;
    position: fixed;
}

    thead > tr > th {
        background-color: white;
        z-index: 2;
        border-bottom: 1px rgba(0,0,0,0.12) solid;
    }*/

i.icon-red {
    color: red;
}

i.icon-yellow {
    color: #FFC107;
}

i.icon-green {
    color: #4CAF50;
}

i.icon-black {
    color: black;
}

.p-font-red p {
    color: red !important;
}

.p-font-yellow p {
    color: #FFC107 !important;
}

.p-font-green p {
    color: #4CAF50 !important;
}

/*text-angular:not(.multi-row) .ta-editor {
    max-height: 30px !important;
    min-height: 30px !important;
    overflow: hidden !important;
}

text-angular.multi-row .ta-editor {
    max-height: 81px !important;
    min-height: 81px !important;
    overflow: hidden !important;
}*/

text-angular.multi-row {
    margin-top: 2px;
}

.ta-bind {
    min-height: 30px !important;
    padding: 0px !important;
}

.ta-editor.ta-html, .ta-scroll-window.form-control {
    min-height: 30px !important;
}

.ta-root.focussed > .ta-scroll-window.form-control {
    overflow: hidden !important;
}

.form-control {
    border-top: none;
    border-left: none;
    border-right: none;
}

.btn-group {
    float: right !important;
}

    .btn-group > button {
        padding: 1px 5px !important;
    }

label.text-angular-label {
    position: relative !important;
    font-size: 10.5px;
    color: dodgerblue;
}

    label.text-angular-label > md-table-container {
        position: relative !important;
        font-size: 10.5px;
        color: dodgerblue;
    }

.ta-input-group > md-input-container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

    .ta-input-group > md-input-container > h5 {
        position: relative;
        top: 25px;
        font-size: 10.5px;
        font-weight: 600;
        margin-top: 0;
        color: dodgerblue;
    }

.ta-input-container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

    .ta-input-container > h5 {
        position: relative;
        top: 25px;
        font-size: 10.5px;
        font-weight: 600;
        margin-top: 0;
        color: dodgerblue;
    }

.ta-bro-input-container {
    padding-bottom: 0;
    margin-bottom: 0;
}

.tmplDialog md-switch {
    margin-top: 0;
    margin-bottom: 0;
}

.tmplDialog md-radio-group {
    margin-top: 1px;
    margin-bottom: 0;
}

.tmplDialog md-input-container {
    margin-bottom: 0;
}

.tmplHomeDialog .md-button {
    padding: 0 !important;
    margin: 0 !important;
}

.tmplHomeDialog .md-icon {
    margin: 0 !important;
}

.tmplHomeDialog md-checkbox {
    margin: 0;
    width: 20px !important;
}

.tmplHomeDialog .md-ripple-container {
    width: 25px !important;
    height: 25px !important;
}

.tmplHomeDialog .md-ink-ripple {
    width: 25px !important;
    height: 20px !important;
}

.dynamic-html p {
    margin-bottom: 0;
    margin-left: 6px;
}

text-angular .form-control {
    border-radius: 0 !important;
}

text-angular p {
    margin-bottom: 0 !important;
    padding-top: 5px !important;
}

#loading-bar {
    pointer-events: all;
    z-index: 99999;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: wait;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 959px) {
    .hide-sm-xs {
        display: none;
    }
}

@media (min-width: 959px) {
    .hide-gt-sm {
        display: none;
    }
}

/*中文月份border太宽导致 十一月和十二月选中错位*/
.md-default-theme .md-calendar-date.md-calendar-date-today .md-calendar-date-selection-indicator, .md-calendar-date.md-calendar-date-today .md-calendar-date-selection-indicator {
    border: 0.5px solid rgb(33,150,243);
}

.doc-audit-need-confirm > p {
    color: red !important;
}

.doc-audit-confirmed > p {
    color: rgba(0,0,0,0.54) !important;
}

.select-highlight {
    background: #87cefa !important;
}

.custom-calendar-content > p {
    margin-bottom: 2px !important;
}

md-autocomplete.auto-comp-nobottom md-input-container {
    margin-bottom: 0;
}

md-autocomplete.auto-comp-nomargin md-input-container,
md-autocomplete.auto-comp-nomargin label {
    margin: 0;
}

/* Doctor Center hover on display button */
.hover-button-trigger:hover .hover-button {
    display: block;
}

.hover-button {
    display: none;
}

.top-row-grey {
    background-color: #efefef;
}

.autocomplete-standard-template li {
    border-bottom: 1px solid #ccc;
    height: auto;
    padding-top: 2px;
    padding-bottom: 2px;
    white-space: normal;
}

.autocomplete-standard-template.md-autocomplete-suggestions li {
    line-height: 20px;
}

.autocomplete-standard-template li:last-child {
    border-bottom-width: 0;
}

.autocomplete-standard-template .item-title {
    display: block;
    line-height: 2;
}

.autocomplete-standard-template .item-desc {
    font-size: 12px;
    margin: 0.2em 0.2em;
}

.instance-wrapper {
    padding: 0 8px;
}

.less-bottom > * {
    margin-bottom: 2px;
}


/*https://github.com/daniel-nagy/md-data-table/issues/249*/
thead.disable-select-all > tr > th > md-checkbox {
    display: none;
}

/*https://stackoverflow.com/questions/33293599/how-to-add-line-breaks-within-tooltip-in-angular-material-design*/
.tooltip-multiline {
    height: auto;
}

.button-unselected.md-button {
    background-color: white;
    color: black;
}

/*https://github.com/daniel-nagy/md-data-table/issues/235*/
md-backdrop.md-edit-dialog-backdrop {
    z-index: 81;
}

.milestone-not-confirm > td > span {
    color: #ffc107 !important
}

.milestone-close-end-date > td > span {
    color: red !important
}

.tree-button-element-width {
    margin-left: 15px !important;
    margin-right: 7px !important
}

/*GENERAL - start*/

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.fieldset-standard {
    display: block;
    border-color: threedface;
    border-image: initial;
    border-style: solid;
    border-width: 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px;
    overflow: hidden;
}

.fieldset-legend-standard {
    display: block;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    width: auto;
    margin: 5px;
}

.icon-flipped {
    -o-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    transform: scaleY(-1);
}

.icon-rotate-90-c {
    -o-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.expired-pattern {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKElEQVQYV2NkwA58GbGI+zIwMGxGlwALghQjS8AFkSVQBGESGIIgCQBVnAVUPcxeHAAAAABJRU5ErkJggg==) repeat;
}

.alert-text {
    height: 100%;
    background: grey;
    color: white;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: medium;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 1px;
}

.horizontal-divider {
    position: relative;
}

    .horizontal-divider:before {
        content: "";
        position: absolute;
        top: 0;
        right: 5px;
        bottom: 0;
        width: 1px;
        border-right: 1px solid #ccc;
        opacity: .5;
    }

.disabled-decolor[disabled] {
    background: #b3b3b3 !important;
    color: #888 !important;
}

    .disabled-decolor[disabled] .material-icons {
        color: #888 !important;
    }

.force-visible-overflow {
    overflow: visible !important;
}

.text-hide-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acepep-loader,
.acepep-loader-fullscreen {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    z-index: 1001;
}

.acepep-loader-fullscreen {
    height: 100%;
}


.acepep-loader-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.acepep-loader-fullscreen .acepep-loader-content {
    display: flex;
}

.small-pagination.md-table-pagination > * {
    height: auto;
}

.small-padding,
.small-padding.md-subheader .md-subheader-inner {
    padding: 3px;
}

.no-padding,
.no-padding.md-subheader .md-subheader-inner {
    padding: 0;
}

.no-margin,
.no-margin.md-subheader .md-subheader-inner {
    margin: 0;
}

.md-radio-button-label-flex .md-label {
    width: calc(100% - 30px);
}

.addDentalRecord-sidenav ul li {
    background: white;
    border-radius: 5px;
    margin: 3px;
}

.big-radio-group .md-ink-ripple {
    margin-left: 5px;
}

.big-radio-group .md-label {
    width: calc(100% - 30px);
}

.toolbar-autocomplete md-input-container {
    margin: 0;
    margin-bottom: 0;
    padding: 5px !important;
}

    .toolbar-autocomplete md-input-container label {
        margin-bottom: 0;
        padding: 0;
        bottom: 90%;
        font-weight: 300;
    }

    .toolbar-autocomplete md-input-container.md-input-focused label,
    .toolbar-autocomplete md-input-container.md-input-has-value label {
        bottom: 100%;
    }

@media only screen and (max-width: 600px) {
    .hide-limit-select-xs .limit-select {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .hide-margin-gt-xs {
        margin: 0;
    }
}

@media only screen and (min-height: 400px) {
    .show-height-xs {
        display: none;
    }
}

@media only screen and (max-height: 400px) {
    .hide-height-xs {
        display: none;
    }
}

/*GENERAL - end*/

/* AVATARS - -- start*/

.avatar_container_outer {
    position: relative;
}

.avatar_container_inner {
    border: 2px solid transparent;
    overflow: hidden;
    border-radius: 100%;
    display: flex;
    align-items: self-start;
}

    .avatar_container_inner:not(.avatar-sm) {
        width: 100px;
        height: 100px;
    }

.avatar-sm .avatar_container_inner {
    width: 50px;
    height: 50px;
}

.avatar_img {
    width: 100%;
    height: auto;
    pointer-events: none;
    max-width: initial;
}

.avatar_icon {
    display: flex;
    justify-content: center;
    align-items: center;
}


.avatar_upload-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    /*opacity:0;*/
}

    .avatar_icon:not(.avatar-sm),
    .avatar_upload-icon:not(.avatar-sm) {
        font-size: 95px;
    }

.avatar-sm .avatar_icon,
.avatar-sm .avatar_upload-icon {
    font-size: 45px;
}

.avatar_progress-container {
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 0;
    left: 8px;
    opacity: .5;
}

    .avatar_progress-container:not(.avatar-sm) {
        width: 100px;
        height: 100px;
    }

.avatar-sm .avatar_progress-container {
    width: 50px;
    height: 50px;
}


.avatar-sm .avatar-progress-bar-md {
    display: none;
}

.avatar-progress-bar-md:not(.avatar-sm .avatar-progress-bar-md) {
    display: block;
    opacity: .3;
}

.avatar-progress-bar-sm {
    display: none;
}

.avatar-sm .avatar-progress-bar-sm {
    display: block;
    opacity: .4;
}

.avatar_upload-button-container {
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 0;
    left: 8px;
}

    .avatar_upload-button-container:not(.avatar-sm) {
        width: 100px;
        height: 100px;
    }

.avatar-sm .avatar_upload-button-container {
    width: 50px;
    height: 50px;
}

.avatar_upload-button {
    cursor: default;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}


.avatar_upload-button-label {
    margin: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

    .avatar_upload-button-label:not(.avatar-sm) {
        width: 100px;
        height: 100px;
    }

.avatar-sm .avatar_upload-button-label {
    width: 50px;
    height: 50px;
}



@media only screen and (max-width: 960px) {
    .avatar_container_inner:not(.avatar-sm) {
        width: 80px;
        height: 80px;
    }

    .avatar-sm .avatar_container_inner {
        width: 40px;
        height: 40px;
    }

    .avatar_icon:not(.avatar-sm),
    .avatar_upload-icon:not(.avatar-sm) {
        font-size: 45px;
    }

    .avatar-sm .avatar_icon,
    .avatar-sm .avatar_upload-icon {
        font-size: 45px;
    }

    .avatar_progress-container:not(.avatar-sm) {
        width: 80px;
        height: 80px;
    }

    .avatar-sm .avatar_progress-container {
        width: 40px;
        height: 40px;
    }

    .avatar_upload-button-container:not(.avatar-sm) {
        width: 80px;
        height: 80px;
    }

    .avatar-sm .avatar_upload-button-container {
        width: 40px;
        height: 40px;
    }


    .avatar_upload-button:not(.avatar-sm) {
        width: 80px;
        height: 80px;
    }

    .avatar-sm .avatar_upload-button {
        width: 40px;
        height: 40px;
    }

    .avatar_upload-button-label:not(.avatar-sm) {
        width: 80px;
        height: 80px;
    }

    .avatar-sm .avatar_upload-button-label {
        width: 40px;
        height: 40px;
    }
}

/* AVATARS- -- end*/



/*DIALOG CUSTOM CLASSES*/

md-dialog.fullscreen-dialog {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.dialog-shrink-rows .layout-gt-xs-row {
    margin: 0;
}

.dialog-shrink-rows md-input-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* https://github.com/angular/components/issues/3209 */
.dialog-lg {
    max-width: none !important;
    max-height: 90% !important;
}

@media only screen and (max-width: 600px) {
    .dialog-lg {
        max-height: 100% !important;
    }

        .dialog-lg md-table-container {
            min-height: 100px !important;
            border-top: 1px solid rgba(128, 128, 128, 0.67);
        }
}


/* TEXT - CUSTOM CLASSES*/
.form-text {
    color: rgba(0,0,0,0.38);
}

/* INDEX LOADER start */
.index-loader-holder {
    height: 100%;
}

.index-loader-holder, .index-loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-loader-holder {
    min-height: 100vh;
    background-color: white;
}

.index-loader-inner {
    width: 100vmin;
    height: 100vmin;
    display: flex;
    flex-direction: column;
}

.index-loader-logo-holder {
    max-width: 500px;
}

.index-loader-logo-holder {
    fill: rgb(30, 136, 229);
    color: rgb(30, 136, 229);
}

.index-loader-inner h1 {
    font-size: 3vmin;
    font-family: sans-serif;
    color: grey;
}

.letter-changer::after {
    content: "";
    white-space: pre;
    animation: changeLetter 3s linear infinite normal;
}

@keyframes changeLetter {

    0% {
        content: ".  ";
    }

    30% {
        content: ".. ";
    }

    40%,100% {
        content: "...";
    }
}

/* INDEX LOADER end*/








/* PATIENTS PORTAL - start*/

.avatar-upload_label {
    cursor: pointer;
    text-align: center;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    border: 5px solid grey;
    border-radius: 50%;
    overflow: hidden;
    transition: border-color .25s ease-in-out;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav_avatar-upload_label-container {
    width: 35px;
    height: 35px;
    overflow: hidden;
    position: relative;
    transition: border-color .5s ease-in-out;
}

    .main-nav_avatar-upload_label-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        /*border: 3px solid rgba(63, 81, 181, 0.5);*/
        border: 3px solid rgba(104, 104, 104, 0.4);
        border-radius: 50%;
        pointer-events: none;
    }

.main-nav_avatar-upload_label {
    cursor: pointer;
    text-align: center;
    width: 35px;
    height: 35px;
    /*margin: 0;
    padding: 0;
    border: 3px solid grey;*/
    border-radius: 50%;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav_avatar-upload_label-container img {
    border-radius: 50%;
}

.force-list md-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/*@media only screen and (min-width: 960px) {
    .avatar-upload_label-container {
        background: white !important;
        padding-bottom:0;
        padding-right:0;
    }
}*/

/*DOCTOR CENTER -- start */

.personal-info_card .md-subheader-inner {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

@media only screen and (max-width: 960px) {
    .personal-info_card-content md-card {
        max-height: unset !important;
    }
}

@media only screen and (max-width: 600px) {
    .personal-info_card-content {
        flex-wrap: wrap;
    }
}

@media only screen and (min-width: 960px) {
    .dc-maincontent-container {
        z-index: 1;
    }

    .ps-maincontent-container {
    }
}

@media only screen and (max-width: 1850px) {
    .view-appt_table_data_hide {
        display: none;
    }
}

/*DOCTOR CENTER -- end */


/* FAMILY DOCTOR -general- -- start*/

.family-doctor_card-info {
    width: 100%;
    height: 100%
}

    .family-doctor_card-info > span {
        padding-left: 10px;
        line-height: normal;
        width: 100%;
    }

        .family-doctor_card-info > span:nth-of-type(n+2)::before {
            content: "\2022";
            padding-right: 3px;
            font-weight: bolder;
            text-decoration: none;
            display: inline-block;
            opacity: 0.5;
        }

.family-doctor_card-actions {
    width: 100%;
    padding: 0;
    flex: 1 0 auto;
}

    .family-doctor_card-actions button {
        padding: 0;
    }

@media only screen and (min-width: 600px) {
    .family-doctor_card {
        max-width: 280px;
    }
}

@media only screen and (max-width: 600px) {
    .family-doctor_card-info {
        padding-bottom: 30px;
    }

    .family-doctor_card-actions button {
        margin: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 0;
    }

        .family-doctor_card-actions button:last-of-type {
            border-right: none;
        }
}

/* FAMILY DOCTOR -general- -- end*/


/* MY PRESCRIPTION - start*/

.my-prescription_card {
    transition: background .1s ease-in-out;
}

    .my-prescription_card .toolbar {
        transition: color .1s ease-in-out;
    }

        .my-prescription_card .toolbar .title {
            font-size: larger;
            padding: 8px;
        }


@media only screen and (max-width: 960px) {
    .my-prescription_card {
        width: 100%;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1600px) {
    .my-prescription_card {
        width: 40%;
        max-width: 40%;
    }
}

@media only screen and (min-width: 1600px) {
    .my-prescription_card {
        width: 30%;
        max-width: 30%;
    }
}

@media only screen and (min-width: 3000px) {
    .my-prescription_card {
        width: 19%;
        max-width: 19%;
    }
}


/* MY PRESCRIPTION - end*/


/* APPOINTMENT PAY- start*/

.pay_alert-text {
    height: 100%;
    margin: auto;
    background: grey;
    color: white;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: x-small;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 1px;
}

@media only screen and (max-width: 960px) {
    .appt-pay_card {
        width: 100%;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1600px) {
    .appt-pay_card {
        width: 40%;
    }
}

@media only screen and (min-width: 1600px) {
    .appt-pay_card {
        width: 23%;
    }
}

/* APPOINTMENT PAY - end*/


/* TECHNICAL/SURGICAL SERVICES- start*/

@media only screen and (max-width: 960px) {
    .services_card {
        width: 100%;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1600px) {
    .services_card {
        width: 40%;
    }
}

@media only screen and (min-width: 1600px) {
    .services_card {
        width: 23%;
    }
}

/* TECHNICAL/SURGICAL SERVICES- end*/


/* PATIENTS PORTAL - end*/


/* HIS SYSTEM - stat*/

@media only screen and (max-width:1500px) {
    .patient-tab_switches {
        display: none;
    }
}

@media only screen and (min-width:1500px) {
    .patient-tools_menu {
        display: none;
    }
}


md-switch.switch_waiting,
md-switch.switch_inprogess,
md-switch.switch_complete {
    margin: 0;
}

    md-switch.switch_waiting.md-checked .md-bar {
        background-color: #FFE082; /* set selected bar color */
    }

md-switch.md-checked.switch_waiting .md-thumb {
    background-color: #FFC107 /* selected switch color */
}

md-switch.switch_waiting.md-checked .md-ink-ripple {
    color: #FFE082; /* selected switch ripple color */
}

md-switch.switch_inprogess.md-checked .md-bar {
    background-color: #80DEEA; /* set selected bar color */
}

md-switch.md-checked.switch_inprogess .md-thumb {
    background-color: #00BCD4 /* selected switch color */
}

md-switch.switch_inprogess .md-ink-ripple {
    color: #80DEEA; /* not selected switch ripple color */
}

md-switch.switch_complete.md-checked .md-bar {
    background-color: #A5D6A7; /* set selected bar color */
}

md-switch.md-checked.switch_complete .md-thumb {
    background-color: #4CAF50 /* selected switch color */
}

md-switch.switch_complete .md-ink-ripple {
    color: #A5D6A7; /* not selected switch ripple color */
}

.patient-tools_menu {
    padding: 0;
}

.menu-switch_wating md-icon {
    color: #FFB300;
}

.menu-switch_inprogress md-icon {
    color: #00ACC1;
}

.menu-switch_complete md-icon {
    color: #43A047;
}

/* HIS SYSTEM - end*/


/*ACEPEP CALENDAR - start*/



.acepep-calendar {
    height: 100%;
    overflow: auto;
    border-radius: 10px;
}

    .acepep-calendar > .md-subheader .md-subheader-content {
        flex-direction: row;
        display: flex;
    }

.acepep-calendar_column {
    position: relative;
    transition: border-color .25s ease-in-out;
}

.acepep-calendar_row:first-of-type .acepep-calendar_column:first-of-type {
    border-top-left-radius: 5px;
}

.acepep-calendar_row:first-of-type .acepep-calendar_column:last-of-type {
    border-top-right-radius: 5px;
}

.acepep-calendar_row:last-of-type .acepep-calendar_column:first-of-type {
    border-bottom-left-radius: 5px;
}

.acepep-calendar_row:last-of-type .acepep-calendar_column:last-of-type {
    border-bottom-right-radius: 5px;
}

.acepep-calendar_row:first-of-type .acepep-calendar_column:hover:first-of-type,
.acepep-calendar_row:first-of-type .acepep-calendar_column:hover:last-of-type,
.acepep-calendar_row:last-of-type .acepep-calendar_column:hover:first-of-type,
.acepep-calendar_row:last-of-type .acepep-calendar_column:hover:last-of-type {
    border-radius: 0;
}

.acepep-calendar_column::before {
    transition: background .2s ease-in;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.acepep-calendar .acepep-calendar-plans {
    padding: 5px;
    transition: opacity .25s ease-in-out;
}

    .acepep-calendar .acepep-calendar-plans > button,
    .acepep-calendar .acepep-calendar-plans > button:not(.md-dense-disabled) {
        padding-right: 6px;
        background: #ccc;
        margin: 3px 4px;
        border-radius: 50px;
        text-transform: capitalize;
        overflow: hidden;
        text-align: center;
        max-width: 120px;
        min-width: initial;
        width: 43%;
        min-height: 20px;
        white-space: nowrap;
        line-height: normal;
        display: flex;
        align-items: center;
        box-shadow: 0 2px 3px 0 rgba(0,0,0,.3);
    }

        .acepep-calendar .acepep-calendar-plans > button:hover {
            box-shadow: 0 2px 3px 0 rgba(0,0,0,.4);
        }

        .acepep-calendar .acepep-calendar-plans > button:active {
            opacity: 0.8;
        }

.acepep-calendar_column .date-overlay,
.acepep-calendar_content:hover .acepep-calendar_column:hover .date-overlay.current-date {
    pointer-events: none;
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    border: 3px solid grey;
    border-radius: 5px;
    z-index: 1;
    box-shadow: 0 1px 5px 1px rgba(0,0,0,.5);
    transition: border .2s linear,top .2s ease-in, right .2s ease-in, bottom .2s ease-in, left .2s ease-in;
}

    .acepep-calendar_column .date-overlay:not(.current-date) {
        display: none;
    }

.acepep-calendar_content:hover .date-overlay.current-date {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2);
    border-width: 2px;
    border-radius: 0;
}

.acepep-calendar_column:hover .date-overlay {
    display: block;
    z-index: 2;
}


.acepep-calendar_content:hover .acepep-calendar_column::before {
    background: rgba(0,0,0,0.3);
}

.acepep-calendar_content:hover .acepep-calendar_row:hover .acepep-calendar_column::before {
    background: rgba(0,0,0,0.2);
}

.acepep-calendar_content:hover .acepep-calendar_row:hover .acepep-calendar_column:hover::before {
    background: rgba(0,0,0,0);
}

.acepep-calendar_content:hover .acepep-calendar_column > .acepep-calendar-plans {
    opacity: 0.9;
}

.acepep-calendar_content .acepep-calendar_column:hover > .acepep-calendar-plans {
    opacity: 1;
}

.acepep-calendar_content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border-radius: 10px;
}

.acepep-calendar_row {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.acepep-calendar_column {
    border: 1px solid transparent;
    flex: 1;
}

.acepep-calendar-date {
    font-size: 16px;
    opacity: 0.6;
    transition: opacity .25s ease-in-out;
    width: 100%;
}

    .acepep-calendar-date strong {
        padding-left: 5px;
        padding-top: 5px;
    }

.acepep-calendar_content .acepep-calendar_column:hover > .acepep-calendar-date {
    opacity: 1;
}


.md-button.md-icon-button.acepep-calendar_add-btn {
    margin: 0;
    padding: 0;
    line-height: normal;
    height: auto;
    min-height: unset;
    width: auto;
    padding-right: 3px;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    opacity: .5;
    transition: opacity .25s ease-in-out;
}

.acepep-calendar_column:hover .md-button.md-icon-button.acepep-calendar_add-btn {
    opacity: 1;
}

.acepep-calendar_alert-text {
    height: 100%;
    margin: auto;
    margin-left: 5px;
    margin-top: 6px;
    background: grey;
    color: white;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: x-small;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 1px;
}

.marquee-text_container {
    animation: marquee 5s linear infinite;
    position: absolute;
    display: flex;
    height: 100%;
    text-align: center;
    animation-play-state: running;
    min-width: 121px;
}

.acepep-calendar_row:hover .marquee-text_container {
    animation-play-state: running;
}

.marquee-text {
    text-shadow: 1px 1px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 325px;
}


@keyframes marquee {
    0% {
        -moz-transform: translateX(0%); /* Firefox bug fix */
        -webkit-transform: translateX(0%); /* Firefox bug fix */
        transform: translateX(0%);
    }

    100% {
        -moz-transform: translateX(-50%); /* Firefox bug fix */
        -webkit-transform: translateX(-50%); /* Firefox bug fix */
        transform: translateX(-50%);
    }
}

/*ACEPEP CALENDAR - end*/

@media only screen and (max-width: 600px) {
    .xs-wrap {
        flex-wrap: wrap !important;
    }
}



/*HOMEPAGE - MOBILE -- start*/

.homepage-mobile_btn-icons {
    margin: 0;
    width: auto;
    font-size: xxx-large;
}

.homepage-mobile_btn-text-section {
    text-transform: capitalize;
    font-size: medium;
    text-align: center;
    font-weight: bold;
    line-height: normal;
    white-space: normal;
    word-break: break-word;
}

/*HOMEPAGE - MOBILE -- end*/


/*ANIMATIONS -- start*/
.transition-all {
    -webkit-transition: all 1s ease-in-out;
}

.notification-shake {
    transform-origin: 70% 1em;
    animation-name: ring;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

    .notification-shake::before {
        font-family: 'Material Icons';
        animation-name: ring-icon;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        content: "notifications";
    }

.notification::before {
    font-family: 'Material Icons';
    content: "notifications";
}

@keyframes ring {
    0% {
        transform: rotate(0deg)
    }

    5% {
        transform: rotate(30deg)
    }

    15% {
        transform: rotate(-30deg)
    }

    25% {
        transform: rotate(20deg)
    }

    35% {
        transform: rotate(-15deg)
    }

    45% {
        transform: rotate(10deg)
    }

    55% {
        transform: rotate(-5deg)
    }

    60% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(0deg)
    }
}

@keyframes ring-icon {
    0%, 5% {
        content: "notifications";
    }

    5%, 60% {
        content: "notifications_active";
    }

    61%, 100% {
        content: "notifications";
    }
}

.zoom-n-fade-in_on-start {
    animation-name: zoom-n-fade-in;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes zoom-n-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in_on-start {
    animation-name: fade-in;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100;
    }
}


.glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 #FF000000;
    }

    100% {
        box-shadow: 0 0 5px 5px #ff0000;
    }
}

/*ANIMATIONS -- end*/

/*CORONAVIRUS ALERT -- start */
.corona-alert_container {
    z-index: 3;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
}

.corona-alert_label-text {
    padding-left: 15px;
    font-size: smaller;
}

@media only screen and (max-width: 960px) {
    .corona-alert_container {
        position: fixed;
        top: unset;
        bottom: 0;
    }
}
/*CORONAVIRUS ALERT -- end */
