html {
    scroll-behavior: smooth;
}

header {
    padding: 1rem 0;
    border-bottom: solid 1px #696f6f;
    background: #fff;
}

footer {
    background: #696f6f;
    color: #fff !important;
    padding: 1rem 0;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #eee;
}

footer h6.title {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.footer-bottom {
    background: linear-gradient(0deg, #F0EEED, #fff);
    padding: 1rem;
    color: #000 !important
}

.footer-bottom a {
    color: #000 !important
}

.logo-footer img {
    margin-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

footer h6,
footer a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#logo {
    text-align: center;
}

#logo img {
    width: 40%;
    margin: 1rem auto
}

.top-bar,
.top-bar ul {
    background-color: #fff;
}

.is-dropdown-submenu {
    min-width: 300px;
}

.top-bar {
    width: 100%;
}

.menu {
    display: block;
}

.menu li {
    display: block !important;
}

section {
    padding-top: 6rem;
}

#title {
    background: rgba(237, 28, 36, 1);
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: absolute;
    z-index: 2;
    top: 0;
    width: 100%;
    color: #fff;
}

h2.title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.breadcrumbs {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.breadcrumbs a.current {
    font-weight: 700;
    color: #000;
}

.search [type="checkbox"],
.search .button {
    margin-bottom: 0 !important;
}

label {
    font-weight: 700;
    color: #c1022d;
}

.title-big {
    text-align: center;
    margin: 2rem auto;
    font-weight: 700;
    color: #c1022d;
}


.destacat {
    border-radius: 6px;
    border: solid 1px #F0EEED;
    text-align: center;
    color: #c1022d;
    background: linear-gradient(0deg, #F0EEED, #fff);
}

.destacat:hover {
    background: #F0EEED;
}

.radius {
    border-radius: 6px;
    border: solid 1px #F0EEED;
}

.grey-degra {
    background: linear-gradient(0deg, #F0EEED, #fff);
    text-align: center;
}

.grey-degra a {
    color: #000;
}

.date {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
}



.no-margin {
    margin: 0;
}

h5 i,
h5 span {
    display: inline-block;
    vertical-align: middle;
}

.radius h5 {
    color: #696f6f;
}

.radius ul {
    margin-left: 4rem;
}


/*IDIOMAS*/
#idiomas {
    position: absolute;
    text-align: right;
    margin: 10px;
    top: 0;
    right: 0;
}

#idiomas ul {
    margin-bottom: 0;
}

#idiomas ul li {
    display: inline-block;
}

#idiomas ul li a {
    display: block;
    line-height: 1.6rem;
    height: 1.6rem;
    width: 1.6rem;
    font-size: 0.6rem;
    background: none;
    text-align: center;
    color: #333;
}

#idiomas ul li a.current {
    background: #696f6f;
    color: #fff;
}

#idiomas ul li a:hover {
    background: #F0EEED;
    ;
    color: #333;
    -webkit-transition: .25s;
    transition: .25s;
}

/* FIN IDIOMAS */




@media print,
screen and (min-width: 40em) {
    #logo {
        text-align: left;
    }

    #logo img {
        width: 80%;
        margin: 0 auto
    }

    #idiomas {
        position: relative;
        text-align: right;
        margin: 0px;
    }

    .top-bar {
        width: auto;
    }

    .menu {
        display: flex;
    }

    .menu li {
        display: inline-block;
    }

}


/* NEW STYLES */
@media print,
screen and (min-width: 640px) {

    #ferias img,
    #clientes img {
        max-width: 195px;
        max-height: 120px;
    }
}

@media print,
screen and (min-width: 640px) {
    #title.fixed-title {
        position: fixed !important;
        top: 88px !important;
        margin-bottom: 0 !important;

    }

    .small-slogan #title.fixed-title {
        padding: 0.5rem 0 !important;
    }

    .small-slogan #title.fixed-title h3 {
        font-size: 20px;
        margin-bottom: 0 !important;
    }

    section {
        padding-top: 8rem !important;
    }


    .grid-sectores img {
        height: 180px;
        width: auto;
    }
}

.grid-sectores {
    padding-top: 2rem;
}

#subfooter {
    background: #FFF;
    padding-block: 1em;
}

.mail-button {
    border: 1px solid #c1022d;
    display: inline-block;
    padding: 0.6em 1.2em;
    color: #c1022d;
    text-decoration: none;

    &:hover {
        background: #c1022d;
        color: #fff;
        text-decoration: none;
    }

}

.menu li.languages {
    display: flex !important;
}