body {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: #374a59;
}
a {
    color: #5f97dd;
}
a:hover {
    color: #6b92c4;
    text-decoration: none;
}
.h5, .h6, h5, h6 {
    font-size: .82rem;
}
label {
    margin: .5rem 0;
}
.wrapper::before {
    background: #245a84;
    background-image: url('../img/photos/background.png');
    background: radial-gradient(40% 50%, rgba(44, 120, 188, 1), rgba(11, 75, 129, 1));
    height: 300px;
}
.main{
    position: relative;
    min-height: 100vh;
}
.content {
    margin-top: 2rem;
    padding-bottom: 2.5rem;
}

.header {
    margin-bottom: 1rem;
}
@media (min-width: 992px){
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4rem;
    }
}
.jumbotron {
    background: #F7F7F7;

}

.breadcrumb-item a {
    color: #cbd2d9;
    font-weight: 600;
}

.sidebar {
    font-size: .775rem;
    color: #697c8c;
}

.blockquote-footer {
    font-size: 90%;
    color: #949ea6;
}

.custom-switch {
    margin-bottom: .5rem;
}

.sidebar-content, .sidebar-nav {
    border-radius: 0rem 1rem 0 0;
}

.sidebar [data-toggle="collapse"]::before {
    right: .75rem;
}

.sidebar-link, a.sidebar-link {
    margin: 0;
}

.sidebar-brand, .sidebar-brand:hover {
    background: #1b5d97;
    border-bottom: 1px solid #2d587b;
}

.sidebar-item.active .sidebar-link:hover, .sidebar-item.active > .sidebar-link {
    color: #012f57;
    background: #f9f9f9;
}

.sidebar-brand, .sidebar-brand:hover {
    padding: 1rem 3rem 1rem;
}

.sidebar-user {
    text-align: left;
    padding: 1rem .7rem .8rem;
    background: #eef2f7;
    color: #506f8a;
    -moz-box-shadow: inset 0 0 10px #b3c4d2;
    -webkit-box-shadow: inset 0 0 10px #b3c4d2;
    box-shadow: inset 0 0 5px #b3c4d2;
    border-radius: 0 0 0 1rem;
}

.sidebar-user img {
    margin-right: 10px;
}

.sidebar-link .fab, .sidebar-link .fal, .sidebar-link .far, .sidebar-link .fas, .sidebar-link svg, a.sidebar-link .fab, a.sidebar-link .fal, a.sidebar-link .far, a.sidebar-link .fas, a.sidebar-link svg {
    margin-right: .75rem;
    color: #012f57;
}

.sidebar-link, a.sidebar-link {
    color: #3f5d77;
}

.sidebar-header {
    padding: .575rem 1.5rem;
    font-weight: 300;
}

.navbar {
    border-bottom: 1px solid #2e5a7d;
    box-shadow: 0 .2rem 1rem 0 rgba(5, 50, 87, 0.9);
    background: rgba(0, 0, 0, 0.3);
}

.sidebar-link:hover {
    color: #8197ac;
}

.sidebar-link:hover .fab, .sidebar-link:hover .fal, .sidebar-link:hover .far, .sidebar-link:hover .fas, .sidebar-link:hover svg {
    color: #8197ac;
}

.sidebar-item {
    border-bottom: 1px solid #f4f4f5;
}

.sidebar-link, a.sidebar-link {
    border-radius: 0;
}

.sidebar-dropdown .sidebar-link {
    padding: .35rem 0 .35rem .8rem;
    margin: 0;
}

.sidebar-dropdown .sidebar-item.active .sidebar-link, .sidebar-dropdown .sidebar-item .sidebar-link:hover {
    background: rgba(255, 255, 255, .5);
}

.sidebar-dropdown {
    background: #f3f6f9;
    box-shadow: inset 0 0 1px #c2d7ea;
}

.sidebar-dropdown .sidebar-item {
    border-bottom: 0;
}

.sidebar-dropdown .sidebar-link {
    background: transparent;
}

.sidebar-dropdown a.sidebar-link .far {
    margin-right: .55rem;
    color: #b3babf;
}

.bg-custom {
    background-color: #2c78bc !important;
}

.bg-custom .card-title {
    color: #fff;
}

.bg-admin {
    background-color: #ec8d5d !important;
}

.bg-monitoring {
    background-color: #2d5d86 !important;
}
.bg-welfare {
    background-color: #3ac681 !important;
}

.bg-teleconsulto {
    background-color: #e35551 !important;
}

.bg-telemedicina {
    background-color: #6eade6 !important;
}
.bg-health {
    background-color: #f289c6 !important;
}
.btn-primary{
    background-color: #3c8dbc;
    border-color: #367fa9;
}
.btn-admin {
    background-color: #ec8d5d;
    color: #fff;
}

.btn-monitoring {
    background-color: #0b3960;
    color: #fff;
}
.btn-welfare {
    background-color: #3ac681;
    color: #fff;
}

.btn-teleconsulto {
    background-color: #e35551;
    color: #fff;
}

.btn-telemedicina {
    background-color: #6eade6;
    color: #fff;
}
.btn-health {
    background-color: #f289c6;
    color: #fff;
}

