body {
    width: auto;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    background: #ffffff;
}
.Container {
    width: 1020px;
    /*height: 1340px;*/
    height: 1300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px solid #000;
    gap: 40px;
    padding: 40px;
    font-size: 12px;
}
.documentSide {
    width: 45%;
    height: 100%;
    border: 0px solid #000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.companyInfo {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}
.companyLogo {
    max-width: 150px;
    max-height: 150px;
}
.infoContainer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.textRect  {
    padding: 5px;
}
.remark {
    background: var(--gray-divisor);
}
.remark .ctext {
    color: var(--background);
}
.ctext {
    width: 100%;
    color: var(--gris);
    word-wrap: break-word;
    word-break: break-word;
    text-align: justify;
    display: block;
}
.inospan span {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dotted #000;
}
.minimumText {
    font-size: 10px;
    text-align: justify;
}
.chkMark {
    background: var(--background);
    border-radius: 5px;
    color: var(--green);
    font-size: 15px;
    padding: 0px 2px;
    border: .4px solid var(--gray-divisor);
}
.unmark {
    color: transparent;
}
.parrTitle,
.boxTitle {
    font-size: 16px;
    color: var(--background);
    display: flex;
    width: 100%;
    height: 25px;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 0px 0px 30px;
    background: var(--gray-divisor);
}
.boxTitle {
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
}
.infoBox {
    width: 100%;
    height: auto;
    padding: 35px 5px 5px 5px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    border: 1px solid var(--gray-divisor);
    flex-direction: column;
}
.largeBox {
    padding: 55px 5px 5px 5px;
}
.miniBoxes {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.boxes {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.tBox {
    width: 50%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: .5px solid var(--gray-divisor);
}
.totalBox {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 30px 2px 2px;
    border: .5px solid var(--gray-divisor);
}
.contractId {
    font-size: 14px;
    display: flex;
    width: 100%;
    height: 20px;
    align-items: center;
    justify-content: flex-end;
    font-weight: 600;
}
.subBox {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.numBox {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: .4px solid var(--gray-divisor);
}
.itemBox {
    padding: 50px 0px 0px 0px;
}
.numb {
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-divisor);
    color: var(--background);
    font-size: 18px;
    font-weight: 600;
}
.tcont {
    width: 90%;
    height: auto;
    display: flex;
    padding: 5px;
}
.conSquareBox {
    padding: 20px 0px 0px 0px;
}
.sSide {
    width: 70%;
    height: auto;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 11px;
    color: var(--background);
    background: var(--gray-divisor);
    border: .4px solid var(--background);
}
.blankSquare {
    width: 30%;
    height: auto;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.minimumTitle {
    font-size: 11px;
    height: 20px;
}
.squares {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.sqA {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eachSquare {
    width: 16.7%;
    height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;
    padding: 5px;
    border: .5px solid var(--gray-divisor);
}
.minimumPadding {
    padding: 5px;
}
.sideBorders {
    border-left: 4px solid var(--gray-divisor);
    border-right: 4px solid var(--gray-divisor);
}
.signatureSpace {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: .4px solid var(--gray-divisor);
    padding: 5px;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}
.dateSpace {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: .4px solid var(--gray-divisor);
}
.dates {
    width: 50%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    border-right: .4px solid var(--gray-divisor);
}
.dates:last-child {
    border-right: 0px;
    border-left: .4px solid var(--gray-divisor);
}
.anexoContent {
    width: 1020px;
    height: 1200px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 0px solid #000;
    font-size: 12px;
    border: 0px solid var(--gray-divisor);
    transform: translateY(70px);
}
.anexoContent .infoBox {
    padding: 5px 10px 10px 10px;
    gap: 15px;
    border: 0;
}
.anexoContent .infoBox .parrTitle {
    text-align: center;
    justify-content: center;
}
.mctext {
    font-size: 14px;
}
.anexoFoots {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.imgSign {
    width: 50%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.dactilarSpace {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100px;
    height: 120px;
    border: .4px solid var(--gray-divisor);
    left: 40%;
    padding: 5px;
    background-size: 390px;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(1) contrast(1.4) brightness(1);
}
.decText {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.decContent {
    align-items: center;
}
.declaration {
    padding: 40px !important;
    color: var(--blue);
}
.declaration .mctext {
    color: var(--blue);
}
.declaration table {
    width: 80%;
    margin: 0 auto;
}
.declaration table thead tr th,
.declaration table tbody tr td {
    border: 1px solid var(--blue);
    padding: 6px;
}
.optes {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.decContent .anexoFoots {
    width: 100%;
    border: .4px solid var(--blue);
}
.decContent .anexoFoots .imgSign {
    width: 100%;
    height: 200px;
    border: .4px solid var(--blue);
}
.decContent .anexoFoots .imgSign .dateSpace,
.decContent .anexoFoots .imgSign .dateSpace,
.decContent .anexoFoots .imgSign .signatureSpace {
    border: .4px solid var(--blue);
    background-size: 60%;
}
.subcid {
    padding: 20px;
    flex-direction: column;
    gap: 25px;
}
.anexo-photo {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.subcid .companyLogocont {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.bTitle {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 25px;
    font-weight: 600;
    color: #000;
}
.subcid .mctext {
    font-size: 16px;
    color: #000;
}
.usrDat {
    color: #000;
}
#printMobile {
    display: none;
}
.ipbuttons {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    right: 0px;
    top: 40%;
    padding: 20px 20px 20px 20px;
    background: var(--gray-divisor);
    border-radius: 25px 0px 0px 25px;
    z-index: 5;
}
.ipbuttons button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--input);
    cursor: pointer;
    box-shadow: -3px -3px 6px 0 #364a63, 5px 5px 13px #171e29;
}
.ipbuttons button:nth-child(1){
    background: var(--gris) url(../assets/icons/contract.svg) center / 25px no-repeat;
}
.ipbuttons button:nth-child(2){
    background: var(--gris) url(../assets/icons/anexo.svg) center / 25px no-repeat;
}
.ipbuttons button:nth-child(3){
    background: var(--gris) url(../assets/icons/declaracion.svg) center / 25px no-repeat;
    display: none;
}
.ipbuttons button:nth-child(4){
    background: var(--gris) url(../assets/icons/identificacion.svg) center / 25px no-repeat;
}
.ipbuttons button:nth-child(5){
    background: var(--gris) url(../assets/icons/recibo.svg) center / 25px no-repeat;
}
.ipbuttons button:nth-child(6){
    background: var(--gris) url(../assets/icons/imagenes.svg) center / 25px no-repeat;
}
.subtotalprod {
    width: 100%;
    padding: 2px 10px;
    color: #364a63;
    text-align: end;
}
ol li {
    padding: 5px 10px;
    text-align: justify;
}
@media print {
    .ipbuttons,
    .excluded {
        display: none;
    }
}
@media screen and (max-width: 800px) {
    #printMobile {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 10px;
        left: 10px;
        background: var(--gray-divisor) url(../assets/icons/printer.svg) center / 25px no-repeat;
        box-shadow: 0 0 7px 2px #00000033;
        border-radius: 50%;
        border: 0;
    }
    .documentSide,
    .anexoContent {
        page-break-before: always; /* Cada sección comienza en una nueva página */
        page-break-inside: avoid;
    }
    .documentSide:first-of-type,
    .anexoContent:first-of-type {
        page-break-before: auto; /* Evita un salto de página antes de la primera sección */
    }
}