header {
  background: #f4d300; /* 607D8B Cambio por color de logo*/ 
  border-bottom: 1px solid #BDBDBD;
  height: 3.5em;
}

header .container {
  border-bottom: none;
}

#container article {
  border-bottom: 1px solid #BDBDBD;
  padding-bottom: 1em;
}

#container article h2 {
  padding: 1em;
}

#container article .content {
  margin: 0 auto;
  text-align: center;
}

#container article .content #history {
  display: inline-block;
  padding: 1em;
  text-align: justify;
  vertical-align: top;
}

#container article .content #history ul {
  padding-left: 2em;
}

#container article .content #history ul li p sub {
  color: #757575;
  font-variant: small-caps;
}

#container article .content #ampetsa_video {
  display: inline-block;
  height: auto;
  width: 46%;
}

#container article .content #value {
  background: url(../assets/img/valores.png);
  background-size: 100% 100%;
  height: 20em;
  width: 100%;
}

#container article .content .abstract {
  background: #F6DF4A;
  border-left: 0.5em solid #F4D300;
  margin: 0 auto;
  margin-bottom: 1em;
  min-width: 18.4375em;
  padding: 1em;
  text-align: justify;
  width: 70%;
}

#container article .content .front figure {
  max-height: 18.4375em;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

#container article .content .front figure img {
  margin-top: -30%;
  width: 100%;
}

#container article h2{
  font-size: 2em;
  text-align: left;
}

#container article .content .front h3 {
  padding: 1em 0;
}

#container article .content .front ul li {
  background: #F6DF4A;
  border-left: 0.5em solid #F4D300;
  display: inline-block;
  font-variant: small-caps;
  font-weight: bold;
  list-style: none;
  margin: 1% 1.5%;
  min-width: 18.75em;
  padding: 1em;
  width: 30%;
}

#container article .content .front ul li:hover {
  background: #F4D300;
  border-left: 0.5em solid #F4D300;
  color: #7F7F7F;
}

#container article .content .material-desc {
  background: #65F4FF;
  display: inline-table;
  margin: 1em 0;
  overflow: hidden;
  width: 100%;
  
  transition: all 0.3s;
}
#container article .content .material-desc:hover{
  transform: scale(1.07);
}

#container article .content .material-desc h3 {
  background: #F6DF4A;
  padding: 0.5em;
}

#container article .content .material-desc p {
  padding: 0.5em;
  text-align: justify;
}

#container article .content .mision-vision {
  background-color: #65F4FF;
  text-align: justify;
  width: 100%;
  
  transition: all 0.3s ease;
}
#container article .content .mision-vision:hover {
  transform: scale(1.07);
}

#container article .content .mision-vision h3 {
  background-color: #F6DF4A;
  padding: 0.5em;
  text-align: center;
}

#container article .content .mision-vision p {
  padding: 0.5em;
}

#container article#contact .card {
  background: #65F4FF;
  box-shadow: 0 0.1875em 0.375em rgba(0, 0, 0, 0.16), 0 0.1875em 0.375em rgba(0, 0, 0, 0.23);
  display: inline-block;
  margin-bottom: 1em;
  min-width: 18.125em;
  padding: 1em;
  vertical-align: top;
  width: 100%;
}

#container article#contact .card h3 {
  padding: 0.5em;
}

#container article#customers .content .customer-badge {
  background: #65F4FF;
  display: inline-block;
  margin: 1% 0.5%;
  max-height: 18.125em;
  min-height: 18.125em;
  min-width: 18.125em;
  overflow: hidden;
  position: relative;
  text-align: justify;
  vertical-align: top;
  width: 20%;
  
  transition: all 0.25s ease;
}
#container article#customers .content .customer-badge:hover{
  transform: scale(1.08);
}

#container article#customers .content .customer-badge img {
  position: absolute;
  max-height: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

#container article#eco figure {
  max-height: 18.125em;
  overflow: hidden;
  width: 100%;
}

#container article#eco figure img {
  max-width: 100%;
}

#container article#eco .content p {
  padding: 1em;
  text-align: justify;
}

#container article#eco .content ul {
  list-style: none;
}

