@keyframes pagination{
    0%{
        transform:scaleX(0);
    }
    100%{
        transform: scaleX(1);
    }
}


.machineDescription h1 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 800;
    color: #000f9f;
    font-family: 'Open Sans';
}

.machinePictureAndDescription {
    display: flex;
    flex-direction: column;
    width: 65%;
}

.machineDetails {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.swiperMachine {
    overflow: clip;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 64px;
    position: relative;
}



.swiper-slide {
    height: 52vh!important;
    width: 100%!important;
}

span.swiper-pagination-bullet {
    width: 10%;
    color: unset;
    background: rgba(255,255,255,0.58);
    border-radius: unset;
    margin-right: 5%!important;
}

.swiperMachine::after {
    content: '';
    position: absolute;
    top: 70%;
    left: 0;
    width: 100%;
    height: 30%;
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
    z-index: 2;
    background-image: url('/wp-content/uploads/2025/09/Recurso-1surkomat.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.onlyImage::after {
    display: none;
}

.onlyImage .swiper-slide {
    height: auto!important;
    max-height: 70vh!important;
}


html body .swiper-pagination-bullet-active {
    background: rgba(255,255,255,1);
}

span.swiper-pagination-bullet {
    width: 12%;
    color: unset;
    background: rgba(255,255,255,0.47);
    border-radius: unset;
    margin-right: 2.3%!important;
    position: relative;
    counter-increment: slide;
    height: 7px;
}

.swiperMachinePagination {
    position: absolute;
    top: 100%!important;
    left: 64px!important;
    height: 14%;
    z-index: 10;
    transform: translateY(-100%);
    width: calc(100% - 128px)!important;
    counter-reset: slide!important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 2.7vh;
}

span.swiper-pagination-bullet::before {
    content: counter(slide);
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-100%);
    color: white;
    background: unset;
    font-family: 'Open Sans';
}



span.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fec526;
    transform-origin: left;
    transform: scaleX(0);
    transition: all 0.25s ease-in-out;
}





span.swiper-pagination-bullet-active::after {
animation: pagination 10s linear forwards;
}

/*
PAUSE PAGINATION ANIMATION ON HOVER
.swiperMachine:hover span.swiper-pagination-bullet-active::after {
    animation-play-state: paused!important;
    transform: scaleX(0)!important; 
}
*/


.mainMachine {
    padding: 0 13%;
    padding-top: 15vh;
    display: flex;
    flex-direction: row;
}

.cfImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.cfHeader {
    display: flex;
    flex-direction: row;
}

.cfName p {
    margin: 0;
    font-size: 1em;
    font-weight: 800;
    text-transform: uppercase;
    color: #000f9f;
    font-family: 'Open Sans';
}

.cfImage {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: invert(1) brightness(0.6)  saturate(1.3);
    padding-right: 10px;
}


.cfvalue>p {
    color: #1a1a1a;
    font-family: 'Open Sans';
    font-weight: 700;
    padding-left: 40px;
    margin-top: 6px;
}

.machineDetails {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-left: 5%;
    box-sizing: border-box;
    padding-top: 4%;
}


.machineDetails>a {
    color: white;
    text-decoration: unset;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    padding: 0.3em 1.7em;
    background-color: #000f9f;
    border-radius: 50px;
    width: fit-content;
    margin-top: 10%;
    transition: all 0.15s ease-in-out;
}

.machineDescription p {
    font-family: 'Open Sans';
    color: #1a1a1a;
    font-weight: 600;
}

.machineDescription {
    width: 100%;
    padding: 0 1%;
    box-sizing: border-box;
    padding-top: 4%;
}

.machineContact svg {
    width: 22px;
    height: 30px;
    margin-left: auto;
}

.machineContact svg * {
    transition: all 0.15s ease-in-out;
}

.machineContact a {
    color: white;
    font-family: 'Open Sans';
    padding-right: 5px;
    font-size: 1em;
    transition: all 0.15s ease-in-out;
    text-decoration: unset;
}

.machineContact {
    width: fit-content;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000f9f;
    border-radius: 50px;
    padding: 0.3em 1.7em;
    margin-bottom: 11vh;
    margin-top: 5vh;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.machineContact:hover svg * {
    stroke: #ffc629!important;
}

.machineContact:hover a {
    color: #ffc629!important;
} 

span.swiper-pagination-bullet {
    opacity: 0.47;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1!important;
}


.swiper9plus .swiperMachinePagination {
    height: 20%;
}

@media only screen and (max-width:1600px){
   .mainMachine {
    padding: 0 5%;
    padding-top: 15vh;
    display: flex;
    flex-direction: row;
}


.swiper9plus .swiperMachinePagination {
    height: 23%;
}


}


@media only screen and (max-width:950px){
    .machinePictureAndDescription {
    width: 100%;
}

.machineDetails {
    width: 100%;
    padding-left: unset;
    flex-wrap: wrap;
}
.footer {
    margin-top: 16vh!important;
}


.mainMachine {
    flex-direction: column;
}

.machineDetails>a {
    position: absolute;
    top: 100%;
    left: 50%;
    margin: unset;
    transform: translateX(-50%);
    margin-top: 4vh;
}

.machineDetails {
    width: 100%;
    padding-left: unset;
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
}


.machineDetails>div:nth-of-type(even) .cfHeader {
    flex-direction: row-reverse;
}
.machineDetails>div:nth-of-type(even) .cfImage {
    padding-right: unset;
    padding-left: 10px;
}
.machineDetails>div:nth-of-type(even)>p {
    padding-right: 40px;
    padding-left: unset;
    text-align: right;
}
.cfvalue {
    width: 48%;
}

.cfvalue.alone {
    margin: 0 auto;
    width: fit-content;
}

.alone>p {
    padding: unset;
    text-align: center;
}

.cfvalue.alone .cfHeader {
    position: relative;
}
.alone .cfImage {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%,-50%);
}

.cfvalue {
    margin-bottom: 2vh;
}

.alone .cfImage {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%,-120%);
}

.machineDetails>div:nth-of-type(even) .cfName {
    text-align: right;
}
.machineDetails>a {
    white-space: nowrap;
}

span.swiper-pagination-bullet::before {
    content: counter(slide);
    position: absolute;
    top: 0;
    right: unset;
    transform: translate(-50%,-100%);
    color: white;
    background: unset;
    font-family: 'Open Sans';
    left: 50%;
}


}


@media only screen and (max-width:650px){
.swiper-slide img {
    border-radius: 30px;
}

.swiperMachine::after {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
span.swiper-pagination-bullet::before {
    font-size: 0.6em;
}

.swiperMachinePagination {
    width: 92%!important;
    left: 50%!important;
    transform: translate(-50%,-100%)!important;
}

    .cfvalue.alone {
    margin-top: 6vh;
}

.cfHeader {
    display: flex;
    flex-direction: row!important;
}
.cfName {
    text-align: left!important;
}
.cfImage {
    padding-right: 10px!important;
    padding-left: unset!important;
}

.cfvalue>p {
    padding-right: unset!important;
    padding-left: 40px!important;
    text-align: left!important;
}

.cfImage {
    min-width: 30px;
    min-height: 30px;
}

.alone>p {
    padding: unset!important;
    text-align: center!important;
}

html .mainMachine {
    padding-top: 12vh;
}

html .machineContact {
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    height: auto!important;
    width: 100%!important;
    max-height: 50vh!important;
}


span.swiper-pagination-bullet {
    width: 12.9%;
}


}