/* GENERAL */

html[lang] {
    margin-top: 0 !important;
}
header #branding, header.transparent #branding {
    max-width: 220px;
}
#hero .topSectionFull::before, #hero .topSectionFull:after, #hero.dark::before, #hero.dark::after {
    display: none;
}
#hero .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
#hero.dark .bg::before, #hero.dark .bg::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 36, 50, .6);
    background: linear-gradient(90deg, rgba(0, 36, 50, 1) 5%, rgba(0, 36, 50, .2) 100%);
    mix-blend-mode: multiply;
}
#hero.dark .bg::after {
    mix-blend-mode: color;
    opacity: .3;
    z-index: 1;
    background: #B30B35;
}
#hero .wrapper-two {
    z-index: 2;
    padding-top: 120px;
}
#hero .homeVideo {
    /*opacity: 1;*/
}
#hero .cta, #landing #hero .cta {
    display: block;
    width: fit-content;
    padding: 12px 30px;
    margin: 3rem auto 0 0;
    border-color: #FFF;
    color: #FFF;
    background-color: transparent;
    -webkit-transition: all .8s;
    transition: all .8s;
}
#hero .title {
    font-size: 2.5rem;
    color: #FFF;
    margin: 0 0 30px;
}
#hero .subtitle, #landing #hero .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4em;
    padding: 0;
    max-width: unset;
    color: #FFF;
}
.title + .subtitle {
    margin-top: 20px;
}
section.dark {
    background: #002432;
    color: #FFF;
}
.cols_x2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.cols_x2.reverse {
    flex-direction: row-reverse;
}
.cols_x2 > * {
    width: calc(50% - 30px);
}
.cols_x2 .cols_x2 > * {
    width: calc(50% - 15px);
}
.col picture, .col img {
    display: block;
    max-width: 100%;
    height: auto;
}
.italic {
    font-style: italic;
}
.dark .italic {
    color: #D8DEE0;
}
.large {
    font-size: 1.5em;
}
.accordion-item {
    display: block;
}
.accordion-item + .accordion-item {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed #0071A6;
}
.accordion-item .accordion-toggle::after {
    content: "+";
    display: inline-block;
    color: #000;
    margin-left: auto;
}
.accordion-item.open .accordion-toggle::after {
    content: "–";
}
.accordion-toggle {
    appearance: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0071A6;
    background: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}
.accordion-toggle span {
    display: inline-block;
}
.accordion-content {
    display: none;
    padding: 20px 0 0 40px;
}
.dilusLines > *:nth-child(1) {
    animation-delay: 3s;
}
.dilusLines > *:nth-child(2) {
    animation-delay: 3.6s;
}
.dilusLines > *:nth-child(3) {
    animation-delay: 3.4s;
}
.dilusLines > *:nth-child(4) {
    animation-delay: 3.8s;
}
.dilusLines > *:nth-child(5) {
    animation-delay: 3.2s;
}
#container #contacto h2 {
    padding-top: 0;
}
body.page-template-default #page-content a {
    font-family: inherit;
    text-decoration: underline;
}
body.page-template-default #page-content h2 {
    margin: 2em 0 30px;
    padding: 0;
}
body.page-template-default #page-content ul, body.page-template-default #page-content ol {
    font-family: "Open Sans", sans-serif;
    margin: .75em 0 1.5em;
    font-size: 1rem;
    line-height: 1.5em;
    padding: 0 0 0 4em;
    list-style-type: disc;
}
body.page-template-default #page-content ol {
    list-style-type: decimal;
}
body.page-template-default #page-content li {
    padding: 0;
    margin: 0 0 .75em;
}


/* HOME */

