
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: 'Montserrat', sans-serif;
}

html {
    /*font-family: 'Montserrat', sans-serif;*/
}

body {
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    display: flex;
    width: 100vw;
    height: 100vh;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.Admin {
    max-width: 45rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.row__btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.title {
    color: #fff;
    text-align: end;
    letter-spacing: 0.1rem;
    font-size: 3rem;
    display: block;
}

.Admin-heading {
    text-align: end;
    color: white;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.Setting:hover {
    background-color: darkgray;
    color: black;
}



ul.setting-sub {
    position: relative;
    float: left;
    width: 300px;
    padding: 0;
    /*top: -35px;*/
}

.setting-sub li {
    list-style-type: none;
}

.setting-menu-item {
    position: relative;
}



li.setting-menu-item a {
    display: block;
    color: #fff;
    padding: 25px 26px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    line-height: 1;
    text-transform: uppercase;
}

li.setting-menu-item a > i {
    margin-right: 5px;
}



li.setting-menu-item a:hover:not(.active) {
    background-color: #172B4F;
    /*background-color: #ffc0cb;*/
    /*background-color: #97a275;*/
    /*background-color: #ab9185;*/
    color: white;

}
.mobile-show{
    display: none;
    @media screen and (max-width: 991.98px){
        display: block;
        margin-bottom: 10px;
    }
}
a.todays-dates-result {
    text-transform: none !important;
    padding: 10px 26px !important;
    line-height: normal !important;
}

#Dashboard-Startseite {
    background-color: darkolivegreen;
    color: white;
}

#Dashboard-Update {
    background-color: black;
    color: white;
}

#user-AllUsers {
    background-color: darkolivegreen;
    color: white;
}

#user-NewUsers {
    background-color: black;
    color: white;
}

#contributions-AllContributions {
    background-color: darkolivegreen;
    color: white;
}

#contributions-NewContribution {
    background-color: black;
    color: white;
}

#design-Background {
    background-color: darkolivegreen;
    color: white;
}

#design-Themes {
    background-color: black;
    color: white;
}

#design-customizer {
    background-color: darkolivegreen;
    color: white;
}

#design-Menues {
    background-color: black;
    color: white;
}

#Medien-Overview {
    background-color: darkolivegreen;
    color: white;
}

#Medien-Data {
    background-color: black;
    color: white;
}

#seiten-AlleSeiten {
    background-color: darkolivegreen;
    color: white;
}

#seiten-NewPage {
    background-color: black;
    color: white;
}


#suche {
    width: 10em;
    border: none;
    border-bottom: 2px solid #999;
    font-size: 1.2em;
    transition: width 0.5s ease-in-out;
}


/* search form */
.search-nav {
    margin-top: 20px;
    display: block;
    color: black;
    text-decoration: none;
}

label[for="search"] {
    color: #fff;
    display: none;
}

#search {
    margin-top: 15px;
    padding: 5px 10px;
    transition: .1s all ease-in-out;
    border-radius: 0.4rem;
    height: 2.4rem;
    width: 85%;
    background-color: #F9FAFB;
}

#suche:focus {
    font-size: 1.5em;
    width: 50%;
}

#search:focus {
    outline: none;
    border-radius: 7px;
    border: 2px solid lightgray;
    -webkit-box-shadow: 2px 3px 15px 1px #649AE8;
    box-shadow: 2px 3px 15px 1px #649AE8;

}

.new-edit-container {
    margin: 20px 0;
}

.new-edit-container .tool-entry-input {
    width: 20%;
    display: inline-block;
}

/***********/

/* Main Form */

.new-client-form {
    display: block;
    @media screen and (min-width: 1100px) {
        display: flex;
    }
    justify-content: space-between;
    margin-bottom: 25px;
}

input:focus, textarea:focus {
    outline: none;
    -webkit-box-shadow: 0 0 8px 0.5px #9e9e9e;
    box-shadow: 0 0 8px 0.5px #9e9e9e;
}

