/* RESET v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 
   General 
------------------------------------------------------------------- */
#breadCrumb { display: none }

html {
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
}

body {
	/* background: #202020 url('../images/template/body.gif') repeat-x left top; */
	background: url(../images/background/maskbg.jpg) top center repeat-y; 
	color: #5A5A50;
	font: normal 0.8em sans-serif;
	color: #444;
	text-decoration: none;
	word-spacing: normal;
	text-align: left;
	letter-spacing: 0;
	line-height: 1.1em;
	 /* behavior: url(csshover3.htc);   http://www.xs4all.nl/~peterned/csshover.html */
}


/* 
   Typography 
------------------------------------------------------------------- */

p { padding: 0.2em 0 1em; line }

h1 { font: normal 1.2em sans-serif; font-weight: bold; }
h2 { font: normal 1.25em sans-serif; }
h3 { font: normal 1.1em sans-serif; font-weight: bold; }
h4 { font: normal 1.4em sans-serif; }
h5 { font: bold 1.2em sans-serif; }
h6 { font: bold 1em sans-serif; }

h1,h2,h3,h4,h5,h6 {
	color: #000;
	margin-bottom: 0.3em;
}


blockquote {
	background: #F6F6F6 url('../images/template/quote.gif') no-repeat;
	border-bottom: 1px solid #DDD;
	border-top: 1px solid #DDD;
	color: #332;
	display: block;
	margin: 0.6em 0 1.6em;
	padding: 0.8em 1em 0.2em 46px;
}

.box_title {
	margin-top: 5px;
	background: #ffffff url(../images/layout/bd_boxtitle.gif) top left repeat-x;
	height: 33px;
	padding: 5px;
}
.box_content {
	padding: 0 3px;
}

/* 
   Round corners
------------------------------------------------------------------- */


/* 
   Tables
------------------------------------------------------------------- */

