html {
    min-height: 100%;
}

body {
    background-color: #F1F4F5;
    min-height: 100%;
}

header {
    background-color: #2b8d9c;
    color: white;
    width: 100%;
    height: 50px;
    line-height: 60px;
    top: 0;
    vertical-align: center;
    padding-right: 20px;
    padding-left: 20px;
    box-shadow: 0px 0px 10px #b7b7b7;
    position: fixed;
    z-index: 1000;
}

header a {
    color: white;
    transition: .2s;
}

header a:hover {
    color: #0e4b54;
}

header h2, header h5 {
    font-weight: 300;
}

header nav ul {
    display: inline-block;
}

header nav .right {
    float: right;
    line-height: 50px;
}

a {
    color: #2b8d9c;
}

a:hover {
    color: #0e4b54;
}

section {
    overflow-x: hidden;
    max-height: 100%;
    max-width: 75%;
    padding: 15px;
    padding-top: 0;
    margin: auto;
    margin-top: 50px;
    left: 11%;
    position: relative;
}

.section-sm {
    width: 75%;
    margin: auto;
}

aside {
    width: 22%;
    float: left;
/ / display: inline-block;
    background-color: white;
    overflow-x: hidden;
    position: fixed;
    z-index: 100;
    /*overflow-y: scroll;*/
    top: 50px;
    bottom: 0px;
}

.scroll::-webkit-scrollbar {
    width: 5px;
    background-color: #dee2e6;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #b0b7bd;
}

.scroll:hover::-webkit-scrollbar-thumb {
    background-color: #858b90;
}

.aside-section {
    padding: 10px;
}

.aside-section table {
    width: 100%;
}

.aside-section table tr {
    height: 30px;
}

.aside-section table tr td {
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.aside-section .icon {
    width: 20px;
}

.aside-section .right {
    text-align: right;
}

.activity_toggle_show {
    margin-top: 10px;
    width: 100%;
    max-height: 100vh;
}

.fa-pencil-alt:hover {
    color: black;
}


.button-link {
    background: none !important;
    color: #2b8d9c;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}

.button-link:hover {
    text-decoration: underline;
    color: #0e4b54;

}

.section {
    background-color: white;
    padding: 20px;
    padding-top: 10px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 4px 0px #dcdcdc;
    border-radius: 2px;
    overflow: auto;
    overflow-x: hidden;
}

.section-table {
    background-color: white;
    box-shadow: 1px 1px 4px 0px #dcdcdc;
    border-radius: 2px;
}


.info_section {
    background-color: white;
    padding: 15px;
    margin: 10px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 4px 0px #dcdcdc;
    border-radius: 5px;
}

.p-2 {
    padding: 15px !important;
}

.info_section:nth-child(1) {
    margin-left: 0;
}

.info_section:nth-last-child(1) {
    margin-right: 0;
}

.profile form {
    width: 50%;
/ / margin: 10 px;
}

.active {
    color: #0b6d7c;
    font-weight: 700;
}

.section #note {
    width: 100%;
    margin-bottom: 10px;
}

#notes textarea {
    margin-bottom: 10px;
}

#history_table {
    width: 100%;
}


.unavailable {
    background-color: #eee;
    opacity: 0.7;
}

.separator {
    height: 1px;
    background-color: #dadada;
    margin: 0px 10px 0px 10px;
}

.button {
    background-color: #2b8d9c;
    color: white;
    border: none;
/ / height: 30 px;
    line-height: 15px;
    vertical-align: center;
    border-radius: 4px;
    transition: 0.2s;
}

.button:disabled {
    background-color: #2b8d9c9e;
}

.submit {
    width: 200px;
    text-transform: uppercase;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 0;
}

.button-lg {
    height: 30px;
}


.button:hover {
    background-color: #0B6D7C;
}

.warning_button {
    background-color: #dc3545;
}

.warning_button:hover {
    background-color: #a10021;
}

aside .col input {
/ / height: 30 px;
}

#search_form {
    padding: 10px;
}

form input:not(.btn), form select, form option {
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    height: 30px;
}

#search_form .checkbox {
    margin-bottom: 10px;
    margin-left: 5px;
}

#search_form .row .col .input-group-text {
    width: 35px;
    padding: 2px;
    display: block;
    margin-bottom: 10px;
}

#login_form {
    width: 400px;
    margin: auto;
/ / background-color: white;
    padding: 10px;
    margin-top: 70px;
/ / border: 1 px solid #dadada;
}

