/*
*Themename: SAPCentroTheme
*Description: Tema diseñado para SAPCentro
*Author: Hugo Díaz
*Version: 1.0.0
*Template: genesis
*/

@import "../genesis/style.css";
@import "./normalize.css";

/* Fuentes */

@font-face {
    font-family: 'Nunito';
    src: url(./fonts/nunito/static/Nunito-Medium.ttf);
}

@font-face {
    font-family: 'Noto Sans Elbasan';
    src: url(./fonts/noto_sans_elbasan/NotoSansElbasan-Regular.ttf);
}

@font-face {
    font-family: 'Poppins';
    src: url(./fonts/poppins/Poppins-Medium.ttf);
}

/* body { cursor: url(../../uploads/2024/11/icon-sap.png), auto; } */

/* Variables globales */
:root{
    --first-color: #3498f5;
    --second-color: #008EEE;
    --third-color: #5aa3d4;
    --bg-first-color: #FFF;
    --second-first-color: #FFB422;
    --second-second-color: #ffd078;
    --second-third-color: #ffbb79;
    --first-dark-color: #000000;
    --up-animation: 30px;
    --cover-animation: 35px;
    --entry-animation: -35px;
    --first-font: 'Poppins';
    --second-font: 'Nunito';
    --third-font: 'Noto Sans Elbasan';
    --first-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}


/* Estilos genéricos */
html {
    scroll-behavior: smooth;
    text-wrap: pretty;
}

img{
  aspect-ratio: auto;  
}

main{
    width: 1500px;
    max-width: 100%;
    margin: auto;
    padding: 0 1rem;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

*:focus {
    outline: none;
}

p{
    color: #000;
    margin-bottom: 1.6rem;
    font-size: 1.2rem;
    line-height: 1.6rem;
}

ul li {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

*::selection{
    background-color: var(--first-color);
    color: var(--bg-first-color);
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--first-font);
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-first-color);
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: .5rem;
}

body::-webkit-scrollbar-track {
    background: #c9e9ff;
}

body::-webkit-scrollbar-thumb {
    background: var(--first-color);
}

/* HOME */

#slider-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    .img__cab {
        width: 100%;
    }
    h1 {
        position: absolute;
        font-size: 4rem;
        color: white;
        text-align: center;
        top: 20rem;
        width: 100vw;
    }
    #sapb1{
        position: absolute;
        bottom: 1rem;
        right: 1rem;
    }
}

#f__inicio {
    margin: 4rem auto;
    p {
        font-size: 1.6rem;
        line-height: 1.5;
    }
}

#n__servicios {
    .content__servicios {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-bottom: 4rem;
        .item__servicios {
            padding: 2rem;
            border-radius: 1rem;
            display: flex;
            flex-direction: column;
            text-align: center;
            justify-content: space-between;
            box-shadow: 0 0 1rem -0.5rem #aaa;
            img {
                max-width: 100%;
            }
        }
    }
    h4 {
        margin-bottom: 1rem;
    }
}

section{
    margin: 10rem 0;
    &#n__servicios {
        margin-top: 2rem;
    }
    h2 {
        font-size: 3.6rem;
        color: var(--first-color);
        transition: opacity 0.3s ease, transform 0.9s ease;
        margin: 3rem 0 2rem;
    }
    h3 {
        font-size: 1.6rem;
        color: var(--first-color);
        margin: 2.5rem 0 1.5rem;
        font-weight: normal;
    }
    h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

main {
    ul, ol {
        padding-left: 3rem;
        margin-bottom: 2rem;
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }
}

.page__title {
    font-size: 3.4rem;
    color: var(--first-color);
    margin-bottom: 4rem;
}

section > h2{
    text-wrap: pretty;
}

.line-title{
    height: 4px;
    height: .4rem;
    border-radius: 1px;
    width: 10%;
    background: linear-gradient(270deg, rgba(34,115,186,1) 0%, rgba(37,174,228,1) 100%);
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateX(20vw) skewX(140deg);
    transition: opacity 0.3s ease, transform 1.2s ease;
}