table.data_table {
	border: 1px solid #CCB;
	margin-bottom: 2em;
	width: 100%;
}
table.data_table th {
	background: #E5E5E5;
	border: 1px solid #D5D5D5;
	color: #555;
	text-align: left;
}
table.data_table tr {border-bottom: 1px solid #DDD;}
table.data_table td, table th {padding: 10px;}
table.data_table td {
	background: #F5F5F5;
	border: 1px solid #E0E0E0;
}


.gradient-style {
	border-collapse:collapse;
	font-family:"Lucida Sans Unicode","Lucida Grande",Sans-Serif;
	font-size:12px;
	margin:20px;
	text-align:left;
	width:480px;
}
.gradient-style th {
	background:#ebfeb9 url(../images/tables/gradhead3.png) repeat-x scroll 0 0;
	border-bottom:1px solid #FFFFFF;
	border-top:2px solid #f3ffd3;
	color:#003399;
	font-size:13px;
	font-weight:normal;
	padding:8px;
}
.gradient-style td {
	background:#f8ffe8 url(../images/tables/gradback3.png) repeat-x scroll 0 0;
	border-bottom:1px solid #FFFFFF;
	border-top:1px solid #FFFFFF;
	color:#666699;
	padding:8px;
}
.gradient-style tfoot tr td {
	background:#f8ffe8 none repeat scroll 0 0;
	color:#9999CC;
	font-size:12px;
}

.gradient-style tbody tr:hover td {
	background:#f0fdd0 url(../images/tables/gradhover3.png) repeat-x scroll;
}


/* 
   Lists
------------------------------------------------------------------- */

dl {margin-bottom: 2em;}
dt,dd {padding: 8px 10px;}
dt {
	border-bottom: 1px solid #D5D5D5;
	background: #E5E5E5;
	color: #555;
	font-weight: bold;
}
dd {
	background: #F5F5F5;
	border-bottom: 1px solid #E5E5E5;
	padding-left: 16px;
}


/* 
   Links 
------------------------------------------------------------------- */
/*
a {color: #456;}
a:hover {
	color: #D60;
	text-decoration: underline;
}
*/
a {
	text-decoration: none;
	color: #000; /* D56E22 */
}

a:hover {
	border-bottom: none;
}

a img {
	border: none;
}

a.button {
    background: transparent url('../images/round/bg_button_a.gif') no-repeat scroll top right;
    color: #fff;
    display: block;
    float: left;
    font: bold 13px arial, sans-serif;
    height: 24px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
}

a.button span {
    background: transparent url('../images/round/bg_button_span.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
} 

a.button:active {
    background-position: bottom right;
    color: #ccc;
    outline: none; /* hide dotted outline in Firefox */
}

a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
} 

/* 
   Forms 
------------------------------------------------------------------- */

fieldset {
	border: 1px solid #CCC;
	border-bottom: none;	
	font-size: 0.9em;
	margin: 1em 0 1.2em;
}

input, textarea, select {
	background-color: #FFF;
	border: 1px solid #777;
	border-color: #777 #CCC #CCC #777;
	font: normal 1em Verdana,sans-serif;
	padding: 5px 6px;
}

input.button {
	background: #FAFAFA;
	border: 1px solid #AAA;
	border-color: #DDD #AAA #AAA #EEE;
	color: #444;
	cursor: pointer;
	font: normal 1em Verdana,sans-serif;
	margin-top: 5px;
	padding: 6px;
	width: auto;
}
input:focus,input:active,textarea:focus,textarea:active,select:focus,select:active,input.button:hover,input.button:focus {background: #FFFFF5;}
input.button:hover, input.button:focus {
	color: #123;
	cursor: pointer;
}

textarea {overflow: auto;}

input.image {
	border: 0;
	padding: 0;
}

/* Specific */

.form_row {
	background: #F5F5F5;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #E1E1E1;
	padding: 10px 0;
}
.form_required {font-weight: bold;}
.form_row_submit, .legend {
	background: #E5E5E5;
	border-bottom: 1px solid #CCC;
	border-top: 1px solid #FAFAFA;
	padding: 4px 0 8px;
}
.legend {padding: 8px 18px 6px;}
.form_property, .form_value {float: left;}
.form_property {
	font-size: 1.1em;
	text-align: right;
	width: 110px;
}
.form_value {padding-left: 24px;}
.form_row_submit .form_value {padding-left: 132px;}


/* 
   Images 
------------------------------------------------------------------- */

img.bordered,img.alignleft,img.alignright,img.aligncenter {
	background-color: #FFF;
	border: 1px solid #DDD;
	padding: 3px;
}

img.left,img.alignleft {margin: 0 15px 12px 0;}
img.right,img.alignright {margin: 0 0 15px 12px;}
/*
img.left {
	float: left;
	margin: 0 20px 0 0;
}

img.right {
	float: right;
	margin: 0 0 0 20px;
}
*/
/* 
   Floats
------------------------------------------------------------------- */

.left,.alignleft {float: left;}
.right,.alignright {float: right;}
.center,.aligncenter {margin: 0 auto;}

.clear,.clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;	
}



/* 
   Misc 
------------------------------------------------------------------- */

.content_separator, .archive_separator {
	background: #D5D5D5;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	height: 1px;
	line-height: 0;
	margin: 12px 0 24px;
}
.archive_separator {margin: 0 0 14px;}
/*
.rounded {
  -moz-border-radius:3ex;
  -webkit-border-radius:3ex;
} 

.rounded_bottom {
  -moz-border-radius-bottomleft:3ex;
  -moz-border-radius-bottomright:3ex;
  -webkit-border-bottom-left-radius:3ex;
  -webkit-border-bottom-right-radius:3ex;
} 
*/
/* 
   Layout 
------------------------------------------------------------------- */

/* General
#layout_wrapper_outer {background: url('../images/template/layout_wrapper_outer.jpg') no-repeat center top;}
 */
#layout-wrapper {
	/* color: #FFF; */
	margin: 0 auto;
	width: 1100px;
	background: #ecf6ed url(../images/background/bodybg.jpg) left top no-repeat;
}

	/* Header */
	#header { 
		background: transparent url(../images/headerbg.gif) top left no-repeat;
		width: 1080px;
		height: 138px;
		margin: 0 auto;
		position: relative;
	}
	
		#toplinks { text-align: right; font-size: 0.85em; padding-right: 10px; }
		
		#locale { position: absolute; top: 14px; right: 3em; font-size: 0.8em; }
			#locale a, #locale a.active, #locale a.visited { 
				border-bottom: 0; color: #000;
			}
			#locale a.selected, #locale a:hover {
				color: #fe0000;
			}
		
		#last_edition { display: none; position: absolute; right: -30px; top: 110px; z-index: 3000;}
			#last_edition a { border-bottom: 0; }
	
		#logo {
			position: absolute;
			width: 528px;
			height: 64px;
			top: 35px; left: 29px;
		}
		
		#logo h1, #logo p { display: none; }
		
		#logo h1, #logo p {
			float: left;
			margin: 0;
			color: #FFFFFF;
		}
		
		#logo h1 {
			padding: 30px 0 0 0;
			font-size: 3em;
		}
		
		#logo p {
			padding: 52px 0 0 3px;
		}
		
		#logo a {
			border: none;
			text-decoration: none;
			color: #FFFFFF;
		}
		
		#link_madrid { position: absolute; top: 50px; left: 794px; width: 162px; height: 56px; }
		#link_caja { position: absolute; top: 38px; left: 975px; width: 89px; height: 70px; }

		#navigation {
			position: relative;
			top: 117px; left: 10px;
		}


	#layout_body {
		width: 1080px;
		min-height: 520px;
		margin: 0 auto; 
	}
	
		
		
			/* Content */
			/* Content */
			#page_content {
				float: left;
				padding: 0; margin: 2.5em 0;
				width: 760px; /* height: 432px; */
			}
				#page_content.rounded .page_content {
					padding: 1em 2em; background-color: #fff;
				}
				/* Round corners */
				#page_content.rounded .pc_round_top {
					background: transparent url(../images/round/page_layout_t.gif) top left no-repeat;
					padding-bottom: 16px;
				}
				#page_content.rounded .pc_round_bottom {
					padding: 19px 0 0 70px;
					background: transparent url(../images/round/page_layout_b.gif) bottom left no-repeat;
				}
				
				
			#layout_body .home {
				background-color: transparent !important;
			}
					
			
			/* Sidebars */
			
			#sidebar {
				float: right;
				width: 290px;
				padding: 0; /* If not ie6 wont work with float */
				margin-top: 1em;
				text-align: right;
			}
			
				#sidebar a { border-bottom: 0; }
				
					#timehome {
						float: right; margin-top: 1em; display: none;
						width: 70px; height: 90px; padding: 22px 20px 0 22px;
						background: url(../images/bgtime2.png) top left no-repeat;
					}
			
				.sidebar ul {
					margin: 0;
					padding: 0;
					list-style: none;
				}
				
				.sidebar li {
					padding: 0 0 20px 0;
					background: url(../images/img02.gif) repeat-x;
					
				}
				
				.sidebar li ul {
				}
				
				.sidebar li li {
					padding: 5px 0 5px 25px;
					background: url(../images/img04.gif) no-repeat 10px 9px;
				}
				
				.sidebar li h2 {
					margin: 0 0 10px 0;
					padding: 5px 10px;
					background: url(../images/bola.gif) no-repeat 170px 2px;
					border: 1px solid #F2F2F2;
					font-size: 12px;
				}
					.nomargin {
						margin: 0px !important;
					}

				
					#sb_partners { line-height: 100px; text-align: center; }
					#sb_partners a { border-bottom: 0; }
					#sb_partners span {
						width: 50%; 
						padding: 10px !important;
					}
							
		
		/* Footer */
		
		#footer {
			width: 1080px; height: 160px; margin-top: 4em;
			background: url(../images/logos/sponsors.gif) top left no-repeat;
		}
		
		#footer div { padding: 0 30px 0 30px; }
		
		#footer p {
                        margin-top: 12.5em;
			text-align: center;
			font-size: smaller;
			color: #bbbbbb;
		}
		
		#footer a {
			color: #cdcdcd; font-size: 1em; font-weight: bold;
		}
		



