.no-border {
    border: 0px !important;
}


/* Absolute Center Spinner */

.loading {
    position: fixed;
    z-index: 99999999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}


/* Transparent Overlay */


/* .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; */


/* background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8)); */


/* background: white;
} */


/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 20px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    /* -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0; */
    /* -webkit-box-shadow: rgba(0, 255, 255, 0.75) 1.5em 0 0 0, rgba(0, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(0, 255, 255, 0.75) 0 1.5em 0 0, rgba(0, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(0, 255, 255, 0.75) -1.5em 0 0 0, rgba(0, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(0, 255, 255, 0.75) 0 -1.5em 0 0, rgba(0, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 255, 255, 0.75) 1.5em 0 0 0, rgba(0, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(0, 255, 255, 0.75) 0 1.5em 0 0, rgba(0, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(0, 255, 255, 0.75) -1.5em 0 0 0, rgba(0, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(0, 255, 255, 0.75) 0 -1.5em 0 0, rgba(0, 255, 255, 0.75) 1.1em -1.1em 0 0; */
    -webkit-box-shadow: #1fabf4 1.5em 0 0 0, #1fabf4 1.1em 1.1em 0 0, #1fabf4 0 1.5em 0 0, #1fabf4 -1.1em 1.1em 0 0, #1fabf4 -1.5em 0 0 0, #1fabf4 -1.1em -1.1em 0 0, #1fabf4 0 -1.5em 0 0, #1fabf4 1.1em -1.1em 0 0;
    box-shadow: #1fabf4 1.5em 0 0 0, #1fabf4 1.1em 1.1em 0 0, #1fabf4 0 1.5em 0 0, #1fabf4 -1.1em 1.1em 0 0, #1fabf4 -1.5em 0 0 0, #1fabf4 -1.1em -1.1em 0 0, #1fabf4 0 -1.5em 0 0, #1fabf4 1.1em -1.1em 0 0;
}


/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loader {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    background: white;
    z-index: 99999;
}

.td_search_button {
    width: min-content;
}


/* .td_search_button .form-control {
    padding-left: 0;
} */

.main-navigation,
.patient-profile-tabs {
    cursor: pointer;
}

.datepicker--cell.datepicker--cell-day.-weekend- {
    color: red !important;
}

.datepicker--cell.-disabled- {
    cursor: default;
    color: #aeaeae !important;
}

.form-control.text-danger.error {
    border-color: red !important;
}

.select2-tag-container .select2-selection__rendered>.select2-search.select2-search--inline:first-child {
    width: 100% !important;
}

.select2-tag-container .select2-selection__rendered>.select2-search.select2-search--inline:first-child input {
    width: 100% !important;
}

.cursor-pointer {
    cursor: pointer;
}

#td_edit_appointment_popup .modal-footer .btn-group-lg>.btn,
#td_edit_appointment_popup .modal-footer .btn.btn-lg,
#td_schedule_appointment_popup .modal-footer .btn.btn-lg {
    min-width: 299px;
    line-height: 1.57;
}

@media (max-width:767.98px) {
    #td_edit_appointment_popup .modal-footer .btn-group-lg>.btn,
    #td_edit_appointment_popup .modal-footer .btn.btn-lg {
        min-width: 190px
    }
}

#td_edit_appointment_popup .modal-footer .btn-group-lg>.btn.td_btn_outline,
#td_edit_appointment_popup .modal-footer .btn.btn-lg.td_btn_outline {
    min-width: 190px
}

.td_appointment_record_submit_body {
    padding-left: 2rem;
    padding-right: 2rem;
}

.td_appointment_record_submit_popup_text {
    padding: 0px 45px;
}

.doc-item,
.indicator-item,
.lab-item {
    justify-content: space-between;
}

.doc-item-wrap .doc-item-title,
.indicator-item-wrap .indicator-item-title,
.lab-item-wrap .lab-item-title {
    width: auto !important;
    flex: none;
}

.doc-item-wrap .doc-item-date,
.indicator-item-wrap .indicator-item-date,
.lab-item-wrap .lab-item-date {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.doc-item-date p,
.doc-item-date span,
.indicator-item-date span,
.indicator-item-date a,
.indicator-item-date p,
.lab-item-date p,
.lab-item-date a,
.lab-item-date span {
    word-break: break-all;
}

.pt-tabs {
    height: calc(100% - 25px);
}

.pt-tabs .tab-content {
    height: calc(100% - 45px);
}

.pt-tabs .tab-content .tab-pane {
    height: 100%;
}

.max-height-480 {
    max-height: 480px;
}

.max-height-395 {
    max-height: 395px;
}

.height-600 {
    max-height: 600px;
    height: 600px;
}

.custom-close-button {
    padding-top: 0.25rem !important;
}

.custom-close-button span {
    font-size: 3rem;
    font-weight: 100;
}

.width-200 {
    width: 200px;
}

.clinic-dashboard-services-button i {
    font-size: 18px !important;
    margin-left: 6px !important;
}

#js-cd-clinic-dashboard-show-button i {
    font-size: 30px !important;
}

