/*
 Theme Name: Escuela2009
 Theme URI: http://www.ugr.es/~reag/escuela2009/
 Description: Hoja de estilo principal página Escuela de Análisis Geométrico
 Author: Francisco Torralbo Torralbo
 Author URI: http://www.ugr.es/~ftorralbo
 .
 
 [Table Of Contents]
 
 0- Reset
 1- Global
 2- Layout
 3- Links
 4- Headings
 5- Header
 6- Navigation
 7- Column
 8- Content
 9- Forms
 10- Footer
 11- Extras
 12- Print
 
 */
/*
 
 [Estilo de Colores]
 Azul Oscuro: #3b5998;
 Azul claro: #a0bfcd;
 Gris:				#e0dfd0;
 Gris claro:	#f4f4e9;
 Naranja: 		#CF7201;
 */
/* =0 Reset */ 
* html {
    color: #000;
    background: #FFF;
    margin: 0;
    padding: 0;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table tr{
}

table tr td{
	padding:0.3em 0.3em;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

li {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
    font-variant: normal;
    cursor: help;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

legend {
    color: #000;
    background-color: #fff;
}

/* =1 Global */
body {
    line-height: 1;
    font: normal 15px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; /*Georgia, "Trebuchet MS",*/
    vertical-align: top;
    color: #000;
} .right {
    float: right;
} .left {
    float: left;
} .align-left {
    text-align: left;
} .align-right {
    text-align: right;
} .align-center {
    text-align: center;
} .justify {
    text-align: justify;
} .hide {
    display: none;
} .clear {
    clear: both;
} .bold {
    font-weight: bold;
} .italic {
    font-style: italic;
} .underline {
    border-bottom: 1px solid;
} .highlight {
    background: transparent;
    color: #86CB81; /* #F6B913; */
}

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft {
    float: left;
    margin: 4px 10px 4px 0;
}

img.alignright {
    float: right;
    margin: 4px 0 4px 10px;
} .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
} .clearfix {
    display: block;
}

html[xmlns] .clearfix {
    display: block;
} * html .clearfix {
    height: 1%;
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
} #main ul, #main ol {
    margin-bottom: 1.5em;
} #main ol li {
    list-style-type: decimal;
    margin-left: 1em;
    margin-bottom: .7em;
} #main ul li {
    list-style-type: square;
    margin-left: 1em;
    margin-bottom: .7em;
} #column ul {
    margin-bottom: 1em;
} #column ul li {
    list-style-type: disc;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

/* =2 Layout */ 
#header {
  background-image: url(../icugr_b.png);
  background-size: 200px;
  background-position: 100% 50%;
  background-repeat: no-repeat;
    /* background: url(../icugr_b.png)  50% 100% no-repeat; */
    padding: .5em 3em;
    text-align: center;
		min-height:10em;
} 
#header_top{
	background: #3b5998 url(../img/body-bg.jpg) bottom left repeat-x;
}

#navbar {
    background-color: #eee;
} #main_nav {
    background: #f4f4e9 url(../img/main_nav-bg.png) top left repeat-x;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: .7em 1em;
} #secondary_nav {
    background: #f4f4e9 url(../img/secondary_nav-bg.png) bottom left repeat-x;
    text-align: center;
    padding: .5em 1em;
} #container {
    width: 70em;
    margin: 0 auto;
    padding: 1em 1em;
    text-align: center;
    background-color: #fff;
} #column {
    float: left;
    width: 20em;
    text-align: left;
    color: #555;
} #column2 {
    float: left;
    width: 10em;
    text-align: left;
    color: #555;
} #main {
    margin: 0 auto;
    width: 45em;
    text-align: left;
    color: #333;
    line-height: 1.4em;
} #main.menu {
    margin-left: 22em;
    width: 40em;
    text-align: left;
    color: #333;
    line-height: 1.4em;
} #main.menu2 {
    margin-left: 22em;
    width: 50em;
    text-align: left;
    color: #333;
    line-height: 1.4em;
} #footer {
    text-align: center;
    padding: .5em 1em 1em .5em;
    background: url(../img/footer-bg.png) bottom left repeat-x;
}

/* =3 Links */ #main a, #column a {
    color: #3B5998;
    text-decoration: none;
} #main a:hover, #column a:hover {
    color: #CF7201;
} #footer a {
    text-decoration: none;
    color: #3B5998;
} #footer a:hover {
    text-decoration: underline;
}

/* =4 Headings */ 
#header h1 {
    font-size: 3em;
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
    color: #f4f4e9;
    padding-top: 1em;
} 
#header h2 {
    font-size: 2em;
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
    color: #ccc;
} 
#main h2 {
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
    font-size: 1.5em;
		font-weight:bold;
    margin-bottom: .5em;
    padding-left: 1em;
    border-bottom: 1px solid #3B5998;
    color: #3B5998;
} #main h3 {
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
    font-size: 1.3em;
    margin-bottom: .3em;
    padding-left: 1em;
    color: #3B5998;
} #column h2 {
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
	font-weight:bold;
    font-size: 1.3em;
    margin-bottom: .3em;
    text-align: center;
    border-bottom: 1px solid #3B5998;;
    color: #3B5998;
} #column h3 {
    font-family: "Palatino Linotype", Platino, Georgia, "Trebuchet MS", serif;
	font-weight:bold;
    font-size: 1.1em;
    margin-bottom: .2em;
    padding-left: .5em;
    color: #3B5998;
}

/* =5 Header */

