/* custom stuff */
html {
  height: 100%;
  margin-bottom: 1px;
}

:focus { -moz-outline-style: none; }

body {
	margin: 0px 0px 0px 0px;
	height: 100%;
	font-size: 76%;
	background: #dbdbdb;
}
.tituloapartado {
	text-align: left;
	color: #ed1c24;
	font-weight: bold;
	
}

a:link, a:visited {
	color: #000; text-decoration: none;
	font-weight: normal;
}

a:hover {
	color: #b30b0a;	text-decoration: underline;
	font-weight: normal;
}

img {
	border: 0;
}

p {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: justify;
}

table, td, th {
	font-family: Tahoma,Helvetica,Arial,sans-serif;
	text-align: left;
	align: left;
}




h1 {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 18px;
	font-weight: bold;
	vertical-align: bottom;
	color: #000;
	text-align: center;
	width: 100%;	
}

h2 {
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #000;
	margin: 0;
	padding: 0;
	text-align: justify;
}

h3 {
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #b30b0a;
	margin: 0;
	padding: 0;
	text-align: left;
	border-bottom: 1px solid #b30b0a;
}

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

#tabs ul, li {
	list-style-type: none;
}

#tabs ul {
	margin: 0;
	padding: 0;
}

#tabs li {
	float: left;
	margin: 0;
	padding: 0;
	border: 1px solid #8e8c8c;
}

#tabs a {
	text-decoration: none;
	color: #000;
	background: url('/img/fondomenuoff.png') repeat-x;
	display: block;
	padding-top: 12px;
	margin: 0;
	height: 31px;
	
}


#tabs a:hover {
	color: #fff;
	background: url('/img/fondomenuon.png') repeat-x;
}


.clr {
	clear: both;
}

div.center {
  text-align: center;
  align: center;
}

/* forms */

form {
	margin:0;
}
form div{
margin:0;
padding:0;
}
form div.date{
margin-left: 0em;
}
label {
display: block;
width: 300px;
font-size: 11px;
padding-right: 20px;
margin-bottom: 4px;
}

input[type=checkbox] {
float: left;
clear: left;
margin: 2px 4px 5px 2px;
background-color:#ffffff;
border-style:solid;
border-width:0px;
border-color:#ffffff;

}
input, textarea {
font-size: 10px;
font-family: Tahoma;
background-color:#ffff;
border: 1px solid #000;
padding: 0px;
}
select {
clear: both;
vertical-align: text-bottom;
font-size: 11px;
font-family: inherit;
background-color:#ffffff;
border-style:solid;
border-width:1px;
border-color:#6D90B0;
}
option {
font-size: 12px;
font-family: inherit;
padding: 0 0.3em;
}

input[type=submit] {
	display: inline;
	vertical-align: middle;
	color:#ffffff;
	background-color:#b30b0a;
	border-style:solid;
	border-width:1px;
	border-color:#000000;
}
div.required {
clear: both;
color:#222;
font-weight:bold;
margin: 4px;
}
div.optional {
clear: both;
color:#555;
margin: 4px;
}
div.submit {
clear: both;
margin-top: 20px;
text-align: left;
margin-bottom: 10px;
}


dl {
	line-height:2em;
	margin:0em 1em;
	float:left;
	width: 200px;
}
dt {
	font-weight: bold;
	vertical-align:top;
}
dd {
	margin-left:10em;
	margin-top:-2em;
	vertical-align:top;
}
div.actions {
	margin-top: 10px;
	margin-bottom: 10px;
	align: left;
	text-align: left;

}

/** some content stuff **/

div#wrapper {
		margin-left: auto;
		margin-right: auto;
		margin-top: 0px;
		width: 750px;
		background: url('/img/fondo.png');
		
	
}
div#header {
		width: 750px;
		height: 96px;
}

div#header_l {
		float: left;
		width: 330px;
		padding-left: 10px;
}

div#header_r {
		float: right;
		width: 380px;
		padding-right: 20px;
		padding-top: 10px;
}

div#menucabecera {
		float: right;
		text-align: right;
		align: right;
		height: 16px;
		width: 300px;
}

div#buscador {
		float: right;
		text-align: right;
		align: right;
		width: 300px;
		padding-top: 20px;
}
div#menu {
		width: 733x;
		height: 45px;
		margin-left: 8px;
		margin-right: 8px;
		text-align: center;
		background: #000;
}
div#sombratop {
		width: 732px;
		height: 7px;
		margin-left: 9px;
		margin-right: 9px;
		background: url('/img/sombrahorizontal.png') repeat-x;
}
.marcaagua {
		background: url('/img/marcaagua.png') center center no-repeat;
}


