body {
	background-color: #000000;
	background-image: url('images/mainbg_6mr.jpg');
	background-repeat: no-repeat;
	margin-left: 0px;
	margin-top: 0px;
}

#notice, #confirm {
	font-family: Verdana, Geneva;
	font-size: 15px;
	color: #FFFFFF;
	background-color: #000000;
	position: fixed;
	width: 200px;
	border: 2px solid #202020;
	-moz-opacity: 0.7;
	opacity: 0.7;
}

#notice {
	left: 30px;
	top: 30px;
	padding: 50px;
}

#confirm {
	left: 50px;
	top: 50px;
	padding: 150px;
}

#confirm .answer {
	color: #000000;
	font-weight: bold;
	text-align: center;
	display: block;
	background-color: #999999;
	width: 40px;
	margin: 20px;
	padding: 5px;
	cursor: pointer;
	text-align: middle;
}

h1 {
	font-family: Times new roman;
	font-size: 32px;
	color: #c7c7c7;
	font-weight: 100;
	line-height: 34px;
	margin: 10px 0px 0px 0px;
}

h2 {
	font-family: Times new roman;
	font-size: 16px;
	color: #ffba0a;
	font-weight: 100;
	line-height: 14px;
	margin: 0px 0px -8px 0px;
}

h5 {
	font-family: arial,helvetica,verdana,geneva,arial,sans-serif;
	font-size: 10px;
	line-height: 11px;
	font-weight: 100;
	color: #c7c7c7;
	margin: 15px 0px 0px 0px;
}

a, p, i, b, span, ol, ul {
	font-family: arial,helvetica,verdana,geneva,arial,sans-serif;
	font-size: 11px;
	line-height:1.4em;
	color: #999999;
	font-weight: 100;
}

/*ol, ul {
	padding: 3px 3px 3px 20px;
	
}

ul {
	list-style-type: disc;
}*/

input[type=text], input[type=password], textarea {
	border: none;
	background-color: #14242e;
	font-family: Verdana, Geneva;
	font-size: 10px;
	line-height: 10px;
	color: #A6A6A6;
}


table {
	font-family: Arial, sans-serif;
	font-size: 11px;
	color: black;
	border-spacing: 0px;
}

thead {
	color: #999999;
	text-align: left;
}

th:hover {
	color: lightgray;
	cursor: pointer;
}

th {
	padding-right: 30px;
}

tr.even {
	background-color: #090909;
}

td {
	padding: 5px 5px 5px 0px;
	vertical-align: top;
	color: #A6A6A6;
}

a img {
	border: none;
}







.date {
	color: #303030;
}

#logo {
	position: absolute;
	left: 0px;
	top: 0px;
}

#headertxt {
	position: absolute;
	left: 200px;
	top: 89px;
}

#kuvitus {
	position: absolute;
	left: 194px;
	top: 118px;
	border: 6px solid #14242E;
}








#advertisement {
	/* display: none; */					/* näkyviin vasta kun sivut valmiit */
	position: absolute;
	left: 0px;
	top: 531px;
	padding-left: 18px;
	border-left: 4px solid #1e1e1e;
}

.img_link {
	border: none;
}









/* EDITBUTTON */

.clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
    margin: 5px 0px 5px 0px;
    padding: 0px 0px 5px 0px;
}
a.edit {
    background: transparent url('images/editButtonA.gif') no-repeat scroll top right;
    display: block;
    float: left;
    height: 25px;
    margin-right: 6px;
    padding-right: 17px; /* sliding doors padding */
    text-decoration: none;
}
a.edit span {
	color: #666666;
    background: transparent url('images/editButtonSpan.gif') no-repeat;
    display: block;
    line-height: 15px;
    padding: 5px 0 5px 18px;
}
a.edit:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}
a.edit:hover span {
	color: #A6A6A6;
}
a.edit:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px;
}








/* NAV */

#nav {
	position: absolute;
	border-left: 4px solid #ffba0a;
	background-image: url('images/bg_nav.png');
	background-repeat: no-repeat;
	top: 111px;
	left: 0px;
	width: 155px;
	height: 262px;
	padding: 15px 0px 0px 15px;
	margin: 0px 0px 0px 0px;
	list-style: none;
}