/* =6 Navigation */ 
#main_nav ul li {
    list-style-type: none;
    display: inline;
    padding: .7em 0;
} #main_nav a {
    font-family: Arial, Helvetica, sans-serif;
	font-weight:bold;
    padding: .7em 1em; /* Mismo padding top-bottom que #main_nav */
    background: transparent;
    text-decoration: none;
    color: #fff;
} #main_nav a.active, #main_nav a:hover {
    background: #909181 url(../img/main_nav-active.png) top left repeat-x;
    color: #fff;
} #main_nav a.inactive, #main_nav a.inactive:hover {
    color: #ddd;
    background: transparent;
} #secondary_nav ul li {
    display: inline;
} #secondary_nav ul li a {
    text-decoration: none;
    padding: .5em 1em; /* Mismo padding top-bottom que #secondary_nav */
    background-color: transparent;
    color: #3b5998;
} #secondary_nav ul li a:hover {
    color: #CF7201;
}

/* =8 Content */ #main dl dt {
    margin-bottom: .5em;
} #main dl dt span.titulo {
    font-weight: bold;
    color: #3b5998;
} #main dl dt span.autor {
    font-style: italic;
    font-weight: bold;
} #main dl dt span.duracion {
    font-weight: normal;
    color: #777;
} #main dl dt span.institucion {
    font-weight: normal;
    color: #777;
} #main dd {
    color: #000;
    margin-bottom: 1.5em;
    margin-left: 1em;
    padding: 0em 1em;
    border-left: 2px solid #a0bfcd;
}

/* =9 forms */
form {
  margin: 0 auto;
	width:35em;
	padding:1em;
}

input.error {
    border: 1px solid red;
    background-color: #F6D8D9;
}

label span.error {
    color: red;
}

div.valid {
    border: 1px solid #a1c166;
    background: #EBF8D3 url(../img/check.png) no-repeat 0% 50%; /* #CAEAC1; #b6edb6; */
    padding: .3em 1em .3em 2em;
    width: 33em;
    margin: 0 auto 1em auto;
}

div.invalid {
    border: 1px solid #d25c4e;
    background: #F5C8C9 url(../img/error.png) no-repeat 0% 50%;
    padding: .3em 1em .3em 2em;
    width: 33em;
    margin: 0 auto 1em auto;
}

fieldset {
    border: solid 2px #A2A2A2;
    background: #eee;
    margin-bottom: 1em;
    padding: 0 1em 1em 1em;
}

fieldset legend {
    font-style: italic;
    margin-bottom: 1.8em; /* 27/15 = 1.8*/
    margin-left: -0.1333em; /*-2/15 = -0.1333*/
    padding: 0.333em 0.6666em 0 0.6666em; /* 5 10 0 10 / 15 = 0.333em 0.6666em 0 0.6666em*/
    border-top: solid 2px #A2A2A2;
    border-left: solid 2px #A2A2A2;
    border-right: solid 2px #A2A2A2;
    background: #eee;
}

fieldset p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

fieldset label {
    display: block;
    font-weight: bold;
    text-align: right;
    width: 10em;
    float: left;
}

fieldset .form_info {
    color: #666666;
    display: block;
    font-size: 11px;
    font-weight: normal;
    text-align: right;
    width: 13.63em; /*150px / 11px = 13.63em */
}

fieldset input {
    float: left;
    font-size: 1em; /*12 / 15 = 0.8em*/
    padding: 4px 2px;
    border: solid 1px #A2A2A2;
    width: 16.66em; /* 200px / 12px = 16.66 em */
    margin: 2px 0 20px 10px;
}

fieldset ul {
    float: left;
    width: 16.66em;
    font-size: 1em;
    margin: 2px 0 0 10px;
}

fieldset ul li {
    list-style-type: none !important;
    display: inline;
}

fieldset ul li label {
    width: auto;
    display: inline;
    text-align: left;
    float: none;
}

fieldset ul li label input {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

fieldset div.radio {
    float: left;
    font-size: 1em; /*12 / 15 = 0.8em*/
    width: 16.66em; /* 200px / 12px = 16.66 em */
    margin: 2px 0 0px 10px;
}

fieldset textarea {
    float: left;
    font-size: 12px;
    padding: 4px 2px;
    border: solid 1px #A2A2A2;
    margin: 2px 0 20px 10px;
    width: 30em;
    height: 10em;
} #send {
    padding: .3em .5em;
    text-align: center;
    font-weight: bold;
}

/* =10 footer */ 
#footer ul li {
    list-style-type: none;
    display: inline;
    padding: 0 .5em;
}

/* =11 Extras */
 
#main th{
	font-weight:bold;
}

/* Zebra tables classes */
table{
	border-top:1px solid #a0bfcd;
	border-bottom:1px solid #a0bfcd;
}

table thead{
	border-bottom:1px solid #a0bfcd;
	color:#3b5998;
}

table.zebra tr.even td, table.zebra tr.even th { 
	background-color:#FFF; 
}

table.zebra tr.odd td { 
	background-color:#cbe3ed; 
}

.beca {
	background-color:#90ee90!important;
	border:1px solid #006902;
	text-align:center;
}

#tabla_programa{
	text-align:center;
	font-size:0.8em;
	margin-bottom:1.5em;
}

.hora{
	text-align:center;
}

.break{
	text-align:center;
	font-variant:small-caps;
}

.pdf{
	padding-right:20px;
	background:transparent url(../img/file_acrobat.gif) no-repeat 100% 50%;
}

.zip{
	padding-right:20px;
	background:transparent url(../img/file_zip.gif) no-repeat 100% 50%;
}

