﻿:root {
    --white: #ffffff;
    --green: #00BF67;
    --font-size-xxs: 11px;
    --font-size-xs: 12px;
    --font-size-s: 14px;
    --space-xxs: 4px;
    --card-border-radius: 5px;
    --button-border-radius: 4px;
    --side-menu-width: 200px;
    --header-height: 60px;
}

.font-xxs{
    font-size: var(--font-size-xxs);
    line-height: 21px;
}

h1 {
    position: initial;
}
/*BUTTONS*/
.btn-secondary:not(:disabled):not(.disabled):active:focus {

}
.btn {
    height: calc(1.5em + 0.75rem + 2px);
    line-height: 1rem;
}
.btn:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
.btn-secondary {
    color: #323e4f;
    border: solid 1px #323e4f;
    border-radius: var(--button-border-radius);
    background-color: transparent;
    background-image: linear-gradient(to bottom, #fafbfc, #f2f3f6);
}
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--white);
    background-image: none;
    color: #323e4f;
}
/*DISPLAY*/
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-right {
    display: flex;
    justify-content: flex-end;
}
.flex-left {
    display: flex;
    justify-content: baseline;
}
.flex-right > button:last-of-type {
    margin-left: 14px;
}
/*CARDS*/
.card {
    border: 0;
    border-radius: var(--card-border-radius);
}
.card--profile {
    height: 360px;
    padding: 40px 38px 14px 38px;
}
.card--notifications:first-of-type {
    border-radius: var(--card-border-radius);
}
.card--notifications {
    width: 215px;
    margin: 6px 0 6px 0;
    padding: 10px;
    border: solid 1px #dbe0e5;
}
.card--notifications p {
    font-size: var(--font-size-xs);
    margin-bottom: 8px;
    margin-right: 15px;
}
.card--notifications a {
    font-size: var(--font-size-xxs);
    font-weight: 600;
}
.card--notifications .col-md-9 {
    padding: 0;
}
.card--notifications a:first-of-type {
    margin-right: 10px;
}
.card--profile .form-group {
    margin: 0;
}
.card--profile .image-container .form-control:disabled:first-of-type {
    font-size: var(--font-size-xs);
    font-weight: normal;
    height: auto;
    width: 100%;
    color: inherit;
    padding: 0;
    text-align: center;
}
.card--profile .flex-center > * {
    font-size: var(--font-size-s);
    font-weight: normal;
    display: flex;
    align-items: center;
    width: auto;
    color: inherit;
    padding: 0;
}
.card--profile .btn-round {
    position: absolute;
    bottom: 12px;
    right: 16px;
}
.card--profile .form-group,
.card--profile .image-container {
    height: 100%;
}
.card--profile .profile__picture,
.card--notifications .profile__picture {
    position: relative;
    height: 224px;
    margin-bottom: 18px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.card--notifications .profile__picture {
    height: 30px;
    width: 30px;
    margin: 0;
}
.card--profile .image-container > span:first-of-type {
    font-size: 24px;
    font-weight: 600;
    color: #323e4f;
}

.card--profile .flex-center span {
    font-size: var(--font-size-xs);
    margin-right: var(--space-xxs);
}
.list-users {
    border: 0;
}
.clients-list p,
.dashboard__clients p {
    font-size: var(--font-size-xs);
    font-weight: 600;
}
.dashboard__feelings p {
    font-size: var(--font-size-xs);
    font-weight: 600;
}
.dashboard__clients {
    /*padding-right: 0;*/
}
.dashboard__clients > .clients__requests {
    max-height: 335px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
    overflow-y: auto;
}
/*FORMS*/
form {
    position: relative;
}
.form-control:disabled {
    background-color: transparent;
    border: 0;
}
.form-profile .input-group > .form-control {
    font-size: var(--font-size-xxs);
}
.form-profile .form-group label {
    font-size: var(--font-size-xs);
}
.form-profile {
    padding: 76px 36px 36px 36px;
}
.form-profile .col-md-8 .card {
    padding: 40px 38px 14px 38px;
}
.input-group.datepicker .input-group-append .input-group-text {
    padding: 0 12px;
}
select.form-control:not([size]):not([multiple]) {
    font-size: var(--font-size-xxs);
    background-image: linear-gradient(to bottom, #fafbfc, #f2f3f6);
}
#OrgDetailForm .col-md-4 > .form-group {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
/*IMAGE UPLOADERS*/
.logo-preview {
    height: 150px;
    width: 150px;
    margin-bottom: 10px;
    border-radius: var(--card-border-radius);
    background-color: #d9d9d9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
/*TOASTER*/
.alert-success {
    position: absolute;
    z-index: 10000;
    right: 54px;
}
/*MODALS*/
.modal-content {
    border: 0;
}

    .modal-content.form-modal {
        background-color: #f1f2f4;
    }

@media (min-width: 576px) {
    #modalEditOrganization .modal-dialog {
        max-width: 600px;
        margin: 1.75rem auto;
    }
}
/*BUTTONS*/
.btn-round {
    height: 45px;
    width: 45px;
    display: block;
    background-color: var(--green);
    border: 4px solid var(--white);
    border-radius: 50%;
}
.btn-round i {
    color: var(--white);
}
/*COVER IMAGE*/
.cover-image {
    position: absolute;
    height: 250px;
    width: 100%;
}
#coverPic {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: calc( -90px + var(--header-height));
    margin-left: calc( -215px + var(--side-menu-width));
    margin-right: -15px;
}
/*OVERRIDE*/
label {
    margin: 0;
}
.not-available {
    opacity: 0.3;
    pointer-events: none;
}

.inlog-wrap {
    position: relative;
}

.input-group > .input-group-append .btn, .input-group > .input-group-append:not(:last-child) .btn {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-top: 0;
}

.invalid-feedback {
    display: block;
}

.color-white {
    color: #fff !important;
}

.back-arrow {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1rem;
}

aside .navbar .navbar-brand span.custom-logo {
    background-size: 100% auto;
}

aside.menu-expanded .navbar .navbar-brand span.custom-logo {
    background-size: auto 30px;
}



.btn-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    outline: none;
    padding-top: 0.75rem;
    color: #E8F1FE;
}