.main-container--form {
    display: flex;
    width: 47%;
    flex-direction: column;
}

.row--form {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.row--form > div {
    width: calc(50% - 10px);
}

.tool-form-button {
    margin-top: 50px;
}

.btn--send {
    width: 150px;
    padding: 15px 0;
    background: transparent;
    border: 2px solid #32BB5C;
    transition: .1s all ease-in-out;
    text-transform: uppercase;
    color: #52667a;
    margin-right: 10px;
    border-radius: .5rem;
}

.btn--send:hover {
    background: #32BB5C;
    color: #fff;
    border: none;
}

.btn--send:focus, .btn--reset:focus {
    outline: none;
    border: 2px solid lightgray;
    -webkit-box-shadow: 2px 3px 15px 1px #00D9C8;
    box-shadow: 2px 3px 15px 1px #00D9C8;
}

.btn--reset {
    width: 150px;
    padding: 15px 0;
    background: transparent;
    border: 2px solid #EC466C;
    transition: .1s all ease-in-out;
    text-transform: uppercase;
    color: #52667a;
    border-radius: .5rem;
}

.btn--reset:hover {
    background: #EC466C;
    color: #fff;
    border: none;
}

/***********/

.btn-success.btn-get-val, .btn-primary.btn-delete-val {
    display: inline-block;
    width: 49%;
    margin-bottom: 20px;
}

.btn-primary.btn-delete-val {
    text-align: right;
}

.btn-close {
    float: right;
    color: #52667a;
}

.btn-delete, .btn-close {
    transition: .3s all ease-out;
    cursor: pointer;
}

.btn-delete:hover, .btn-close:hover {
    color: #8f0e27;
}

.btn--send__table, .btn--reset__table {
    width: 130px;
    font-size: 11px;
}


.table {
    font-family: 'Montserrat', sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.table > tbody {
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
}

.item-id {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    padding: 15px;
    height: 30px;
    text-align: center;
    color: #fff;
    border: 1px solid lightgray;
    font-size: 14px;
    background-color: #243758;
}

.table tr {
    background-color: white;
}

.table tr:nth-child(even) {
    background-color: #ebebeb;
}

.orange-label {
    background-color: #ffe6cc;
    color: #ffba75;
    border: 2px solid #ffba75;
}

.green-label {
    background-color: #d9ffd9;
    color: #66cc66;
    border: 2px solid #66cc66;
}

.white-label {
    background-color: #fff;
    color: #7a7a7a;
    border: 2px solid #7a7a7a;
}

.red-label {
    background-color: #ffcccc;
    color: #ff7575;
    border: 2px solid #ff7575;
}

.table td {
    border: 1px solid #ddd;
    padding: 8px;
    color: #52667a;
}

.table td:last-child {
    min-width: 50px;
}

.table-parent-state, .table-child-state {
    text-align: left;
}

.table-child-state {
    padding-left: 50px !important;
}

@media (max-width: 1960px) {

    li a {
        font-size: 13px;
    }
}



:root {
    --dark-text: #f8fbff;
    --light-body: #f3f8fe;
    --light-main: #fdfdfd;
    --light-second: #c3c2c8;
    --light-hover: #f0f0f0;
    --light-text: #151426;
    --light-btn: #9796f0;
    --blue: #0000ff;
    --white: #fff;
    --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    --font-family: 'Montserrat', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    place-items: center;
    font-family: var(--font-family);
    /*background: linear-gradient(to right, #9796f0, #243758);*/
    /*background-color: #9796f0;*/
    /*background-color: #faf7fc;*/
    background-color: #fff;
}

.table > tbody .table_row {
    background-color: blue;
}

.table-row-action {;
    justify-content: center;
    align-items: center;
}

.btn-edit, .btn-delete, .btn-ical, .btn-close {
    cursor: pointer;
    margin: 5px;
    width: max-content;
    display: inline-block;
}

.dates-checklist-frame {
    background-color: white;
    border-radius: 25px;
    padding: 30px;
    width: 650px;
    display: inline-table;
    display: -moz-inline-table;
}

.undone {
    color: darkred;
}

.dot {
    height: 6px;
    width: 6px;
    background-color: #9796f0;
    border-radius: 50%;
    border: 1px solid #000000;
    display: inline-block;
    bottom: 3px;
}


#picked-date-dates {
    display: none;
    z-index: 100;
    background-color: white;
    border-radius: 25px;
    padding: 30px;
    position: absolute;
    top: 0;
}

#picked-date, .widget-heading {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.picked-date-results {
    /*width: max-content;*/
}

