html {
    font-size: 15px;
}

body {
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3rem;
    letter-spacing: 0.1px;
}

h2 {
    font-size: 3rem;
    letter-spacing: 0.1px;
    line-height: 3.5rem;
    margin-bottom: 8.8%;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #3E3737;
}

h2.uppercase {
    text-transform: uppercase;
}

h3 {
    font-family: 'Lato', sans-serif;
    color: #656565;
    font-weight: bold;
    font-size: 1.87rem;
    letter-spacing: 0.1px;
}

h4 {
    font-weight: bold;
    font-size: 1.87rem;
    font-family: 'Lato', sans-serif;
    margin-bottom: 1.5rem;
    color: #3E3737;
}

h5 {
    font-weight: bold;
    font-size: 1.87rem;
    font-family: 'Lato', sans-serif;
    margin-bottom: 1.9rem;
    color: #3E3737;
}

p {
    text-align: justify;
}

/*Font Awesome*/

@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 300;
    src: url("../webfonts/fa-light-300.eot");
    src: url("../webfonts/fa-light-300.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-light-300.woff2") format("woff2"), url("../webfonts/fa-light-300.woff") format("woff"), url("../webfonts/fa-light-300.ttf") format("truetype"), url("../webfonts/fa-light-300.svg#fontawesome") format("svg");
}

.fal {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
}

@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 900;
    src: url("../webfonts/fa-solid-900.eot");
    src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

.fa,
.fas {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
}

@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 400;
    src: url("../webfonts/fa-regular-400.eot");
    src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg");
}

.far {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
}

.fa,
.fas,
.far,
.fal,
.fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-3x {
    font-size: 3em;
}

.fa-envelope:before {
    content: "\f0e0";
}

.fa-map-marker:before {
    content: "\f041";
}

.fa-phone:before {
    content: "\f095";
}

.fa-arrow-right:before {
    content: "\f061";
}

.fa-play:before {
    content: "\f04b";
}

/* /Font Awesome*/

/*header*/
button.navbar-toggler {
    border: 1px solid #F4CD77 !important;
    border-radius: 0 !important;
}

.nav-item {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    color: #3E3737 !important;
    letter-spacing: 1.5px;
}

.es p, .en p {
    font-size: 11px;
    font-weight: bold;
    color: #3E3737 !important;
    letter-spacing: 1.5px;
    padding-left: 3px;
    margin-bottom: 0;
}

.navbar {
    background-color: transparent !important;
}

.navbar-light .navbar-toggler {
    top: 1rem;
}

.front-page .logo, .header-image .logo, .header-non-image .logo {
    padding: .5rem 1rem;
}

.navbar-collapse {
    justify-content: center;
}

.navbar-toggler {
    position: absolute;
    top: -50px;
    right: 0;
}

.nav-item.active {
    position: relative;
}

.nav-item.active::after {
    content: "";
    border-top: 1px solid #F4CD77;
    position: absolute;
    right: 0;
    left: 11%;
    bottom: 0;
    width: 79%;
}

.nav-menu {
    position: relative;
    z-index: 200;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    padding: 1.5% 0;
}

/*sticky menu*/
.nav-menu.sticky {
    position: fixed;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    top: 0;
}

.nav-menu.sticky {
    margin-top: 0;
}