/* Page */

#page {
	width: 940px;
	margin: 20px auto 0;
	padding: 15px 5px;
	background: url(../images/img03.gif) repeat-y;
}

#page-bg {
	padding: 11px 24px;
	background: url(../images/img03.jpg) no-repeat;
}

/* Latest Post */

#latest-post {
	padding: 20px;
	border: 1px solid #E7E7E7;
}

.post {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #F2F2F2;
	line-height: 200%;
}

.title {
	margin: 0;
}

.title a {
	border-bottom: none;
}

.title a:hover {
	border-bottom: 1px dotted #CCCCCC;
}

.byline {
	margin: 0 0 20px 0;
}

.entry {
	padding: 0 10px 0 20px;
	line-height: 16px;
}

	.entry p {
		margin-top: 0px;
	}

.links {
	padding-top: 10px;
	text-align: right;
}

.links a {
	padding-left: 18px;
	background: url(../images/breadcrumb.gif) no-repeat left top;
	border: none;
}

.links a:hover {
	border-bottom: 1px dotted #CCCCCC;
}



/* Search */

#searchform {
	margin: 0;
	padding: 0;
}

#searchform br {
	display: none;
}


/*
 * Gallery
 */

#gallery {
	clear: both;
	padding-left: 0px !important;
	margin-top: 20px;
	
}

#gallery ul {
	
	padding: 0; margin-left: 0;
	/* padding-left: 10px; padding-right: 10px; */
}