#nav li {
	display: block;
	margin-top: -7px;
}

#nav a {
	font-family: Times new roman;
	color: #a0a0a0;
	margin: 10px 0px 0px 0px;
	text-decoration: none;
}

#nav.sadmin a {
	font-size: 12px;
	line-height: 2px;
}

#nav a:hover {
	color: #CCCCCC;
}

#nav li.hidden a {
	color: #606060;
}

#nav li.hidden a:hover {
	color: #CCCCCC;
}












/* NEWS */

#news {
	position: absolute;
	left: 194px;
	top: 353px;
	width: 397px;
	height: 500px;
	border-top: 4px solid #ffba0a;
}

#news-list, #news-archived-list {
	left: 0px;
	top: 40px;
	width: 100%;
	list-style-type: none;
	padding-left: 0px;
	margin: 0px 0px 0px 0px;
}

#news-list>li, #news-archived-list>li {
	padding-bottom: 5px;
	margin-bottom: 5px;
}

#news-edit-addnew {
	position: absolute;
	left: 0px;
	top: 40px;
	width: 100%;
}

#news-list .date, #news-archived-list .date {
  border-top: 1px solid #151515;
	width: 100%;
	text-align: right;
}








/* LAST UPDATED */

#lastupdated {
	position: absolute;
	left: 606px;
	top: 118px;
	width: 185px;
	height: 500px;
	border-top: 4px solid #ffba0a;
}

#lastupdated td {
	padding: 5px 10px 10px 0px;
}

#lastupdated table {
	margin-top: 10px;
}

#lastupdated a:active, #lastupdated a {
    text-decoration: none;
}
#lastupdated a:hover {
	color: #DADADA;
    text-decoration: none;
	outline: none; /* hide dotted outline in Firefox */
}





/* YACHTS */

#yachts-all {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

#yachts-list {
	list-style-type: none;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

#yachts-list li {
	border-top: 1px solid #151515;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

#yachts-list li.private {
	padding-bottom: 5px;
	margin-bottom: 5px;
	background-color: #090909;
}

#yachts-list li>table {
	position: relative;
	margin: 0px;
	width: 504px;
	top: 12px;
}

#yachts-list li>table table {
	margin-top: -8px;
}

#yachts-list h2 {
	margin-top: 16px;
}

#yachts-table {
	width: 500px;
	margin-bottom: 20px;
}

#yachts-table td {
	width: 25%;
	height: 100px;
	padding: 0px;
	margin: 0px;
}

#yachts-table p {
	margin-top: 3px;
}

#yachts-one {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 1000px;
}

#yachts-info {
	position: absolute;
	left: 0px;
	top: 80px;
	width: 490px;

}

#yachts-image {
	position: absolute;
	left: 591px;
	top: 0px;
}

#yachts-image img {
	max-height: 400px;
	max-width: 300px;
	border: 6px solid #14242E;
}

#yachts-thumbnails {
	background-color: #14242E;
	padding: 2px;
	position: absolute;
	left: 505px;
	top: 80px;
}

#yachts-thumbnails img {
	margin: 2px;
}

#yachts-text {
	margin: 20px 0px 0px 0px;
	position: absolute;
	width: 500px;
	left: 200x;
	top: 250px;
}

#yachts-files {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 591px;
	top: 640px;
	width: 305px;
}

#yachts-edit-addnew {
	position: absolute;
	left: 0px;
	top: 70px;
	width: 500px;
}

#yachts-edit {
	left: 0px;
	top: 70px;
	width: 500px;
}

#yachts-edit-addimage {
	position: absolute;
	left: 520px;
	top: 50px;
	width: 290px;
}
#yachts-edit-thumbnails {
	background-color: #14242E;
	padding: 5px;
	position: absolute;
	left: 520px;
	top: 150px;
}

#yachts-edit-addfile {
	position: absolute;
	left: 0px;
	top: 660px;
	width: 300px;
}

#yachts-info h2, #yachts-files h2, #yachts-edit h2 {
	margin: 3px 0px 3px 0px;
}








/* GALLERY */

