html {
  width: 100%;
  height: 100%;
}

body.productos {
  color: #333;
  height: 100%;
}

body.productos h2.productos {
    color: white;
    font-weight: 300;
    font-size: 40px;
}

.titulo-productos{
  display: inline-block;
  height: 220px;
  width: 100%;
  background-image: url("../img/titulo-proyectos.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 40px;
}

.titulo-catalogo{
  display: inline-block;
  height: 330px;
  width: 100%;
  background-image: url("../img/titulo-catalogo.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 40px;
}

.titulo-caja {
    padding-top: 0px;
}

body.productos .titulo-caja h2.titulo {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Cairo', sans-serif;
    font-size: 50px;
    color: black;
    margin-top: 67px;
}

.tabs {
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: relative;
    width: 70%;
    height: auto;
    padding-top: 100px;
}

.tabs input[name="tab-control"] {
  display: none;
}

.tabs .content section h2,
.tabs ul li label {
  font-weight: bold;
  font-size: 18px;
}

.tabs ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 33.3%;
  padding: 0;
  text-align: center;
}

.tabs ul li.catalogo {
  width: 50%;
}

.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #000;
  padding: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}

.tabs ul li label:hover {
  outline: 0;
  color: white;
  background: rgb(230,185,128);
  -webkit-box-shadow: inset 0 13px 10px #EACDA3;
  -moz-box-shadow: inset 0 13px 10px #EACDA3;
  box-shadow: inset 0 13px 10px #EACDA3;
  border-radius: 8px;
}

.tabs ul li label:focus, .tabs ul li label:active {
  outline: 0;
  color: white;
  opacity: 0;
}

.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  z-index: 2;
  width: 33.3%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

.bg-slider {
  background-color: #F3F4F6;
  display: block;
  height: 50px;
  width: 100%;
  position: relative;
  margin-top: -50px;
  z-index: 1;
  border-radius: 8px;
}

.tabs .slider.catalogo {
  width: 50%;

}

.tabs .slider .indicator {
  position: relative;
  width: 100%!important;
  max-width: 100%;
  margin: 0 auto;
  height: 50px;
  background: black;
  border-radius: 8px;
  margin-top: -50px;
}

.tabs .content {
      margin-top: 0;
}

.tabs .content section {
  display: none;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  line-height: 1.4;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  pointer-events: none;
  color: white;
  /* background: black; */
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
  fill: black;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  pointer-events: none;
  color: white;
  /* background: black; */
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
  fill: black;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
  cursor: default;
  pointer-events: none;
  color: white;
  /* background: black; */
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
  fill: black;
}

.tabs .slick-list.draggable {
  overflow: visible;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  -webkit-transform: translateX(200%);
          transform: translateX(200%);
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
  cursor: default;
  color: black;
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
  fill: black;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  -webkit-transform: translateX(300%);
          transform: translateX(300%);
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}
@-webkit-keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}

@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}


@media (max-width: 768px){
  .tabs {
      width: 100%;
      padding-top: 80px;
  }

  .tabs .content {
    margin-top: 10px;
  }

  body.productos .titulo-caja h2.titulo {
    font-size: 7vw;
    width: 80%;
    margin: 20px auto 0 auto;
  }

  .tabs ul li label {
    font-size: 4vw;
    line-height: 5vw;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .titulo-productos, .titulo-catalogo {
    height: 25vw;
    margin-top: 50px;
    margin-bottom: 0px;
    background-position: center;
  }

  body.productos h2.productos {
    font-size: 27px;
  }

  .tabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }

  .bg-slider {
    width: 98%;
    margin: 0 1%;
    margin-top: -50px;
}

  .tabs ul li label:hover {
    outline: 0;
    color: white;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 8px;
  }

  .tabs .slider .indicator {
    width: 95%!important;
    max-width: 95%;
    margin: 0 2.5%;
    height: 49px;
    margin-top: -49px;
}

  .tabs .content section h2 {
    display: block;
  }
}


/********************************** ventanas emergentes proyectos **********************************/

a.close {
  position: absolute;
  right: 20px;
  top: 6vh;
}

.close svg {
  width: 16px;
}

.modal-wrapper {
  background: rgba(0, 0, 0, 0.9 );
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  z-index: 99;
  right: 0;
  top: 0;
}

.modal-proyecto {
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  visibility: hidden;
}
.modal-proyecto:target {
  opacity: 1;
  visibility: visible;
}
.modal-proyecto:target .modal-body {
  opacity: 1;
}
.modal-proyecto .modal-body {
  width: 96%;
  max-width: 1280px;
  height: 90vh;
  margin-top: 5vh;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  z-index: 1;
  background-color: transparent;
  overflow-y: scroll;
  padding-right: 5px;
  background: #303030;
  display: flex;
  flex-flow: column;
  row-gap: 50px;
  align-items: baseline;
}

.modal-proyecto .modal-body svg path{
  fill: white
}

.modal-proyecto .modal-body img{
  width: 100%;
  display: block
}

.modal-body.card::-webkit-scrollbar {
    background: #00000047;
    width: 7px;
    border-radius: 5px;
}

.modal-body.card::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 5px;
}

#modal-selknam .modal-body{
  background: #0b0b0b;
  background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(11,11,11,1) 85%);
}

#modal-kanna .modal-body{
  background: #aec155;
}

#modal-govindas .modal-body{
  background-image: url("../img/proyectos/popup/branding/govindas-bg.jpg");
  background-repeat: repeat;
}

#modal-primavera .modal-body {
  display: flex;
  align-items: center;
  background: rgba(252,199,163,1);
  background: -moz-radial-gradient(center, ellipse cover, rgba(252,199,163,1) 0%, rgba(249,130,76,1) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(252,199,163,1)), color-stop(100%, rgba(249,130,76,1)));
  background: -webkit-radial-gradient(center, ellipse cover, rgba(252,199,163,1) 0%, rgba(249,130,76,1) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(252,199,163,1) 0%, rgba(249,130,76,1) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(252,199,163,1) 0%, rgba(249,130,76,1) 100%);
  background: radial-gradient(ellipse at center, rgba(252,199,163,1) 0%, rgba(249,130,76,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcc7a3', endColorstr='#f9824c', GradientType=1 );
}

#modal-abeja img,
#modal-machi img,
#modal-mapuche img,
#modal-modo-rueda img,
#modal-selknam img,
#modal-primavera img,
#modal-kanna img,
#modal-govindas img {
  height: 100%;
  width: auto;
  margin: 0 auto;
}

.proyecto {
  margin: auto;
}

@media (max-width: 768px){

  .modal-proyecto .modal-body {
    align-items: center;
    height: 86vh;
    margin-top: 7vh;
  }

  a.close {
    top: 2vh;
  }

  #modal-abeja .modal-body,
  #modal-machi .modal-body,
  #modal-mapuche .modal-body,
  #modal-modo-rueda .modal-body,
  #modal-selknam .modal-body,
  #modal-primavera .modal-body,
  #modal-kanna .modal-body,
  #modal-govindas .modal-body {
    align-items: center;
    justify-content: center;
  }

  #modal-abeja img,
  #modal-machi img,
  #modal-mapuche img,
  #modal-modo-rueda img,
  #modal-selknam img,
  #modal-primavera img,
  #modal-kanna img,
  #modal-govindas img {
    height: auto;
    width: 100%;
  }

}


