﻿/* -------------------------------------- */
/*           Common button styling        */
/* -------------------------------------- */

header, main, footer {
    margin-left: 55px;
}

.main-layout {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}


html {
    overflow-y: scroll;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2, h3 { 
    margin: 0; 
}

h1 {
    font-size: 1.8rem;
}

table {
    border-spacing: 0 0;
    border-collapse: collapse;
}

.hidden {
    display: none;
}

.button {
    display: block;
    border: 1px solid #0c459b;
    /* border-radius: .5rem; */
    border-radius: 7px;
    padding: .5rem 1rem;
    background: #ebf3ff;
    cursor: pointer;
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    user-select: none;
    position: relative;
}

.button:not(.button-micro):not(.button-mini):active {
    box-shadow: 1px 1px 1px 1.5px #656565 inset;
    padding-top: .6rem;
    padding-bottom: .4rem;
}

.view-survey-buttons > .button:active {
    padding-top: .5rem !important;
    padding-bottom: .3rem !important;
}

.button-micro:active {
    box-shadow: 1px 1px 1px 1.5px #656565 inset;
    padding-top: .3rem;
    padding-bottom: .1rem;
}

.button:hover {
    background: white;
}

.green-button {
    background: #28a745;
    color: white;
    border: none;
}

.green-button:hover {
    background: #1e7e34;
}

.button-mini {
    padding: .35rem .6rem;
    font-size: 1rem;
}

.button-mini:active {
    box-shadow: 1px 1px 1px 1.5px #656565 inset;
    padding-top: .4rem;
    padding-bottom: .3rem;
}

.button-micro {
    padding: .2rem .5rem;
    font-size: .8rem;
}

.dx-row-focused .button-micro {
    color: black !important;
}

.dx-datagrid-rowsview .dx-row-focused.dx-data-row .dx-command-edit .dx-link:focus {
    background-color: transparent !important;
}

input[type="text"], input[type="file"], input[type="password"], input[type="date"], input[type="number"], input[type="datetime-local"], input[type="date"], input[type="color"], select, textarea {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 4px 8px;
    font-size: 1.2rem;
    border: 1px solid #9AC4E8;
    width: 400px;
    -ms-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 22px;
    box-shadow: 1px 1px 1px #929292 inset;
}

.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    box-shadow: 1px 1px 1px #929292 inset;
}

#survey-search-textinput {
    box-shadow: none;
}

input[type="text"][readonly], input[type="password"][readonly], input[type="date"][readonly], input[type="number"][readonly], input[type="datetime-local"][readonly], input[type="date"][readonly], select[readonly], textarea[readonly] {
    background: #ebf3ff;
    cursor: help;
}

.href-inline {
    color: #008db9;
}

.input-flex-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
 
/* -------------------------------------- */
/*           Header blocks styling        */
/* -------------------------------------- */
.atpai-header {
    background: #cae8ff;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 55px;
    padding-left: .7rem;
    padding-right: .4rem;
}

.logotype-container {
    width: 160px;
}

.user-credentials-container-and-bridges-stats {
    width: 350px;
}

.header-admin-bridges-stats {
    width: 175px;
    border-radius: .5rem; 
    margin-right: 1.2rem;
    background: #84caff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.bridge-app-stat-cell {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: .4rem;
    padding-left: 0;
    padding-right: 0;
}

.central-stat-cell {
    border-right: 1px solid #649ec9;
    border-left: 1px solid #649ec9;
    padding-left: .5rem;
    margin-right: .5rem;
}

.bridge-app-activity-cell {
    margin-left: .5rem;
    margin-right: .5rem;
}

.bridge-app-activity-cell [data-role="offline"] {
    width: 15px;
    height: 15px;
    background: #f74747;
    display: block;
    border-radius: .5rem;
    cursor: help;
}

.bridge-app-activity-cell [data-role="online"] {
    width: 15px;
    height: 15px;
    background: #1c991c;
    display: block;
    border-radius: .5rem;
    cursor: help;
}

.bridge-app-activity-cell [data-role="pending"] {
    width: 15px;
    height: 15px;
    background: #f3f3f3;
    display: block;
    border-radius: .5rem;
    cursor: help;
}

.bridges-app-info-icon-cell {
    cursor: pointer;
    color: #0d5e7b; 
}

.offline-label {
    color: red;
    font-weight: bold;
}

.online-label {
    color: #379b37;
    font-weight: bold;
}

.bridges-current-data {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.bridge-item-data {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #7d7d7d;
    padding-bottom: 1rem;
}

.bridge-item-data-last {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logotype-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}

.app-version {
    color: #436e9b;
    font-size: .8rem;
    display: flex;
    position: absolute;
    top: 3px;
    left: calc(51px + 55px);
}

.app-version i {
    margin-left: .2rem;
}

.user-credentials-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

.proposal-document-sections-navigator {
    width: 250px;
    position: fixed;
    left: 55px;
    top: 0;
    height: 100%;
    background: #addce7;
}

.proposal-document-sections-navigator--label {
    height: 54px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #72bacb;
}

.proposal-document-sections-navigator--label i {
    margin-right: .6rem;
}

.section-name-preview {
    font-size: 1.2rem;
    color: #333;
    margin-top: 1rem;
}

.section-navigation-row {
    cursor: pointer;
    padding-left: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background: #ebf3ff;
    margin: 1rem;
    user-select: none;
}

.section-navigation-row.selected-section-nav {
    box-shadow: 0px 1px 3px #000;
    background: #7dd4ff;
    font-weight: bold;
}

.section-navigation-row .section-pages-count {
    float: right;
    margin-right: .5rem;
    color: #676767;
}

.user-credentials-container.proposal-doc-section-opened {
    margin-right: 200px;
}

.header-atpaicrm-link {
    font-size: 1.8rem; 
    margin-right: 1.2rem;
}

#usernamerole {
    color: white;
    text-decoration: none;
    padding: 0.2rem 0.7rem 0.2rem 0.25rem;
    margin-right: .2rem;
    border-radius: 2rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    font-family: sans-serif;
    background-color: #28a745;
}

