
:root {
    --primary-main-width: 1200px;
    --primary-column-gap: 8px;
    --primary-row-gap: 10px;
    --primary-border-color: #D6D6D6;
    --primary-font-header-color: #000;
    --primary-footer-color: #f3f3f3;
    --primary-background-color-panel: #f3fbff;
    --primary-border-radius: 5px;
    --primary-background-color-balance: #f3f3f3;
    --primary-background-color-labeled: #f3f3f3;
    --primary-border-color-home: #2580A7;
    --primary-icon-button-size: 18px;
    --primary-font-size-balance: 1.2em;
    --primary-background-color-body: #FFFFFF;
    --primary-font-color: rgba(0,0,0,0.55);
    --primary-font-color-footer-link: #E9EDC9;
}

ol {
    list-style: none;
    counter-reset: li;
}

li:before {
    counter-increment: li;
    content: counters(li, ".") ". ";
}

@media (min-width: 768px) {
}

html {
    position: relative;
    min-height: 100%;
}


body {
    background-color: var(--primary-background-color-body);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 16px !important;
}

.main-page {
    display: grid;
    grid-template-rows: 80px 1fr 110px;
    grid-row-gap: 10px;
    height: 100%;
}

    .main-page > div:nth-child(3) {
        background-color: #6b705c;
    }

.grid-main {
    display: grid;
    grid-template-columns: auto minmax(250px, var(--primary-main-width)) auto;
    min-height: 100%;
}

    .grid-main > div:nth-child(2) {
        background-color: var(--primary-background-color-body);
    }

.header-main {
    position: fixed;
    display: grid;
    grid-template-columns: 165px 1fr 165px;
    grid-column-gap: 10px;
    height: 80px;
    align-items: center;
    max-width: 1200px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #ffffffa6;
    backdrop-filter: blur(30px);
}

    .header-main > div:first-child > img {
        height: 50px !important;
    }

.header-link {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
}

    .header-link > a:hover {
        background-color: var(--primary-font-color-footer-link) !important;
    }

#panel_main_data {
    overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - 131px);
    padding-right: 10px;
    margin-top: -80px;
    padding-top: 80px;
}

[data-scroll="tab_panel"] {
    /*padding-right: 10px;*/
}

    [data-scroll="tab_panel"]::-webkit-scrollbar-thumb {
        border-radius: 2px !important;
        background-color: #D4A373 !important;
    }

    [data-scroll="tab_panel"]::-webkit-scrollbar {
        width: 2px !important;
    }

.panel-footer {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    height: 110px;
    color: #ffffff !important;
    /*justify-items: center;*/
    align-items: center;
}

.footer-mail {
    display: grid;
    grid-template-rows: auto auto;
    grid-row-gap: 5px;
    height: 110px;
    align-content: center;
}

.field-validation-error-in {
    background-color: #ff00000f !important;
    border: 1px solid red !important;
}

.field-validation-error {
    display: none;
    position: absolute;
    top: -30px;
    width: fit-content;
    right: 0;
    display: inline-block;
    padding: 2px 5px;
    background-color: red;
    color: #fff;
    border-radius: 5px;
}

.error-validation-field {
    border: 1px solid red !important;
}

[data-validate-field="label"] > .field-validation-error {
    top: -5px !important;
}

[data-validate-field="checkbox"] > div > .field-validation-error {
    top: -2px !important;
    z-index: 9999;
    left: 30px;
}

[data-message="Error"], .block-mess-error {
    color: red;
    font-weight: bold;
    padding: 10px 0;
}

[data-message="Panel"], .panel-mess-error {
    display: none;
    background-color: red;
    padding: 3px 8px;
    color: #fff;
    border-radius: 4px;
    position: absolute;
    top: -26px;
    font-size: 13px;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
}

.panel-label-error {
    display: none !important;
    position: absolute !important;
}

.mess-active {
    display: block;
    z-index: 1000;
}

.mess-active-fix {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    top: 0;
}

    .mess-active-fix span {
        font-size: 24px;
        text-align: center;
        margin-left: 4px;
    }

.mess-error {
    display: none;
}

.title-offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
}

    .title-offer > div:last-child {
        text-align: right;
    }

.offer-main {
    display: grid;
    grid-template-rows: auto;
    grid-row-gap: 10px;
}

    .offer-main > div:first-child {
        text-align: center;
    }

.link-footer {
    /*background-color: transparent !important;*/
    color: #CCD5AE;
}

    .link-footer:hover {
        color: #E9EDC9 !important;
        text-decoration: underline;
    }

.list-offer {
    padding-right: 40px;
    text-align: justify;
}

    .list-offer > ol > li {
        padding-bottom: 10px;
    }

        .list-offer > ol > li::before {
            font-size: 20px;
            font-weight: bold;
        }

        .list-offer > ol > li > h2 {
            display: inline;
        }

        .list-offer > ol > li > ol > li::before {
            font-weight: bold;
        }

        .list-offer > ol > li > ol > li > ol > li::before {
            font-weight: bold;
        }

.contractor-details {
    display: grid;
    grid-template-rows: auto;
    grid-row-gap: 2px;
}

    .contractor-details > div {
        display: grid;
        grid-template-columns: 170px 1fr;
        grid-column-gap: 10px;
    }

        .contractor-details > div > span:first-child {
            font-weight:bold;
        }
