/*
	Theme Name: deGrana 2017
	Theme URI: http://www.degrana.com/
	Description: Tema para deGrana en el 2017
	Version: 1.0
	Author: Fabián Álvarez
	Author URI: http://fabalv.com/
	Tags:
*/

body {
	background: #323233 none;
	background: #323233 linear-gradient(to bottom, rgba(69,69,71,1) 0%, rgba(32,32,33,1) 25%, rgba(32,32,33,1) 90%, rgba(16,16,17,1) 100%) no-repeat fixed; /**/
	color: #999;
}

a {
	color: #8c0017;
	transition: color .4s ease-in-out;
}
a:hover {
	color: #54000d;
}

/*##############################################################################

	HEADER

##############################################################################*/

#header {
	position: relative;
	overflow: hidden;
	height: 120px;
	padding: 0;
	background: #8c0017 url('assets/img/header_bg_02.jpg') top center / cover no-repeat;
	background-blend-mode: luminosity;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
	z-index: 30;
}

#header h1 {
	float: left;
	margin: 0;
	padding: 0;
}

#header .header-logo {
	display: block;
	width: 300px; height: 120px;
	background: transparent url('assets/img/header_logo.png') top no-repeat;
	background-size: 300px 240px;
	text-indent: -5000px;
}

#header .header-logo:hover {
	background-position: bottom;
}

#header h2 {
	display: none;
}

/*##############################################################################

	MENU (BOOTSTRAP NAVBAR COMPONENT)

##############################################################################*/

body {
	padding: 58px 0 0 0;
}

#menu {
	border-bottom: 1px solid #444;
	/*padding: 0;*/
	background: rgba(50, 50, 51, 1) none;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
}

#menu .container {
	margin-left: 0;
	margin-right: 0;
}

#menu .nav-link {
	color: #ddd;
	text-shadow: 0 0 2px rgba(0,0,0,.45);
	transition: all .2s ease-in-out;
	font-size: 16px;
}
#menu .nav-link:hover {
	background: #444 none;
	color: #fff;
}
#menu .open .dropdown-toggle {
	background: rgba(80,80,82,1) none;
}

#menu .navbar-brand {	
	width: 120px !important;
	min-width: 120px !important;
	height: 40px;
	background: transparent url('assets/img/menu_logo.png') top no-repeat;
	background-size: 120px 80px;
	text-indent: -5000px;
}
#menu .navbar-brand:hover {
	background-position: bottom;
}

#menu .dropdown-menu {
	border-radius: 0 0 5px 5px;
	background: rgba(68, 68, 68, 1) linear-gradient(to bottom, rgba(80,80,82,1) 0%, rgba(30,30,31,1) 100%) no-repeat fixed;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
}

#menu li > .more-link {
	display: block;
	padding: 8px 10px 5px;
	text-align: center;
	text-decoration: none;
	font-size: 12px;
	color: #ccc;
}
#menu li > .more-link:hover  {
	color: #eee;
}
#menu li > .more-link b {
	font-size: 14px;
}
#menu li > .more-link:after {
	content: "→";
	padding-left: 5px;
}

/*##############################################################################

	MENU-POST

##############################################################################*/

.menu-post {
	width: 100%;
	padding: 10px;
	border-bottom: 2px solid #444;
}
.menu-post-image {
	display: inline-block;
	width: 110px;
	vertical-align: top;
}
.menu-post-image a {	
	display: block;
	width: 100px;
	border: 2px solid #ccc;
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
	transition: border-color .4s ease-in-out;
}
.menu-post-image a:hover {
	border-color: #fff;
}

.menu-post-text {
	display: inline-block;
	width: calc(100% - 120px);
	text-shadow: 0 0 2px rgba(0,0,0,.35);
}
.menu-post .header {
	padding: 0;
	font-size: 14px;
	font-weight: 500;
}
.menu-post .header a {
	color: #eee;
}
.menu-post .header a:hover {
	color: #fff;
}
.menu-post .body {
	height: 60px;
	overflow: hidden;
	margin: 0 0 6px;
	padding: 5px 0 10px;
	font-size: 12px;
	color: #ccc;
	/*background: linear-gradient(#ccc, rgba(50, 50, 51, 1));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;*/
}
/*.menu-post .body:after {
	content: "...";
	display: inline-block;
}*/
.menu-post .post-date {
	color: #999;
}
.menu-post .more-link {
	float: right;
	padding: 0 10px;
	color: #999;
/*	text-align: right;*/
}
.menu-post .more-link:hover {
	color: #eee;
}
.menu-post .more-link:after {
	content: "→";
	padding-left: 5px;
}
.menu-post .more-link {
	text-decoration: none !important;;
}
.menu-post .footer {
	font-size: 11px;
}

/*##############################################################################

	PAGINATION

##############################################################################*/

#pagination {
	padding: 40px 0;
}

#pagination a , #pagination .dots {
	color: #8c0017;
}

#pagination a:hover {
	color: #54000d;
}

