/* Custom, iPhone Retina */
@media all and (min-width: 320px) {
  .articulo article header figure figcaption {
    display: none;
  }
}
/* Small Devices, Tablets */
@media all and (min-width: 768px) {
  .articulo article header {
    position: relative;
    height: calc(100vh - 120px);
  }
  .articulo article header figure {
    position: relative;
    background-color: #eee;
    height: calc(100vh - 120px);
    width: 100%;
    padding: 0;
    text-align: center;
    flex-direction: column;
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .articulo article header figure img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
  }
  .articulo article header figure::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/dot.fd582e8f0f7b.png") repeat;
    top: 0;
    left: 0;
    opacity: 0.7;
    z-index: 0;
  }
  .articulo article header .info-header {
    position: absolute;
    bottom: 60px;
    text-align: center;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
  }
  .articulo article header .info-header h1 {
    font-size: 4em;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000000;
    line-height: 1.1em;
    letter-spacing: -1px;
    align-self: flex-end;
    margin: 15px 2em;
  }
  .articulo article header .info-header h2 {
    font-size: 1.3em;
    margin: 15px 6em;
    line-height: 1.35em;
  }
  .articulo section article .content {
    font-size: 16px;
    line-height: 1.5;
  }
  .articulo article header .info-header .op-published {
    padding-top: 30px;
    color: #FAFAFA;
    text-shadow: 1px 1px 0px #000000;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 700;
  }
  .articulo article header .info-header .flag.geo {
    color: #222;
    font-size: 9px;
    font-weight: 500;
    background: #8da4af;
    padding: 3px 10px;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 2px;
    margin-top: 5px;
  }
  .articulo.video aside {
    padding-left: 40px;
  }
}
/* Medium Devices, Desktops */
/* Large Devices, Wide Screens */
/*==========  Non-Mobile First Method  ==========*/
/* Large Devices, Wide Screens */
@media all and (max-width: 1200px) {
  .navbar .nav > li > a {
    padding-left: 7px;
    padding-right: 7px;
  }
}
/* Medium Devices, Desktops */
@media all and (max-width: 992px) {
  section .owl-controls {
    top: -40px;
  }
  #barra_superior a.logo-bicentenario {
    display: none;
  }
  .content.col-md-8.col-md-offset-2 .descarga {
    position: relative;
    width: 100%;
    right: 0;
  }
}
/* Small Devices, Tablets */
@media all and (max-width: 768px) {
  #experiencias .plain article {
    min-height: 170px;
  }
  #experiencias .plain article:nth-child(even) {
    border-right: 0;
  }
  section .owl-controls {
    top: -41px;
  }
  section#redes #lo_mas_visto .page-header {
    margin-top: 30px;
  }
  .articulo article header figure img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  #mosaico article > .post.caja.instagram {
    height: auto;
    max-height: 990px;
  }
  #mosaico article > .post.caja.instagram > header {
    display: none;
  }
  .articulo.video figure {
    margin: 30px -15px;
  }
  .articulo.video aside {
    padding-left: 15px;
  }
  .articulo section header {
    margin-top: 0;
  }
  .articulo section article .content {
    padding-left: 0;
    padding-right: 0;
  }
}
/* Extra Small Devices, Phones */
@media all and (max-width: 480px) {
  .logo.navbar-brand img {
    max-height: 40px;
  }
  #mosaico article > .post.caja,
  #mosaico article > .post > header,
  #mosaico article > .post > a > header,
  #mosaico article > .post.caja.instagram {
    height: auto;
    max-height: 990px;
  }
  #mosaico article > .post > header .bajada,
  #mosaico article > .post > a > header .bajada,
  #convocatorias article > .post > header .bajada,
  #convocatorias article > .post > a > header .bajada {
    padding-bottom: 15px;
  }
  #experiencias .plain article {
    border-right: 0;
  }
  .page-header h3 {
    font-size: 1.2em;
  }
  #lo_mas_visto div article:nth-child(4) {
    display: block;
  }
  section#convocatorias article > .post.caja,
  section#convocatorias article > .post > header,
  section#redes #lo_mas_visto article .post,
  section#redes #lo_mas_visto article .post header {
    height: auto;
    padding-bottom: 15px;
  }
  #ruleta .carousel-inner {
    width: 100%;
  }
  #ruleta .carousel-inner .item .item-info {
    left: 25px;
    right: 25px;
  }
  #ruleta .list-group {
    display: none;
  }
  #redes .nav > li > a {
    padding: 10px;
  }
  /*** MOBILE HEADINGS ***/
  h1 {
    font-size: 25px;
    font-weight: 600;
  }
  h2 {
    font-size: 18px;
    font-weight: 600;
  }
  h3 {
    font-size: 16px;
    font-weight: 600;
  }
  h4 {
    font-size: 14px;
    font-weight: 600;
  }
  h5 {
    font-size: 12px;
    font-weight: 600;
  }
  h6 {
    font-size: 12px;
    font-weight: 600;
  }
  .articulo section article .content h2 {
    margin: 1em auto;
    border-top: solid 1px #222;
    padding-top: 15px;
  }
  #mosaico article.x2 {
    width: 100%;
  }
  #mosaico article.x2 > .post > header h2 {
    font-size: 20px!important;
  }
  #mosaico article > .post.app.youtube > div.image-wrapper {
    height: 207px;
  }
  #agenda .hero .caption {
    position: inherit !important;
    top: 0;
    margin-top: -60px;
    left: auto;
  }
  .content p {
    font-size: 1.2em;
  }
}
/* Custom, iPhone Retina */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #mosaico article.x2 {
    width: 50%;
  }
  #mega-menu .navbar .nav > li > a {
    padding: 4px 5px;
  }
}
/* 5 Columns */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}
.col-xs-15 {
  width: 20%;
  float: left;
}
@media (min-width: 768px) {
  .col-sm-15 {
    width: 20%;
    float: left;
  }
}
@media (min-width: 992px) {
  .col-md-15 {
    width: 20%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-15 {
    width: 20%;
    float: left;
  }
}
