* {
	margin:0;
	padding:0;
}

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: normal;
  src: local('Lobster'), url('Lobster.woff') format('woff');
}

/** General Style Info **/
html { min-height:100%; }
body {
	background:url('/img/background_bottom.jpg') repeat-x bottom #000000;
	height:100%;
	color: #fff;
	font-family:'tahoma',verdana,helvetica,arial,sans-serif;
	font-size:14px;
	margin: 0;
	padding-bottom:10px;
}
a {
	color: #e00000;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #ff0000;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.5em;
}
h1 {
    color: #AAAAAA;
    font-family: 'Lobster';
    font-size: 14px;
    line-height: 12px;
}
h2 {
	color: #d80000;
	font-family:'Lobster','lucida grande', helvetica, arial, sans-serif;
	font-size: 30px;
    line-height:20px;
    margin-bottom:15px;
	text-shadow:0 0 5px darkRed;
}
h3 {
	color: #fff;
	font-family:'Lobster','lucida grande', helvetica, arial, sans-serif;
	font-size: 165%;
	text-shadow:0 0 5px #ff0000;
}
h4 {
	color: #993;
	font-weight: normal;
}
ul, li {
	margin: 0 12px;
}

/** Layout **/
#container {
	text-align: left;
}

#header{
    background: url('../img/background.jpg') bottom repeat-x;
    height: 90px;
    position:relative;
    margin-bottom:50px;
    padding-right:20px;
}
#header h1 {
	line-height:20px;
	background:url('../img/logo_big.png') no-repeat left;
    padding-left:200px;
    padding-top:50px;
    height:100px;
    margin-left:20px;
	color: #fff;
    z-index:100;
    font-size:18px;
    font-family: 'Lobster', cursive;
}
#header h1 span {
    color:#aaa;
    float:right;
    background:url('../img/icon-lock.png') no-repeat left;
    display:block;
    padding-left:20px;
}
#header h1 a {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
    display:block;
    float:left;
    margin:0 20px;
}
#header h1 a:hover {
	color: #fff;
    border-bottom:1px red solid;
}
#content{
	clear: both;
	color: #fff;
	padding: 10px 20px 10px 20px;
    font-size:12px;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/** containers **/
div.form,
div.index,
div.view {
	float:right;
	width:76%;
	border-left:1px solid #666;
	padding:10px 2%;
}
div.actions {
	float:left;
	width:16%;
	padding:10px 1.5%;
}
div.actions h3 {
	padding-top:0;
	color:#777;
}


