/* My Changes */

.card-info:not(.card-outline) .card-header {
    background-color: #147b8d;
}

.bg-info {
    background-color: #147b8d !important;
}

.bg-success {
    background-color: #67ad81 !important;
}

.badge-success {
    background-color: #67ad81 !important;
}

.bg-danger {
    background-color: #d67a69 !important;
}


.bg-warning {
    background-color: #f9e5be !important;
}

.btn-warning {
    background-color: #d56d20;
    border-color: #d56d20;
    color: #fff;
}

.btn-warning:hover {
    background-color: #d56d20d4;
    border-color: #d56d20d4;
    color: #fff;
}

.btn-primary {
    background-color: #147b8d;
    border-color: #147b8d;
}

.btn-info {
    background-color: #147b8d;
    border-color: #147b8d;
}

.btn-info:hover {
    background-color: #147b8de6;
    border-color: #147b8de6;
}


.btn-primary:hover {
    background-color: #147b8de6;
    border-color: #147b8de6;
}

.btn-outline-primary {
    color: #147b8de6;
    /*background-color: #147b8de6;*/
    border-color: #147b8de6;
}

.btn-outline-primary:hover {
    background-color: #147b8de6;
    border-color: #147b8de6;
}

.badge-primary {
    background-color: #147b8d !important;
}

.content-wrapper {
    background: #ededf1;
}

.layout-fixed .brand-link span.brand-text.font-weight-light {
    color: #147b8d;
    font-size: 16px;
}

.info.my-auto {
    color: #147b8d;
}

footer.main-footer a {
    color: #147b8d;
}

.os-content {
    padding: 0 !important;
}

.sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #e9ebf0;
    border-radius: 5px;
    color: #394867;
    box-shadow: none;
    /*box-shadow: 4px 4px 5px rgb(0,0,0,0.275);*/
}

.nav-sidebar>.nav-item {
    padding: 0 10px;
    margin-bottom: 10px;
}

.nav-sidebar .nav-item>.nav-link {
    text-transform: uppercase;
    padding: 7px 1rem;
    border-radius: 5px;
    /*box-shadow: 0 0 5px rgb(0,0,0,0.175);    */
    /* border-bottom: 1px solid #ccc; */
}

.navbar-light .navbar-nav .nav-link {
    color: #147b8d;
}

.elevation-4 {
    box-shadow: 10px 0 5px rgb(0 0 0 / 10%) !important;
}

.nav-sidebar .nav-item>.nav-link:hover {
    color: #147b8d;
}
.dropdown-item:active {
    background-color: #147b8d;
    color: #fff !important;
}

ul#myTab>li>button {
    border: 1px solid #147b8d;
    margin-right: 5px;
    color: #147b8d;
    margin-bottom: 5px;
    outline: none;
    border-radius: 5px;
}

ul#myTab>li>button:hover {
    background-color: #147b8d;
    color: #fff;
}

ul#myTab>li>button.active {
    background-color: #147b8d;
    color: #fff;
}

.treatment-wrapper .card img.card-img-top {
    height: 250px;
    object-fit: cover;
}

.treatment-wrapper .card h5 {
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000c2;
}

.treatment-wrapper .card h6 {
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000c2;
    float: none;
}

.treatment-wrapper .card p {
    color: gray;
}

.treatment-wrapper .card span {
    color: gray;
    display: block;
    margin-bottom: 20px;
}

.treatment-wrapper .card p span {
    display: inline-block;
    margin: 0;
}

.treatment-wrapper .card .btn-wrap {
    text-align: right;
}


.treatment-wrapper .card {
    width: 31%;
    float: left;
    margin: 0 1%;
}

.content-header .breadcrumb li a {
    color: #147b8d !important;
}

.sidebar-logo {
    position: relative;
}

.sidebar-logo i.far.fa-times {
    position: absolute;
    right: 14px;
    top: 14px;
    color: #147b8d;
    cursor: pointer;
    font-weight: bold;
    font-size: 26px;
}

.sidebar-collapse .sidebar-logo i.far.fa-times {
    display: none;
}

.navbar-expand .navbar-nav .dropdown-menu .u-img img {
    width: 55px;
}

.navbar-expand .navbar-nav .dropdown-menu h4 {
    font-size: 1rem;
    color: #147b8d;
}

.navbar-expand .navbar-nav .dropdown-menu p {
    margin-bottom: 10px;
}

.navbar-expand .navbar-nav .dropdown-menu h4+p+a {
    background: #147b8d;
    border-color: #147b8d;
    width: 100%;
}

.navbar-expand .navbar-nav .dropdown-menu a.dropdown-item {
    color: #343a40;
    font-size: 14px;
}

.login-page {
    background-image: none;
}

.card-primary.card-outline {
    border-top: 0;
}

.identColor {
    color: #147b8d !important;
}

.login-page .login-box input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid #147b8d96;
    padding-left: 10px;
}

.login-page .login-box .input-group {
    position: relative;
}

.login-page .login-box .input-group:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #147b8d;
    height: 2px;
    z-index: 9999;
    transition: all 0.4s ease;
}

.login-page .login-box .input-group.active:before {
    width: 100%;
}

.login-page .login-box {
    max-width: 500px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-page .login-box button.btn-primary {
    width: 200px;
    margin: 0 auto;
}

.login-page .login-box .input-group.mb-3 {
    margin-bottom: 30px !important;
}

.login-wrapper {
    width: 95%;
    display: flex;
    height: 95vh;
    background: #fff;
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
    border-radius: 10px;
}

.login-wrapper .left {
    width: 50%;
}

.login-wrapper .right {
    width: 50%;
    background: #147b8d;
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    justify-content: center;
}

.login-wrapper .right h2 {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 30px;
}

.login-wrapper .right p {
    font-size: 30px;
    letter-spacing: 2px;
}

.login-wrapper .right a {
    color: #147b8d;
    border: 1px solid;
    border-radius: 20px;
    padding: 10px 30px;
    background: #fff;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

.login-wrapper .login-boxx .card {
    box-shadow: none;
}

.login-wrapper .login-boxx .card .card-header {
    border: 0;
}

.sidebar-logo span {
    color: #147b8d;
    font-weight: bold !important;
    text-transform: uppercase;
}

.login-boxx {
    width: 60%;
    margin: 0 auto;
    margin-top: 20%;
}

.login-wrapper .left form .input-group {
    margin-bottom: 40px !important;
}

.login-wrapper .left form .input-group input {
    outline: none;
    border: 0;
    background: #ededed;
    width: 100%;
    padding: 13px 20px;
    border-radius: 40px;
}

.login-wrapper .left form button {
    width: 200px;
    margin: 0 auto;
    padding: 13px 0px;
    border-radius: 40px;
    margin-top: 30px;
}

/*
.main-sidebar {
width: 300px;
}

body:not(.sidebar-mini-md) .content-wrapper {
margin-left: 300px;
} */

.btn-primary:not(:disabled):not(.disabled).active {
    background-color: #147b8d;
    border-color: #147b8d;
}

/**/

div#schedule_popup .modal-header {
    background: #147b8d;
    color: #fff;
}

div#schedule_popup .modal-header span {
    color: #fff;
    opacity: 1;
}

