* { margin: 0; padding: 0; }

body { background: url( graf/body_bg.gif ); color: #333; font-family: 'Trebuchet MS', Tahoma, Arial, serif; }

#ie-warnink { width: 763px; margin: 0 auto 10px auto; background: #FFC; border: 1px solid #FC3; border-top: 0 none; padding: 5px 20px; }
#ie-warnink p { font-family: 'Comic Sans MS', Arial, Helvetica, sans-serif; font-size: 11px; line-height: 22px; }


#warnink { width: 763px; padding: 0px 20px; margin: 10px auto; color: #333; border: 1px solid #fc0; background: #ffc; line-height: 25px; }
#warnink p { line-height: 25px; margin: 0; padding: 10px 0; }
#warnink .dismiss { float: right; font-size: 11px; padding: 10px 20px 10px 0; background: url( graf/btn-dismiss.gif ) no-repeat right; }

#wrapper { width: 785px; margin: 10px auto; border: 10px solid #fff; background: #eae9d2 url( graf/ruudukko3.jpg ); overflow: hidden; }
#header { position: relative; height: 100px; background: #1d1d1b url( /graf/header_gray.gif ) repeat-x; }
	h1 { padding-top: 20px; text-indent: -999px; }
	h1 a { display: block; background: url( graf/logo.png ) no-repeat left top; width: 500px; height: 46px; margin: 0 auto; overflow: hidden; outline: none; }
	#kruunu { position: absolute; left: 40px; top: 0px; width: 43px; height: 45px; background: url( graf/kruunu.png ) no-repeat left top; display: none; }



#home #header { height: 140px; }
#home h1 { padding-top: 46px; }


#content-wrapper { width: 783px; padding: 10px 0 10px 10px; float: left; }
#footer { width: 775px; padding: 0px 10px; float: left; background: #151515; }

ul#navi { list-style-type: none; position: absolute; left: 10px; bottom: 4px; line-height: 26px; text-transform: uppercase; width: 765px; margin: 0; }
ul#navi li { display: inline; position: relative }

ul#navi a { float: left; padding: 0 15px; margin-right: 2px; color: #fff; -moz-border-radius: 5px 5px 0 0; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px; outline: none; }
ul#navi a.naviright { float: right; margin-right: 0; }
ul#navi a, [ei-ie6] { background: url( graf/navi_gray.png ) repeat-x left top; }
ul#navi a:hover,
ul#navi a.active { background-position: bottom; }
ul#navi a.active { background: url( graf/navi_active.png ) repeat left bottom }

ul#navi ul { display: none; position: absolute; left: 0; top: 32px; }
/* ul#navi li:hover ul { display: block; } */

.box { float: left; margin-right: 10px; }
.narrow { width: 245px; }
.normal { width: 375px; }
.wide { width: 510px; }
.ultra { width: 765px; }

.wide-text { width: 765px; border-bottom: 1px dotted #d9d0b4; }
.wide-text .box { margin-right: 0; }

h2 { font-family: "Times New Roman", Times, serif; font-weight: normal; letter-spacing: -1px; font-style: italic; margin: 10px 0; }
h3 { background: #333333; color: #fff; font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Arial, serif; letter-spacing: 1px; font-size: 11px; font-weight: normal; text-transform: uppercase; padding: 5px 8px; margin-bottom: 0px; clear: both; text-shadow: #685f44 1px 1px 2px; }
h3.warnink { background: #981111; }
	h3 a:link,
	h3 a:visited { color: #fff; }
	h3 a:hover { color: #fff; text-decoration: underline; }
	h3 span.right { float: right; }
h3.loading { background: #aca07b url( graf/h3_loading.gif ) no-repeat 5px 5px; }
	h3.loading .refresh { color: #c7bc99; }
h4 { background: #68928a; color: #fff; font-size: 11px; font-weight: normal; text-transform: uppercase; padding: 5px 8px; margin-bottom: 0px; margin-top: 3px; clear: both; text-shadow: #35534d 1px 1px 2px; }
h4 a:link,
h4 a:visited { color: #fff; }
h5 { margin: 10px 8px; font-size: 11px; background: transparent none; line-height: 22px; }
.member-card h5 { margin-top: 5px; }
h5.warnink { color: #900; }
h5 .date { float: right; }

h5.offline { background: url( graf/user_isoffline.gif ) no-repeat right; }
h5.online { background: url( graf/user_isonline.gif ) no-repeat right; }
h5.notactive { background: url( graf/user_notactive.gif ) no-repeat right; }

p, ul, ol { font-size: 11px; }
p { margin: 8px 8px 15px 8px; line-height: 20px; }

.left { float: left; display: inline; }

ul, ol { margin: 10px 8px 10px 35px; line-height: 18px; }

ul.list { list-style-type: none; line-height: 18px; border-top: 1px solid #847a5a; border-bottom: 1px solid #fff; float: left; width: 100%; margin: 0 0 10px 0; }
	.narrow ul.list { background: url( graf/listan_tausta.gif ) center; }
	.wide ul.list { background: url( graf/listan_tausta.gif ) right; }
ul.list li { float: left; border-bottom: 1px solid #aca07b; border-top: 1px solid #fff; padding: 3px 8px; text-align: right; }
	.narrow ul.list li { width: 229px; }
	.wide ul.list li { width: 494px; }
	.ultra ul.list li { width: 749px; }
ul.list .left { float: left; text-align: left; }

ul.foldable li.active .hidden { display: block; line-height: 18px; }
.wide ul.foldable li.active div.hidden { width: 340px; overflow: hidden; }
ul.foldable span.btn { display: block; background: url( graf/btn_closed.gif ) no-repeat center top; float: left; width: 20px; height: 18px; cursor: pointer; }
ul.foldable span.btn:hover { background-position: center bottom; }
ul.foldable li { padding-left: 0; }
	.narrow ul.foldable li { width: 237px; }
	.wide ul.foldable li { width: 502px; }
ul.foldable li.active { background: #ebeedf; }
ul.foldable li.active span.btn { background: url( graf/btn_open.gif ) no-repeat center; cursor: default; }
	#onlinelist li.active a { color: #a41818; }
	#onlinelist li.active a:hover { color: #000; }

ul.foldable li.nobg { background: transparent none; padding-left: 20px; width: 217px }
.narrow ul.list .hidden { padding-left: 20px; }

ul.tags { list-style-type: none; text-align: center; line-height: 22px; margin: 5px 10px 15px 10px; }
ul.tags li { display: inline; }
ul.tags a { padding: 3px 6px; }

ul.stats li { position: relative; background: url( graf/byear_palkki.png ) repeat-y -248px 0; }

a:link,
a:visited { text-decoration: none; color: #554d35; }
a:hover { color: #fb0362; }
a.friend:link,
a.friend:visited { font-weight: bold; color: #a41818; }

p a:link,
p a:visited { color: #476962; }
p a:hover { color: #fb0362; }

a.delete { display: none; }

#footer a:link,
#footer a:visited { color: #fff; text-decoration: underline; }

#footer p { padding: 0 8px; margin: 0; font-size: 10px; line-height: 40px; color: #eee; text-align: center; }

.comment { width: 100%; float: left; padding: 0px 0; border-bottom: 1px dashed #c7bb97; }
.comment .left { float: left; width: 90px; display: inline; overflow: hidden; }
.comment .right { float: right; width: 420px; }

.thumbs { float: left; padding-top: 2px; padding-bottom: 5px; }
.thumbs-wide { float: left; padding-left: 0px; padding-top: 2px; padding-bottom: 5px; width: 765px; }
.thumbs img,
.thumbs-wide img,
.thumb,
.avatar { float: left; display: inline; width: 75px; height: 75px; border: 1px solid #aca07b; margin: 6px; padding: 3px; background: #fff url( graf/nothumb.png ) no-repeat center; -webkit-box-shadow: 0px 0px 3px #84846f; -moz-box-shadow: #84846f 0 1px 3px; display: inline; }
.thumbs img { margin: 9px 10px 10px 9px; display: inline; }
ul.list .thumb { margin-top: 0; margin-right: 10px; }

ul.thumb-list { list-style-type: none; margin: 0; }
ul.thumb-list li { width: 83px; height: 83px; float: left; margin: 6px; position: relative; }
ul.thumb-list img { margin: 0; position: relative; z-index: 1; }
ul.thumb-list a.thumb-info { display: none; position: absolute; left: -5px; bottom: -5px; width: 81px; padding: 5px; background: #ffffe1; color: #333; font-size: 10px; line-height: 14px; border: 1px solid #333; min-height: 20px; z-index: 10; -moz-border-radius: 3px; border-radius: 3px; }
.thumbs ul.thumb-list li { margin: 9px 10px 10px 9px; display: inline; }

.avatar { margin-left: 0; }


img.user-picture { width: 175px; height: 175px; border: 1px solid #aca07b; padding: 19px; background: url( graf/ruudukko.jpg ) center; display: block; margin: 12px auto; -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow: rgba(0, 0, 0, .7) 0 0px 5px; }
body#king img.user-picture { -moz-transform: rotate(359deg); border: 1px solid #635a3d; }

#picture-holder { border: 1px solid #aca07b; margin: 10px 0; padding: 10px 0; background: url( graf/ruudukko_desat.gif ) repeat left center; }
#picture-holder { width: 765px; float: left; border: 0 none; background: transparent none; }
#picture-holder img { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #666; background: #fff; padding: 9px; display: block; max-width: 100%; height: auto; margin: 0 auto; -webkit-box-shadow: 0px 0px 5px #000; -moz-box-shadow: #333 0 0px 3px; }
#picture-holder a:hover img { border-color: #999; }
#picture-info { float: left; width: 100%; border: 1px solid #aca07b; margin: 10px 0; padding: 1px 0; background: url( graf/ruudukko_desat.gif ) repeat left center; }

.members { float: left; width: 100%; padding: 10px 1px;}
.member-card { float: left; width: 243px; margin: 0 8px 8px 0; padding: 3px 2px; background: #f5f3e5 url( graf/membercard.jpg ); border: 1px solid #aca07b; -webkit-box-shadow: 0px 0px 5px rgba( 0, 0, 0, .5 ); -moz-box-shadow: rgba( 0, 0, 0, .5 ) 0 0 5px; }
.member-card p { margin: 0px 8px; }
.member-card .thumb,
.member-card .avatar { margin: 0 8px 8px 8px; }

.banner { clear: both; padding: 10px 19px; }
.banner img { display: block; margin: 0 auto; }

.tabs { float: left; width: 100%; font-family: Consolas, 'Courier New', Courier; text-transform: uppercase; font-weight: bold; margin-bottom: 3px; }
.tabs ul { list-style-type: none; margin: 0; line-height: 28px; }
.tabs li { display: inline; }
.tabs a { float: left; padding: 0px 9px; margin-right: 1px; -moz-border-radius: 5px 5px 0 0; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px; border-bottom: 1px solid #aca07b; }
.tabs a.active { background: #333; color: #fff; border-color: #847a5a }
.tabs a.r { float: right; }

.alpha-list { float: left; width: 100%; margin-bottom: 10px; padding-top: 6px; font-family:'Courier New', Courier; }
.page-list { float: left; width: 500px; margin-bottom: 10px; padding-top: 6px; font-family:'Courier New', Courier; }
.page-list p, .alpha-list p { margin: 0 8px; line-height: inherit; }
.page-list a, .alpha-list a { border: 1px solid #c5c5a4; background: #ebe9d4; -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px; }
.page-list a:link,
.page-list a:visited,
.page-list span,
.alpha-list a:link,
.alpha-list a:visited,
.alpha-list span { float: left; padding: 3px 5px; margin: 0 1px; }
.alpha-list a.active,
.page-list a.active { color: #fb0362; font-weight: bold; border: 1px solid #fb0362; }

.pagination { float: left; text-align: center; width: 100%; color: #b2a57f; padding: 10px 0; }
.pagination .image-previous { float: left; width: 18px; height: 13px; background: url( graf/icon_prev.gif ) no-repeat; overflow: hidden; text-indent: -999em; display: inline; margin-left: 10px; }
.pagination .image-next { float: right; width: 18px; height: 13px; background: url( graf/icon_next.gif ) no-repeat; overflow: hidden; text-indent: -999em; margin-right: 10px; }

.hidden { display: none; }

.wide-text .avatar,
.comment .avatar { margin: 10px 10px 10px 5px; }

.wide-text .right { float: right; }

blockquote { padding: 0px 10px; margin: 10px 8px; border-left: 1px solid #897e5e; }
blockquote p { font-size: 11px; font-style: italic; }

.fav-icon { float: right; width: 12px; background: url( graf/icon_mark_fav.png ) no-repeat center; overflow:hidden; text-indent: -999px; }
h3 .fav-icon { text-indent: 0; width: auto; overflow: visible; padding-right: 20px; background-position: right; font-weight: normal; }
.isfav { background: url( graf/icon_is_fav.png ) no-repeat center right; }


/* ********************************************************
** FORMS
******************************************************** */
#login { float: left; width: 765px; padding: 10px; }
#login p { margin: 0 8px; }
#login form { padding: 8px; }
label { font-size: 11px; }
input { font-size: 11px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border: 1px solid #897e5e; }
input, select { padding: 4px; width: 150px; color: #666; }

input.btn { width: auto; padding: 3px 5px; background: #aca07b url( graf/input_btn.gif ) repeat-x center; color: #fff; border: 1px solid #897e5e; }
input.chk { width: auto; padding: 0; }
input.delete { background: #953326 url( graf/input_delete.gif ) repeat-x center; }
textarea { padding: 4px; font-size: 11px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border: 1px solid #897e5e; width: 400px; color: #666; }
.comment-form label { display: none; }
.comment-form input,
.comment-form textarea,
textarea { width: 200px; font-size: 11px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border: 1px solid #897e5e; }
.comment-form textarea,
textarea { padding: 4px; height: 150px; color: #666; width: 390px; }
.comment-form input[type=submit] { width: auto; padding: 3px 5px; background: #aca07b url( graf/input_btn.gif ) repeat-x center; color: #fff; }

#picturesform,
#membersform { float: left; width: 200px; padding: 5px 8px; margin-bottom: 10px; }
#picturesform select,
#membersform select { font-size: 11px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; width: 190px; }

#profile-form input { width: 250px; }
#profile-form input.chk, #profile-form input.btn { width: auto; }

#profile-form .mini-btn,
#content-wrapper .mini-btn { width: auto; margin-bottom: 3px; }

#profile-form input.date { width: 80px; }

/* ********************************************************
** INSTANT MESSAGES
******************************************************** */

p#messages { padding: 0 10px; line-height: 28px; }
p#messages a.newmessages { font-weight: bold; background: #6c0a0a; color: #fff; }

.im-window { width: 450px; height: 300px; position: absolute; left: 20px; top: 20px; border: 5px solid #aca07b; background: #f2efd0 url( graf/im-loading.gif ) no-repeat center; -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, .85); -webkit-border-radius: 5px; border-radius: 5px; -moz-border-radius: 5px; }
.im-messages { width: 300px; height: 400px; }
.im-top { height: 25px; line-height: 25px; padding: 0 8px; }
.im-close { float: right; }
.im-content { height: 255px; overflow: auto; padding: 10px; background: #f2efd0; }
.im-messages .im-content { height: 355px; }
.activeWindow { z-index: 2; border-color: #7f7452; }
.dragged { height: 25px; overflow: hidden; cursor: move; }
.dragged .im-content { display: none; }
.im-content textarea { font-size: 11px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border: 1px solid #897e5e; padding: 4px; color: #666; width: 300px; }
.im-content input.btn { width: auto; padding: 3px 5px; background: #aca07b url( graf/input_btn.gif ) repeat-x center; color: #fff; border: 1px solid #897e5e; }
.im-content input.disabled { background: #a8a18a; color: #c8bfa5; border-color: #8a8577; }
.im-content p { margin-top: 0; }
.im-content .thumb { float: left; margin-right: 10px; }
.im-content form { float: left; }

.im-content ol { list-style-type: none; line-height: 18px; border-top: 1px solid #aca07b; border-bottom: 1px solid #fff; float: left; width: 100%; margin: 0 0 10px 0; }
.im-content li { border-bottom: 1px solid #aca07b; border-top: 1px solid #fff; padding: 3px 0px; text-align: right; float: left; width: 100%; }
.im-content li.openIM { background: #fff; }
.im-content li.message { cursor: pointer; }
.im-content li.message:hover { background: #fff; }
.im-content li.message .left { padding: 0 5px; }
.im-content li.message .date { padding: 0 5px; }

.im-content li.message .del { padding: 0 5px; }
.im-content li.message .del:hover { color: #c00; }
.im-content li.message .new { color: #fb0362; }

.im-content p.impages { color: #aca07b; padding-bottom: 10px; text-align: center; }

div.tooltip { display: none; position: absolute; background: #fff url( graf/ajax-loader.gif ) no-repeat center; border: 1px solid #666; padding: 5px; font-size: .6875em; width: 75px; height: 75px; -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .7); -moz-box-shadow: rgba(0, 0, 0, .7) 0 0px 5px; z-index: 100; }
div.tooltip img { width: 75px; height: 75px; color: #fff; }

#notifications { width: 0; height: 0; }

#notifications-temp ul { list-style-type: none; margin: 5px 10px; line-height: 18px; }
#notifications-temp li { margin-bottom: 0px; }

#notifications-temp { width: 100%; display: none; z-index: 100; line-height: 18px; position: absolute; left: 0; }
#notifications-temp, [ei-ie] { position: fixed; left: 0; bottom: 0; }
#notifications-temp div { margin: 10px; color: #333; border: 1px solid #fc0; background: #ffc; padding: 5px 10px; }
#notifications-temp .dismiss { float: right; font-size: 11px; padding: 5px 20px 5px 0px; background: url( graf/btn-dismiss.gif ) no-repeat right; }