#usernamerole:hover {
    background-color: #1e7e34;
}

.user-no-avatar-yet-account-button-circle {
    width: 25px;
    height: 25px;
    color: #035796;
    display: block; 
    color: white;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: .2rem;
}

#header-atpaicrm-link {
    color: #2976b2 !important;
}

.atpai-left-bar {
    width: 55px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #003738;
    color: white;
    z-index: 999;
}

.left-bar-menu-item {
    height: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: white;
    position: relative;
}

#left-menu-users {
    color: #77f04a;
}

.left-bar-menu-item.active,
#left-menu-users.active {
    color: #00ffab;
}

.left-menu-current-section-triangle {
    display: none;
    width: 1px;
    height: 55px;
    position: absolute;
    right: 0;
    top: -25px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.left-bar-menu-item.active .left-menu-current-section-triangle,
#left-menu-users.active .left-menu-current-section-triangle,
#left-menu-api.active .left-menu-current-section-triangle {
    display: flex;
}

.left-menu-current-section-triangle > span {
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid white;
}

#left-menu-dashboard .left-menu-current-section-triangle > span {
    border-right: 7px solid #cae8ff !important;
}

#left-menu-content-library .left-menu-current-section-triangle > span {
    border-right: 7px solid #ebf3ff !important;
}

.left-bar-menu-item:hover {
    background: #065d5f;
}

.faq-quick-link-block {
    margin-left: auto;
    margin-right: 1rem;
    color: #0b78a3;
}

.faq-inner-text-link {
    color: #0f95bf !important;
}

/* -------------------------------------- */
/*                Action tabs             */
/* -------------------------------------- */

.action-tabs {
    border-bottom: 1px solid #4698b5;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.action-tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    width: 8.8rem;
    height: 2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    opacity: .4;
    cursor: pointer;
    user-select: none; 
}
 
.action-tab:hover {
    background: #ebf3ff;
}

.action-tab.active {
    position: relative;
    top: 1px;
    border-left: 1px solid #4698b5;
    border-top: 1px solid #4698b5;
    border-right: 1px solid #4698b5;
    background: white;
    opacity: 1;
    box-shadow: 1px -2px 2px #cbcbcb;
}

.action-tab .img {
    font-size: 1.2rem;
    margin-right: .5rem;
}

.action-tab .name {
    font-size: 1rem;
    font-weight: bold;
}

.action-tab .desc {
    font-size: .8rem;   
}

