/* Modal */
.modalDialog {
  cursor: pointer;
}

.modalDialog:hover,
.content-button-close:hover {
  color: white !important;
}

.modalDialog {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,0.8);
        z-index: 99999;
        opacity:0;
        pointer-events: none;
    }

    .modalDialog:target {
        opacity:1;
        pointer-events: auto;
    }
/*
    .modalDialog > div {
        width: 65%;
        position: relative;
        margin: 10% auto;
        padding: 5px 20px 13px 20px;
        background: #fff;
    }

    */

    .modalDialog > div {
      position: fixed;
      top: 15%;
      left: 18%;
      width: 65%;
      margin-top: -35px;
      text-align: center;
      overflow-y: scroll;
      max-height: 100%;
      background: #fff;
      overflow-x: hidden;
      }

    .close {
        background: #606061;
        color: #FFFFFF;
        line-height: 25px;
        position: absolute;
        right: 2%;
        text-align: center;
        top: 4%;
        width: 24px;
        text-decoration: none;
        font-weight: bold;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        -moz-box-shadow: 1px 1px 3px #000;
        -webkit-box-shadow: 1px 1px 3px #000;
        box-shadow: 1px 1px 3px #000;
    }

    .close:hover { background: white; }

h1.title-modal {
  margin: 27px 0 31px 0;
  padding: 0 15px;
}

.elegant-modal hr.line-modal {
  border: 1px solid #F2F2F2;
}

.elegant-modal p.paragraph-modal {
  font-size: 18px;
  margin-top: 20px;
  padding: 0 45px;
  color: black;
  font-weight: 100;
}

p.paragraph-modal{
  width: 90%;
  margin: auto;
  margin-top: 25px;
  text-align: left;
}

.textoperfil{
  float: left;
  width: 60%;
  margin: auto;
}

.imgperfil{
  float: left;
  width: 37%;
  margin: auto;
  padding-bottom: 23px;
  margin-top: -20px;
}

.linkcatalogo{
  margin-top: 20px;
  margin-bottom: 5%;
}

.imgtecn{
  float: left;
  width: 50%;
  margin-left: 20px;
  padding-bottom: 10px;
}

.imgtipo{
  float: left;
  width: 40%;
  margin-left: 30px;
  margin-bottom: 15px;
}


h1.title-modal{
  text-align: center;
  font-weight: bold;
}

p#tituloeficiencia{
  font-weight: bold;
  margin-top: 10px;
}

p#textoeficiencia{
  font-weight: 100;
  margin-top: 0;
}

.eficiencia_1{
  margin-left: 160px;
  margin-top: 10px;
  float: left;
}

.eficiencia{
  margin-left: 160px;
  margin-top: 10px;
  float: left;
}

img.imgcorteperfil{
  width: 84% !important;
  margin: auto;
  margin-bottom: 10px !important;
  margin-top: 26px;
}

@media only screen and (max-width: 500px){
  .textoperfil{
  float: none;
  width: 100%;
  margin: auto;
  }

  .imgperfil{
    float: none;
    width: 100%;
    margin: auto;
    padding-bottom: 0;
  }

  .imgtecn{
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .imgtipo{
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .modalDialog > div {
  position: fixed;
  top: 5%;
  left: 5%;
  width: 90%;
  margin-top: -35px;
  text-align: center;
  overflow-y: scroll;
  max-height: 100%;
  }

  p.paragraph-modal{
  width: 95%;
  margin: auto;
  }

  .elegant-modal p.paragraph-modal{
    padding: 0;
  }

  .close {
  top: 7px;
  right: 25px;
  }

  .eficiencia_1{
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .linkcatalogo{
  margin-left: auto;
  width: 90%;
  margin-top: 15px;
  margin-bottom: 15px;
  }
}