/* @override http://navystudyguide.net/css/styles.css */

body {
	background-color: #FFFFFF;
	background-image: url(../images/headerbg.jpg);
	background-repeat: repeat-x;
	margin: 0;
	width: 100%;

}

body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #3F6B9C;
}

a:link {
	color: #233342;
}
a:visited {
	color: #233342;
}
a:hover {
	color: #74A1B8;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
}
h2 {
	color: #003d4c;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	/*margin: 0.3em 0 0 0.5em; */
	margin-left:30px;
	/*padding-top: 0.8em;*/
}
h3 {
	color: #993;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	padding-top: 0.5em;
	margin: 0.5em 2em 0.5em 2em
}
h4 {
	color: #993;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
}


#header{
	padding: 10px 20px;
}
#header h1 {
	background: #003d4c url('../img/cake.icon.gif') no-repeat left;
	color: #fff;
	padding: 0px 30px;
}
#header h1 a {
	color: #fff;
	background: #003d4c;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
}
#content{
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
table {
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	border-right: 1px solid #ccc;
	padding: 4px;
	xtext-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}

table.bib tr td {
	vertical-align: middle;
}

td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

table.tb_comment {
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
}

table.comm_submit {
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
}


/* Paging */
div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 4em 0em 0em 2em;
	margin-left: 2em;
	width: 90%;
}

dl.sub_new {
	line-height: 2em;
	margin: 1em 0em 0em 2em;
	margin-left: 2em;
	width: 90%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	xmargin-left: 10em;
	xmargin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
}

form#UserSearchForm {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}

fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
	margin-left: 3em;
}
fieldset legend {
	color: #003d4c;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 0;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
	margin-left: 20px;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 0;
	padding: 0;
	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: 0;
	margin-left: 0;
}

label {
	display: block;
	xfont-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	display: block;
	xfont-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}
div.comment_add input{
	background-color: #3F6B9C;
	color: #ffffff;
	padding: 5px;
  	font-size: 10px;
  	font-weight:bold;
	margin-top: 10px;
	clear: both;

}
select {
	clear: both;
	xfont-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	xfont-size: 120%;
	padding: 0 3px;
}
input[type=file] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=submit] {
	display: inline;
	xfont-size: 110%;
	padding: 5px;
	width: auto;
	vertical-align: bottom;
	horizontal-align:center;
	margin:15px 0px 0px 0px;
	color: #fffff;
	background-color: #3F6B9C;
	font-weight:bold;
	border: 1px solid #003d4c;
}


input[type=hidden] {
	display: none;
}

div.d_comment{
	padding: 0;
	margin: 0;
}

div.d_comment input{
	background: none;
	border: none;
	text-decoration: none;
	margin-top: 0;
}

input.delete_comment{
	background: none;
	border: none;
	text-decoration: underline;
	padding: 0;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 100%;
	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;
	text-align: center;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	xwhite-space: nowrap;
}
div.actions ul li a {
	color: #003d4c;
	background: none;
	border: none;
	padding:2px;
	white-space: nowrap;
	font-weight: bold;
	font-size: 70%;
	text-decoration: underline;
}
div.actions ul li a:hover {
	color: #FFF;
	background: #4B87D2;
	text-decoration: none;
}


.actionsTop{
  margin-left:10px;
	margin-right: 10px;
	text-align: left;
}
div.actionsTop ul {
	margin: 0px 0;
	padding: 0;
	text-align: left;
}
div.actionsTop li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
}
div.actionsTop ul li a {
	color: #003d4c;
	background: none;
	border: none;
	padding:2px;
	white-space: nowrap;
	font-weight: bold;
	font-size: 70%;
	text-decoration: underline;
}

div.actionsTop ul li a:hover {
	color: #3F6B9C;
	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;
}
table.layout {
	border:0;
	border-right:0;
}
td.layout {
	border:0;
	border-right:0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #3F6B9C;
}

.albumPhoto{
  float: left;
  width: 200px;
  margin: 10px;
  border:1px solid #ccc;
  padding: 10px;  
}

.albumPhoto img{
  max-width: 330px;
}

.albumPhoto form#ArtifactProfilePictureForm input[type=submit]{
  float: left;
  display:inline;
  color: #ffffff;
  padding: 0;
}

.albumPhoto input[type=submit]{
  float: left;
  display:inline;
  color: #ffffff;
  padding: 0;
}

.albumPhoto div {
	margin: 0;
	padding: 0;
}

.albumPhoto form{
	margin: 0 0 0 7px;
}

.clearFloat{
  clear:both;
}

#photoAlbumWrap{
  text-align: center;
}

#userDetails{
 width: 100%;
}

#userDetails h2{
	margin: 0 10px;
}

.line{
	border-bottom: 1px solid #666666;
	margin: 5px 0;
}

#profile_about{
	color: #666666;
	border-bottom: 1px dotted #666666;
}

.profile_title{
	color: #666666;
}

#profileImage{
  float: left;
  width: 260px;
  margin-top: -30px;
  margin-left: 10px;
}

#profileImage img{
  max-width: 260px;
  margin-top: 40px;
}

.aSingleComment{
  margin: 5px 0px 10px 30px;
  clear: both;
}

.aSingleComment img{
  display: inline;
  /*float: left;*/
  margin-right: 6px;
  margin-bottom: 10px;
}

.theComment{
  display: inline;
  float: left;  
  width: 290px;
}

.bibSpan{
  font-size: 60px;
  font-weight: bold;
  padding: 8px;
}

#userDetailsLeft{
  width: 300px;
  float:left;
  display:inline;
}

#userDetailsRight{
  width: 400px;
  float:right;
  display:inline;
}
#userDetailsRight form{
  float: right;
}


.searchForm{
  width: 180px;
  display:inline;
  margin: 0;
  padding: 0;
}
.searchForm input{
  display:inline;
  float: left;
  width:200px;
  
}
.searchForm input[type=submit] {
  display:inline;
  float: right;
  width: auto;
	color: #ffffff;
	background-color: #3F6B9C;
	font-weight:bold;
  margin-top: -24px;
  padding: 5px;  
}
#commentAddForm input[type=submit] {
  display:inline;
  float: right;
  width: auto;
  font-size: 10px;
  color: #ffffff;
  background-color: #3F6B9C;
  font-weight:bold;
  margin-top: -29px;
  width:305px;
}