div#schedule_popup .modal-header h5 {
    font-size: 14px;
}

div#schedule_popup .modal-header button.close {
    outline: none;
}

div#schedule_popup .modal-body button {
    background-color: #fff;
    outline: none;
    border: 1px solid #147b8d;
    color: #147b8d;
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 5px;
}

.schedule_popup_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.schedule_popup_inner>div {
    width: 49%;
}

/*.schedule_popup_inner>div.left {
    border-bottom: 1px solid #ccc;
}*/

div#schedule_popup .modal-body button:hover {
    border: 1px solid #147b8d;
    background-color: #147b8d;
    color: #fff;
}

.schedule_popup_inner>div.left .patient-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule_popup_inner>div.left .patient-details select.form-control {
    width: auto;
}

.schedule_popup_inner>div.left .tbns {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.schedule_popup_inner>div.left .patient-details+p {
    text-align: center;
    margin: 20px 0;
}

.schedule_popup_inner>div.left .patient-details+p a {
    color: #147b8d;
}

.schedule_popup_inner h5 {
    padding: 10px 10px;
    background: #f4eecf;
    font-size: 14px;
    color: #d56d20;
}

.schedule_popup_inner h5 a {
    color: #147b8d;
}

.schedule_popup_inner>div.left .details p {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.schedule_popup_inner>div.left .details .time {
    margin-bottom: 20px;
}

.schedule_popup_inner>div.left .details .time time {
    display: block;
}

.schedule_popup_inner>div.rigth {
    border-left: 1px solid #ccc;
    padding-left: 10px;
}

.schedule_popup_inner>div.rigth .form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: center;
}

.schedule_popup_inner>div.rigth .form-group select,
.schedule_popup_inner>div.rigth .form-group textarea {
    width: auto;
    font-size: 14px;
}

.schedule_popup_inner>div.rigth .form-group p {
    margin-bottom: 0;
}

.schedule_popup_inner>div.rigth .form-group label {
    color: #4a3f3f !important;
    font-size: 12px;
}

.schedule_popup_inner>div.rigth .form-group .radios {
    display: flex;
}

div#schedule_popup .modal-dialog>.modal-content {
    height: 100%;
}

.schedule_popup_inner>div.rigth th,
.schedule_popup_inner>div.rigth td {
    text-align: center;
}

div#schedule_popup .modal-dialog>.modal-content {
    height: 100%;
    background-color: #fff;
    box-shadow: none;
}

.nav-sidebar .nav-item>.nav-link .right {
    transform: rotate(180deg);
    top: 14px;
}

.dropdown-menu-lg {
    min-width: 280px !important;
}

.nav-sidebar .menu-open>.nav-treeview li.nav-item {
    margin-bottom: 10px;
    margin-top: 10px;
}

#t1 th {
    background-color: #147b8d;
    border-color: #147b8d;
}
.top_header_inner {
    display: flex;
    align-items: center;
    padding: 20px 0;
    justify-content: space-between;
}

.doctor_top_header {
    background: #fff;
}

.top_header_inner .profile {
    border-right: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
}

.top_header_inner .profile img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    margin-right: 10px;
}

.top_header_inner .profile .text span {
    display: block;
    color: #147b8d;
    font-weight: bold;
}

.top_header_inner > .left {
    display: flex;
}

.top_header_inner > .left .location {
    padding: 0 10px;
    border-right: 1px solid #ccc;
}

.top_header_inner > .left .location p {
    color: #147b8d;
    font-weight: bold;
    margin-bottom: 4px;
}

.top_header_inner > .left .location .progress > div {
    display: block;
    background-color: gray;
}

.top_header_inner > .left .location .status {
    display: flex;
}

.top_header_inner > .left .location .status_inner {
    margin-right: 10px;
    font-size: 10px;
    display: flex;
    align-items: center;
    color: gray;
}

.top_header_inner > .left .location .status_inner span.bg {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #6eb941;
    margin-right: 3px;
}

.top_header_inner > .left .location .status_inner span.bg.orange {
    background: #ff5400;
}

.top_header_inner > .left .location .status_inner span.bg.gray {
    background: gray;
}

.top_header_inner > .left .location .progress {
    margin: 10px 0;
}

.top_header_inner > .left .date {
    padding: 0 10px;
}

.top_header_inner > .left .date p span {
    font-weight: bold;
    color: #000000bf;
    font-size: 16px;
}

.top_header_inner > .left .date p i {
    margin-left: 5px;
}

.top_header_inner > .right {
    display: flex;
}

.top_header_inner > .right .cards {
    padding: 10px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-right: 10px;
    display: flex;
    align-items: center;
    color: #147b8d;
    cursor: pointer;
}

.top_header_inner > .right .cards .number {
    border-right: 1px solid #ccc;
    padding: 0px 5px;
    margin-right: 10px;
}

.top_header_inner > .right .cards .number span {
    font-size: 20px;
    font-weight: bold;
}

.top_header_inner > .right .cards .text span {
    display: block;
}

.top_header_inner > .right .cards .text span:first-child {
    font-weight: bold;
}

.top_header_inner > .right .cards.active > label{
    background: #147b8d;
    border: 1px solid #147b8d;
    color: #fff;
}

.print {
    background: #b8d2d26b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    color: gray;
}

.print p {
    margin-bottom: 0;
}

.print p a {
    color: #147b8d;
    margin-left: 10px;
    font-weight: bold;
}

.print .right {
    display: flex;
}

.print .right a {
    color: #147b8d;
    margin-left: 10px;
    font-weight: bold;
}

.print .right .form-check input {
    margin-left: -20px !important;
    top: 4px;
}

.table_upper_wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.table_upper_wrapper > .left {
    width: 40%;
    padding: 10px 10px;
    order: 2;
}

.table_upper_wrapper > .right {
    width: 100%;
    padding: 10px 10px;
}

.table_upper_wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.table_upper_wrapper ul > li {
    margin-bottom: 10px;
}

.table_upper_wrapper ul > li > a {
    color: #147b8d;
}

.table_upper_wrapper > .left table.table.table-bordered {
    border: 0;
}

.table_upper_wrapper > .right table.table.table-bordered {
    /*border: 0;*/
}
.table_upper_wrapper > .right table.table.table-bordered select {
    font-size: 16px;
}

.table_upper_wrapper > .right table.table.table-bordered th,
.table_upper_wrapper > .right table.table.table-bordered td {
    /*border: 0;*/
    border-bottom: 1px solid #ccc;
    color: #504949;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:first-child,
.table_upper_wrapper > .right table.table.table-bordered tbody tr td:nth-child(2) {
    color: #147b8d;
    font-weight: bold;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:nth-child(3) select {
    border: 0;
    background: transparent;
    color: #147b8d;
    font-weight: bold;
    outline: none;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child {
    border-left: 1px solid #ccc;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child div p {
    margin: 0;
    max-width: 75%;
    font-weight: bold;
    color: #504949;
    padding-right: 40px;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child a {
    border: 0;
    outline: none;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #147b8d;
    color: #fff;
    font-size: 14px;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child div p span.green {
    color: #67ad81;
}

.table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child div p span.orange {
    color: #ff5400;
}

.modal-header {
    background: #147b8d;
    color: #fff;
}

div#text_to_pay .modal-header h5 {
    font-size: 14px;
}

div#text_to_pay .modal-header button.btn-close {
    background: transparent;
    border: 0;
    outline: none;
    font-size: 30px;
    padding: 0;
    color: #fff;
    height: 0;
    position: relative;
    top: -13px;
}

div#text_to_pay .modal-footer button.btn.btn-secondary {
    background-color: #d56d20;
    border-color: #d56d20;
    color: #fff;
}

div#text_to_pay p {
    font-weight: bold;
}

div#text_to_pay .check_inner {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

div#text_to_pay .check_inner .form-check input {
    margin-left: -18px !important;
}