#pagination .active a {
	background: #8c0017;
	border-color: #8c0017;
	color: #ddd;
}

/*##############################################################################

	FOOTER

##############################################################################*/

#footer {
	padding: 30px 0 60px;
}
#footer h3 {
	margin: 20px 0 10px;
	font-size: 20px;
}
#footer a {
	color: #bbb;
}
#footer a:hover {
	color: #ddd;
}
#footer small {
	font-size: 13px;
}

/*##############################################################################

	CONTENT

##############################################################################*/

#content {
	min-height: 600px;
	background: rgba(251, 251, 251, 1) none;
	color: #515151;
	/*border-radius: 10px;*/
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	z-index: 10;
}
#content .container {
	/*background: #fafafa;*/
	/*border: 1px solid #ddd;*/
}

/*##############################################################################

	FEATURED

##############################################################################*/

#featured {
	min-height: 600px;
	background: rgba(50, 50, 51, 1) none;
	color: #ddd;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	z-index: 20;
}

/*##############################################################################

	COUNTDOWN

##############################################################################*/

#countdown {
	height: 200px;
	padding: 10px;
 	overflow: hidden;
	background: rgba(50, 50, 51, 1) none;
 	background: #8c0017 url('assets/img/header_bg_01.jpg') top center / cover no-repeat;
	color: #fafafa;
 	text-align: center;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	z-index: 25;
}

#countdown .wrapper {
	margin: 0 auto;
}

#countdown p {
	font-size: 14px;
	line-height: 1.5;
	text-shadow: 0 0 4px rgba(0, 0, 0, .5);
}

#countdown .backdrop {
	width: 292px;
	margin: 0 auto;
	padding: 10px 20px 5px;
	background: #fafafa none;
	border: 1px solid #bbb;
	border-radius: 20px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2), inset 0 5px 10px rgba(0, 0, 0, 0.2);
}

#countdown-clock {
	margin: auto;
	width: 250px;
}

#countdown .countdown-event {
	font-size: 22px;
}
#countdown .countdown-date {
	font-size: 12px;
}


/*##############################################################################

	HOME BANNERS

##############################################################################*/

.home-banners {
	width: 100%;
	padding: 20px 0;
	background: #eee;
}
.home-banners .bnr {
	text-align: center;
}
.home-banners img {
	display: block;
	margin: 0 auto;
}

/*##############################################################################

	POSTS (INDEX PAGE)

##############################################################################*/

#posts .post {
	max-width: 440px;
	margin: 20px auto;
	border-bottom: 1px solid #bbb;
	padding-bottom: 20px;
}

#posts .post .post-header h1 {
	/*margin: 10px 0 0;*/
	padding: 5px 0 10px;
	font-size: 22px;
	letter-spacing: -1px;
}
#posts .post .post-header a {
	color: #515151;
}
#posts .post .post-header a:hover {
	color: #54000d;
}

#posts .post .post-image {
	position: relative;
	overflow: hidden;
}

#posts .post .post-meta {
	left: 0;
	width: 100%;
	padding: 5px 6px;
	background: rgba(50, 50, 51, 1) none;
	color: #999;
	text-align: center;
	font-size: 12px;
	text-shadow: 0 0 2px rgba(0,0,0,.35);
}
#posts .post .post-meta a {
	color: #bbb;
}
#posts .post .post-meta a:hover {
	color: #eee;
}

#posts .post .post-entry {
	padding: 20px 0 10px;
	font-size: 12px;
	text-align: justify;
}
#posts .post .post-entry-text {
	overflow: hidden;
	margin-bottom: 10px;
	/*text-overflow: ellipsis;*/
}
#posts .post .read-more {
	display: block;
	padding: 5px 0;
	font-size: 11px;
	text-align: right;
}

/*##############################################################################

	POST (SINGLE)

##############################################################################*/

.post-single {
	padding: 20px 0;
}


.post-single .post-header {
	padding: 20px 0;
	text-align: center;
}


.post-single .post-header img {
	display: block;
	margin: 20px auto 0;
}

.post-single .post-entry {
	padding: 20px 0;
	text-align: justify;
}

.post-single .post-metadata {
	margin: 0 auto 20px;
	border-top: 1px dashed #ccc;
	border-bottom: 1px dashed #ccc;
	padding: 20px 0;
	text-align: justify;
	font-size: 14px;
}

/*##############################################################################

	COMMENTS AND RESPOND

##############################################################################*/

#comments {
	margin: 20px auto;
	border-top: 1px dashed #ccc;
	padding: 20px 0;
}
#comments h3 {
	font-size: 20px;
}

.comments-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.comment {
	margin: 0 0 10px;
	padding: 20px;
	background: #eee none;
	color: #444;
	border-radius: 5px;
}
.comment-author img {
	display: inline-block;
	margin: 0 5px 5px 0;
	border: 1px solid #ddd;
	padding: 2px;
}
.comment-meta {
	margin-bottom: 10px;
	font-size: 10px;
}
.comment p {
	font-size: 16px;
}

#respond {
	padding: 20px 0;
}

