body {
    padding: 0px;
    margin: 0px;
    background-color:#fff;
}
div {text-align: left;}

thead th {background-color: #eee;}
#wrapper {
   width:960px;
   margin: 0 auto;
}
#header {
    padding: 5px 10px 10px;
    background-color: #eee;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
}
#container {
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#footer {
   margin-top:10px;
   font-size:10px;
   color:#555555;
   padding-bottom:10px;
}
a.new, a.new:visited {
    background-color: #5976ff;
    color:#ffffff;
    padding: 3px 8px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    font-size: 14px;
    text-decoration: none;
}
a.new:hover {
    color:#ffffff;
    text-decoration: underline;
}
a.edit {
    font-weight: bold;
    color:#56b138;
}
a.confirm-delete {
    font-weight: bold;
    color:#B11C1E;
}
h1  {
    font-family: Tahoma, Arial, sans-serif;
}
.message {
    color: #333333;
    background-color: #FFF1A8;
    border-radius: 4px 4px 4px 4px;
    font-weight: bold;
    padding: 5px;
    display: inline-block;
}
.errorMessage {
    color: #CC0000;
    font-weight: bold;
}
.row {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: block;
    color: #333333;
    font-family: "Tahoma", Arial, sans-serif;
}
#logo {
    height: 82px;
    margin-bottom: 10px;
    background: url(/images/logo.png) no-repeat;
}
#top-bar {
    height: 46px;
    background-color: #c7e2f3;
    background-image: url(/images/top-bg.png);
    background-repeat: no-repeat; 
}
#user-links {
    font-family: "Tahoma", Arial, sans-serif;
    font-size: 11px;
    color: #333;
    margin-bottom: 10px;
}
#user-links a {
    color: #b0b0b0;
    text-decoration: underline;
}
#user-links a:hover {
    text-decoration: none;
}
#top-nav a {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #888;
    text-decoration: none;
    margin-right: 18px;
}
#top-nav a:hover {
    color: #333;
    text-decoration: underline;
}
#top-nav a.last {
    margin-right: 0px;
}
#top-nav a.active {
    color: #333;
    text-decoration: underline;
}
#content {
    margin-bottom: 30px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: 0 -60px;
}

iframe #content {
   background-color:#F2F5F7;
}

.form-table td {
	vertical-align: top;
}
input.txt {
    width: 300px;
}
input.txt-small {
    width: 100px;
}
input.txt-num {
    width: 50px;
}
textarea.txt {
    width: 300px;
    height: 50px;
}



#block-actions-right,
#block-actions-left {
	float: left;
	width: 440px;
	margin-right: 10px;
}
#block-certificates-right,
#block-certificates-left {
	float: left;
	width: 440px;
	margin-right: 10px;
}


.paging .r {
	float: right;
}

.actions-title {
	font-size: 1.2em;
	font-weight: bold;
}

.dashboard-block {
	margin-bottom: 20px;
   	background-color: #FBFBFB;
        padding: 5px;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
}
.dashboard-block .label {
	float: left;
	padding: 10px 0px;
	font-size: 1.2em;
	font-weight: bold;
}
.dashboard-block .list {
	margin-left: 100px;
}
.dashboard-block .list .item {
	padding: 10px 20px;
	margin-right: 10px;
	margin-bottom: 5px;
	float: left;
	border: 1px solid #888;
	cursor: pointer;
        background-color:#ffffff;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
}
.dashboard-block .list .item:hover {
  border: 1px solid #000;
}
.dashboard-block .list .item-selected {
	background-color: #ddd;
	font-weight: bold;
}
table.actions-list div.flag {
	width: 10px;
	height: 10px;
}
th.actions-flag div.flag {
	border: 1px solid #000;
	width: 8px;
	height: 8px;
}
th.actions-flag div.flag-current {
	border: 2px solid #000;
	width: 6px;
	height: 6px;
}
tr.action-closed td div.flag {
	background-color: #ccc;
}
tr.action-red td div.flag {
	background-color: #f33;
}
tr.action-yellow td div.flag {
	background-color: #ffcc00;
}
tr.action-green td div.flag {
	background-color: #3c3;
}
.category-red {background-color: #f33;}
.category-yellow {background-color: #ffcc00;}

#block-actions,
#categories-container {
	width: 440px;
	margin-right: 10px;
}
#categories-container {
	float: left;
}
#block-actions {
	margin-left: 450px;
}