.btn.btn-submenu-toggle:focus {
    box-shadow: none;
}

.toggled .nav-item .collapsing, .toggled .nav-item .collapse {
    display: none; /* hidden when toggled. To be adapted in case of showing */
    width: 10rem;
    position: absolute;
    left: calc(2.5rem + 1.5rem / 2);
    z-index: 1;
    top: 2px;
    -webkit-animation-name: growIn;
    animation-name: growIn;
    -webkit-animation-duration: 200ms;
    animation-duration: 200ms;
    -webkit-animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
    animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
    background-color: #323E4F !important;
}

.toggled .btn-submenu-toggle {
    display: none; /* hidden when toggled. To be adapted in case of showing */
}

.top-bar .profile .btn-group .dropdown-menu a.dropdown-item, .top-bar .profile .btn-group .dropdown-menu a.dropdown-item:hover {
    font-weight: 400;
    color: #212529;
}

.table .col-mark {
    width: 20px !important;
    text-align: center;
}

.table .col-date, .table .col-options {
    width: 105px !important;
}

.table .col-time {
    width: 75px !important;
}

.table .col-feeling {
    width: 125px !important;
}

.table .col-description {
    width: auto !important;
}

table.dataTable.table-sm thead th, .table.table-sm thead th, table.dataTable thead th, .table thead th {
    height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 30px;
}

    table.dataTable.table-sm thead th .btn, .table.table-sm thead th .btn, table.dataTable thead th .btn, .table thead th .btn {
        height: 30px;
        padding-top: 0;
        padding-bottom: 0;
    }

    table.dataTable.table-sm thead .sorting:before, table.dataTable.table-sm thead .sorting_asc:before, table.dataTable.table-sm thead .sorting_desc:before, table.dataTable.table-sm thead .sorting_asc_disabled:before, table.dataTable.table-sm thead .sorting_desc_disabled:before, .table.table-sm thead .sorting:before, .table.table-sm thead .sorting_asc:before, .table.table-sm thead .sorting_desc:before, .table.table-sm thead .sorting_asc_disabled:before, .table.table-sm thead .sorting_desc_disabled:before, table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before, .table thead .sorting:before, .table thead .sorting_asc:before, .table thead .sorting_desc:before, .table thead .sorting_asc_disabled:before, .table thead .sorting_desc_disabled:before {
        bottom: 0;
    }

