body {
background:#EBEAE8;
color:#333;
font-family:Arial, Helvetica, sans-serif;/*Verdana, Geneva, sans-serif;*/
font-size:12px;
margin:0;
}

#turno {
	background:#FFF;
	width: 500px;
	margin: auto;
	margin-top: 20px;
}

/****************************************/
#logo {
float: left;
width: 49%;
padding-top:10px;
}

#logo a{
float: left;
padding-top:10px;
}

#sesion {
float: left;
width: 49%;
padding-top: 35px;
text-align:right
}

#wrapper {
    width: 100%;
    margin: auto;
    max-width: 500px;
}

#sesion a{
text-decoration:none;
font-weight:bold;
color:#15428b;
}

#content {
    text-align: center;
}

#form1 {
    display: inline-table;
}

#sesion a:hover{
color:#000;
}
/***************************************/

#north {
	/*margin-top:20px;*/
}

#tabla_detalle {
	margin-bottom:30px;}
	
#tabla_detalle h3{
	border-top: #0899CF medium solid;
    border-bottom: #0899CF medium solid;
    background: #FFF;
    padding-left: 10px;
    color: #0899CF;
    margin-top: 3px;
    margin-bottom: 3px;
	}			
	
#tabla_detalle table.list{
	border:#000 thin solid;
	}
	

#tabla_detalle table.list th{
	border:#0899CF thin solid;
	background:#0899CF;
	color:#FFF;
	padding-left:15px;
	margin-left:5px;
	}	
	
#tabla_detalle table.list tr{
	height:24px;
	}	
	
#tabla_detalle table.list tr.trblanco{
	background-color:#FFF;
	}	
	

#tabla_detalle table.list tr.trgris{
	background-color:#EBEAE8;
	}
	
#tabla_detalle table.list tr:hover{
	}	
	
#tabla_detalle table.list tr:hover td
{
	border-top:1px solid #F7EE31;
	border-bottom:1px solid #F7EE31;
	color:#DD3269;
}

#tabla_detalle table.list td img{
	border:0;
	 /* For IE8 and earlier */
	
	}	
	
#tabla_detalle table.list tr td img:hover{
	/*opacity:2;
	filter:alpha(opacity=100);*/ 
	opacity:0.6;
	filter:alpha(opacity=60);
	/* For IE8 and earlier */
	} 	
	
#tabla_detalle table.list td{
	border-bottom:#ccc thin dotted;
/*	border-left: #ccc thin dotted;*/
padding-left:15px;
margin-left:5px;
	font-size:16px;
	padding-bottom:5px;
	padding-top:5px;
	/*font-weight:bold;*/
	}	

div.nicEdit-main  
{
	background-color:#fff;
}

table td{
	font-size:12px;
	}	

table#detalle_paciente {
	/*width:600px;
	border:#ccc thin solid;*/
	padding:10px;
}

#detalle_paciente tr{
	/*background:#FFF;
		width:600px;*/

	}
	
#detalle_paciente td.label{
	padding-top:5px;
	/*width:110px;*/
	}	
	
#detalle_paciente td{
	padding-top:5px;
	font-size:15px;
	}
	
	/*****************************************************/
	#semana_detalle table.list td{
	border-bottom:#ccc thin dotted;
	font-size:14px;
	padding-bottom:5px;
	padding-top:5px;
	text-align: initial;
	}	
	
	#semana_detalle table.list th{
	border:#15428b thin solid;
	background:#15428b;
	color:#FFF;
	text-align: left;
	}	
	
	#semana_detalle table.list{
	border:#000 thin solid;
	margin-right:5px;
	}
	
	#semana_detalle {	  
	display: table-cell;
	min-width:350px;
	}
	
	/****************************************************/
	

#formulariob input {
	color:#2C5899;
	
	}

#formulariob select{
	/*border-color:#ccc;/*#06F;*/
	/*border-style:solid;
	border-width:1px;*/
	color:#2C5899;/*#06F;*/
	width:220px;

	}	

#form input:hover {
	border-color:#639;/*#2C5899;*//*#06F;*/
	}

	
#form select:hover{
	border-color:#2C5899;/*#06F;*/

	}
	
#form .boton{
	padding-bottom:4px;

	}
	
form input{
	-webkit-border-radius: 7px;
    -moz-border-radius: 7px;
     border-radius: 7px;
	 height:22px;
	 padding-left:10px;
	
}  

form a{
	-webkit-border-radius: 7px;
    -moz-border-radius: 7px;
     border-radius: 7px;
	 padding:8px;
	 text-decoration:none;
	 /*
	 height:32px;
	 margin-top:10px;
	 */
} 