div#text_to_pay .check_inner .form-check label {
    position: relative;
    top: -4px;
}

.nav-sidebar>.nav-item .nav-icon {
    /*border: 1px solid #147b8d;*/
    color: #5d6774;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-sidebar .menu-open>.nav-treeview li a i {
    border: 1px solid #147b8d;
    color: #147b8d;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    font-size: 10px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


div.common_modal {
    display: block !important;
    opacity: 1 !important;
    transform: translateX(-100%);
    transition: all 0.4s ease;
    overflow-y: hidden !important;
}

/* .modal-open
div.common_modal {
transform: translateX(0);
} */

.modal-open .modal.show{
    transform: translateX(0);
}

div.common_modal .modal-dialog {
    width: 100%;
    max-width: 70%;
    margin: 0;
    overflow-y: auto;
    height: 100%;
    pointer-events: auto;
    background-color: #fff;
}

div.common_modal .modal-content {
    height: 100%;
    background-color: #fff;
    box-shadow: none;
    border: 0;
}

div.common_modal .modal-header {
    background: #147b8d;
    color: #fff;
    border-radius: 0;
}

div.common_modal .modal-header button {
    outline: none;
    border: 0;
    background: transparent;
    font-size: 30px;
    padding: 0;
    color: #fff;
}

div.common_modal table tr th .form-control {
    width: 150px;
    height: 30px;
}


.modal.common_modal td a {
    color: #147b8d;
}

.modal.common_modal td {
    text-align: center;
    color: #4f4949;
}

.modal.common_modal th {
    vertical-align: top;
    color: #4f4949;
}


.stretch-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
}

.card.card-img-holder {
    position: relative;
}

.stretch-card > .card {
    width: 100%;
    min-width: 100%;
}

.bg-gradient-danger {
    background: #d67a69 !important;
}


.card.bg-gradient-info {
    background: #67ad81 !important;
}


.bg-gradient-success {
    background: #147b8d !important;
}

.card.card-img-holder .card-img-absolute {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.chart_wrap{
    margin-top: 0;
    padding:0 15px;
}

.chart_wrap .chart canvas#myChart {
    width: 100% !important;
    height: auto !important;
}

.chart_wrap .card.mb-3 {
    width: 100%;
}

.main-sidebar .user-panel p {
    width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 0;
}

.main-sidebar .user-panel p span {
    display: inline-block;
    background: #e9ebf0;
    border-radius: 20px;
    padding: 4px 20px;
    color: #394867;
}

#custom-opacity-sidebar{
    opacity: 1;
}


section.content-header + .row .card {
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    border-radius: 10px;
    margin-bottom: 50px;
}

section.content-header + .row .card .card-header {
    border: 0;
}

section.content-header + .row .card .right table td button {
    background-color: rgba(0,0,0,.1);
    border: 1px solid rgba(0,0,0,.1);
    color: #212529;
    font-size: 11px;
}


.top_header {
    background: #147b8d;
    border-radius: 6px;
    padding: 0 15px;
    color: #fff;
    margin-bottom: 20px;
}

.top-header-inner {
    padding: 15px 0;
}

.top-header-inner p {
    margin: 0;
    font-size: 19px;
}

.row.patient .card {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
}

.row.patient .card > div {
    flex: 1;
    padding: 60px 15px;
}

section.content-header + .row .card .left {
    text-align: center;
    border-right: 1px solid #ccc;
}

section.content-header + .row .card .left h6 {
    font-size: 25px;
    font-weight: bold;
    color: #463f3f;
    margin: 0;
}

section.content-header + .row .card .left span {
    font-size: 30px;
    font-weight: bold;
    color: #ff4900c9;
}


section.content-header + .row .card .right table {
    width: 100%;
}


.content-wrapper {
    background: #fff;
}

.upcoming-appts h4 {
    margin-bottom: 40px;
    font-size: 20px;
}

.upcoming-appts .item {
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}

.upcoming-appts .item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #443e3e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.upcoming-appts .item .text {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.upcoming-appts .item .text h6 {
    font-weight: bold;
    color: #443e3e;
}

.upcoming-appts .item .text p {
    margin: 20px 0;
    color: #443e3e;
}

.upcoming-appts .item .text span {
    display: inline-block;
    padding: 5px 10px;
    background: #efc4cb;
    border-radius: 4px;
}

.upcoming-appts .item button.btn.btn-success {
    border: 1px solid #147b8d;
    background-color: #147b8d;
}

.upcoming-appts {
    margin-bottom: 20px;
}

section.content-header {
    background: #147b8d;
    color: #fff;
    padding:20px 0.5rem;
    margin-top: 20px;
    border-radius: 5px;
}

section.content-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.content-header .breadcrumb li a {
    color: #fff !important;
}

section.content-header li {
    color: #c9c1c1 !important;
}

section.content-header + .row {
    margin-top: 20px;
}

.chart_wrap .card.mb-3 {
    box-shadow: 0 0 20px rgb(0 0 0 / 15%);
}


form#patientForm .form-group button {
    border: 1px solid #147b8d;
    margin-right: 5px;
    margin-bottom: 5px;
    outline: none;
    background-color: #147b8d;
    color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
}

form#patientForm {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

form#patientForm > .left {
    width: 48%;
    border: 0;
    text-align: left;
}

form#patientForm > .right {
    width: 48%;
}

.form-group label {
    font-weight: normal !important;
    color: #504949 !important;
    margin-bottom: 5px;
}

form#patientForm > .left .form-check {
    padding: 0;
    margin-top: 20px;
}

form#patientForm  .form-check label {
    margin-left: 20px;
    position: relative;
    top: -3px;
}


form#patientForm .form-group .inner-group {
    display: flex;
    justify-content: space-between;
}

form#patientForm .form-group .inner-group input.form-control {
    width: 45%;
}

form#patientForm .form-group {
    margin-bottom: 5px !important;
}

form#patientForm .form-check label {
    font-weight: bold !important;
}

form#patientForm > .left > div,form#patientForm > .right > div {
    margin-bottom: 20px;
    border: 0;
    padding: 10px;
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
    border-radius: 6px;
}

form#patientForm > .left .family-relation .selects {
    display: flex;
    justify-content: space-between;
}

form#patientForm > .left .family-relation .selects > .form-group {
    flex: 1;
    margin: 0 10px;
}