#gallery, #gallery-one, #gallery-photo {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

#gallery-list {
	list-style-type: none;
	padding-left: 0px;
	margin: 0px 0px 0px 0px;
}

#gallery-list li {
	border-top: 1px solid #151515;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

#gallery-list li.private {
	padding-bottom: 5px;
	margin-bottom: 5px;
	background-color: #090909;
}

#gallery-list li>table {
	position: relative;
	margin: 0px;
	width: 504px;
	top: 12px;
}

#gallery-list h2 {
	margin-top: 16px;
}

#gallery-thumbnails {
	background-color: #14242E;
	padding: 5px;
}


#gallery-photo img {
	max-width: 488px;
	margin-top: 20px;
	border: 6px solid #14242E;
}

#gallery-edit {
	position: absolute;
	left: 2px;
	top: 70px;
	width: 500px;
}

#gallery-edit-addphoto {
	position: absolute;
	left: 2px;
	top: 360px;
	width: 500px;
}

#gallery-edit-thumbnails {
	background-color: #14242E;
	padding: 5px;
	position: absolute;
	left: 2px;
	top: 450px;
	width: 500px;
}

#gallery-one h2, #gallery-photo h2 {
	margin: 10px 0px 0px 0px;
}








/* LOGIN */

#login, #loginHuomautus {
	position: absolute;
	border-left: 4px solid #ffba0a;
	background-image: url('images/bg_login.png');
	background-repeat: no-repeat;
	padding: 0px 0px 0px 15px;
	margin: 0px 0px 0px 0px;
	left: 0px;
	top: 392px;
	width: 155px;
	height: 170px;
}








/* USERS */

#users {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 750px;
	height: 500px;
}

#users-edit {
	position: absolute;
	top: 80px;
}

#users-edit-changepw {
	position: absolute;
	left: 300px;
	top: 80px;
}










/* MARKET PLACE */

#marketplace, #marketplace-edit {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

#marketplace-forsale-list, #marketplace-wanted-list {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#marketplace-wanted {
  margin-top: 50px;
}

#marketplace-forsale-list li, #marketplace-wanted-list li {
	border-top: 1px solid #151515;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

#marketplace-forsale-list li .date, #marketplace-wanted-list li .date {
	position: relative;
	left: 446px;
	margin: 0px;
	padding: 0px;
}

#marketplace-forsale-list li table {
	position: relative;
	margin: 0px;
	width: 504px;
	top: 12px;
}

#marketplace h1 {
	margin-bottom: 15px;
}

#marketplace-forsale-one img {
	margin-top: 13px;
	max-width: 500px;
}

#marketplace-forsale-one h2, #marketplace-wanted-one h2 {
	margin-top: 20px;
}

#marketplace-edit-addnew input.edit, #marketplace-edit-addnew textarea.edit, #marketplace-edit input.edit, #marketplace-edit textarea.edit {
	width: 75%;
}









/* GROUP MAIL */

#groupmail {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

#groupmail-header {
}

#groupmail-sent {
	position: absolute;
	left: 0px;
	top: 600px;
	width: 500px;
	list-style-type: none;
}

#groupmail-sent-list {
	list-style-type: none;
	padding-left: 0px;
}










/* PAGES */

#pages {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

/*.page {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}*/

#pages-table table {
	width: 100%;
}

#pages textarea {
	width: 100%;
	height: 300px;
}

.page {
	position: absolute;
	border-top: 4px solid #ffba0a;
	left: 194px;
	top: 118px;
	width: 500px;
	height: 500px;
}

#pages h1, .page h1 {
	margin-bottom: 15px;
}

#pages tr.listsub td {
	background-color: #090909;
	border-top: 1px solid #000000;
	padding-left: 10px;
}

#pages tr.list td {
	background-color: #101010;
	border-top: 1px solid #000000;
}










/* EXCEL */

table.excel {
	margin: 10px 0px 10px 0px;
	border-top: 1px solid #151515;
	border-left: 1px solid #151515;
}

table.excel td {
	background-color: #000000;
	border-right: 1px solid #151515;
	border-bottom: 1px solid #151515;
	padding: 4px 20px 4px 4px;
}