@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: white;
}
main {
	width: 100%;
	box-sizing: border-box;
/*	background-image: url('../img/fondo.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
*/
}
main .sticky {
	position: sticky;
	height: 60px;
	top: 0px;
	background: #014179;
}
a {
	color: black;
	text-decoration: none;
}
h1 {
	margin: 0px;
	font-size: 24px;
	font-weight: normal;
	height: 50px;
/*	background-color: rgba(143, 153, 122, 0.6);
	line-height: 42px;
	border-radius: 10px;	*/
}
h2 {
	color: white;
	margin: 10px auto;
}
h3 {
	font-size: 16px;
	font-weight: normal;
	color: white;
}
footer {
	width: 100%;
	margin-top: 20px;
	font-size: 14px;
	color: #808080;
	background-color: #C9DDF2;
	justify-content: flex-end;
}

#inclave {	/*index.html */
	height: 25px;
	border: 1px solid #3C6EB4;
	padding: 0px 0px 1px 5px;
}
#contMenu {
	height: 80px;
	max-width: 1264px;
	background: #014179;
	display: flex;
	align-items: bottom;
	justify-content: space-between;
}
/* Estilos del menu principal */
#nav {
	display: flex;
	background: #014179;
	margin-top: 50px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .5);
}
#nav li {
	margin: 1px;
	float: left;
	position: relative;
	list-style: none;
}
#nav a {
	font-family: Verdana;
	font-size: 16px;
/*	font-weight: bold;	*/
	color: white;
	text-decoration: none;
	display: block;
	padding: 1px 20px;
	text-shadow: 0 1px 1px rgba(0,0,0, .7);
}
/* Elemento de menu seleccionado */
#nav .current a, #nav li:hover > a {
	background: #cccccc;
	color: #40557F;
	border-top: 1px solid #f8f8f8;
	box-shadow: 0 1px 1px rgba(0,0,0, .7); /*some css3*/
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .7);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .7);
	text-shadow: 0 1px 1px rgba(255,255,255, 0.7);
	cursor: pointer;
}
/* Subniveles */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: white;
}
#nav ul li a:hover {
	background: #40557F;
	color: white;
	text-shadow: 0 1px 1px rgba(0,0,0, 0.7);
	cursor: pointer;
}

/* Despliegue */
#nav li:hover > ul {
	opacity: 1;
	visibility: visible;
}
#nav ul {
	opacity: 0;
	visibility: hidden;
	padding: 0;
	width: 250px;
	position: absolute;
	background: #999999;
	border: 1px solid #cccccc;
	box-shadow: 0 1px 1px rgba(0,0,0, .5);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .5);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .5);

	-moz-transition: opacity .25s linear, visibility .1s linear .1s;
	-webkit-transition: opacity .25s linear, visibility .1s linear .1s;
	-o-transition: opacity .25s linear, visibility .1s linear .1s;
	transition: opacity .25s linear, visibility .1s linear .1s;
}
#nav ul li {
	float: none;
	margin: 0;
}
#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(255,255,255, 0.7);
}
#nav ul ul {
	left: 240px;
	top: 0px;
}
#minimenu {
	display: none;
}

#central {
	width: 90%;
	max-width: 1100px;
	background-color: rgba(225, 225, 225, 1);
	border-top: 1px solid black;
	margin: 20px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 12px;
}

/*#cliente {
	width: 20%;
	max-width: 240px;
	min-width: 70px;
	margin-bottom: 2px;
	border: 1px solid black;
	padding: 2px 0;
	text-align: center;
}
#cliente p {
	margin: 0;
}
*/

#fecha {
	width: 10%;
	max-width: 120px;
	min-width: 80px;
	margin-bottom: 2px;
	border: 1px solid black;
	padding: 2px 0;
	text-align: center;
}
#fecha p {
	margin: 0;
}
#fecha:hover {
	cursor: pointer;
}
#hora {
	width: 5%;
	max-width: 60px;
	min-width: 40px;
	margin-bottom: 2px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	padding: 2px 0;
	text-align: center;
}
#hora p {
	margin: 0;
}#hora:hover {
	cursor: pointer;
}
#nota {
	width: 70%;
	max-width: 800px;
	margin-bottom: 2px;
	border: 1px solid black;
	padding: 2px 5px;
}
#nota p {
	margin: 0;
}
#nota:hover {
	cursor: pointer;
}
#datos {
	width: 70%;
	height: 25px;
	max-width: 800px;
	margin-bottom: 2px;
	border: 1px solid black;
	padding: 2px 5px;
}
#datos p {
	margin: 0;
}
#datos:hover {
	cursor: pointer;
}