.tab-name-and-desc {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* -------------------------------------- */
/*           Another simple tabs          */
/* -------------------------------------- */

.tabs-head-panel {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #333333;
    position: relative;
    z-index: 1;
    width: calc(100% - 5px); 
}

.tabs-head-panel .tab-header {
    margin-right: .5rem;
    padding: .4rem 1rem;
    cursor: pointer; 
}

.tabs-head-panel .tab-header.active {
    border-left: 1px solid #333333;
    border-right: 1px solid #333333;
    border-top: 1px solid #333333;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    position: relative;
    top: 1px;
    z-index: 2;
    background: #e7f1ff;
}

.tabs-head-panel .tab-header:not(.active) {
    opacity: .6;   
}

.tab-body {
    border-left: 1px solid #333333;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    padding: 10px;
}

.survey-details-overview-inner-area .tab-header:not(.active):hover {
    background: #bfd8ff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* -------------------------------------- */
/* Loader (Overlay with "Loading..." text */
/* -------------------------------------- */
.wait-loader {
    top: 0;
    left: 0;
    position: fixed;
    z-index: 15533;
}

.wait-loader .overlay,
.atpai-modal .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: .9;
    z-index: 1531;
}

.wait-loader .loader-text,
.atpai-modal .modal-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1532;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wait-loader .loader-text .loader-text-row {
    font-size: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.atpai-modal .modal-text .modal-text-row {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
    text-align: center;
}

.wait-loader .loader-text .loader-text-row .loader-icon {
    margin-right: .7rem;
}

.wait-loader .loader-text .loader-text-row .loader-sublabel {
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.other-survman-entry-editing-now-modal .button,
.other-fieldman-entry-editing-now-modal .button {
    margin-top: 1rem;
}

.modal-simple-text {
    font-size: 1.2rem;
    margin-top: .5rem;
    text-align: center;
}

.qbo-sync-wait-loader .overlay {
    background: #eafff3;
}

.pqb-sync-heading-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pqb-sync-heading-icons > div {
    margin-left: .5rem;
    margin-right: .5rem;
    font-size: 4rem;
}

.pqbo-sync-center-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qbo-sync-proposal-icon {
    color: #00507c;
}

.qbo-sync-quickbookb-icon {
    color: #28a745;
}

.pqbo-sync-center-block > div {
    height: 35px;
}

.pqbo-sync-center-block,
.pqbo-sync-center-block i {
    font-size: 1.8rem !important;
    color: #575757;
}

/* ------------------------*/
/*         Pagination      */
/* ----------------------- */

[data-role="page-lister-outer-holder"] {
    width: 100%;
}

.ta_right {
    text-align: right;
}

div[data-role='pagination'] {
    background: #f1f7ff;
    padding: 3px;
}

div[data-role='pagination'] select {
    width: 220px;
    padding: 2px 6px;
    font-size: 1rem;
    margin: 2px;
    border-radius: 5px !important;
}

div[data-role='pagination'] .pager-left-label {
    width: 62px;
    font-size: 1rem;
    color: #535353;
    font-weight: bold;
    text-align: center;
}

div[data-role='pagination'] div[data-role='pager'] {
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding: 1px 5px;
    color: #1D7BC9;
    text-decoration: none;
    text-shadow: 0 1px 0 #E2E2E2;
    cursor: pointer;
    font-size: 20px;
    font-family: Arial;
    text-decoration: none;
    border: 1px solid #9AC4E8;
    border-radius: 5px;
    background: white;
}

div[data-role='pagination'] div[data-role='pager']:hover {
    background: #dae9ff;
    box-shadow: 0px 1px 1px #000000;
}

div[data-role='pagination'] div[data-role='pager'][data-activepage='yes'] {
    
    /*
    color: red !important;
    border: 1px solid #DCA5A5;
    box-shadow: 0 1px 2px #4f4f4f inset;
    text-shadow: 0 1px #ffffff;
    */

    color: red !important;
    border: 1px solid #d37d7d;
    box-shadow: 0 1px 2px #9d0e0e inset;
    text-shadow: 0 1px #ffffff;
    padding-top: 3px;
    height: 22px;

}

div[data-role='pagination'] div[data-role='pager'][data-activepage='yes']:hover {
    background: #ffe4e4;
}

.page-lister-items-per-page {
    width: 200px; 
}
 
.pager-right-area > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

[data-role='page-lister-outer-holder'] [data-role='refresh-items'] {
    cursor: pointer;
    margin-right: .5rem;
    font-size: 1.2rem;
    color: #1D7BC9;
}

/* ------------------------*/
/*       Pagination 2      */
/* ----------------------- */

.pagination-page-numbers-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

div[data-role='pagination-2'] {
    background: #f1f7ff;
    padding: 3px;
    box-shadow: 1px 0px 3px #9f9f9fc2;
    border: 1px solid #4698b5;
    border-radius: 5px; 
}

div[data-role='pagination-2'] select {
    width: 220px;
    padding: 2px 6px;
    font-size: 1rem;
    margin: 2px;
    border-radius: 5px !important;
}

div[data-role='pagination-2'] .pager-left-label {
    width: 62px;
    font-size: 1rem;
    color: #535353;
    font-weight: bold;
    text-align: center;
}

div[data-role='pagination-2'] .pager-right-area {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

div[data-role='pagination-2'] [data-role="page-lister-outer-holder"] {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

div[data-role='pagination-2'] div[data-role='pager'] {
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding: 1px 5px;
    color: #1D7BC9;
    text-decoration: none;
    text-shadow: 0 1px 0 #E2E2E2;
    cursor: pointer;
    font-size: 20px;
    font-family: Arial;
    text-decoration: none;
    border: 1px solid #9AC4E8;
    border-radius: 5px;
    background: white;
}

div[data-role='pagination-2'] div[data-role='pager']:hover {
    background: #dae9ff;
    box-shadow: 0px 1px 1px #000000;
}

div[data-role='pagination-2'] div[data-role='pager'][data-activepage='yes'] {
    color: red !important;
    border: 1px solid #d37d7d;
    box-shadow: 0 1px 2px #9d0e0e inset;
    text-shadow: 0 1px #ffffff;
    padding-top: 3px;
    height: 22px;
}

div[data-role='pagination-2'] div[data-role='pager'][data-activepage='yes']:hover {
    background: #ffe4e4;
}

.page-lister-items-per-page {
    width: 200px;
}

div[data-role='pagination-2']:first-child {
    margin-bottom: 1rem;
}

div[data-role='pagination-2']:last-child {
    margin-top: 1rem;
}

/* -------------------------------------------- */
/*    Heading block (Header of each section)    */
/* -------------------------------------------- */
.section-heading-titles {
    padding-left: 1rem;
    margin-bottom: 1rem;
    height: 55px;
    background: #ebf3ff;
    width: calc(100% - 1rem);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.4rem;
}

.section-heading-titles h1,
.section-heading-titles h2 {
    font-size: 1.4rem;
    margin-right: .5rem;
    font-weight: bold;
}

.section-heading-titles div {
    color: #898989;
}

/* Heading block top right area ("Create new *" button + "Only my items checkbox") */

.top-right-actions-block {
    margin-left: auto;
}

.top-right-actions-block > div {
    
}

.view-only-my-data-checkbox {
text-align: right;
margin-top: .5rem;
margin-right: .2rem;
user-select: none;
font-size: 1.1rem;
}

.view-only-my-data-checkbox input {
    position: relative;
    top: 2px;
    padding: 3px;
    height: 16px;
    width: 16px;
}

/* ------------------------*/
/*  Other universal parts  */
/* ----------------------- */
.notification-read {
    opacity: .8;
    background: #dfdfdf;
    border-bottom: 1px solid #ccc !important;
}

.notification-critical-celllabel {
    color: red;
    font-weight: bold;
}

.notification-critical--unread {
    background: #ffcbcb;
}

.unread-critical-notification {
    color: red;
    cursor: help;
    margin-right: .5rem;
}

.user-have-critical-notifications .user-notifications-bell-block {
    color: red !important;
}

#usernamerole.user-have-critical-notifications {
    background: #ffa0a0 !important;
    border: 1px solid red !important;
    color: red;
    font-weight: bold;
}

.dx-checkbox-icon {
    border: 3px solid #67a0e6 !important;
    width: 22px;
    height: 22px;
}

.dx-datagrid-checkbox-size .dx-checkbox-icon {
    width: 20px;
    height: 20px;
}

.dx-checkbox.dx-state-hover .dx-checkbox-icon {
    border: 3px solid #103d64 !important;
}

.notifications-checkbox-block .dx-checkbox-icon {
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #67a0e6 !important;
}

/* ---------------- */
/* Rates libraries  */
/* ---------------- */

.invoice-lib-header {
    padding: 0.4rem;
    border-bottom: 1px solid #898989;
    background: #cdcdcd;
    color: black;
    height: 20px;
    font-weight: bold;
}

.proposal-edition-tab .invoice-lib-header {
    display: flex;
    flex-direction: row; 
    justify-content: flex-start;
    align-items: center;
}

.proposal-edition-tab .invoice-lib-header .lib-block-expander {
    margin-left: auto;
    cursor: pointer;
    font-size: 1.5rem;
}

.proposal-edition-tab .invoice-builder-section[expand-state='collapsed'] .invoice-lib-item  {
    display: none;
}

.proposal-lib-group-sticked {
    position: fixed;
    top: 0;
    width: 420px !important;
    z-index: 10;
}

.proposal-lib-group-one-sticked {
    width: 420px !important;
    position: fixed;
    top: 0;
}

.proposal-lib-group-two-sticked {
    width: 420px !important;
    position: fixed;
    top: 50px;
}

.proposal-lib-group-three-sticked {
    width: 420px !important;
    position: fixed;
    top: 100px;
}

.proposal-lib-group-large-height .section-items {
    height: 600px;
    overflow-y: scroll;
}

.invoice-builder-section {
    margin-top: 1rem;
    user-select: none;
}

.invoice-builder-section[data-type="fee-schedule"] {
    background: #c1daff;
    width: 100%;
}

.invoice-builder-section[data-type="work-material"] {
    background: #dfc1ff;
    width: 100%;
}

.invoice-builder-section[data-type="extra-service"] {
    background: #ffc479;
    width: 100%;
}

.invoice-builder-section.inactive {
    opacity: .5;
}

.survey-services-administrative-header {
    margin-bottom: 1rem;
}

.company-survey-services-library .stored-survey-service-item {
    background: #b8e7be;
}

.company-survey-services-library .stored-survey-service-item:hover {
    background: #ebf3ff;   
}

.invoice-editor-library .invoice-lib-item,
.company-survey-services-library .stored-survey-service-item,
.company-survey-services-library .stored-survey-service-item-theader {
    padding: .4rem;
    border-bottom: 1px solid #898989;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    height: 20px;
}

.invoice-editor-library .invoice-lib-item .code {
    width: 100px;
    word-break: keep-all;
    position: relative; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 20px;
}

.invoice-editor-library .invoice-lib-item .details
{
    margin-left: auto;
    width: 150px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.std-template-pricing-table-preview-block .invoice-lib-item .details {
    width: 175px !important;
}

.invoice-editor-library .invoice-lib-item .details .price {
    text-align: right;
    margin-left: auto;
}

.invoice-editor-library .invoice-lib-item:hover {
    background: #ebf3ff;
}

.handlebars-obligatory-item {
    color: #9b0087;
    margin-right: .5rem;
    cursor: help;
}

.invoice-editor-library .invoice-lib-item .unit-details {
    color: #696969; 
    text-align: left;
}

.stored-survey-service-item-theader {
    font-weight: bold;
    background: #cdcdcd;
}

.stored-survey-service-item-theader .service-id,
.stored-survey-service-item-theader .service-requires-recording,
.stored-survey-service-item .service-id,
.stored-survey-service-item .service-requires-recording {
    margin-left: auto;
    text-align: right;
    width: 100px;
}

.stored-survey-service-item-theader .service-name,
.stored-survey-service-item .service-name {
    width: calc(100% - 200px); 
}

/* --------------- */
/* Auth container  */
/* --------------- */
#loginContainer,
#pwdUpdateContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-inner,
.pwd-update-inner {
    /* ... */
}

.credentials-button {
    margin-top: .5rem;
}

.login-inner h3,
.pwd-update-inner h3 {
    text-align: center;
    font-size: 1.5rem;
}

.login-inner input {
    width: 200px !important;
}

.login-status-row {
    font-size: 1.5rem;
    text-align: center;
}

.std-button {
    font-size: 1.5rem;
    line-height: normal;
    padding-top: 0;
}

.loading-credentials {
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: white;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; 
    z-index: 10;
}

.loading-credentials .loader-icon {
    margin-right: 1rem;
}

.user-small-avatar-and-name {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.user-small-avatar-and-name img {
    margin-right: 10px;
}

.user-notifications-bell-block {
    margin-right: 10px;
    color: #004db3;
    font-weight: bold;
}

.user-notifications-bell-block .notifications-counter-number {
    margin-left: .2rem;
}

/* --------------- */
/*    Search bar   */
/* --------------- */

.search-string-block {
    border: 1px solid #cccccc;
    padding: .2rem;
    background: white;
    box-shadow: 0 1px 1px #cccccc inset;
    padding-left: .8rem;
    width: calc(100% - 1rem);
    border-radius: .3rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.search-string-block .search-loupe {
    font-size: 1.2rem;
}

.search-string-block input {
   width: calc(100% - 90px);
   box-shadow: none !important;
}

.search-string-block i {
    margin-right: .4rem;   
}

.search-string-block input {
    border: none;
    padding: .3rem;
    font-size: 1.2rem;
    outline: none;
}

.search-go {
    padding: 0.2rem 0.6rem;
    background: #28a745;
    color: white;
    font-weight: bold;
    border-radius: 0.3rem;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0.2rem;
}

/*
    Footer for inner partitions
*/

.footer {
    background: #e4e4e4;
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.copyright-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.copyright-block > div {
    margin-left: .25rem;
    margin-right: .25rem;
}

.copyright-block a,
.bottom-block-copyright-logo-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.surveysphere-logo-bottom-block {
    position: relative;
    top: 2px;
    z-index: 0;
}

.data-is-secure-footer-image {
    border-radius: 7px; 
}

.made-by-surveyors-for-surveyors {
    color: #333333;
    font-weight: bold;
}

.bottom-block-copyright-center-area {
    margin-right: .7rem !important;
}

/* Modal window */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /** z-index: 10000; */
    z-index: 9995;
}

.modal-overlay {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 0;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.modal-header-icon-before {
    font-size: 6rem;
    margin-bottom: 1rem;
    color: #00476b;
}

.modal-icon {
    font-size: 4rem;
    color: #00476b;
    margin-bottom: .5rem;
}

.modal-header {
    font-size: 2rem;
}

.modal-header i {
    color: #00476b;
    margin-right: .3rem;
}

.modal-subheader {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    margin-top: .3rem;
}

.modal-input-field {
    margin-bottom: 1.2rem;
}

.modal-input-last-field {
    margin-bottom: 0;
}

.modal-input-field input,
.modal-input-field select,
.modal-input-field textarea {
    width: 250px;
}

.modal-input-field textarea {
    height: 100px;
    resize: none;
}

.modal-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.modal-buttons-second-bar {
    margin-top: 1rem;
}

.modal-buttons > div {
    margin-left: .5rem;
    margin-right: .5rem;
}

.modal-form-many-fields {
    margin-top: 1.5rem;
    margin-bottom: .8rem;
}

.modal-form-many-fields .modal-input-field input,
.modal-form-many-fields .modal-input-field select {
}

.modal-form-many-fields-va-top {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.modal-form-many-fields .modal-input-field {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.modal-form-many-fields .field-label {
    font-size: 1.2rem;
    margin-bottom: .2rem;
    width: 150px;
}

.modal-form-many-fields .field-label-description {
    width: 100%;
    font-size: .8rem;
    margin-top: .3rem;
    margin-bottom: 1.2rem;
    color: #676767;
}

.requred-field {
    width: 0px;
    position: relative;
    overflow: visible;
}

.requred-field > div {
    position: relative;
    left: -10px;
    background: #9AC4E8;
    height: 18px;
    width: 18px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: help;
}

.requred-field > div i {
    font-size: 10px;
    color: red;
    position: relative;
    left: 1px;
}

.field-with-extension {
    margin-bottom: 0 !important;
}

.modal-buttons-after {
    margin-top: 1rem;
}

.modal .modal-icon .fa-regular.fa-circle-xmark {
    color: red;
}

.ateam-modal-header-title-v2--close-modal:active {
    box-shadow: 1px 1px 1px 1.5px #656565 inset;
}

.modal-form-linear-fields {
    margin-top: 0;
    margin-bottom: 0;
}

.modal-form-linear-fields .field-label {
    width: 100%;
    margin-bottom: 5px;
}

.modal-form-linear-fields .modal-input-field {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.modal-input-field-linear-line {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.modal-form-linear-fields .modal-input-field input[type="text"],
.modal-form-linear-fields .modal-input-field input[type="number"],
.modal-form-linear-fields .modal-input-field input[type="email"],
.modal-form-linear-fields .modal-input-field input[type="tel"],
.modal-form-linear-fields .modal-input-field input[type="date"],
.modal-form-linear-fields .modal-input-field input[type="datetime-local"],
.modal-form-linear-fields .modal-input-field input[type="month"],
.modal-form-linear-fields .modal-input-field input[type="week"],
.modal-form-linear-fields .modal-input-field input[type="time"],
.modal-form-linear-fields .modal-input-field input[type="url"],
.modal-form-linear-fields .modal-input-field input[type="password"],
.modal-form-linear-fields .modal-input-field input[type="button"],
.modal-form-linear-fields .modal-input-field input[type="color"],
.modal-form-linear-fields .modal-input-field input[type="hidden"],
.modal-form-linear-fields .modal-input-field input[type="range"],
.modal-form-linear-fields .modal-input-field select,
.modal-form-linear-fields .modal-input-field textarea {
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
    padding: 8px;
    min-height: 30px;
}

.modal-form-linear-fields .modal-input-field select {
    padding: 4px;
}

.field-sublabel-linear {
    font-size: 14px;
    margin-bottom: 10px;
    color: #9c9c9c;
}

/* ------------------------------------------------------- */
/*         Surveys statuses tabs + Clients types tabs     */
/* ------------------------------------------------------- */
.surveys-statuses-tabs,
.clients-types-tabs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 1rem;
    margin-right: 1rem;
}

.clients-types-tabs {
    border-bottom: 1px solid #4698b5;
}

.surveys-statuses-tabs {
 
}


.surveys-statuses-tabs .status-tab,
.clients-types-tabs .status-tab {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
    opacity: .4;
    cursor: pointer;
    user-select: none;
    text-align: center;
    transition: all .15s;
}

.surveys-statuses-tabs .status-tab:hover,
.clients-types-tabs .status-tab:hover{
    background: #ebf3ff;
    opacity: .6;
}

.surveys-statuses-tabs .status-tab .img {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.surveys-statuses-tabs .status-tab i,
.clients-types-tabs .status-tab i {
    font-size: 2rem;
}

.surveys-statuses-tabs .status-tab .name,
.clients-types-tabs .status-tab .name {
    margin-top: .5rem;
    font-weight: bold;
    font-size: 1rem;
}

.surveys-statuses-tabs .count-and-sum,
.clients-types-tabs .status-tab .sum {
    font-size: .8rem;
}

.surveys-statuses-tabs .all-surveys-bulk-text,
.clients-types-tabs .all-surveys-bulk-text {
    margin-top: .2rem;
    font-weight: bold;
    color: #939393;
    font-size: .8rem;
    text-align: center;
    width: 100%;
}


.surveys-statuses-tabs .status-tab .counter,
.clients-types-tabs .status-tab .counter {
    margin-top: .2rem;
    color: #939393;
    font-size: .8rem;
}

.surveys-statuses-tabs .status-tab.active,
.clients-types-tabs .status-tab.active {
    position: relative;
    top: 1px;
    border-left: 1px solid #4698b5;
    border-top: 1px solid #4698b5;
    border-right: 1px solid #4698b5;
    background: #f1f7ff;
    opacity: 1;
    box-shadow: 1px -2px 2px #cbcbcb;
}

.surveys-statuses-tabs .status-tab .status-loading-icon,
.clients-types-tabs .status-tab .status-loading-icon {
    color: #2d7aa9;
}

.clients-types-tabs {
    width: calc(100% - 2rem);
}

.status-tab {
    text-align: center;
}

.status-tab .tab-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.status-tab .count-and-sum {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

/* --------------------------------- */
/*         Sign proposal modal       */
/* --------------------------------- */
/* Sign the proposal (modal window) */
.signature-naming-area {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}

.fonttype-dd {
    width: 216px;
    height: 30px;
    background: #ffffff;
    border-radius: 0.2rem;
    border: 1px solid #9AC4E8;
    font-size: 1.2rem;
    cursor: pointer;
}

.fonttype-preview {
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: .5rem;
    font-size: 1.4rem;
}

.fonttype-dropdown {
    position: relative;
    overflow: visible;
    height: 1px;
}

.fonttype-dropdown .dropdown-content {
    width: 455px;
    height: 300px;
    position: relative;
    overflow-y: scroll;
    background: white;
    top: -2px;
    left: -236px;
    box-shadow: 0 2px 3px #333;
    border-radius: .4rem;
}

.fonttype-dropdown .dropdown-content .font-dropdown-item {
    font-size: 1.8rem;
    padding: .4rem;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    line-height: 3rem;
    height: 60px; 
}

.close-font-style-selector {
    cursor: pointer;
    color: #007a9f;
    float: right;
    font-size: 1.2rem;
}

input[type="text"].sign-proposal-final--signature-text {
    width: 435px;
}

input[type="text"].sign-proposal-final--initials {
    width: 200px;
}

.signature-naming-area .text-part-cell {
    margin-left: .5rem;
    margin-right: .5rem;
}

.signature-naming-area .text-part-cell .part-label {
    margin-bottom: .5rem;
    font-size: 1.2rem;
}

.signature-main-text-area {
    width: 335px;
    height: 50px;
    background: white;
    font-size: 2rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    line-height: 2.7rem;
}

.signature-initials-area {
    width: 80px;
    height: 50px;
    background: white;
    font-size: 2rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    line-height: 2.7rem;
}

.signature-and-initials-area {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-top: 5px solid #0a7fb7;
    margin-left: .5rem;
    margin-right: .5rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

/* Proposals statuses and events icons */

.surveys-statuses-tabs .status-tab[data-status-id="ALL"] i {
    color: #0f96bd;
}

.surveys-statuses-tabs .status-tab[data-status-id="DRAFT"] i,
.survey-top-row-status-DRAFT,
.survey-status-and-icon .status-tab[data-status-id="DRAFT"] i {
    color: #647899;
}

.surveys-statuses-tabs .status-tab[data-status-id="COMPLETED"] i,
.survey-top-row-status-COMPLETED,
.survey-status-and-icon .status-tab[data-status-id="COMPLETED"] i {
    color: #9e943b;
}

.surveys-statuses-tabs .status-tab[data-status-id="QC"] i,
.survey-top-row-status-QC,
.survey-status-and-icon .status-tab[data-status-id="QC"] i {
    color: #8d1282;
}

.surveys-statuses-tabs .status-tab[data-status-id="CANCELED"] i,
.survey-top-row-status-CANCELED,
.survey-status-and-icon .status-tab[data-status-id="CANCELED"] i {
    color: #5b5b5b;
}

.surveys-statuses-tabs .status-tab[data-status-id="ON_HOLD"] i,
.surveys-statuses-tabs .status-tab[data-status-id="DELAYED"] i,
.survey-top-row-status-ON_HOLD,
.survey-top-row-status-DELAYED,
.survey-status-and-icon .status-tab[data-status-id="ON_HOLD"] i,
.survey-status-and-icon .status-tab[data-status-id="DELAYED"] i {
    color: red;
}

.surveys-statuses-tabs .status-tab[data-status-id="INVOICED"] i,
.survey-top-row-status-INVOICED,
.survey-status-and-icon .status-tab[data-status-id="INVOICED"] i {
    color: #5bb516;
}

.surveys-statuses-tabs .status-tab[data-status-id="IN_PROGRESS"] i,
.survey-top-row-status-IN_PROGRESS,
.survey-status-and-icon .status-tab[data-status-id="IN_PROGRESS"] i {
    color: #0e48c1;
}
 
/* ~Statuses coloring */ 

/* Proposal chat */
/* Chat messages */
.chat-messages {
    background: white; 
    width: 100%;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 10px;
    border-radius: 7px;
}

.proposal-chat-message {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.proposal-message-text {
    background: #dbe9ff;
    padding: .5rem;
    border-radius: .5rem;
    padding-left: .7rem;
    padding-right: .7rem;
    font-size: 1.2rem;
    max-width: 430px;
}

.proposal-chat-message[data-sendertype='client'] .proposal-message-sender-triangle-row {
    height: 1px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

.proposal-chat-message[data-sendertype='estimator'] .proposal-message-sender-triangle-row {
    height: 1px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
}

.chat-cloud-arrow-down {
    width: 0px;
    height: 0px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #dbe9ff;
}

.proposal-chat-message[data-sendertype='client'] {
    margin-left: auto;
}

.proposal-chat-message[data-sendertype='client'] .message-phone-and-email, .proposal-chat-message[data-sendertype='client'] .proposal-message-sender, .proposal-chat-message[data-sendertype='client'] .message-date {
    text-align: right;
}

.proposal-message-details {
    margin-top: .5rem;
}

.proposal-message-sender {
    font-size: 1.2rem;
}

.chat-estimator-image {
    margin-right: .5rem;
}

.chat-client-image {
    margin-left: .5rem;
}

.proposal-chat-message[data-sendertype='estimator'] .proposal-message-sender {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.proposal-chat-message[data-sendertype='client'] .proposal-message-sender {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.message-date {
    color: #a5a5a5;
}

.chat-estimator-image img {
    width: 24px;
}

#update-chat-messages i {
    margin-right: .5rem;
}

.message-bottom-micro-buttons {
    margin-top: .5rem;
}

.proposal-chat-message[data-sendertype='estimator'] .message-bottom-micro-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.proposal-chat-message[data-sendertype='estimator'] .message-bottom-micro-buttons > div {
    margin-right: .5rem;
}

.proposal-chat-message[data-sendertype='client'] .message-bottom-micro-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.proposal-chat-message[data-sendertype='client'] .message-bottom-micro-buttons > div {
    margin-left: .5rem;
}

/* Select2 issues */

.select2-dropdown {
    z-index: 10001 !important;
}

.select2-container .select2-selection--single {
    height: 32px !important;
    font-size: 1.2rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #9AC4E8 !important;
}

.select2-search--dropdown .select2-search__field {
    font-size: 1rem;
}

.required-field-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px !important;
    top: 3px !important;
}

.proposal-signatures-status .slash,
.slash {
    color: #a1a1a1;
}

/* Uploaded files parts */

.files-group-header {
    width: 100%;
    border-bottom: 2px solid #ccc;
    font-size: 1.4rem;
    font-weight: bold;
    padding-bottom: .5rem;
    margin-top: 1rem;
}

.alertify-notifier {
    z-index: 500000 !important;
}

.page-part-editor-head-row-element-type {
    height: 54px !important;
    padding: 0 !important;
    padding-left: .5rem !important;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.page-part-editor-head-row-element-type input {
    background: #e3e3e3 !important;
    border: 1px solid #ccc !important;
}

.required-field {
    color: #ff2d2d;
}

.atpai-auth-access-denied {
    font-size: 1.2rem;
    padding: 2rem;
    font-weight: bold;
    color: red;
}

.back-to-admin-account-menu-item {
    color: #ff4242;
    background: #5d000066;
}

.section-editor-select-page-conditional-displaying-area {
    width: 500px;
    margin-bottom: 1rem;
}

.section-editor-select-page-conditional-displaying-area-description {
    border-bottom: 1px solid #cccccc;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

.conditional-page-top-mark-outer {
    height: 1px;
    position: relative;
    overflow: visible;
    width: 100%;
}

.conditional-page-top-mark {
    width: 30px;
    height: 30px;
    cursor: help;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fffb24;
    box-shadow: 1px 1px 4px #434343;
    border-radius: 50%;
    top: -10px;
    position: absolute;
    z-index: 1;
    right: -5px;
}

.materials-check-the-file-row td,
.unit-based-total-row td {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

#left-menu-admin-label {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    color: #77f04a;
    background: #1a4d81;
    border-top: 2px solid #256fba;
    border-bottom: 2px solid #256fba;
}

[data-role="survey-fields-primary-data"] i {
    color: #3573ce;
}

[data-role="survey-fields-additional-project-info"] i {
    color: #96730b;
}

[data-role="survey-fields-proposal-info"] i {
    color: #919f1b;
}

[data-role="survey-fields-customer-data"] i {
    color: #c98734;
}

[data-role="survey-fields-workflow-and-additional-pd"] i {
    color: #1a5691;
}

[data-role="survey-fields-project-dates"] i {
    color: #7a7777;
}

[data-role="survey-fields-project-sizes"] i {
    color: #b084e0;
}

[data-role="survey-fields-project-codes"] i {
    color: #6118ae;
}

[data-role="survey-fields-lot-information"] i {
    color: #a17272;
}

[data-role="survey-fields-plss-information"] i {
    color: #6bc96b;
}

[data-role="survey-fields-qbo-information"] i {
    color: #2f85e0;
}

[data-role="survey-fields-project-location"] i {
    color: #5a954c;
}

[data-role="survey-fields-management-and-licensure"] i {
    color: #60687a;
}

[data-role="survey-fields-attached-files"] i {
    color: #839111;
}

.survey-edition-page-url,
.std-url {
    text-decoration: none;
    border-bottom: 1px solid #033dac;
    color: #033dac;
}

.ateam-standard-table-v2 {
    width: 100%;
    border-spacing: 0 0;
    border-collapse: collapse;
}

.ateam-standard-table-v2 td {
    box-sizing: border-box;   
}

.ateam-standard-table-v2-header td {
    padding: 0.3rem;
    border-bottom: 1px solid #898989;
    background: #b5dfff;
    color: black;
    min-height: 30px;
    vertical-align: middle;
    font-weight: bold;
}

.ateam-standard-table-row-v2 {
    cursor: pointer;
}

.ateam-standard-table-row-v2:hover {
    background: #ebf3ff;   
}

.ateam-standard-table-row-v2 td {
    padding: 0.33rem;
    border-bottom: 1px solid #898989;
    color: black;
    min-height: 30px;
    vertical-align: middle;
    box-sizing: border-box;
}

.entry-active {
    font-weight: bold;
    color: green;
}

.entry-archived {
    font-weight: bold;
    color: #5c5c5c;
}

.ateam-standard-table-row-v2[data-isactive="0"] {
    opacity: .7;
    background: #e5e5e5;
}

.storage-lu-items-origin-separation-line {
    background: #efb963;
    margin-bottom: 1rem;
    margin-top: 1rem;
    height: 10px;
}

.chat-message-input-area {
    background: #ebf3ff;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    border-radius: .3rem;
    box-shadow: 0 1px 3px #868686;
    border-top: 1px solid #767676;
}

[data-role="chat-message-input-field"] {
    border-radius: 7px;
    box-shadow: 0 1px 2px #575757 inset;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    padding: .8rem;
    font-size: 1rem;
    min-height: 150px;
    resize: vertical;
}

.no-chat-messages-yet-label {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #6d6d6d;
    background: white; 
    font-size: 1rem;
}

.no-chat-messages-yet-label i {
    margin-right: 5px;
}

.line-link {
    border-bottom: 1px solid #033dac;
    color: #033dac;
    text-decoration: none;
}

/* --------------------------------------- */
/*               Proposal chat             */
/* --------------------------------------- */

.chat-main-area {  
}

.chat-input-field {
    width: calc(100% - 16px);
    height: 100px;
    resize: none;
    font-size: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.proposal-chat-bottom-area-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: .8rem;
}

.proposal-chat-bottom-area-buttons > div {
    margin-right: .8rem;
}

.copy-proposal-modal .modal-input-field {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.copy-proposal-modal .modal-input-field .field-label {
    width: 100%;
    text-align: left;
    margin-bottom: .5rem;
}

.open-parent-proposal-icon {
    color: green;
    text-decoration: none;
}

.chat-messages-top-text-notification {
    padding-top: 10px;
    text-align: center;
}

.proposal-chat--target-bulk-recipient-picker--field-holder {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.proposal-chat--bs-recipients--target-recipient-label {
    margin-right: 10px;
    font-size: 1.2rem;
    margin-left: 25px;
}

.proposal-chat--message-target-bulk-recipient {
    width: 200px;
}

.message-from-bulk-recipient-context {
    text-align: right;
}

/* -------------------------------------- */
/*            Responsive layout           */
/* -------------------------------------- */
@media (max-width: 992px) {
    /* Not used, migrated to width=768px */
}

/* Migrate 992px to 768px */
@media (max-width: 768px) {
    .wait-loader .loader-text .loader-text-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .wait-loader .loader-icon {
        margin-bottom: 1rem;
    }
}
 
@media (max-width: 582px) {

    .modal-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: .3rem;
        font-size: 1.6rem;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .modal-header i {
        display: block;
        font-size: 4rem;
        margin-bottom: .5rem;
    }

    .modal-subheader {
        padding-left: .5rem;
        padding-right: .5rem;
        font-size: 1rem;
    }

    .modal-input-field {
        flex-direction: column !important;
    }

    .modal-input-field .field-label {
        width: 100%;
        display: block;
        font-weight: bold;
        margin-bottom: .3rem;
    }

    .modal-form-many-fields {
        margin-top: .5rem;
    }

    .modal-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-buttons .button {
        padding: .3rem .5rem;
    }
}