/*------------------------------------------------------------------------------
Reset CSS
------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: 'Graphik', sans-serif;
  font-weight: 600;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

strong {font-weight: 600;}

a{-webkit-transition: opacity 0.5s; /* Safari */
  transition: opacity 0.5s;}

* {
  transition: all .3s ease 0s;
}


/*------------------------------------------------------------------------------
CSS
------------------------------------------------------------------------------*/


/*------------------------------------------------------------------------------
Ejemplo Fuente custom CSS
------------------------------------------------------------------------------*/
@font-face {
    font-family: 'Graphik';
    src: url('font/Graphik-Light.woff2') format('woff2'),
        url('font/Graphik-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Graphik';
    src: url('font/Graphik-Regular.woff2') format('woff2'),
        url('font/Graphik-Regular.woff') format('woff'),
        url('font/Graphik-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('font/Graphik-Semibold.woff2') format('woff2'),
        url('font/Graphik-Semibold.woff') format('woff'),
        url('font/Graphik-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MillerBanner';
    src: url('font/MillerBanner-Semibold.woff2') format('woff2'),
        url('font/MillerBanner-Semibold.woff') format('woff'),
        url('font/MillerBanner-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MillerBanner-Itali';
    src: url('font/MillerBanner-SemiboldItalic.woff2') format('woff2'),
        url('font/MillerBanner-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}

.portada{width: 100%; height: 100vh; background-size: cover; color: #FFF;
  text-align: center; position: relative; z-index: 9999;   animation: shrink 2.5s 1 normal; background-size: 100% 100%;
}
@keyframes shrink {
  0% {
    background-size: 110% 110%;
  }
  100% {
    background-size: 100% 100%;
  }
}
  
  .vacio{}
  .portada .titular {position: absolute; top: 50%; transform: translateY(-50%); left: 0; right: 0;}
  .portada .titular h1{font-family: 'MillerBanner', serif; font-size: 5em;}
  .portada .titular h2{font-size: 1em; margin-top: 20px;}
  .portada .scroll-arrow{width: 8%; position: absolute; bottom: 20px; right: 0; left: 0; margin: 0 auto; transition: 0.3s;}
  .portada .scroll-arrow:hover{width: 5%;}
  .valores a {color: #fff; text-decoration: none; padding: 20px 30px; border: 1px solid white; transition: 0.2s ease; text-transform: uppercase;}
  .valores a:hover {padding: 30px 40px; margin:0;}



header{position: fixed; z-index: 99999999;  width: 80%; left: 0; right: 0; margin: 0 auto;}
header nav { text-transform: uppercase; display: flex; justify-content: space-between; padding-top: 40px; }
  header nav > ul { display: flex; list-style-type: none; margin: 0; overflow: hidden; font-size: 0.8em;}
  header nav > ul li{ padding: 0px 15px; }
  header nav > ul li .logo { width: 188px; }
  header nav ul:first-child li:first-child{background-image: url(../images/logo-ternua.png); background-repeat: no-repeat; width: 188px;  height: 65px; padding: 10px; background-size: contain; margin-right: 10px;}
  header nav.dark ul:first-child li:first-child{background-image: url(../images/logo-ternua-d.png); }
  /*header nav ul:nth-child(2) li{float: right;} */
  /*
  header nav ul:nth-child(2) li:nth-child(1) {margin:0px; padding: 0px; width: 40px;}
  header nav ul:nth-child(2) li:nth-child(1):after {display: none; }
  header nav ul:nth-child(2) li:nth-child(1) a:after {display: none; padding: 0; margin: 0; }
  header nav ul:nth-child(2) li:nth-child(1) a:hover{}
  header nav ul:first-child, header nav ul:nth-child(2) {width: 50%; float: left;}
  */
  header nav li a {display: block; text-align: center; text-decoration: none; color: #FFFFFF; display: inline-block; padding: 15px 0px; position: relative; white-space: nowrap; }

/*  header nav li a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #fff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}*/
  /*
  header nav ul:nth-child(2) li:first-child a{margin-top: 0px; font-size: 1.2em;}

  header nav ul:nth-child(2) li:first-child ul{margin-top: -30px; font-size: 0.9em;}
  */

  a.linka.activo{border-bottom: 2px solid #FFF;}
  nav.dark a.linka.activo{border-bottom: 2px solid #000;}

  header nav.dark li a:after {background: #000;}
  header nav li a:hover:after { width: 100%; left: 0;}

  header nav ul:first-child li:nth-child(1) a img {width: 100%; padding: 0px !important; margin-top: -20px;}
  header nav li a:hover {opacity: 0.7; text-decoration: none;}
  header nav ul:nth-child(2) li ul li {display: none; }
  header nav ul:nth-child(2) > li:hover ul li {display: block; padding: 0px; margin:0px; width: 100%;}
  header nav ul:nth-child(2) > li:hover ul li a{font-size: 1.2em;/* background: rgba(0,0,0,0.5); */border: none !important; width: auto; padding: 0px !important; display: block; text-align: center; margin-top: 25px;}

  header nav ul li .btn{border: 1px solid #FFFFFF; padding: 15px 35px;}
  /*header nav ul:nth-child(2) li:nth-last-child(1) a:after {display: none;}*/
  nav.dark li a {color: #000;}
  header nav.dark ul li .btn{border: 1px solid #000; padding: 15px 35px;}
  i.fas.fa-arrow-left, i.fas.fa-arrow-right {margin: 0 8px;}


div.ternua-group, .contacto{background: #e5e5e5; height: 100%; width: 100%; text-align: center; position: relative; overflow: hidden;}
  .background-group {font-size: 20em; opacity: 0.07; font-family: 'MillerBanner'; position: absolute; top: 45px; right: 125px; position: fixed; line-height: 1.5em;}
  div.ternua-group span {margin-left: 1500px;}
  .ternua-group .group-txt{left: 0; right: 0; z-index: 9999; margin: 150px auto;}
  .ternua-group p{font-size: 1.1em; font-weight: normal; line-height: 1.2em; margin: 35px 0;}
  .ternua-group p:nth-child(7) {margin-bottom: 60px;}
  .ternua-group h3{font-size: 4.2em; font-family: 'MillerBanner', serif; margin: 60px auto 55px auto;}
  .ternua-group hr, .time hr{border: 0.5 solid black; margin: 20px auto 60px auto; width: 8%; display: none;}
  .ternua-group a{border: 1px solid #000; padding: 20px 0px; color: #000; text-decoration: none; margin-top: 20px; font-size: 0.8em; display: block; width: 15%; margin: 45px auto;}
  .ternua-group a:hover{opacity: 0.5;}
  div#dos p{width: 60%; margin: 20px auto;}

.ternua-group h2, .brands h2, .time h2, .portada .titular h3 {font-size: 3em; font-family: 'MillerBanner', serif; display: none;}

div#tres {z-index: 9; position: relative;}
  div.brands{background: #404040; height: 100vh; width: 100%; overflow: hidden;}
  .brands-txt{color: #FFF; text-align: center; height: 30vh;}
  .brands .brands-txt hr, .portada hr {border: 0.5 solid white;  margin: 20px auto 60px auto; width: 10%; display: none;}
  .brands .brands-txt h2{padding: 13vh 0 0 0; }
  .wrap img{width: 3.5vw;}
  div.brands p{color: #FFFFFF;}
  .brands h2, .brands .brands-txt hr{display: block;}


.wrap {width: 100%; display: flex; margin-left: auto; margin-right: auto; overflow: hidden; height:70vh; cursor: pointer; min-height: 760px;}
  .wrap > section { position: relative; display: flex; height: 70vh; overflow: hidden; min-height: 760px;}
  .wrap > section header { position: absolute; top: 0; left: 0; width: calc(100% - 50px); padding: 20px 0; }
  .wrap > section header h3 { font-size: 3em; font-family: 'MillerBanner', serif; color: #fff; border-bottom: 1px solid #fff; }
  .wrap > section.closediv header h3 { position: relative; font-size: 1.5em; top: 24px; }
  .wrap > section .brands { display: flex; flex: 1; }
  .wrap > section .brands section { width: 20vw; overflow:hidden; height:70vh; padding-top: 100px; opacity: 0.8; background-size: cover; }
  .wrap > section .brands section:hover { opacity: 1; }
  .wrap > section .brands section img, .wrap > section .brands section p{padding: 4%;}
  .wrap > section .brands section.opendiv { width: calc(100vw - 500px); }
  /*.wrap > section .brands section.opendiv img { width: 6vw; }*/
  .wrap > section .brands section p {display:none;}
  .wrap > section .brands section.opendiv P {display: block; width: 80%; margin-top: -40px; line-height: 1.3em; font-weight: 100; /*text-shadow: 2px 2px rgba(0, 0, 0, 0.5);*/}
  .wrap > section .brands section.opendiv p a{color: #FFFFFF; font-weight: 600; text-decoration: none; width: 110px; display: block;}
  .wrap > section .brands section.opendiv p a img{width: 17%; padding: 0; margin-top: 1px; float: right;} 
  .wrap > section .brands section.closediv { width: 125px; }
  .wrap > section .brands section.closediv p { display: none; }
  .wrap > section .brands section.closediv:hover { opacity: .8; }
  .wrap::after { content: ""; clear: both; display: table; }

.clearfix::after { content: ""; clear: both; display: table; }  


.sostenibilidad{margin: 0 auto; width: 85%;}
  .sostenibilidad .col h3{font-size: 5em; text-align: left; margin-top: 0px; font-family: 'MillerBanner', serif;}
  .col{float: left;}
  .col:first-child{margin-right: 3%; width: 60%; margin-bottom: 100px;}
  .col:nth-child(2){width: 37%; margin-top: 40px;}

  .col img {width: 100%;}
  .datos{border-top: 1px solid #000000; padding-top: 40px;}
  .datos a{border: none; padding: 20px 0px; color: #000; text-decoration: none; margin-top: 20px; font-size: 0.8em; display: block; width: 70%; margin: 0px;}
  .col a img{width: 15%; position: relative; top: 5px; left: 6px;}

  .datos DIV {width: 19%; float: left; text-align: left;}
  .datos DIV:nth-child(1),.datos DIV:nth-child(2),.datos DIV:nth-child(3){margin-right: 1%;}
  .datos h4 {font-family: 'Graphik', sans-serif; font-size: 1.2em; margin-bottom: 10px;}
  .datos h5{font-weight: normal; font-size: 1em; width: 90%; line-height: 1.3em;}
  #cuatro hr{margin: 20px auto 50px auto; width: 10%;}
  .sostenibilidad p{text-align: left; width: 65%;}
  .prioridad{background-image: url(../images/ternua-planeta-background.png); background-size: 100%; padding: 150px 0; z-index: 9999; transition: background-size 0.2s linear;/*margin-top: 15vh;*/}
  .prioridad p, .prioridad h3{width: 55%; text-align: center; margin: 0 auto; color: #fff;}
  .prioridad h3{font-family: 'MillerBanner', serif; font-size: 3em; line-height: 1.2em;}
  .prioridad p{font-weight: normal; margin-top: 20px; line-height: 1.3em; font-size: 1.2em;}
  .datos div:nth-child(2) h5, .datos div:nth-child(1) h5{margin-top: 30px;}
  .prioridad:hover{background-size: 102%;}


.valores{width: 100%; height: 100vh; background-image: url(../images/ternua-valores-background.png);background-size: cover; color: #FFF; text-align: center; position: relative; z-index: 9999; background-attachment: fixed;}
  .portada.valores .titular{width: 80%; left: 0; right: 0; margin: 0 auto;}
  .portada.valores .titular img{width: 20%;}
  .portada.valores .titular p{width: 60%; font-weight: normal; font-size: 1em; line-height: 1.3em; margin: 10px auto;}
  .portada.valores .titular p:first-of-type{margin-top: 60px;}
  .portada.valores .titular p:last-of-type{margin-bottom: 60px;}
  .valores-thumb div:nth-of-type(2){height: 80vh;}
  .valores-thumb div:nth-of-type(1){height: 20vh;}
  .valores-thumb div:nth-of-type(1) h2{position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0;}
  .valores-thumb div:nth-of-type(2) div{width: 50%; height: 50%; float: left; text-align: left; box-sizing: border-box; padding: 40px; color: #FFFFFF;}
  .valores-thumb div:nth-of-type(2) div h2{ display: block; font-size: 4rem; float: left; position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0; height: auto;}
  .valores-thumb div:nth-of-type(2) div ul{margin-left: 40px; display: block; font-weight: normal; line-height: 1.5em; float: left; position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0;}
  .valores-thumb div:nth-of-type(2) div:nth-of-type(1) {background-image: url(../images/ternua-group-original.jpg); background-size: cover;}
  .valores-thumb div:nth-of-type(2) div:nth-of-type(2) {background-image: url(../images/ternua-group-commited.jpg); background-size: cover;}
  .valores-thumb div:nth-of-type(2) div:nth-of-type(3) {background-image: url(../images/ternua-group-innovative.jpg); background-size: cover;}
  .valores-thumb div:nth-of-type(2) div:nth-of-type(4) {background-image: url(../images/ternua-group-ambitious.jpg); background-size: cover;}
  .valores .titular p:nth-child(8){padding-bottom: 55px;}



.dot {height: 400px; width: 400px; background-color: #000000; border-radius: 50%; color: #FFFFFF; display: inline-block; margin-top: 0px; padding: 20px; box-sizing: border-box; margin: 120px 0 50px 0;}
  .dot p{position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0; height: auto; margin:0; text-align: center; font-family: 'MillerBanner', serif; font-size: 2.5rem;}
  .dot p img{width: 60%; display: block; margin: 0 auto 30px auto;}
  .sports div:nth-child(2){width: 80%; text-align: left; margin: 0px auto 80px auto;}
  .sports div:nth-child(2) div{width: 43%; float: left;}
  .sports div:nth-child(2) div p{line-height: 1.5em;}
  .sports div:nth-child(2) div:nth-child(2) {margin-left: 14%;}
  div.ternua-group.sports {height: 100%;}
  .sports h2{font-family: 'MillerBanner-Itali', serif;}
  .ternua-group.sports h2 {display: block;}

.data{width: 100%; height: 50vh; background:#000000; color: #FFF; min-height: 70vh;}
  .data div{width: 80%; margin: 0 auto; position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0; height: auto; float: none;}
  .data div div{float: left; width: 15%; margin-right: 1%;}
  .data div div:nth-child(6){margin-right: 0;}
  .data div div h3{font-size: 2.5rem; margin-top: 30px; width: 14%; padding-top: 30px; border-top: 3px solid #fff;}
  .data div div p{font-family: 'MillerBanner', serif; font-size: 1.5rem; margin-top: 10px;}
  .data div div img{width: 50%;}


div.time{height: 100%; background: #e5e5e5;}
 .time h2{padding-top: 80px; text-align: center; display: block;}
 .time hr{display: block;}
 .timeline {list-style-type: none; display: flex; padding: 0; text-align: center;}
 .timeline li {transition: all 200ms ease-in;}
 .timestamp {width: 400px; margin-bottom: 20px; padding: 0px 40px; display: flex; flex-direction: column; align-items: center; font-weight: 100;}
 .status {padding: 0px 40px; display: flex; justify-content: center; border-top: 4px solid #000000; position: relative; transition: all 200ms ease-in;}
 .status span {font-weight: 600; padding-top: 30px; text-align: center; width: 80%;}
 .status span:before {content: ''; width: 5px; height: 5px; background-color: #000000; border-radius: 25px; border: 4px solid #000000; position: absolute; top: -9px; left: 42%; transition: all 200ms ease-in;}
 .swiper-control {text-align: right;}
 .swiper-container {width: 100%; height: 250px; margin: 50px 0; overflow: hidden; padding: 0 20px 30px 20px;}
 .swiper-slide {width: 200px; text-align: center; font-size: 18px;}
 .swiper-slide:nth-child(2n) {width: 40%;}
 .swiper-slide:nth-child(3n) {width: 20%;}
 p.swiper-control{width: 95%; margin: 0 auto; margin: 50px 0 70px 0;}
 button{background: transparent; border: none; font-size: 1.05em; font-weight: lighter; opacity: 0.7;}


.carousel-cell{width: 20%; text-align: center;}
  .flickity-page-dots{display: none;}
  .raya, .raya2{border-top: 2px solid #000; margin: 20px 0;}
  .punto{width: 7px; height: 7px; border-radius: 22px; background: #000; margin: -24px auto 15px auto;}
  .flickity-enabled, .carousel-cell{height: 500px;}
  .empresa-top {margin-bottom: 102px; font-weight: normal;}
  .fecha {margin-top: 181px; font-size: 1.2em;}
  .empresa {margin-top: 11px; font-weight: normal; font-size: 1em;}
  .fecha-a{margin-top: -51px; font-size: 1.2em;}
  .empresa-top img{width: 120px;}
  img.guion, img.guion2 {width: 9px;}
  img.guion2 {margin: -98px 0 59px 0;}
  .empresa img { width: 25%; margin: 5px 0;}


footer{background: #000000; padding: 50px 5% 70px 5%; color: #FFF; font-size: 0.8em; z-index: 9999; position: relative;}
 footer div:first-child{float: left;}
 footer div:nth-child(2) {float: right;}
 footer ul {list-style-type: none; margin: 0;}
 footer ul li{float: left; padding: 5px 9px; border-right: 1px solid #FFF; height: 50%; }
 footer ul li.link__main { text-transform: uppercase; }
 footer ul li a {display: block; text-decoration: none; color: #FFF;}
 footer ul li a:hover{opacity: 0.5;}
 footer ul li:nth-last-of-type(-n+2) { font-weight: normal; }
 footer ul li:nth-child(-1) a, footer ul li:nth-child(-2) a{font-weight: normal;}
 footer div:nth-child(2) ul li:nth-child(4) {font-family: 'MillerBanner', serif; font-size: 1.7em; margin-top: -5px;}
 footer div:nth-child(2) ul li{font-family: 'MillerBanner', serif; font-size: 1.7em; margin-top: -5px; border: none;}
 footer ul li:last-of-type {border-right: none;}

.footer-program { background:#e1e1e1; padding:50px 5% 20px 5%; font-size: 12px; line-height: 120%; font-weight: 500; } 
  .footer-program .fleft { float:left; text-align: left; }
  .footer-program .fright { float:right; text-align: right; }
  .footer-program .w50 { width: 50%; }
  .footer-program IMG { height: 90px; margin-left: 20px; }
  .footer-program H4 { font-family: 'MillerBanner', serif; font-size: 52px; font-weight: bold; margin-bottom: 6%; }
  .footer-program P { max-width: 400px; }
  .footer-program P:nth-of-type(1) { text-transform: uppercase; font-weight: bold; }



.menu{position: absolute; top: 0; background-color: #FFF; width: 100%; z-index: 999; transition: all 0.4s ease; visibility: hidden; opacity: 0;}
  div#btnMenu{display: none;}
 .con { cursor: pointer; display: inline-block; float: right; padding: 35px 20px;}
 .con {  -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -ms-transition: all .5s ease; -o-transition: all .5s ease; transition: all .5s ease; }
 .bar { display: block; height: 1px; width: 28px; background: #FFF; margin: 8px auto; }
 .dark .bar{background: #000;}
 .middle { margin: 0 auto; }
 .bar { -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -ms-transition: all .5s ease; -o-transition: all .5s ease; transition: all .5s ease; }
 .con.isactive .top { -webkit-transform: translateY(9px) rotateZ(45deg); -moz-transform: translateY(9px) rotateZ(45deg); -ms-transform: translateY(9px) rotateZ(45deg); -o-transform: translateY(9px) rotateZ(45deg); transform: translateY(9px) rotateZ(45deg); }
 .con.isactive .bottom { -webkit-transform: translateY(-9px) rotateZ(-45deg); -moz-transform: translateY(-9px) rotateZ(-45deg); -ms-transform: translateY(-9px) rotateZ(-45deg); -o-transform: translateY(-9px) rotateZ(-45deg); transform: translateY(-9px) rotateZ(-45deg); }
 .con.isactive .middle { width: 0; }
 .menu.isactive{ height: 100vh; visibility: visible; opacity: 1; position: absolute; margin-top: 0px; background: #333333; margin-top: 0px; width: 100%; font-size: 1em; line-height: 4em; text-align: center; padding-top: 50px; text-transform: uppercase; }
 .menu.isactive li a{color: #FFF; text-decoration: none; }
 div#btnMenu { z-index: 999999; position: absolute; right: 20px; top: 15px; padding: 0!important; }
 .cosas {bottom: 20px; position: absolute; font-size: 0.5em; left: 62px; }
 .todo .isactive {overflow: hidden; height: 100vh;}

.contacto{background: url(../images/ternua-group-contact.png); background-size: cover; min-height: 400px;}
/*  div.contacto .contact-black,div.contacto div:nth-child(3).direcciones{position: relative; top: 50%; transform: translateY(-50%); left: 0; right: 0;}*/
  div.contacto .contact-black{text-align: left; color: #FFFFFF; background: #000000; width: 30%; padding: 25px 0; float: left;position: relative; top: 50%; transform: translateY(-50%); margin: 400px 0;}
  div.contacto .contact-black p{font-weight: normal; margin-left: 120px; line-height: 1.2em;}
  div.contacto .contact-black p:nth-child(1){font-weight: 600;}
  div.contacto .contact-black p:nth-child(4){padding-top: 20px;}
  div.contacto .contact-black a { color: #fff; text-decoration: none; }
  div.contacto div:nth-child(3).direcciones{float: left; width: 50%; text-align: left; font-family: 'MillerBanner', serif; font-size: 3em; margin: 355px 60px;}

  .countryOption {display: none; }
  label.country { border: none; font-family: 'MillerBanner', serif; margin: 0; -webkit-appearance: none; background: #FFF; padding: 0px; width: 40%; font-size: 1em; background: url(../images/arrow-down-b.png) no-repeat right white;}
  .countryOption h2 {text-transform: uppercase; font-weight: 500; font-size: 1.5em; margin: 0 0 10px 0;}
  .countryOption p{font-weight: 200; font-size: 0.3em; margin-top: 0; width: 100%; line-height: 1.3em;}
  .resultado{width: 30%; float: left; border-top: 1px solid black; padding-top: 20px; font-size: 1em !important; margin-top: 25px; font-family: 'Graphik', sans-serif;}
  .resultado h2{font-weight: 600; font-size: 0.4em;}
  .resultado a { color: #000; text-decoration: none; }



.notification{
    position:relative;
}

.notification .fas{font-size: 0.4em;}
.drpdwn{
    display:none;
    position:absolute;
    top:50px;
    left:0px;
    width:60%;
    height:50px;
    cursor: pointer;
}
.drpdwn ul{background: #FFF;}

/*------------------------------------------------------------------------------
NEW COMMITNMENT
------------------------------------------------------------------------------*/
.commitment__green { 
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: #072e18;
    color: #fff;     
}
.commitment__green .comm__wrap { 
    margin: 0 auto;
    width: 85%;
}
.commitment__green .comm__header{
    position: relative;
    width: auto;
    z-index: unset;
    display: flex;
    align-items: center;
}
.commitment__green .comm__header img {
    margin-right: 30px;
}
.commitment__green .comm__header h2 {
    font-family: 'MillerBanner', serif;
    font-size: 34px;
    font-weight: 600;
}
.commitment__green .comm__intro {
    width: 1100px;
    margin: 75px auto 100px auto;
    font-size: 26px;
    line-height: 36px;
    font-weight: 300;
}
.commitment__green .comm__intro .comm__cols {
    display: flex;
    margin-right: -20px;
    margin-left: -20px;
}
.commitment__green .comm__intro .comm__cols .comm__col {
    padding-right: 20px;
    padding-left: 20px;
}
.commitment__green .comm__intro .comm__cols .comm__col p {
    
    margin-bottom: 25px;
}
.commitment__green .comm__intro .comm__cols .comm__col p:last-child {
    margin-bottom: 0;
}
.commitment__green .comm__intro .comm__claim {
    margin-top: 75px;
    text-align: center;
    padding: 0 135px;
}
.commitment__green .comm__items {
    font-size: 21px;
    line-height: 32px;
    font-weight: 300;
}
.commitment__green .comm__items .comm__item { 
    padding: 15px 0;
    border-top: 0.5px solid #fff;
}
.commitment__green .comm__items .comm__item:last-child {
    border-bottom: 0.5px solid #fff;
}
.commitment__green .comm__items .comm__item .comm__item-main {
    display: flex;
    align-items: flex-start;
}
.commitment__green .comm__items .comm__item .comm__item-main img {
    margin-right: 20px;
}
.commitment__green .comm__items .comm__item-cols {
    display: flex;
    padding: 0 50px;
    margin: 25px -20px 0 -20px;
}
.commitment__green .comm__items .comm__item-cols .comm__item-col {
    flex: 1;
    padding: 0 20px;
}
/*------------------------------------------------------------------------------
MEDIA QUERIES
------------------------------------------------------------------------------*/
@media screen and (max-width: 1010px) and (max-height: 500px) {
  .valores .titular p:nth-child(8){padding-bottom: 20px;}
  .portada .titular h1{font-size: 4em;}
  div#dos p, .portada.valores .titular p{width: 75% !important;}
  .brands h2, .brands .brands-txt hr{display: none;}
  .brands-txt{height: 20vh;}
  .wrap, section{height: 80vh;}
  .opendiv img {width: 4vw;}
  div.ternua-group{height: 113vh !important;}

  div.ternua-group.seccion {height: 113vh !important;}
  .sostenibilidad .col h3{font-size: 3em !important; }
  .valores-thumb div:nth-of-type(2) {height: 110vh;}
  .dot{margin: 50px 0 50px 0; height: 300px; width: 300px;}
  .dot p{font-size: 1.8rem;}
  .sports h2{font-size: 2rem;}
  div.ternua-group.sports.seccion{height: 100% !important;}
 .data {height: 120vh !important;}

  div.contacto .contact-black{width: 35% !important;}
  div.contacto div:nth-child(3).direcciones{font-size: 2.5em; width: 34% !important; margin-top: -83px !important; /*background: #FFF;*/}
  .contacto{background-size: 1250px;}
  .resultado{margin-top: 6px; width: 45%; font-size: 1.2em !important;}
  div.contacto .contact-black{top: 25% !important;}
  .data div div h3{font-size: 2rem;}
}



@media (max-width: 1440px){
  header nav ul:first-child li:first-child{width: 140px; }
  .commitment__green .comm__intro {
    font-size: 22px;
    line-height: 32px;
    }
    .commitment__green .comm__items {
        font-size: 19px;
        line-height: 29px;
    }
}
@media (max-width: 1366px){
  header nav ul:first-child li:first-child{width: 140px; }
  
}
@media (max-width: 1295px){
  header{width: 90%;}
  div#dos p, .portada.valores .titular p{width: 65%;}
  .ternua-group a{width: 20%;}
  .sostenibilidad .col h3{font-size: 4em;}
  .valores-thumb div:nth-of-type(2) div h2{ font-size: 2rem;}
  .select{width: 75%;}
  div.contacto div:nth-child(3).direcciones{transform: none;}
  .col:first-child{width: 100%;}
  .col:nth-child(2){width: 100%; margin:30px 0;}
  .sostenibilidad p{width: 90%;}
  .ternua-group .datos a{width: 100% !important;}
  .col a img{width: 12%; top: 2px;} 
  .data div div img{width: 35%;}
  .data div div h3{padding-top: 20px; margin-top: 7px;}
  .data div div h3{font-size: 2em;}
  .dot{height: 300px; width: 300px; font-size: 2rem;}
  .commitment__green .comm__intro {
    width: 100%;
    }
  
}



@media (max-width: 1024px){
  .valores-thumb div:nth-of-type(2) div h2{top: 25%;}
  .data div div{width: 32%;}
  .data{height: 80vh;}
  .data div{top: 15%; transform: translateY(-15%);}
  .data div div h3{padding-top: 20px; font-size: 2rem; margin-top: 5px;} 
  .data div div img{width: 40%;}
  .data div div p{font-size: 1.6rem;}
  .data div div:nth-child(4), .data div div:nth-child(5), .data div div:nth-child(6){margin-top: 40px;}
  .data div div:nth-child(6) h3{margin-top: 35px;}
  .fecha{margin-top: 182px;}

  header{width: 95%;}
  header nav li a{padding: 14px 9px;}
  header nav ul li .btn { padding: 15px; }
  footer div:nth-child(2){float: none; margin: 65px 0px;}
  footer{padding: 50px 5% 73px 5%;}
  .valores-thumb div:nth-of-type(2) div{padding: 25px;}
  .valores-thumb div:nth-of-type(2) div ul{margin-left: 0; float: none; margin-top: 50px;}
  .valores-thumb div:nth-of-type(2) div h2{top: 25%;}
  div.contacto .contact-black, div.contacto div:nth-child(3).direcciones, .select{width: 90%;}
  div.contacto div:nth-child(3).direcciones{margin-left:5%; margin-top: 50px;}
  header nav ul li {padding: 0px 5px;}
  div.contacto .contact-black{ margin-top: 20%; transform: none; margin-bottom: 0px;}
  div.ternua-group{height: 100%;}
  .sostenibilidad .col h3{font-size: 3.5em;}
  .prioridad h3{font-size: 2em;}
  .prioridad p{font-size: 1em;}
  header nav ul:nth-child(2) li:last-child{width: 60px; position: absolute; right: 0; bottom: -10px; }
  .portada{background-size: cover;}
  .wrap > section .brands section { padding-top: 55px; }
  .wrap > section header h3 { font-size: 1.5em; }
  .wrap > section.closediv header h3 { top: 0px; }
  .wrap > section .brands section.opendiv p { font-size: .9em; margin-top: -10px; }
  .wrap > section .brands section.opendiv p { width: 90%; font-size: .8em; }

  .footer-program .w50 { width: 100%; margin-bottom: 5%; }
  .footer-program P { margin: auto; }
  .footer-program .fleft, .footer-program .fright { text-align: center; float: none;  } 

}


@media (max-width: 768px){
  header nav li a{padding: 14px 10px;}
  header nav ul:nth-child(2) li:nth-last-child(1) a {padding: 15px 25px;}
  div#dos p{width: 85%;}
  .ternua-group a{width: 35%;}
  .wrap section.opendiv P{width: 90%; margin-top: -10px;}
  .wrap img {width: 70px; margin-top: 20px;}
  .sostenibilidad .col h3{font-size: 3em; text-align: center; margin: 25px 0;}
  .sostenibilidad{width: 85%;}
  .portada.valores .titular p{width: 95%;}
  .portada .titular h1{font-size: 4em;}
  .dot{height: 300px; width: 300px;margin: 10vh 0;}
  .dot p{font-size: 2rem;}
  .ternua-group h2{font-size: 1.6em;}
  .sports div:nth-child(2) div:nth-child(2){margin-left: 10%;}
  .sports div:nth-child(2) div{width: 44%;}
  .sports div:nth-child(2) div p{font-size: 1em;}
  .portada.valores .titular img{width: 40%;}
  .data div{width: 90%;}
  

  .data div div:nth-child(1),.data div div:nth-child(2),.data div div:nth-child(3){margin-bottom: 50px;}
  .swiper-control{text-align: center;}
  #app {padding: 0;}
  .swiper-container{height: 265px;}
  .background-group {font-size: 16em; top: 450px; right: -828px;}
  div.contacto .contact-black div:nth-child(1){width: 80%; margin: 0 auto 80px auto; }
  div.contacto .contact-black .direcciones{width: 100%;}
  select.country{width: 45%;}
/*  .sostenibilidad div:nth-child(2) img{padding-top: 25px;}*/
  .datos div:nth-child(2) h5, .datos div:nth-child(1) h5{margin-top: 40px;}
  .datos DIV{width: 49%;}
  .col a img {width: 8%; top: 5px;}
  .datos h4{margin: 60px 0 20px 0; font-size: 1.5em;}
  .datos h5{margin: 20px 0 0 0;}
  .datos div:nth-child(2) h5, .datos div:nth-child(1) h5{margin:0;}
  .ternua-group p{margin: 30px 0;}
  .sostenibilidad p{margin: 30px auto; text-align: center;}
  .col:first-child, .col:nth-child(2){width: 100%;}
  .data div div h3{margin-top: 0px;}
  .data div div:nth-child(1) h3, .data div div:nth-child(6) h3{margin-top: 28px;}
  .data div div h3{    padding-top: 15px;}
  div.contacto div:nth-child(3).direcciones{width: 100%;}
  header nav ul li{padding: 0px 3px;}
  header nav li a{padding: 18px 0px;}
  header nav ul:nth-child(2) li{padding: 0px 3px;}
  .wrap > section header {display: none; }
  div#btnMenu{display: block; }
  header nav ul li:nth-child(2), header nav ul li:nth-child(3), header nav ul li:nth-child(4), header nav ul:nth-child(2) li:nth-child(1) {display: none;}
  header nav ul li.volver {display: block!important; position: relative; top: 9px; }
  header{ width: 100%; background: rgba(0,0,0,0.5); height: 70px;}
  header nav { padding-top: 0px; }
  header nav ul:first-child li:first-child { width: 100px; height: 35px; top: 19px; position: relative; }
  header nav > ul:first-child { padding-left: 20px;}
  nav.dark li a{color: #FFF;}
  header nav.dark ul:first-child li:first-child{background-image: url(../images/logo-ternua.png);}
  header nav > ul:last-child { display: none; }
  header nav > ul:first-child { display: flex; width: 100%; justify-content: space-between; padding-right: 20px; align-items: center;}
    .commitment__green .comm__intro {
        font-size: 18px;
        line-height: 26px;
    }
    .commitment__green .comm__items {
        font-size: 16px;
        line-height: 26px;
    }
    .commitment__green .comm__wrap { 
        width: 95%;
    }
    .commitment__green .comm__header{
        background: none;
        height: auto;
    }
    .commitment__green .comm__header h2 {
        font-size: 28px;
    }
    .commitment__green .comm__header img {
        margin-right: 20px;
        width: 60px;
    }
    .commitment__green .comm__intro .comm__cols {
        flex-direction: column;
    }
    .commitment__green .comm__intro .comm__cols .comm__col {
        margoin-bottom: 40px;
    }
    .commitment__green .comm__intro .comm__cols .comm__col:last-child {
        margin-bottom: 0;
    }
    .commitment__green .comm__intro .comm__claim {
        padding: 0;
    }
    .commitment__green .comm__items .comm__item-cols {
        flex-direction: column;
    }
    .commitment__green .comm__items .comm__item-cols .comm__item-col {
        margin-bottom: 25px;
    }
    .commitment__green .comm__items .comm__item-cols .comm__item-col:last-child {
        margin-bottom: 0;
        
    }
    
}



@media screen and (max-width: 750px) {
  header nav ul:nth-child(2) li:nth-last-child(1) a {padding: 15px 9px;}
  header nav li a {padding: 14px 4px;}
  header nav ul:first-child {width: 76%;}
  header nav ul:nth-child(2) {width: 24%;}
  header nav ul:nth-child(2) li:nth-last-child(1) a{padding: 15px 0px; border: none;}
}

@media screen and (max-width: 675px) {
  header{width: 100%;}
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {float: right; display: block;}
  header nav ul li:nth-child(2), header nav ul li:nth-child(3), header nav ul li:nth-child(4), header nav ul:nth-child(2) li:nth-child(1) {display: none;}
  div#btnMenu{display: block;}
  header{background: rgba(0,0,0,0.5); height: 70px;}
  .con{padding: 20px 20px;}
  .dark .bar{background: #FFF;}
  header nav li a {padding: 11px 22px;}
  .valores-thumb div:nth-of-type(2) div h2{font-size: 3em;}
  .datos h4{font-size: 1.2em;}
  .data div div p{ font-size: 1.4rem;}
  .data div div h3{font-size: 2.5em;}
  .portada{animation: none; background-size: cover;}
  

}

@media (max-width: 480px){
 .portada .titular h2{width: 90%; margin: 20px auto;}
 .ternua-group p{font-size: 0.6em;}
 .ternua-group a {width: 70%;}
 .ternua-group hr, .time hr{margin: 20px auto 23px auto; width: 20%;}
 .ternua-group a{margin: 30px auto;}
 .ternua-group h2, .brands h2, .time h2{font-size: 2em;}
 .brands-txt{height: 20vh;}
 .brands .brands-txt h2, .brands .brands-txt hr{display: none;}
 .wrap img{width: 50px;}
 section, .wrap{height: 80vh;}
 .wrap SECTION.opendiv P a img{width: 16%;}
 .wrap SECTION.opendiv P a{width: 115px;}
 .wrap SECTION.opendiv P{font-size: 0.8em;}
 .col{width: 100%;}
 .fecha-a{margin-top: -48px; font-size: 1em;}
 .ternua-group h3{margin: 60px auto 15px auto;}
 .datos h4{font-size: 1.1em;}
 #cuatro hr{margin: 14px auto 36px auto; }
 .sostenibilidad .col h3, .valores-thumb div:nth-of-type(2) div h2{font-size: 2em;}
 .col:first-child{margin: 0;}
 .portada.valores .titular p{font-size: 0.8em;}
 .portada.valores .titular p:first-of-type{margin-top: 30px;}
 .portada.valores .titular p:last-of-type{margin-bottom: 30px;}
 .valores-thumb div:nth-of-type(1){height: 15vh;}
 .valores-thumb div:nth-of-type(2){height: 85vh;}
 .ternua-group hr, .time hr{margin: 10px auto;}
 .dot{height: 200px; width: 200px; margin: 5vh 0;}
 .sports div:nth-child(2) div{width: 100%;}
 .sports div:nth-child(2) div:nth-child(2){margin: 25px 0;}
 .data{height: 120vh;}
 .data div{top: 5%; transform: translateY(-5%);}
 .data div div:nth-child(1), .data div div:nth-child(2), .data div div:nth-child(3){margin: 20px 0 0 0;}
 .data div div{width: 48%; margin-top: 20px;}
 .data div div h3{font-size: 2em;}
 .swiper-container {width: 100%; height: 300px;}
 .time h2{margin-top: 100px;}
 .timestamp{width: auto;}
 .status{padding: 0;}
 .status span{width: 100%;}
 .swiper-container{margin: 25px 0;}
 footer {padding: 20px 5% 70px 5%;}
 footer ul li{padding: 5px 12px;}
 footer div:first-child{margin-bottom: 20px;}
 .valores-thumb div:nth-of-type(2) div ul{font-size: 0.7em;}
 div.ternua-group.sports {height: 100%;}
 .status span {width: 100%; font-size: 0.8em;}
 .portada .titular h1{font-size: 2.7em;}
 select.country {width: 65%;}
div.contacto .contact-black div:nth-child(1) p{margin-left: 60px;}
div.contacto .contact-black{top: 200px;}
div.contacto .contact-black div:nth-child(1){margin: 0 auto 60px auto;}
.resultado{width: 50%;}
.resultado h2, .resultado p{font-size: 0.6em;}
nav.dark li a{color: #FFF;}
.prioridad p, .prioridad h3{width: 90%; }
.prioridad h3{font-size: 1.7em;}
.prioridad p{font-size: 0.8em;}
.prioridad{padding: 80px 0;}
.ternua-group .group-txt{position: relative; top:0; transform: translateY(0);}
div.ternua-group{height: 100%;}
.col img{margin-bottom: 20px;}
.group-txt h2{margin-top: 20px;}
img.guion, img.guion2 {width: 4px;}
.time h2{margin:0;}
.empresa-top img{margin-top: 74px;}
.ternua-group h2, .brands h2, .time h2, .portada .titular h3{font-size: 2em;}
.valores .titular p:nth-child(7) {padding-bottom: 25px;}
.valores a{font-size: 0.8em;}
.brands .brands-txt hr, .portada hr{margin: 20px auto 25px auto;}
.empresa img{display: none;}
.time h2{margin-bottom: -20px;}
.sostenibilidad{width: 95%;}
.datos DIV{width: 48%;}
.datos DIV:nth-child(3), .datos DIV:nth-child(4){margin: 20px 0;}
.datos{padding-top: 20px;}
.datos h4{font-size: 1.2em;}
.ternua-group .datos a {margin: 0; padding: 0;}
.col a img {width: 9%; top: 22px;}
.datos div:nth-child(2) h5, .datos div:nth-child(1) h5 {margin-top: 10px;}
.sostenibilidad div:nth-child(2) img{padding: 0;}
.data div div img{margin-top: 20px;}
.data div div h3{margin-top: 0px;}
.data div div:nth-child(1) h3, .data div div:nth-child(6) h3{margin-top: 20px;}
.carousel-cell{width: 30%;}
div.contacto div:nth-child(3).direcciones{font-size: 1.6em; margin: 0 0 100px 15px;}
.option{line-height: 0.2em; font-size: 1em; margin: 0; padding: 0; height: 10px; min-height: 50px !important;  }
div.contacto .contact-black p{margin-left: 5%;}
.resultado{margin-top: 5px; font-size: 0.8em !important;}
div.contacto .contact-black{top:10%; width: 100% !important; margin-bottom: 35px;}
div.contacto div:nth-child(3).direcciones{width: 100% !important;}
.dot p img{margin: -25px auto 15px auto;}
.fecha{font-size: 1em; margin-top: 184px;}
.empresa{font-size: 0.8em;}
div#dos p{margin: 10px auto;}
.portada{animation: none; background-size: cover;}
/*.seccion div div:nth-child(2) {margin-top: 30px;}*/
.brands-txt {height: 0;}
section, .wrap{height: 100vh;}
.datos h4{margin: 30px 0 20px 0;}
.wrap > section .brands section { padding: 0; }
.wrap > section .brands section.closediv { width: 50px; }
.wrap > section .brands section.opendiv { width: calc(100vw - 200px); padding: 0 20px; }
.wrap > section.closediv img{ width: 35px; }
.wrap > section.opendiv img{ width: 35px; }

}

@media (max-width: 365px){

}

/* Cambios para añadir PDF en sostenibilidad (Oier 06-02-2024) */
.sostenibilidad .datos{display: flex;}
.download-sost{ float: left;  height: auto !important; margin: 0 !important; padding: 10px !important; display: flex !important; align-items: center; justify-content: center;}
.download-sost p{ margin: 0; width: auto !important; height: auto !important;}
.download-sost img{ margin: 0; padding: 0; transform: rotate(90deg) scale(60%); top: inherit; left: inherit; position: static !important;}
.linea{ width: 100%; height: 1px; background-color: #000; margin: 20px 0 40px;}
@media screen and (max-width: 750px) {
  .sostenibilidad .datos{display: flex; flex-direction: row; flex-wrap: wrap;}
  .download-sost img{ transform: rotate(90deg) scale(100%);}
}


/* oO CAMBIOS PARA AÑADIR CERTIFICADO Y TODOS LOS LOGOS EN HERO 30-SEPT-2024 Oo */
#uno h2{ width: 80%; padding: 0 10%; line-height: 120%; }
#uno p{ width: 80%;  padding: 0 10%; line-height: 120%; }
#uno .certificado{}
#uno .certificado img{ margin-top: 40px; max-height: 120px; }
#uno .certificado p{ margin-top: 15px; }
#uno .logos_ternua_group{ width: 80%; padding: 0 10%; position: absolute; bottom: 110px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;  gap: 30px; }
#uno .logos_ternua_group img{ height: 40px; max-width: 140px;}
#uno .logos_ternua_group .logo_corto{ height: 40px; max-width: 120px;}
#uno .logos_ternua_group .logo_largo{ height: 40px; max-width: 200px;}

@media screen and (max-width: 1366px) {
  #uno .logos_ternua_group{  bottom: 90px; }
}

@media screen and (max-width: 1024px) {
  #uno .logos_ternua_group{  width: 60%; padding: 0 20%; }
}

@media screen and (max-width: 768px) {
  #uno .logos_ternua_group{  gap: 15px;  bottom: 70px; width: 90%; padding: 0 5%; }
}

@media screen and (max-width: 480px) {
  #uno .logos_ternua_group{  bottom: 60px; }
  #uno .titular{ top: 40%; }
}

@media screen and (max-width: 376px) {
  #uno .logos_ternua_group{ gap: 10px;   bottom: 60px; }
  #uno .logos_ternua_group img{ height: 20px;  max-width: 100px; }
  #uno .logos_ternua_group .logo_corto{ height: 20px; max-width: 90px;}
  #uno .logos_ternua_group .logo_largo{ height: 20px; max-width: 150px;}
  #uno .titular{ top: 35%; }
}

@media screen and (max-height: 600px) {
  #uno .logos_ternua_group{ width: 90%; padding: 0 5%; }
  #uno .logos_ternua_group img{ height: 20px;  max-width: 100px; }
  #uno .logos_ternua_group .logo_corto{ height: 20px; max-width: 80px;}
  #uno .logos_ternua_group .logo_largo{ height: 20px; max-width: 150px;}
}