@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-ExtraLight.ttf);
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-Light.ttf);
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-Bold.ttf);
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-Black.ttf);
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-ExtraLightItalic.ttf);
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-LightItalic.ttf);
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-Italic.ttf);
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-BoldItalic.ttf);
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans';
  src: url(Source_Sans_Pro/SourceSansPro-BlackItalic.ttf);
  font-weight: 900;
  font-style: italic;
}

*{
  font-family: 'Source Sans';
  font-weight: normal;
  /*box-sizing: border-box;*/
}

body{
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

body { 
    background-image: url('web/web_fondo_fhd.png');
    background-size: contain;
    background-repeat: repeat-y;
    background-color: #3B4A56;
}

.active {
    background-color: #3b4a56;
    }

.wrap{
    max-width: 60%;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

p {
    text-align: justify;
}

h1 { 
    text-align: left;
}

h2 { 
    text-align: left;
}

.top{
    height: 25%;
}

.content{
    background: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: initial;
    overflow: initial;
}


.footer{
    max-height: 50px;
    margin:auto;
}


.galeria_div{
    /*display: flex;
    flex-direction: row;*/
    width: 90%;
    margin:auto;
    text-align:center;
}

.galeria{
  margin: 5px;
  text-align:center;
  
  
}

.seccion{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.titulo-seccion{
    align-items: center;


    background-repeat: no-repeat;
    background-size: 5vh 5vh;
            background-color:#FFFFFF;
    border-radius: 0px 20px 20px 0px;
   


    color: #FAFAFA;
    display: flex;

    font-size: 5vh;
    justify-content: left;
    margin-top: 0;
    margin: 0;

    

    min-width: 10%;
    max-width: 200px;
    width:95%;
    padding: 0 8%;
}

/*.titulo-seccion{    margin-left: 1%;    font-weight: bolder;    width:90%;}*/


.div-img-titulo {
    background-image: url('web/titulos.png');
    background-repeat: no-repeat;
    background-size: 5vh 5vh;
    background-color:#FFFFFF;

    float:left;
    height:5vh;
    width:6vh;
}

.titulo-span{
    font-weight: bolder;
    padding: 0% 0% 0px 5%;
    background-color:#4F6375;
    width:90%;
    border-radius: 0px 20px 20px 0px;
   
   font-size: 2.5vh;
    margin: 0;
    

}

.subtitulo-span{
    font-weight: bolder;
    padding: 0% 0% 0px 5%;
    background-color:#4F6375;
    width:100%;
    border-radius: 0px 20px 20px 0px;
   
   font-size: 2.0vh;
    margin: 0;
    

}

.parrafo{
    font-size: 3.5vw;
    text-align: justify;
    display: inline-block;
    /*width: 100%;*/
    padding: 0 5%;
}

.subparrafo{
    font-size: 2vh;
    text-align: justify;
    display: inline-block;
    width: 90%;
    padding: 0 5%;
}

.bold{
    font-weight: bolder !important;
}
.div-img-seccion{
    display: flex;
    flex-direction: column;
 
}
.div-img-seccion figcaption{
    text-align: center;
      font-size:calc(10px + 0.5vh);
}


.banner-div {
display: inline-block;
width:100%;
text-align: center;
    
    font-size:calc(16px + 1vw);
    font-weight: bolder;
    color:#3B4A56;
    
border:0;
margin: 0;
padding: 0;
background-image: url(web/banner.png);
background-repeat: no-repeat;
background-size: 100% 100%;
height: 10vw;
}




.footer {
  position: relative;
  bottom: 0;
  width:100%;
  text-align: center;
  background-image: url(web/bottom.png);
  background-color: white;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 0 0 2px 2px;
}

.primary {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: start;
  width: 100%;
  height: 100%;
}

.primary-item{
    width: 20%;
    align-self: center;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
}

.item-box{
    margin: 0;
    align-self: center;
    height: 50%;
    width: 100%;
    text-align: center;
}



.primary-item:active{
    background: #3b4a56;
}

nav {
  background: #4F6375;
  position: relative;
  text-align: center;
  height: 15%;
}

a.menu {
text-decoration: none;
color: #FFF;
width: 100%;
}

.footer{
    /*display: flex;*/
    flex-direction: row-reverse;
    background-color:#FFF;
    
}

.img-footer{
    width: 80%;
    height: auto;
    
}

.tabla{
    border: 0px none;
    width: 95%;
    max-width: 95%;
    height: 100%;
    display: flex;
    flex-flow: wrap;
    margin: 0 auto;
    background: #E7E7E8;
    border-radius: 15px;
    overflow: hidden hidden;
}
.fila-tabla{
    display: flex;
    flex: 1 1 50%;
    flex-flow: row nowrap;
    align-items: center;
    padding: 1% 3%;
}

.fila-sola{
    flex: 0 50%;
}
.fila-titulo{
    flex: 0 100%;
}
.fila-titulo p{
    font-size: 2vh;
    padding: 0 5%;
}
.fila-titulo p > span{
    border-bottom: 1px solid black;
    max-width: fit-content;
}
.icono-tabla{
    max-width:20%;
    height: auto;
}

.icono-tabla a{
    width: 100%;
    height: auto;
    display: inline-flex;
}

.icono-img{
    max-width: 100%;
    max-height: auto;
}

.desc-tabla{
    width:80%;
    height: auto;
}

.parrafo-desc{
    font-size: 2.2vh;
}

.top-pt{
    display: none;
}

.tabla{
    border: 0px none;
    width: 95%;
    max-width: 95%;
    height: 100%;
    display: flex;
    flex-flow: wrap;
    margin: 0 auto;
    background: #E7E7E8;
    border-radius: 15px;
    overflow: hidden hidden;
}

.fila-sola{
    flex: 0 50%;
}
.fila-titulo{
    flex: 0 100%;
}
.fila-titulo p{
    font-size: 2vh;
    padding: 0 5%;
}
.fila-titulo p > span{
    border-bottom: 1px solid black;
    max-width: fit-content;
}
.icono-tabla{
    max-width:20%;
    height: auto;
}

.icono-tabla a{
    width: 100%;
    height: auto;
    display: inline-flex;
}

.icono-img{
    max-width: 100%;
    max-height: auto;
}

.desc-tabla{
    width:80%;
    height: auto;
}

.parrafo-desc{
    font-size: 2.2vh;
}

.close:hover{
    cursor: pointer;
}
@media (orientation: portrait) {

    
/* style.css | http://localhost/css/style.css */

/** */
    .top {
        height: 15%;
        width: 100%;
    }

    .content {
        height: 75%;
        width: 100%;
        padding: 0;
        flex-direction: column;
        align-items: center;
    }

    .footer {
        height: 10%;
        width: 100%;
        /*max-width:80%;*/
        min-height:100px;
        overflow: hidden;
    }
    
/** */

    .top-pt{
        display: flex;
        height: 10%;
        max-height: 100%;
        overflow: visible;
        width: 100%;
    }

    #myLinks{
        overflow: visible;
        min-height: 100%;
        max-height: 100%;
    }


    .topnav {
    overflow: visible;
    position: relative;
    width: 100%;
    }

    .topnav #myLinks {
    display: none;
    flex-direction: column;
    }

    .topnav a {
    color: white;
    background-color: #4F6375;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    }
    .topnav a.active {
    background-color: #3b4a56;
    color: white;
    max-height: 100%;
    }

    .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    max-height: 100%;
    }

    .topnav a:hover {
    background-color: #ddd;
    color: black;
    }

/** */

    .seccion{
        flex-direction: column;
        padding: 0;
        justify-content: start;
        overflow: scroll;
    }

    .div-img-seccion{
        align-items: center;
    }

    .img-seccion{
        max-height: 80%;
        max-width: 80%;
        margin:auto;
    }

/** */
  .div-desc-seccion {
    padding: 1% 0;
    min-width: 100%;
    max-width: 100%;
    word-wrap: anywhere;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .parrafo {
    width: 90%;
    margin: 0 auto;
    font-size: 3.8vw;
  }
  
  .titulo-seccion {
    min-width: 95%;
    max-width: 95%;
    padding: 0;
    font-size: 7vw;
  }

  .titulo-seccion h1{
      margin: 2% 10%;
  }
  
  .img-footer {
    /* width: 40%; */
    /* height: auto; */
    /* margin: auto 5% 2% 0; */
    width: 70%;
    margin: auto;
  }
  
  .footer {
    background-image: none;
  }
  
    .wrap{
        min-width: 100%;
        max-width: 100%;
    }

    .banner-div{
        height: 100%;
    }

    .top nav{
        display: none;
    }

    .modal-header h2 {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    .div-desc-seccion > p {
        max-width: 90%;
        align-self: center;
    }

    .fila-tabla {
        flex: 0 0 100%;
        flex-flow: row nowrap;
    }

}
@media (orientation: landscape) {

  
body {
    overflow-y: hidden;
    }
    
.top {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .content {
    height: 65%;
    overflow: scroll;
    min-width: 100%;
    max-width: 100%;
  }
  
  .wrap {
    max-width: 80%;
  }
  
  .footer {
    /*height: 10%;*/
    height: 10%;
    min-height: 10%;
    max-height: 10%;
    max-width:100%;
    margin: auto;
    padding-top:10px;
  }
  
  .seccion {
    flex-flow: row wrap;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  
  .div-img-seccion {
    max-width: 95%;
    height: auto;
    align-self: center;
  }
  
  nav {
    max-height: 30%;
    min-height: 30%;
    display: flex;
    align-items: center;
  }

  .banner-div {
    max-height: 70%;
    min-height: 70%;
  }
  
  .primary {
    flex: 0 0 100%;
    justify-content: flex-start;
    max-height: 100%;
    min-height: 100%;
  }

  .primary-item{
    border-right: 5px solid white;
    border-top: 5px solid white;
    border-bottom: 2px solid white;

  }

  .item-box{
      height: 100%;
  }
  

  .img-footer {
    width: 80%;
    padding: 2% 3% 1.5% 0%;
  }

  .img-seccion {
    max-width: 80%;
    max-height: 80%;
    margin:auto;
  }
  
  .titulo-seccion {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

.fila-tabla {
    flex: 0 0 100%;
  }
  
  .fila-celda {
    width: 100%;
  }

  .modal-content {
    width: 90%;
    height: 90%;
  }
  
  h2, .close {
    font-size: 3vw;
    margin: 0;
    width: 100%;
  }
  
  .modal-header, .modal-footer {
    flex-flow: row nowrap;
  }
  
  .close {
    width: 5%;
    margin: auto 0;
    height: 100%;
  }
  
  .nombre-actividad {
    font-size: 3vw;
  }
  
  h2 {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  
  .titulo-act {
    height: 100%;
    width: 95%;
  }

  .div-desc-seccion > p {
    width: 90%;
  }
  
  .div-desc-seccion {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-flow: column nowrap;
  }

.fila-tabla > a {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    color: black;
  }
  
  .icono-tabla {
    max-width: 10%;
  }
  
  .parrafo-desc {
    font-size: 2.5vw;
  } 
    .titulo-seccion {
    font-size: 4vw;
    padding: 0;
  }
  
}

@media (min-width: 660px) and (orientation: landscape) {

    body{
        overflow: initial;
        background-size: cover;
    }

    .banner-div{
        height: 75%;
        min-height: 75%;
        max-height: 75%;
    }

    nav {
        height: 15%;
        min-height: 15%;
        max-height: 15%;
    }
    /*nav{
        min-height: 15%;
        max-height: 15%;
    }*/
    .seccion {
      flex-flow: row nowrap;
      align-items: flex-start;
      width: 100%;
    }

    .titulo-seccion {
      max-width: 100%;
      align-self: baseline;
      font-size: 4vh;
    }

    .div-desc-seccion {
      width: 95%;
      padding: 10px;
    }

    .div-desc-seccion.con-tabla {
        width: 90%;
    }

    .con-tabla > .titulo-seccion {
        min-width: 50%;
        width: 50%;
        max-width: 50%;
    }
    
    .parrafo {
      font-size: 3.3vh;
      padding: 0 3%;
      align-self: baseline;
    }

    .div-img-seccion 
    {     
     width: 100%;  
         padding: 0;  
           }

    .seccion-proyecto{
        flex-flow: row wrap;
    }

    .seccion-proyecto > .div-img-seccion {
        padding: 0%;
        align-self: flex-start;
    }

    .div-desc-seccion.continuacion{
        width: 90%;
    }
    
    .wrap {
      max-width: 60%;
    }
    .content {
      overflow: auto;
    }
    .div-img-seccion {
      align-self: flex-start;
    }
 
    .titulo-seccion {
      font-size: 3vh;
    }
    .parrafo {
      font-size: 2.2vh;
    }
    .div-img-seccion {
      padding: 1% 0;
    }

    .nombre-actividad{
        font-size: 1.4vw;
    }
    .modal-body > p {
        font-size: 1.3vw;
    }

    .parrafo-desc{
        font-size: 1.2vw;
    }
    a.menu{
        height: 50%;
        align-self: auto;
        margin: 2px;
    }

    .banner-div{
        min-height: 85%;
        max-height: 85%;
    }

    .img-footer{
        padding: 0;
        margin: 1% 1% 1% 1%;
    }
  
  }