.nav-menu.navbar {
    padding-bottom: 12px;
    padding-top: 4px;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

/*/sticky menu*/
/*/
*/

/*footer*/
footer {
    background-color: #dedede;
    color: #656565;
    padding: 4.5% 0;
    font-size: .9rem;
    letter-spacing: 0.2px;
    line-height: 1.7rem;
}

.information-text {
    padding-left: 5px;
}

footer h3 {
    margin-bottom: .75rem;
}

footer i, .contacts-info i {
    font-size: 1.2rem;
    margin-right: 1rem;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

.legal-text, .legal-text:hover {
    color: #77543a;
}

.newsletter-form input {
    background-color: transparent;
    border-bottom: 1px solid #C4934F;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-radius: 0;
    padding-left: 0;
    color: #ffffff !important;
    font-size: .9rem;
}

.newsletter-form input:focus {
    background-color: transparent;
    box-shadow: 0 0 0 0.2rem transparent;
    border-bottom: 1px solid #3E3737;
}

.newsletter-form input::placeholder {
    color: #F4CD77;
    font-size: .9rem;
}

.newsletter-form input:-ms-input-placeholder {
    color: #F4CD77;
    font-size: .9rem;
}

/* IE 10+ */
.newsletter-form input::-webkit-input-placeholder {
    color: #F4CD77;
    font-size: .9rem;
}

/* WebKit */
.newsletter-form input::-moz-placeholder {
    color: #F4CD77;
    font-size: .9rem;
}

/* Firefox 19+ */

.newsletter-form button[type="submit"], .newsletter-form button[type="submit"]:active, .newsletter-form button[type="submit"]:focus {
    border-radius: 22px;
    letter-spacing: 0.2px;
    font-size: .9rem;
    background-color: #3E3737;
    color: #F4CD77;
    padding: 10px 28px 10px 19px;
    border: 1px solid transparent;
}

.newsletter-form button[type="submit"]:active, .newsletter-form button[type="submit"]:focus {
    background-color: #3E3737 !important;
    color: #F4CD77 !important;
    border: 1px solid transparent !important;
    box-shadow: 0 0 0 1px #C4934F !important;
}

.fields, .footer .btn {
    display: inline-block;
}

.fields {
    width: 83% !important;
}

footer form {
    position: absolute;
}

footer .btn {
    position: absolute;
    bottom: 0;
    left: 100%;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

footer .form-group {
    margin: 0;
}

/*/footer*/

/*contact-banner*/
.contact-banner {
    padding: 9% 30px;
    background-image: url(../img/oficina-comerciales.png);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center;
}

.contact-banner i, .link-to-delegations i {
    margin-left: 1.5rem;
}

.contact-banner a, .link-to-delegations a {
    padding: 17px 38px;
    background: #ffffff;
    font-weight: 600;
    color: #3E3737;
    border-radius: 29px;
}

.contact-banner a:hover, .link-to-delegations a:hover {
    text-decoration: none;
}

/*/contact-banner*/

/*home*/
.home-content {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15%;
    padding-top: 15%;
}

.welcome-right {
    background-image: url(../img/oficina.png);
    background-repeat: no-repeat;
    background-size: 130%;
    background-position: center;
    height: 100%;
}

.welcome i {
    margin-left: 1.5rem;
}

.welcome a {
    padding: 17px 38px;
    background: #F5F5F5;
    font-weight: 600;
    color: #656565;
    border-radius: 29px;
}

.welcome a:hover {
    text-decoration: none;
}

.welcome .text {
    margin-bottom: 15%;
}

.welcome-left {
    padding-right: 11%;
}

.home-gallery {
    margin-bottom: 10%;
}

.home-gallery .col-12 {
    height: 385px;
    border: 2px solid #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.home-gallery .box-1 {
    background-image: url(../img/oficina2.png);
}

.home-gallery .box-2 {
    background-image: url(../img/sillon-cerrado.png);
}

.home-gallery .box-3 {
    background-image: url(../img/sillon-abierto.png);
}

.home-gallery .box-4 {
    background-image: url(../img/licuadora.png);
}

.home-gallery .box-5 {
    background-image: url(../img/humidificador-vertical.png);
}

.home-gallery .box-6 {
    background-image: url(../img/humidificador.png);
}

.numbers {
    position: relative;
    top: 80px;
}

.numbers .background {
    background: #ffff00; /* Old browsers */
    background: -moz-linear-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /*  FF3.6+ */
    background: -webkit-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#fe0000', GradientType=0); /* IE6-9 */
    background: linear-gradient(top, transparent 10%, #F5F5F5 10%, #F5F5F5 60%, #DEDEDE 60%, #DEDEDE 90%, transparent 90%, transparent 100%); /* W3C */
}

.banners {
    position: relative;
    width: 100%;
    bottom: 0;
    z-index: -5;
}

.banner-gray {
    height: 166px;
    background: #DEDEDE;
}

.banner-light-gray {
    height: 325px;
    background: #F5F5F5;
}

.results-number {
    padding: 5.5% 0 5.5%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/foto-empresa.jpg);
    position: relative;
    /*top: 540px;*/
}

.results-number .container {
    position: relative;
    z-index: 10;
    padding: 0;
}

.italic-title {
    font-family: 'Lato', sans-serif;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 3.5rem;
    font-style: italic;
    letter-spacing: 0.1px;
    line-height: 4.25rem;
    margin-bottom: 9.5%;
}

.results-number .row {
    width: 90%;
    margin: auto;
    color: #3E3737;
}

.italic-number {
    line-height: 2.4rem;
    font-size: 5rem;
    font-style: italic;
    letter-spacing: 0.1px;
}

.small-description {
    font-size: .87rem;
    line-height: 1.37rem;
    margin-top: 1.7rem;
}

.results-number .description {
    width: 65%;
    margin: auto;
}

.results-number .description p {
    margin-top: 11.7%;
    line-height: 1.37rem;
    letter-spacing: 0.1px;
}

.results-number::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 205, 119, 0.9);
}

/*/home*/

/*header secondary pages*/
.header-image, .policy {
    height: 60vh;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.header-image.about-us {
    background-image: url(../img/oficina.png);
    background-position: center;
}

.header-image.legals {
    background-image: url(../img/oficina3.png);
    background-position: center;
}

.header-image.contact {
    background-image: url(../img/contacto.jpg);
    background-position: center;
}

.header-image.delegations {
    background-image: url(../img/delegations_banners.jpg);
    background-position: bottom;

}

.header-image.about-us::after, .header-image.policy::after, .header-image.legals::after, .header-image.delegations::after, .header-image.contact::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff00; /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /*  FF3.6+ */
    background: -webkit-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /* Opera11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#fe0000', GradientType=0);
}

.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff00; /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255, 255, 255, .8) 2%, rgba(255, 255, 255, .1)); /*  FF3.6+ */
    background: -webkit-gradient(top, rgba(255, 255, 255, .1) 1%, rgba(255, 255, 255, .1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, .9) 2%, rgba(255, 255, 255, .2)); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, .8) 1%, rgba(255, 255, 255, .1)); /* Opera11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, .8) 1%, rgba(255, 255, 255, .1)); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#fe0000', GradientType=0);
}

/*/header secondary pages*/
.about-us-content {
    margin-top: 10%;
}