.picked-date-results > div, .date-results > div {
    padding: 10px 0 10px;
    border-top: 1px solid #49435F;
    display: flex;
    justify-content: space-between;
}

.picked-date-results > div:first-child, .date-results > div:first-child {
    border: none;
}

.picked-date-results > div > a, .date-results > div > a {
    margin-left: 0;
    color: #2E2D3E;
    text-decoration: none;
    width: 74%;
    padding: 0 5px;
}

.picked-date-results > div > span, .date-results > div > span {
    float: right;
    margin-right: 0;
    min-width: 80px;
}

.calendar-container {
    position: relative;
    display: flex;
    justify-content: right;
    top: 10%;
    right: 0;
    width: 100%;
    height: 100%;
}

.calendar {
    height: 610px;
    width: max-content;
    background-color: white;
    border-radius: 25px;
    overflow: hidden;
    padding: 30px 50px 0 50px;
}

.calendar {
    box-shadow: var(--shadow);
}

.calendar-header {
    background: linear-gradient(180deg, #49435f, #1b1f27);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--white);
    padding: 10px;
}

.calendar-body {
    padding: 10px;
}

.calendar-week-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: 600;
    cursor: pointer;
    color: rgb(104, 104, 104);
}

.calendar-week-days div:hover {
    color: black;
    transform: scale(1.2);
    transition: all .2s ease-in-out;
}

.calendar-week-days div {
    display: grid;
    place-items: center;
    color: var(--bg-second);
    height: 50px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    color: var(--color-txt);
}

.calendar-days div {
    width: 37px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
    cursor: pointer;
    animation: to-top 1s forwards;
}

.month-picker {
    padding: 5px 5px;
    @media screen and (min-width: 480px){
        padding: 5px 10px;
    }
    border-radius: 10px;
    cursor: pointer;
}

.month-picker:hover {
    background-color: var(--color-hover);
}

.month-picker:hover {
    color: var(--color-txt);
}

.year-picker {
    display: flex;
    align-items: center;
}

.year-change {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
}

.year-change:hover {
    background-color: var(--light-btn);
    transition: all .2s ease-in-out;
    transform: scale(1.12);
}

.year-change:hover pre {
    color: var(--bg-body);
}

.calendar-footer {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#year:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: all 0.2s;
    transition-timing-function: ease-in-out;
}

.calendar-days div span {
    position: absolute;
}

.calendar-days div:hover {
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
    background-color: #9796f087;
    border-radius: 20%;
    color: var(--dark-text);
}