#js-cd-services-empty.d-none,
.js-cd-services-empty.d-none {
    display: none !important;
}

#js-cd-services-container.d-none,
.js-cd-services-container.d-none {
    display: none !important;
}

.ft-17 {
    font-size: 17px !important;
}

.advertisemet-link {
    max-height: 90px;
    display: block;
}

.advertisemet-link[data-screen="mobile"] {
    max-width: 320px;
}

.advertisemet-link[data-screen="desktop"] {
    max-width: 970px;
}

@media (max-width:360px) {
    .js-advertisement-container {
        max-width: 320px !important;
    }
}

.service-table-input {
    max-width: 100%;
    border: 1px solid grey;
}

.service-table-input:focus,
.service-table-input:active {
    border: 1px solid grey;
    outline-style: solid;
    outline-color: grey;
}

.input-validation-error,
.input-validation-error:focus,
.input-validation-error:active {
    border-color: red !important;
    border: 1px solid red !important;
    outline: -webkit-focus-ring-color red 1px;
}

input.text-danger.input-validation-error::placeholder,
input.text-danger.input-validation-error::-webkit-input-placeholder {
    color: red;
}

input.text-danger.input-validation-error:-ms-input-placeholder {
    color: red;
}

input.text-danger.input-validation-error::-ms-input-placeholder {
    color: red;
}

label.input-validation-error,
label.input-validation-error:focus,
label.input-validation-error:active {
    border: none !important;
    outline: none;
    /* 11px */
    font-size: 0.6875rem;
}

.form-group.top-eye .icon-eye {
    position: absolute;
    font-size: 1.5rem;
    right: 1rem;
    top: 0.5rem;
    cursor: pointer;
}

.form-group.bottom-eye .icon-eye {
    position: absolute;
    font-size: 1.5rem;
    right: 1rem;
    bottom: 0.5rem;
    cursor: pointer;
}

.empty-services-add-container {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .td_clinic_dashboard_services_table ul li:nth-of-type(1) {
        max-width: 40%;
        flex: 0 0 40%;
    }
}

@media (min-width: 768px) {
    .td_clinic_dashboard_services_table ul li:nth-of-type(2),
    .td_clinic_dashboard_services_table ul li:nth-of-type(3),
    .td_clinic_dashboard_services_table ul li:nth-of-type(4),
    .td_clinic_dashboard_services_table ul li:nth-of-type(5) {
        max-width: 15%;
        flex: 0 0 15%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .td_clinic_dashboard_services_table .td_add_prisciption_table_body:before {
        content: "Servicios";
        color: #fff;
        display: block;
        font-size: 14px;
        padding: 0.68rem;
        border-top: 1px solid #4a90e2;
        border-radius: 1rem 1rem 0 0;
        background-color: #1fabf4;
    }
}

.truncate-to-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.seal-sign-height {
    height: inherit;
}

.text-grey {
    color: #666666;
}

.td-page-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 41px;
    letter-spacing: -0.43px;
}


/* .td_dashboard_wrp .td_dash_section .td_section_top .td-page-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 41px;
    letter-spacing: -0.43px;
} */

@media (max-width:767px) {
    .td_dashboard_wrp .td_dash_section .td_section_top .td-page-subtitle {
        line-height: normal;
    }
}

.opacity-1 {
    opacity: 1 !important;
}

