@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;
    background-image: url('web/fondo.jpg');
    background-size: contain;
    background-repeat: repeat-y;
    background-color: #1C7998;
}



.active {
    background-color: #754435;
    }

.wrap{
    max-width: 80%;
    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: scroll;
}


.footer{
    height: 15%;
    max-height: 15%;
}

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

.titulo-seccion{
    align-items: center;
    background-image: url('web/titulos.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: white;
    display: flex;
    flex-basis: 2.6vw;
    font-size: 5vw;
    justify-content: left;
    margin-top: 0;
    margin: 0;
    min-width: 50%;
    max-width: 50%;
    padding: 0 5%;
}

.titulo-seccion h1{
    margin-left: 5%;
    font-weight: bolder;
}

.titulo-span{
    font-weight: bolder;
    padding: 0% 0% 0% 10%;
}

.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: right;
}


.banner-div {
display: inline-block;
width:100%;
text-align: center;
border:0;
margin: 0;
padding: 0;
background-image: url(web/header01.jpg);
background-repeat: no-repeat;
background-size: 100% 100%;
height: 85%;
}

.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 35px 35px;
}

.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: #754435;
}

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

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

.footer{
    display: flex;
    flex-direction: row-reverse;
}

.img-footer{
    width: 40%;
    height: auto;
    margin: auto 5% 2% 0;
}

.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%;
    }
/** */

    .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: #91705E;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    }
    .topnav a.active {
    background-color: #754435;
    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%;
    }

/** */
  .div-desc-seccion {
    padding: 5% 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: 100%;
    max-width: 100%;
    padding: 0;
    font-size: 7vw;
  }

  .titulo-seccion h1{
      margin: 2% 10%;
  }
  
  .img-footer {
    /* width: 40%; */
    /* height: auto; */
    /* margin: auto 5% 2% 0; */
    width: 100%;
    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: 60%;
    overflow: scroll;
    min-width: 100%;
    max-width: 100%;
  }
  
  .wrap {
    max-width: 80%;
  }
  
  .footer {
    height: 15%;
    min-height: 15%;
    max-height: 15%;
  }
  
  .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: 1px solid white;

  }

  .item-box{
      height: 100%;
  }
  
  .titulo-seccion {
    font-size: 4vw;
    padding: 0;
  }
  
  .img-footer {
    width: 59%;
    padding: 2% 3% 1.5% 0%;
  }

  .img-seccion {
    max-width: 100%;
    max-height: 100%;
  }
  
  .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;
  } 
}

@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: 25%;
        min-height: 25%;
        max-height: 25%;
    }

    .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: 50%;
      padding: 1%;
    }

    .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: 45%;
      padding: 0;
    }

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

    .seccion-proyecto > .div-img-seccion {
        padding: 5%;
        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.6vh;
    }
    .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: center;
    }
    nav{
        min-height: 15%;
        max-height: 15%;
    }
    .banner-div{
        min-height: 85%;
        max-height: 85%;
    }

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