/* #Mobile (Landscape)
================================================== */
@media only screen and (max-width: 767px) {
  .carousel-control.right span, .carousel-control.icon-next span {
    right: 20%;
  }
  .carousel-control.left span, .carousel-control.icon-prev span {
    left: 15%;
  }
  #header{
    height: 230px;
    }
  #redes-sociales{
    text-align: center;
  }
  #logo{
    text-align: center;
  }
  #slideshow .item{
    height: 250px;
  }
  #base{
    text-align: center;
  }
  #slideshow-historico .item{
    height: 350px;
  }
  h1.text-bottom{
    font-size: 3em;
  }
  #body-bg{
    padding-top: 50px;
  }
  .carousel-inner > .item > .botones-slider > a{
    margin-top: 180px;
    float: right;
    margin-right: 5%;
    font-size: 1em;
  }
  .modal > img{
    padding-left: 10px;
    padding-right: 10px;
  }
  .panel.cuadro-actividades{
    margin-left: -20px;
    margin-right: -20px;
  }
  .cuadro-actividades .texto-exposiciones h4,p{
    text-align: center;
    margin-bottom: 0;
  }
  .panel.cuadro-actividades .calendario-eventos h2{
    font-size: 20px;
  }
}

/* #Tablet (Portrait)
================================================== */    

@media only screen and (min-width: 768px) and (max-width: 991px) {
  #slideshow .item{
    height: 400px;
  }
  #body-bg{
    padding-top: 50px;
  }
  #hornav ul#hornavmenu > li > a,
  #hornav ul#hornavmenu > li > span {
    padding: 13px 7px 13px;
  }
  .carousel-inner > .item > .botones-slider > a{
    margin-top: 300px;
    float: right;
    font-size: 1em;
  }
}

/* #Tablet (Landscape)
================================================== */

@media only screen and (max-width: 1087px) {
  .is-sticky #header,
  .is-sticky #hornav {
    position: relative !important;
    width: auto !important;
    top: 0 !important;
    left: 0;
    margin-left: 0;
  }
  #hornav ul#hornavmenu > li > a,
  #hornav ul#hornavmenu > li > span {
    padding: 13px 7px 13px;
  }
}

.primary-container-background .primary-container {width: 100%;}

/* Disable CSS animations */
.animated {
  -webkit-animation-duration: 0;
  animation-duration: 0;
  -webkit-animation-delay: 0;
  animation-delay: 0;
}
}

/*  #Mobile (Portrait)
================================================== */
/*
@media only screen and (max-width: 440px) {
	.table-condensed{
    width: 100px;
  }
}

@media only screen and (min-width: 992px){
  #hornav ul#hornavmenu > li > a,
  #hornav ul#hornavmenu > li > span {
    color: #e3e3e3;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: normal;
    text-transform: uppercase;
    display: block;
  }
}

@media only screen and (min-width: 1103px){
  #hornav ul#hornavmenu > li > a,
  #hornav ul#hornavmenu > li > span {
    padding: 13px 13px 13px;
  }
}

@media only screen and (max-width: 1102px){
  #hornav ul#hornavmenu > li > a,
  #hornav ul#hornavmenu > li > span {
    padding: 13px 6px 13px;
  }
}
@media only screen and (max-width: 460px){
  .text-bottom{
    font-size: 2.4em;
  }
}

*/