
  body, html{
    height:100%;
    margin:0;
    font-size:16px;
    font-family: verdana;
    font-weight:400;
    line-height:1.8em;
    color:#666;
  }

  .pimg1, .pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7{
    position:relative;
    opacity:0.70;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
  }

  .pimg1{
    background-image:url('../img/image1.jpg');
    min-height:100%;
  }

  .pimg2{
    background-image:url('../img/image2.jpg');
    min-height:300px;
  }

  .pimg3{
    background-image:url('../img/image3.jpg');
    min-height:300px;
  }

  .pimg4{
    background-image:url('../img/image4.jpg');
    min-height:300px;
  }

  .pimg5{
    background-image:url('../img/image5.jpg');
    min-height:300px;
  }

  .pimg6{
    background-image:url('../img/image6.jpg');
    min-height:300px;
  }

  .pimg7{
    background-image:url('../img/image7.jpg');
    min-height:300px;
  }

  .section{
    text-align:justify;
    padding:20px 50px;
    min-height: 300px;
  }

  .section-light{
    background-color:#f4f4f4;
    color:#21368B;
  }

  .section-dark{
    background-color:rgba(0, 105, 144, 1);
    color:#eeeeee;
  }

  #nosotros{
    padding-top: 40px;
  }

  .footer{
    background-color:rgba(0, 198, 203, 1);
    color:#ffffff;
    text-align:center;
    padding-bottom: 30px;
  }

  .footer a{
    color:#ffffff;
  }

  .footerBar{
    background-color:rgba(0, 140, 153, 1);
    width: 100%;
    height: 20px;
  }

  .ptext{
    position:absolute;
    top:50%;
    width:100%;
    text-align:center;
    color:#000;
    font-size:27px;
    letter-spacing:8px;
    text-transform:uppercase;
  }

  .ptextlogo{
    position:absolute;
    top:5%;
    width:100%;
    text-align:center;
    color:#000;
    font-size:27px;
    letter-spacing:8px;
    text-transform:uppercase;
  }

  .ptext .border{
    background-color:#111;
    /*color:#111b74;*/
    color:#111B74;
    padding:20px;
  }

  .ptext .border.trans{
    background-color:transparent;
    text-shadow: 2px 2px 2px #ffffff;
  }

  /* Turn off parallax scrolling for tablets and phones */
  @media only screen and (max-width:600px){
    .pimg1, .pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7{
      background-attachment:scroll;
    }
  }

  /*Styles for top menu*/
  /* Add a black background color to the top navigation */
  .topnav {
      background-color:rgba(0, 198, 203, 0.5);
      overflow: hidden;
      z-index: 10;
      color: black;
      text-align: center;
      font-size: 30px; 
      font-weight: bold;
      position: absolute;
      top: 75%;
      width: 100%;
      transition-property: background-color, opacity;
      transition-duration: 0.5s;
  }

  /* Style the links inside the navigation bar */
  .topnav a {
      display: inline-block;
      color: #ffffff;
      text-align: center;
      padding: 14px 2%;
      text-decoration: none;
      font-size: 16px;
      transition-property: background-color, opacity;
      transition-duration: 0.5s;
  }

  #homeBtn{
    padding: 9px 36px;
    position: absolute;
    left: 0px;
  }

  /* Change the color of links on hover */
  .topnav a:hover {
      background-color: #111B74;
      color: #ffffff;
      transition-property: background-color, opacity;
      transition-duration: 0.2s;
  }

  /* Add an active class to highlight the current page */
  .active {
      background-color: #111B74;
      color: #ffffff;
  }

  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
      display: none;
  }

  #myIcon {
    width: 15px;
  }

  .mapa {
    float: left;
    width: 33.33%;
  }

  .container {
    width: 100%;
    overflow: hidden;
  }
  
  .vision{
    text-align: center; 
    font-size: 24px; 
    line-height: 250%; 
    padding-top: 50px;
  }

  .path{
    float: left;
    width: 16%;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    font-size: 12px;
    text-align: left;
  }

  .path .pregunta{
    height: 95px;    
  }

  .path .time{
    font-size: 28px !important;
    height: 50px;
  }

  .path .pathcontent{
    padding-left: 10%;
    padding-right: 10%;
  }

  .path .milestone{
    position: relative;
  }

  .path .milestone span{
      float: right; 
      font-size:70px; 
      color:#78bed0; 
      top: -10px; 
      position: absolute; 
      top: -13.5px; 
      right: -15px;
    }

    .horizon{
    float: left;
    width: 25%;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    font-size: 12px;
    text-align: left;
  }

  .horizon .horizonmile{
    font-size: 20px !important;
    height: 90px;
  }

