*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --maxWidth: 1100px;
    --color1: #bbb;
    --color2: rgb(0, 140, 255);
    --color3: rgb(222, 122, 0);
    
}
body{
    background-color: var(--color1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#mainCont, #panelCont{
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: var(--maxWidth);
    margin: 0 auto;
    box-shadow: 0px 0px 26px rgba(0, 0, 0, 0.2);
}
header{
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 2em;
    background: linear-gradient(105deg, white, rgb(233, 233, 233));
    position: relative;
    transition: 1s;
}
header > img{
    width: 200px;
}
header > span{
    cursor: pointer;
    transition: 0.2s;
}
header > span:hover{
    border-bottom: 2px solid black;
    padding-bottom: 4px;
}
.flexH{
    display: flex;
    gap: 1em;
    align-items: center;
}
.flexV{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
#cont2{
    flex-grow: 1;
    padding-top: 1em;
}
.contLogin{
    display: flex;
    align-items: center;
}
footer.flexV{
    padding: 2rem;
    background-color: rgb(100, 100, 100);
    align-items: center;
    color: white;
    font-size: 1.5em;
    gap: 1em;
    padding-top: 2em;
}
footer > span{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0em;
}
footer > span img, footer > img {
    width: 150px;
}
footer #contactos{
    display: flex;
    flex-direction: row;
    gap: 1em;
}
footer #contactos svg{
    height: 30px;
    cursor: pointer;
    fill: white;
}
input{
    padding: 0.5em;
    border-radius: 0.5em;
    border: 1px gray solid;
}
.spacer{
    flex-grow: 1;
}
.btn{
    cursor: pointer;
    padding: 0.5em;
    border-radius: 0.5em;
    background-color: var(--color2);
    font-weight: 600;
    color: white;
    transition: 0.5s;
    width: fit-content;
}
.btn:hover{
    background-color: gray;
}
.btnNaranja{
    background-color: var(--color3);
}
.btnVerde{
    background-color: green;
}
#buscador{
    align-items: stretch;
}
.oculto{
    display: none;
}
.landPublicacion{
    background-image: url(/im/gradientTop.svg), linear-gradient(45deg, green 5%, blue 50%, purple);
    background-size: cover;
    color: white;
    font-size: 1.2em;
    overflow: hidden;
    position: relative;
    min-height: 350px;
}
.landPublicacion > div{
    flex-grow: 1;
    padding: 1em;
    gap: 0.5rem;
    z-index: 2;
}
.landPublicacion > div > h1,
.landPublicacion > div > span{
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    width: fit-content;
    padding: 0.5rem;
}
.landPublicacion img{
    width: 100%;
    position: absolute;
    /* transition: 2s;
    transform: translate(10px, 10px); */
    bottom: 0;
    /* max-width: 640px; */
    right: 0;
    opacity: 0.6;
    min-width: 800px;
}
.landNombre{
    text-align: center;
    font-size: 1.2em;
    padding: 0 1em;
}
.landNombre h2, .landNombre h3{
    font-weight: 100;
}
#cont2 .landNombre h1{
    color: var(--color2);
    display: block;
}
.landLogos{
    width: 100%;
    padding: 0 1em;
}
.landLogos span{
    flex-grow: 1;
}
.landLogos img{
    width: 100%;
}
.landH{
    text-align: center;
    color: gray;
    font-weight: 600;
    font-size: 1.4em;
    padding: 1em;
    border-bottom: 2px solid gray;
    position: relative;
}
.landOferta{
    padding: 1em;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: stretch;
}
.card{
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 1em;
    gap: 0.5em;
    flex-grow: 1;
    width: min-content;
    max-width: 25%;
    min-width: 250px;
    transition: 3s;
}
.card h1{
    font-size: 1.5em;
    color: var(--color3);
    max-width: 100%;
}
.card h2{
    font-size: 1em;
    color: gray;
    font-weight: 400;
    transform: translate(0, 0.5em);
}
.card > span{
    border-top: 2px solid lightgray;
    padding-top: 0.5em;
}
.card > div {
    align-items: flex-end;
    font-size: 0.8em;
    flex-wrap: wrap;
    margin-top: 1em;
}
.card .btn{
    flex-grow: 1;
    text-align: center;
}
.card .btnInscripcion {
    width: 100%;
}
.grow{
    flex-grow: 1;
}
.cardSeleccionado{
    /* transform: scale(1.07);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
    background-color: #c6c6c6; */
    animation: cardSeleccionado 1s ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes cardSeleccionado {
    0% {
        outline: 3px darkorange solid;
        box-shadow: 0 0 0 20px rgba(255, 140, 0, 0) ;
    }
    20% {
        outline: 3px darkorange solid;
    }
    60% {
        outline: 7px darkorange solid;
    }
    100% {
        outline: 3px darkorange solid;
        box-shadow: 0 0 0 3px rgba(255, 140, 0, 1);
    }
}

#landBtnFiltrar{
    font-size: 1rem;
    position: absolute;
    right: 1em;
    top: 1em;
}
.landCarrousel{
    height: 350px;
    overflow: hidden;
    justify-content: flex-end;
    position: relative;
}
.carrouselImg{
    display: flex;
    width: 300%;
    transition: 2s;
}
.carrouselSector{
    padding: 2em;
    width: 100%;
    height: 350px;
    position: relative;
}
/* .carrouselSector img{
    position: absolute;
    top: 0;
    right: 0;
    width: var(--maxWidth);
} */
.sectores{
    background-color: rgb(163, 163, 177);
    background-size: cover;
    background-position: center;
    background-blend-mode: luminosity;
}
#sector1{
    background-image: url(/im/fotos/slide4.jpg);
}
#sector2{
    background-image: url(/im/fotos/slide2.jpg);
}
#sector3{
    background-image: url(/im/fotos/slide3.jpg);
}
.carrouselTxt{
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 1em;
    gap: 0.5em;
}
.carrouselBtn{
    position: absolute;
    margin-bottom: 1em;
    align-self: center;
    z-index: 2;
}
.carrouselBtn span{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 2s;
}
.accion{
    font-size: 1.1rem;
    color: white;
    background-color: var(--color2);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 2em;
    gap: 2em;
    width: 85%;
    transform: translateY(2em);
    border-radius: 1em;
}
.accion .btn{
    border: 2px solid white;
}
.cortina{
    display: none;
}
.cortina #txt{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.popupCortina{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100vw;
    z-index: 20;
}
.popup{
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100vw;
    z-index: 25;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup > span{
    padding: 2em;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
#btnPopUpCancelar{
    display: none;
}
header.desborda-x {
    flex-direction: column;
    align-items: flex-start;
    max-height: 134px;
    overflow: hidden;
}
header.desborda-x > img {
    margin-bottom: 1em;
}
header.desborda-x > div > img {
    height: 40px;
}
header.desborda-x > span:hover {
    border-bottom: 0;
    padding-bottom: 0;
    border-left: 2px solid black;
    padding-left: 4px;
}
header.desborda-x #hambHeader {
    display: flex;
    position: absolute;
    right: 2em;
    top: 3em;
    cursor: pointer;
}
#error, #info{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    color: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#error .error-text, #info .info-text{
    background-color: red;
    font-weight: 600;
    width: 100%;
    padding: 1em;
    position: relative;
}
#info .info-text{
    background-color: green;
}
#error .error-text img, #info .info-text img{
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    filter: invert(1);
}
.barraLoad{
    display: flex;
    width: 100%;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 101;
    animation: barraLoad 7s linear;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
@keyframes barraLoad {
    0% { width: 0; }
    100% { width: 100%; }
}
#resultados{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
#resultados .resultado{
    padding: 1em;
    border-bottom: 1px solid var(--color2);
    transition: 0.2s;
    min-width: 250px;
}
.off{
    opacity: 0.5;
    cursor: not-allowed;
}
.formulario{
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 400px;
}
#enviarFormLogin{
    width: 100%;
    text-align: center;
}
.inputError{
    border: 1px solid red;
}
.panelContent{
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    flex-grow: 1;
    overflow-y: auto;
}
.small{
    font-size: 0.8rem;
}
.tabla{
    width: 100%;
    border-collapse: collapse;
}
.tabla th, .tabla td{
    padding: 0.5em;
    border: 1px solid var(--color2);
}
.acciones{
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: center;
}
#cont2 h1{
    display: flex;
    gap: 0.5em;
    align-items: center;
}
@media only screen and (max-width: 925px) {
    .landPublicacion img{
        opacity: 0.6;
    }
}
@media only screen and (max-width: 750px) {
    .landPublicacion{
        flex-direction: column;
        align-items: flex-start;
    }
    .landPublicacion span{
        max-height: 200px;
    }
    .landLogos{
        flex-wrap: wrap;
        justify-content: center;
    }
    .landLogos img{
        max-height: 50px;
    }
    .accion{
        flex-direction: column;
        gap: 1em;
    }
}