.btn-long {
    padding-left: 4rem;
    padding-right: 4rem;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.bold-placeholder::placeholder {
    font-weight: bold;
}

.bold-placeholder::-webkit-input-placeholder {
    font-weight: bold;
}

.bold-placeholder:-ms-input-placeholder {
    font-weight: bold;
}

.bold-placeholder::-ms-input-placeholder {
    font-weight: bold;
}

.flex-direction-column {
    flex-direction: column;
}

.max-width-100 {
    max-width: 100% !important;
}

.break-all {
    word-break: break-all;
}

.no-data-page-text {
    max-width: 600px;
}

.no-patients-data-page-text {
    max-width: 700px;
}

.no-prescriptions-data-page-text {
    max-width: 800px;
}

@media (max-width: 577px) {
    .overflow-x-sm-scroll {
        overflow-x: scroll;
    }
    .td_cd_income_graph {
        width: 600px !important;
    }
}

.td_cd_income_graph {
    width: 100%;
    height: 400px;
}

.js-cd-income-graph-container {
    overflow-y: hidden;
}

.fc-timeGrid-view .fc-today .tag {
    background-color: #1fabf4;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    border-radius: 45px;
}

.td_modal .modal-body .td_dash_pop_content .td_prescription_authorization_container .td_prescription_authorization {
    font-size: 6px;
    position: relative;
}

.td_prescription_template_authorization_hr {
    width: 100px;
    margin-bottom: 1px;
    margin-top: 0;
}

.td_prescription_todosalud-logo {
    width: 130px;
}

.td_user_img {
    background-color: white;
}

.fc-icon.fc-icon-chevron-left,
.fc-icon.fc-icon-chevron-right {
    font-weight: bolder;
}

.td_add_new_patient .td_patient_insurace_list .not-selected {
    opacity: 0.35;
}

.td_add_new_patient .td_patient_insurace_list .not-selected .custom-control {
    opacity: 0.5;
}


/* .js-select-custom-paceholder-container .select2-selection__rendered .select2-search.select2-search--inline input::placeholder{
    font-size:1rem;
}
.js-select-custom-paceholder-container .select2-selection__rendered .select2-search.select2-search--inline input::-webkit-input-placeholder{
    font-size:1rem;
}
.js-select-custom-paceholder-container .select2-selection__rendered .select2-search.select2-search--inline input:-ms-input-placeholder{
    font-size:1rem;
}
.js-select-custom-paceholder-container .select2-selection__rendered .select2-search.select2-search--inline input::-ms-input-placeholder{
    font-size:1rem;
} */

.word-break-break-word {
    word-wrap: break-word;
}

.height-auto {
    height: auto;
}

@media (max-width: 767.98px) {
    .td_event_calendar_wrap .fc-time-grid .fc-event:not(.td_appointment) {
        height: auto;
        border-radius: 0;
        margin: 0;
    }
    #td_pa_conditions_data #food_allergies_select+.select2-container .select2-selection,
    #td_pa_conditions_data #medicine_allergies_select+.select2-container .select2-selection {
        height: auto;
        min-height: auto;
    }
    #td_pe_conditions_data #td_pe_food_allergies_select+.select2-container .select2-selection,
    #td_pe_conditions_data #td_pe_medicine_allergies_select+.select2-container .select2-selection {
        height: auto;
        min-height: auto;
    }
}

@media (min-width: 767.99px) {
    #td_pa_conditions_data #food_allergies_select+.select2-container .select2-selection,
    #td_pa_conditions_data #medicine_allergies_select+.select2-container .select2-selection {
        height: auto;
        min-height: auto;
    }
    #td_pe_conditions_data #td_pe_food_allergies_select+.select2-container .select2-selection,
    #td_pe_conditions_data #td_pe_medicine_allergies_select+.select2-container .select2-selection {
        height: auto;
        min-height: auto;
    }
}

#td_pe_conditions_data #td_pe_medical_conditions_select+.select2-container .select2-selection,
#td_pe_conditions_data #td_pe_medicines_select+.select2-container .select2-selection {
    height: auto;
    min-height: auto;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.td_event_calendar_wrap .fc-event .fc-title {
    max-width: 60%;
}

.clinic-logo {
    height: 55px;
    max-width: 300px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    #td_prescr_preview_popup .td_dash_pop_content {
        width: 500px;
    }
    .modal-body {
        overflow: auto;
    }
}

.bg-light-red {
    background-color: #ffe9e8 !important;
}

.text-light-green {
    color: #4cd964 !important;
}

.white-select2 .select2-container--default .select2-selection--single {
    background-color: white;
}

.td_edit_patient_insurance .form-group span.align-middle {
    font-size: 12px;
    max-width: 125px;
    color: #8c8c8c;
    text-align: center;
}

#td_pa_conditions_data #medical_conditions_select+.select2-container .select2-selection,
#td_pa_conditions_data #medicines_select+.select2-container .select2-selection {
    height: auto !important;
}

.select2-search__field:disabled {
    opacity: 0;
}

.fc-dayGridMonth-view .fc-bgevent-skeleton {
    pointer-events: none;
}

.fc-dayGridMonth-view .fc-bgevent-skeleton .fc-bgevent {
    pointer-events: auto;
}

.fc-dayGridMonth-view .fc-content-skeleton {
    pointer-events: none;
}

.fc-dayGridMonth-view .fc-content-skeleton .fc-event {
    pointer-events: auto;
}

.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after {
    /**
    This is for hiding the resize "=" that appears when hovering over an appointment
    in fullcalendar
    */
    display: none;
}

.td_dashboard_wrp .td_dash_section .td_dash_content .td_doctList_wrp .td_no_doc_wrp .no-prescriptions-page-button {
    min-width: 200px;
}

.btn-grey-when-disabled:disabled {
    background-color: #F4F5F7;
    opacity: 1;
}

.btn-grey-when-disabled:disabled:hover {
    background-color: #F4F5F7;
    color: #8c8c8c;
    border-color: #7c7c7c;
    opacity: 1;
}

input.select2-search__field:focus {
    color: #404040;
    background-color: #fff;
    border-color: #99d9fa;
    outline: 0;
    box-shadow: 0 0 0 0.12rem rgb(31 171 244 / 25%);
}

.hover-pointer {
    cursor: pointer;
}

#td_event_popup .modal-body ul {
    max-height: none;
    overflow: unset;
}

.modal.scrollable-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.font-weight-600 {
    font-weight: 600;
}