.horizon .horizoncontent{
    padding-right: 10%;
  }

  .rectangle {
  height: 50px;
  width: 15%;
  background-color: #555;
  float: left;
  position: absolute;
        top: 0;
        left: 0;
}

  .producto{
    cursor: pointer;
    height: 40px;
    padding-top: 10px;
    border-radius: 25px;
    margin-left: 3%;
    margin-right: 2%;
    float: left;
    width: 20%;
    margin-top: 16px !important;
    margin-bottom: 10px !important;
    font-size: 25px;
    transition-property: background-color, color;
    transition-duration: 0.2s;
  }

  .producto:hover span{
    border-bottom: 2px solid #ffffff;
  }

  .btnVida{
    background-color: #21368B;  
  }

  .btnVida:hover{
    background-color: rgba(33,54,139,0.5);  
    color: #ffffff;
  }

  .btnSalud{
    background-color: #00AE9E;  
  }

  .btnSalud:hover{
    background-color: rgba(0,174,158,0.5);  
    color: #ffffff;
  }

  .btnDanyos{
    background-color: #EC008C;  
  }

  .btnDanyos:hover{
    background-color: rgba(236,0,140,0.5);  
    color: #ffffff;
  }

  .btnAsistencias{
    background-color: #FBB040;  
  }

  .btnAsistencias:hover{
    background-color: rgba(251,176,64,0.5);  
    color: #ffffff;
  }

  /*styles for modal windows for products
  /* The Modal (background) */
  .modal {
      display: none;
      position: fixed;
      z-index: 11;
      padding-top: 100px;
      left: 0;
      top: 0;
      width: 100%; 
      height: 100%;
      overflow: hidden;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0,0.4);
  }

  /* Modal Content */
  .modal-content {
      margin: auto;
      padding: 10px;
      max-width: 80%;
      max-height: 60%;
      display: none;
      color: #eeeeee;
      overflow: auto;
      text-shadow: -1px 1px #000000;
  }

  .modal-content ul{
    margin-top: 0px;
  }

  #vidaContent{
    /*background-color: #006990;*/
    background-image:url('../img/vida.jpg');
    background-size: cover;
    border: 5px solid #21368B;
    border-radius: 25px;
    font-size: 18px;
    line-height: 60px;
  }

  #saludContent{
    /*background-color: #008C99;*/
    background-image:url('../img/salud.jpg');
    background-size: cover;
    border: 5px solid #00AE9E;
    border-radius: 25px;
    font-size: 18px;
    line-height: 50px;
  }

  #danyosContent{
    /*background-color: #AD208E;*/
    background-image:url('../img/danyos.jpg');
    background-size: cover;
    border: 5px solid #EC008C;
    border-radius: 25px;
    font-size: 18px;
    line-height: 40px;
  }

  #danyosContent ul{
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
  }

  #asistenciasContent{
    /*background-color: #B07660;*/
    background-image:url('../img/asistencias.png');
    background-size: cover;
    border: 5px solid #FBB040;
    border-radius: 25px;
    font-size: 18px;
  }

  #asistenciasContent div{
    width: 45%; 
    float: left;
  }

  #footerFiller{
    width: 20%; 
    float: left; 
    display: block;
  }

  #linkAviso{
    width: 60%;
    float: left;
  }

  #logoESR{
    width: 20%; 
    float: right;
  }

  #logoESR img{
    min-width: 120px;
    max-width: 160px;
  }

  .asistenciaConteiner{
    width: 50%;
  }

  .asistenciaDiv{
    font-weight: bold; 
    width: 100%; 
    padding-top: 30px; 
    cursor: pointer; 
    text-decoration: underline;
  }

  .paisSpan{
    font-weight: bold; 
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
  }

  /* The Close Button */
  .close {
      color: #eeeeee;
      float: right;
      font-size: 28px;
      font-weight: bold;
  }

  .close:hover, .close:focus {
      color: #000000;
      text-decoration: none;
      cursor: pointer;
  }

  /* When the screen is less than 980 pixels wide, adjust producto font*/
  @media screen and (max-width: 980px) {
    .producto {
      font-size: 24px;
    }
  }

  /* When the screen is less than 920 pixels wide, adjust topnav font*/
  @media screen and (max-width: 920px) {
    .topnav a {
      font-size: 16px;
    }
  }

  /* When the screen is less than 810 pixels wide, adjust topnav font*/
  @media screen and (max-width: 810px) {
    .topnav a {
      font-size: 14px;
    }
  }

  /* When the screen is less than 750 pixels wide, adjust topnav font*/
  @media screen and (max-width: 750px) {
    .topnav a {
      font-size: 12px;
    }

    .producto {
      font-size: 22px;
    }
  }

  /* When the screen is less than 680 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
  @media screen and (max-width: 680px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav{
      position: fixed !important;
      top: 0  !important;
    }
    .topnav a{
      font-size: 19px;
    }
    .ptextlogo{
      top:30%;
    }

    .ptextlogo .border img{
      width: 70% !important;
    }

    #divMapa, #divDatosCont{
      width: 100% !important;
      padding-bottom: 10px;
      font-size: 16px !important;
      text-align: center !important;
      float: left !important;
    }
    #tablaLogos{
      width: 100% !important;
    }

    /*
    #tablaLogos img{
      width: 50%;
    }
    */

    .mapa {
      width: 100% !important;
      margin-bottom: 40px !important;
    }

    .paisSpan{
      margin-top: 5px !important;
      margin-bottom: 5px !important;
    }
    
    .vision{
    text-align: center; 
    font-size: 24px; 
    line-height: 100%; 
    padding-top: 0px;
  }

    .path {
      width: 100% !important;
    }

    .path .pregunta{
      height: auto;
    }

    .path .pathcontent{
      margin-bottom: 30px;
    }

    .path .milestone span{
      right: 2px;
    }

    .horizon {
      width: 100% !important;
    }

    .horizon .horizonmile{
      height: auto;
    }

    .producto {
      width: 98% !important;
      font-size: 25px;
    }

    #danyosContent ul{
      -webkit-column-count: 1; /* Chrome, Safari, Opera */
      -moz-column-count: 1; /* Firefox */
      column-count: 1;
    }

    #asistenciasContent div{
      width: 100%;
    }

    #footerFiller{
      display: none !important;
    }

    #linkAviso{
    width: 100% !important;
    float: left;
    }

    #logoESR{
    width: 100% !important; 
    float: left;
    } 

    .asistenciaConteiner{
      width: 100%;
    }

    .asistenciaDiv{
    width: 50% !important; 
    float: left !important;
    padding-top: 15px !important;  
    }

    

  }

  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  @media screen and (max-width: 680px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }

    .topnav.responsive #homeBtn {
      position: relative;
    }
  }
