html, body, #main {
	height:100%;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
}

#col1, #col2 {
	height: 100%;
	padding: 0;
	margin: 0;
}

#col1 {
	width: 17%;
	max-width: 17%;
	min-width: 270px;
	background-color: #eff0e9;
	color: #004;
	float: left;
	overflow-y: scroll;
}

#col2 {
	width: auto;
	max-width: 83%;
	background-color: #eff0e9;
	overflow-y: scroll;
	float: top;
}

#col2 textarea {
	width: 250px;
	max-width: 250px;
}

#col2 input {
	min-width: 140px;
	max-width: 160px;
}

#col1 label, #col1 input, #col1 select, #col1 textarea {
	display: block;
	margin-left: 15px;
}

#col1 input[type='text'], #col1 textarea, #col1 input[type='password'] {
	background-color: #FDFFD1;
	border: 1px solid #000;
	color: #000;
	font-size:14px;
	padding: 2px;
}

#col1 label {
	font-size: 14px;
	color: #000
}

#col1 input, #col1 select {
	margin-bottom: 10px;
}

#col1 input[type='text'], #col1 textarea, #col1 input[type='password'] {
	width: 200px;
	max-width: 200px;
}

#col1 textarea {
	height: 100px;
}

#col1 input[type='submit'], #col1 input[type='reset'] {
	display: inline;
}

#ffiltros input[name='fenviar'], #ffiltros input[name='fborrar'], input[type='submit'] {
	background-color: #309040;
	border-color: #309040;
	font-weight: bold;
	font-size: 14px;
	color: #fff;
	margin-top: 7px;
}

#ffiltros {
	margin-bottom: 20px;
}

#flogin label {
	font-weight: bold;
}

#ffiltros input[name='fborrar'],#col2 .bborrar {
	background-color: #904030 !important;
	border-color: #904030 !important;
}

input.datepicker {
	width: 92px;
	max-width: 92px;
	text-align: center;
}


span.error, span.correcto {
	border: 2px outset #000000;
	font-weight: bold;
	display: block;
	width:180px;
	text-align: center;
	color: white !important;
	background-color: red !important;
	padding: 5px !important;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	margin: 0 auto;
	margin-top: 10px;
	-webkit-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    3px 3px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         3px 3px 5px 0px rgba(50, 50, 50, 0.75);
}
span.correcto {
	background-color: green !important;
}

#btnaniadir {
	font-size: 14px;
	padding: 5px;
	font-weight: bold;
	background-color: #239514;
	color: white;
	display: block;
	width: 200px;
	border-color: #237421;
	margin-top: 10px;
}

#col1 h1 {
	font-size: 36px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background-color: #2A5266;
	border: 2px outset #2A5266;
	display: block;
	margin: 15px auto;
	margin-bottom: 30px;
	padding: 5px;
	width: 80%;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.75);
}


table {
	font-size: 14px;
	background: #fff;
	border-collapse: collapse;
	text-align: center;
	color: #039;
	margin: 0;
}

th.dep {
	width: 220px;
}

#res td, #res th { 
	height: 30px;
}


#res td {
	color: #000;
	border-top: 1px solid #000;
}


/* colores segun estado */
.PENDIENTE {
	background-color: #FFFEA6;
}

.PROCESO {
	background-color: #F7BF6F;
}

.SOLUCIONADA {
	background-color: #91FF82;
}

.IRRESOLUBLE {
	background-color: #FF6B69;
}


fieldset {
	border: 0;
	margin: 0;
	padding: 5px;
	padding-top: 10px;
	background-color: #eff0e9;
	margin-top: 8px;
}

legend {
	text-align: left;
	font-weight: bold;
	display: block;
	width: 95%;
	border-bottom: 2px solid #323436;
	font-size: 16px;
	color: #323436;
	background-color: #eee;
}

#exit {
	display:block;
	text-align:center;
}

caption {
	text-align:left;
	color: black;
	margin-bottom:10px;
	margin-left:2px;
	display: none;
}

.hide:after{
    content: " <";
}

.show:after{
    content: " >";
}

.hide,.show {
	cursor: hand;
}

.oculto {
	display: none;
}

input[type='submit'] {
	-webkit-border-top-left-radius:borrar 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-bottomright: 15px;
	border-top-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

fieldset#flogin input {
	font-size: 16px !important;
	padding: 5px !important;
}

fieldset#flogin input[type='submit'] {
	background-color: #B8EB00;
	border-color: #B8EB00;
	color: #000;
}

#res th {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	background-image: url('../img/fondo.png');
	background-repeat: repeat-x;
	border-bottom: 10px solid #f0f0f0;
	background-color: #f0f0f0;
	color: #fff;
	height: 70px;
}

/* para imprimir, ocultamos campos */
@media print {
	fieldset { display: none !important; }
	h1 { display: none !important; }
	a { display: none !important; }
	#av { display: none !important; }
	* { color: black !important;}
	table { color: black !important;}
	#col1 { display: none !important; }
	caption { display: inline !important;}
	#nueva { display: none !important; }
	#col2 {overflow: visible; max-width: 200% !important;}
}