.actions-flag {
  width: 10px;
}
.actions-title {
  width: 195px;
}
.actions-ship {
  width: 100px;
}

.certificates-list th, .certificates-list td,
.actions-list th, .actions-list td {
  border-bottom: 1px solid #e2e2e2;
}

/*
#block-categories .categories .red-category {
	background-color: #f00;
}
#block-categories .categories .yellow-category {
	background-color: #fc0;
}
*/
#block-categories .categories a .flag {
	position: absolute;
	right: 10px;
	top: 20px;
	width: 10px;
	height: 10px;
	display: none;
}
#block-categories .categories .red-category .flag {
	background-color: #f00;
	display: block;
}
#block-categories .categories .yellow-category .flag {
	background-color: #fc0;
	display: block;
}

#block-categories .categories .category-link {
	float: left;
	width: 200px;
	height: 50px;
	overflow: hidden;
	border: 1px solid #888;
	margin-right: 10px;
	margin-bottom: 10px;
	text-decoration: none;
	display: table;
	color: #000;
	position: relative;
}
#block-categories .categories .category-link:hover {
	border-color: #000;
}
#block-categories .categories .category-link span {
	padding-left: 10px;
	padding-right: 25px;
	margin-top: auto;
	margin-bottom: auto;
	display: table-cell;
	vertical-align: middle;
}

#block-categories .breadcrumb {
	padding-bottom: 10px;
}

#block-categories .newcategory-link {
	padding: 8px;
	text-decoration: none;
	color: #000;
	border: 1px solid #666;
}
#block-categories .newcategory-link:hover {
	border-color: #000;
}

#block-categories .breadcrumb .controls {
	float: right;
	margin-right: 26px;
}

input.red-input {background-color: #f33;}
input.yellow-input {background-color: #fc0;}

td.red-input .flag,
td.yellow-input .flag,
td.green-input .flag {
	width: 10px;
	height: 10px;
	display: inline-block;
	margin-left: 5px;
}
td.red-input .flag {background-color: #f33;}
td.yellow-input .flag {background-color: #fc0;}
td.green-input .flag {background-color: #3c3;}

#categories-container #mode-selection {
	font-size: 1.2em;
}
#categories-container #mode-selection a {
	text-decoration: underline;
}
#categories-container #mode-selection a:hover {
	text-decoration: underline;
}
#categories-container #mode-selection a.selected-mode {
	font-weight: bold;
}
img.ui-datepicker-trigger {
	margin-left: 3px;
	position: relative;
	top: 3px;
}

label.c {
	display: inline-block;
	font-weight: normal;
}


.sortable-fields {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.sortable-fields li.hover span {
	background-color: #eee;
}
.sortable-fields li span {
	float: left;
	padding: 4px;
}
.sortable-fields li span.name {
	width: 250px;
}
.sortable-fields li span.type {
	width: 80px;
}
.sortable-fields li span.controls {
}

.submenu {
	font-size: 16px;
}
.submenu a {
	text-decoration: none;
	color: #888;
	padding-right: 15px;
}
.submenu a:hover {
	text-decoration: underline;
}

table.certificates-manager-list div.flag,
table.crew-list div.flag,
table.certificates-list div.flag {
	width: 10px;
	height: 10px;
}
table.certificates-manager-list div.flag {
	position: relative;
	top: 3px;
}
tr.certificate-red td div.flag {
	background-color: #f33;
}
tr.certificate-yellow td div.flag {
	background-color: #ffcc00;
}
tr.certificate-green td div.flag {
	background-color: #3c3;
}
tr.crew-deleted td {
	text-decoration: line-through;
}

label.label1 {
	font-weight: normal;
	display: inline-block;
}

.endorsement-options {
	margin-left: 0px;
	display: none;
}