.about-us-content .content-1 .row {
    width: 70%;
}

.italic-text {
    text-transform: uppercase;
    font-style: italic;
    color: #656565;
    margin-bottom: 2rem;
}

.content-1 .box-right p {
    line-height: 1.37rem !important;
    color: #656565;
}

.content-2 .box-right p, .years-description {
    line-height: 1.37rem !important;
    color: #656565;
}

.content-1 .box-right {
    padding-left: 25px;
}

.content-1 .box-left {
    padding-right: 25px;
}

.content-1 .box-right p:last-child {
    margin-bottom: .5rem;
}

.content-1 .box-left::after {
    content: "";
    border-top: 1px solid #C4934F;
    position: absolute;
    right: 25px;
    bottom: 0;
    width: 52px;
}

.content-2 .box-left {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/foto-empresa.jpg);
}

.content-2 {
    margin: 17% 0;
}

.content-2 .box-right {
    padding: 2.5% 0;
}

.content-2 .box-right p:last-child {
    padding-bottom: 52px;
    border-bottom: 20px solid #F5F5F5;
}

.years {
    font-size: 3rem;
    letter-spacing: 0.1px;
    line-height: 3.5rem;
    margin-bottom: 3rem;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #C4934F;
    border-bottom: 2px solid #DEDEDE;
    padding-bottom: 1rem;
}

.content-3 .row {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 2rem;
}

.content-3 .col-12 {
    padding: 0;
}

.content-3 h4, .years-description {
    padding-right: 3rem;
}

.years::before {
    content: "";
    border: 3px solid #DEDEDE;
    position: absolute;
    left: 0;
    top: 4rem;
    height: 18px;
    width: 18px;
    border-radius: 100%;
    background: #ffffff;
}

