body{
	/*overflow-y: hidden !important;*/
}

h4, .h4 {
    font-size: 25px;
    font-weight: bold;
}

h5, .h5 {    
    font-weight: bold;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

/** Barra superior **/

.navbar .topbar-inverse ul li:nth-child(2) a {
    border-right: none;
	margin-right: 20px;
    padding-right: 16px;
}

.navbar .topbar-inverse ul li:nth-child(1) a {
    border-right: 1px solid;
    margin-right: 20px;
    padding-right: 20px;
}


/*Contenedor multimedia responsive*/

.contenedor {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	display:block;
}
.contenedor iframe,
.contenedor object,
.contenedor embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Marca de agua icono play video */
.esvideo .wrapper-image::after{
    background-image: url("../images/video-mask-grey.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;	
	bottom: 20px;
    content: "";
    height: 120px;
    left: 20px;
    position: absolute;
    width: 120px;
}
/* Marca de agua icono play video de portada como youtube */
.banner-video-dialog .videobtn:after,
.list-home-videos .main-ul>li .wrapper-image:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 68px;
    height: 48px;
    background-image: url(../images/video-mask-youtube-alfa.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.85;
	
    -moz-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
    -webkit-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
    transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);
    -moz-transition: background .25s cubic-bezier(0.0,0.0,0.2,1);
    -webkit-transition: background .25s cubic-bezier(0.0,0.0,0.2,1);
    transition: background .25s cubic-bezier(0.0,0.0,0.2,1);
}
.banner-video-dialog .videobtn:hover:after,
.list-home-videos .main-ul>li .wrapper-image:hover:after {
    background-image: url(../images/video-mask-youtube.png);
    opacity: 1;
}
/* bloque calendario */
.tscalendar .eventsCalendar-slider {
	height: auto !important;
    display: block;
}

/** Sombra noticias portada */

.main-slider.carou-wrapper [class*="col-"] ul > li > a::after{
	background: rgba(0, 0, 0, 0) linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.8) 100%) repeat scroll 0 0;
    bottom: 0;
    content: "";
    display: block;
    height: 170px;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 1;
}

/** Ver más noticias de portada */

.main-slider.carou-wrapper .main-ul > li {
    padding: 0 0 5px 5px;
}

.main-slider.carou-wrapper [class*="col-"] ul li::after {
	background: none;
}

.main-slider.carou-wrapper > .wrapper > .row > [class*="col-"]::after {
    background: none;
	}




/** Ver más noticias de comunicacion */
.listado-featured .main-ul > li > .element-wrapper > .text-wrapper {
    height: unset;
}

.listado-featured .main-ul > li > .element-wrapper .text-wrapper .info {
    bottom: unset !important;
    padding: 10px 0;
    position: relative;
	margin-bottom: 15px;
}

.listado-featured .main-ul > li > .element-wrapper .text-wrapper p {
	position: relative;
}	


/* noticias justificadas */
article.noticia p{
	text-align: justify;
}

/* portales institucionales */
.portalesinstitucionales img{
	margin: 10px;
}

/* página SUPERA */
table.paginasupera{
    border: 1px solid #BBB;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}

table.paginasupera  td p{
    font-size: 13px;
    line-height: 1.25;
}



/* página DIA MUNDIAL DEL TURISMO */
.diamundialturismo2018 .wrapper-video{
    overflow: hidden;
	height: auto;
}
.diamundialturismo2018 iframe{
    position: relative;
	height: 315px;
}


/*.agenda.destacada.carou-wrapper [class*=col-] .text-wrapper {
    left: 50%;
    width: 45%;
}*/

/* table-responsive */
.wrapperTable {overflow-x: auto;}

@media (max-width: 480px) {
	.agenda.carou-wrapper .slide .wrapper {
		padding: 0 15px;
		height: 200px;
	}
	.template-container .sg-share {
		position: relative;
		top: 0;
		right: 2px;
	}
}
@media (min-width: 992px) {
/* Bloque de categorias en listado de noticias */
	.listado-featured .main-ul>li>.element-wrapper .text-wrapper .info {
		top: inherit;
		bottom: 95px;
	}
}



/* tabla responsive en el FACE */


	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		table.tableface, table.tableface thead, table.tableface tbody, table.tableface th, table.tableface td, table.tableface tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		table.tableface thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		table.tableface tr { border: 1px solid #ccc; }
		
		table.tableface td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50% !important; 
		}
		
		table.tableface td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		table.tableface td:nth-of-type(1):before { content: "Oficina contable"; }
		table.tableface td:nth-of-type(2):before { content: "Órgano gestor"; }
		table.tableface td:nth-of-type(3):before { content: "Unidad tramitadora"; }
		table.tableface td:nth-of-type(4):before { content: "Unidad tramitadora"; }
	}


/* Bloque de categorias en listado de noticias */


@media (min-width: 992px) {
	.listado-featured .main-ul>li>.element-wrapper .text-wrapper .info {
		bottom: 105px;
	}
}


/* Imágenes de fondo en listado de noticias */

div.listado-featured div.element-wrapper{
	background-position: center center;
}

/** Iconos **/


.feature-block .icon-wrapper img {
    border: 0;
    border-radius: 0;
}

.feature-block > a:hover, .feature-block > a:focus {
    box-shadow: none;
    text-decoration: none;
}

/** Listados Tema Deportes **/

.list .main-ul > li {

    margin-bottom: 0;
}

/* Obras SUPERA */

.bg-white{
	background-color: #FFFFFF;
	padding: 10px;
}

#formula .form-group label {
    
    top: 0;
}


/** Menú principal superior **/


.navbar .navbar-collapse .navbar-form.navbar-right .navbar-nav > li > a {
    padding: 43px 10px;
}

/** ROCIO **/

.rocio .wrapper-video{
	height: 500px !important;
}