/* ------------- "genericx" styles */

body {
	margin: 0; padding: 0;
	background: white; color: #333;
	font: small "Lucida Grande", Arial, sans-serif;
}

a {
	text-decoration: none;
}

a img {
	border: 0;
}

p {
	margin: 0 0 1em;
}

/** cabecera */


#login {
	padding:10px 5px 10px 10px ;
	float:right;
	
}

#homelink
{
float:left;


}

#titlebar 
{
background:transparent url(/img/aqqSubBar.png) center bottom repeat-x;

}


div.mainbar 
{

background:#d3e1f0 url(/img/aqqTopBar.png) center bottom repeat-x;
padding-bottom:70px;
font-family:tahoma;
clear:both;
}

div.mainbarwrap
{
position:relative;
z-index:3;
}

.home div.mainbar 
{
//background:transparent url(/img/navBarHome.png) center bottom repeat-x;
}
div.mainbar div.set 
{
position:relative;
}
div.mainbar ul li 
{
	float:left;
	background:transparent url(/img/aqqTopDivide.png) no-repeat left top;
	font-size:1em;
	list-style-type: none;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 1px;
}
div.mainbar2 ul li.selected span
{
display:block;
//background:transparent url(/img/bk-selected.png) repeat-x;

}

dif.mainbar ul li.selected 
{
display:block;
background:white;

}


div.mainbar ul li a 
{
margin:0.9em 0;
display:block;
padding: 0 .75em;
color:black;
font-weight:bold;
}
div.mainbar ul li span a
{
margin:0;
padding:0.9em 0.8em;
}



/* ------------- footer styles */
#footer {
	background: #d3e1f0;
	color: #000000;
	clear:both;
}

#cake-sql-log {
	background: gren;
	color: #000000;
	clear:both;
}
/* ------------- masthead styles */

#masthead {
	margin-bottom: 0em; padding-top: 1px;
	height:170px;
	background:transparent url(/img/topGrad.gif) repeat-x;
}


#menu {
border-top:1px solid #e3e3e3;
background:#dff1d3 url(/img/navBar.png) center bottom repeat-x;
padding-bottom:2.6em;
font-family:tahoma;
clear:both;
}

#navlinks {
	margin: 0; padding: 0.5em 3em;
    color: black;
}

#navlinks li {
	display: inline;
	margin-right: 0.5em; padding-right: 0.75em;
	border-right: 1px solid #99C;
	font-weight: bold;
}

#navlinks li.last {
	border-right: 0;
}

#navlinks a {
	color: black;
}

#link { 

clear:left;	
}

/* ------------- main column styles */

#diveguide_data {
	float: left;
	background:white;
	
	padding-top: 0;
	padding-right: 502px;
	padding-bottom: 4em;
	padding-left: 3em;
	
}

#path {
	padding-bottom: 10px;
	font-size: 14px;
}

#map {
	float: right;
	width: 400px;
	background-color: #F0F0FA;
	height:300px;
	text-align: center;
	vertical-align: middle;
	margin-top: 0;
	margin-right: 20px;
	margin-bottom: 4em;
	margin-left: -400px;
}


#map_divesite {
	
	width: 400px;
	background-color: #F0F0FA;
	height:300px;
	text-align: center;
	vertical-align: middle;
	
}


#diveguide_data h1 {
	margin: 0 33% 1.25em -2em; padding: 0.5em 2em;
	background: #FFF; color: #686397;
	font-size: 1.5em;
}

#diveguide_data h1 b {
	color: #B0D742;
}

#diveguide_data h2 {
	margin: 0.5em 0; padding-bottom: 0.25em;
	border-bottom: 1px solid #B0D742;
	font-size: 1.5em;
}

#diveguide_data img.illus {
	float: left;
	margin: 1em 1em 1em 0;
}

/* ------------- map styles */





#post-archive table {
	margin: 0 auto;
	font-size: smaller;
}

#post-archive caption {
	margin: 1em auto 0;
	font-size: larger;
	font-weight: bold;
}

#post-archive td {
	padding: 0;
	border: 1px solid #787A6B;
	background: #5B5D4E; color: #222;
	text-align: center;
}

#post-archive table a {
	display: block;
	font-weight: bold;
	color: #FFF;
}

#post-archive table a:hover {
	background: #ABD240;
}




/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding-top: 0px;
	padding-right: 30px;
	padding-left: 30px;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}
label {
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	
}
select {

	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */


.error, .notice, .success, .message {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {
	background:#d3e1f0;
	color:#514721;
	border-color:#CC0033;
}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.message {
	background:#FFF6BF;	
	color:#264409;
	border-color:#000000;
}

div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
	
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}






/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

/******** CALENDAR */


#calendarDiv{
	position:absolute;
	width:205px;
	border:1px solid #317082;
	padding:1px;
	background-color: #FFF;
	font-family:arial;
	font-size:10px;
	padding-bottom:20px;
	visibility:hidden;
}
#calendarDiv span,#calendarDiv img{
	float:left;
}
#calendarDiv .selectBox,#calendarDiv .selectBoxOver{
	
	line-height:12px;
	padding:1px;
	cursor:pointer;
	padding-left:2px;
}

#calendarDiv .selectBoxTime,#calendarDiv .selectBoxTimeOver{	
	line-height:12px;
	padding:1px;
	cursor:pointer;
	padding-left:2px;
}

#calendarDiv td{
	padding:3px;
	margin:0px;
	font-size:10px;
}



#calendarDiv .selectBox{
	border:1px solid #E2EBED;		
	color: #E2EBED;
	position:relative;
}
#calendarDiv .selectBoxOver{
	border:1px solid #FFF;
	background-color: #317082;
	color: #FFF;
	position:relative;
}
#calendarDiv .selectBoxTime{
	border:1px solid #317082;		
	color: #317082;
	position:relative;
}
#calendarDiv .selectBoxTimeOver{
	border:1px solid #216072;	
	color: #216072;
	position:relative;
}

#calendarDiv .topBar{
	height:16px;
	padding:2px;
	background-color: #317082;


}
#calendarDiv .activeDay{	/* Active day in the calendar */
	color:#FF0000;
}
#calendarDiv .todaysDate{
	height:17px;
	line-height:17px;
	padding:2px;
	background-color: #E2EBED;
	text-align:center;
	position:absolute;
	bottom:0px;
	width:201px;
}
#calendarDiv .todaysDate div{
	float:left;
}
	
#calendarDiv .timeBar{
	height:17px;
	line-height:17px;
	background-color: #E2EBED;
	width:72px;
	color:#FFF;
	position:absolute;
	right:0px;
}

#calendarDiv .timeBar div{
	float:left;
	margin-right:1px;
}


#calendarDiv .monthYearPicker{
	background-color: #E2EBED;
	border:1px solid #AAAAAA;
	position:absolute;
	color: #317082;
	left:0px;
	top:15px;
	z-index:1000;
	display:none;

}
#calendarDiv #monthSelect{
	width:70px;
}
#calendarDiv .monthYearPicker div{
	float:none;
	clear:both;	
	padding:1px;
	margin:1px;	
	cursor:pointer;
}
#calendarDiv .monthYearActive{
	background-color:#317082;
	color: #E2EBED;
}

#calendarDiv td{
	text-align:right;
	cursor:pointer;
}

#calendarDiv .topBar img{
	cursor:pointer;
}
#calendarDiv .topBar div{
	float:left;
	margin-right:1px;
}