.sectionImplantaciones-blockImgPrincipal, .sectionSoporte-blockImgPrincipal{
    .moreInfo{
        margin-top: 3rem;
    }
}

.sectionAuditorias-text{
    .moreInfo{
        margin-top: 2rem;
    }
}

.sectionImplantaciones-blockImgPrincipal, .sectionSoporte-blockImgPrincipal, .sectionFormaciones-blockImgPrincipal{
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 3.5rem;

    p{
        margin-bottom: 2rem;
    }
    
    div{
        width: 55%;
    }
    img{
        width: 45%;
        border-radius: 1rem;
    }
}

#arrow-up{
    display: none;
    position: fixed;
    bottom: 85px;
    right: 10px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius: 100%;
    background-color: var(--second-first-color);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    opacity: 0;
    animation: appeared-arrow linear both;
    animation-timeline: scroll(root);
    animation-range: 600px 1000px;
    a{
        width: 45px;
        height: 45px;
        display: flex;
        justify-content: center;
        border-radius: 100%;
        align-items: center;
    }
    img{
        width: 20px;
    }
}

@keyframes appeared-arrow{
    0%{
        opacity: 0;
        transform: translateY(30px) rotate(0deg);
    }

    100%{
        opacity: 1;
        transform: translateY(0px)  rotate(180deg);
    }
}

.moreInfo{
    margin-top: 1rem;
    a {
        padding: .6rem 1.5rem;
        border-radius: 1rem;
        background-color: var(--second-first-color);
        transition: all .3s ease-in;
        font-weight: bold;
        font-size: 1.2rem;
        &:hover{
            background-color: var(--second-second-color);
        }
        .moreInfoLink{
            display: inline-flex;
            color: #000000;
            font-family: var(--first-font);
            font-weight: normal;
            svg{
                margin-left: 1rem;
                width: 20px;
                height: auto;
                transition: all .2s ease-in-out;
            }
        }
    }
}
.moreInfo:hover svg{
    transform: translateX(7px);
}

/** Inicio de la cabecera **/
header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    flex-direction: column;
    z-index: 9999;
    animation: expand-header linear both;
    animation-timeline: scroll(root);
    animation-range: 0 300px;
}

#progress-bar {
    appearance: none;
    width: 100%;
    height: 4px;
    background-color: #f1f1f1;
    border-radius: 0%;
    animation: appeared-progress linear both;
    animation-timeline: scroll(root);
    animation-range: 300px 305px;
}

#progress-bar::-webkit-progress-bar {
    background-color: #f1f1f1;
    border-radius: 0%;
}

#progress-bar::-webkit-progress-value {
    background: linear-gradient(90deg, rgba(114,190,255,1) 0%, rgba(92,176,219,1) 45%, rgba(49,148,208,1) 100%);
    background: linear-gradient(90deg, var(--second-third-color) 0%, var(--second-first-color) 100%);
}

#progress-bar::-moz-progress-bar {
    background: linear-gradient(90deg, rgba(114,190,255,1) 0%, rgba(92,176,219,1) 45%, rgba(49,148,208,1) 100%);
    background: linear-gradient(90deg, var(--second-third-color) 0%, var(--second-first-color) 100%);
}

@keyframes appeared-progress{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes expand-header{
    0%{
        top: 75px;
        width: 90%;
    }

    100%{
        top: 0;
        width: 100%;
    }
}

@keyframes expand-nav{
    0%{
        border-radius: 1rem;
        background-color: var(--first-color);
    }

    100%{
        border-radius: 0;
        background: var(--first-color);
    }
}

.navbar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    animation: expand-nav linear both;
    animation-timeline: scroll(root);
    animation-range: 0 300px;
}

.navbar>a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

#menu-cabecera {
    display: flex;
    list-style: none;
}

