/*
Theme Name: Pequejuegos
Description: Un nuevo look para el blog de PequeJuegos.com
Author: Joan Artés
Author URI: http://joanartes.com/
Version: 0.1
Date: agosto 2012
*/

/* === INDEX ===
    0. =Reset
    1. =Estilos generales
    2. =Header y Footer
    3. =Index Page
    4. =Single
    5. =404
    6. =Sidebar
*/

/* 0. =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 1. =Estilos generales
-------------------------------------------------------------- */

@font-face {
  font-family: 'NunitoRegular';
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Regular-webfont.eot');
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Regular-webfont.eot#iefix') format('embedded-opentype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Regular-webfont.woff') format('woff'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Regular-webfont.ttf') format('truetype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Regular-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NunitoLight';
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Light-webfont.eot');
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Light-webfont.eot#iefix') format('embedded-opentype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Light-webfont.woff') format('woff'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Light-webfont.ttf') format('truetype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Light-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NunitoBold';
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Bold-webfont.eot');
  src: url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Bold-webfont.eot#iefix') format('embedded-opentype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Bold-webfont.woff') format('woff'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Bold-webfont.ttf') format('truetype'),
       url('wp-content/themes/pequejuegos/fonts/blog_subdomain/Nunito-Bold-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  background: url("img/bg.png") repeat;
  color: #666;
  font-family: Helvetica Nue, Helvetica;
  font-size: 13px;
}

a {
  color: #179FC9;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #cc5e17;
}
.container {
  margin: 0 auto;
  position: relative;
  width: 960px;
}

#contenedor {
  overflow: hidden;
  position: relative;
}


/* 2. =Header y footer
-------------------------------------------------------------- */
#cabecera {
  background: url("img/header-bg.gif");
}

  #logo {
    display: block;
	height: 185px;
	margin: 0 auto 20px;
	padding: 20px 0 0;
	width: 440px;
  }

  #pj-menu-header, #pj-menu-footer {
    height: 27px;
    padding: 0 0 9px;
    position: relative;
  }

  #pj-menu-footer {
    padding: 25px 0 0;
  }

    #pj-menu-header ul li,
    #pj-menu-footer ul li {
      float: left;
      height: 35px;
      margin: 0 60px 0 0;
      position: relative;
    }

    #pj-menu-header ul li:first-child,
    #pj-menu-footer ul li:first-child {
      margin-left: 0;
    }

      #pj-menu-header .menu-item a,
      #pj-menu-footer .menu-item a {
        font-family: "NunitoRegular";
        color: #fff;
        font-size: 21px;
      }

      #pj-menu-header .menu-item a:hover,
      #pj-menu-footer .menu-item a:hover {
        color: #333;
      }

    #pj-menu-header ul ul,
    #pj-menu-footer ul ul {
      background-color: #fff;
      border: 1px solid #179fc9;
      display: none;
      float: left;
      left: 0;
      list-style: disc inside;
      margin: 0;
      position: absolute;
      top: 30px;
      width: 125px;
      z-index: 99999;
    }

    #pj-menu-header ul li:hover > ul {
      display: block;
    }

    #pj-menu-header #menu-header .sub-menu {
      left: -30px;
      padding: 15px 0 0 10px;
      width: 140px;
    }
    .triangulo {
      border-color: transparent transparent #FFFFFF;
      border-style: solid;
      border-width: 7px;
      height: 0;
      left: 59px;
      position: absolute;
      top: -14px;
      width: 0;
    }

    #pj-menu-header #menu-header .sub-menu li {
      width: 100%;
    }

    #pj-menu-header #menu-header .sub-menu a {
      font-size: 16px;
      color: #179fc9;
    }

      #pj-menu-header #menu-header .sub-menu a:hover {
        color: #cc5e17;
      }

  #top-bg {
    background: url("img/top-bg.png") repeat-x bottom center;
    display: block;
    height: 5px;
    margin: -5px 0 0 0;
  }

#footer {
  background: url("img/header-bg.gif") repeat scroll 0 0 transparent;
  height: 175px;
}

#bottom-bg {
  background: url("img/bottom-bg.png") repeat-x scroll center bottom transparent;
  display: block;
  float: left;
  height: 6px;
  width: 100%;
}

/* 3. =Index
-------------------------------------------------------------- */
#pagina {

}

#principal {
  float: left;
  margin: 35px 0;
  width: 600px;
}

.noticia {
  border-bottom: 1px solid #666;
    margin: 0 0 35px;
    overflow: hidden;
    position: relative;
}

.single .cabecera-noticia {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
}

.cabecera-noticia .titulo {
  color: #666;
  display: block;
  font-family: "NunitoBold";
  font-size: 30px;
  font-weight: normal;
  line-height: 36px;
  width: 555px;
}
  .cabecera-noticia .titulo:hover {
    color: #cc5e17;
  }