#gallery li {
        text-align: left;
        float: left;
        list-style: none;
        min-height: 130px;
        width: 130px; display:block;
	border:solid #CCC;
	border-width: 0 1px 1px 0;
	-moz-border-radius: 4px;
	background:#FFF;
	padding: 5px;
	margin: 5px;
}

#gallery li.folder { 
   width: 448px !important; text-align: left; padding: 0; 
   float:none !important; 
   margin: 2em auto !important; 
   background: url(../images/gallery/folder.gif) 8px 18px no-repeat;
}
#gallery li.folder a { padding-right: 10px }
#gallery a {
	border-bottom-width: 0px !important;
}

#gallery a.open {
	padding-right: 14px;
	background: url(../images/open.gif) bottom right no-repeat; 
	border-bottom-width: 0px !important;
}

h2.item-folder {
	padding: 20px 0 20px 58px;
	/* background: url(../images/gallery/folder.gif) 8px 18px no-repeat; */
}

/*
#gallery a span {
	position:absolute;
	left:-9999px;
}
*/
#gallery span {	
	font-weight:bold;
	background:#FFF;
	color:#999;
	font-size: 80%;
} 

#gallery img {
	border: 0px; padding-top: 1px;
/* border: 2px solid #EEE; */
/* delete line above and uncomment this for an inset effect
	border: 1px solid;
	border-color: #666 #EEE #EEE #666;
 */
}

a.back {
	padding-right: 20px;
	background: url(../images/back.gif) bottom right no-repeat; 
	border-bottom-width: 0px !important; font-weight: bold;
	line-height: 16px;
}
a.forward {
	padding-right: 20px;
	background: url(../images/forward.gif) bottom right no-repeat; 
	border-bottom-width: 0px !important; font-weight: bold;
	line-height: 16px;
}

.no-bmargin { margin-bottom: 0px; padding-bottom: 0px; }

#breadCrumb {
	height: 18px; /* This is the height we wan't on our breadcrumb */
	padding: 0 0 0 0px;
}
#breadCrumb ul { margin: 0px; }
#breadCrumb li {
	float: left;
	display: inline;
	margin-right: 4px;
}
#breadCrumb a {
	background: url(../images/breadcrumb.gif) top right no-repeat;
	padding-right: 18px; /* We need to add some padding to the right of the link. This space is where the background image is going to be shown. */
	text-decoration: none;
	border-bottom-width: 0px;
}
#breadCrumb a:hover {
	background: url(../images/breadcrumb.gif) bottom right no-repeat;
	border-bottom-width: 1px;
}

#breadCrumb img {
	border: 0px !important;
	vertical-align: text-bottom;
}


/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.float-none { float: none; }
.align-left  { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }
img.align-right { float:right; margin: 0 0 10px 10px; }
img.align-left { float:left; margin: 0 10px 10px 0; }

.nowrap { white-space: nowrap; }

/* additional classes */
.clear { clear: both; }
.green {	color: #679a8e; }
.gray  {	color: #BFBFBF; }

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}

.finalizado {
	background: url('../images/finalized.gif') top left no-repeat;
	width: 80%;
	min-width: 316px;
	min-height: 257px; 
	padding: 20px;
}

#loading, #loading1, #loading2, #loading3, #loading4 {
	width: 100%; height: 300px; 
	text-align: center; padding-top: 50px;
	color:#006c4b;
}


#pagination-style {
	border:0; margin: 5px 0 0 0; padding:0;
}

#pagination-style a { border-bottom-width: 0 }

#pagination-style li {
	border: 0; margin: 0; padding: 0;
	display: inline;
	font-size: 11px;
	list-style: none;
	margin-right: 4px;
}
#pagination-style a{
	border:dashed 1px #59ae94;
	margin-right: 4px;
}
#pagination-style .previous-off,
#pagination-style .next-off {
	border: dashed 0px #59ae94;
	color:#888888;
	display:block;
	float:left;
	font-weight:bold;
	margin-right:2px;
	padding: 3px 4px;
}
#pagination-style .next a,
#pagination-style .previous a {
	font-weight:bold;
}
#pagination-style .active {
	background:#105640;
	color:#FFFFFF;
	font-weight:bold;
	display:block;
	float:left;
	padding: 4px 6px;
}
#pagination-style a:link,
#pagination-style a:visited {
	color:#006c4b;
	display:block;
	float:left;
	padding: 3px 6px;
	text-decoration:none;
}
#pagination-style a:hover{
	border:solid 1px #006c4b
}


.rowDataGridCutOff {
	background-color: #ffcccc !important;
}