#menu-cabecera > li {
    font-family: var(--first-font);
    display: flex;
    justify-content: center;
}

#menu-cabecera a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all .2s ease-in;
}

#menu-cabecera>li>a{
    border-radius: 1rem;
    color: var(--bg-first-color);
}
  
#menu-cabecera>li:last-child>a{
    color: #000000;
    background-color: var(--second-first-color);
}

#menu-cabecera>li>a:hover{
    opacity: .68;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10%;
    background-color: rgba(81, 168, 224, 1);
    border-radius: .5rem;
    list-style: none;
    padding: 0;
}

#menu-cabecera li:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 10px 15px;
    color: var(--first-dark-color);
    transition: all .4s ease-in;
    border-radius: .5rem;
}

.sub-menu li a:hover {
    background-color: #f1f1f1;
}

/* Responsive */
@media (1100px < width < 1300px){
    #menu-cabecera li a{
        font-size: .8rem;
    }
}

@media (max-width: 1100px) {

    #progress-bar{
        opacity: 1;
        animation: none;
    }

    header{
        top: 0;
        animation: none;
        width: 100%;
    }

    .navbar{
        animation: none;
        background-color: var(--first-color);
    }

    .navbar img {
        width: 250px;
        height: auto;
        margin-left: 1rem;
    }

    #menu-cabecera li a, .sub-menu li a {
        padding: 10px 15px;
        color: #ffffff;
        transition: none;
        font-size: 2rem;
    }

    .navbar{
        width: 100%;
        margin-top: 0;
        justify-content: space-between;
        border-radius: 0%;
    }
    .burger {
        display: inline;
    }
    #menu-cabecera {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
    }
    body.open #menu-cabecera {
        height: 100vh;
        justify-content: center;
        display: flex;
        gap: 1rem;
    }
    #menu-cabecera li {
        text-align: center;
    }
    .sub-menu {
        top: 0;
        left: 60%;
    }

    #menu-cabecera{
        background-color: var(--first-color);
    }
}

@media screen and (width < 700px) {
    header{
        position: fixed;
        opacity: 1;
    }

    main>.n2_clear{
        margin-top: 4.1rem;
    }
}
/** Fin de la cabecera **/


/** Inicio del pie de página **/
footer{
    background: var(--first-color);
    width: 100vw;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#footer-line{
    width: 80vw;
    height: 2px;
    background-color: var(--bg-first-color);
}

#footer-content{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 90%;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: start;
    .footer-logo{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    ul{
        display: flex;
        list-style: none;
        gap: 15px;
        padding: 20px 0;
        flex-direction: column;
        li{
            color: var(--bg-first-color);
        }
        li:first-of-type{
            font-size: 1.6rem;
            font-weight: bold;
            pointer-events: none;
            letter-spacing: 1px;
        }
        a{
            text-decoration: none;
            color: var(--bg-first-color);
        }
    }
}

@media screen and (width < 700px) {
    #footer-content {
        ul{
            flex-direction: column;
            gap: 2rem;
        }
    }
    
}

.footer__block--copy{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
}

.footer__block--copy__text{
    color: var(--bg-first-color);
    font-size: .9rem;
    a {
        color: var(--bg-first-color);
    }
}

.footer__block--copy__ayla > a{
    text-decoration: none;
    font-weight: 700;
    color: var(--bg-first-color);
}

@media screen and (width < 700px) {
    .footer__block--copy{
        flex-direction: column;
        gap: .5rem;
    }

    #pipe{
        display: none;
    }
}
/** Fin del pie de página **/


/** Sección de SAP B1 **/

@media screen and (width < 1100px){
    .text-top{
        margin-bottom: 2rem;
        margin-inline: .5rem;
    }
}

.block-eslogan {
    display: flex;
    justify-content: center;
    background: var(--first-color);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

#eslogan{
    text-align: center;
    font-size: 3.5rem;
    margin: 6rem 0;
    padding: 1rem;
    font-family: var(--first-font);
    color: var(--bg-first-color);
}