.calendar-days div.current-date {
    color: var(--dark-text);
    background: linear-gradient(180deg, #49435f, #1b1f27);
    border-radius: 20%;
}

.month-list {
    position: relative;
    left: 0;
    top: -10px;
    background-color: #ebebeb;
    color: var(--light-text);
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    border-radius: 20px;
}

.month-list > div {
    display: grid;
    place-content: center;
    margin: 5px 10px;
    transition: all 0.2s ease-in-out;
}

.month-list > div > div {
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
}

.month-list > div > div:hover {
    background-color: var(--light-btn);
    color: var(--dark-text);
    transform: scale(0.9);
    transition: all 0.2s ease-in-out;
}

.month-list.show {
    visibility: visible;
    pointer-events: visible;
    transition: 0.6s ease-in-out;
    animation: to-left .71s forwards;
    overflow: scroll;
    height: 195px;
}

.month-list.hideonce {
    visibility: hidden;
}

.month-list.hide {
    animation: to-right 1s forwards;
    visibility: hidden;
    pointer-events: none;
}

.date-time-formate {
    width: 100%;
    /*height: max-content;*/
    /*font-family: Dubai Light, Century Gothic;*/
    position: relative;
    display: flex;
    top: 140px;
    justify-content: center;
}

.day-text-formate {
    font-size: 1.4rem;
    padding-right: 5%;
    /*border-right: 3px solid #243758;*/
    position: absolute;
    /*left: -2rem;*/
}
.date-formate{
    text-align: center;
}
.date-time-value {
    display: block;
    /*height: max-content;*/
    width: 100%;
    position: relative;
    /*left: 40%;*/
    top: -18px;
    text-align: right;
}

.time-formate {
    font-size: 1.5rem;
}

.time-formate.hideTime {
    animation: hidetime 1.5s forwards;
}

.day-text-formate.hidetime {
    animation: hidetime 1.5s forwards;
}

.date-formate.hideTime {
    animation: hidetime 1.5s forwards;
}

.day-text-formate.showtime {
    animation: showtime 1s forwards;
}

.time-formate.showtime {
    animation: showtime 1s forwards;
}

.date-formate.showtime {
    animation: showtime 1s forwards;
}


@keyframes to-top {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    100% {
        transform: translateY(100%);
        opacity: 1;
    }
}

@keyframes to-left {
    0% {
        transform: translatex(230%);
        opacity: 1;
    }
    100% {
        transform: translatex(0);
        opacity: 1;
    }
}

@keyframes to-right {
    10% {
        transform: translatex(0);
        opacity: 1;
    }
    100% {
        transform: translatex(-150%);
        opacity: 1;
    }
}

@keyframes showtime {
    0% {
        transform: translatex(250%);
        opacity: 1;
    }
    100% {
        transform: translatex(0%);
        opacity: 1;
    }
}

@keyframes hidetime {
    0% {
        transform: translatex(0%);
        opacity: 1;
    }
    100% {
        transform: translatex(-370%);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .new-client-form {
        padding: 0 40px;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .new-client-form {
        padding: 0 50px;
        flex-direction: row;
    }
}

@media (min-width: 1260px) {
    .new-client-form {
        padding: 0 70px;
    }
}

.diagram {
    max-width: 700px;
    display: block;
    background-color: white;
    border-radius: 25px;
    margin-top: 40px;
}

#statistics-widgets.container {
    display: flex;
    justify-content: space-between;
}

#offers-per-client {
    margin-top: 40px;
}

#calendar {
    background-color: white;
}

.message {
    display: none;
    width: 60%;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    border-radius: 5px;
}

.success-message {
    background-color: #b4fab1;
    border: 3px solid #58b054;
    color: #58b054;
}

.warn-message {
    background-color: #ffcccc;
    border: 3px solid #ff7575;
    color: #ff7575;
}

.show {
    display: block !important;
}

.show-inline {
    display: inline-block !important;
}

.child-state-frame {
    display: none;
}

.state-label {
    padding: 3px;
    border-radius: 15px;
    text-align: center;
}

#client-details-headline {
    margin: 25px 0;
}

/*#client-details-state {
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

.container-client-details {
    /*width: 50%;*/
    margin: 50px auto auto;
    border: 2px solid #000000;
    /*padding: 10px 30px;*/
}

.client-details-head {
    border-bottom: 2px solid #000000;
    padding: 10px 30px 5px;
    /*display: flex;*/
}

/*.client-details-head > div {
    width: 50%;
    position: relative;
}*/