#container article#eco .content ul li {
  background: #65F4FF;
  border-left: 0.75em solid #F4D300;
  border-right: 0.75em solid #F4D300;
  margin-bottom: 1em;
  padding: 1em;
  transition: all ease-in 0.25s;
}

#container article#eco .content ul li sub {
  color: #757575;
  font-variant: small-caps;
}

#container article#eco .content ul li:hover {
  background: #F6DF4A; /* FFC107 Cambio de color de resaltadoFFE74C*/
  
  transform: scale(1.07);
}

.current {
  background-color: #FFE74C;
}

#mat-cerro ul li div span p{
  font-variant: normal;
  font-weight: normal;
}

#mat-cerro ul li #lower{
  font-variant: normal;
  font-weight: normal;
}

/* TOOLTIP BEGIN */
.tooltip{
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip-img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: auto;
  padding: 10px 0;
}

.tooltip .tooltiptext{
  visibility: hidden;
  width: 280px;
  background-color: #F6DF4A;
  color: #555555;
  text-align: justify;
  padding: 5px 10px;
  border-radius: 6px;
  
  /* position */
  position: absolute;
  z-index: 2;
  top: -5px;
  right: 108%;
  
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-bottom .tooltiptext{
  top: 160%;
  left: 50%;
  margin-left: -140px;
}

.tooltip-right .tooltiptext{
  top: -5px;
  left: 100%;
  margin-left: 10px;
}

/* RIGHT ARROW */
.arrow-right .tooltiptext::after{
  content: "";
  position: absolute;
  top: 7%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #404040;
}

/* LEFT ARROW */
.arrow-left .tooltiptext::after{
  content: "";
  position: absolute;
  top: 7%;
  right: 100%;
  margin-top:-5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #404040 transparent transparent;
}

/* TOP ARROW */
.arrow-top .tooltiptext::after{
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #404040 transparent;
}

/* BOTTOM ARROW */


/* SHOW TOOLTIP LEFT */
.tooltip:hover .tooltiptext{
  visibility: visible;
  opacity: 1;
}

/* SHOW TOOLTIP BOTTOM */
.tooltip-bottom:hover .tooltiptext{
  visibility: visible;
  opacity: 1;
}

/* =================================== */
/* ========== MEDIA QUERIES ========== */
/* =================================== */

@media only screen and (max-width:62.0625em){
  #container article .content #ampetsa_video{
    display: inline-block;
    width: 90%;
    height: auto;
  }
  
  #container #eco .content{
    margin: 0 2em;
  }

  #container article .content .mision-vision:hover{
    transform: scale(1.0);
  }
  
  #container article .content .mision-vision{
    display: inline-table;
  }

  #container article .content #mision-top{
    margin-bottom: 1em;
  }
  #container article .content #mision-bottom{
    margin-top: 1em;
  }

  #container article .content .material-desc:hover{
    transform: scale(1.0);
  }

  #container article .content .material-desc p{
    margin: 0 0.5 em;
  }

  #container article#customers .content .customer-badge:hover{
    transform: scale(1.0);
  }
  
}

@media screen and (min-width: 62.0625em) {
  #container article .content .material-desc {
    margin: 1em;
    width: 47%;
  }
}

@media screen and (min-width: 62.0625em) {
  #container article .content {
    box-sizing: border-box;
    padding: 0;
  }
  #container article .content #history {
    margin-left: 4%;
    max-width: 46%;
    padding: 0;
  }
  
  #container article .content #value {
    margin: 0 auto;
    width: 50%;
  }
  #container article .content .mision-vision {
    display: inline-block;
    margin-top: 1em;
    vertical-align: top;
    width: 47%;
  }
  #container article .content .mision-vision:last-child {
    margin-left: 2em;
    height: 100%;
  }
}

@media screen and (min-width: 62.0625em) {
  #container article#contact .card {
    margin: 0 auto;
    margin-left: right;
    margin-right: 2%;
    width: 30%;
  }
}

@media screen and (min-width: 62.0625em) {
  #container article#eco figure {
    max-height: 30em;
    height: 100%;
  }
}

@media screen and (min-width: 62.0625em) {
  #container article#eco .content {
    max-width: 70%;
  }
}