
/* --------------------------------------
   Typography
   -------------------------------------- */


   @font-face {
      font-family: 'infantil';
      src: url('../../../../fonts/infantil/infantil.eot'),
      url('../../../../fonts/infantil/infantil.woff') format('woff'),
      url('../../../../fonts/infantil/infantil.ttf') format('truetype'),
      url('../../../../fonts/infantil/infantil.svg') format('svg');
   }


   #fototecaBoton{
      width: 175px;
      background-color: #6ba5a6;
      color: #fff;
      border: none;
      font-size: 2em;
   }
   .no-touch #fototecaBoton:hover,.no-touch #fototecaModal .botonModal:hover,.no-touch .inputCV:hover{
      color: #fff;
      background-color: #d17333;
   }
   #fototecaModal{
      padding-top: 5%;
      font-size: 1.1em;
   }
   #fototecaModal .modal-dialog{

   }
   .help-block{
      margin-bottom: 0;
      padding-bottom: 0; 
   }
   .modal-body{
      padding-bottom: 0;
   }
   #fototecaModal .modal-header{
      color: #fff;
      text-align: center;
      background-color: #d17333;
      border-top-left-radius: 0.3em;
      border-top-right-radius: 0.3em;
   }

   #fototecaModal .botonModal{
      background-color: #6ba5a6;
      color: #fff;
      font-size: 1.37em;
      border: none;
   }
   #formLabel{
      font-size: 1.5em;
      color: #2e2e2e;
   }
   #resultadoPDFDiv{
      min-height: 15px;
   }
   #resultadoSubidaPDF{
      text-align: left;
      color: #d17333;
   }




/*-----------------------
        Fototeca
-----------------------*/
  #fototecaContenido{
    padding: 0.5em;
  }
   #fotos{
      display: none;
      padding-left: 0.1em;
      padding-right: 0.1em;
      padding-bottom: 5em;
   }

   #fotos h1{
      text-align: center;
      color: #d17333;
   }

  .foto{
    padding: 0.35em;
    padding-bottom: 0.1em;
    min-height: 18em;
   }
   .foto section{
      margin-top: 0.1em;
      margin-bottom: 0.5em;
      border-radius: 3px;
      background-color: #fff;
      padding:1em;
      /*padding-top: 0.35em;*/
      width: 100%;
      height: 100%;

      -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
      -ms-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
      -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
      box-shadow: 0 1px 0 rgba(0,0,0,0.1);
   }
   .foto section article{
    padding-top: 0;
   }
   .foto h3,#tituloFoto{
    width: 100%;
    padding: 0;
    margin: 0.1em;
    color: #e67e22;
    font-size: 1.75em;
    text-align: center;
   }
   .foto p{
    margin: 0;
    padding: 0.1em;
    padding-bottom: 2em;
    font-size: 18px;
    max-height: 15em;
    overflow-y:hidden;
   }
   .foto img{
      margin: 0 auto;
      width: 100%;
      height: auto;
   }
   .foto .divFoto{
      max-width: 18em;
      margin: auto;
   }
    .foto .imagenFotoBg{
      width:  100%; 
      height: 14em;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .foto img:hover, .foto .imagenFotoBg:hover{
      cursor: pointer;
    }
   .fotoAbierta section{
      padding: 1em;
      margin-bottom: 1em;
   }
   .fotoAbierta h1{
    font-size: 1.3em;
    text-align: center;
   }
   .fotoAbierta img{
    width: 100%;
    height: auto;
    max-height: none;
   }
   #antFotos, #sigFotos{
      font-size: 2.75em;
      color: #6ba5a6;
      padding: 0.35em;
   }
   #antFotos:hover, #sigFotos:hover{
      color: #d17333;
      cursor: pointer;
   }
    .volverF{
    text-align: center;
    font-size: 1.5em;
    display: none;
    color: #d17333;
   }
   .volverF:hover{
    cursor: pointer;
   }

   #fotoModal{
      margin: auto;
      width: auto;
      max-width: 100%;
      max-height: 100%;
      opacity: 1;
   }
   #fotoModal .modal-dialog{
      right: auto;
      left: auto;
      width: auto;
      height: auto;
      max-width: 900px;
      padding-left: 5%;
      padding-right: 5%;
      max-height: 90%;
   }
   #fotoModal .modal-header{
      padding: 1.2em;
      margin: 0;
   }
  #fotoModal #fotoImg img{
      max-width: 100%;
      max-height: 100%;
      margin: auto;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
  }
  #fotoModal .modal-body{
    background-color: #777;
    position: relative;
    text-align: center;
    padding: 0 0 70% 0;
  }
  .closeFoto:hover {
    cursor: pointer;
    color: #e67e22;
    border: none;
  }
  .closeFoto {
    position: absolute;
    right: 0.2em;
    top: 0.2em;
    background: none;
    border: none;
    font-size: 1.75em;
    color: #555555;
  }
  .cambiarFoto{
    position: absolute;
    font-size: 3.5em;
    color: #fff;
    border: none;
    background: none;
  }
  .cambiarFoto:hover{
    color: #d17333;
    cursor: pointer;
    border: none;
  }
  .antFoto{
    position: absolute;
    left: -0.5em;
    top: 40%;
  }
  .sigFoto{
    position: absolute;
    right: -0.5em;
    top: 40%;
  }

