/**
* CSS con nuestros estilos propios.
* Es un archivo separado para no interferir con los
* estilos de YAML
*/

/* Estructura de la pagina */

body {
	padding-left : 8px !important;
	padding-right : 8px !important;
}

body.ADMIN { background-color: #4d87c7; }
body.OPEN, body.STUDENT { background-color: #cfb24a; }
body.TEACHER { background-color: #597b1c; }
body.AMENDER { background-color: #41bfa4; }
body.ERROR { background-color: #dd5a5a; }

div#header {
	padding-left: 8px;
	border: solid 1px #dddddd;
	padding-bottom: 4px;
}

div.ADMIN {
	background-image: url(../images/banneradmin.jpg);
	background-repeat: no-repeat;
	color: #ffffff;
}

div#header.ADMIN #topnav span {
	background-color: #4D87C7;
}

div#header.TEACHER #topnav span {
	background-color: #597b1c;
}

div.AMENDER {
	background-image: url(../images/banneramender.jpg);
	background-repeat: no-repeat;
	color: #ffffff;
}

div#header.AMENDER #topnav span {
	background-color: #41bfa4;
}

div.OPEN, div.STUDENT {
	background-image: url(../images/banneropen.jpg);
	background-repeat: no-repeat;
}

div.TEACHER {
	background-image: url(../images/bannerteacher.jpg);
	background-repeat: no-repeat;
}

div.ERROR {
	background-image: url(../images/bannererror.jpg);
	background-repeat: no-repeat;
}

div#header.OPEN h1,
div#header.OPEN span,
div#header.OPEN div#topnav,
div#header.OPEN div#topnav a,
div#header.STUDENT h1,
div#header.STUDENT span,
div#header.STUDENT div#topnav,
div#header.STUDENT div#topnav a {
	color: #705b11;
}

div#footer {
	padding: 0px 4px 2px 4px;
	border: solid 1px #dddddd;
}
div#footer p {
	margin-bottom: 0px;
}

/* Elementos de encabezado */

h2, h3 {
	border-bottom: solid 1px #d3d3d3;
}

h3, h4 {
	margin-top: 1.1em !important;
	margin-bottom: 0.6em !important;
}

p {
	margin-top: 8px !important;
	margin-bottom: 20px !important;
}

/* Menú principal */

li.active a {
	color: #ffffff !important;
}

/* Elementos de formulario */

div.separator {
	clear: both;
}

p.next {
	width: 100%;
	text-align: right;
}

input {
	margin-top: 0.3em;
	margin-bottom: 0.2em;
}

optgroup {
	font-style: normal;
	color: #696969;
}

optgroup option {
	color: #000000;
}

fieldset {
	padding: 10px;
	margin-bottom: 10px;
}

span.mandatory {
	color: #DC143C;
	font-family: monospace;
	font-weight: bold;
	margin: 6px;
}

form.yform .type-text input, form.yform .type-select select {
	width: auto !important;
	display: inline !important;
}

form.yform .type-text textarea {
	width: auto !important;
}

form.yform label {
	display: inline !important;
}

/* Sobreescribimos determinados elementos de yform */

form.yform label {
	color: #383838 !important;
}

form.yform .type-text input,
form.yform .type-text textarea,
form.yform .type-select select {
	border: 1px solid #989898 !important;
}

form.yform div input[type="text"]:focus,
form.yform div input[type="password"]:focus,
form.yform div select:focus,
form.yform div textarea:focus,
form.yform div input[type="text"]:hover,
form.yform div input[type="password"]:hover,
form.yform div select:hover,
form.yform div textarea:hover,
form.yform div input[type="text"]:active,
form.yform div input[type="password"]:active,
form.yform div select:active,
form.yform div textarea:active {
	border: 1px #a66 solid !important;
	background-color: #feffab !important;
}

/* Enlaces con aspecto de botón */

a.button, a.bigbutton {
	text-decoration: none;
	border-top: 1px #ddd solid;
	border-left: 1px #ddd solid;
	border-right: 1px #444 solid;
	border-bottom: 1px #444 solid;
	color: #000;
	background: #454545 url(../yaml/screen/images/button_gray.png) top left repeat-x;
	padding: .5em 1.2em;
}

a.button {
	padding: .5em 1.2em;
}

a.bigbutton {
	padding: 1em;
	line-height: 2.8em;
	_line-height: 3.4em; /* IE6 hack */
}

a.button:focus,
a.button:hover,
a.button:active,
a.bigbutton:focus,
a.bigbutton:hover,
a.bigbutton:active {
	text-decoration: none;
	border-top: 1px #444 solid;
	border-left: 1px #444 solid;
	border-right: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
	color: #fff;
	background: #555;
}

/* Botones con icono */
a.button span.back,
a.button span.new,
a.button span.help,
a.button span.pdf,
a.button span.previous,
a.button span.next,
a.button span.cancel{
	background-repeat: no-repeat;
	padding-left: 20px;
}

