/*
	Tema Fase Bonus 2012-2014 v2.0
	Comun para WP y SMF - por Marc Robledo
*/

@font-face {
	font-family: 'Droid Serif Bold';
	src: url('DroidSerif-Bold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}



body{
	background: #134686 url('fasebonus_fondo.png');
	padding: 0;	margin: 0;
	font: 14px sans-serif;
}

a{
	color: #2f76e1;
	text-decoration: none;
}
a:hover{
	color: #dd6e14;
	text-decoration: underline;
}



#header{
	position: relative;
	text-align: center;
	overflow: hidden;
	background-color: #222;
	height: 160px;
}


#logo{
	position: relative;
	z-index: 400;
	height: 100%;
}
#logo h1, #logo h2{display: none;}
#logo img{border: none; height: 100%;}


@keyframes aparecer{
	0%{opacity: .2;}
	90%{opacity: .2}
	100%{opacity: 1;}
}


.game-strip{
	position: relative; top: -160px; left: 15px;
	width: 80px; height: 160px;
	display: inline-block;
	margin-left:-34px;
	opacity: .2;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=10); /* necesario para IE6-8 */
	animation-duration: 5s;
	animation-name: aparecer;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

/* MENU */
#menu{
	font-family: 'droid serif bold', georgia;
	background-color: #2e6eb8;
	text-align: center;
	font-size: 110%;
	text-transform: uppercase;
	position: relative;
}
#menu a{
	color: white;
	text-decoration: none;
	padding: 8px 15px;
	text-shadow: #0d4284 0 0 4px;
	-webkit-transition: background-color linear 0.3s;
	-moz-transition: background-color linear 0.3s;
	-o-transition: background-color linear 0.3s;
	-ms-transition: background-color linear 0.3s;
	transition: background-color linear 0.3s;
	/*background-color: rgba(0,50,100, 0.50);*/
}
body.home #menu a.enlace-principal,
body.category-destacado #menu a.enlace-destacado,
body.category-articulos #menu a.enlace-articulos,
body.category-podcast #menu a.enlace-podcast, body.foro #menu a.enlace-foro{
	font-weight: bold;
	background-color: #1857a3;
}
#menu a:hover{
	background-color: #315e94;
	text-decoration: none;
}
#menu ul{
	list-style: none;
	margin: 0; padding: 0;
	color: white;
	padding: 10px 0;
}
#menu li{
	display: inline;
	position: relative;
	margin-right: 4px;
}


#menu li:hover .submenu{
	display: block;
}
#menu .submenu{
	display:none;
	background-color: #2e6eb8;
	width: 200px;
	position: absolute;
	top: 24px;
	left: 50%;
	margin-left: -110px;
	z-index: 600;
	padding: 5px;
}
#menu .submenu a{
	display: block;
}
#menu .submenu li{
	display: block;
}

/*
#menu-busqueda{
	font: 14px sans-serif;
	padding: 4px 24px 4px 4px;
	position: absolute;
	top: 6px;
	right: 8px;
	background: #1857a3 url('fasebonus_sprites.png') right -200px no-repeat;
	border: none;
	color: white;
}
#menu-busqueda:focus{
	box-shadow: #a8f0ff 0 0 2px 1px;
}
*/



/* CONTENIDO */
#content{
	padding: 30px;
}

#container{float: left; width: 77%;}
.page-template-onecolumn-page-php #container{float: none;}

#foro-content{background-color: white; margin: 30px; padding: 20px;}

/* WIDGETS */
.widget-area{
	float: right;
	width: 23%;
}
.widget-area a{
	color: #c0d8f1;
}
.widget-area h3{
	color: #f3b610;
	background-color: black;
	text-transform: lowercase;
	text-align: right;
	padding: 6px 8px;
	border-radius: 3px;
	margin: 0 0 10px;
	font: bold 110% 'droid serif bold';
}
.xoxo{
	list-style: none;
	padding: 15px 25px; margin: 0;	
	background-color: rgba(0,0,0,0.25);
}
.widget_categories h3, .widget_tag_cloud h3{display: none;}

.widget-container{
	clear: both;
	margin-bottom: 50px;
	font-size: 90%;
	color: white;
	text-shadow: black 0 0 8px;
	line-height: 1.5;
}
.widget-container img{
	max-width: 100%;
}
.widget-container ul{
	list-style: none;
	padding: 0;
}
.widget-container li{
	margin-bottom: 10px;
}
#text-2 .textwidget{
	text-align: center;
}