@media screen and (width < 900px) {
    #eslogan{
        font-size: 2.2rem;
        line-height: 3rem;
        margin: 0;
    }
}

#itemsCaracteristicasB1{
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.itemB1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-radius: 1rem;
    background: #f1f7ff;
    padding: 2rem;
    img {
        width: 100%;
    }
    .info {
        width: 100%;
    }
    .top {
        position: absolute;
        background: var(--first-color);
        padding: 0.3rem 0.6rem;
        border-radius: 1rem;
        top: -12px;
        color: white;
        font-size: 0.8rem;
    }
    h3 {
        color: var(--first-color);
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    a {
        padding: .6rem 1.5rem;
        border-radius: 1rem;
        background-color: var(--second-first-color);
        color: #000000;
        text-decoration: none;
    }
    .comparador {
        width: 100%;
        display: flex;
        flex-direction: column;
        background: #e7e7e7;
        margin: 1rem 0;
        .comparar {
            display: flex;
            justify-content: space-between;
            width: 100%;
            border-bottom: 1px solid;
            padding: 0.7rem;
            height: 40px;
        }
    }
    &.item__active {
        border: 1px solid var(--first-color);
        transform: scale(1.05);
        background: #e3efff;
    }
}

@keyframes up-animation {
    0%{
        opacity: 0.6;
        translate: 0px var(--up-animation);

    }
    100%{
        opacity: 1;
        translate: 0 0;
    }
  }

@media screen and (width < 1100px) {
    #itemsCaracteristicasB1{
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media screen and (width < 650px) {
    #itemsCaracteristicasB1{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        padding: 1rem;
    }

    .itemB1{
        padding: 2rem 1rem;
        h3{
            padding: .7rem;
        }
    }

    .itemB1 p{
        width: 90%;
        font-size: 16px !important;
    }
}

/** Sección de Implantaciones **/

.sectionImplantaciones-pasosSeguir, .sectionSoporte-caracteristicas, .sectionFormaciones-blockCursos, .sectionOtrosServicios-options{
    display: flex;
    margin: 5rem 0;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
}

.sectionImplantaciones-pasosSeguirTitle, .sectionAuditorias-factoresTitle, .sectionImplantaciones-pasosSeguirFAQTitle, .sectionImplantaciones-caracteristicasTitle, .sectionImplantaciones-blockCursosTitle{
    display: flex;
    gap: 1rem;
    align-items: center;
    h3{
        color: var(--first-dark-color);
        font-size: 28px;
    }
    img{
        width: 36px;
    }
}

@media screen and (width < 900px) {
    .sectionImplantaciones-pasosSeguirTitle, .sectionAuditorias-factoresTitle, .sectionImplantaciones-pasosSeguirFAQTitle, .sectionImplantaciones-caracteristicasTitle, .sectionImplantaciones-blockCursosTitle{
        h3{
            font-size: 20px;
            text-wrap: pretty;
        }
        img{
            margin-left: 1rem;
        }
    }
}

.sectionImplantaciones-pasosSeguirFAQTitle{
    margin: 4rem 0rem 2.5rem;
}

.sectionImplantaciones-pasosSeguirList{
    p{
        margin: 1rem 0;
        font-size: 18px;
        &::first-letter{
            font-size: 42px;
        }
    }
}

.sectionImplantaciones-pasosSeguirList,
.sectionImplantaciones-pasosSeguirFAQQuestions,
.sectionImplantaciones-blockCursosContent{
    margin: 2rem 0;
}

.sectionImplantaciones-pasosSeguirFAQQuestions{
    margin: 5rem 0rem 2rem;
}

.faq{
    width: 100%;
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--first-color);
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h3 {
    color: var(--first-color);
    font-size: 1.2rem;
    margin: 0;
    transition: all 300ms linear;
}