.client-details-property-wrapper, .form-property-wrapper {
    margin: 15px auto 15px;
}

.form-property-wrapper .button {
    padding: 7px 5px;
}

.client-details-label {
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: underline;
}

.client-details-col {
    display: inline-block;
    width: 50%;
    vertical-align: top;
}

.client-details-col:first-child {
    padding: 5px 50px 5px 30px;
}

.client-details-col:last-child {
    padding: 5px 30px 5px 50px;
}

.client-details-buttons-frame {
    text-align: center;
}

.client-details-buttons-frame button {
    margin: 10px 10px;
}

.modal {
    display: none;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-container {
    padding: 16px;
    text-align: center;
    background-color: #cccccc;
    border: 1px solid #888;
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90%;
    overflow: scroll;
}

.modal-heading {
    color: #000000;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.modal-cancel-btn, .modal-confirmation-btn {
    float: left;
    width: 50%;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    background-color: #f44336;
}

.modal-cancel-btn.wide {
    width: 100%;
}

.modal-confirmation-btn:hover {
    background-color: rgba(244, 67, 54, 0.6);
}

.modal-cancel-btn {
    background-color: #ffffff;
    color: black;
}

.modal-cancel-btn:hover {
    background-color: rgb(234, 234, 234);
}

.modal-overflow {
    overflow: hidden;
}

.show-color {
    color: #000000;
    padding:5px;
    border: 1px solid #000000;
    width: 50%;
    display: inline-block;
}

.new-single-data {
    font-style: italic;
}

/*switch toggle*/
.switch-wrapper {
    position: relative;
    top: 35px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 28px;
    bottom: 6px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider:before {
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/*end*/
#offer-container, #offer-module-container {
    display: flex;
}

#offer-container .offer-edit-container, #individual-invoice-container .individual-invoice-edit {
    width: 80%;
    @media screen and (max-width: 991.98px) {
        width: 100%;
    }
}
.text-show{display: none;}
.offer-module-container {
    overflow: scroll;
    max-height: 750px;
    width: 17%;
    position: fixed;
    right: 50px;
}

#offer-container .offer-module-container, #individual-invoice-container .offer-module-container {
    position: fixed;
    right: 50px;
    width: 17%;
    @media screen and (max-width: 991.98px) {
        display: none;
        width: 250px;
        right: 3px;
        background: #fff;
        padding: 5px;
        border: 1px solid #ccc;
        box-shadow: 3px 3px 12px #ccc;

    }
}

#offer-container button {
    color: #fff;
}

#offer-container .tool-entry-input, #individual-invoice-container .tool-entry-input {
    width: 50%;
    @media screen and (max-width: 991.98px) {
        width: 98%;
    }
}
#offer-container textarea{
    margin-bottom: 5px;
    @media screen and (max-width: 991.98px) {
        width: 100%;
    }
}
#offer-container .half-container .tool-entry-input, #individual-invoice-container .half-container .tool-entry-input {
    width: 90%;
    @media screen and (max-width: 991.98px) {
        width: 100%;
    }
}

#offer-module-container .offer-module-edit-container {
    /*width: 70%;*/
}

#offer-module-container .offer-module-container {
    /*width: 30%;*/
}

#offer-container .offer-module-container .offer-module {
    cursor: grab;
}

#offer-module-container .list-input-wrapper input[type="text"], #offer-module-container .list-input-wrapper textarea {
    width: 40%;
    resize: vertical;
    min-width: 300px;
}

.offer-section, .individual-invoice-container-section {
    margin: 0 0 30px;
}

.offer-section h3, .individual-invoice-container-section h3 {
    margin: 15px 0 5px;
}

.offer-section h4, .individual-invoice-container-section h4 {
    margin: 7px 0 5px;
}

.offer-section .hint-heading {
    display: inline-block;
}