.family-relation .form-group.added-items .added-relations {
    border: 1px solid #ccc;
    min-height: 100px;
    width: 50%;
    margin-bottom: 20px;
    border-radius: 4px;
    padding: 4px;
}

.family-relation .form-group.added-items .added-relations span {
    font-size: 15px !important;
    font-weight: normal !important;
    color: gray !important;
    display: inline-block;
    padding: 5px 10px;
    background: #fff;
    box-shadow: 0 0 4px rgb(0 0 0 / 30%);
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
    margin-bottom: 5px;
}

.family-relation .form-group.added-items .added-relations span i{
    cursor: pointer;
}

form#patientForm > .right h5 {
    margin-bottom: 30px;
}

form#patientForm > .right .form-check {
    padding: 0;
}

form#patientForm > .right .buttons {
    text-align: center;
}

form#patientForm > .right .buttons button {
    border: 1px solid #147b8d;
    margin-right: 5px;
    outline: none;
    background-color: #147b8d;
    color: #fff;
    border-radius: 4px;
    padding: 8px 20px;
}

div#other h5 {
    margin-top: 20px;
}

form#patientForm > .right .students-status {
    margin-bottom: 30px;
}

form#patientForm > .right .students-status .form-check {
    align-items: center;
}

form#patientForm > .right .students-status .form-check label {
    position: relative;
    top: 1px;
    color: #504949 !important;
    margin-left: 10px;
}

.row.p_information .card {
    margin: 0 10px;
}

b, strong {
    font-weight: bold !important;
}

.bottom_table_wrapper {
    display: flex;
}

.bottom_table_wrapper table {
    border: 0;
}

.bottom_table_wrapper > .card:first-child {
    margin-right: 50px;
}

.row.p_information {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.row.p_information table.table-bordered {
    border: 0;
}


section.content-header h3 a {
    border: 1px solid #fff;
}

section.content-header h3 a:hover {
    background-color: #fff;
    color: #147b8d;
}


form#dentalClinicForm .form-group .input-group-prepend {
    display: none;
}


.row.permissions form .role-form-ambi {
    position: relative;
}

.row.permissions form .custom-padding-top-5 {
    margin-bottom: 10px;
    margin-top: 20px;
}

.row.permissions form .role-form-ambi label {
    width: 100px;
    height: 40px;
    border: 1px solid #147b8d;
    text-align: center;
    border-radius: 4px;
    color: #147b8d !important;
    cursor: pointer;
}

.row.permissions form .role-form-ambi label:before {
    content: none;
}

.row.permissions form .role-form-ambi input {
    position: absolute;
    top: 15px;
    left: 40px;
}

.row.permissions form .role-form-ambi input:checked ~ label {
    color: #fff !important;
    border: 1px solid #147b8d;
    background-color: #147b8d;
}

.row.permissions form .role-form-ambi label span {
    position: absolute;
    left: 2px;
    top: -4px;
    display: none;
}

.row.permissions form .role-form-ambi input:checked ~ label > span {
    display: inline-block;
}
.row.permissions form .custom-padding-top-5 h4 {
    color: #484343;
    font-size: 19px;
}

form#departmentForm .input-group.mb-3 .input-group-prepend {
    display: none;
}
.input-group-prepend {
    display: none;
}

.navbar-expand .navbar-nav .dropdown-menu {
    border: 0;
}

.navbar-expand .navbar-nav .dropdown-menu a.dropdown-item {
    color: #147b8d;
    padding: 0.8rem 1rem;
    background: #fcfcfc;
}

.navbar-expand .navbar-nav .dropdown-menu a.dropdown-item:hover {
    background: #147b8d;
    color: #fff;
}

input.btn.btn-outline.btn-rounded.btn-success.btn-lg {
    background-color: #147b8d;
    border: 1px solid #147b8d;
}


.dash_menus {
    margin: 30px 0 15px;
}

.dash_menus > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.dash_menus > ul > li > a {
    color: #147b8d;
    background: #fff;
    padding: 10px 10px;
    display: block;
    border-radius: 7px;
    border: 1px solid #147b8d;
    transition: all 0.4s ease;
}

.dash_menus > ul > li {
    margin-right: 5px;
    margin-bottom: 10px;
}

.dash_menus > ul > li > a:hover,.dash_menus > ul > li.active > a {
    background: #147b8d;
    color: #fff;
}

.form-group a.btn.btn-outline.btn-warning.btn-lg {
    padding: 0.4rem 1rem;
    font-size: 1.05rem;
}


span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.form-group input.btn.btn-outline.btn-info.btn-lg {
    padding: 0.4rem 1rem;
    font-size: 1.05rem;
}
.nav-sidebar .nav-treeview li.nav-item > a {
    text-transform: uppercase;
    padding: 7px 1rem;
    border-radius: 0;
    box-shadow: none;
    background: transparent !important;
    font-size: 12px;
}

.nav-sidebar .nav-treeview li.nav-item > a > i {
    border: 0;
    font-size: 15px !important;
}

.nav-sidebar .nav-treeview li.nav-item {
    padding-left: 10px;
}

.nav-sidebar .nav-treeview li.nav-item > a:hover {
    background-color: rgba(0,0,0,.1);
    color: #007bff;
}

.columns-wrapper .columns button,
div#movements .top .common .increDecre-wrapper > div button,
div#movements .bottom .clear-movement button,
div#movements .bottom .apply button,
div#planned .topbar-btns button,
div#show .lf-wrapper button {
    background: #147b8d !important;
}


/*New Changes 2-12-2022 Friday 12:10 PM*/

div#showSingleAppointmentDetails .modal-header {
    color: white;
    background-color: #147b8d;
}

div#showSingleAppointmentDetails button.close {
    color: white;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
 .btn-outline-primary:not(:disabled):not(.disabled):active, 
 .show>.btn-outline-primary.dropdown-toggle{
    color: #ffffff;
    background-color: #0a3e47;
    border-color: #0a3e47;
}

.schedule_popup_inner>div.left {
    width: 30%;
}

.schedule_popup_inner>div.rigth {
    width: 69%;
}
.schedule_popup_inner .form_wrapper_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.schedule_popup_inner .form_wrapper_row > div {
    width: 49%;
}

.appoinment_sttus_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.appoinment_sttus_content textarea {
    width: 100% !important;
}

.copy_to_clipboard label {
    margin-left: 5px;
}

.schedule_popup_inner .form_wrapper_row h5 {
    background: #147b8d;
    color: #fff;
}

.form_wrapper_bottom_row {
    border-top: 2px solid #ccc;
    padding-top: 20px;
    margin-top: 10px;
}

.form_wrapper_bottom_row ul {
    padding: 0;
    margin: 0;
    list-style: none;
    border: 0;
}

.form_wrapper_bottom_row .right_sec ul {
    display: flex;
    align-items: center;
}

.form_wrapper_bottom_row .row_bottom_header {
    display: flex;
    justify-content: space-between;
    background: #e5e5e5;
    padding: 10px 10px;
}

.form_wrapper_bottom_row .right_sec ul > li:not(:last-child) {
    margin-right: 5px;
}

.form_wrapper_bottom_row li.nav-item:not(:last-child) {
    margin-right: 5px;
}
.row_bottom_footer {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 20px;
}