/** Tables **/
table {
	background: #000;
	border-right:0;
	clear: both;
	color: #ccc;
	margin-bottom: 10px;
	width: 100%;
}
table a { color:#fff; }
th {
	border:0;
	border-bottom:2px solid #aaa;
	text-align: left;
	padding:4px;
    background: #444;
    color:#fff;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    line-height:32px;
}
th a {
	display: block;
	padding-right:2px;
	text-decoration: none;
}
th a.asc:after {
	content: ' v';
}
th a.desc:after {
	content: ' ^';
}
table tr td {
	background: #000;
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #555;
}

table tfoot td {
    border:0;
    background: #333;
    border-top:1px solid #666;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

table tr:nth-child(2n) td {
	background: #222;
}

table tr.status-1 td, a.status-1 { background:#04460b; color:#fff; border-color:#0f0; }
table tr.status-1:nth-child(2n) td { background:#15521b; }
table tr.status-2 td, a.status-2 { background: #460504; color:#CCCCCC; border-color:#f00; }
table tr.status-2:nth-child(2n) td { background: #521515; }
table tr.status-3 td, a.status-3 { background: #524315; color:#CCCCCC; border-color:#ffc000; }
table tr.status-3:nth-child(2n) td { background: #463604; }
table tr.status-4 td, a.status-4 { opacity:0.5; }
table tr.status-4:nth-child(2n) td { opacity:0.5; }

table .altrow td {
	background: #f5f5f5;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Paging **/
div.paging {
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #ddd;
	display: inline;
}
div.paging span.current {
	color: #c73e14;
}
div.paging span a {
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 16px 20px;
}
fieldset legend {
	color: #c00;
	font-weight: bold;
    font-size:140%;
}
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 {
	padding: .5em;
	vertical-align: text-top;
}
form .input {
	color: #888;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	margin-bottom:3px;
}
input, textarea {
    background:#3F3F3F;
    border: 1px solid #888888;
    border-radius: 5px 5px 5px 5px;
    clear: both;
    color: #FFFFFF;
    padding: 5px;
    width:98%;
}
input:active, input:focus, select:active, select:focus {
    border-color:#e80303;
}

select {
	clear: both;
	vertical-align: text-bottom;
	max-height:100px;
    background:#3F3F3F;
    color:#fff;
    border:1px solid #888;
    border-radius:5px;
    padding:2px;
    width:98%;
}
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;
}
div.checkbox label {
	display: inline;
}
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%;
	width: auto;
}
form .submit input[type=submit] {
	background:#570000;
	background: -webkit-gradient(linear, left top, left bottom, from(#e80303), to(#570000));
	background-image: -moz-linear-gradient(top, #e80303, #570000);
    box-shadow:0 0 10px #000;
	border-color: #570000;
	color: #fff;
	text-shadow: #570000 0px 1px 0px;
    cursor:pointer;
}
form .submit input[type=submit]:hover {
	background:#e80303;
	background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
	background-image: -moz-linear-gradient(top, #ff3a1f, #8a0000);
    border-color: #e80303;
}

/** Notices and Errors **/
div.message {
    background: none repeat scroll 0 0 #CC0000;
    border: 2px solid #FF0000;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    font-size: 100%;
    font-weight: bold;
    left: 238px;
    margin: 0;
    padding: 5px;
    position: absolute;
    top: 100px;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
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: 0;
	padding: 0;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}
div.actions ul li a:hover {
	text-decoration: underline;
}

input[type=submit],
div.actions ul li a,
td.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
}
input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
	background: #f0f09a;
	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}

/** 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;
	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: #aa0000;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

.loading {
    background:url('/img/ajax-loader.gif') right center no-repeat !important;
    padding:8px 32px 8px 0;
}

.loading_img {
    background:url('/img/ajax-loader.gif') center center #000 no-repeat !important;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 5px #000000;
    height: 64px;
    margin-left: 110px;
    opacity: 0.7;
    position: absolute;
    width: 64px;
    margin-top:-16px
}

table.tour td input { width:80%; }

/* special styles */
#map_canvas {
	height:400px;
	display:none;
	margin-bottom:10px;
	border:2px solid #D80000;
	border-radius:10px;
	position:relative;
}
#map_container { height:400px; width:100%; border-radius:8px; }

a.deletelink, a.tourdeletelink, a.addphotobytourlink, a.touruserlink, a.editlink, a.deletephotolink, a.photolink {
    display:block;
	float:right;
	padding:0 !important;
}
a.addphotobytourlink { height:32px; width:32px; background:url('../img/icon-upload.png') no-repeat; }
a.touruserlink { height:32px; width:32px; background:url('../img/icon-user.png') no-repeat; }
a.tourdeletelink { height:32px; width:32px; background:url('../img/icon-delete.png') no-repeat; }
a.deletelink { height:32px; width:32px; background:url('../img/icon-delete.png') no-repeat; }
a.deletephotolink { height:32px; width:32px; background:url('../img/icon-delete.png') no-repeat; margin-right:2px; }
a.editlink { height:32px; width:32px; background:url('../img/icon-edit.png') no-repeat; }
a.editlink.save { height:32px; width:32px; background:url('../img/icon-add.png') no-repeat; }
td a.photolink { height:32px; width:32px; background:url('../img/icon-download.png') no-repeat; margin-right:5px; }
a.tourlink { white-space:nowrap; }

a.icon-add, a.icon-back, a.next, a.prev, a.icon-download, a.icon-del {
	display:block;
	float:right;
	height:32px;
	width:32px;
}
a.icon-add { background:url('../img/icon-add.png') left no-repeat; }
a.icon-del { background:url('../img/icon-delete.png') left no-repeat; }
a.icon-back { background:url('../img/icon-back.png') left no-repeat; }
a.next { background:url('../img/icon-forward.png') left no-repeat; }
a.prev { background:url('../img/icon-backward.png') left no-repeat; }
a.icon-download { background:url('../img/icon-download.png') left no-repeat; }

td.status ,td.user { text-align:center; line-height:30px; }
td.comment,td.photo a { line-height:30px; }
td.photo { text-align:center; }
td.photo object { left:0; }
td.photo a.addphotolink { display:block; text-decoration:none; line-height:100%; }
table#tours thead th { line-height:150%; }
table#tours tr.odd th { background:#333333; }

div.select_campaign, div.select_tours { float:left; }
div.select_campaign select, div.select_tours  select { max-height:none; }

form#UserLoginForm { width:250px; }

form#LocationSearchForm { margin:auto; width:250px; clear:none; height:30px; display:block; overflow:visible; }
form#LocationSearchForm div.input { float:left; padding:0; width:165px; }
form#LocationSearchForm div.submit { clear:none; float:right; margin-top:0; padding:0 }

form#LocationEditForm table { clear:none; margin:5px; width:350px; float:right; }
form#LocationEditForm div.submit { clear:none; }
form#LocationEditForm table th { line-height:150%; }
form#LocationEditForm table input { width:100%; }
form#LocationEditForm table div.input.text { padding:0;margin-right:50px; }
form#LocationEditForm table div.input.select { padding:0; display: inline-block; width: 88%; }
form#LocationEditForm div.formfields { padding:0; height:175px; }
form#LocationEditForm div.formfields input { width:70%; clear:none; float:right; margin:5px 0; }
form#LocationEditForm div.formfields label { float:left; line-height:35px; width:25%; }

form#TourEditForm input { width:70%; clear:none; float:right; margin:5px 0; }
form#TourEditForm label { float:left; line-height:30px; width:25%; clear:both; }
form#TourEditForm input.position { width:32px; text-align:center; float:none; margin:0; }
form#TourEditForm select { width:72%; clear:none; float:right; margin:5px 0; }
form#TourEditForm #tourstops select { float:none; margin:0; }
form#TourEditForm { width:100%; }
form#TourEditForm div.submit input { clear:both; width:150px; }
form#TourEditForm div { padding:0; }

form#TourAddForm select { width:auto; max-height:none; }
form#TourAddForm input { clear:none; width:auto; }

div.portfolio {	width:540px; height:200px; display:inline-block; vertical-align:middle; margin:10px 0; vertical-align:middle; }
div.portfolio img {	float:left; margin-right:20px; border-radius:5px; }
div.portfolio p { margin:10px 0 40px;width:500px; line-height:150%; }
div.portfolio strong { color:#D80000; font-family:'Lobster'; }
div.portfolio.intro { height: auto; width: 900px; display: block; margin-top: 30px; }
div.portfolio.intro p { width:880px; }