/*-------------*/
@media (max-width: 980px) {
  .foto{
    min-height: 12em;
   }
  .foto section{
    padding: 0.75em;
   }
    .foto .imagenFotoBg{
      height: 12em;
    }
}
/* Landscape phone to portrait Tablet */
@media (max-width: 780px) {
   .foto p{
    max-height: none;
  }
  .foto{
    padding-bottom: 0.1em;
    min-height: 100%;
   }
    .foto section{
      margin-top: 0.1em;
      margin-bottom: 0.1em;
      width: 100%;
  }

    #fotoModal #fotoImg img{
      position: relative;
  }
  #fotoModal .modal-body{
    padding: 0;
  }
}

@media (max-width: 540px) {
  .foto{
    min-height: 9em;
   }
  .foto section{
    padding: 0.5em;
   }
    .foto .imagenFotoBg{
      height: 9em;
    }
  .antFoto{
    top: 30%;
  }
  .sigFoto{

    top: 30%;
  }
  #fotoModal #fotoImg img{
      position: relative;
  }
  #fotoModal .modal-body{
    padding: 0;
  }

}

   /*#fotoModal{
      padding: 1.8em;
   }
   #fotoModal .modal-dialog{
      height: 90%;
      max-height: 90%;
      max-width: 100%;
      margin: auto;
   }
   #fotoModal .modal-header{
      padding: 0;
      margin: 0;
   }
  #fotoModal #fotoImg img{
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  #fotoModal .modal-body{
    padding: 0;
    background-color: #777;
    min-height: 100px;
  }
  .closeFoto:hover {
    cursor: pointer;
    color: #e67e22;
    border: none;
  }
  .closeFoto {
    position: absolute;
    right: 0.2em;
    top: 0.2em;
    background: none;
    border: none;
    font-size: 1.75em;
    color: #555555;
  }
  .cambiarFoto{
    position: absolute;
    font-size: 3.5em;
    color: #fff;
    border: none;
    background: none;
  }
  .cambiarFoto:hover{
    color: #d17333;
    cursor: pointer;
    border: none;
  }
  .antFoto{
    position: absolute;
    left: -0.25em;
    top: 40%;
  }
  .sigFoto{
    position: absolute;
    right: -0.25em;
    top: 40%;
  }


@media (max-width: 980px) {
  .foto{
    min-height: 12em;
   }
  .foto section{
    padding: 0.75em;
   }
    .foto .imagenFotoBg{
      height: 12em;
    }
}
@media (max-width: 780px) {
   .foto p{
    max-height: none;
  }
  .foto{
    padding-bottom: 0.1em;
    min-height: 100%;
   }
    .foto section{
      margin-top: 0.1em;
      margin-bottom: 0.1em;
      width: 100%;
  }
}

@media (max-width: 540px) {
  .foto{
    min-height: 9em;
   }
  .foto section{
    padding: 0.5em;
   }
    .foto .imagenFotoBg{
      height: 9em;
    }
  .antFoto{
    top: 30%;
  }
  .sigFoto{

    top: 30%;
  }

}*/