@charset "utf-8";

body, html {
  font: 24px Helvetica;
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}
#main {
 margin: 0px;
 padding: 0px;
 display: -webkit-flex;
 display:         flex;
 display: -ms-flexbox;
 -webkit-flex-flow: row;
 -ms-flex-direction: row;
 flex-flow: row;
 }

#main > section {
 margin: 4px;
 padding: 5px;
 border: 1px solid #cccc33;
 border-radius: 7pt;
 background: #dddd88;

 -ms-flex-order: 2;
 -webkit-order: 2;
         order: 2;

 -webkit-box-flex: 4;
  -moz-box-flex: 4;
  -webkit-flex: 4 1 auto;
  -ms-flex: 4 1 auto;
  flex: 4 1 auto;
 }

#main > nav {
 margin: 4px;
 padding: 5px;
 border: 1px solid #8888bb;
 border-radius: 7pt;
 background: #ccccff;

  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;


 -ms-flex-order: 1;
 -webkit-order: 1;
         order: 1;
 display: flex;
 display: -webkit-flex;
 display: -ms-flexbox;
 flex-direction: column;
 -ms-flex-direction: column;
 -webkit-flex-direction: column;
 }

/*#main > aside {
 margin: 4px;
 padding: 5px;
 border: 1px solid #8888bb;
 border-radius: 7pt;
 background: #ccccff;
  -webkit-box-flex: 1;
  -moz-box-flex: 1
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;

 -webkit-order: 3;
 -ms-flex-order: 3;
         order: 3;
 }*/

header, body>footer {
 display: block;
 margin: 4px;
 padding: 5px;
 min-height: 80px;
 border: 1px solid #eebb55;
 border-radius: 7pt;
 background: linear-gradient( 105deg, #4D6DFF 10%,  #A1AFF0 80%)
 }

 #galeria{
   display: -webkit-flex;
   display:         flex;
   display: -ms-flexbox;
   -webkit-flex-flow: row;
   -ms-flex-direction: row;
   flex-flow: row;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;


 }

 .uno{
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
 }
 h3{
  font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  color:#4D6DFF;
  border-bottom-color:#B2AFAF;
  border-bottom-style:solid;
  border-bottom-width:1px;
  margin-right:10px;
  font-size:0.7em;
}
.letra{
  font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  padding-left: 5px;
  font-size:0.6em;
}
.letra2{
  font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  margin-left:10 px;
  padding-left: 5px;
  font-size:0.6em;
}
.texto{
  text-align: center;
}
.iconos{
  width: 20px;
  height: 20px;
}
nav > img {
    order: -1;
    -webkit-order: -1;
    -ms-flex-order: -1;
}
img, iframe{
    margin-bottom: 5px;
}

/* Too narrow to support three columns */
@media all and (max-width: 480px) {
  #main{
    height: auto;
    flex-direction: column;
   -ms-flex-direction: column;
   -webkit-flex-direction: column;
}
  #galeria {
    flex-direction: column;
   -ms-flex-direction: column;
   -webkit-flex-direction: column;

    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
   width: auto;
  }

  #main > nav {
        order: 0;
       -ms-flex-order: 0;
        -webkit-order: 0;
    }

  #main > footer{
    display: none
  }

  #galeria>iframe, #galeria>img {
    max-width: 98%;
  }
}