.row_bottom_footer ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.row_bottom_footer ul > li:not(:last-child) {
    margin-right: 5px;
}

div#schedule_popup .modal-dialog>.modal-content {
    border: 0;
}
.form_wrapper_bottom_row li.nav-item button {
    margin-top: 5px !important;
}

.form_wrapper_bottom_row .right_sec ul > li button {
    margin-top: 5px !important;
}
.row_bottom_body {
    min-height: 200px;
    border: 1px solid #ccc;
}

.tab_inner_content{
    padding: 0 15px
}

.schedule_popup_inner>div.rigth .form-group label {
    margin-bottom: 0;
    padding: 0;
    font-size: 13px !important;
}

.schedule_popup_inner>div.rigth .form-group {
    margin-bottom: 0;
}

div#schedule_popup .modal-body button button[disabled] {
    background: gray;
}

div#schedule_popup .modal-body button[disabled] {
    background-color: #dbdbdb;
    border: 1px solid #dbdbdb;
    color: #726e6e;
}
.details {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
}

.details > * {
    margin-bottom: 10px;
}
.schedule_popup_inner>div.rigth .form-group select {
    height: 28px;
}


.treatment_chart .top_content h3 {
    color: white;
    background-color: #147b8d;
    padding: 5px 10px;
    margin: 0;
    font-size: 15px;
}

.treatment_chart .top_content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.treatment_chart .top_content ul > li > a {
    padding: 8px 10px;
    display: block;
    border-top: 1px solid #ccc;
}

.treatment_chart .top_content ul {
    border: 1px solid #ccc;
    height: calc(400px - 153px);
    overflow-y: auto;
}

.treatment_chart .top_content {
    display: flex;
}

.treatment_chart .top_content > div {
    flex: 1;
}

.treatment_chart .bottom_table {
    margin-top: 3px;
    overflow: auto;
    max-height: 152px;
}

.treatment_chart .bottom_table table {
    width: 100%;
}

.treatment_chart .bottom_table table thead tr td {
    padding: 8px 10px;
    color: white;
    background-color: #147b8d;
    text-align: center;
}

.treatment_chart .bottom_table table td {
    border: 1px solid #ccc;
}

.treatment_chart .bottom_table table tbody tr td {
    padding: 8px 10px;
    color: #333;
    background-color: #d9ffe987;
    text-align: center;
}

.treatment_chart .bottom_table table tbody tr td i.fa-times {
    color: #ff6e6e;
}
.treatment_chart .bottom_table table tbody tr td span {
    margin-left: 10px;
}

.treatment_chart .top_content ul::-webkit-scrollbar{
    width: 10px;
}

.treatment_chart .top_content ul::-webkit-scrollbar-track{
    background-color: #c3b6b6;
}

.treatment_chart .top_content ul::-webkit-scrollbar-thumb{
    background-color: rgb(199, 198, 198);
    border-radius: 30px;
}

.treatment_chart .filter {
    padding: 8px 10px;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treatment_chart .filter a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 30px;
    border-radius: 4px;
    color: #333;
    border: 1px solid #fe7474;
    background: #ffe4b3;
}
.treatment_chart .filter select {
    width: 165px;
    border-radius: 4px;
    padding: 4px 5px;
    height: auto;
    font-size: 13px;
    margin-right: 5px;
}

.treatment_chart .top_content .treatments ul > li:first-child > a {
    border: 0;
}

.treatment_chart .top_content .treatments ul {
    height: calc(400px - 206px);
}

div#showSingleAppointmentDetails {
    padding-left: 0 !important;
}

.treatment_chart .bottom_table table thead {
    position: sticky;
    top: 0;
    left: 0;
}

.modal:not(.second_date_picker, .info_modal, .print_modal) {
    display: block !important;
    opacity: 1 !important;
    transform: translateX(-100%);
    transition: all 0.4s ease;
    overflow-y: hidden;
}

.modal.show {
    transform: translateX(0);
}

.modal .modal-dialog {
    width: 100%;
    max-width: 70%;
    margin: 0;
    overflow-y: auto;
    height: 100%;
    pointer-events: auto;
    background-color: #fff;
}

input#search_date {
    width: 280px;
}
div#findslot_modal .filter input[type="radio"]:checked + span {
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid lightgray;
    background-color: #efefef;
    border-radius: 2px;
    box-shadow: 2px 2px 0.3rem rgb(0 0 0 / 18%);
}
div#findslot_modal .filter div label span {
    padding: 5px 10px;
    font-size: 13px;
}
div#findslot_modal .filter .form-group label input[type="radio"] {
    opacity: 0;
}
div#findslot_modal .modal-dialog {
    max-width: 80%;
}

.findslot_modal_inner {
    display: flex;
    justify-content: space-between;
}

.findslot_modal_inner .left {
    width: auto;
}

#findslot_modal .cols_provider_wrapper {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.findslot_modal_inner .right {
    width: 60%;
    padding: 0 10px;
}

.findslot_modal_inner .left .columns {
    flex: 1;
    border-right: 1px solid #ccc;
}

.findslot_modal_inner .columns h4 {
    margin: 0;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: bold;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #534e4e;
}

.findslot_modal_inner .columns h4 button.btn {
    border: 1px solid #147b8de6;
    border-radius: 0;
    color: #147b8de6;
    font-size: 14px;
    padding: 3px 10px;
    margin-bottom: 5px;
}

.findslot_modal_inner .columns h4 button.btn:hover {
    background-color: #147b8de6;
    color: #fff;
}

.findslot_modal_inner .columns .content {
    padding: 5px 10px;
    max-height: 300px;
    overflow-y: auto;
}
.findslot_modal_inner .columns .content::-webkit-scrollbar{
    width: 5px;
}


.findslot_modal_inner .columns .content::-webkit-scrollbar-track{
    background-color: #c3b6b6;
}

.findslot_modal_inner .columns .content::-webkit-scrollbar-thumb{
    background-color: rgb(199, 198, 198);
    border-radius: 30px;
}
.findslot_modal_inner .columns .head .search {
    padding: 5px 10px;
}

.findslot_modal_inner .left .columns.provider h4 {
    padding: 4.5px 10px;
    border-left: 1px solid #ccc;

}

.findslot_modal_inner .columns .head input {
    padding: 3px 7px;
    height: auto;
    font-size: 13px;
}

.findslot_modal_inner .left .columns .head p {
    text-align: right;
    padding: 0 10px;
}

.findslot_modal_inner .left .columns .head p a {
    color: #2b8898;
}
.findslot_modal_inner .right .days button {
    color: #147b8de6;
    border-color: #147b8de6;
    border: 1px solid;
    background: #fff;
    border-radius: 4px;
    margin: 0 2px;
    outline: none;
}
.findslot_modal_inner .right .days button:hover {
    background: #147b8de6;
    color: #fff;
}
.findslot_modal_inner .right .time {
    display: flex;
    align-items: center;
}

.findslot_modal_inner .right .time > span {
    margin-right: 5px;
    font-weight: bold;
}

.findslot_modal_inner .right .time > div label {
    margin-right: 5px;
    font-weight: normal;
}