.resumen p {
  line-height: 18px;
}

  .resumen img {
    -moz-box-shadow: inset 0 0 5px 0 #888;
    -webkit-box-shadow: inset 0 0 5px 0 #888;
    box-shadow: inset 0 0 5px 0 #888;
    margin: 0 0 15px;
    padding: 5px;
  }

.resumen .more-link {
  float: left;
  font-family: "NunitoBold";
  font-size: 18px;
  font-weight: normal;
  margin: 20px 0 10px;
  text-align: right;
  width: 100%;
}

.header-noticia {
  margin: 0 0 20px;
  overflow: hidden;
  position: relative;
}

#navegacion a {
  -moz-border-radius: 9px;
  background-color: #179FC9;
  border-radius: 9px;
  color: #fff;
  display: block;
  float: left;
  height: 35px;
  line-height: 35px;
  margin: 0 15px 0 0;
  text-indent: 14px;
  width: 188px;
}

#navegacion a:hover {
  background-color: #cc5e17;
}

.boton-comentarios {
  background: url("img/sprite.png") no-repeat scroll 0 -300px;
  display: block;
  float: right;
  height: 35px;
  width: 38px;
}

  .boton-comentarios:hover {
    opacity: .8;
  }

    .boton-comentarios a {
      color: #fff;
      display: block;
      font-family: "NunitoRegular";
      font-size: 15px;
      font-weight: normal;
      margin: 7px 0 0;
      text-align: center;
    }

.autor {
  float: left;
  margin: 20px 0 0;
  width: 450px;
}

/* 4. =Single
-------------------------------------------------------------- */

  .contenido p {
    line-height: 18px;
    margin: 10px 0;
  }
  .contenido strong {
    font-weight: bold;
  }
  .contenido em {
    font-style: italic;
  }
  .contenido ul, .contenido ol {
    list-style: disc inside none;
    margin: 5px 0 5px 2px;
}
    .contenido li {
        line-height: 18px;
        margin: 10px 0;
    }
    .contenido blockquote {
        font-style: italic;
        width: 500px;
        margin: 0 0 0 20px;
        border-left: 2px solid #666;
        padding: 0 0 0 5px;
    }

    .contenido a img {
      -moz-box-shadow: inset 0 0 5px 0 #888;
      -webkit-box-shadow: inset 0 0 5px 0 #888;
      box-shadow: inset 0 0 5px 0 #888;
      margin: 0 0 15px;
      padding: 5px;
    }

	.contenido a {

		font-weight: bold;
	}

	.contenido p {
		display: block;
		line-height: 18px;
		margin: 0 0 20px 0;
	}

	.contenido ol  {
		margin: 0 0 20px;
		list-style: decimal inside none;
	}
	.contenido ul {
		margin: 0 0 20px;
		list-style: disc inside none;
	}

    .contenido img {
        -moz-box-shadow: inset 0 0 5px 0 #888;
        -webkit-box-shadow: inset 0 0 5px 0 #888;
        box-shadow: inset 0 0 5px 0 #888;
        padding: 5px;
    }

	.footer-noticia {
		border-top: 1px solid black;
		padding: 3px 0 1px;
		position: relative;
		line-height: 16px;
		overflow: hidden;
	}

		.etiquetas {
			float: left;
			font-weight: bold;
			margin: 7px 0 0;
			text-transform: uppercase;
			width: 455px;
		}

			.etiquetas a {
				text-transform:	none;
			}

	#comenta {
		color: #179FC9;
		float: right;
		font-family: "NunitoBold";
		font-size: 16px;
		font-weight: normal;
		margin: 6px 15px 0 0;
	}
		#comenta:hover {
			color: #CC5E17;
		}

/* 5. =404
-------------------------------------------------------------- */


#error-404 h1 {
	color: #179FC9;
	font-family: "NunitoBold";
	font-size: 40px;
	margin: 20px 0 30px 12px;
}


#error-404-texto {
	background: url("img/error.png") no-repeat scroll 0 0 transparent;
	color: #179FC9;
	height: 408px;
	overflow: hidden;
	position: relative;
	width: 960px;
}

	#error-404-texto strong, #error-404-texto p {
		clear: both;
		float: left;
		font-size: 16px;
		line-height: 20px;
		margin: 20px 0 0 70px;
		width: 400px;
	}

	#error-404-texto strong {
		font-weight: bold;
		margin: 70px 0 0 70px;
	}

	#error-404-texto a {
		color: #CC5E17;
	}

		#error-404-texto a:hover {
			color: #179FC9;
		}

	#error-home, #error-videos, #error-juegos {
		display: block;
		height: 40px;
		overflow: hidden;
		position: absolute;
		text-indent: -999px;
		width: 120px;
	}

	#error-home {
		right: 136px;
		top: 75px;
	}

	#error-videos {
		right: 130px;
		top: 142px;
	}

	#error-juegos {
		right: 136px;
		top: 200px;
	}