.answer p {
    background: #f1f7ff;
    padding: 1rem;
    margin-top: 20px;
    border-radius: 1rem;
}

 .answer{
     max-height: 0;
     overflow: hidden;
 }

.faq i {
    color: var(--first-color);
    transition: transform .5s ease-in-out;
}

 .faq.active .answer{
     max-height: 300px;
     animation: fade .5s ease-in-out;
 }

 .faq.active i {
     transform: rotate(180deg);
    transition: transform .5s ease-in-out;
 }

 @media screen and (width > 900px) {
    .faq:hover .question h3{
        color: var(--first-color);
    }
 }

 @media screen and (width < 900px) {
    .question h3{
        font-size: 1rem;
    }

    .answer p{
        font-size: .9rem !important;
    }
 }

 @keyframes fade{
     from{
         opacity: 0;
         transform: translateY(-10px);
     } to {
         opacity: 1;
         transform: translateY(0);
     }
 }

/** Sección de Soporte **/

.sectionSoporte-caracteristicasBlocks{
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: baseline;
}

@media screen and (width < 1400px) {
    .sectionSoporte-caracteristicasBlocks{
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (width < 800px) {
    .sectionSoporte-caracteristicasBlocks{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4rem;
        p{
            width: 80%;
        }
    }
}

/** Sección de Formaciones **/

.sectionImplantaciones-blockCursosContent{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

@media screen and (width < 900px) {
    .sectionImplantaciones-blockCursosContent{
        margin: 2rem 1rem;
    }
}

.sectionFormaciones-blockCursosCurso{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--first-color);
    border-radius: 1rem;
    max-height: 350px;
    overflow: hidden;
    > div{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 4rem;
        h3{
            font-size: 26px;
            color: var(--bg-first-color);
        }
        p{
            color: var(--bg-first-color);
        }
    }
    img{
        border-radius: 20rem 2rem 2rem 20rem;
        height: 100%;
        overflow: hidden;   
    }
}

@media screen and (1300px < width < 1350px) {
    .sectionFormaciones-blockCursosCurso{
        > div{
            padding: 1.5rem;
            padding-left: 3rem;
            h3{
                font-size: 22px;
            }
            p{
                font-size: 14px;
            }
        }
        img{
            transform: translateX(50px);
        }
    }
}

@media screen and (width < 700px) {
    .sectionFormaciones-blockCursosCurso a{
        font-size: 16px;
    }
}

@media screen and (width < 1300px){
    .sectionFormaciones-blockCursosCurso{
        flex-direction: column;
        max-height: none;
        background: linear-gradient(270deg, rgba(34,115,186,1) 0%, rgba(34,115,186,1) 56%, rgba(37,174,228,1) 100%);
        
        > div{
            order: 2;
            padding: 4rem 2rem;
            h3{
                font-size: 20px;
            }
            p{
                text-wrap: pretty;
                font-size: 14px;
            }
        }
        img{
            width: 100%;
            height: auto;
            border-radius: 2rem 2rem 0rem 0rem;
        }
    }

    section>h2{
        opacity: 1;
        transform: translateX(0px);
    }

    .line-title{
        opacity: 1;
        transform: translateX(0px) skewX(140deg);
    }
}

/** Sección de Auditorías **/

.sectionImplantaciones-FactoresContent{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 2rem 0rem;
    .moreInfo{
        margin-left: .5rem;
    }
    > div{
        display: flex;
        align-items: start;
        gap: 1rem;
        i{
            color: var(--first-color);
            font-size: 1.5rem;
        }
    }
}

.sectionAuditorias-pasosSeguirFactores{
    display: flex;
    margin-top: 4rem;
    justify-content: center;
    align-items: start;
    gap: 3.5rem;
    .sectionAuditorias-text{
        width: 55%;
    }
    .sectionAuditorias-img{
        width: 45%;
        display: flex;
        justify-content: center;
        align-items: center;
        img {
            width: 100%;
            border-radius: 1rem;
        }
    }
}

@media screen and (width < 1000px) {
    .sectionAuditorias-pasosSeguirFactores{
        align-items: center;
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .sectionAuditorias-img{
        order: 1 !important;
        width: 95% !important;
        padding: 0rem !important;

    }

    .sectionAuditorias-text{
        width: 100% !important;
        order: 2 !important;
        img{
           width: 26px !important;
        }
    }
}

@media screen and (width < 700px) {
    .sectionAuditorias-pasosSeguirFactores .sectionAuditorias-text{
        p{
            font-size: 12px;
        }
    }
}

/** Sección de Otros servicios **/

.sectionOtrosServicios-optionsBlock{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 4rem;

    article{
        border-radius: 1rem;
        background: var(--first-color);
        transform: translateY(150px);
        opacity: 0;
        transition: opacity 0.7s ease, transform 0.7s ease;
        img{
            width: 100%;
            height: auto;
            border-radius: 1rem 1rem 0 0;
        }
        h4{
            color: var(--bg-first-color);
        }
        p{
            color: var(--bg-first-color);
        }
        h4, p, div{
            margin: 2rem;
            font-weight: normal;
        }
        div{
            margin-bottom: 4rem;
        }
    }

    article:nth-of-type(2n){
        transition: opacity 1s ease, transform 1.4s ease;
    }
}

@media screen and (width < 1100px) {
    .sectionOtrosServicios-optionsBlock{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0 1rem;
    }
}

@media screen and (width < 700px) {
    .sectionOtrosServicios-optionsBlock article p{
        font-size: .8rem;
    }
}

/* mas informacion index */

#contact--index {
    background-color: #eef8ff;
    margin-bottom: 0;
    padding: 4rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 2rem;
    .form {
        max-width: 100%;
        width: 1500px;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        .wpcf7 {
            width: 100%;
            p {
                display: flex;
                .wpcf7-form-control-wrap {
                    width: 70%;
                    input {
                        border-radius: 1rem 0 0 1rem;
                        margin: 0;
                    }
                    .wpcf7-not-valid-tip {
                        position: absolute;
                    }
                }
                >input {
                    width: 30%;
                    border-radius: 0 1rem 1rem 0;
                }
            }
        }
    }
}

@media screen and (width < 1100px) {
    #contact--index {
        h2 {
            font-size: 2.4rem;
        }
    }
}

@media screen and (width < 700px) {
    #contact--index {
        h2 {
            font-size: 2.2rem;
        }
    }
}

