:root {
    /* --color principal #1363df in decimal RGB */
    --color-principal: 19, 99, 223;
    /*--color-principal: #1363df;*/
    --color-secundario: #71a1ec;
    --color-neutro: #373737;
    --color-blanco: #ffffff;
    --txt-color:#6d6d6d;
}

/* ESTILOS NORMALES (para escritorios muy grandes)
   ========================================================================= */

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.boxContent {
    margin: 94px auto 0px auto;
    max-width: 1024px;
    min-width: 320px;
    padding-top: 0px;
    padding-bottom: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: var(--txt-color);
}

p {padding-bottom: 10px;}

.fw-medium {font-weight: 500;}
.fw-bold {font-weight: 700;}

.imgscale{
    background-size: contain;
    height: inherit;
}

.container-main {
    display: flex;
    background-color: var(--color-blanco);
    flex-flow: column nowrap ;
    min-height: 100vh;
}

.container-boxed {
    max-width: 1600px; /* TAMAÑO MÁXIMO PERMITIDO A LA CAJA DE CONTENIDO */
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* CLASES HEADER */
.header2 {
    background-color: var(--color-blanco);
    border-bottom: 8px solid #05040a;
}

.rowheader{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
} /* Este va a ser el envolvente del header */

    .logo2{
        background-color: #d5cdcd;
        /* flex: 1 1 auto; */
        display: flex;
        align-items: center;
        /* width: auto; */
        height: 70px;
        margin-left: 37px;
        cursor:pointer;
    }

    .colhdrderecha{
        height: 70px;
        display: flex;
        flex-flow: column;
        margin-right: 16px;
        justify-content: center;
    }

        .contidiomas{
            display: flex;
            justify-content: end;
            gap: 16px;
            margin-bottom: 20px;
        }

        .contflag{
            width: 34px;
            height: 20px;
        }

        .tel{
            font-size: 18px;
            font-weight: 500;
            line-height: 1.5rem;
        }

            .tel a:link, a:visited, a:active {
                text-decoration: none;
                color: #6d6d6d;
            }

.tituloseccion {
    color: #05040a;
    font-family: 'Ubuntu', sans-serif;
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 10px;
}

.tituloseccion2 {
    color: #05040a;
    font-family: 'Ubuntu', sans-serif;
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-top: 20px;
    max-width: 1600px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
}

/* CLASES SECCIÓN SLIDER */ 
.rowslider {
    background-color: green;
}

    .slider {
        display: flex;
        background-color: #d5cdcd;        
        background-size: cover;
        height: 400px;
        background-position: center center;
        align-items: center;
        cursor:pointer;
    }

        .plecaslider{
            display: flex;
            width: 200px;
            min-width: 60%;
            height: auto;
            flex-flow: column;
            justify-content: center;
            background-color: rgba(255,255,255, 0.8);
            border-radius: 0px 4px 4px 0px;
            padding: 20px 20px 20px 40px;
            margin: 0px;
        }

        .tituloslider {
            color: var(--color-neutro);
            font-family: 'Ubuntu', sans-serif;
            font-size: 60px;
            font-weight: 700;
            padding-bottom: 8px;
        }

        .descripslider {
            font-family: 'Ubuntu', sans-serif;
            color: var(--txt-color);
            font-size: 18px;
            font-weight: 500;
            line-height: 1.6rem;
        }    

/* CLASES SECCIÓN INFO GENERAL */    
.infogral {
    background-color: #ffffff;
    padding: 40px 40px;
}

    .tituloinfogral {
        color: #05040a;
        font-family: 'Ubuntu', sans-serif;
        font-size: 30px;
        font-weight: 700;
        padding-bottom: 12px;
    }

    .descripinfogral {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 16px;
        line-height: 1.6rem;
        padding-bottom: 10px;
    }

.rowtarjetas {
    display: flex;
    flex-flow: row wrap;
    background-color: var(--color-blanco); 
    gap: 12px;
}    

    .tarjeta {
        flex: 1 1 20%; 
        color: var(--color-blanco);
        background-color: #05040a; /* Color Principal en RGBA */
        border-radius: 4px;
        padding: 30px;
    }

    .titulotarjeta {
        font-family: 'Ubuntu', sans-serif;
        font-size: 24px;
        font-weight: 700;
        padding-bottom: 30px;
        text-align: left;
    }


    .descriptarjeta {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2rem;
        text-align: left;
    }


/* CLASES SECCIÓN BANNER */
.rowbanner {
    background-color: greenyellow;
    background-image: url(../Images/R9.png);
    background-size: cover;
    background-position: center center;
    height: auto;
    padding: 34px 0px;
}

    .plecabanner{
        background-color: #05040a80;
        padding: 30px 40px;
        display: flex;
        justify-content: space-between;
        align-items: end;
    }

.plecacontacto {
    background-color: #020106;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}


    .columnabannerizq{
        flex: 3 1 auto;
        padding: 0 10px;
    }

    .columnabannerder{
        display: flex;
        flex: 1 1 auto;
        justify-content: end;
        padding: 0 10px;
    }
        .titulobanner {
            font-family: 'Ubuntu', sans-serif;
            color: var(--color-blanco);
            font-size: 65px;
            font-weight: 700;
            padding-bottom: 8px;
        }

        .descripbanner {
            color: var(--color-blanco);
            font-size: 16px;
            font-weight: 400;
            /*overflow: hidden;*/
        }

        .btnbanner {
            font-family: 'Ubuntu', sans-serif;
            font-weight: 700;
            font-size: 24px;
            display: flex; /* Necesario para que plecabanner lo pueda alinear verticalmente */
        }

        .btnbanner a {
            color: #05040a;
            background-color: var(--color-blanco);
            text-decoration: none;
            padding: 20px;
            transition: .3s ease all;
        }

        .btnbanner a:hover {
            background-color:#020106;
            text-decoration: none;
        }

/* CLASES SECCIÓN ACORDEÓN */    
.rowacordeon {
    padding: 20px 40px;
}

.btntab {
    color: var(--color-blanco);
    font-family: 'Ubuntu', sans-serif;
    /*font-weight: 700;*/
    font-size: 20px;
    background-color: #05040a;
    padding: 8px 30px;
    cursor: pointer;
    max-width: 1600px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
} /* TAB ACTIVA */

    .btntab-hover {
        background-color: #020106;
    } /* TAB ACTIVA */

    .btntab-open {
        background-color: #020106;
    } /* TAB ACTIVA */

.contenidotab {
    font-size: 18px;
    padding: 20px 30px 20px 20px;
    background-color: #beba00;
    max-width: 1600px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* CLASES SECCIÓN UBICACIÓN */
/*.rowubicacion {
    padding: 20px 40px;
}   

    .mapa {
        border-radius: 8px;
        overflow: hidden;
    }

    .direccionmapa {
        font-size: 16px;
        font-weight: 500;
        padding: 6px;
    }*/

.rowubicacion {
    display: flex;
    flex-flow: row wrap;
    padding: 20px;
    gap: 20px;
    background-color: #FFFFFF;
}

.ubicacion {
    flex: 1 1 25%;
}

.mapa {
    background-color: #CFD2CF;
    border-radius: 8px;
    overflow: hidden;
}

.direccionmapa {
    font-size: 12px;
    font-weight: 500;
    padding: 6px;
}


/* CLASES SECCIÓN FOOTER */         
.footer {
    margin-top: auto;
    background-color: #05040a;
}    

.rowinfofooter {
    display: flex;
    flex-flow: row wrap;
    padding: 20px 40px;
    gap: 20px;
    justify-content: space-between;
    align-items: end;
}

    .infofooteruno {
        max-width: 60%;
    }

    .infofooterdos {
        width: auto;
        text-align: right;
    }

        .direccionfooter {
            font-size: 14px;
            color: var(--color-blanco);
            margin-bottom: 10px;
            line-height: 1.4rem;
        }

        .emailfooter {
            font-size: 14px;
            font-weight: 500;
            color: var(--color-blanco);
        }

        .telfooter {
            font-size: 14px;
            color: var(--color-blanco);
            margin-bottom: 10px;
        }

        .telfooter a{
            text-decoration: none;
            color:#ffffff;
            cursor:pointer;

        }
    .rowredessociales {
        display: flex;
        flex: 1 1 100%;
        flex-flow: row wrap;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255, 0.3);
        width:100%;
    }

        .redsocial {
            padding: 10px;
            font-size: 22px;
        }

        .redsocial a{
            color: var(--color-blanco);
            transition: .3s ease all;
        }

        .redsocial a:hover {
            color: rgba(255,255,255, 0.7);
        }

.rowlegales {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: var(--color-neutro);
}
    .infolegal {
        color: var(--color-blanco);
        display: flex;
        flex-flow: row nowrap;
        gap: 6px;
        padding: 3px 0px;
    }

        .txtlegal{
            font-size: 11px;
        }

        .linklegal a {
            font-size: 11px;
            color: var(--color-blanco);
            text-decoration: none;
        }
        
        .linklegal a:hover {
            color: var(--color-blanco);
            text-decoration: underline;
        }

/*Clases para coberturas svg*/

.coverages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    column-gap: 5rem;
    row-gap: 2rem;
    align-self: start;
}

.covertura {
    justify-content: center;
    text-align: center;
    justify-self: center;
}

@media (min-width: 768px) {
    .covertura {
        display: grid;
        grid-template-columns: auto auto;
        column-gap: 1.5rem;
        align-items: center;
        margin-bottom: 2rem;
        text-align: left;
        align-self: start;
    }
}

.covertura h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.covertura p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.covertura svg {
    width: 5rem;
    fill: #020106;
    margin: 0;
}

@media (max-width: 505px) {
    .titulo-coberturas, .titulo-coberturas span {
        font-size: 2.5rem;
    }

    .covertura h3 {
        margin: 0;
        font-size: 1.5rem;
    }

    .covertura p {
        text-align: center;
        font-size: 1.3rem;
    }

    .covertura svg {
        width: 5rem;
        fill: #020106;
    }
}

/* RESPONSIVE
   ========================================================================= */

/* Tablets en vertical (iPad-Mini, iPad-Air, iPad, iPad-Pro
   ------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .boxContent {
        margin: 94px auto 0px auto;
    }

    .tituloseccion {
        font-size: 24px;
    }

    .logo2{
        height: 55px;
    }
    
    .tituloslider {
        color: var(--color-neutro);
        font-size: 32px;
    }

    .descripslider {
        font-size: 14px;
        line-height: 1.2rem;
    }

    .tituloinfogral {
        font-size: 27px;
    }

    .descripinfogral {
        font-size: 16px;
    }

    .tarjeta {
        flex: 1 1 40%;
        color: var(--color-blanco);
        background-color: #05040a;
        border-radius: 4px;
        padding: 30px;
    } /* Las tarjetas deben quedar a 2 columnas */

    .titulobanner {
        font-size: 35px;
    }

    .columnabannerizq{
        flex: 1 1 60%;
    }

    .columnabannerder{
        flex: 1 1 40%;
    }

    .btntab {
        font-size: 18px;
        padding: 12px 24px;
    }

    .contenidotab {
        font-size: 16px;
    }

    .direccionmapa {
        font-size: 14px;
    }

}