/* 6. =Sidebar
-------------------------------------------------------------- */
#secundario {
    float: right;
    margin: 20px 0 0;
    padding: 0 0 30px;
    width: 330px;
    -moz-box-shadow: inset 0 0 5px 1px #888;
    -webkit-box-shadow: inset 0 0 5px 1px #888;
    box-shadow: inset 0 0 5px 1px #888;
}

#busqueda {
  background: url("img/fondo-busqueda.png") no-repeat scroll 0 0 transparent;
  height: 40px;
  margin: 30px 0 30px 44px;
}

  .buscar {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    color: #666;
    float: left;
    font-family: Helvetica Neue;
    font-size: 13px;
    font-style: italic;
    height: 40px;
    text-indent: 8px;
    width: 190px;
  }

  .btn-busqueda {
    float: left;
    margin: 15px 0 0 10px;
  }

.widget_ultimo_post {
	width: 300px;
    margin: 0 auto 20px;
}
	.widget_ultimo_post h3 {
		background-color: #179FC9;
		display: block;
		font-family: "NunitoRegular";
		height: 40px;
		text-indent: 8px;
		width: 300px;
		color: #fff;
		line-height: 38px;
		font-size: 21px;
	}

	.arrow-down {
		border-left: 15px solid transparent;
		border-right: 15px solid transparent;
		border-top: 15px solid #179FC9;
		height: 0;
		position: absolute;
		right: 255px;
		width: 0;
	}

#secundario .widget_links {
	margin: 35px auto;
    width: 300px;
}

	#secundario .widget_links h3 {
		border-bottom: 1px solid #179FC9;
		color: #179FC9;
		font-family: "NunitoRegular";
		font-size: 24px;
		margin: 0 0 15px;
		padding: 0 0 4px;
	}

	#secundario .widget_links ul {
		line-height: 17px;
		list-style: disc inside none;
	}

	#secundario .widget_links li {
		color: #179FC9;
		font-size: 20px;
		padding: 0 0 10px;
	}

	#secundario .widget_links a {
		color: #666;
		font-size: 14px;
	}

		#secundario .widget_links a:hover {
			color: #CC5E17;
		}

#pj-menu-social {
    position: absolute;
    right: 0;
    top: 20px;
}
#pj-menu-social li a {
    display: block;
    height: 30px;
    width: 30px;
}
#pj-menu-social .facebook {
    background: url("img/sprite.png") no-repeat scroll -100px 0 transparent;
    float: left;
    overflow: hidden;
    text-indent: -200px;
}
#pj-menu-social .facebook:hover {
    background: url("img/sprite.png") no-repeat scroll -100px -50px transparent;
}
#pj-menu-social .twitter {
    background: url("img/sprite.png") no-repeat scroll 0 0 transparent;
    float: left;
    overflow: hidden;
    text-indent: -200px;
}
#pj-menu-social .twitter:hover {
    background: url("img/sprite.png") no-repeat scroll 0 -50px transparent;
}

.relacionadas {
  -moz-box-shadow: inset 0 0 5px 1px #888;
  -webkit-box-shadow: inset 0 0 5px 1px #888;
  box-shadow: inset 0 0 5px 1px #888;
  margin: 20px auto;
  padding: 10px;
  width: 580px;
}
  .relacionadas img {
    -moz-box-shadow: inset 0 0 5px 0 #888;
    -webkit-box-shadow: inset 0 0 5px 0 #888;
    box-shadow: inset 0 0 5px 0 #888;
    padding: 5px;
    float: left;
    width: 175px;
	height: 115px;
  }
    .relacionadas img:hover {
      opacity: 0.8;
    }
  .relacionadas h2 {
    text-transform: uppercase;
    font-family: "NunitoBold";
    font-size: 18px;
    color: #666;
    margin: 10px 0 0 8px;
  }
  .relacionadas ul {
    padding: 0;
    overflow: hidden;
    position: relative;
  }
  .relacionadas a {
    display: block;
    font-weight: bold;
    line-height: 17px;
    margin: 10px 0;
    padding: 4px 0 0;
  }
  .relacionadas a:hover {
    color: #CC5E17;
  }
  .relacionadas li:first-child a {
    margin: 0;
  }
  .relacionadas .rel-destacada {
    float: left;
    display: block;
    margin: 0;
    padding: 0;
  }
  .relacionada-destacada {
    float: left;
    margin: 15px 0 10px 13px;
    width: 180px;
  }
  .relacionadas .rel-destacada-titulo {
    display: block;
    float: left;
    font-weight: bold;
    line-height: 14px;
    margin: 5px 0 0;
    padding: 6px 0 0 0;
    width: 175px;
  }
  .relacionada-link {
    float: left;
    font-size: 14px;
    list-style: disc outside none;
    margin: 0 0 0 15px;
    width: 530px;
  }
  .relacionadas .related_post li:first-child {
    margin: 15px 0 10px 5px;
  }


.widget_text {
    margin: 20px auto 20px;
    width: 300px;
}