.content-4 {
    margin: 17% 0;
}

.team .col-10 {
    padding: 10px 10px 30px 10px;
}

.content-4 h2 {
    border-bottom: 1px solid #C4934F;
    padding-bottom: .95rem;
}

p.name {
    font-size: 1.06rem;
    font-weight: bold;
    color: #3E3737;
    margin-bottom: 0.2rem;
    margin-top: .9rem;
}

p.position {
    font-size: .93rem;
    color: #656565;
}

.brands {
    background: #F5F5F5;
    padding: 7.5% 0;
}

.brands-logos img {
    display: inline-block;
    width: 35%;
    padding: 2%;
}

.brands h2 {
    margin-bottom: 0;
}

/*delegations*/
.row-delegations {
    width: 100%;
}

.header-non-image {
    background: #F5F5F5;
}

.header-non-image .content-1 {
    padding: 11% 0 15% 0;
}

.delegations-img {
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/edificio-madrid.png);
}

.delegations-content .contacts-info p, .delegations-content .contacts-info a, .contact-image .contacts-info p, .contact-image .contacts-info a {
    color: #3E3737;
    margin-bottom: 2rem;
}

.madrid .contacts-info {
    margin-bottom: 10%;
}

.delegations-content iframe {
    width: 100%;
    height: 300px;
}

.logrono iframe, .burgos iframe {
    margin-top: 7%;
}

.delegations-info {
    padding: 12% 0 10% 0;
}

.second-email {
    margin-left: 2.2rem;
    line-height: 2.5rem;
}

.delegations-content {
    position: relative;
    top: -11vh;
}

.img-burgos, .img-logrono, .img-madrid {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 450px;
}

.img-madrid {
    background: url('../img/edificio-madrid.png');
}

.img-burgos {
    background: url('../img/oficina_burgos_1.jpg');
}

.img-logrono {
    background: url('../img/oficina_logrono_1.jpg');
}

.burgos .map, .logrono .map {
    padding: 0;
}

.burgos h2, .logrono h2 {
    padding-right: 10%;
}

.burgos, .logrono {
    margin-top: 13%;
}

.logrono {
    margin-bottom: 10%;
}

/*/delegations*/

/*contacts*/
.contact-content, .legals-content {
    margin-top: 10%;
    margin-bottom: 9%;
}

.contact-content input[type="text"], .contact-content input[type="email"], .contact-content input[type="number"] {
    background-color: transparent;
    border-bottom: 1px solid #C4934F;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-radius: 0;
    padding-left: 0;
    color: #3E3737;
    font-size: 1rem;
    letter-spacing: 0.2px;
    font-size: 1rem !important;
    margin-bottom: 5px;
}

.contact-content .form-group {
    margin-bottom: 40px;
}

.contact-content .form-group.has-error .help-block {
    color: red;
}

.contact-content textarea {
    background-color: transparent;
    border: 1px solid #C4934F;
    border-radius: 0;
    padding-left: 0;
    color: #3E3737 !important;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
    font-size: 1rem !important;
}

.contact-content label {
    color: #3E3737 !important;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.contact-content input::placeholder {
    color: #3E3737 !important;
    font-size: 1rem;
}

.contact-content input:-ms-input-placeholder {
    color: #3E3737 !important;
    font-size: 1rem;
}

/* IE 10+ */
.contact-content input::-webkit-input-placeholder {
    color: #3E3737 !important;
    font-size: 1rem;
}

/* WebKit */
.contact-content input::-moz-placeholder {
    color: #3E3737 !important;
    font-size: 1rem;
}

/* Firefox 19+ */
.contact-content .form-control:focus {
    border-bottom: 1px solid #3E3737;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .0);
}

.contact-content textarea:focus {
    border: 1px solid #3E3737 !important;
    box-shadow: 0 0 0 0.2rem transparent !important;
}

.contact-content input[type=checkbox] {
    height: 20px;
    width: 20px;
    bottom: 1px;
}

.contact-content label.form-check-label {
    margin-left: 1rem;
}

.contact-content label.form-check-label a {
    color: #C4934F;
}