/** Sección de Contáctanos **/

.sectionContact-info{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sectionContact-form{
    width: 60%;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0 1rem -0.5rem #aaa;
}

.sectionContact-extraInfo{
    width: 40%;
    padding: 0 1rem;
    position: sticky;
    height: fit-content;
    top: 7rem;
    h2{
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    .line-title{
        margin-bottom: 2.5rem;
    }
    iframe{
        border-radius: 1rem;
        height: 400px;
        width: 100%;
    }
}

.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1rem;
    cursor: pointer;
    border-radius: 1rem;
    border: none;
    font-family: var(--first-font);
    transition: all .3s ease-in;
    background-color: var(--second-first-color);
}

.wpcf7 input[type="submit"]:hover{
    background-color: var(--second-third-color);
}

.wpcf7 label {
    margin-top: 1rem;
    font-size: 1rem;
}

.wpcf7 textarea{
    resize: none;
}

.wpcf7 input[type="text"],
.wpcf7 textarea, .wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select{
    width: 100%;
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 0.3rem;
    color: var(--second-color);
    border: 1px solid;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 textarea:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus{
    border: 2px solid;
}

.wpcf7-list-item{
    margin: 0 0 0 .5rem !important;
    label{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .5rem;
        input[type="checkbox"]{
            width: 16px;
            height: 16px;
        }
        .wpcf7-list-item-label{
            font-size: 14px;
        }
    }
}

.wpcf7-response-output{
    font-family: var(--first-font);
}

.sectionContact-extraInfoContact{
    display: flex;
    justify-content: center;
    align-items: self-start;
    flex-direction: column;
    margin-top: 2rem;
    gap: 1rem;
    background: #e1f0ff;
    padding: 1rem;
    border-radius: 1rem;
    > div{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        i{
            color: var(--first-color);
            font-size: 1.2rem;
        }
        p {
            margin: 0;
            strong {
                color: var(--first-color);
            }
            a {
                text-decoration: none;
                color: var(--first-dark-color);
                margin-left: .2rem;
            }
        }
    }
}

@media screen and (width < 1100px) {
    .sectionContact-form{
        padding: 1rem 3rem;
    }

    .sectionContact-extraInfo{
        padding: 1rem 2rem;
    }

}

@media screen and (width < 900px) {
    .sectionContact-info{
        flex-direction: column;
        gap: 5rem;
        align-items: center;
    }
    .sectionContact-form{
        padding: 1rem 3rem;
        width: 90%;
    }

    .sectionContact-extraInfo{
        padding: 1rem 0rem;
        width: 90%;
    }
}

@media screen and (width < 600px) {
    .sectionContact-form{
        padding: 1rem 2rem;
        width: 90%;
    }
}

/** CookieYes **/

.cky-consent-container{
    font-family: var(--first-font);
    p{
        font-family: var(--first-font);
    }
}

/** Accesibility **/

#pojo-a11y-toolbar{
    font-family: var(--first-font);
    a{
        text-decoration: none;
    }
}

.sectionFormaciones-blockCursosCurso {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.sectionFormaciones-blockCursosCurso p, .sectionOtrosServicios-articles p{
    line-height: 22px;
    letter-spacing: .3px;
}

/** Políticas **/

header.politics-header {
    animation: none;
    top: 0;
    width: 100%;
    opacity: 1;
}

.politics-header > .navbar {
    border-radius: 0rem;
    animation: none;
    background: var(--first-color);
}

.politics-header > #progress-bar {
    appearance: none;
    width: 100%;
    height: 4px;
    background-color: #f1f1f1;
    border-radius: 0%;
    animation: none;
}

/** Single Pages **/

/*Estilos del breadcrumb*/

.breadcrumb{
    margin-bottom: 2rem; 
    font-family: var(--first-font);
    margin-left: 0.5rem;
}

.breadcrumb-url-home{
    text-decoration: none;
    span{
        color: var(--first-dark-color);
        font-size: 18px;
    }
}

.breadcrumb-url-pages{
    text-decoration: none;
    span{
        color: var(--first-color);
        font-size: 18px;
        font-weight: bold;
    }
}

.sectionContact-extraInfo .line-title, .subline-title .line-title{
    opacity: 1;
    height: .2rem;
    margin-bottom: 2rem;
    transform: translateX(0px) skewX(140deg);
}

.bg-even-single{
    display: flex;
    gap: 4rem;
    > section{
        width: 65%;
        p > a {
            font-weight: bold;
            color: var(--first-color);
        }
    }
}

section > article{
    margin: 6rem 0rem;
    > img{
        border-radius: 1rem;
        width: 100%;
    }
    > div{
        > p{
            margin-top: 2rem;
        }
        > .text-subindex{
            margin-top: 3.5rem;
            font-weight: bold;
            font-style: italic;
        }
    }
}

section > article:first-of-type{
    margin-top: 3rem;
}

.implantacionesItemB1, .soporteItemB1{
    margin: 4rem 0;
    display: grid;
}

.implantacionesItemB1{
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.soporteItemB1 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

#separatorIndex{
    position:sticky;
    top: 15vh; 
    height: 80vh; 
    width: 3px; 
    left: 63%; 
    background: var(--first-color);
}

#indice{
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

#indice p a{
    color: var(--first-dark-color);
    text-decoration: none;
}

