/* BODY */
body {
    background-color: #f3f6f6;
}

/* TWB TEMPLATE */
.twb-template-cotainer {
}
.twb-template {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* MARGINS */
.margin-top {
    margin-top: 15px;
}
.margin-bottom {
    margin-bottom: 15px;
}
.margin-bottom-5 {
    margin-bottom: 5px;
}

/* PADDING */
.padding {
    padding: 30px 15px;
}
.padding-top {
    padding-top: 15px;
}
.padding-bottom {
    padding-bottom: 15px;
}

/* NAVBAR */
.navbar {
    margin: 0;
}
.navbar-brand > img {
    max-height: 100%;
}

/* CONTENT */
h1,
h2 {
    text-align: center;
}
.word-break-keep-all {
    word-break: keep-all;
}
.white-space-nowrap {
    white-space: nowrap;
}

/* FOOTER */
.footer {
    background-color: #f5f5f5;
}

/* DATAGRID */
.datagrid {
    padding: 15px 0;
    background: none;
}
.datagrid .table {
    background-color: #ffffff;
}
.datagrid .table thead tr {
    background-color: #f5f5f5;
}
.datagrid .row-grid-bottom,
.datagrid table thead tr.row-group-actions th {
    background-color: #eeeeee;
}
.datagrid table tbody tr .datagrid-inline-edit textarea.form-control {
    height: 84px;
}
.datagrid .col-action .btn {
    text-align: left;
}

.datagrid-itemDentalPreventionGrid .datagrid-inline-edit-trigger,
.datagrid-itemEmployeeTemporaryWorkerGrid .datagrid-inline-edit-trigger {
    display: block;
    margin-top: 5px;
}
.datagrid-itemDentalPreventionGrid .col-action-inline-edit {
}
.datagrid-itemDentalPreventionGrid .col-action-inline-edit button {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

/* CHART */
.chart {
    display: block;
    height: 600px;
    margin-bottom: 20px;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
}
@media (max-width: 767px) {
    .chart {
        height: 300px;
    }
}

/* ICONS */
.fa-sum:before {
    content: "\03A3";
    font-family: sans-serif;
}
.gi-2x {
    font-size: 2em;
}
.gi-3x {
    font-size: 3em;
}
.gi-4x {
    font-size: 4em;
}
.gi-5x {
    font-size: 5em;
}

/* TABLE WALLET */
.table.table-workshift > thead > tr > th,
.table.table-workshift > tbody > tr > th,
.table.table-workshift > tfoot > tr > th,
.table.table-workshift > thead > tr > td,
.table.table-workshift > tbody > tr > td,
.table.table-workshift > tfoot > tr > td {
    padding: 4px;
}
.overflow-x-auto {
    overflow-x: auto;
}
.vertical-align-middle {
    vertical-align: middle !important;
}

/* TABLE REPORT / WORKSHIFT */
.table.table-report,
.table.table-workshift {
    background-color: #ffffff;
}

/* WELL */
.well {
    box-shadow: none;
}

/* BUTTON */
.btn {
    border-radius: 2px;
}
.btn-margin-bottom {
    margin-bottom: 5px;
}
.btn-text-left {
    text-align: left;
}

/* HEADER */
.navbar-inverse {
    background-color: #003da6;
    border-color: #003da6;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}

/* SPECIFIC PAGES */
#frm-userForm-password_generated {
    background: none;
    border: none;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

/* IFRAME BLOCK */
.iframe-block {
    display: block;
    max-width: 800px;
    height: 800px;
    margin: 0 auto;
}

/* FORMS */
input[type="color"] {
    padding: 0;
}
.form-check-inline {
    display: inline-block;
    margin-right: 1rem;
}
#frm-userPersonalSurveyForm .help-block {
    white-space: pre-line;
    margin: 0;
    margin-top: 5px;
    font-size: 12px;
    line-height: normal;
}

/* SETTINGS */
.col-settings {
    display: block;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #dddddd;
    color: inherit;
    background-color: #ffffff;
}
.col-settings:hover {
    text-decoration: none;
}
.col-settings .fa-solid,
.col-settings .fa-regular,
.col-settings .fa-brands {
    vertical-align: middle;
    padding-right: 10px;
}

/* HOVER EFFECT */
.hover-shadow:hover {
    box-shadow: 0 1px 5px rgba(11, 18, 20, 0.1);
}

/* MULTISELECT */
span.multiselect-native-select,
.btn-group-multiselect {
    display: block;
    width: 100%;
}
.btn-group-multiselect button.multiselect {
    text-align: left;
}
.multiselect-container .multiselect-option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 5px 10px;
    text-align: left;
    border: none;
}
.multiselect-container .multiselect-option .form-check {
    padding: 0;
}
.multiselect-container .multiselect-option .form-check input[type="checkbox"] {
    margin: 0 5px 0 0;
}
.multiselect-container .multiselect-filter>input.multiselect-search {
    margin-left: 0;
}
.ts-wrapper.form-control {
    padding: 0;
    height: auto;
}
.ts-wrapper.form-control .ts-control {
    border: 0;
    box-shadow: none;
}
.ts-dropdown.dropdown-menu {
    display: none;
}

/* LABEL */
.label-inline-block {
    display: inline-block;
    margin-right: 5px;
}

/* CALENDAR */
#calendar {
    padding: 15px;
    background-color: #ffffff;
}
#calendar a.fc-event {
    cursor: pointer;
}
.tippy-box {
    min-width: 200px;
}
.fc-tooltip {
    font-size: 12px;
}
.fc-tooltip p {
    margin: 2px 0;
}
.fc-tooltip p.margin-bottom {
    margin-bottom: 10px;
}
.fc-tooltip p.fc-tooltip-title {
    font-weight: bold;
}

