.buyProperties {
    position: relative;
}
.buyProperties .logo {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}

.form-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.fs-xs {
    font-size: 0.75rem;
}

.countertop-row .btnContainer {
    text-align: right;
}

.card {
    padding-right: 0;
    padding-left: 0;
}
/* .card:last-child {
    margin-bottom: 0;
} */

.fileContainer {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.suplierOptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.suplierOptions > label {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    flex: none;
}

.list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(width > 1280px) {
    .fileContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(width >= 1600px) {
    .suplierOptions {
        grid-template-columns: repeat(4, 1fr);
    }
    .fileContainer {
        grid-template-columns: repeat(3, 1fr);
    }
    .list-wrapper {
        display: block;
        columns: 2;
        column-gap: 10px;
        row-gap: 10px;
    }
}


.ctable {
    width: 100%;
    /*overflow-x: auto;*/
}

    .ctable .ctable-header,
    .ctable .ctable-row {
        display: flex;
    }

        .ctable .ctable-header > span,
        .ctable .ctable-row > span {
            flex: none;
            padding: 0.75rem;
            white-space: nowrap; /* Forhindrer teksten i at bryde linje */
            overflow: hidden; /* Skjuler den del af teksten der overskrider elementets bredde */
            text-overflow: ellipsis;
            border-bottom: 1px solid #ccc;
            display: flex;
            align-items: center;
        }

    .ctable .ctable-body .ctable-row:nth-child(odd) > span {
        background-color: #f8f9fa;
    }

    .ctable .ctable-header > span:nth-child(1),
    .ctable .ctable-row > span:nth-child(1) {
        width: 5%;
    }

    .ctable .ctable-header > span:nth-child(2),
    .ctable .ctable-row > span:nth-child(2) {
        width: 5%;
    }

    .ctable .ctable-header > span:nth-child(3),
    .ctable .ctable-row > span:nth-child(3) {
        width: 13%;
    }

    .ctable .ctable-header > span:nth-child(4),
    .ctable .ctable-row > span:nth-child(4) {
        width: 15%;
    }

    .ctable .ctable-header > span:nth-child(5),
    .ctable .ctable-row > span:nth-child(5) {
        width: 6%;
    }

    .ctable .ctable-header > span:nth-child(6),
    .ctable .ctable-row > span:nth-child(6) {
        width: 8%;
    }

    .ctable .ctable-header > span:nth-child(7),
    .ctable .ctable-row > span:nth-child(7) {
        width: 5%;
    }

    .ctable .ctable-header > span:nth-child(8),
    .ctable .ctable-row > span:nth-child(8) {
        width: 5%;
    }

    .ctable .ctable-header > span:nth-child(9),
    .ctable .ctable-row > span:nth-child(9) {
        width: 6%;
    }

    .ctable .ctable-header > span:nth-child(10),
    .ctable .ctable-row > span:nth-child(10) {
        width: 6.5%;
    }

    .ctable .ctable-header > span:nth-child(11),
    .ctable .ctable-row > span:nth-child(11) {
        width: 6%;
    }

    .ctable .ctable-header > span:nth-child(12),
    .ctable .ctable-row > span:nth-child(12) {
        width: 6.2%;
    }

    .ctable .ctable-header > span:nth-child(13),
    .ctable .ctable-row > span:nth-child(13) {
        width: 4%;
    }

    .ctable .ctable-header > span:nth-child(14),
    .ctable .ctable-row > span:nth-child(14) {
        width: 7.3%;
        flex: none;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }


.pdf-container {
    margin: 0;
    padding: 0;
    width: 210mm;
    background-color: #ffffff;
}
.pdf-container .pdf-header {
    width: 100%;
    padding: 50px 50px 150px 50px;
    box-sizing: border-box;
    /* clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%); */
}
.pdf-container .pdf-header > strong {
    font-size: 32px;
    color: #ffffff;
    display: block;
}
.pdf-container .pdf-header > strong::after {
    content: '';
    display: block;
    width: 45px;
    height: 5px;
    background-color: #ffffff;
    margin-top: 10px;
}
.pdf-container .pdf-box {
    /*padding-left: 30px;
    padding-right: 30px;*/
    margin: 0 auto;
    width: calc(100% - 100px);
    box-sizing: border-box;
    background-color: #ffffff;
    /*border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;*/
    /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
}
    .pdf-container .pdf-box.pdf-page-start, .after-header {
        padding-left: 30px;
        padding-right: 30px;
        border-left: 1px solid #e0e0e0;
        border-right: 1px solid #e0e0e0;
        padding-top: 30px;
        /* box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px; */
    }
.pdf-container .pdf-box.after-header {
    transform: translateY(-100px);
    margin-bottom: -100px;
}
.pdf-container .pdf-box.start {
    /*padding-top: 30px;*/
    border-top: 1px solid #e0e0e0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.pdf-container .pdf-box.end {
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 30px;
}
.pdf-container .pdf-box.after-header.end {
    margin-bottom: -70px;
}
.pdf-container .pdf-box > p:last-child {
    margin-bottom: 0;
}


.pdf-container .pdf-box.nopadding {
    padding: 0;
    margin-bottom: 30px;
}
.pdf-container p {
    margin: 0 0 20px;
}
.pdf-container .pdf-button {
    display: inline-block;
    padding: 14px 20px;
    background-color: #1cbb8c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.pdf-container .pdf-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 0;
}
.pdf-container .pdf-options > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}
.pdf-container .pdf-options > div > strong {
    font-size: 16px;
}
.pdf-container .pdf-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.pdf-container .pdf-list > div {
    display: flex;
    
}
    .pdf-container .pdf-list > div {
        border-top: 1px solid #e0e0e0;
    }
        .pdf-container .pdf-list > div:last-child {
            border-bottom: 1px solid #e0e0e0;
        }
.pdf-container .pdf-list > div.pdf-list-colored {
    border-top: 0px;
    background-color: #f9f9f9;
    font-weight: bold;
}
.pdf-container .pdf-list > div > span {
    flex: 1;
    padding: 4px;
}
.pdf-container .pdf-list > div > span:last-child {
    text-align: right;
}
.pdf-container .pdf-table {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.pdf-container .pdf-table > div {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}
.pdf-container .pdf-table > div:first-child {
    background-color: #f9f9f9;
    font-weight: bold;
}
.pdf-container .pdf-table > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.pdf-container .pdf-table > div > span {
    padding: 4px;
}
.pdf-container .pdf-table > div > span:nth-child(1) {
    flex: auto;
}
.pdf-container .pdf-table > div > span:nth-child(2) {
    flex: none;
    width: 60px;
}
.pdf-container .pdf-table > div > span:nth-child(3) {
    flex: none;
    width: 150px;
    text-align: right;
}
.pdf-container .pdf-table > div > span:nth-child(4) {
    flex: none;
    width: 200px;
    text-align: right;
}
.pdf-container .pdf-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}
.pdf-container .pdf-grid > div {
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.pdf-container .pdf-grid > div > .image {
    width: 100px;
    height: 100px;
    flex: none;
    position: relative;
    overflow: hidden;
}
.pdf-container .pdf-grid > div > .image > img {
    height: 100%;
    width: auto;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pdf-container .pdf-grid > div > .info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pdf-container .page-break {
    page-break-before: always;
}
.pdf-container .pdf-total, .pdf-container .pdf-revisionprice {
    font-size: 16px;
    font-weight: bold;
}
.pdf-container .pdf-createdby {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}
.pdf-container .pdf-createdby > div:first-child {
    width: 100px;
    height: 100px;
    flex: none;
}
.pdf-container .pdf-createdby > div:first-child > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}
.pdf-container .pdf-createdby > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: auto;
}
.pdf-container .pdf-createdby > div > p {
    margin: 0;
}
.pdf-container .pdf-createdby > div > p:first-child {
    font-weight: bold;
    margin-bottom: 5px;
}
.pdf-text-large {
    font-size: 20px;
}
.pdf-note {
    font-size: 12px;
    line-height: 1.2;
}
.pdf-page-start {
    margin-top: 40px !important;
}
.pdf-page-end {
    margin-bottom: 40px !important;
}

.pdf-container .old-value-red, #offerOverviewContainer .new-line-indicator {
    display: none;
}

.pdf-container .changed-value .old-value-red {
    display: inline-block;
    color: red;
    text-decoration: line-through;
    margin-left: 5px;
}

.pdf-container .changed-value .new-line-indicator {
    display: inline-block;
    color: red;
    margin-left: 5px;
}

.pdf-container .pdf-revisionprice
{
    color: red;
}