#homeVideo .box {
    margin-top: 0;
}
#homeVideo .box .blue-border img {
    max-width: 480px;
    height: auto;
}
#acreditaciones .italic {
    font-size: .875rem;
}
#acreditaciones p.italic:last-child {
    margin: 20px 0 0;
}
#acreditaciones p.italic:not(:last-child) {
    margin: 0 0 20px;
}
#acreditaciones .cols_x2 + .cols_x2 {
    margin-top: 60px;
}
#acreditaciones .col.light {
    background: #D8DEE0;
    padding: 20px 30px;
    color: #002432;
}
#acreditaciones .col.light a {
    color: #0071a6;
    display: inline-block;
    margin: .75em 0 0;
}
#acreditaciones .col.light a:hover, #acreditaciones .col.light a:focus {
    text-decoration: underline;
}
.sectors .new .thumb picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-template-home_template .sector-title + .sectors {
    margin-top: 35px;
}
.page-template-home_template .sectors {
    /*padding-top: 50px;*/
}
.page-template-home_template .sectors .new {
    width: 33.333333%;
    /*padding-top: 0;*/
    margin-bottom: 1em;
}
.page-template-home_template .sectors .new .thumb {
    /*top: 0;
    height: 100%;*/
}
.new .icon img {
    filter: brightness(0);
    height: auto;
}
.new:hover .icon img {
    border-color: #FFF;
}
.new .newContent h3 {
    line-height: 1.2em;
}
#landing #content .lastNews .cta, #content #faqs .cta {
    margin-left: auto;
    margin-right: auto;
    border: 0;
    color: #FFF;
    background-color: #0071a6;
}
#content #faqs .cta {
    margin-left: 0;
}
.page-template-home_template .sectors.aplicaciones .new {
    width: 20%;
}
.dark .new:hover .newContent {
    color: #FFF;
    transition: all .4s;
}
.dark .new:hover .newContent h3 {
    border-color: #FFF;
    transition: all .4s;
}
.dark .new .icon {
    background-color: #002432;
}
.dark .new .icon img {
    border-color: #FFF;
    filter: brightness(100);
}
#faqs .title {
    margin-bottom: 50px;
}


/* SOLUCIONES */

#content.soluciones .bg {
    z-index: 0;
}
#content.soluciones .bg > * {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    object-fit: cover;
}
#content.soluciones .topSideInfo {
    height: 80vh;
}
#content.soluciones .topSectionFull {
    z-index: 1;
}
#content.soluciones .topSectionFull h1 {
    font-weight: 400;
}
#content.soluciones .aumenta-reduce {
    padding-bottom: 0;
}
#content.soluciones .aumenta-reduce ul {
    font-size: 1.25rem;
}
#landing #content.soluciones .topSectionFull .cta {
    background-color: transparent;
    border-color: #FFF;
    color: #FFF;
    min-width: unset;
}
.isotipo {
    display: block;
    text-align: center;
    margin: 0 auto 20px;
}
#content.soluciones .contents {
    padding: 70px 0;
}
#content.soluciones .contents .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#content.soluciones h2 {
    padding: 0;
    margin: 0 0 1em;
}
#content.soluciones .newsContainer .new {
    width: 33.333333%;
}
#content.soluciones .light .new .icon::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 1em;
    left: 1em;
    right: 1em;
    bottom: 1em;
    border: 2px solid #000;
    border-radius: 50%;
}
#content.soluciones .light .new .icon img {
    border: none;
}
#valores {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    background-color: #002432;
}
#valores .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#valores .bg * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#valores .bg::before, #valores .bg::after {
    /*content: "";*/
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 36, 50, .6);
    background: linear-gradient(90deg, rgba(0, 36, 50, 1) 5%, rgba(0, 36, 50, .2) 100%);
    mix-blend-mode: multiply;
}
#valores .bg::after {
    mix-blend-mode: color;
    opacity: .3;
    z-index: 1;
    background: #B30B35;
}
#valores .wrapper {
    position: relative;
    z-index: 3;
}
#valores h2 {
    color: #FFF;
}
ul.valores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    text-align: center;
    color: #FFF;
    margin: 70px -30px auto;
    width: calc(100% + 60px);
}
ul.valores li {
    min-width: calc(16.666667% - 60px);
    padding: 0 20px;
}
ul.valores li+li {
    border-left: 1px solid #FFF;
}
ul.valores li .icon img {
    border-radius: 50%;
    border: 2px solid #FFF;
    margin: 0 auto 20px;
    display: block;
}
ul.valores li h3 {
    display: block;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 500;
    margin: 0 auto;
}
#content.soluciones .iconWrapper {
    position: relative;
    border: none;
}
#content.soluciones .iconWrapper::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #FFF;
    border-radius: 50%;
}


