body {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	color: #666;
	background: #f2f2f2;
	font-size: 1em;
	line-height: 1.5em;
}

h1 {
	font-size: 2.3em;
	line-height: 1.3em;
	margin: 5px 0;
	text-align: center;
	font-weight: 300;
	padding-top: 15px;
}

p {
	margin: 1em 2em;
	text-align: justify;
}

img {
	max-width: 100%;
	height: auto;
	margin: 1em 0;

}
/*Estas líneas de CSS las usaremos para dar estilo a la cabecera:*/

#main-header {
	background: #201113;
	color: white;
	height: 95px;
	width: 100%; /* hacemos que la cabecera ocupe el ancho completo de la página */
	left: 0; /* Posicionamos la cabecera al lado izquierdo */
	top: 0; /* Posicionamos la cabecera pegada arriba */
}
#main-header a {
	color: white;
}

/*
 * Logo
 */

 #main-header #logo_d24{
	float: left;
	height: 60px;
	width: auto;
	margin: 0;
	padding: 17px 0 0 20px;
}

#logo-header {
	float: left;
	padding: 25px 0 0 10px;
	text-decoration: none;
}

#logo-header:hover {
	color: #a7a7a7;
}

#logo-header .site-name {
	display: block;

	font-size: 2.3em;


	font-family: "georgia", serif;
	font-weight: normal;
}

#logo-header .site-desc {
	display: block;
	font-weight: 500;
	font-size: 1em;
	color: #999;
	padding-top: 5px;
}

/*
 * Navegación
 */
nav {
	float: right;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-right: 20px;
	font-size: 1.3em;
}

nav ul li {
	display: inline-block;
	line-height: 95px;
}

nav ul li a {
	display: block;
	padding: 0 10px;
	text-decoration: none;
}

nav ul li a:hover {
	text-decoration: #fbf900;
	background: #a7a7a7;
}

/*Con estos estilos aplicaremos diseño al contenido:*/

#main-content {
	background: white;
	width: 90%;
	max-width: 800px;
	min-width: 550px;
	height: 100vh;
	min-height: 1000px;
	margin: 0px auto;
	box-shadow: 0 0 50px rgba(0, 0, 0, .1);
}

#divInicio {
	display:block;
	height: auto;
}

#divContenedor {
	display:none;
	background: white;
	width: auto;
	height: 460px;
}

#divBotones {
	display:none;
}

#divBuscar {
	background: #eeeeee;
	width: 310px;
	border-style: groove;
	border-width: 5px;
	margin: 2em 0;
}

#divBuscar h3{
    margin: 0;
	padding: 1em 0 0.2em 0;
}

#btnMenu{
	background: #201113;
	color: white;
	height: 1.8rem;
	width: 1.8rem;
	border-radius: 10px;
}

#btnIr {
	background: #201113;
	color: white;
	height: 1.8rem;
	width: 1.8rem;
	border-radius: 10px;
}


#buscar_partida {
	margin-bottom: 2em;
	height: 20px;

}



#divElegir_piezas {
	display:none;
}

.botones {
	background: #201113;
	color: white;
	height: 1.8rem;
	width: 5rem;
	border-radius: 10px;
}

button:disabled {
	 background: #aaa;
}

#chessbase{
	color: #a7a7a7;
}

/*Y por último, con esto estilizaremos el pie de página:*/

#main-footer {
	background: #201113;
	color: white;
	padding: 0.9rem;
	margin-top: 5px;
}

#main-footer p {
	margin: 0;
	text-align: center;
}

body #copy {
	font-size: 1.3em ;
}

#visitas {
	padding: 0;
	font-size: 1.1em ;
	color: #a7a7a7;
}

#dedo_up {
	margin:0;
	height: 25px;
	width: auto;
	vertical-align: text-bottom;
}