a.button span.back {
	background-image: url(../images/back.png);
	_background-image: url(../images/back.gif); /* IE6 hack */
}
a.button span.new {
	background-image: url(../images/new.png);
	_background-image: url(../images/new.png); /* IE6 hack */
}
a.button span.help {
	background-image: url(../images/help.png);
	_background-image: url(../images/help.gif); /* IE6 hack */
}
a.button span.previous {
	background-image: url(../images/previous.png);
	_background-image: url(../images/previous.gif); /* IE6 hack */
}
a.button span.next {
	background-image: url(../images/next.png);
	_background-image: url(../images/next.gif); /* IE6 hack */
}
a.button span.print {
	background-image: url(../images/print.png);
	_background-image: url(../images/print.gif); /* IE6 hack */
}
a.button span.pdf {
	background-image: url(../images/pdf.png);
	_background-image: url(../images/pdf.gif); /* IE6 hack */
}
a.button span.cancel {
	background-image: url(../images/delete.png);
	_background-image: url(../images/delete.gif); /* IE6 hack */
}

a.bigbutton span.inscription,
a.bigbutton span.users,
a.bigbutton span.cancel{
	background-repeat: no-repeat;
	padding-left: 40px;
	padding-top: 6px;
	padding-bottom: 6px;
}

a.bigbutton span.inscription {
	background-image: url(../images/inscription.png);
	_background-image: url(../images/inscription.gif); /* IE6 hack */
}
a.bigbutton span.users {
	background-image: url(../images/users.png);
	_background-image: url(../images/users.gif); /* IE6 hack */
}
a.bigbutton span.cancel {
	background-image: url(../images/cancel.png);
	_background-image: url(../images/cancel.gif); /* IE6 hack */
}

/* Estilos para displaytag */

div.exportLinks a {
	text-decoration: none;
}

div.exportLinks span:hover {
	text-decoration: underline;
}

span.export {
	padding-left: 20px;
	background-repeat: no-repeat;
}

span.excel {
	background-image: url(../images/excel.png);
	_background-image: url(../images/excel.gif); /* IE6 hack */
}

span.pdf {
	background-image: url(../images/pdf.png);
	_background-image: url(../images/pdf.gif); /* IE6 hack */
}

th.sortable.sortable {
}

th.sortable.sorted {
	font-style: italic;
	padding-left: 20px;
	background-repeat: no-repeat;
	background-position: center left;
}

th.sortable.order1 {
	background-image: url(../images/up.png);
	_background-image: url(../images/up.gif); /* IE6 hack */
}

th.sortable.order2 {
	background-image: url(../images/down.png);
	_background-image: url(../images/down.gif); /* IE6 hack */
}

tr.even {
	background-color: #f8f8f8;
}

/* Estilos para YAV */

.inputError {
	background-color: #eee8aa;
}

.innerError {
	color: 	#a52a2a;
	font-weight: bold;
	font-style: italic;
	background-image: url(../images/invalid.gif);
	background-position: left top;
	background-repeat: no-repeat;
	padding-left: 20px;
	padding-top: 1px;
}

.innerHelp {
	color: #006400;
	font-weight: bold;
	font-style: italic;
	background-image: url(../images/valid.gif);
	background-position: left top;
	background-repeat: no-repeat;
	padding-left: 20px;
	padding-top: 1px;
}

/* Pestañas YUI */

div.yui-navset ul.yui-nav li {
	_width: 10em !important; /* IE6 hack */
}

/* Calendario YUI */

div.calheader {
	color: #000000;
}

fieldset.groupData {
	border-top-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
}

.groupEnrollFull {
	color: red;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.groupWaitList {
	color : blue;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.enrollStatePaid {
	color : blue;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.enrollStateUnPaid {
	color : green;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.enrollStateCancel {
	color : red;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.enrollStateRefund{
	color : coral;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

.enrollStateStandard {
	color : black;
	padding: 10px;
	font-variant: small-caps;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
}

/* Course Info */

#main .c25r { border-left: 1px #88a dashed; }
#extended { background: #eee; border-top: 1px #ccc dashed; }
#extended .c25l,  #extended .c50l { border-right: 1px #88a dashed; }
#extended{ overflow:hidden; min-width: 720px; }
#main, #extended { padding-top: 20px; padding-bottom: 20px; }

#extended .subc  { padding: 0 10px; }
#extended .subcl { padding: 0 10px 0 0; }
#extended .subcr { padding: 0 0 0 10px; }

td.number { text-align: right; }

/* Precios de los cursos */

div.coursePrices {
	width: 40%;
}

/* Lista de ocupación de cursos */
.seatsOccupied{
	color:red
}
.seatsFree{
	color:#66CD00
}

span.courseFull{
	display: inline;
	font-weight:bolder ;
	color: red;
	margin-left: 7px
}

tr.total{
	font-weight:bolder;
	background:silver
}

/* Estilos generales */

.display_inline {
	display: inline;
}