.findslot_modal_inner .right .time_of_day {
    border-bottom: 1px solid #ccc;
}

.findslot_modal_inner .right .months ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 10px 5px;
}

.findslot_modal_inner .right .months ul li a {
    color: #147b8de6;
    margin-right: 15px;
    text-decoration: underline;
}

.findslot_modal_inner .right .sheduled_appointment {
    padding: 10px;
    border: 1px solid #2b97c3;
    background: #f2f2e2;
    font-size: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 10px 0;
}

.findslot_modal_inner .right .sheduled_appointment span {
    display: block;
}

.findslot_modal_inner .right .sheduled_appointment a {
    color: #147b8de6;
    margin-right: 5px;
    text-decoration: underline;
}

.findslot_modal_inner .right .sheduled_appointment a:last-child {
    margin: 0;
}

.findslot_modal_inner .right table {
    width: 100%;
    border: 1px solid #ccc;
}
.findslot_modal_inner .right table th,.findslot_modal_inner .right table td {
    border-bottom: 1px solid #ccc;
    padding: 5px 5px;
    font-size: 12px;
}

.findslot_modal_inner .right table th {
    background: #2b8898;
    color: #fff;
}

.findslot_modal_inner .right table td a {
    color: #147b8de6;
    text-decoration: underline;
}

/* Changes 08-12-2022 7:02PM */

.patient_account_details_section ul.nav button {
  border: 1px solid #147b8d !important;
  margin-right: 5px;
  color: #147b8d !important;
  outline: none;
  border-radius: 5px !important;
  margin-bottom: 0;
}

.patient_account_details_section ul.nav button.active {
  background-color: #147b8d;
  color: #fff !important;
}

.patient_account_details_section ul.nav button:hover {
  background-color: #147b8d;
  color: #fff !important;
}

.patient_account_details_section .patient_card {
    width: 48%;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #524a4a;
    padding: 15px 0;
    margin-bottom: 20px;
}

.patient_card p {
    margin-bottom: 5px;
    padding: 0 15px;
}

.patient_card h5 {
    font-weight: bold;
    padding: 0 15px;
}

.patient_card p.number {
    padding: 5px 15px;
    background: #e7e7e7;
    margin-bottom: 10px;
}

.patient_card a.btn {
    background-color: #147b8d;
    color: #fff !important;
    min-width: 70px;
    margin-top: 5px;
}

.patient_card .edit {
    padding: 0 15px;
}

.patient_account_details_section .add_account_member {
    text-align: right;
    margin: 30px 0 0;
}
.patient_account_details_section .add_account_member a {
    background-color: #147b8d;
    color: #fff !important;
    min-width: 70px;
    margin-top: 5px;
    padding: 10px 20px;
    border-radius: 4px;
}

.patient_account_details_section .checkbox input {
    margin: 0 !important;
    padding: 0;
    position: static;
    outline: none;
}
.patient_account_details_section .form-check {
    padding: 0;
}

.patient_account_details_section .checkbox h4 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.patient_account_details_section .checkbox label:after {
    top: -6px;
    color: #147b8d;
}
.patient_account_details_section .checkbox label:before {
    outline: none !important;
    outline-offset: 0 !important;
}

.patient_card_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
section.content-header li {
    margin-left: 7px;
}

.patient_card p.number > span:first-child {
    margin-right: 30px;
    min-width: 100px;
    display: inline-block;
}

.patient_card p.email> span:first-child {
    margin-right: 30px;
    min-width: 100px;
    display: inline-block;
}

.add_new_account_member {
    padding: 20px;
}


.add_new_account_member .row.mobile_number .form-check,.row.email .form-check {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.add_new_account_member .row.mobile_number .form-check label {
    padding-left: 20px;
}

.add_new_account_member .row.email .form-check label {
    padding-left: 20px;
}
.add_new_account_member .row.communication_ref {
    flex-direction: column;
}

.row.communication_ref p {
    padding: 5px 16px;
    background: #eaefef;
    display: flex;
    align-items: center;
}

.row.communication_ref .notifications {
    display: flex;
    align-items: center;
    margin: 5px 0 20px;
    flex-wrap: wrap;
}

.row.communication_ref .form-check {
    padding: 0;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.row.communication_ref .form-check label {
    padding-left: 20px;
}
.add_new_account_member .btns.col-12 {
    text-align: right;
    margin: 20px 0 0;
}
.row.communication_ref p i {
    font-size: 20px;
    color: #2c9f6f;
    margin-right: 8px;
}

.add_new_account_member .row.communication_ref h6 {
    margin: 20px 0;
}
.add_new_account_member label span {
    color: red;
}
.modal-content {
    box-shadow: none;
    border: 0;
}
div#showSingleAppointmentDetails .modal-content {
    box-shadow: none !important;
    height: auto !important;
}
div#findslot_modal {
    width: auto;
}


.modal.view_full_content {
    width: 100% !important;
}


.modal.view_full_content .left {
    width: 40%;
}
div#text_to_pay .modal-dialog {
    max-width: 50%;
}
.super_admin_dash .card-body {
    min-height: 150px;
}

.past-appts .item h4 {
    color: white !important;
    background-color: #18899d;
    padding: 10px 10px;
}

.past-appts .item {
    padding: 0 0 15px !important;
}

.past-appts .item .text {
    padding: 0 15px 15px;
}

button.close {
    color: #fff !important;
    opacity: 1 !important;
}

/* End Changes 08-12-2022 7:02PM */

@media(max-width:991px){
    .schedule_popup_inner .form_wrapper_row {
        flex-direction: column;
    }

    .schedule_popup_inner .form_wrapper_row > div {
        width: 100%;
        margin-bottom: 20px;
    }
    div#showSingleAppointmentDetails .modal-dialog {
        max-width: 95%;
    }
    .treatment_chart .filter span {
        font-size: 12px;
    }

    .treatment_chart .filter select {
        width: 130px;
    }

    .findslot_modal_inner .left .columns {
        width: 49%;
        flex: none;
        margin-bottom: 30px;
    }

    .findslot_modal_inner .left {
        flex-wrap: wrap;
        width: 48%;
    }

    .findslot_modal_inner .right {
        width: 52%;
    }

    .findslot_modal_inner .right .months ul li a {
        font-size: 12px;
    }
    .findslot_modal_inner .left {
        width: 100%;
    }
}