/* ITI */
.iti {
    display: block;
}

/* LOG */
.ua-chips .ua-chip {
    display: inline-block;
    margin-right: 6px;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 4px 8px;
    font-weight: 600;
    border-radius: 12px;
}
.ua-chips .ua-chip .fa-solid,
.ua-chips .ua-chip .fa-regular,
.ua-chips .ua-chip .fa-brands {
    margin-right: 4px;
}

/* PERSONAL SURVEY */
#personal-survey-sidebar .list-group-item.active {
    font-weight: 600;
}

#personal-survey-sidebar .step-status {
    float: right;
    font-size: 12px;
}

#personal-survey-sidebar .step-status.step-error {
    color: #d9534f;
}

#personal-survey-sidebar .step-status.step-complete {
    color: #5cb85c;
}

#personal-survey-draft-status {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    margin: 0;
    max-width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
}

#personal-survey-draft-status.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 992px) {
    #personal-survey-sidebar {
        position: sticky;
        top: 15px;
    }
}

/* BLOG AUTHORS */
.blog-authors-link-wrap {
    margin-top: 20px;
}

.blog-authors-hero,
.blog-author-profile-hero {
    padding: 45px 0 30px;
}

.blog-authors-section,
.blog-author-profile-content-section,
.blog-author-articles-section {
    padding-bottom: 45px;
}

.blog-author-list > div,
.blog-author-article-list > div {
    display: flex;
    margin-bottom: 30px;
}

.blog-author-card,
.blog-profile-article-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.blog-author-card-image-link,
.blog-profile-article-image-link {
    display: block;
}

.blog-author-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.blog-author-card-body,
.blog-profile-article-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
}

.blog-author-card-name {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 24px;
}

.blog-author-card-position,
.blog-author-profile-position,
.blog-author-box-position {
    margin-bottom: 14px;
    color: #777777;
    font-weight: 600;
}

.blog-author-card-perex {
    flex: 1 1 auto;
    margin-bottom: 20px;
}

.blog-card-author {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 20px;
}

.blog-card-author-image-link {
    flex: 0 0 44px;
    margin-right: 12px;
}

.blog-card-author-image {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.blog-card-author-content {
    min-width: 0;
}

.blog-card-author-name {
    display: block;
    color: #333333;
    font-weight: 700;
}

.blog-card-author-position {
    color: #777777;
    font-size: 12px;
}

.blog-detail-author-link {
    color: #337ab7;
    font-weight: 700;
}

.blog-author-box {
    display: flex;
    align-items: flex-start;
    margin-top: 40px;
    padding: 28px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.blog-author-box-image-link {
    flex: 0 0 140px;
    margin-right: 28px;
}

.blog-author-box-image {
    display: block;
    width: 140px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}

.blog-author-box-label {
    margin-bottom: 5px;
    color: #777777;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-author-box-name {
    margin-top: 0;
    margin-bottom: 6px;
}

.blog-author-box-perex {
    margin-bottom: 16px;
}

.blog-author-box-more {
    font-weight: 700;
}

.blog-author-profile {
    display: flex;
    align-items: center;
}

.blog-author-profile-image {
    display: block;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}

.blog-author-profile-perex {
    margin-top: 20px;
}

.blog-author-profile-links .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

.blog-author-profile-content {
    color: #444444;
    line-height: 1.75;
}

.blog-author-profile-content img {
    max-width: 100%;
    height: auto;
}

.blog-profile-article-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-profile-article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #777777;
    font-size: 12px;
}

.blog-profile-article-body > .btn {
    align-self: flex-start;
    margin-top: auto;
}

.blog-empty-state,
.blog-author-pagination {
    padding: 30px 0;
    text-align: center;
}

.blog-author-card a:focus,
.blog-card-author a:focus,
.blog-author-box a:focus,
.blog-author-profile a:focus {
    outline: 2px solid #337ab7;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .blog-author-profile {
        display: block;
    }

    .blog-author-profile-image {
        margin-bottom: 24px;
    }

    .blog-author-box {
        display: block;
    }

    .blog-author-box-image-link {
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