.icon-admin {
    background-color: #ec8d5d !important;
}
.icon-monitoring {
    background-color: #0b39601 !important;
}
.icon-welfare {
    background-color: #3ac681 !important;
}

.icon-teleconsulto {
    background-color: #e35551 !important;
}

.icon-telemedicina {
    background-color: #6eade6 !important;
}
.icon-health {
    background-color: #f289c6 !important;
}
.sidebar-nav > li.home-color > a {
    border-left: 3px solid #f2cd38;
}

.sidebar-nav > li.home-color > ul {
    border-left: 3px solid #d9b62c;
}

.card-header.home-color, .home-top {
    border-top: 3px solid #f2cd38;
}

.sidebar-nav > li.admin-color > a {
    border-left: 3px solid #f0a884;
}

.sidebar-nav > li.admin-color > ul {
    border-left: 3px solid #ce8764;
}

.card-header.admin-color, .admin-top {
    border-top: 3px solid #f0a884;
}

.sidebar-nav > li.monitoring-color > a {
    border-left: 3px solid #0b3960;
}

.sidebar-nav > li.monitoring-color > ul {
    border-left: 3px solid #0b3960;
}

.card-header.monitoring-color, .monitoring-top {
    border-top: 3px solid #0b3960;
}

.sidebar-nav > li.welfare-color > a {
    border-left: 3px solid #46d18c;
}

.sidebar-nav > li.welfare-color > ul {
    border-left: 3px solid #3ab779;
}

.card-header.welfare-color, .welfare-top {
    border-top: 3px solid #64b95c;
}

.sidebar-nav > li.teleconsulto-color > a {
    border-left: 3px solid #f2716e;
}

.sidebar-nav > li.teleconsulto-color > ul {
    border-left: 3px solid #ce5d5a;
}

.card-header.teleconsulto-color, .teleconsulto-top {
    border-top: 3px solid #f2716e;
}

.sidebar-nav > li.telemedicina-color > a {
    border-left: 3px solid #6eade6;
}
.sidebar-nav > li.telemedicina-color > ul {
    border-left: 3px solid #578fc1;
}
.card-header.telemedicina-color, .telemedicina-top {
    border-top: 3px solid #6eade6;
}

.sidebar-nav > li.health-color > a {
    border-left: 3px solid #f289c6;
}
.sidebar-nav > li.health-color > ul {
    border-left: 3px solid #f289c6;
}
.card-header.health-color, .health-top {
    border-top: 3px solid #f289c6;
}
.fa-trash.btn-welfare {
    background-color: #239d61;
    padding: .3rem .42rem;
}
.tab .nav-tabs .nav-link.active {
    border-top: 3px solid #6eade6;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #9ea7b8;
    border-color: #9ea7b8;
}

.btn:hover, .fc-unthemed .fc-button:hover {
    color: #e8e8e8;
    background-color: #9ea7b8;
    border-color: #9ea7b8;
}

.btn-secondary {
    color: #fff;
    background-color: #b1b9bf;
    border-color: #b1b9bf;
}

.btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #b1b9bf;
    border-color: #b1b9bf;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #87959f;
    border-color: #87959f;
}

.btn-secondary.focus, .btn-secondary:focus {
    box-shadow: 0 0 0 .2rem rgba(205, 199, 206, 0.5);
}

.btn-group-sm > .btn, .btn-sm, .fc-unthemed .btn-group-sm > .fc-button {
    padding: .3rem .3rem;
    border-radius: .3rem;
}

.btn-app {
    border-radius: 3px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e0ecfb;
    background-color: #f4f4f4;
    font-size: 10px;
    color: #2b4b73;
    margin: 0 0 10px 10px;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, .25);
}

.btn-app > .fas, .btn-app > .far, .btn-app > .ion {
    font-size: 20px;
    display: block;
    margin-bottom: 8px;
    color: #2b4b73;
}

.btn-app:hover {
    color: #6c8bb1;
    border: 1px solid #e0ecfb;
    background-color: #eef2f7;
}

.btn-app:hover > .fas, .btn-app:hover > .far {
    color: #6c8bb1;
}

.card-subtitle {
    margin-top: .1rem;
}
.card {
    border-radius: 0 5px 0 1rem;
}

.dropdown-item {
    padding: .35rem 1rem;
    font-size: 12px;
}

.bg-admin .card-header, .bg-monitoring .card-header, .bg-teleconsulto .card-header, .bg-telemedicina .card-header {
    background-color: rgba(0, 0, 0, .15);
    box-shadow: inherit;
}

.card-header {
    background-color: rgba(0, 0, 0, .03);
    -webkit-box-shadow: 0px 1px 0px 0px rgb(232, 232, 232);
    -moz-box-shadow: 0px 1px 0px 0px rgb(232, 232, 232);
    box-shadow: 0px 1px 0px 0px rgb(232, 232, 232);
}

.card-title {
    margin-bottom: 0;
}

.card-actions a {
    color: #97a0b3;
}

