* {
  margin: 0px;
  padding: 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

body {
  font-family: -apple-system,system-ui,BlinkMacSystemFont,Roboto,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif; }

a {
  text-decoration: none; }

.padre {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap; }

.margen-interno {
  padding: 0 60px; }

.header {
  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap; }

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  height: 125px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #D7E1E7; }

.logo {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto; }

.nav {
  -webkit-box-flex: 5;
  -ms-flex: 5 1 auto;
  flex: 5 1 auto; }

.nav a {
  color: #fff;
  background: #00204a;
  font-size: 1.0em;
  padding: 0.6em;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 550; }

.nav a:hover {
  background: #005792; }

.icon {
  display: none; }

.social {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.social a {
  font-size: 1.7em;
  color: #00204a;
  padding: 0 0.3em; }

.social a:hover {
  color: #fff; }

.texto-principal {
  background: #fff; }

h1 {
  font-size: 2em;
  font-weight: 600;
  text-align: center;
  line-height: 3;
  color: #00204a; }

.texto-principal h2 {
  font-size: 1.4em;
  font-weight: 600;
  text-align: center;
  line-height: 2.5;
  color: #00204a; }

.texto-principal p {
  line-height: 1.4em;
  margin: 0.4em; }

.section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 5px; }

.articulos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  padding: 1px;
  border: 1px solid #014C25;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 76%;
  flex: 1 1 76%;
  margin-right: 15px;
  /*margin-left: -15px;*/ }

.article {
  background: #014C25;
  margin: 5px;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 30%;
  flex: 1 1 30%; }

.article img {
  width: 60%;
  margin: 0.5em;
  padding: 0.2em;
  border: 1px solid #fff;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s; }

.article img:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1); }

.article h3 {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.3;
  color: #81AD3A;
  text-transform: uppercase;
  font-weight: 600; }

.article p {
  color: #fff;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 7px;
  line-height: 1.4;
  text-align: center; }

.boton {
  display: inline-block;
  line-height: 2.5em;
  background: #00204a;
  padding: 0 1.2em;
  color: #fff;
  margin: auto auto 4%;
  /*centra boton horizontal y vertical y desde abajo siempre a 4%*/
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0.8em;
  font-size: 0.9em;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  border: 1px solid #fff;
  /*align-self: flex-end;*/ }

.boton:hover {
  background: #005792; }

.boton:active {
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95); }

.aside {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 24%;
  flex: 1 1 24%;
  border: 1px solid #014C25; }

.aside img {
  width: 80%; }

.publicidad {
  background: #D7E1E7;
  padding: 5px; }

.publicidad h3 {
  text-transform: uppercase;
  background: #00204a;
  color: #fff;
  padding: 5px; }

.publicidad iframe {
  width: 100%;
  height: 195px;
  margin-top: 3px;
  margin-bottom: 3px; }

.publicidad p {
  text-align: center; }

.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.pie {
  background: #00204a;
  width: 100%; }

.pie p {
  color: #fff;
  padding: 1.5em;
  text-transform: uppercase;
  text-align: center; }

@media all and (max-width: 1120px) {
  .section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto; }
  .aside {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; }
  .logo {
    margin-bottom: 10px; }
  .social {
    margin-top: 15px; } }

@media all and (max-width: 760px) {
  .social {
    margin-top: 15px; }
  .articulos {
    /*-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;*/
    margin-right: 5px; }
  .margen-interno {
    padding: 0 25px; }
  h1 {
    font-size: 1.5em;
    line-height: 1;
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
  .texto-principal p {
    line-height: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
  .texto-principal h2 {
    font-size: 1.2em;
    text-align: center;
    line-height: 1; }
  .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%; }
  .nav a {
    font-size: 0.8em;
    padding: 0.5em;
    border-radius: 5px;
    letter-spacing: 1px;
    font-weight: 500; }
  .icon {
    display: inline-block;
    width: 100%; }
  a.icon {
    font-size: 1em;
    background: #00204a;
    margin-bottom: 1px; }
  a.menu_item {
    margin: 1px; }
  .article {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%; } }

@media all and (max-width: 400px) {
  .menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%; }
  a.icon {
    margin-bottom: 1px;
    background: #00204a; }
  a.menu_item {
    margin: 1px; }
  .logo {
    margin-bottom: 5px; }
  .aside {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .margen-interno {
    padding: 0 0px; }
  .articulos {
    margin-right: 0px; }
  .articulos {
    margin-bottom: 7px; }
  h1 {
    font-size: 1.5em;
    line-height: 1;
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
  .texto-principal p {
    line-height: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em; }
  .texto-principal h2 {
    font-size: 1.2em;
    text-align: center;
    line-height: 1; }
  .publicidad iframe {
    height: 220px; } }