div#bodyc {
		width: 710px;
		background: #fff;
		margin-left: 20px;
		margin-right: 20px;
		text-align: left;
}
div#bodyl {	
		float: left;
		width: 500px;
		padding-top: 15px;
		text-align: left;
		padding-right: 10px;
}

div#bodyr {
		
		float: right;
		width: 185px;
		padding-top: 15px;
		text-align: center;
		padding-left: 10px;
}
div#footer {
	width: 710px;
	height: 50px;
	text-align: left;
	font-size: .90em;
	color: #000;
	background: #fff;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 5px;
	padding-top: 5px;
}		
div#footer_l {
	float: left;
	width: 500px;
	text-align: left;
}		
div#footer_r {
	float: right;
	width: 180px;
	text-align: right;
}		
div#lineainferior {
	width: 732px;
	border-bottom: solid 1px #8e8c8c;
}



.clr {
	clear: both;
}

div.center {
  text-align: center;
  align: center;
}



.whitebox {
    margin: 0 18px 0px 18px;
    background: #fff;
    width: auto !important;
    width: 100%;
}


div.module-grey h3, div.moduletable-grey h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    color: #333;
    margin: -2px -8px 0 -8px;
    border-bottom: 1px solid #cdcdcd;
    padding-left: 10px;
    padding-bottom: 2px;
}

div.module-grey, div.moduletable-grey {
    background: url('/img/jos_box_grey_tl.png') 0 0 no-repeat;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

div.module-grey div, div.moduletable-grey div {
    background: url('/img/jos_box_grey_tr.png') 100% 0 no-repeat;
}

div.module-grey div div, div.moduletable-grey div div {
    background: url('/img/jos_box_grey_bl.png') 0 100% no-repeat;
}

div.module-grey div div div, div.moduletable-grey div div div {
    background: url('/img/jos_box_grey_br.png') 100% 100% no-repeat;
    padding: 8px;
    width: auto !important;
    width: 100%;
}

div.module-grey ul, div.moduletable-grey ul {
margin: 10px 0;
padding-left: 10px;
}

div.module-grey a.mainlevel:link, div.module-grey a.mainlevel:visited  {
    background: none;
    padding-left: 0;
}

/** Table styles **/

table.adminlist {

	width: 100%;
	border-spacing: 1px;
	background-color: #e7e7e7;
	color: #666;
}

table.adminlist td,
	table.adminlist th { padding: 4px; }

table.adminlist thead th {
	background: #f0f0f0;
	color: #666;
	border-bottom: 1px solid #999;
	border-left: 1px solid #fff;
}

table.adminlist thead a:hover { text-decoration: none; }

table.adminlist thead th img { vertical-align: middle; }

table.adminlist tbody th { font-weight: bold; }

table.adminlist tbody tr			{ background-color: #fff;  text-align: left; }
table.adminlist tbody tr.row1 	{ background: #f9f9f9; border-top: 1px solid #fff; }

table.adminlist tbody tr.row0:hover td,
table.adminlist tbody tr.row1:hover td  { background-color: #ffd ; }

table.adminlist tbody tr td 	   { height: 25px; background: #fff; border: 1px solid #fff; }
table.adminlist tbody tr.row1 td { background: #f9f9f9; border-top: 1px solid #FFF; }

table.adminlist tfoot tr { text-align: center;  color: #333; }
table.adminlist tfoot td,
table.adminlist tfoot th { background-color: #f3f3f3; border-top: 1px solid #999; text-align: center; }

table.adminlist td.order 		{ text-align: center; }
table.adminlist td.order span { float: left; display: block; width: 20px; text-align: center; }

table.adminlist .pagination { display:table; padding:0;  margin:0 auto;	 }

table.adminform {
	background-color: #fff;
	width: 100%;
	border-collapse: collapse;
	margin: 10px 20px 10px 0;
	margin-bottom: 15px;
	width: 100%;
}
table.adminform.nospace { margin-bottom: 0; }
table.adminform tr.row0 { background-color: #f9f9f9; }
table.adminform tr.row1 { background-color: #eeeeee; }

table.adminform th {
	font-size: 12px;
	font-weight: bold;
	padding: 6px 2px 4px 4px;
	text-align: left;
	height: 25px;
	color: #000;
	background-repeat: repeat;
	width: 40%;
}
table.adminform td { padding: 3px 20px; text-align: left; width: 60%;}

fieldset.adminform { border: 1px solid #ccc; margin: 0 10px 10px 10px; }
/* header block */
table.adminheading {
	background-color: #ffffff;
	font-family : Arial, Helvetica, sans-serif;
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
	border-collapse: collapse;
	color: #C64934;
	font-size : 18px;
	font-weight: bold;
	text-align: left;
}
table.adminheading th {
	background: url('/img/generic.png') no-repeat left;
	text-align: left;
	height: 50px;
	padding-left: 60px;
	border-bottom: 5px solid #fff;
}