.offer-section .search-wrapper, .individual-invoice-container-section .search-wrapper {
    position: relative;
}

#offer-client-search {
    display: inline-block;
}

.list-input-wrapper input[type="text"] {
    appearance: none;
    display: inline-block;
    width: 58%;
    background-color: white;
    color: #4c5866;
    border: 0.0625rem solid #4c5866;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
}

.list-input-wrapper textarea.list-input-main {
    appearance: none;
    display: inline-block;
    width: 58%;
    background-color: white;
    color: #4c5866;
    border: 0.0625rem solid #4c5866;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
    resize: vertical;
    vertical-align: baseline;
    white-space: pre-wrap;
    float:left;
}

.list-input-wrapper input[name="hint"] {
    margin: 2px 0;
}

.hint {
    color: #ffffff;
    background-color: #9796f0;
    border-radius: 50%;
    width: 20px;
    display: inline-flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    position: relative;
}

.hint.row-hint {
    margin-left: 30px !important;
}

.hint .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #243758;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -150px;
}

.hint .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}
.hint:hover .tooltip-text {
    visibility: visible;
}

.list-row {
    display: flex;
    align-items: center;
    margin: 6px 0;
    justify-content: space-between;
    width: 100%;
}

.list-row:hover .list-row-settings {
    opacity: 1;
}

.list-row-text-wrapper .list-value {
    display: inline-block;
    line-height: 30px;
}

.list-row-additional-info .list-value {
    display: inline;
}

.list-value {
    white-space: normal;
}

.list-value[data-type="add-unit-value"], .list-value[data-type="add-unit-type"] {
    margin: 0 5px;
}

.list-row-settings {
    opacity: 0;
    margin-left: 10px;
}

.list-row-additional-info {
    float: right;
    white-space: nowrap;
    font-weight: bold;
}

#offer-list-wrapper .level-0, #offer-module-list-wrapper .level-0 {
    margin-left: 0;
}

#offer-list-wrapper .level-1, #offer-module-list-wrapper .level-1 {
    margin-left: 50px;
}

#offer-list-wrapper .level-2, #offer-module-list-wrapper .level-2 {
    margin-left: 100px;
}

#offer-list-wrapper .level-3, #offer-module-list-wrapper .level-3 {
    margin-left: 150px;
}

#offer-client-search::placeholder {
    color: #7a7a7a;
}

#offer-client-search {
    padding-left: 30px;
}

#search-icon {
    padding: 10px;
}

#offer-addressee + input[type="text"] {
    display: none;
    margin-top: 10px;
}

#offer-client {
    line-height: 35px;
}

.hint-wrapper {
    display: flex;
    align-items: center;
}

.hint-wrapper .clean-offer-client {
    display: none;
    margin-left: 15px;
}

.hint-wrapper:hover .clean-offer-client {
    display: inline-block;
}

.drag-handle {
    cursor: grab;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
}

.list-row-text-wrapper {
    white-space: nowrap;
    position: relative;
    min-width: 70%;
}

.cursive {
    font-style: italic;
}

.list-row.dragging, .offer-module.dragging, .disabled {
    opacity: .5;
}

.offer-module-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.is-ctl-offermodule .offer-module-wrapper {
    justify-content: start;
}
.is-ctl-offermodule .offer-module-wrapper .offer-module-button-container{
    height: 0;
    transition: height 0.5s;
}
.is-ctl-offermodule .offer-module-wrapper:hover .offer-module-button-container{
    height: auto;
    transition: height 0.5s;
}
.offer-module {
    margin: 5px 0;
    width: 100%;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    background-color: #cccccc;
    font-weight: bold;
}

#offer-list-wrapper .offer-module {
    width: 400px;
}

.offer-module-wrapper .offer-module {
    /*width: 80%;*/
    display: inline-block;
}

.offer-module-wrapper .offer-module-edit, .offer-module-wrapper .offer-module-copy {
    opacity: 0;
}