.cols {
    width: 50%;
    padding: 10px;
}

.cols button {
    width: 70%;
    float: right;
    font-weight: 600;
    color: #3E3737;
    background: #F4CD77;
    border-color: #F4CD77;
    border-radius: 22px;
    padding: .5rem;
}

.cols button:hover {
    background: #F4CD77;
    border-color: #F4CD77;
}

.cols.Captcha {
    height: 50px;
    border: 1px solid #dddddd;
}

.row.submit {
    margin-top: 20px;
    padding: 10px;
}

.row.textarea {
    padding: 10px;
}

.contact-image .contacts-info {
    padding: 12% 13% 10% 13%;
    background: #F5F5F5;
}

.contact-image .contacts-info p:last-child {
    margin-bottom: 0;
}

.link-to-delegations {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/edificio-madrid.png);
}

.privacy-title {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    font-size: 1.46rem;
    color: #3E3737;
    margin-bottom: 1.7rem;
}

.privacy-text {
    font-size: .8rem;
    color: #656565;
    margin-bottom: 0;
    line-height: 1.73rem;
    letter-spacing: 0.2px;
}

.privacy {
    margin-top: 14%;
    margin-bottom: 8%;
}

.privacy .col-12 {
    padding-top: 4%;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid #DEDEDE;
}

/*/contacts*/

/*work-with-us*/
.header-image.contact.work-with-us {
    background-image: url(../img/trabaja-con-nosotros.jpg);
    background-position: bottom;
}

.video-work-with-us {
    width: 100%;
    position: absolute;
    top: 0;
}

.file-input-container {
    background-color: #f5f5f5;
}

.file-input-container label {
    margin-left: 15%;
    font-size: .8rem
}

.file-input-container .cols .file-btn {
    background-color: #3e3737;
    border-color: #3e3737;
    color: #FFFFFF;
}

/*/work-with-us*/

/*legals*/
.legals-content p, .legals-content ul li, .legals-content ol li {
    color: #656565;
    line-height: 2rem;
    letter-spacing: 0.2px;
}

.brown-text {
    color: #6C4528;
}

.legals-content h2.uppercase, .legals-content p, .legals-content h5, .legals-content ul, .legals-content ol {
    margin-bottom: 3.5%;
}

.legals-content ol li {
    list-style-type: lower-roman;
    padding-left: 26px;
}

.legals-content ol {
    padding-left: 19px;
}

.legals-content h5, .legals-content h2 {
    margin-top: 5%;
}

.legals-content h2:first-child {
    margin-top: 0;
}

.legals-content {
    margin-bottom: 20%;
}

/*/legals*/

#overbox3 {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999999;
    display: block;
}

#infobox3 {
    margin: auto;
    position: relative;
    top: 0px;
    /* height: 58px;*/
    width: 100%;
    text-align: center;
    background-color: #F5F5F5;
    padding: .9rem;
}

#infobox3 p {
    line-height: 1.3rem;
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
    color: #3e3737;
}

#infobox3 p a.accept-button {
    color: #ffffff;
    text-decoration: none;
    background-color: #3e3737 !important;
    padding: 2px 6px;
    border-radius: 2px;
}

#infobox3 p a.accept-button:hover {
    background-color: #545454 !important;

}

.cookies {
    color: #292b2c;
    font-weight: 500;
    text-decoration: underline;
}

.cookies-table tr td, .cookies-table tr th {
    border: 1px solid black;
    text-align: center;
    padding: 2%;
}

/*politica de cookies*/

/*slider*/
.carousel-item {
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center top;
}

.video {
    position: absolute;
    top: 0;
}

.video-container {
    position: absolute;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/frontend/img/bg-home.png');
}

section#presentation {
    position: absolute;
    height: 100vh;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
}

.video-container video {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    background: transparent;
}
.video-container video#video-home{
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    background: floralwhite;   
    height:100%;
    max-width:100%;
}

.play {
    /*display: none;*/
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50vh;
    color: rgba(255, 255, 255, 0.9);
}

.play:hover {
    cursor: pointer;
}

.modal-dialog {
    max-width: 85%;
    margin: 30px auto;
}