@media(max-width:767px){
  .patient_account_details_section .patient_card {
    width: 100%;
    margin-bottom: 20px;
   }
   .add_new_account_member .row.mobile_number .form-check, .row.email .form-check {
        margin-top: 0;
        padding: 0;
   }
    .schedule_popup_inner {
        flex-direction: column;
    }

    .schedule_popup_inner>div.left {
        width: 100%;
        padding-bottom: 30px;
    }

    .schedule_popup_inner>div.rigth {
        width: 100%;
        padding-top: 10px;
    }
    .form_wrapper_bottom_row .row_bottom_header {
        flex-direction: column;
    }

    .schedule_popup_inner>div.rigth .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule_popup_inner>div.rigth .form-group input,.schedule_popup_inner>div.rigth .form-group select {
        width: 100%;
    }

    .schedule_popup_inner>div.rigth .form-group  span.select2 {
        width: 100% !important;
    }

    input#appointment_date {
        width: 100%;
    }

    .schedule_popup_inner>div.rigth .form-group .radios {
        width: 100%;
    }
    .treatment_chart .top_content {
        flex-wrap: wrap;
    }

    .treatment_chart .top_content > div {
        width: 100%;
        flex: none;
    }
    div#showSingleAppointmentDetails .modal-content {
        height: auto !important;
    }
    .treatment_chart .bottom_table table {
        width: 700px;
    }

    .treatment_chart .bottom_table {
        overflow-x: auto;
    }
    .findslot_modal_inner .left {
        width: 100%;
    }

    .findslot_modal_inner .right {
        width: 100%;
    }

    .findslot_modal_inner {
        flex-wrap: wrap;
    }

    .findslot_modal_inner .left .columns {
        width: 100%;
        border: 1px solid #ccc;
        border-top: 0;
    }

    .findslot_modal_inner .right .time_of_day {
        padding-top: 10px;
    }
    div#findslot_modal .form-group.border {
        padding: 10px 5px;
    }
    .findslot_modal_inner .right .time {
        font-size: 12px;
    }
    .modal.view_full_content .left {
        width: 100%;
    }
    
    .findslot_modal_inner .left .columns {
        width: 50%;
    }
    div#example_wrapper {
        overflow-x: auto;
    }
    .find-appointment {
        overflow-x: auto;
    }
}
/*End Changes*/


@media(max-width:1500px) {
    .top_header_inner > .left .date {
        padding: 0 5px;
        font-size: 11px;
    }
    .top_header_inner > .right .cards {
        margin-right: 3px;
    }
    .top_header_inner > .left .location {
        padding: 0 5px;
    }
    .top_header_inner > .right .cards {
        margin-right: 3px;
        padding: 5px 5px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    .top_header_inner {
        flex-direction: column;
    }

    .top_header_inner > .right {
        margin-top: 30px;
    }
    .top_header_inner > .left {
        flex-wrap: wrap;
    }

    .top_header_inner > .right {
        flex-wrap: wrap;
    }
    .top_header_inner .profile {
        border: 0;
    }

    .top_header_inner > .left .location {
        border: 0;
    }

    .top_header_inner > .left > div {
        margin-bottom: 20px;
    }

    .top_header_inner > .right {
        margin-top: 0;
    }
}


@media(max-width:1200px) {
    .login-boxx {
        width: 90%;
        margin: 0 auto;
        margin-top: 100px;
    }

    .login-wrapper .right {
        padding: 0 15px;
    }
    .table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child a {
        font-size: 11px;
    }
    .table_upper_wrapper > .right table.table.table-bordered tbody tr td:last-child a {
        font-size: 14px;
        min-width: 100px;
    }
}

@media(max-width:991px) {
    .sidebar-logo i.far.fa-times {
        display: inline-block;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-wrapper .left {
        width: 100%;
        height: 50vh;
    }

    .login-wrapper .right {
        width: 100%;
        height: 50vh;
    }

    .login-boxx {
        margin-top: 10px;
    }
    div#schedule_popup .modal-dialog {
        max-width: 80%;
    }
    div.common_modal .modal-dialog {
        max-width: 90%;
    }
    .row.p_information > .card:first-child {
        width: 200px;
        min-width: 200px;
    }
}


@media(max-width:767px) {
    .treatment-wrapper .card {
        width: 100%;
        float: none;
        margin: 0;
        margin-bottom: 30px;
    }

    ul#myTab>li>button {
        font-size: 12px;
        padding: 0.5rem 0.4rem;
    }

    .login-page .login-box {
        max-width: 350px;
    }

    .login-wrapper .right {
        padding: 100px 15px 50px;
    }

    .login-wrapper .login-boxx .card .card-header a.h1 {
        font-size: 30px;
    }

    .login-wrapper .right h2 {
        font-size: 35px;
    }

    .login-wrapper .right p {
        font-size: 21px;
        text-align: center;
    }

    .login-wrapper .right a {
        font-size: 15px;
    }

    .schedule_popup_inner {
        flex-direction: column;
    }

    .schedule_popup_inner>div {
        width: 100%;
        margin-bottom: 40px;
    }

    .schedule_popup_inner>div.rigth {
        border: 0;
    }

    div#schedule_popup .modal-dialog>.modal-content {
        border: 0;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        flex-direction: column;
    }

    .fc-toolbar-chunk {
        margin-bottom: 10px;
    }

    div#schedule_popup .modal-dialog {
        max-width: 80%;
    }
    .table_upper_wrapper {
        flex-direction: column;
    }

    .table_upper_wrapper > .left {
        width: 100%;
        order: 2;
    }

    .table_upper_wrapper > .right {
        width: 100%;
        order: 1;
        margin-bottom: 50px;
    }
    .print {
        flex-direction: column;
    }

    .print .right {
        margin-top: 10px;
    }

    section.content-header + .row .card {
        flex-direction: column;
    }
    form#patientForm {
        flex-direction: column;
    }

    form#patientForm > .left {
        width: 100%;
    }

    form#patientForm > .right {
        width: 100%;
    }
    .family-relation .form-group.added-items .added-relations {
        width: 100%;
    }
    form#patientForm > .left .family-relation .selects > .form-group {
        margin: 0 2px;
    }
    form#patientForm > .right h5 {
        margin-bottom: 30px;
        font-size: 16px;
    }
    form#patientForm > .right .students-status .form-check {
        margin-right: 0.35rem;
    }

    form#patientForm > .right .students-status .form-check label {
        font-weight: normal !important;
    }
    .row.p_information {
        flex-direction: column;
    }

    .row.p_information > .card {
        width: 100%;
        margin: 0;
    }

    .row.p_information > .card:first-child {
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .bottom_table_wrapper {
        flex-direction: column;
    }

    .bottom_table_wrapper > .card:first-child {
        margin-right: 0;
    }

    .top_header_inner > .left > div {
        width: 100%;
    }

    .top_header_inner > .left > div.profile {
        justify-content: flex-start;
    }
    
    .top_header_inner > .left > div {
        width: 100%;
    }

    .top_header_inner > .left > div.profile {
        justify-content: flex-start;
    }
}