.card.bg-primary .card-header, .card.bg-success .card-header, .card.bg-danger .card-header, .card.bg-warning .card-header {
    background-color: rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, .2);
    box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, .2);
}

.card-header:first-child {
    border-radius: 0 4px 0 1rem;
}

.card > .dataTables_wrapper .table.dataTable {
    margin-top: 1rem !important;
}

.card {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .18);
}

.form-control-sm {
    border-radius: .2rem;
}

.table td, .table th {
    padding: .55rem;
    border-top: 1px solid #eee;
}

.card-body {
    padding-top: 1.25rem;
}

.table-action {
    text-align: center;
}

table.dataTable thead .sorting::before, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_desc_disabled::before, table.dataTable.table-sm .sorting::before, table.dataTable.table-sm .sorting_asc::before, table.dataTable.table-sm .sorting_desc::before {
    top: -2px;
    right: .95em;
    font-size: 1.5rem;
}

table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_desc_disabled::after, table.dataTable.table-sm .sorting::after, table.dataTable.table-sm .sorting_asc::after, table.dataTable.table-sm .sorting_desc::after {
    top: -1px;
    font-size: 1.5rem;
}

.tab .nav-tabs {
    background: #fff;
}

.tab .nav-tabs .nav-link.active {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.tab .nav-tabs {
    border-bottom: 1px solid #ddd;
}

.tab .nav-tabs {
    border-bottom: 1px solid #ddd;
    border-radius: 0 4px 0 0;
    background-color: #f7f7f7;
}

.nav-tabs .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.tab .nav-tabs .nav-link:hover:not(.active) {
    color: #77889d;
}

.rubricaDropdown .list-group {
    height: 268px;
    overflow-y: scroll;
}

.btn-round {
    display: inline-block;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    line-height: 40px;
    margin: 0 4px;
}

.modal-dialog {
    max-width: 600px;
    margin: 0 auto 1.75rem;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 30px 0 0;
    }
 div.dataTables_wrapper div.dataTables_info {
    padding-top: 1.85em;
    }
video {
    background: #000;
}

#VideoModal .modal-xl {
    max-width: 75%;
}

#VideoModal .close {
    float: right;
    font-size: 5rem;
    font-weight: 300;
    line-height: .6;
    color: #fff;
    text-shadow: inherit;
    opacity: .5;
    cursor: pointer;
}

#VideoModal .open-button {
    position: absolute;
    bottom: 0;
    right: 10px;
    border-top: 3px solid #f2716e;
    border-bottom: 2px solid rgba(0, 0, 0, .2);
}

.open-button {
    color: #343a40;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: 23px;
    right: 28px;
    width: 250px;
    background-color: #e1e1e1;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.close-button {
    color: #343a40;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
    width: 250px;
    background-color: #e1e1e1;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-top: 3px solid #f2716e;
    -webkit-box-shadow: 0px 1px 10px 0px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 0px 1px 10px 0px rgba(50, 50, 50, 0.35);
    box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, 0.35);
}

#VideoModal button i.fa-lg, #VideoModal button i.fas {
    line-height: 1;
}

.form-container {
    max-width: 250px;
    background-color: white;
}

.base_sent {
    justify-content: flex-end;
    align-items: flex-end;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 3px 0 2px;
    background: #e5e9ec;
}

.input-chat {
    padding: 10px 3px 8px;
    background-color: #fff;
    border-top: 1px solid #eeecec;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.input-chat .input-group .form-control {
    border: 1px solid #fff;
    font-size: .775rem;
    padding: .25rem .4rem;
}

.input-chat .input-group .btn:hover {
    color: #b5b5b5;
    background: inherit;
    border: inherit;
}

.input-chat .input-group .btn {
    color: #b5b5b5;
    background: inherit;
    border: inherit;
}


.bubble_sent {
    position: relative;
    background: #cfd8dc;
    border-radius: .4em;
    padding: 8px 4px 6px 15px;
    margin: 5px 10px;
}

.bubble_receive {
    position: relative;
    border-radius: .4em;
    background: #fff;
    padding: 8px 4px 8px 15px;
    margin: 5px 10px;
}

.bubble_sent p, .bubble_receive p {
    font-size: 13px;
    text-align: left;
    line-height: 1.3;
    margin-bottom: 0;
}

.bubble_sent time, .bubble_receive time {
    font-style: italic;
    text-align: right;
    display: block;
    color: #203a45;
    margin-right: 4px;
}

.bubble_sent:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-left-color: #cfd8dc;
    border-right: 0;
    border-bottom: 0;
    margin-top: -30px;
    margin-right: -14px;
}

.bubble_receive:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: #fff;
    border-left: 0;
    border-bottom: 0;
    margin-top: -30px;
    margin-left: -14px;
}

.form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 200px;
}

.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

.form-container .cancel {
    background-color: #e35551;
}

.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

.chat-online {
    color: #34ce57;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    max-height: 800px;
    overflow-y: scroll;
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto;
}

.chat-offline {
    color: #e4606d;
}

.list-group-item {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

@media screen and (max-width: 890px) {
    #VideoModal .open-button, .chat-popup {
        position: fixed;
    }
}