/* CONTACTO */

.page-template-contacto #hero video, .page-template-default #hero video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
}


/* FOOTER */

#footer {
    background: var(--darkgrey);
    padding: unset;
}
#footer .newsletter {
    max-width: unset;
    width: 100%;
}
.footerFirst {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 72px 0 20px;
}
.footer-left-col {
    width: calc(25% - 20px);
    margin: 0 auto 0 0;
}
.footer-middle-col {
    width: calc(50% - 40px);
    margin: 0 auto;
    padding: 85px 0 0;
}
.footer-right-col {
    width: calc(25% - 20px);
    margin: 0 0 0 auto;
    padding: 85px 0 0;
}
.footer-left-col:nth-last-child(2) {
    width: calc(50% - 40px);
}
.footer-right-col:nth-child(2) {
    width: calc(50% - 40px);
}
.footer-middle-col .footer-block, .footer-left-col .footer-block.certificaciones {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    margin: 0;
}
.footer-left-col .footer-block.certificaciones {
    margin-top: 50px;
}
.footer-middle-col .footer-block *+*, .footer-left-col .footer-block.certificaciones *+* {
    margin-left: 20px;
}
.footer-middle-col .footer-block img, .footer-left-col .footer-block.certificaciones img {
    display: block;
    max-width: 100%;
    height: auto;
}
.footer-middle-col .footer-block *:first-child, .footer-left-col .footer-block.certificaciones *:first-child {
    max-width: 29.52%;
}
.footer-middle-col .footer-block *:last-child, .footer-left-col .footer-block.certificaciones *:last-child {
    max-width: 66.53%;
}
.page-template-home_template#landing footer .menu > li {
    max-width: unset;
    font-size: unset;
    margin: unset;
}
#footer .footer-left-col .footer-title {
    padding-left: 55px;
}
#footer .menu a {
    position: relative;
}
#footer .footer-left-col .menu {
    font-size: 1rem;
    line-height: 1.5em;
    padding-left: 55px;
    margin-right: -20px;
}
#footer .footer-left-col .menu a {
    display: inline-block;
    opacity: .8;
    -webkit-transition: all .8s;
    transition: all .8s;
}
#footer .footer-left-col .menu a:hover, #footer .footer-left-col .menu a:focus {
    outline: none;
    border: none;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}
#footer .footer-left-col .menu a::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFF;
    opacity: 0;
    display: block;
    -webkit-transition: all .8s;
    transition: all .8s;
}
#footer .footer-left-col .menu a:hover::before, #footer .footer-left-col .menu a:focus::before {
    width: 100%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.newsletter-form label {
    font-size: 1rem;
    line-height: 1.25em;
}
.newsletter-form .cols_x2 > * {
    width: calc(50% - 10px);
}
.newsletter-form .small {
    font-size: .75em;
    opacity: .8;
}
.newsletter-form textarea {
    margin: .5em 0 0;
    height: 150px;
    display: block;
    border-color: #FFF;
}
.newsletter-form .wpcf7-form-control-wrap {
    display: block;
}
#footer form input[type=checkbox] {
    width: 26px;
    border-radius: 13px;
    padding: 0;
    margin: 0 2px 0 0;
    float: left;
}
#footer form input[type=checkbox] + * {
    display: inline-block;
    padding-left: 7px;
    line-height: .75em;
    width: calc(100% - 30px);
}
#footer form input[type=checkbox]:checked + span::before, #footer form input[type=checkbox]:checked + span::after {
    z-index: 0;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    width: 100%;
}
html #footer .wpcf7-not-valid-tip {
    margin-top: -.75em;
}
#footer .reglamento {
    margin-top: 2em;
}
.page-template-home_template#landing .footerLast .menu > li, #landing .footerLast .menu > li {
    font-size: .75rem;
}
.footerLast img {
    margin-top: -7px;
}
.footerLeft {
    align-items: baseline;
}
.credits {
    color: #666;
    font-size: .75rem;
    opacity: 0;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.credits:hover {
    opacity: 1;
}
.credits a {
    text-decoration: none;
}
.credits a:hover, .credits a:focus {
    text-decoration: underline;
}


/* EFFECTS */

#hero video.aparece {
    transform: translateX(0);
}