.highlight {
    background-color: #eee;
    border-bottom: 1px solid #adadad;
}

.green {
    background-color: #b2ffb2;
}

.blue {
    background-color: #d2d2ff;
}

.yellow {
    background-color: #ffff87;
}

.modal-header {
    background-color: #2b8d9c;
    height: 75px;
    color: white;
}

#confirmation-modal .modal-header {
    background-color: white;
    color: black;
    height: 50px;
}

#sector_modal .modal-content {
    width: 600px;
}

.test {
    padding-right: 0;
}

.unstyled::-webkit-inner-spin-button,
.unstyled::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.unstyled {
    padding-right: 0;
}

aside .col {
    padding-left: 5px;
    padding-right: 5px;
}

#new_contact {
    max-width: 30%;
}

.contact {
    width: 32%;
}

.title-inactive {
    background-color: #ffa0a0;
}

#new_contact .input-group {
    margin-top: 10px;
}

#new_contact .icon {
    width: 30px;
    padding: 5px;
    text-align: center;
}

#new_contact_button {
    margin-top: 20px;
    width: 50px;
}

.contact_table tr th, .contact_table tr td {
    min-width: 25px;
}


#new_contact input, #new_contact select {
    margin-top: 10px;
    height: 30px;
    padding: 0px 5px 0px 5px;
}

.warning {
    color: #dc3545;
}

.warning:hover {
    color: #a10021;
}

.result_view {
    padding: 10px 0px 10px 0px;
}

.hover_highlight {
    transition: .2s;
}

.hover_highlight:hover {
    background-color: #eee;
    cursor: pointer;
}

.view_section_highlight {
    background-color: #007bff40;
}

section .title_bar {
/ / border-bottom: 1 px solid #dadada;
    padding-top: 10px;
/ / margin-bottom: 10 px;
}

section .title_bar-sm {
    width: 75%;
    margin: auto;
}

.title_bar h5 {
    font-weight: 400;
}

.title_bar ul {
    padding: 0;
    margin: 0;
}


.title_bar ul li {
    display: inline-block;
    margin-right: 20px;
}

.form {
    width: 30%;
}

.center {
    text-align: center;
}

.center h1 {
    font-weight: 300;
}

.profile_form {
    width: 90%;
    margin: auto;
}

aside hr {
    margin-top: 0;
    margin-bottom: 0;
}

.group_section {
    border: 1px solid #dadada;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-top: 20px;
}

.blue {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #007bff40;
    padding: 10px;
    margin: auto;
    margin: 0;
}

.white {
    background-color: white;
    margin: 0;
}

#login_container {
    margin: auto;
    width: 50%;
    background-color: white;
    border-radius: 10px;
}

#img_container {
    background-color: red;
    float: left;
    width: 50%;
    overflow: hidden;
    height: 410px;
}

#img_container img {
    height: 100%;
}

#login_form_container {
    background-color: white;
    float: left;
    width: 50%;
    height: 410px;
}

.table-head {
    background-color: #f7f7f7;
    border-bottom: 1px solid #dadada;
}

.table-hidden {
    display: none;
}

.table-within {
/ / width: 100 %;
/ / background-color: #c7f0ff;
/ / border: 1 px solid #dadada;
/ / margin: - 13 px;
}

.table-within tr th, .table-within tr td {
    background-color: inherit;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 0;
    margin: 0;
}

.striped:nth-child(odd) {
    background-color: #f7f7f7;
}

.striped:nth-child(even) {
    background-color: #ffffff;
}

table .shown td {
    background-color: #eee;
/ / background-color: #2b8d9c;
/ / color: white;
    font-weight: 700;
}

.invalid-feedback {
    margin-top: -10px;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}


form input[type=checkbox] {
    height: auto;
}

.info_text {
    color: grey;
    font-style: italic;
}

.order_section {
    width: 45%;
}

.alert-message {
    width: 50%;
    right: 0;
    bottom: 20px;
    margin: auto;
    left: 20%;
    position: fixed;
    z-index: 10000;
}

.menu-icon {
    background-color: #dadada;
    border-radius: 15px;
    padding: 5px;
}

.table-hover {
    transition: .1s;
    cursor: pointer;
}

.table-hover:hover {
    background-color: #eee;
}

table .border-top-none {
    border-top: 0;
}

th {
    color: #495057;
    white-space: nowrap;
}

#chart_container {
    max-width: 100%;
    margin-left: -20px;
    margin-right: -20px;
    overflow-x: scroll;
}