#indice p a.active {
    font-weight: bold;
    color: var(--first-color);
}

.subline-title h2,
.content-politics h2{
    opacity: 1;
    font-size: 2.4rem;
}

.asideIndex{
    width: 30%; 
    > div{
        position:sticky;
        top: 17vh; 
        transition: all 300ms linear;
        > h3{
            font-weight: bold; 
            color: var(--first-color); 
        }
    }
}

.listSinglePages{
    div{
        margin: 3rem 1rem;
        display: flex;
        justify-content: start;
        align-items: start;
        gap: .5rem;
        img{
            width: 26px;
        }
        p{
            margin-top: .2rem;
            font-size: 18px;
        }
    }
}

.tabla__comparativa {
    display: none;
    background: #f1f7ff;
    margin-bottom: 2rem;
    border-collapse: collapse;
    width: 100%;
    thead {
        background-color: #d5e6fc;
    }
    tr {
        th,
        td {
            padding: 10px 20px;
            text-align: center;
        }
    }
    tr:nth-child(2n) {
        background: #d5e6fc;
    }
    col.table__active {
        border: 2px solid var(--first-color);
    }
}

@media screen and (width > 1900px){
    .bg-even-single > section{
        width: 72%;
    }

    .asideIndex{
        width: 28%;
    }
}

