:root {
    --rojo_ibero: #e00034;
    --gris_ibero: #82786f;
    --rojo_oscuro: #af161e;
    --blanco: #ffffff;
    --negro: #000000;
    --gris_claro: lightgray;
}

* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Praxis-next;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: white;
}
section{
    padding: 15px;
}
/* -------------------- LOADER-----------*/
#preloader {
    background-color: var(--blanco);
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    z-index: 10001;
}
.preloader {
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #e00034;
    border-radius: 50%;
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/*------------- TERMINA EL LOADER --------------*/
/*---------------------------------------
COMMON STYLES             
-----------------------------------------*/
h1, h2, h3, h4, h5 {
    font-family: 'Alverata', sans-serif;
}
h1{
    text-align: center;
    color: var(--rojo_ibero);
    font-size: 45px;
    font-weight: 600;
}
h2 {
    text-align: left;
    position: relative;
    color: var(--rojo_ibero);
    font-size: 20px;
    font-weight: 400;
}

p, ul, ol {
    text-align: left;
    font-family: Praxis-Next;
    font-size: 16px;
    color: var(--gris_ibero);
}

.fondo-rojo {
    background-color: var(--rojo_ibero);
}

.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 55px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 0px 3px #999;
    z-index: 100;
}

.whatsapp:hover {
    background-color: #fff;
    color: #25d366;
}

.my-whatsapp {
    margin-top: 13px;
}

.imgheader {
    margin-top: 45px;
    width: 100%;
    text-align: center;
}

.navbar {
    position: fixed !important;
    z-index: 16 !important;
    width: 100%;
}

.navbar-brand{
    margin-left: 30px;
}