#graph {
    width: 50%;
    margin-left: 10px;
}

.list-group-item-grey {
    background-color: rgba(0, 0, 0, .05);
}

.progress {
    height: 25px;
}

.toggle {
    font-size: 120%;
}

.modal-scroll {
    max-height: 70vh;
    overflow-y: scroll;
}

.modal-scroll-sm {
    max-height: 50vh;
    overflow-y: scroll;
}

.table-grey {
    background-color: #f2f2f2;
}

.card {
    margin-bottom: 20px;
}

.form-input-sm input:not(.btn), .form-input-sm select, .form-input-sm .input-group-append {
    height: 25px;
}

.form-input-sm select {
    padding-top: 0px;
    padding-bottom: 0px;
}

#selection_table td:first-child {
    width: 40%;
}

tr .border-top {
    border-top: 1px solid grey;
}

tr .border-bottom {
    border-bottom: 1px solid grey;
}

.form-sm {
    width: 60%;
}

.table-small {

}

.card-center {
    margin: auto;
}

.form-input-md input:not([type=submit]):not([type=button]), .form-input-md select {
    height: 30px !important;
}

.form-input-lg input:not([type=submit]):not([type=button]), .form-input-md select {
    height: 35px !important;
}

.input-text {
    border: none;
    display: inline;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    width: auto;
}

.a-no-underline:hover {
    text-decoration: none !important;
}


/* counter MDB */
table td {
    font-weight: 400;
}

table td, table th {
    font-size: 100%;
}

table.table a {
    color: #2b8d9c;
}

table.table a:hover {
    color: #0e4b54;
    text-decoration: underline;
}

table.table-sm td, table.table-sm th {
    padding-top: .4rem;
    padding-bottom: .4rem;
}

.select-wrapper input.select-dropdown {
    border-bottom: none;
    height: auto;
    line-height: 25px;
}

aside .form-check {
    padding-left: 0;
    margin-bottom: 5px;
}

.form-check {
    padding-left: 0;
}

.text-secondary {
    color: #6c757d !important;
}

.btn-primary {
    background-color: #2b8d9c !important;
}

.btn-primary:active {
    background-color: #0B6D7C !important;
}

/* prevent tooltips from flickering */
.tooltip {
    pointer-events: none;
}

/* ----------- */

.td_small {
    width: 10%;
}

.td_med {
    width: 15%;
}

.ignore-padding-bottom {
    margin-bottom: -10px;
}

.ignore-padding-top {
    margin-top: -10px;
    margin-right: -25px;
}

.bold {
    font-weight: bold;
}

.fancytree-container {
    overflow-x: scroll;
}

#notifications {
    position: absolute;
    right: 5px;
    top: 50px;
    left: calc(100% - 400px);
    color: black;
    display: none;
    padding-left: 10px;
    margin-bottom: 20px;
    height: calc(100vh - 50px);
/ / overflow-y: scroll;
    overflow-x: hidden;
}

#notifications .notification .close {
    line-height: inherit;
    padding: inherit;
}

#notifications a {
    color: #2b8d9c;
}

#notifications a:hover {
    color: #0e4b54;
}

#notifications .notification-footer {
    padding: 0 10px;
}

#notifications .notification-header {
    padding: 0 10px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #d4d4d459;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .1);
}

#notifications .notification {
    padding: 0 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #d4d4d459;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .1);
    background-color: white;
    height: 75px;
}

#notifications .read {
    background-color: #f3f3f3 !important;
}

#notifications .notification .message {
    line-height: 20px;
    padding-top: 5px;
}

#notifications-button .badge {
    height: 15px;
    width: 15px;
    font-size: 65%;
    padding-left: 4px;
    margin-left: -10px;
}

header li i {
    text-shadow: 1px 1px 3px #44444487;
}

.category_menu {
    font-weight: 400;
}

#activities_table_filter, #new_contacts_table_filter, #follow_ups_table_filter, .category_menu {
    float: right;
    margin-left: 50px;
}

#activities_table_length, #new_contacts_table_length, #follow_ups_table_length, #activities_table_info {
    float: left;
}

#follow_ups_table_paginate, #new_contacts_table_paginate {
    float: right;
}

 #show_activities_container{
    padding-top: .50rem!important;
}

.date-warning {
    font-weight: 600;
    color: #c20000;
}

.date-late {
    font-weight: 500;
    color: red;
}

.date-today {
    font-weight: 500;
    color: green;
}