#respond h3 {
	font-size: 20px;
}

/*##############################################################################

	SCREEN SIZE BREAKPOINTS

##############################################################################*/

/*
	sm >=  576px
	md >=  768px
	lg >=  992px
	xl >= 1200px
*/

/*##############################################################################

	SMALL SCREENS

##############################################################################*/

@media (min-width: 576px) {

	#header {
		display: block;
	}

	#menu .container {
		margin-left: auto;
		margin-right: auto;
	}
	
	#countdown .backdrop {
		width: 442px;
	}

	#countdown-clock {
		width: 400px;
	}
}

/*##############################################################################

	MEDIUM SCREENS

##############################################################################*/

@media (min-width: 768px) {

	#header {
		height: 150px;
		padding: 15px 0;
	}

	#menu .nav-link {
		padding-right: 8px;
		padding-left: 8px;
		font-size: 13px;
	}

	#menu-search {
		width: 300px;
		text-align: center;
	}
	
	.menu-post {
		width: 400px;
	}

	.menu-post-text {
		width: 260px;
	}

	#posts .post .post-header h1 {
		height: 60px;
	}

	#posts .post .post-entry-text {
		height: 72px;
	}

	#posts .post .post-meta {
		position: absolute;
		bottom: -40px;
		padding: 10px 6px;
		background: rgba(0,0,0,.6) none;
		transition: bottom .3s ease-in-out;
	}
	#posts .post .post-image:hover .post-meta {
		bottom: 0;
	}
}

/*##############################################################################

	LARGE SCREENS

##############################################################################*/

@media (min-width: 992px) {

	#header {
		height: 180px;
		padding: 30px 0;
	}

	#menu .nav-link {
		padding-right: 15px;
		padding-left: 15px;
		font-size: 16px;
	}

}

/*##############################################################################

	EXTRA LARGE SCREENS

##############################################################################*/

@media (min-width: 1200px) {

	#header {
		height: 220px;
		padding: 50px 0;
	}

	#posts .col-xl-3 .post .post-header h1 {
		height: 50px;
		font-size: 18px;
	}

}

/*##############################################################################

	HI DPI (RETINA) SCREENS

##############################################################################*/

@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { 

 	#header .header-logo {
		background-image: url('assets/img/header_logo@2x.png');
	}

	#menu .navbar-brand {
		background-image: url('assets/img/menu_logo@2x.png');
	}
}


/*##############################################################################

	ADMIN BAR FIX

##############################################################################*/

.admin-bar #menu {
	top: 46px;
	border-top: 1px solid #444;
}

@media screen and (max-width: 600px) {

	.admin-bar #menu {
		position: absolute;
	}

}

@media screen and (min-width: 783px) {

	.admin-bar #menu {
		top: 32px;
	}

}









/*##############################################################################

	LEGACY

##############################################################################*/


/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.alignleft,
img.alignright {
	float: none;
	margin: 0;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/*---------------------------------------------------------------------------*/


/* ImageGrid */

ul.imagegrid {
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	padding: 20px 0 40px;
	list-style: none;
	text-align: center;
}

ul.imagegrid li {
	display: inline-block;
	/*float: left;*/
	margin: 0;
	padding: 2px;
	width: 102px;
	height: 102px;
	background: #fff none;
}

ul.imagegrid a img {
	display: block;
	padding: 2px;
	border: 1px solid #444;
}

ul.imagegrid a:hover img, ul.imagegrid a:focus img {
	border-color: #cc0022;
}
/*---------------------------------------------------------------------------*/



/* Programa General */

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 1em;
	border-bottom: 1px dashed #ccc;
	padding-bottom: 1em;
}

.programa-encabezado {
	text-align: center;
}
.programa-encabezado h2 {
	font-size: 30px;
}
.programa-encabezado h3 {
	font-size: 26px;
}

.programa-dia {
	margin-bottom: 60px;
	border-bottom: 2px solid #ccc;
	padding-bottom: 40px;
}
.programa-dia h3 {
	font-size: 24px;
}
.programa-dia h4 {
	font-size: 20px;
}
.programa-dia dt {
	font-weight: bold;
	font-size: 16px;
}
.programa-dia dt b {
	font-size: 18px;
}
.programa-dia dd {
	margin-bottom: 20px;
	border-bottom: 1px dashed #ccc;
	padding-bottom: 20px;
	font-size: 16px;
}
.programa-dia dd:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.programa-pie {
	font-size: 16px;
}

/* Tabla de resultados del toro de once */

table.resultados-toro {
	margin: 10px auto 20px;
	/*width: 600px;*/
	width: 100%;
	border: 2px solid #ccc;
	border-collapse: collapse;
}
table.resultados-toro th {
	border-bottom: 2px solid #ccc;
	background: #ddd;
}
table.resultados-toro td {
	padding: 2px 6px;
	border-bottom: 1px dashed #ddd;
	text-align: left;
}
table.resultados-toro tbody tr:nth-child(odd) {
	background: #eee none;
}
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/