/*/
/** Móviles en horizontal o tablets en vertical
   ------------------------------------------------------------------------- **/
@media (max-width: 767px) {
    .rowtarjetas {
        flex-flow: column wrap;
        gap: 20px;
    }

    .tarjeta {
        flex: 1 1 auto;
    }

    .coverages {
        flex-flow: column wrap;
        gap: 20px;
    }

    .covertura {
        flex: 1 1 auto;
    }
}

    @media (min-width: 479px) and (max-width: 767px) {
        .boxContent {
            margin: 40px auto 0px auto;
        }

        .rowubicacion {
            flex-flow: column wrap;
        }




        .tituloseccion {
            font-size: 26px;
        }

        .rowheader {
            flex: 1 1 auto;
            flex-flow: row wrap;
            justify-content: space-between;
            min-height: 50px;
            align-items: center;
        }

        .logo2 {
            width: auto;
            height: 40px;
        }

        .colhdrderecha {
            height: auto;
            max-width: 61%;
            justify-content: space-between;
            flex-direction: row-reverse;
            align-items: center;
            gap: 38px;
        }

        .tel {
            font-size: 16px;
        }

        .contidiomas {
            display: flex;
            gap: 20px;
            margin-bottom: 0px;
        }

        .contflag {
            width: 41px;
            height: 24px;
        }

        .plecaslider {
            min-width: 65%;
        }

        .tituloslider {
            color: var(--color-neutro);
            font-size: 30px;
        }

        .descripslider {
            font-size: 14px;
            line-height: 1.4rem;
        }

      

        .descriptarjeta {
            font-size: 16px;
            line-height: 1.6rem;
        }

        .columnabannerizq {
            flex: 1 1 65%;
        }

        .columnabannerder {
            flex: 1 1 35%;
        }

        .titulobanner {
            font-size: 40px;
        }

        .btnbanner {
            font-size: 20px;
        }

        .btntab {
            font-size: 18px;
            padding: 16px 30px;
        }

        .contenidotab {
            font-size: 16px;
            line-height: 1.8rem;
        }

        .rowinfofooter {
            padding: 30px 40px;
            gap: 40px;
            flex-flow: column nowrap;
            align-items: center;
        }

        .infofooteruno {
            max-width: max-content;
        }

        .emailfooter {
            font-size: 17px;
        }

        .telfooter {
            font-size: 22px;
        }

        .redsocial {
            padding: 22px;
            font-size: 33px;
        }

        .rowlegales {
            flex-flow: row nowrap;
            padding: 15px 40px;
        }

        .txtlegal {
            font-size: 14px;
        }

        .linklegal a {
            font-size: 14px;
            color: var(--color-blanco);
            text-decoration: none;
        }

            .linklegal a:hover {
                color: var(--color-blanco);
                text-decoration: underline;
            }
    }
    /**/

    @media (min-width: 0px) and (max-width: 478px) {
        .boxContent {
            margin: 40px auto 0px auto;
        }


        .rowubicacion {
            flex-flow: column wrap;
        }

        .tituloseccion {
            font-size: 24px;
        }

        .logo2 {
            margin-left: 24px;
        }

        .colhdrderecha {
            height: auto;
            max-width: 33%;
            align-items: flex-end;
            gap: 6px;
            flex-flow: column wrap;
        }

        .tel {
            display: none;
        }

        .plecaslider {
            min-width: 95%;
            padding: 20px 20px 20px 30px;
        }

        .tituloslider {
            color: var(--color-neutro);
            font-size: 34px;
        }

        .descripslider {
            font-size: 18px;
            line-height: 1.6rem;
        }

        .infogral {
            padding: 40px 30px;
        }

        .tarjetas {
            flex-flow: column wrap;
        }

        .plecabanner {
            padding: 30px 30px;
            align-items: center;
            flex-flow: column wrap;
            gap: 24px;
        }

        .plecacontacto {
            padding: 30px 30px;
            align-items: center;
            flex-flow: column wrap;
            gap: 24px;
        }

        .descripbanner {
            font-size: 18px;
            line-height: 1.4rem;
        }

        .rowacordeon {
            padding: 20px 30px;
        }

        .btntab {
            font-size: 18px;
            padding: 24px 30px;
        }

        .mapa {
            padding-bottom: 14px;
        }

        .direccionmapa {
            font-size: 16px;
            line-height: 1.6rem;
        }

        .rowinfofooter {
            padding: 30px 30px;
        }

        .infofooteruno {
            text-align: center;
            max-width: 90%;
        }

        .infofooterdos {
            width: auto;
            text-align: center;
        }

        .telfooter {
            font-size: 18px;
        }

        .rowlegales {
            flex-flow: column wrap;
            align-items: center;
        }

        .coverages {
            grid-template-columns: repeat(1, 1fr);
        }

    }

    #map-canvas {
        width: 100%;
        height: 300px;
    }

    #map-canvas2 {
        width: 100%;
        height: 300px;
    }

    #map-canvas3 {
        width: 100%;
        height: 300px;
    }


    /***/

    .contact-form-area {
        padding: 0px;
    }

    @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .contact-form-area {
            margin-right: 0px;
        }
    }

    @media only screen and (min-width: 768px) and (max-width: 991px) {
        .contact-form-area {
            margin-right: 0px;
        }
    }

    @media only screen and (max-width: 767px) {
        .contact-form-area {
            margin-right: 0px;
        }
    }

    .contact-form-area h2 {
        font-weight: bold;
        font-size: 32px;
        margin: 0 0 42px;
        color: #262626;
        text-transform: uppercase;
    }

    @media only screen and (min-width: 768px) and (max-width: 991px) {
        .contact-form-area h2 {
            font-size: 25px;
            margin: 0 0 20px;
        }
    }

    @media only screen and (max-width: 767px) {
        .contact-form-area h2 {
            font-size: 25px;
            margin: 0 0 20px;
        }
    }

    .contact-form-area input, .contact-form-area textarea, .contact-form-area select {
        height: 70px;
        background-color: #ffffff;
        border: 1px solid #D8D8D8;
        color: #5d5d5d;
        padding: 2px 23px;
        margin-bottom: 20px;
    }

    @media only screen and (max-width: 767px) {
        .contact-form-area input, .contact-form-area textarea, .contact-form-area select {
            height: 50px;
        }
    }

    .contact-form-area input::-webkit-input-placeholder, .contact-form-area textarea::-webkit-input-placeholder, .contact-form-area select::-webkit-input-placeholder {
        color: #5d5d5d;
        opacity: 1;
    }

    .contact-form-area textarea {
        padding: 20px 20px;
        height: 180px;
    }

    @media only screen and (min-width: 768px) and (max-width: 991px) {
        .contact-form-area textarea {
            height: 160px;
        }
    }

    @media only screen and (max-width: 767px) {
        .contact-form-area textarea {
            height: 120px;
        }
    }

    .contact-form-area select {
        -moz-appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28138, 138, 138%29'></polygon></svg>");
        background-size: 9px 6px;
        background-position: right -10px center;
        background-origin: content-box;
        background-repeat: no-repeat;
        max-width: 100%;
    }

    .contact-form-area button.submit {
        background-color: #05040a;
        color: #fff;
        padding: 13px 45px 13px;
        border: none;
        font-weight: bold;
    }

        .contact-form-area button.submit:hover {
            background-color: #beba00;
        }

    @media only screen and (max-width: 767px) {
        .contact-info-area {
            margin: 30px 0 0px;
        }
    }

    .contact-info-area h2 {
        font-weight: bold;
        font-size: 32px;
        margin: 0 0 42px;
        color: #262626;
        text-transform: uppercase;
    }

    @media only screen and (min-width: 768px) and (max-width: 991px) {
        .contact-info-area h2 {
            font-size: 25px;
            margin: 0 0 20px;
        }
    }

    @media only screen and (max-width: 767px) {
        .contact-info-area h2 {
            font-size: 25px;
            margin: 0 0 20px;
        }
    }

    .contact-info-area .contact-info-top .sin-contact-info-wrap .contact-address {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 0 0 13px;
    }

        .contact-info-area .contact-info-top .sin-contact-info-wrap .contact-address i {
            color: #2F2F2F;
            font-size: 20px;
        }

        .contact-info-area .contact-info-top .sin-contact-info-wrap .contact-address span {
            font-weight: bold;
            color: #282828;
            margin: 0 0 0 14px;
            display: inline-block;
        }

    .contact-info-area .contact-info-top .sin-contact-info-wrap p {
        font-size: 12px;
        line-height: 18px;
        margin: 0;
    }

    .contact-info-area .contact-info-bottom {
        border-top: 1px solid rgba(119, 119, 119, 0.2);
        margin-top: 34px;
        padding-top: 33px;
    }

        .contact-info-area .contact-info-bottom ul li {
            font-size: 12px;
            margin: 0 0 15px;
            color: #262626;
        }

            .contact-info-area .contact-info-bottom ul li:last-child {
                margin-bottom: 0;
            }

            .contact-info-area .contact-info-bottom ul li i {
                font-size: 20px;
                position: relative;
                top: 5px;
                margin-right: 14px;
            }

        .contact-info-area .contact-info-bottom .contact-info-social {
            margin: 40px 0 0;
        }

            .contact-info-area .contact-info-bottom .contact-info-social a {
                font-size: 20px;
                margin-right: 17px;
            }

    #contact-map {
        height: 300px;
    }

    input {
        background: #eceff8;
        border: 2px solid #eceff8;
        height: 45px;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding-left: 10px;
        font-size: 14px;
        color: #737373;
        width: 100%;
    }

    textarea {
        resize: vertical;
        background: #eceff8;
        border: 2px solid #eceff8;
        padding: 10px;
        width: 100%;
        font-size: 14px;
        color: #737373;
    }