#leido {
	width: 5%;
	height: 13px;
	max-width: 70px;
	min-width: 40px;
	margin-bottom: 2px;
	border-top: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	padding: 2px 5px;
	text-align: center;
}
#leido p {
	margin: 0;
}
#leido:hover {
	cursor: pointer;
}
.titulo {
	font-weight: bold;
}

#centrado {
	width: 100%;
	max-width: 1260px;
	display: block;
	text-align: center;
	align-items: center;
	align-content: center;
}
#nuevo, #borrar {
	width: 80%;
	max-width: 900px;
	border: 2px solid #cccccc;
	margin: 20px auto;
}
#buscar, #comentar, #xfecha {
	width: 60%;
	max-width: 700px;
	border: 2px solid #cccccc;
	margin: 20px auto;
}
.oculto {
	display: none;
}
#interior {
	display: flex;
	padding: 3% 3% 0 3%;
	justify-content: space-around;
	align-items: center;
}
#anota, #comenta {
	width: 98%;
	height: 70px;
	min-height: 25px;
	resize: vertical;
	padding: 2px;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#intexto{
	width: 100%;
	margin-bottom: 2px;
}
#busca {
	width: 100%;
	padding: 0;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.deshas {
	width: 30%;
	min-width: 60px;
	padding: 5px;
	font-size: 14px;
	text-align: right;
}
.inifin {
	display: flex;
	width: 50%;
	align-items: flex-end;
}
.boton {
	border: none;
	font-size: 16px;
	width: 50%;
	padding: 5px;
	display: inline-block;
	letter-spacing: 1px;
	font-style: italic;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.boton:first-child {
	background-color: #E66E6E;
}
.boton:last-child {
	background-color: #3C6EB4;
}
.boton:hover {
	font-weight: bolder;
	cursor: pointer;
}

#guardar {
	width: 220px;
	height: 28px;
	border: 1px solid #323232;
	position: absolute;
	top: 100px;
	left: 300px;
}
#creado {
	width: 160px;
	height: 30px;
	border: 2px solid #323232;
	position: absolute;
	background-color: #FAEBD7;
}
#creado p {
	margin: 2px 3px 2px 10px;
}
.inicial {
	padding-left: 33%;
	padding-right: 33%;
	margin-top: 100px;
}

/* clientes.php */

#datoscliente {
	width: 90%;
	max-width: 400px;
	background-color: rgba(225, 225, 225, 1);
	border-top: 1px solid black;
	margin: 20px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 12px;
}
#opClientes {
	width: 200px;
	margin: auto;
}
#nomCliente {
	width: 200px;
	margin: auto;
}
#nombre {
	width: 200px;
	height: 30px;
	resize: vertical;
	padding: 2px;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#info {
	width: 360px;	
	border: 1px solid black;
	margin: 2px auto 15px;
	padding: 2px 5px;
}

#pie {
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	border-color: black;
	border-width: 3px;
}
#pie a {
	display: block;
	text-decoration: none;
	color: #808080;
}
#pie a:hover {
	text-decoration: underline;
}
#pie div:nth-child(2) {
	text-align: center;
}
#pie div:nth-child(3) {
	text-align: right;
}
.ver {
	font-weight: bold;
	margin-bottom: 2px;
}
.comp:first-child {
	margin-top: 20px;
	margin-bottom: 2px;
}
.comp:last-child {
	margin-top: 30px;
}
#redes {
	display: flex;
	justify-content: flex-end;
}
#redes div {
	width: 39px;
	height: 30px;
	background-image: url('../images/redes.png');
	margin-left: 10px;
}
#redes #tw {
	background-position: 0px 0px;
}
#redes #fb {
	background-position: -44px 0px;
}
#redes #in {
	background-position: -88px 0px;
}
#redes #wa {
	background-position: -132px 0px;
}
#redes #tw:hover {
	cursor: pointer;
	background-position: 0px 30px;
}
#redes #fb:hover {
	cursor: pointer;
	background-position: -44px 30px;
}
#redes #in:hover {
	cursor: pointer;
	background-position: -88px 30px;
}
#redes #wa:hover {
	cursor: pointer;
	background-position: -132px 30px;
}



@media screen and (max-width: 700px) { 
	#fecha {
		display: none;
	}
	#hora {
		display: none;
	}
	#leido {
		display: none;
	}
	#menuN {
		display: none;
	}
	#minimenu {
		display: flex;
	}
}
