/*header{
    border-bottom: 1px solid #EAEAEB;
    height: 50px;
    line-height: 50px;
    color: #FFF;
    /*opacity: 0.7;	
    background: linear-gradient(to bottom, rgba(0,0,255,0.8) 10%,rgba(255,255,255,0.1) 150%); */
    position: fixed;
    float: right;
    top: 0px;
    width: 100%;
    z-index: 10 !important;
} */
#resaltado {
	background-color: #02BFFC;
}

#logoff{
	float: right;
	top: 15px;
	font-size: 20px;
	margin-right: 20px;
}

#nomusuario {
	float: right;
	top: 0;
	margin-right: 20px;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	background-image: url('../imgs/fondo-gris.jpg');
}

body {
	//font-family: "Lato", sans-serif;
	//background: linear-gradient(to bottom, rgba(0,255,255,.8) 0%,rgba(0,255,255,0) 120%);
 	background-size: cover;
}

.mi-menu {
    overflow-y: auto;
    margin: 0 10px 0 0;
    text-align: left;
    width: 100%;
    display: block;
  }

.mi-menu a{
    display: block;
    clear: right;
    text-decoration: none;
    color: #BBB;
    margin: 0 10px;
    line-height: 40px; 
}

.sidenav {
	height: 100%;
	width: 20%;
	position: fixed;
	z-index: 1;
	top: 50px;
	left: 0;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
	box-sizing: border-box;
	background: linear-gradient(to bottom, rgba(0,0,0,0.8) 10%,rgba(255,255,255,0.1) 150%);
	color: #FFFFFF;
}

.sidenav a {
    z-index: 20;
    text-decoration: none;
    font-size: 25px;
    color: #FFF;
    //display: block;
    //transition: 0.3s;
    
}

.sidenav a:hover {
	cursor: pointer;
	background-color: #4D4D4D;
	font-weight: bolder;
	color: #9B0202;
}




/*.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}*/

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#pacienteelegido {
	position: fixed;
	top: 50px;
	z-index: 10 !important;
	margin-left: 20%;
	transition: margin-left .5s;
	padding: 16px;
	background-color: #EEE;
	height: 50px;
	width: 100%;
   
}

#alertasalergias {
	position: fixed;
	z-index: 20 !important;
	#top: -50px;
	margin-left: 50%;
	transition: margin-left .5s;
	padding: 16px;
	#background-color: #FEE;
	height: 50px;
	width: 200px;
	color: red;
	text-decoration: blink;
	font-weight: bolder;
}

.parpadea {
  
  animation-name: parpadeo;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  -webkit-animation-name:parpadeo;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo{  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo {  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
   100% { opacity: 1.0; }
}

@keyframes parpadeo {  
  0% { opacity: 1.0; }
   50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

#usuario a {
	text-decoration: none;
}

#central {
	position: fixed;
	overflow-y: auto;
	top: 100px;
	z-index: 100 !important;
	transition: margin-left .5s;
	padding: 16px;
	background: linear-gradient(to bottom, rgba(255,255,255,.8) 0%,rgba(255,255,255,0) 120%);
	height: 90%;
	width: 80%;
	margin-left: 20%;
}


h1 {
	color: #FFFFFF;
}

.errores {
	background: linear-gradient(to bottom, rgba(255,0,0,1) 0%,rgba(255,0,0,0) 120%);
	color: #FFF;
	display: none;
	font-size: 20px;
	font-weight: bolder;
	margin-top: 20px;
	width: 100%;
	padding: 10px;
	border-radius: 10px;
}

.olvido {
	position: relative;
	font-size: 16px;
	top: 30px;
	display: none;
}

@media screen and (max-width: 800px) {
	.sidenav {
	width: 25%;
	padding-top: 15px;
	height: 100%;
	top: 100px;
	left: 0;
	overflow-y: auto;
}

  .mi-menu {
	overflow-y: auto;
	height: 80%;
}
.mi-menu a{
	//font-family: western, fantasy;
	font-size: 12px;
}
	
	header {
	height: 100px;
	}
	
#pacienteelegido {
	top: 100px;
	margin-left: 25%;
}
#alertasalergias {
	position: fixed;
	top: 50px;
	margin-left: 60%;
	transition: margin-left .5s;
	padding: 16px;
	//background-color: #EEE;
	height: 50px;
	width: 50px;
   color: red;
   font-weight: bolder;
}


#central {
	top: 150px;
	margin-left: 25%;
	height: 80%;
	overflow-y: auto;
	//margin-bottom: 100px;
}

#nomusuario {
//display: none;
height: 45px;
width: 45px;
}