.offer-module-wrapper:hover .offer-module-edit, .offer-module-wrapper:hover .offer-module-copy {
    opacity: 1;
}

#delete-offer-module {
    display: none;
}

.list-input-additional-info, #offer-discount .tool-entry-input, #offer-prepayment-discount .tool-entry-input {
    display: inline-block;
    margin-bottom: 5px;
}

#offer-discount .tool-entry-input, #offer-prepayment-discount .tool-entry-input {
    width: 75px !important;
}

.list-input-additional-info > * {
    width: 50px !important;
    padding: 5px 2px !important;
}

.list-input-additional-info > select[name="unit"] {
    width: 70px !important;
}

.list-input-additional-info > input[type="number"] {
    background-color: white;
    color: #4c5866;
    border: 0.0625rem solid #4c5866;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
}
.list-input-additional-info input{
    min-width: unset !important;
}
#offer-discount, #offer-prepayment-discount {
    margin: 10px 0 15px;
}

.half-container {
    /*width: 49%;*/
    vertical-align: top;
}
.half-container .half-container{
    display: inline-block;
    width: 49%;
    @media screen and (max-width: 767.98px) {
        display: block;
        width: 100%;
    }
}

.client-document-container {
    display: grid;
    grid-column-gap: 50px;
    grid-template-columns: repeat(4, 1fr);
}

.client-document {
    border: 2px solid #243758;
    background-color: rgba(99, 152, 242, 0.05);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.add-client-document-wrapper.client-document {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-document div, .client-document select.state-label {
    margin: 10px 0;
}

.client-document select.state-label {
    width: 100%;
    display: block;
}

.client-document div:not(.document-overview-headline) {
    font-size: 15px;
}

.client-document .document-overview-headline {
    font-weight: bold;
}

#offer-page .tool-heading {
    position: relative;

}
.tool-heading{
    @media screen and (max-width: 767.98px){
        font-size: 24px;
    }
}
.tool-heading .back-btn {
    position: absolute;
    left: 0;
}

.back-btn .button {
    position: absolute;
}
.clients-filter {
    margin-bottom: 10px;
}
.clients-filter > div {
    display: inline-block;
}
#select-state-machine, #select-client-sorting {
    @media screen and (max-width: 480px) {
            display: block;
            margin-bottom: 10px;
    }
}
.clients-filter > .clients-sorting {
    float: right;
    @media screen and (max-width: 866px) {
        float: unset;
        margin-bottom: 10px;
        margin-top: 10px;
        display: block;
    }
}

a.table-btn {
    text-decoration: none;
    color: unset;
}

#mail-modal-body {
    text-align: left;
}

.mail-modal-selects, .mail-modal-general {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 5px 0 5px;
}

.mail-modal-selects label, .mail-modal-general label {
    display: block;
}

.mail-modal-attachments {
    padding: 10px 0;
}

.mail-modal-media {
    margin: 0 10px;
}

.client-mail-table-body tr {
    cursor: pointer;
}

.client-mail-table-body tr:hover {
    outline: 1px solid #243758 !important;
}

.modal.mail-log-modal .modal-content {
    text-align: left;
    max-width: 65%;
    margin: auto;
}

.bold {
    font-weight: bold;
}

.hide {
    display: none;
}

.mail-attachment {
    margin: 10px;
    vertical-align: middle;
}
#upsert-state-form{
    .col-12{
        text-align: center;
        @media screen and (max-width: 767.98px) {
            text-align: left;
        }
    }
}
#upsert-state-form{
    .button{
        width: 280px;
        margin: 20px auto 0;
        display: block;
    }
}
.invoice-table {
    margin-bottom: 10px;
}

#individual-invoice-container {
    display: flex;
}

.offer-module-container-for-invoice {
    width: 17%;
    max-height: 750px;
    overflow: scroll;
}

.current-invoice-container {
    display: none;
}