* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    border: none
}
body, html {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: var(--negro);
    font-size: 10px;
    font-weight: 400;
}

main {
    min-height: 45rem;
    margin-bottom: 3rem;
}

*:focus {
    box-shadow: 0 0 0 0 rgba(255,255,255,0) !important;
    outline: 0px !important;
    border-color: transparent;
}

:root {
    --gris-claro: #f1f1f1;
    --gris-medio: #eeeeee;
    --gris-oscuro: #898c8d;
    --gris-footer: #bcbcbc;
    --negro: #131a1c;
    --blanco: #ffffff;
    --rojo: #e30613;
    --azul: rgb(16, 60, 203);
}

a {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}
a:active, a:focus,
.dropdown-item:focus, .dropdown-item:hover {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

.container {
    width: 100% !important;
    max-width: 1470px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

a:hover {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}
a.underline {
    text-decoration: underline;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

p, ul, li, form, label, input, .form-control, .form-select {
    font-size: 1.6rem;
}

.bold {
    font-weight: 700;
}

.modal-content {
    border-radius: 0;
}
.modal-body {
    border-radius: 0;
}

.success, .success-sel {
    background-color: #f3ffee !important;
}
.error, .error-sel {
    background-color: #ffeff0 !important;
}
.missat, .missatgi {
    color: var(--rojo);
    font-size: 1.3rem !important;
}
.missat-error {
    color: var(--rojo);
    font-size: 1.5rem !important;
}

.btn-asistecma,
.btn-modal.btn-aceptar {
    background-color: var(--rojo);
    color: var(--blanco);
    padding: 0.8rem 5rem;
    font-size: 2rem;
}
.btn-asistecma:hover,
.btn-modal.btn-aceptar:hover {
    background-color: var(--rojo);
    color: var(--blanco);
    transition: background .3s ease-in-out;
}
.btn-modal.btn-aceptar{
    font-size: 1.5rem;
}
.btn-modal.btn-cerrar {
    border: 1px solid var(--gris-claro);
    background-color: var(--gris-claro);
    color: var(--gris-oscuro);
    padding: 0.8rem 4rem;
    font-size: 1.5rem;
}

.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom:20px;
    right:30px;
    display: none;
    text-indent: -9999px;
    background: url(../img/content/icon_top.png) no-repeat;
    background-size: 40px 40px;
}



/* CUSTOM CHECKBOXES */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custom-checkbox a {
    font-weight: 700;
    text-decoration: underline;
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2rem;
    width: 2rem;
    border: 1px solid var(--negro);
    margin-top: 0.2rem;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #0075ff;
    border: 1px solid #0075ff;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/**/


/* HEADER */
header {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rojo);
}
header .headerWrapper {
    display: flex;
    align-items: center;
}
header .logo {
    text-align: center;
    margin: 0 auto;
}
header .logo img {
    height: 3.5rem;
    max-width: 100%;
}
header .openMenuIcon {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 1rem;
}
header .openMenuIcon span {
    height: 2px;
    width: 25px;
    background-color: var(--negro);
}
header .offcanvas {
    width: 80%;
    overflow: auto;
    background-color: var(--blanco);
    padding: 4rem;
}
header .offcanvas .btn-close {
    width: 2em;
    height: 2em;
    min-height: 2em;
    background-size: 2em auto;
}
header .offcanvas ul:not(.languages) li {
    font-size: 2rem;
    margin-top: 4.5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--rojo);
}
header .offcanvas ul.languages {
    display: flex;
    gap: 3rem;
    font-size: 2rem;
    margin-top: 5rem;
}
header .offcanvas ul li a:hover, header .offcanvas ul li a.active {
    color: var(--rojo);
}


/* FOOTER */
footer .container {
    border-top: 1px solid var(--gris-footer);
    border-bottom: 1px solid var(--gris-footer);
    padding: 3rem;
}
footer a {
    font-size: 1.4rem;
    line-height: 2.6rem;
}
footer a:active, footer a:focus, footer a:hover {
    font-size: 1.4rem;
    text-decoration: underline;
}
footer .footerWrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}
footer .footerWrapper .logo {
    height: 5rem;
}
footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    font-size: 2rem;
    height: 100%;
    width: 100%;
}
footer ul a:hover {
    text-decoration: underline;
}
footer ul .rojo {
    color: var(--rojo);
}
.subfooter .legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    color: var(--gris-oscuro);
}
.subfooter .legal .kitDigital,
.subfooter .legal .legalLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem 3rem;
    margin-bottom: 1.5rem;
}
.subfooter .legal img {
    height: 3.5rem;
}
.subfooter .legal a,.subfooter .legal p {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.subfooter .legal .numon img {
    height: 1.4rem;
}


.banner {
    position: relative;
    max-width: 190rem;
    margin: 0 auto;
}
.banner .container {
    color: var(--negro);
    text-align: center;
    padding: 3rem 2rem;
}
.banner .container h1 {
    font-size: 3.6rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.banner .container h1 span {
    color: var(--rojo);
}
.banner .container p {
    font-size: 1.8rem;
}
.products .banner .container p,
.about .banner .container p {
    font-weight: 300;
}
.banner img {
    width: 100%;
    max-width: 100%;
}


/* HOME */
.homeContainer {
    background-color: var(--gris-medio);
    padding: 4rem;
}
.homeContainer h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}
.homeContainer .serveisWrapper {
    background-color: var(--blanco);
    border-bottom: 2px solid var(--gris-medio);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.8rem;
    padding: 3rem;
    height: 100%;
}
.homeContainer .serveisWrapper img {
    width: 4rem;
}


/* PRODUCTS */
.products .homeContainer {
    padding-top: 0;
}
.products .homeContainer h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.products .homeContainer span {
    color: var(--rojo);
}
.products .homeContainer .whiteBg {
    background-color: var(--blanco);
    padding: 5rem 3rem;
    margin-bottom: 5rem;
}
.products .homeContainer .prodsHighlights {
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
}
.products .homeContainer .prodsHighlights p {
    font-size: 1.6rem;
    font-weight: 300;
}
.products .homeContainer .prodsHighlights span {
    width: 10rem;
    height: 1px;
    background-color: var(--rojo);
    margin-top: auto;
}
.products .homeContainer article {
    background-color: var(--blanco);
    height: 100%;
}
.products .homeContainer article header {
    border-bottom: 0;
    border-left: 2rem solid var(--rojo);
    padding: 3rem 0 0 2rem;
}
.products .homeContainer article header h3 {
    font-size: 2.5rem;
    font-weight: 400;
}
.products .homeContainer article ul {
    padding: 4rem;
}
.products .homeContainer article ul li {
    border-bottom: 1px solid var(--rojo);
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    font-size: 1.6rem;
    font-weight: 300;
}
.products .homeContainer article ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* ABOUT */
.about .aboutCards {
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.about .aboutCards ul {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.about .aboutCards li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 3rem;
}
.about .aboutCards li:first-child {
    border-bottom: 1px solid var(--rojo);
    padding-bottom: 3rem;
}
.about .aboutCards li img {
    height: 9rem;
}
.about .aboutCards li h2 {
    font-size: 2.5rem;
    font-weight: 400;
}
.about .aboutCards li p {
    font-size: 1.6rem;
    font-weight: 300;
}


/* CONTACT */
.contact .heading {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 0rem;
}
.contact .heading h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.contact .heading p {
    font-size: 1.8rem;
    font-weight: 300;
}
.contact form {
    padding: 2rem;
    margin-top: 4rem;
    margin-bottom: 6rem;
}
.contact form .formLeftCol {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact form input:not(.btn-asistecma) {
    height: 5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    background-color: var(--gris-medio);
    border: 1px solid var(--gris-oscuro);
}
.contact form textarea {
    margin-bottom: 2rem;
    font-weight: 600;
    padding: 1.5rem;
    height: 100%;
    background-color: var(--gris-medio) !important;
    border: 1px solid var(--gris-oscuro);
}
.contact form label {
    font-size: 1.7rem;
    font-weight: 300;
}
.contact form .custom-checkbox,
.contact form .custom-checkbox a {
    font-weight: 300;
}
.contact form .btn-asistecma {
    width: 100%;
}


.politicas main {
    font-size: 1.6rem;
    margin-top: 5rem;
}
.politicas main h1 {
    font-size: 3.5rem;
}
.politicas main h3 {
    font-size: 2.3rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.politicas main ul {
    margin-top: 0;
    margin-bottom: 9px;
    padding-left: 20px;
}
.politicas main ul li {
    list-style: disc;
}
.politicas main p {
    margin-bottom: 5px;
}
.politicas main hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: #03b8dc;
}
.politicas main a:hover {
    text-decoration: underline;
}
.politicas main .table-container {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.politicas main .table {
    min-width: 900px;
}


/* MEDIA QUERIES */
@media (min-width: 576px) {
    .contact form .d-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media screen and (min-width:768px) {
    .scrollup{
        bottom: 50px;
        right: 160px;
    }
}
@media (min-width: 992px) {
    .container {
        width: calc(100% - 6rem) !important;
    }
    main {
        margin-bottom: 5rem;
    }

    header {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    header .headerWrapper {
        display: initial;
    }
    header .openMenuIcon {
        position: absolute;
        left: 3rem;
    }
    header .offcanvas {
        padding: 3rem 5rem;
        width: 40%;
        max-width: 55rem;
        border-right: 1px solid var(--rojo);
    }
    header .offcanvas ul:not(.languages) li {
        font-size: 2.4rem;
        margin-top: 6rem;
    }
    header .offcanvas ul.languages li {
        font-size: 2.4rem;
        margin-top: 6rem;
    }

    footer .container {
        padding: 5rem;
    }
    footer a {
        font-size: 1.6rem;
        line-height: 3rem;
    }
    footer a:active, footer a:focus, footer a:hover {
        font-size: 1.6rem;
        text-decoration: underline;
    }
    footer .footerWrapper {
        flex-direction: row;
        gap: 6rem;
        margin-bottom: 0;
    }
    .subfooter .legal .legalLinks,
    .subfooter .legal .kitDigital {
        margin-bottom: 0;
        flex-direction: row;
    }

    .banner .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--blanco);
        padding-left: 8rem;
        padding-right: 8rem;
    }
    .banner .container h1 {
        font-size: 6.5rem;
        text-align: left;
        margin-bottom: 4rem;
    }
    .banner .container h1 span {
        color: var(--negro);
    }
    .banner .container p {
        font-size: 3rem;
        text-align: left;
    }
    .homeContainer {
        padding: 10rem 8rem;
    }
    .homeContainer .serveisWrapper {
        border-bottom: 0;
        border-right: 2px solid var(--gris-medio);
        font-size: 2.3rem;
    }
    .homeContainer .serveisWrapper img {
        width: 5rem;
    }
    
    .products .banner .container h1,
    .about .banner .container h1 {
        font-size: 6rem;
        margin-bottom: 3.5rem;
    }
    .about .banner .container h1 span,
    .products .banner .container h1 span {
        color: var(--rojo);
    }
    .products .homeContainer h2 {
        font-size: 3rem;
    }
    .products .banner .container p,
    .about .banner .container p,
    .contact .heading p {
        font-size: 2.5rem;
    }
    .products .homeContainer .whiteBg {
        padding-left: 5rem;
        padding-right: 5rem;
    }
    .products .homeContainer .prodsHighlights {
        padding: 4rem;
        gap: 1.5rem;
    }
    .products .homeContainer .prodsHighlights p {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    .products .homeContainer article ul li {
        font-size: 1.8rem;
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }
    .products .homeContainer article header {
        padding: 4rem 0 0 4rem;
    }
    .products .homeContainer article header h3 {
        font-size: 3.5rem;
    }
    .products .homeContainer article ul {
        padding: 6rem;
    }

    .about .aboutCards {
        margin-top: 10rem;
        margin-bottom: 10rem;
    }
    .about .aboutCards ul {
        flex-direction: row;
        gap: 0;
    }
    .about .aboutCards li {
        padding: 0 4rem;
        max-width: unset;
    }
    .about .aboutCards li:first-child {
        border-right: 2px solid var(--rojo);
        border-bottom: 0;
        padding-bottom: 0;
    }
    .about .aboutCards li h2 {
        font-size: 3.5rem;
    }
    .about .aboutCards li img {
        height: 12rem;
    }
    .about .aboutCards li p {
        font-size: 1.8rem;
    }

    .contact .heading {
        margin-top: 7rem;
        margin-bottom: 5rem;
    }
    .contact .heading h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    .contact form {
        padding: 0;
    }
    .contact form .btn-asistecma {
        width: fit-content;
    }
}
@media (min-width: 1200px) {
    header .offcanvas {
        padding: 4rem 7rem;
        width: 30%;
    }

    footer ul {
        gap: 5rem;
    }
    .subfooter .legal {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .products .homeContainer article ul {
        padding: 6rem 10rem;
    }
    
    .about .aboutCards li {
        padding: 0 9rem;
    }
}
@media (min-width: 1400px) {
    .subfooter .legal .legalLinks {
        gap: 1rem 7rem;
    }
}