/* RESPONSIVE */

@media (max-width: 767px) {
    #hero video {
        height: 100vh;
    }
    #homeVideo .box .blue-border img {
        max-width: 110%;
        margin: 40px 0 -4px;
    }
    #acreditaciones .container > .cols_x2 {
        flex-direction: column;
    }
    #acreditaciones .container > .cols_x2 > * {
        width: 100%;
    }
    #acreditaciones .container > .cols_x2 > *+* {
        margin-top: 30px;
    }
    #container .sector-title {
        padding: 0;
        max-width: unset;
    }
    .page-template-home_template .sectors .new {
        width: 50%;
    }
    .page-template-home_template .sectors.aplicaciones {
        display: flex; 
    }
    .page-template-home_template .sectors.aplicaciones .new {
        width: 50%; 
    }
    #faqs .title {
        margin-bottom: 30px;
    }
    #faqs .container > .cols_x2 {
        flex-direction: column;
    }
    #faqs .container > .cols_x2 > * {
        width: 100%;
    }
    #faqs .container > .cols_x2 > *+* {
        margin-top: 40px;
        text-align: left;
    }
    #faqs .accordion {
        width: 80%;
        margin: auto;
    }
    .accordion-toggle {
        text-align: left;
    }
    #content.soluciones .topSideInfo .subtitle {
        text-align: left;
    }
    #content.soluciones .contents > .wrapper-two > .cols_x2 {
        flex-direction: column;
    }
    #content.soluciones .contents > .wrapper-two > .cols_x2 > * {
        width: 100%;
    }
    #content.soluciones h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5em;
        max-width: unset;
    }
    #content.soluciones .newsContainer .new {
        width: 50%;
    }
    #content.soluciones .light .new .icon::before {
        top: .5em;
        left: .5em;
        right: .5em;
        bottom: .5em;
    }
    ul.valores {
        flex-wrap: wrap;
        margin: 50px -15px auto;
        width: calc(100% + 30px);
    }
    ul.valores li {
        width: calc(50% - 30px);
        margin-bottom: 30px;
        padding: 0 15px;
    }
    ul.valores li:nth-child(odd) {
        border-left: none;
    }
    ul.valores li h3 {
        font-size: 1.25rem;
    }
    #acreditaciones h2 {
        text-align: center;
        width: 100%;
        max-width: unset;
    }
    #contacto, #landing #contacto {
        padding-bottom: 0;
    }
    #contacto .title {
        text-align: center;
        width: 100%;
    }
    #contacto .bottom .fg .row.middle {
        flex-direction: column;
        width: 100%;
    }
    #contacto .row.middle .contact-block {
        order: 2;
        width: 100%;
        margin-right: 0;
    }
    .footerFirst {
        flex-direction: column;
    }
    .footerFirst > * {
        width: 100%;
    }
    .footer-left-col:nth-last-child(2) {
        width: 100%;
    }
    .footer-right-col:nth-child(2) {
        width: 100%;
    }
    .footer-left-col .footer-block.certificaciones {
        padding-left: 55px;
    }
    #footer .newsletter form > .cols_x2 {
        flex-direction: column;
    }
    #footer .newsletter form > .cols_x2 > * {
        width: 100%;
    }
}