.home-btn,
.home-btn:focus,
.home-btn:active,
.home-btn:visited {
    background: var(--rojo_ibero);
    color: var(--blanco);
    padding: 10px 30px;
    font-size: 16px;
    border: 1px solid var(--rojo_ibero);
    border-radius: 3px;
    text-decoration: none;
    box-shadow: -1px 15px 10px -12px var(--negro);
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.home-btn:hover {
    background-color: var(--blanco);
    color: var(--rojo_ibero);
    border: 1px solid var(--rojo_ibero);
}

.btn-video,
.btn-video:active,
.btn-video:focus,
.btn-video:visited {
    background: transparent;
    color: var(--blanco);
    padding: 10px 30px;
    border: 1px solid var(--rojo_ibero);
    color: var(--rojo_ibero);
    border-radius: 3px;
    padding: 12px 35px;
    box-shadow: -1px 15px 10px -12px var(--negro);
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.btn-video:hover {
    background: var(--rojo_ibero);
    color: var(--blanco);
    border: 1px solid var(--rojo_ibero);
}

.link_rojo {
    text-decoration: none;
    color: var(--rojo_ibero);
}

.link_rojo:hover {
    text-decoration: underline;
    color: var(--rojo_oscuro);
}

.link_blanco {
    text-decoration: none;
    color: white;
}

.link_blanco:hover {
    text-decoration: underline;
    color: white;
}

/*---------------------------------------
    Cards          
-----------------------------------------*/
.card {
  background: var(--blanco);
  width: 100%;
  display: inline-block;
  padding: 35px;
  margin: 20px auto;
  border-radius: $border-radius-size + 5;
  position: relative;
  text-align: center;
  box-shadow: -1px 15px 30px -12px var(--negro);
  z-index: 9999;
}

.card h2{
  text-align: left;
  font-weight: 700;
  margin: 0 0 25px 0;
}

.card h3{
  text-align:left;
  font-size: 16px;
  margin: 15px 0;
}

/*.card .activity:nth-child(even){
  border-bottom: 1px solid var(--negro);
}*/

.activity .buttons{
  margin-top:30px;
}

.activity{
  text-align: left;
}

/*---------------------------------------
CARRUSEL CAROUSEL
-----------------------------------------*/
#miCarrusel { width: 100%; }

.carousel-item {
  /* Alto consistente (opcional): */
  height: 320px;                 /* ajusta a tu gusto */
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* rellena sin deformar */
}

@media (max-width: 768px) {
  .carousel-item { height: 180px; }
}

/*---------------------------------------
    FORMULARIO          
-----------------------------------------*/
input:disabled::-webkit-input-placeholder {
    color: #A2A2A2;
}

input:disabled:-moz-placeholder {
    color: #A2A2A2;
}

input:disabled::-moz-placeholder {
    color: #A2A2A2;
}

input:disabled:-ms-input-placeholder {
    color: #A2A2A2;
}

section.forms {
    padding: 24px;

    .asterisco {
        color: #e00034;
    }

    .grid-headerform {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        align-items: center;
        margin-bottom: 2.5em;
    }

    h1 {
        font-family: 'alverata';
        font-size: 48px;
        line-height: 62px;
        letter-spacing: -1px;
        font-style: normal;
        font-weight: 400;
    }

    h2 {
        font-family: 'alverata';
        font-size: 24px;
        line-height: 30px;
        letter-spacing: -1px;
        font-style: normal;
        font-weight: 400;
    }

    p {
        font-family: 'praxis-next';
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: -0.2px;
    }



    /* submit botón fijo bottom */

    .CTA {
        grid-column: span 2;
        width: 100%;
        padding-right: 8px;
    }
 
 
    .desktop-none {
        display: none;
    }



}

section.forms form {

    padding: 0;
    margin: 24px 0;
    position: relative;

    .grid-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        margin-bottom: 2.5em;
    }

    .grid-form > .form-group {
        padding-bottom: 24px;
        min-width: 0;
    }

    p {
        margin-bottom: 0.5rem;
    }

    fieldset {
        border: none;
        display: block;
        width: 100%;
        margin-bottom: 24px;

        legend {
            margin-bottom: 12px;
        }
    }

    /* label */
    .label-forms {
        display: block;
        font-family: 'praxis-next', sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: #6f6f6f;
        margin-bottom: 8px;
    }

    .label-forms a {
        text-decoration: underline;
        margin-left: 5px;
    }

    .label-forms a:hover {
        color: #8A0013;
    }

    .aviso-privacidad,
    .radiogroup {
        min-height: 70px;
    }

    .aviso-privacidad label,
    .radiogroup label{
        margin-bottom: 0;
    }

    .radiogroup {
        vertical-align: super;
    }

    .radiogroup label {
        margin-bottom: 0;
    }

    .aviso-privacidad,
    .radiogroup {
        display: flex;
        align-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .aviso-privacidad input,
    .radiogroup input {
        vertical-align: middle;
    }

    .aviso-privacidad label,
    .radiogroup label {
        text-transform: none;
        letter-spacing: normal;
        font-size: 16px;
    }

    .CTA{ 
        text-align: end;
    }
  
    /* texto ayuda - error */
    .texto-ayuda {
        font-family: 'praxis-next', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: -0.2px;
        color: #6F6F6F;
    }

    .texto-ayuda.error {
        color: #CF0622;
    }

    /* input text */
    .input-forms {
        display: flex;
        height: 48px;
        padding: 0 16px;
        margin-bottom: 8px;
        align-items: center;
        align-self: stretch;
        border: 1px solid #888888;
        background-color: #ffffff;
        font-family: 'praxis-next', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: -0.2px;
        color: #1E1E1E;
        width: 100%;
        transition: ease .3s;
        -webkit-transition: ease .3s;
        -moz-transition: ease .3s;
        -ms-transition: ease .3s;
        -o-transition: ease .3s;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .input-forms:focus,
    .input-forms:hover {
        border: 1px solid #1E1E1E;
        outline: none;
    }

    .input-forms:disabled{
        border: 1px solid #A2A2A2;
        color: #A2A2A2;
    }

    .input-forms:disabled+.texto-ayuda {
        color: #A2A2A2;
    }


   /* input select */
   .select-forms {
       display: flex;
       height: 48px;
       padding: 0 16px;
       margin-bottom: 8px;
       align-items: center;
       align-self: stretch;
       border: 1px solid #888888;
       background-color: #ffffff;
       font-family: 'praxis-next', sans-serif;
       font-weight: 400;
       font-size: 16px;
       line-height: 22px;
       letter-spacing: -0.2px;
       color: #1E1E1E;
       width: 100%;
       transition: ease .3s;
       -webkit-transition: ease .3s;
       -moz-transition: ease .3s;
       -ms-transition: ease .3s;
       -o-transition: ease .3s;

        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;

        background: #fff url('img/arrow-select.svg') no-repeat right 10px center;
        background-size: 24px;
        cursor: pointer;
        transition: background 0.3s;
    }

    .select-forms:focus,
    .select-forms:hover {
        border: 1px solid #1E1E1E;
        outline: none;
    }

    .select-forms:disabled {
        border: 1px solid #A2A2A2;
        color: #A2A2A2;
    }

    .select-forms:disabled+.texto-ayuda {
        color: #A2A2A2;
    }

    /* textarea */
    .textarea-forms {
        display: flex;
        height: 120px;
        min-height: 48px;
        max-height: 220px;
        padding: 8px 16px;
        margin-bottom: 8px;
        align-items: center;
        align-self: stretch;
        border: 1px solid #888888;
        background-color: #ffffff;
        font-family: 'praxis-next', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: -0.2px;
        color: #1E1E1E;
        width: 100%;
        transition: ease .3s;
        -webkit-transition: ease .3s;
        -moz-transition: ease .3s;
        -ms-transition: ease .3s;
        -o-transition: ease .3s;
        resize: vertical;
    }

    .textarea-forms:focus,
    .textarea-forms:hover {
        border: 1px solid #1E1E1E;
        outline: none;
    }

    .textarea-forms:disabled {
        border: 1px solid #A2A2A2;
        color: #A2A2A2;
    }

    .textarea-forms:disabled+.texto-ayuda {
        color: #A2A2A2;
    }

    /* checkbox */
    .check-wrapper {
        display: flex;
        margin-bottom: 12px;
    }

    .checkbox-forms {
        width: 20px;
        height: 20px;
        accent-color: #CF0622;
        cursor: pointer;
        margin-bottom: 0 !important;
        margin-right: 8px;
        margin-left: 0;
        transition: ease .3s;
        -webkit-transition: ease .3s;
        -moz-transition: ease .3s;
        -ms-transition: ease .3s;
        -o-transition: ease .3s;
        vertical-align: middle;
    }

    .checkbox-forms+label{
        color: #1E1E1E;
        margin-right: 16px;
        width: 110%;
    }

    .checkbox-forms:hover {
        accent-color: #8A0013;
        color: #8A0013;
    }

    .checkbox-forms:hover+label {
        color: #8A0013;
    }

    .checkbox-forms:disabled {
        accent-color: #595D62;
        border: solid 1px #A2A2A2;
        color: #6f6f6f;
    }

    .checkbox-forms:disabled+label {
        color: #6f6f6f;
    }

    /* radio */
    .radio-wrapper {
        display: flex;
        margin-bottom: 12px;
    }

    .radio-wrapper-inline {
        display: inline-flex;
        margin-bottom: 12px;
    }

    .radiobutton-forms {
        margin: 0;
        width: 20px;
        height: 20px;
        accent-color: #CF0622;
        cursor: pointer;
        margin-bottom: 0 !important;
        margin-right: 8px;
        margin-left: 0;
        transition: ease .3s;
        -webkit-transition: ease .3s;
        -moz-transition: ease .3s;
        -ms-transition: ease .3s;
        -o-transition: ease .3s;
        vertical-align: middle;
    }

    .radiobutton-forms+label {
        margin-right: 16px;
    }

    .radiobutton-forms:hover {
        accent-color: #8A0013;
        color: #8A0013;
    }

    .radiobutton-forms:hover+label {
        color: #8A0013;
    }

    .radiobutton-forms:disabled {
        accent-color: #595D62;
        border: solid 1px #A2A2A2;
        color: #6f6f6f;
    }

    .radiobutton-forms:disabled+label {
        color: #6f6f6f;
    }

    .radio-wrapper .radiobutton-forms+label {
        margin-right: 16px;
        width: 100%;
    }



    /* button solid */
    .btn {
        display: inline-flex;
        height: 48px;
        padding: 8px 24px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background-color: #CF0622;
        border: solid 1px #CF0622;
        border-radius: 40px;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        -ms-border-radius: 40px;
        -o-border-radius: 40px;
        width: auto;
        margin: 12px 8px;
        color: #fff;
        font-family: 'praxis-next', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 18px;
        letter-spacing: -0.2px;
        cursor: pointer;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
        -moz-transition: 0.3s ease;
        -ms-transition: 0.3s ease;
        -o-transition: 0.3s ease;
}

    .btn:focus {
        background-color: #CF0622;
        border: solid 1px #1E1E1E;
        color: #fff;
    }

    .btn:hover {
        background-color: #8A0013;
        border: solid 1px #8A0013;
        color: #fff;
    }

    .btn:disabled,
    .btn.disabled {
        background-color: #D8D8D8;
        border: solid 1px #D8D8D8;
        color: #575757;
        pointer-events: none;
    }

    /* button outline */
    .btn-outline {
        display: inline-flex;
        height: 48px;
        padding: 8px 24px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background-color: transparent;
        border: solid 1px #1E1E1E;
        border-radius: 40px;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        -ms-border-radius: 40px;
        -o-border-radius: 40px;
        width: auto;
        margin: 12px 8px;
        color: #1E1E1E;
        font-family: 'praxis-next', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 18px;
        letter-spacing: -0.2px;
        cursor: pointer;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
        -moz-transition: 0.3s ease;
        -ms-transition: 0.3s ease;
        -o-transition: 0.3s ease;
    }

    .btn-outline:focus {
        border: solid 1px #8A0013;
    }

    .btn-outline:hover {
        border: solid 1px #8A0013;
        color: #8A0013;
    }

    .btn-outline:disabled,
    .btn-outline.disabled {
        border: solid 1px #BCBCBC;
        color: #6F6F6F;
        pointer-events: none;
    }



}


/* custom select select2 */
.select2 {
    height: 48px;
    width: 100% !important;
    padding: 8px 16px;
    margin-bottom: 8px;

    border: 1px solid #888888;
    background-color: #ffffff;
    font-family: 'praxis-next', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2px;
    color: #1E1E1E;
    transition: ease .3s;
    -webkit-transition: ease .3s;
    -moz-transition: ease .3s;
    -ms-transition: ease .3s;
    -o-transition: ease .3s;
    text-overflow: ellipsis;
}

.select2:focus,
.select2:hover {
    border: 1px solid #303030;
    outline: none;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
    right: 8px !important;
    background: url('img/arrow-select.svg') no-repeat center center;
    background-size: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    opacity: 0;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    font-weight: normal;
}

.select2-container--default .select2-selection--single .select2-selection__clear span {
    display: inline-block;
    color: transparent;
    background: url('img/ico-close.svg') no-repeat center center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 1px;
    opacity: 0.7;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #c2c2c2;
}

.select2-container--default .select2-results>.select2-results__options li {
    font-family: 'praxis-next', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}


/* media querys */
@media only screen and (max-width:768px) {

    section.forms {

        padding: 16px;

        .grid-headerform {
            grid-template-columns: 1fr;
        }

        .CTA {
            grid-column: span 1;
        }

    }

    section.forms form{

        .grid-form {
            grid-template-columns: 1fr;
            margin-bottom: 5em;
        }

        .dnone {
            display: none;
        }

        .grid-form>.form-group {
            padding-bottom: 12px;
        }

    }

}
/*----------------------
SOCIAL ICONS
------------------------*/
.social-icons {
    text-align: center; /* Centrar los iconos */
}

.social-icons a {
    color: var(--gris_ibero); /* Color inicial de los iconos */
    margin: 0 10px; /* Espaciado alrededor de los iconos */
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--rojo_ibero);
}

.social-icons{
    font-size: 1.5em;
}

/*---------------------------------------
FOOTER              
-----------------------------------------*/
footer {
    background: var(--negro);
    padding: 30px;
    color: var(--blanco);
    border-bottom: 3px solid var(--rojo_ibero);
}

footer a, footer p {
    color: var(--blanco);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

footer a:hover {
    color: var(--rojo_ibero);
    text-decoration: underline;
}

/*------------- MEDIA QUERIES -----------------*/

@media (max-width: 768px) {
    #miCarrusel{
        margin-top: 20px;
    }

    .carousel-item{
        max-height: 160px;
    }

    .carousel-inner {
        /* height: 280px;*/
        height: 100%;
    }
}