/*!
 * Start Bootstrap - 3 Col Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
    padding-top: 96px;
}

#h-superior nav {
    background: #0066a5;
    box-shadow: 0px 2px 12px #444;
    max-height: 96px;
}

#web-logo img {
    max-height: 80px;
    margin-top: 0px;
}

#web-logo {
  display: block;
  width: 80px;
  height: 80px;
  text-decoration: none;
}

#web-logo small {
    font-size: 0.6em;
    position: absolute;
    bottom: 0;
}
#logo-stream {
  width: 145px;
}
#logo {
  display:inline-block;
}
/*  STREAMING */
#stream-btn {
  float: right;
  cursor: pointer;
  padding: 0.15625em 0em;
}
#stream-play {
  margin-top: 5px;
  font-family: Open Sans;
  font-size: 10px;
}

#app img.bd-imagelink-app{
	max-height: 80px;
    margin-top: 0px;
}

#calendario p.programacion{
    margin: 0.625em 0em;
    line-height: 0.8em;
    text-align: center;
    width: 90px;
}
#calendario a.bd-programacion {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: Open Sans;
    line-height:8px;
    color: #ffffff;
    font-size: 8px;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
}
#calendario a.bd-calendario {  
  display: block;
  text-align: center;
  color: #ffffff;
}

.reloj {
    float:left; 
    margin-top: 0.9375em; 
    margin-left: 0px; 
    padding: 0px;
}
.bd-calendario a {
    margin: 0;
}

.social-icons-41 {
    display: block;
    padding: 1.5312em 0em;
    text-align: right;
    
}

.social-icons-41 a {
    margin: 0 1.5%;
}

.start-of-page {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -80px;
}

div.itemBackToTop a.subir-41 {
    background: #0066a5;
    color: #fff;
    padding: 0.4em 2em 0.1em;
    opacity: 0.4;
    transition: opacity 0.6s;
    text-decoration: none;
}

div.itemBackToTop a.subir-41:hover {
    opacity: 1;
    color: #fff;
}

/*  CAROUSEL */
.carousel-item {
    height: 500px;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/*
.carousel-caption {
    width: 100%;
    bottom: 0;
    left: 0; 
    height: 40%;
    text-align: left;
    padding: 20px 5%;
    color: #fff;
    text-shadow: 1px 1px #000000;
    //background: url('../img/punto.png')
    background: rgba(0, 102, 165, 0.6);
    overflow: hidden;
}
*/

/* Nuevo fondo ajustado al texto. Pablo*/
.carousel-caption {
    width: auto;
    height: auto;
    text-align: left;
    padding: 0px 1%;
    color: #fff;
    text-shadow: 1px 1px #000000;
    /*background: url('../img/punto.png')*/
    background: rgba(0, 102, 165, 0.6);
    overflow: hidden;
}

#r41-destacadas {
    margin: 0 0 2em;
}

#r41-destacadas .carousel-indicators {
    bottom: -6px;
}

/* Mantener may.min. del usuario (valor anterior: uppercase). Pablo*/
#r41-destacadas h3 {
    text-transform: none;
}

.carousel-caption h3 a {
    color: #fff;
}
    
.facebook-content {
    max-width: 500px;
    margin: 0 auto;
}

/*  Paginación: ea; */  
.k2Pagination ul {
    margin-bottom: 1em;
    padding: 0;
}

.k2Pagination ul li:first-child a,
.k2Pagination ul li:first-child span {
    margin-left: 0;
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem;
}


.k2Pagination ul li:last-child a,
.k2Pagination ul li:last-child span {
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem;
}


.k2Pagination ul li .pagenav {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    border: 1px solid #ddd;
    border-radius: 0;
    margin: 0;
    background-color: #fff;
}

.k2Pagination ul li a.pagenav {
    color: #0275d8;
}

.k2Pagination ul li span.pagenav {
    color: #818181;
    cursor: no-drop;
}

.k2Pagination ul li {
        font-size: 0.6em;
    }

.k2Pagination ul li:not(.pagination-start):not(.pagination-prev):not(.pagination-next):not(.pagination-end){
        display: none;
    }

.item-image-card {
    display: block;
    width: 100%;
    height: 300px;
}

@media (min-width: 992px) {
    body {
        padding-top: 80px;
    }

    .k2Pagination ul li {
        font-size: 0.8em;
    }

    .k2Pagination ul li:not(.pagination-start):not(.pagination-prev):not(.pagination-next):not(.pagination-end){
        display: inline-block;
    }
}

.portfolio-item {
    margin-bottom: 30px;
}

.pagination {
	margin-bottom: 30px;
}

.fb-page iframe {
    margin: 0 auto;
}

/*.card-img-top {
    max-height: 240px;
}

.card a {
    text-align: center;
}*/

/*      ITEM    */
#r41-item-container .itemImageBlock .itemImage a {
    display: block;
    width: 100%;
    height: 400px;
    margin: 1em auto;
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
}

div.itemHeader h2.itemTitle {
    color: #0066a5;
    font-weight: 600;
    margin-top: 15px;
}

audio {
    width: 100%;
}

div.onload-ajax {
    position: fixed;
    top: 50%;
    left: 50%;
    /*color: rgba(255, 87, 87, 1);*/
    color: #0066a5;
    text-shadow: 2px 2px 0px #fff;
}

.banneritem {
    text-align: center;
    padding: 1em 0;
  	margin: 0px;
}

/*
.banneritem img {
    width: 100%;
}
*/
/*
div.onload-ajax i {
    position: absolute;
    top: 50%;
    left: 50%;
}*/

