body {
    background-image: url('/static/background.svg');
}
#e7_logo {
    float: left;
    border: 0;
    margin: 0 40px;
}

#e7clock {
    width: 100px;
    position: relative;
    top: -7px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

#nav-container {
    width: 100%;
    min-width: 700px;
    padding: 20px 0;
    height: 40px;
    position: fixed;
    background-color: #F5F5F5;;
    z-index: 1000;
}

#main-menu {
    padding-left: 0;
    list-style-type: none;
    padding-top: 3px;
    width: 100%;
    height: 100%;
    margin: 7px 0;
}


.main-menu-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main-menu__left {
    float: left;
}

.main-menu__right {
    float: right;
    margin-right: 110px;
    color: black;
}

#main-menu li {
    display: inline;
    margin-right: 30px;
    padding-left: 0;
    font-size: 13px;
    font-weight: bold;
    list-style-type: none;
    float: left;
    position: relative;
}

.main-menu__left .active {
    display: block;
    border-bottom: 2px solid #D73056;
}

.main-menu__item_help {
    margin-top: -2px;
}

#content {
    padding-top: 80px;
}

.years {
    list-style-type: none;
    padding-left: 0;
}

.years li {
    display: inline;
    margin-right: 10px;
}

/*--- DROPDOWN ---*/
#main-menu ul {
    list-style: none;
    position: absolute;
    left: -9999px; /* Hide off-screen when not needed (this is more accessible than display: none;) */
    z-index: 1000;
    background-color: white;
}
#main-menu ul li {
    padding-top: 1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float: none;
    position: relative;
}
#main-menu ul a {
    white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#main-menu li:hover > ul { /* Display the dropdown on hover */
    left: 0; /* Bring back on-screen when needed */
}
#main-menu li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration: none;
}

#main-menu li ul {
    display: flex;
    flex-direction: column;
    margin: -2px 0 0 10px;
    padding: 0 10px 10px 10px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

#id_my_tasks_count {
    font-weight: bold;
    color: black;
    display: inline;
}

#id_task_comment {
    width: 300px;
    height: 100px;
}

.purchase_archive td {
    font-size: 8pt;
    color: darkgrey;
}

.right_block {
    padding: 1px 5px 1px 5px;
}

.set_by {
    font-style: italic;
    font-size: 9pt;
}

.overdue a {
    color: red;
    font-weight: bold;
}

.readonly_form input, select, textarea {
    background-color: white;
    color: black;
}

/* New style */
.tabs {
    margin-left: -40px;
    margin-right: -40px;
}

.tabs div {
    width: 100%;
    font-family: "San Francisco Pro";
    padding: 0;
    display: inline-flexbox;
}

.tabs div,
.tabs div ul,
.tabs div ul li {
    border: none !important;
    border-radius: 0 !important;
    background: none;
}

.tabs div > div {
    padding: 0 !important;
}

.tabs div ul {
    padding: 0 !important;
}

.tabs div [role=tab] {
    background: none;
    outline: none;
}

.tabs div [role=tab] a {
    outline: none;
    cursor: pointer !important;
}

.tabs div ul li {
    display: flex;
    margin: 0 !important;
    font-weight: bold !important;
}

.ui-state-active {
    background-color: #23435A !important;
    color: white !important;
}

.tabs__tab {
    box-sizing: border-box;
    height: 40px;
    padding: 11px 13px !important;
    margin: 0;
}

.tabs__tab a {
    padding: 0 !important;
}

.tabs__tab_first {
    float: left;
    background-color: #D73056;
    color: white;
}

.tab__count {
    color: #D73056;
}

.ui-state-active .tab__count{
    position: inherit;
    float: right;
    height: 100%;
    margin: -11px -13px 0 13px;
    padding: 11px 13px !important;
    background-color: #D73056;
    color: white !important;
}

.tabs__tab_last {
    float: right;
    background-color: #23435A;
    color: white;
    width: 60px;
    margin-right: 50px !important;
    display: flex;
}

.tabs__tab_last a {
    color: white !important;
    margin: auto;
    height: 100%;
    width: 100%;
    text-align: center;
}

.tab_filter {
    display: inline-block;
    justify-content:right;
    position: inherit;
    height: 40px;
    box-sizing: border-box;
    margin-top: -10px;
}

.tab_filter form {
    width: fit-content;
}

.tab_filter form p {
    margin: 0;
    width: fit-content;
    display: inline-flexbox;
}

.tab_filter select{
    margin-bottom: 3px;
}

.tab_filter input{
    height: 30px;
    padding: 0 10px;
    margin-bottom: 5px;
}

.button_blue {
    background-color: #23435A !important;
}

.table-container__table th:nth-child(3n){
    padding-bottom: 0;
}

.table-container__table{
    width: 100%;
    background-image: url("/static/table_backgroung.png");
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.th_last{
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}

.table-container__table td {
    vertical-align: middle;
    background-color: transparent;
}

.table-container__table th {
    padding-top: 25px;
    padding-bottom: 10px;
    background-color: transparent;
}

.table-container__table tr:nth-child(odd),
.row-form-errors {
    background: transparent !important;
}

.table-container__table th:first-child,
.table-container__table td:first-child {
    padding-left: 30px !important;
}

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

.table-container{
    margin-left: -40px !important;
    margin-right: -40px !important;
}

.table_margin_left {
    margin-left: 0 !important;
}

.table_short {
    width: 50%;
    margin-left: -40px;
}

.table_margin-top {
    margin-top: 40px;
}

.margin-top_60 {
    margin-top: 60px;
}

#nav-container.sidebar-enabled, #content.sidebar-enabled {
    margin-left: 113px;
}

.sidebar {
    width: 113px;
    background-color: #23435A;
    height: 100vh;
    position: fixed;
}

.sidebar__burger {
    height: 80px;
    background-color: #D73056;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.sidebar__menu {
    margin: 0;
    list-style: none;
    padding: 0;
    align-items: center;
}

.sidebar__menu li {
    display: flex;
    align-content: center;
    padding: 25px 0;
    cursor: pointer;
}

.sidebar__burger img, .sidebar__menu li img {
    margin: auto;
}

tbody {
    background-color: #ffffff;
}

/* th {
    font-weight: 700;
} */

.client-person-card {
    width: 100%;
}

.client-person-card th {
    vertical-align: middle;
}

.client-person-card td {
    vertical-align: middle;
}

.lk-data {
    display: flex;
    align-items: center;
}

.lk-data span {
    margin-right: auto;
}

.lk-data input {
    border: none;
    background: unset;
    padding: 0;
}

.lk-data .material-icons {
    margin-left: 10px;
    float: right;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 400px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h1 {
    margin-top: 10px;
}

.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.form-group label {
    flex: 1;
    margin-right: 10px;
}

.form-group input {
    flex: 2;
}

#error-message {
    color: red;
    display: unset !important;
}

.hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.visible {
    visibility: visible !important;
    opacity: 1 !important;
    transition: opacity 0.5s ease-in-out;
    pointer-events: auto;
}