.modal-body {
    position: relative;
    padding: 0;
}

.close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

.carousel-control-next, .carousel-control-prev {
    z-index: 100;
}

.carousel-control-next-icon {
    background-image: url(../img/next.svg);
}

.go-down a img {
    width: 25px;
    height: auto;
    position: relative;
    bottom: 28px;
    z-index: 10;
}

.carousel-control-prev-icon {
    background-image: url(../img/prev.svg);
}

.carousel::before {
    content: "";
    border-top: 1px solid #ffffff;
    position: absolute;
    right: 5%;
    bottom: 40px;
    width: 90%;
    z-index: 200;
}

/*/slider*/

label.custom-file-upload {
    display: inline-block;
    background-color: #3e3737;
    text-align: center;
    border-radius: 35px;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    padding: 10px 50px;
    color: #fff !important;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

@media (min-width: 1500px) {
    .container {
        max-width: 1380px;
    }
}

@media (min-width: 769px) {
    .navbar-collapse {
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
        display: -ms-flexbox !important;
        display: flex !important;

    }
}

@media screen and (max-width: 991px) {
    h4 {
        font-size: 1.5rem;
    }

    .file-input-container label {
        margin-left: 20px;
    }

    .row-container {
        justify-content: center;
    }

    .welcome-right {
        margin-left: 40px;
    }

    .results-number .col-12 {
        margin-bottom: 10%;
    }

    .results-number .col-12:last-child {
        margin-bottom: 2%;
    }

    .about-us-content .content-1 .row {
        width: 100%;
    }

    #block-info-contact {
        overflow-x: scroll;
    }

    .nav-item {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    footer {
        padding-top: 15% !important;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 1.67rem;
    }

    h4 {
        font-size: 1.67rem;
    }

    h5 {
        font-size: 1.67rem;
    }

    .work-video {
        height: 350px;
    }

    .language {
        position: relative;
        top: 1.8rem;
    }

    .italic-title {
        font-size: 3.3rem;
    }

    .italic-number {
        line-height: 2.1rem;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 0px;
        right: 0px;
    }

    .nav-item.active::after {
        content: "";
        border-top: 1px solid #F4CD77;
        position: absolute;
        bottom: 10px;
        width: 90%;
    }

    .navbar-toggler {
        z-index: 3;
        position: absolute;
        margin-right: 1rem;
    }

    .nav-menu {
        padding-top: 0;
    }

    .nav-item {
        font-size: 1.2rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        font-weight: 500;
        line-height: 2rem;
    }

    .navbar-nav {
        /* background-color: rgba(255, 255, 255, 0.9);*/
        padding: 1.5rem;
        height: 100vh;
        width: 50vw;
        text-align: right;
    }

    .nav-item {
        font-size: 1.35rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    body {
        font-size: 16px !important;
    }

    .welcome .welcome-left {
        margin-bottom: 14% !important;
    }

    .welcome-right {
        margin-left: 0;
    }

    .welcome-left {
        padding-right: 15px;
    }

    .home-gallery .col-12 {
        height: 80vh;
    }

    .numbers {
        top: 105px;
    }

    .contacts-info {
        text-align: center;
    }

    .newsletter {
        text-align: center;
    }

    footer form {
        position: relative;
    }

    .fields {
        width: 70% !important;
    }

    footer .btn {
        position: initial;
        margin-top: 20px;
    }

    .contacts-info {
        padding: 1rem;
    }

    .home-gallery {
        margin-bottom: 0;
    }

    .content-1 .box-right {
        margin-top: 9%;
        padding-left: 0;
        padding-right: 0;
    }

    .content-1 .box-left {
        padding-right: 0;
        padding-left: 0;
    }

    .content-2 .box-right {
        margin-top: 5%;
    }

    .content-3 h4, .years-description {
        padding-right: 0;
    }

    .content-3 .col-12 {
        margin-top: 10%;
    }

    .content-2 {
        margin-bottom: 6%;
    }

    .content-1 .box-left::after {
        right: 0;
    }

    .delegations-content {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 7%;
    }

    .burgos h2, .logrono h2 {
        padding-top: 2rem;
        margin-bottom: 1%;
    }

    .delegations-img {
        height: 400px !important;
    }

    .madrid .contacts-info {
        margin-bottom: 8%;
    }

    .delegations-info {
        padding-bottom: 0;
    }

    .burgos, .logrono {
        padding: 5%;
    }

    .burgos h2, .logrono h2 {
        padding-right: 0;
    }

    .delegations-intro {
        margin-bottom: 2rem !important;
    }

    .row.submit {
        margin-top: 5%;
    }

    .privacy.row {
        padding-left: 15px;
        padding-right: 15px;
    }

    .cols button {
        width: 50%;
    }

    .carousel-item {
        height: 70vh;
    }

    .contact-content input[type="text"], .contact-content input[type="email"], .contact-content input[type="number"] {
        margin-bottom: 5%;
    }

    footer {
        padding-top: 25% !important;
    }

    .container-movil {
        max-width: 100vw !important;
        width: 100%;
        margin: 0;
        padding-right: 0;
    }

    .container-movil-row {
        width: 100%;
        margin: 0;

    }

    .col-menu-movil {
        padding-right: 0;
    }

    .logo {
        padding-right: 40px !important;
    }

    .work-general-row {
        display: flex;
    }

    .work-general-row .contact-form:nth-of-type(1) {
        order: 2;
    }

    .work-general-row .work-video:nth-of-type(2) {
        order: 1;
        margin-bottom: 10%;
    }

    .video-work-with-us {
        left: 0 !important;
    }
}

@media (max-width: 575px) {
    .top-menu {
        padding-right: 0;
    }

    footer {
        padding-top: 35% !important;
    }

    .brands h2, .brands-logos {
        text-align: center;
    }

    .row.team {
        justify-content: center;
    }

    .delegations .box-left, .delegations .box-right {
        padding-left: 15px;
    }

    .delegation-margin {
        padding-right: 15px;
    }

    .domain {
        font-size: 1.3rem;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .header-image.delegations {
        background-position: bottom left 75%;
    }

    .img-burgos {
        background-position: center left 70% !important;
    }
}

@media (max-width: 551px) {
    .cols {
        width: 100%;
    }

    .contact-banner {
        height: 125px;
    }

    .home-gallery .row {
        padding-left: 10%;
        padding-right: 10%;
    }

    .home-gallery .col-12 {
        height: 60vh;
    }

    .carousel-item {
        height: 55vh;
    }

    .burgos h2, .logrono h2 {
        font-size: 2.2rem;
    }

    .video-container #video-home {
        display: none;
    }

    .video-container {
        background-image: url(../img/edificio-madrid.png);
        background-position: bottom;
        background-size: 152%;
    }
    .front-page .logo {
        padding: 20% 0 0 !important;
        left: 4%;

    }
    .modal-dialog.video-modal {
        top: 25%;
    }
}

@media (max-width: 474px) {
    .navbar-nav {
        width: 60vw;
    }
}

@media (max-width: 427px) {
    .fields {
        width: 100% !important;
    }

    .navbar-light .navbar-toggler {
        top: .5rem;
    }

    .italic-title {
        font-size: 3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 420px) {
    .home-content {
        padding-bottom: 0;
    }
}

@media (max-width: 420px) {
    /*.navbar-toggler{
        top: -30px !important;
    }*/
}

@media (max-width: 400px) {
    .logrono, .burgos, .madrid .contacts-info {
        overflow-x: scroll;
    }

    .navbar-collapse {
        width: 68vw;
    }

    .navbar-nav {
        padding-right: 0;
    }

    .nav-item {
        font-size: 1.15rem;
    }
}

@media (max-width: 360px) {
    .g-recaptcha {
        overflow-x: scroll;
    }
}

@media (max-width: 330px) {
    .domain {
        font-size: 1.2rem;
    }

    footer {
        padding-top: 40% !important;
    }

    .navbar-light .navbar-toggler {
        top: .2rem;
    }

    .italic-number {
        font-size: 3.8rem;
    }

}

@media (max-width: 320px) {
    .navbar-nav {
        width: 65vw;
    }
}