form select{
		 height:22px;
		 padding-left:5px;
		
}
	
#formulariob .boton {
	background:#666;/*#06F;*/
	text-align:center;
	color:#FFF;
	font-weight:bold;
	}

#formulariob a:hover { background-color:#DD3269;/*2C5899;*/}
	
#formulariob a {
	background:#0899CF;/*#06F;*/
	text-align:center;
	color:#FFF;
	font-weight:bold;
	}

#formulariob .boton:hover { background-color:#DD3269;/*2C5899;*/}
		
	
#formularioa  input:hover {
	border-color:#ccc;
	}
	
#formularioa  input {
	padding-left:10px;
	font-size:14px;
	font-weight:bold;
	}
	
#formularioa  select {
	color:#333;/*#930;*/
	
	}	

#formularioa  select:hover {
	border-color:#ccc;
	}	

#formularioa .boton {
	background:#333;/*#930;*/
	text-align:center;
	color:#FFF;
	font-weight:bold;
	}
	
#formularioa .boton:hover {
	background:#DD3269;

	}
	
#formularioa  textarea {
	border-color:#333;/*#930;*/
	border-style:solid;
	border-width:1px;
	font-size:16px;
	font-weight:bold;
	}	
#form { margin-bottom:2px;}
	

#west-panel li{
	margin:1px;
	background-color:#CCC;
	padding:4px;
	padding-top:8px;
	}

#west-panel  { width:100%;}

#west-panel li:hover {
	color:#fff;
	background-color:#000;
	width:100%;
}

#west-panel li a {
	text-decoration:none;
	width:100%;
	padding:5px 30px 4px 0;
	color:#15428b;
	
	font-size:12px;
	font-weight:800;
	
}

#west-panel li a:hover { color:#FFF;}


#popupTitleBar  {
    background-color: #639;
    border-style: solid;
	border-color:#000;
    border-width: 1px 1px 2px;
    color: #FFFFFF;
    font-weight: bold;
    height: 1.3em;
    padding: 5px;
    position: relative;
    z-index: 203;
}

.boton
{
	background: #333;
text-align: center;
color: #FFF;
font-weight: bold;
}

h2 { /*color:#2C5899; */
    color:#0899CF;
     margin-bottom: 2px; margin-top: 5px;}

/***************************************** LOGIN ***************************************/

#formInicio table {
	background-color:#59193D;
	-webkit-border-radius: 15px;
    -moz-border-radius: 15px;
     border-radius: 15px;
	padding: 25px;
}

#formInicio table a {
	color:#fff;
	font-weight:800;
	text-decoration:none;
	
	font-size:16px;
	
}

#formInicio table a:hover {	color:#999;}

#formInicio table input {
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
     border-radius: 5px;
	 height:25px;
	 padding-left:5px;
	
}

#formInicio table .submit {
	
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
     border-radius: 5px;
	 height:25px;
	 padding-left:5px;
	 color:#fff;
	 font-weight:bold;
	 background-color:#333;
}


#boton { float:right; }
#boton input:hover { background-color:#999;}

#formInicio h2 { color: #fff; text-align:center; }


#loginB {
	/*background-color:#EBEAE8;*/
	background:#FFF;
}

#footer { text-align:center; font-size:9px; margin-top:-10px; margin-bottom:10px}
#footer  a{color:#C00; text-decoration:none; font-weight:bold}
#footer  a:hover {color:#000; }

#cinta { width:100%; background-color:#DD3269; color:#fff; margin:0; padding:5px;}
#cinta a{ color:#fff; font-weight:bold; padding-left:5px; padding-right:5px; text-decoration:none;}
#cinta a:hover{ background-color:#2C5899;}

#contenido { margin-left:5px;}

tr.estado1{
	background:#FF9;
	}
	
tr.estado2{
	background:#6F6;
	}	
	
tr.estado3{
	background:#F9F;
	}		
	
tr.estado5{
	background:#6666FF;
	}

tr.estado6{
	background:#ccc;
	}
	
#label {
	/*background-color:#EBEAE8;*/
	color:#F00;
	font-size:14px;
	padding:20px;
	display: block;
	}
	
.black_overlay{
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: black;
            z-index:1001;
            -moz-opacity: 0.8;
            opacity:.80;
            filter: alpha(opacity=80);
        }
.white_content {
            display: none;
            position: absolute;
            top: 25%;
            left: 25%;
            width: 50%;
            height: 50%;
            padding: 16px;
            border: 16px solid #422874;
            background-color: white;
            z-index:1002;
            overflow: auto;
			text-align:center;
        }