.invalid-feedbacks {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545 !important;
}
.is-invalid, .was-validated {
    border: 1px solid #dc3545 !important;
    padding-right: 2.25rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center right calc(0.375em + 0.1875rem) !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.nav-sidebar .nav-item>.nav-link > i {
    width: 35px;
    height: 35px;
    background-size: 25px !important;
    display: inline-block;
    min-width: 16px;
    min-height: 16px;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    vertical-align: text-bottom;
    font-size: 25px !important;
}

i.nav-icon.fas.fa-tachometer-alt {
    background-image: url("../../assets/images/icons/home.svg");
}

i.nav-icon.fas.fa-tachometer-alt:before{
    content: none;
}

.nav-sidebar .nav-item>.nav-link {
    display: flex;
}

i.nav-icon.fas.fa-calendar-alt:before {
    content: "";
    background-color: transparent !important;
}

i.nav-icon.fas.fa-calendar-alt {
    background-color: transparent !important;
    background-image: url("../../assets/images/icons/scheduler.svg") !important;
}
.sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active i.fa-calendar-alt {
    background-color: transparent !important;
}

i.nav-icon.fas.fa-user-check:before {
    content: "";
}

i.nav-icon.fas.fa-user-check {
    background-image: url("../../assets/images/icons/online.svg") !important;
}

i.nav-icon.fas.fa-search:before {
    content: "";
}

i.nav-icon.fas.fa-search {
    background-image: url("../../assets/images/icons/findslot.svg") !important;
}

i.nav-icon.fas.fa-phone:before {
    content: "";
}

i.nav-icon.fas.fa-phone.short_call{
    background-image: url("../../assets/images/icons/short_call.svg ") !important;
}
i.nav-icon.fas.fa-phone{
    background-image: url("../../assets/images/icons/recalls.svg") !important;
}

i.nav-icon.fas.fa-calendar-times:before {
    content: "";
}

i.nav-icon.fas.fa-calendar-times {
    background-image: url("../../assets/images/icons/unschedule_tx.svg") !important;
}

i.nav-icon.fas.fa-calendar-alt.reschedule{
    background-image: url("../../assets/images/icons/reschedule_que.svg") !important;
}

.main-header .navbar-nav .nav-item img.img-circle {
    width: 30px;
    height: 30px;
}

@media(min-width:768px){
    .nav-sidebar>.nav-item {
        padding: 0;
    }

    #custom-opacity-sidebar {
        float: none;
    }

    .layout-fixed .brand-link span.brand-text.font-weight-light {
        display: none;
    }

    .user-panel.mt-3.pb-3.mb-3.d-flex {
        display: none !important;
    }

    .nav-sidebar .nav-item>.nav-link {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 7px 0px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin: 0;
       font-size: 12px;
    }

    .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
        background: #b3e4d5;
        border-radius: 0;
        color: #394867;
    }

    .sidebar-light-info .nav-sidebar>.nav-item>.nav-link:hover {
        background: #b3e4d5;
        border-radius: 0;
        color: #394867;
    }

    .layout-fixed .main-sidebar {
        width: 100px;
        overflow-y: initial;
    }

    .nav-sidebar .nav-item>.nav-link p {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block;
        position: relative;
        width: 90px;
        text-align: center;
        letter-spacing: -1px;
    }

    body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header{
        margin-left: 100px;
    }

    body:not(.sidebar-mini-md) .content-wrapper > .content {
        padding: 0;
    }
    .layout-fixed .brand-link {
        width: 100px;
        display: flex;
        justify-content: center;
    }

    sidebar-collapse .main-sidebar {
        margin-left: 0;
        width: 100px;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar::before {
        margin-left: 0;
        width: 100px;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper, 
    .sidebar-mini.sidebar-collapse .main-footer,
     .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 100px!important;
    }

    .sidebar-mini.sidebar-collapse .brand-text,
    .sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p,
    .sidebar-mini.sidebar-collapse .sidebar .user-panel>.info {
        margin-left: 0;
        opacity: 1;
        visibility: visible;
        width: 90px;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused,
    .sidebar-mini.sidebar-collapse .main-sidebar:hover {
        width: 100px;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover span.brand-text.font-weight-light {
        display: none;
    }

    .sidebar-mini.sidebar-collapse.layout-fixed .main-sidebar:hover .brand-link {
        width: 100px;
        display: flex;
        justify-content: center;
    }
    .sidebar-logo i.far.fa-times {
        display: none;
    }
    .sidebar-mini.sidebar-collapse.layout-fixed .brand-link {
        width: 100px;
        display: flex;
        justify-content: center;
    }

    .sidebar-logo {
        min-height: 58px;
    }
}

@media(max-width:767px){
    .nav-sidebar>.nav-item {
        padding: 0;
    }

    #custom-opacity-sidebar {
        float: none;
    }

    .layout-fixed .brand-link span.brand-text.font-weight-light {
        display: none;
    }

    .user-panel.mt-3.pb-3.mb-3.d-flex {
        display: none !important;
    }

    .nav-sidebar .nav-item>.nav-link {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 7px 0px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin: 0;
    }

    .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
        background: #b3e4d5;
        border-radius: 0;
        color: #394867;
    }

    .sidebar-light-info .nav-sidebar>.nav-item>.nav-link:hover {
        background: #b3e4d5;
        border-radius: 0;
        color: #394867;
    }

    .layout-fixed .main-sidebar {
        width: 100px;
        overflow-y: initial;
    }

    .nav-sidebar .nav-item>.nav-link p {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block;
        position: relative;
        width: 90px;
        text-align: center;
        letter-spacing: -1px;
    }

    body:not(.sidebar-mini-md) .content-wrapper > .content {
        padding: 0;
    }
    .layout-fixed .brand-link {
        width: 100px;
    }

    sidebar-collapse .main-sidebar {
        margin-left: 0;
        width: 100px;
    }
    .findslot_modal_inner .right table {
        width: 500px;
    }
    
    .findslot_modal_inner .right .table_wrap {
        overflow-y: auto;
    }
    .findslot_modal_inner .left .columns {
        width: 100%;
    }
}


div#findslot_modal .modal-header {
    color: white;
    background-color: #18899d;
}

.days {
    display: flex;
    flex-wrap: wrap;
}

div.day_filter {
    position: relative;
/*     margin: 0px 8px; */
}

div.day_filter input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.days div.day_filter input:checked + label {
    color: #2b8898;
    background-color: white;
    border: 1px solid #2b8898;
}

.days div.day_filter label {
    padding: 3px 8px;
    z-index: -1;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 3px rgb(0 0 0 / 18%);
    margin: 3px 10px;
    transition: all 0.1s linear;
}
.modal-content {
    box-shadow: none;
    border: 0;
}
div#showSingleAppointmentDetails .modal-content {
    box-shadow: none !important;
    height: auto !important;
}



.top_header_inner > .right .cards {
    position: relative;
    padding: 0;
    border-radius: 0;
    border: 0;
    margin-right: 0;
}

.top_header_inner > .right .cards > label {
   padding: 10px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-right: 10px;
    display: flex;
    align-items: center;
    color: #147b8d;

}

.top_header_inner > .right .cards >  input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
li.active > span.page-link {
    background-color: #147b8d !important;
    border-color: #147b8d !important;
    z-index: 1 !important;
    color: #fff !important;
}

a.page-link {
    position: relative !important;
    display: block !important;
    padding: 0.5rem 0.75rem !important;
    margin-left: -1px !important;
    line-height: 1.25 !important;
    color: #147b8d !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
}
label[for="search_date_appointment"] {
    margin-left: 5px;
}

input#search_date_appointment {
    border: 1px solid #147b8d;
    padding: 5px 4px;
    font-size: 13px;
    border-radius: 3px;
}

label[for="search_date_appointment"] img {
    height: 20px;
    width: 22px;
}

.unconfirm_appointment td,select.unconfirm_appointment {
    color: #6eb941 !important;
}

.confirm_appointment td,select.confirm_appointment {
    color: #ff5400 !important;
}