table.dataTable.table-sm thead .sorting:after, table.dataTable.table-sm thead .sorting_asc:after, table.dataTable.table-sm thead .sorting_desc:after, table.dataTable.table-sm thead .sorting_asc_disabled:after, table.dataTable.table-sm thead .sorting_desc_disabled:after, .table.table-sm thead .sorting:after, .table.table-sm thead .sorting_asc:after, .table.table-sm thead .sorting_desc:after, .table.table-sm thead .sorting_asc_disabled:after, .table.table-sm thead .sorting_desc_disabled:after, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after, .table thead .sorting:after, .table thead .sorting_asc:after, .table thead .sorting_desc:after, .table thead .sorting_asc_disabled:after, .table thead .sorting_desc_disabled:after {
    top: 0;
}

table.dataTable tbody tr td, .table tbody tr td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.table.collapsed tbody tr {
    display: none;
}

    .table.collapsed tbody tr:nth-child(-n+3) {
        display: table-row;
    }

.table.dataTable.clicable-items tr.row-selected, .table.dataTable.clicable-items tr.row-selected:hover{
    background-color: #eee;
    cursor: default;
}

.table.dataTable.clicable-items tr:hover {
    background-color: #fafafa;
    cursor: pointer
}

.table-sm td.description-data{
    padding-right: 100px;
    position: relative;
}

    .table-sm td.description-data .read-more-link {
        position: absolute;
        cursor: pointer;
        right: 10px;
    }

.dataTables_wrapper .dataTables_filter{
    display: none;
}

.show-more {
    cursor: pointer;
}

    .show-more .expand-text, .collapsed .show-more .collapse-text {
        display: none;
    }

.collapsed .show-more .expand-text {
    display: inherit;
}

.emoji-icon {
    width: 30px;
    height: auto;
    padding-right: 5px;
}

.user-detail .tab-content .search-wrap .btn-primary.right {
    margin-top: 0;
}

.user-detail .tab-content .search-wrap .form-group {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
}

.datepicker td, .datepicker th {
    font-size: 13px;
    line-height: 20px;
    padding: 5px 6px;
    border-top: 1px solid #dfe4ea;
}

.datepicker th {
    font-size: 11px;
    font-weight: 600;
}

.datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
    background: #eee !important;
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
    background: #00BF67 !important;
}

.input-group.datepicker {
    padding: 0;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(1.5em + 1.05rem + 2px);
}

.dt-custom.no-search .dataTables_filter {
    display: none;
}

.table-header.feature-reading {
    padding-left: 0px;
}

    .table-header.feature-reading h3 {
        padding-left: 15px;
    }

.read-all {
    width: 55px;
    padding: 0 10px 0 15px;
    line-height: 1.3;
    text-align: center;
}

.dataTables_info{
    float: left;
}

.dataTables_paginate{
    float: right;
    padding-top: 0.85em;
}

.dataTables_paginate .paginate_button {
    padding: 0.3em 0.7em;
    border-radius: 2px;
    min-width: 1.5em;
    border: 1px solid transparent;
    color: #212529;
    cursor: pointer;
}

    .dataTables_paginate .paginate_button:hover {
        text-decoration: none;
        background-color: #eee;
    }

    .dataTables_paginate .paginate_button.disabled {
        color: #87929F;
        cursor: default;
        background-color: transparent;
    }

    .dataTables_paginate .paginate_button.current {
        color: #fff;
        background-color: #00BF67;
    }


.mark-read, .mark-read-all{
    cursor: pointer;
}

    .mark-read.has-read, .mark-read-all.has-read{
        color: #00BF67;
    }

.table.dataTable tbody tr td:first-child, .table tbody tr td:first-child {
    color: #858796;
}

.modal-description{
    white-space: pre-wrap !important;
}