.widget-redes{
	height: 130px;
}
.widget-redes li{
	width: 33%;
	float: left;
}
.widget-redes a{
	margin: -2px 3px;
	color: white; 
	background-color: #334;
	font-weight: bold;
	font-size: 12px;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	padding: 5px 0;
	display: block;
	background-image: linear-gradient(to bottom, transparent 40%,rgba(0,0,0,0.15) 100%);
	transition: background-color .2s, box-shadow .2s;
}
.widget-redes a:hover{
	box-shadow: white 0 0 0 2px inset;
	text-shadow: black 0 0 2px;
}
.widget-redes img{
	background-image: url('fasebonus_sprites.png');
	background-repeat: no-repeat;
	width: 48px;
	height: 44px;
	border: none;
}
.widget-redes .feed img{}
.widget-redes .feed:hover{background-color: #f27c28;}
.widget-redes .facebook img{background-position: 0 -100px;}
.widget-redes .facebook:hover{background-color: #2c1ee8;}
.widget-redes .twitter img{background-position: 0 -50px;}
.widget-redes .twitter:hover{background-color: #4cd7ff;}
.widget-redes .youtube img{background-position: 0 -150px;}
.widget-redes .youtube:hover{background-color: #f21f00;}
.widget-redes .googleplus img{background-position: -50px 0;}
.widget-redes .googleplus:hover{background-color: #f21f00;}
.widget-redes .ivoox img{background-position: -50px -50px;}
.widget-redes .ivoox:hover{background-color: #ff9000;}

/*
.widget-red-ivoox{background-position: 0 -160px; background-color: #143962;}
.widget-red-ivoox:hover{background-color: #3f3f3f;}
*/




.widget_search{
	text-align: center;
}
.widget_search #s{
	font: 100% sans-serif;
	padding: 6px 8px;
	width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: none;
	color: white;
	text-shadow: black 0 1px;
	background: #2b517f url('http://www.fasebonus.net/disenocomun/fasebonus_sprites.png') right -198px no-repeat;
	transition: all .2s;
}
.widget_search #s:focus{
	color: black;
	background-color: #f0f0f0;
	text-shadow: white 0 1px;
	box-shadow: #bdf6ff 0 0 2px 1px;
}

.widget_search label, .widget_search #searchsubmit{
	display: none;
}



.widget-container select{
	font: 100% sans-serif;
	width: 100%;
	padding: 5px 5px;
	border: none;
	background-color: #2b517f;
	color: white;
	text-shadow: black 0 1px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.widget_archive, .widget_categories, .widget_tag_cloud{margin-bottom: 10px;}









/* PIE DE PAGINA */
#footer{
	margin: 0 auto;
	padding: 80px 10px 20px;
	text-shadow: black 0 1px;
	color: #aaa;
	background: #212121 url('fasebonus_sprites.png') center -360px repeat-x;
}
#footer a{color: #aaa;}
#footer a:hover{color: white;}

#copyright{
	font-size: 100%;
	margin: 0; padding: 0;
	font-weight: normal;
	text-align: center;
}

#footer-menu{
	/*border-bottom: 1px solid #3d3d7b;*/
	position: relative;
	list-style: none;
	padding: 0;
	margin: 0 0 15px;
	font-size: 85%;
	text-align: center;
}

#footer-menu li{
	display: inline;
	border-left: 1px dotted #444;
	padding: 1px 6px;
}

#emilios{
	font-size: 85%;
	text-align: center;
	margin-bottom: 15px;
	color: #777
}
#emilios b{
	color: #bbb;
}



.publi{
	width: 90%;
	min-height: 30px;
	margin: 0 auto 20px;
}
.publi-vertical{
	width: 160px;
	max-width: 100%;
	margin: 0 auto;
}


/* maximo 1024 ancho */
@media only screen and (max-width: 1025px) {
	body{
		font-size: 13px;
	}
	#header{
		height: 140px;
	}
	#content{
		padding: 20px;
	}
	.xoxo{
		padding: 10px;	
	}
	.game-strip-0{display: none;}
}
/* maximo 480 ancho */
@media only screen and (max-width: 481px) {
	.publi{
		width: 80%;
	}
	body{
		background-image: none;
	}
	#header{margin:0; height: 80px;}
	#menu{
		margin: 0 !important;
		line-height: 2;
		font-size: 95%;
	}
	#menu ul{
		padding: 0 !important;
	}
	#menu a{
	padding: 2px 8px;
	}
	#menu .submenu{
		top:15px
	}

	#container{
		width: 100% !important;
	}
	#content{
		padding: 10px;
	}
	#foro-content{margin: 0; padding: 10px;}

	.widget-area{
		display: none;
	}

	#container{
		margin-right: 0;
	}
	.game-strip-1{display: none;}
	.game-strip-2{display: none;}
	.game-strip-3{display: none;}
	.game-strip-4{display: none;}
	.game-strip-5{display: none;}
	.game-strip-6{display: none;}
}

/* maximo 1024 ancho */
@media only screen and (max-width: 1025px) {
	#foro-content{margin: 15px; padding: 15px;}
}

/* Imprimir */
@media print {
	body {
		background: none !important;
	}
}