:root {
  --width: 100vw;
  --full-width: 100vw;
  --content-width: 1200px;

  /* @media (min-width: 42em) {
      --width: 42rem;
    } */

  --angle: -5deg;
  /*-----------------
    Magic Number Alert:
    
    the 0.09719 is calculated by this formula:
    tan(11°) / 2
    11° is the current skewY value.
    ------------------*/
  --magic-number: 0, 03935085341230922403137574465286;
  --skew-padding: calc(var(--width) * var(--magic-number));
  --clip-padding: calc(var(--full-width) * var(--magic-number));
  --border-width: 5px;
  --sombra-bloque: 0px 5px 15px 0px rgba(0,0,0,0.35);
}

.diagonal-box {
  position: relative;
  padding: var(--skew-padding) 0;
  margin-top: -1px;
}

.diagonal-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transform: skewy(var(--angle));
  transform-origin: 50% 0;
  outline: 1px solid transparent;
  backface-visibility: hidden;
}


h2 {
  color: #91BF20;
}

.bg-uno:before {
  background-color: #081E2C;
}

.bg-dos:before {
  background-image: linear-gradient(135deg, #91BF20, #E0F140);
}

.bg-tres:before {
  background-image: linear-gradient(-135deg, #007, #003);
}

.bg-cuatro:before {
  background-color: #FFF;
}

.content-d {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 5.5em 1rem;
  position: relative;

  /* -----------
    enable the border to see, that the content
    perfectly fits into the section withou
    bleeding into the adjecting areas:
    ------------ */
  /* border: 2px dashed #fff8; */
}

.bg-uno .content-d {
  color: #fff;
}

.bg-dos h2,
.bg-dos h3 {
  color: #fff;
}

.bg-dos .content-d {
  color: #3C3C3B;
}


/* --------------------
  Clip Path Update
  -------------------- */

.diagonal-clip-path {
  position: relative;
  margin-top: calc((var(--clip-padding) * -1) - 2px);
  /* background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 50%, 0, transparent 100%),
    linear-gradient(-135deg, #0cc, #066); */
  background-size: .5em .5em, 100% 100%;
  padding: calc((var(--clip-padding) * 2) - (var(--clip-padding) - var(--skew-padding))) 0 4em;
  clip-path: polygon(0% calc(var(--clip-padding) * 2),
      100% 0%,
      100% 100%,
      0% 100%);
  -webkit-clip-path: polygon(0% calc(var(--clip-padding) * 2),
      100% 0%,
      100% 100%,
      0% 100%);
}

.bg-map {
  /* background: url(../img/espana-3x.png) no-repeat;
  background-position: 55% center;
  background-size: contain;
  padding: 5rem 0;
  padding-top: 2em;
  min-height: 16em; */
  display: flex;
}


img.alcanceaudiencia {
  margin: auto;
  max-width: 100%;
  height: auto;
}


/* tipografias */

html {
  font-size: 100%;
  font-size: 18px;
}

/*16px*/

body {
  background: white;
  font-weight: 400;
  line-height: 1.75;
  color: #000000;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 3rem 0 1.38rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

small,
.text_small {
  font-size: 0.8rem;
}

/* fin tipografias*/



html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.flex {
  display: flex;
}

.flex-30 {
  flex-basis: 30%;
}

.flex-70 {
  flex-basis: 70%;
}

.flex-60 {
  flex-basis: 60%;
}
.flex-50 {
    flex-basis: 50%;
  }
.flex-40 {
  flex-basis: 40%;
}

.-flex-space-between {
  justify-content: space-between;
}

.-flex-space-evenly {
  justify-content: space-evenly;
}

.-flex-align-stretch {
  align-items: stretch;
}

.-flex-align-bottom {
  align-items: flex-end;
}

.-flex-center {
  justify-content: center;
}

.-flex-vertical-center {
  align-items: center;
}

.-flex-wrap {
  flex-wrap: wrap;
}

.barra-flotante {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #081E2C;
  border-bottom: solid 5px #91BF20;
  padding: .2rem 0;
  z-index: 50;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: .5em;
  padding-left: 1rem;
}

.logo {
  max-height: 2.5em;
  width: auto;
}
.bloque-logos {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.logos {
    max-width: 8rem;
    min-height: 5rem;
    height: auto;
    margin: 10px;
}
.navbar {
  max-width: var(--content-width);
  margin: auto;
}

.nav-principal {
  display: flex;
  min-width: 70%;
}

.nav-principal ul {
  margin: 0;
  padding: 0;
  display: flex;
  min-width: 100%;
  justify-content: space-around;
}

.nav-principal li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-principal a {
  color: #e4e4e4;
  font-variant: all-petite-caps;
  font-weight: 100;
  padding: .5rem;
  text-decoration: none;
  align-self: center;
  transition: all .2s;
  transform: translateZ(0);
}

.nav-principal a:hover {
  color: #caea56;
  text-shadow: 1px 2px 15px #c2ef22;
}

.nav-principal a.lang {
  border: solid 1px rgb(255 255 255 / 20%);
  border-radius: 5px;
  line-height: 1em;
}

.form-group {
  margin-bottom: 1rem;
}

.contenidos {
  max-width: var(--content-width);
  margin: auto;
  min-height: 80vh;
  margin-top: 10rem;
  padding: 1rem;
  margin-bottom: 5rem;
}

.contacto {
  max-width: 40rem;
  padding: 5rem;
  margin: auto;
  box-shadow: var(--sombra-bloque);
  margin-bottom: 4rem;
}

.contacto label {
  margin: 1rem;
}

.tablalineas td {
  border: solid gray thin;
  padding: 1em;
}

.contacto input, .contacto textarea {
  margin-bottom: 1rem;
  width: 90%;
  padding: .5rem;
  margin: .5rem;
  border: solid thin #081e2c;
}

#btn_send {
  padding: .8rem 4rem;
  margin: auto;
  display: block;
  margin-top: 2rem;
}

#checkbox_consent {
  width: auto;
  margin: auto;
  padding: initial;
  margin-left: .5rem;
}

/* slider */

.slider-column-txt {
  float: left;
  width: 40%;
}
.slider-column-slider {
  float: left;
  width: 50%;
  margin-left: 10%;
  margin-top: 8rem;
}
/* Clear floats after the columns */
.slider-row:after {
  content: "";
  display: table;
  clear: both;
}


.wmSlider .card {
  margin: 0 2rem;
}
.slider-block {
  /* flex: 1; */
  width: 500px;
  min-width: 0;
}

.anunciantes.slider-column-slider {
    float: initial;
    width: 100%;
    margin-left: initial;
}
.clientesSlider img.card--img {
  max-height: 100px;
}

.clientesSlider .card {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.anunciantes.slider-column-slider {
  margin-top: 0;
  margin-bottom: 4rem;
}

/* fin slider */

/* claim */

.b-txt-claim {
  font-weight: 700;
  text-align: center;
  color: #fff;
}
.b-txt-claim p {
  text-shadow: 0px 2px 4px #000000;
  padding: 0;
  margin: 0;
}
.b-txt-claim p.segunda {
  padding-top: .5em;
}
.b-txt-claim .enfasis {
  font-size: 6rem;
  line-height: 1em;
  margin: 0;
  color: #bae02f;
  text-shadow: 1px 3px 0px #495432, 0 15px 10px #000000;
}
footer {
  font-size: smaller;
  background: #91BF20;
  color: #0f1010;
  text-align: center;
  padding: 1rem;
  background-image: linear-gradient(247deg, hsl(77deg 71% 35%), hsl(66deg 86% 46%));
}
footer a {
  color: #ffffff;
  margin: .5rem;
}


/* bloque tope animado */
/* .container-anim {
  max-width: var(--content-width);
  margin: auto;
  padding: 1rem;
  padding-top: 30vh;
  padding-bottom: 5vh;
} */
/* .container-anim {
  width: 100%;
  margin: auto;
  padding-top: 30vh;
  padding-bottom: 0vh;
  background-image: url(../img/bg.png);
  background-size: contain;
  text-align: center;
  background-attachment: fixed;
} */

.header-bar {
  width: 100%;
  height: 50px;
  background-size: 50%;
  background-image: url(../img/bottom-web.png);
  background-repeat: repeat-x;
  background-position: bottom;
}

.container-anim {
  margin: auto;
  text-align: center;
  background: linear-gradient(-45deg, #081e2c, #19587d, #80aa2a, #c9d61c);
	animation: gradient 15s ease infinite;
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  display: flex;
  flex-wrap: wrap;
  align-content: end;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.wemass-anim {
  padding: 15vh 0 5vh 0;
  padding-top: calc(75px + 10vh);
  max-width: 300px;
  height: auto;
  margin: auto;
}

/* team */

.team-img {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 100%;
  height: auto;
  border-radius: var(--border-width);
  pointer-events: none;
  display: none;
  animation: fadeIn .5s;
  -webkit-animation: fadeIn .5s;
  -moz-animation: fadeIn .5s;
  -o-animation: fadeIn .5s;
  -ms-animation: fadeIn .5s;
  will-change: transform, opacity;
  box-shadow: var(--sombra-bloque);
}


/* .fade-in-image {
  animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s;
} */
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}
/* fade out */
/* @keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
}

@-moz-keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
}

@-webkit-keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
}

@-o-keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
}

@-ms-keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
} */

.menu {
	grid-area: content;
	display: flex;
	flex-wrap: wrap;
	position: relative;
	justify-content: flex-start;
	align-content: center;	
}

.menu__item {
	font-size: 5vw;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	margin: 2rem 2rem 2rem 0;
	position: relative;
	flex: 0 1 28%;
}

.menu__item:hover,
.menu__item:focus {
	color: #fff;
}

.menu__item:hover img.team-img,
.menu__item:focus img.team-img {
	display: block;
}

.menu__item:hover .menu__item-inner,
.menu__item:focus .menu__item-inner,
.menu__item:focus .menu__item-number,
.menu__item:hover .menu__item-number {
  text-shadow: 0px 1px 4px #000;
}

.menu__item-inner-wrap {
	overflow: hidden;
	position: relative;
}

.menu__item-inner {
	display: inline-block;
	margin-bottom: .5rem;
	will-change: transform, opacity;
}

.menu__item-number {
	/* font-size: 1.5vw; */
	font-size: .6em;
	display: block;
	/* font-family: soleil, sans-serif; */
}

/* fin team */


/*

.container-anim {
    
    margin: auto;
    padding: 1rem;
    padding-top: 80vh;
    padding-bottom: 5vh;
    background-image: url(../img/bg-header-ut3.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

*/



@media all and (max-width: 950px) { 

  .nav-principal a {
    font-size: 1rem;
  }
  .menu__item {
    flex: 0 1 40%;
  }
  .flex {
    flex-wrap: wrap;
  }
  .flex-30, .flex-70, .flex-60, .flex-40, .flex-50   {
    flex-basis: 100%;
  }
  .slider-column-txt, .slider-column-slider {
    width: 100%;
    margin-left: 0;
  }

}


/* When the browser is at least 600px and above */
@media screen and (max-width: 600px) {

  .menu__item {
    font-size: medium;
    display: flex;
    flex: 0 1 100%;
    margin: 2rem 0;
    
  }
  img.team-img {
    position: relative;
    width: auto;
    display: block;
    max-height: 5rem;
    bottom: auto;
    left: auto;
    margin-right: 1rem;
  }
  .logos {
    min-height: 3rem;
  }
  .content-d {
    padding: 2rem 1rem;
  }
  .slider-column-slider {
    margin-top: 1rem;
  }
  .wmSlider .card--img {
    max-height: 8rem;
  }
  .barra-flotante {
    padding: 0;
  }
  .nav-principal {
    overflow: hidden;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .logo-container {
    padding: .2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  .navbar {
    flex-wrap: nowrap;
  }
  .logo {
    max-height: 1rem;
  }
  .menu__item:hover,
  .menu__item:focus {
    color: initial;
    text-shadow: none;
  }
}