@media screen and (width < 1400px) {
    .implantacionesItemB1{
        .itemB1{
            padding-left: 0rem;
            h3{
                font-size: 13px;
            }
        }
    }
}

@media screen and (width < 1200px) {
    .sectionOtrosServicios-optionsBlock{
        article{
            opacity: 1 !important;
            transform: translateY(0px) !important;
        }
    }

    .sectionFormaciones-blockCursosCurso{
        opacity: 1 !important;
        transform: translateX(0px) !important;
    }
    #sapb1{
        display: none;
    }
    .implantacionesItemB1{
        display: flex;
        flex-direction: column;
        .itemB1{
            padding: 1rem;
        }
    }

}

@media screen and (width < 1000px) {
    section > article{
        > div{
            > p{
                font-size: 18px;
            }
        }
    }
    .asideIndex, #separatorIndex{
        display: none;
    }
    .bg-even-single{
        display: flex;
        flex-direction: row;
        > section{
            width: 100%;
        }
    } 
    .sectionImplantaciones-blockImgPrincipal,
    .sectionSoporte-blockImgPrincipal,
    .sectionFormaciones-blockImgPrincipal{
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        div{
            order: 1;
            width: 95%;
        }
        p{
            animation: none;
            text-wrap: pretty;
            font-size: 18px;
        }
        img{
            animation: none;
            width: 95%;
        }
    }
}

@media screen and (width < 900px) {
    section {
        padding: 0rem 2rem;
        margin: 7rem 0;
    }
    section>h2 {
        font-size: 28px !important;
        text-wrap: pretty;
        text-align: center;
        text-decoration: underline;
    }
    .line-title {
        margin-left: .5rem;
    }
    p {
        font-size: 18px;
    }
    #n__servicios {
        .content__servicios {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    .cky-consent-container p{
        font-size: 14px !important;
    }
}

@media screen and (width < 700px) {
    .page__title {
        font-size: 2.6rem;
    }
    .subline-title h2 {
        font-size: 2rem;
    }
    section>h2{
        font-size: 24px !important;
    }
    #n__servicios {
        .content__servicios {
            grid-template-columns: repeat(1, 1fr);
        }
    }
    #slider-container {
        background-color: transparent;
        .img__cab {
            margin-top: 10rem;
            opacity: 1;
        }
        h1 {
            position: relative;
            font-size: 2rem;
            color: var(--first-color);
            top: 2rem;
        }
    }
    .soporteItemB1{
        display: flex;
        flex-direction: column;
        .itemB1{
            padding: 1.5rem;
        }
    }
    #footer-content {
        justify-content: flex-start;
    }
    footer {
        padding: 2rem;
    }
}