/* Marela main style sheet */

/*<group=Basic Layout>*/
* {	/* reset all margins and padding */
	margin: 0;
	padding: 0;
}

BODY {
	text-align: center; /* center page for IE5.5 */
}

#masthead, #mainarea, #global-nav DIV, #user-nav, #footer, #global-nav P {
	width: 703px;
	margin: 0 auto;
	text-align: left; /* undo previous IE5.5 rule */
}

.left-col {
	float: left;
}

.right-col {
	float: right;
}

#content {
	width: 457px;
}

.content2 {
	width: 325px;
}

#actions {
	width: 234px;
}

/*</group>*/


/*<group=Basic elements>*/
BODY {
	font-family: 'lucida grande', verdana, tahoma, sans-serif;
	font-size: 62.5%;
	background: #fff;
	color: #000;
}

HTML>BODY {
	font-size: 10px;
}

A {
	color: #369;
}

A:hover {
	color: #115C82;
}

H1 {
	font-size:2.4em;
	color: #EB9320;
	margin: 0.5em 0 0 0;
}

H2 {
	font-size:1.8em;
	margin: 1.5em 0 1em 0;
	color:#666;
}

H3 {
	font-size:1.4em;
	margin: 1em 0;
	color:#666;
}

H4 {
	font-size: 1em;
}

H5 {
	font-size: 1.2em;
	color:#666;
}

A IMG {
	border: 0;
}
/*</group>*/


/*<group=Header>*/
#masthead H4 {
	padding-top: 15px;
	float: left;
	width: 136px;
	padding-bottom: 11px;
}

/*<group=account-nav>*/
#account-nav {
	text-align: right;
	font-size: 1.1em;
	padding-top: 9px;
}

#account-nav LI {
	display:inline;
	list-style:none;
}

#account-nav A {
	color: #000;
	text-decoration:none;
	height: 1em; /* to make padding work on IE5 */
}

#account-nav A:hover {
	text-decoration:underline;
}

#anav-account A {
	padding: 0 7px 0 13px;
	background: transparent left center url(http://static.marela.si/assets/icn-account.gif) no-repeat;
}
#anav-tools A {
	padding: 0 7px 0 14px;
	background: transparent left center url(http://static.marela.si/assets/icn-tools.gif) no-repeat;
}
#anav-help A {
	padding: 0 7px 0 15px;
	background: transparent left center url(http://static.marela.si/assets/icn-help.gif) no-repeat;
}
#anav-logout A {
	padding: 0 0 0 14px;
	background: transparent left center url(http://static.marela.si/assets/icn-logout.gif) no-repeat;
}
#anav-tools, #anav-help, #anav-logout, #anav-account {
	padding-left: 7px;
	border-left: 1px solid #000;
}
/*</group>*/

/*<group=global-nav>*/
#global-nav {
	clear: left;
	border-top: 1px solid #88B6CC;
	border-bottom: 1px solid #88B6CC;
	background: #9FCADF repeat-x top url(http://static.marela.si/assets/bg-global-nav.gif);
	position:relative;
	height:3.5em;
}

#global-nav P {
	text-align: right;
	font-size: 1.1em;
	color: #115C82;
	position:absolute;
	top: 1em;
}

#global-nav P A {
	color: #115C82;
/*
	text-decoration:none;
*/
	font-weight: bold;
}

#global-nav P A:hover {
	text-decoration:underline;
}

#global-nav UL {
	font-size:1.4em;
	position:absolute;
	bottom: -1px;
}

* html #global-nav UL { /* a little nudge for IE6 */
	bottom: -2px;
}

#global-nav LI {
	width: 6em;
	float: left;
	text-align:center;
	list-style:none;
	background: #C4E4FC no-repeat left top url(http://static.marela.si/assets/bg-global-nav-left.gif);
	margin-right: 6px;
}

#global-nav UL A {
	text-decoration:none;
	display: block;
	padding: 0.25em 0;
	background: no-repeat right top url(http://static.marela.si/assets/bg-global-nav-right.gif);
	position: relative;
	color: #000;
}

#global-nav LI.here {
	background: #FFF no-repeat left top url(http://static.marela.si/assets/bg-global-nav-left-here.gif);
}

#global-nav LI.here A {
	background: no-repeat right top url(http://static.marela.si/assets/bg-global-nav-right-here.gif);
}
/*</group>*/

/*<group=user-nav>*/
#user-nav {
	clear:left;
	font-size:1.3em;
	padding: 1em 0;
}

#user-nav LI {
	list-style:none;
	display:inline;
}

#user-nav H4 {
	width: 4.5em;
	float: left;
	background: no-repeat left center url(http://static.marela.si/assets/icn-photos.gif);
	padding-left:23px;
	font-weight:normal;
}

#user-nav A {
	color: #000;
	text-decoration:underline;
	padding-right: 1em;
}

/*</group>*/
/*</group>*/

/*<group=Content>*/
.photo-main {
	margin-top: 1.2em;
}

.photo-main P {
	clear:left; /* woo hoo! */
}

#content P, TABLE, #content LI, .content2 P, .content2 LI {
	font-size: 1.2em;
	line-height:1.5em;
}

#content P, .content2 P {
	margin-bottom: 0.5em;
}

#content OL LI, .content2 OL LI {
	margin: 0 0 0.8em 2em;
}

#content .photo-frame {
	background: #fff no-repeat url(http://static.marela.si/assets/photo-frame.gif) right bottom;
	line-height:1em;
	position: relative;
	left: -3px;
	width: 403px; /* for IE5.5 cos it doesn't add padding images */
	voice-family: "\"}\""; 
  	voice-family:inherit;
	width: 415px;
}

.photo-frame IMG {
	width: 400px;
	position: relative;
	left: -3px;
	top: -4px;
	padding: 6px;
	border: 1px solid #9a9a9a;
}

#comments DT, #preview DT, #blog DT {
	font-size: 1.2em;
	margin-top:1em;
/*
	background: no-repeat left center url(http://static.marela.si/assets/icn-comment.gif);
*/
	padding-top: 2px;
	padding-bottom: 3px;
	min-height: 16px; /* so the icon isn't cropped with small text */
}

#comments DT A, #preview DT A, #blog DT A {
	color: #000;
	font-weight:bold;
/*
	padding-left: 23px;
*/
	padding-right: 5px;
	height:1em; /* to make padding work on IE5 */
}

#comments DD, #preview DD, #blog DD {
	margin-bottom: 3px;
	font-size: 1.2em;
}

#comments DD P, #preview DD P, #blog DD P {
	margin: 0.75em 0;
}

#comments .tstamp, #preview .tstamp {
	color: #666;
	font-size:1.1em;
	margin-bottom:2.18em;
}

#blog .tstamp {
	color: #666;
	font-size:1.1em;
	margin-bottom:3em;
}

#blog DT.post {
	font-size: 1.6em;
	font-weight: bold;
	color: #666;
	margin-bottom: 5px;
}

#blog DT.post A {
	color: #666;
}

#blog DD.post {
}

.tstamp A {
	font-weight:bold;
	color: #666;
}

.note {
	color: #666;
}

#add-description A {
	background: no-repeat right top url(http://static.marela.si/assets/icn-adddescription.gif);
	padding-right: 14px;
	height:1em; /* to make padding work on IE5 */
}

.organize .thumbs {
	margin: 2.7em 0;
}

#upload {
	margin-top:2.7em;
}

/*<group=thumbnails>*/
.thumbs IMG, .thumbs2 IMG {
	padding: 1px;
	border: 1px solid #9B9A96;
	margin: 0px 5px;
	vertical-align:middle;
}

.thumbs A:hover IMG, .thumbs2 A:hover IMG {
	border-color:#115C82;
}

UL.thumbs {
	list-style:none;
	margin: 0;
	padding: 0;
	clear: both;
}

.thumbs LI {
	margin:0;
	padding: 0 15px 1.6em 0;
	float: left;
}

.photo-pager {
	margin: 0;
	width: 75px;
	height: 75px;
}

.thumbs LI IMG, .thumbs2 LI IMG {
	margin: 0;
	width: 75px;
	height: 75px;
}

.thumbs INPUT {
	display: block;
	margin-top: 0.8em;
}

UL.thumbs2 {
	padding: 0;
	list-style-type: none;
}
.thumbs2 LI {
	display: inline;
	padding-left: 0;
	margin-right: 45px;
}
.thumbs2 LI P {
	float: left;
	margin-right: 45px;
}
.main-second H2 {
	clear: left;
	font-size: 2.16em;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}
/*</group>*/

/*<group=Tables>*/

TABLE {
	border-collapse:collapse;
	border: 1px solid #9B9A96;
}

THEAD {
	background: #9FCADF repeat-x top url(http://static.marela.si/assets/bg-global-nav.gif);
}

TH, TD {
	font-size: 1em;
}

TH {
	text-align:left;
	border-bottom: 1px solid #88B6CC;
	padding: 0.5em 0.5em 0.5em 1em;
}

TD {
	padding: 0.25em 0.5em 0.25em 1em;
}

TD A:link {
	color: #115C82;
	font-weight: bold;
}

TD A:visited {
	color: #47A;
}

TR.even {
	background: #FFFAD4;
}
	
/*</group>*/


/*</group>*/

/*<group=Actions (sidebar)>*/
#actions P, #actions UL, #actions H3, #actions H5 {
	padding-left: 15px;
	padding-right: 18px;
}

#actions P, #actions UL {
	font-size:1.2em;
	line-height:1.5em;
}

#actions UL {
	list-style:none;
	margin: 1em 0;
}

#actions H3 {
	margin: 0 0 1em 0;
	padding-top: 10px;
}

#actions FORM {
	padding-bottom: 15px;
}

.act1, .act2 {
	margin-bottom: 2em;
}

.act1 {
	width: 234px;
	background: #E2F3FA repeat-y top url(http://static.marela.si/assets/bg-act1.gif);
}

.act1 H3, #next-prev.act1 DIV {
	background: no-repeat top url(http://static.marela.si/assets/bg-act1-top.gif);
}

.act1 FORM {
	background: no-repeat bottom url(http://static.marela.si/assets/bg-act1-bot.gif);
}

.act2 {
	width: 234px;
	background: #FFFAD4 repeat-y top url(http://static.marela.si/assets/bg-act2.gif);
}

.act2 H3 {
	background: no-repeat top url(http://static.marela.si/assets/bg-act2-top.gif);
}

.act2 FORM, #section-nav.act2 UL, #favorites-admin.act2 UL, #groups.act2 P, #capacity.act2 P, #tagorganize.act2 P, #licenseorganize.act2 P.boxend {
	background: no-repeat bottom url(http://static.marela.si/assets/bg-act2-bot.gif);
	padding-bottom: 1em;
	margin-bottom: 0;
}

#actions H3 EM { /* use eg. upload page */
	padding: 0.333em 0;
	display: block;
	font-size: 2.571em;
	text-align:center;
	font-style: normal;
	color: #ccc;
}

/*<group=next-previous>*/
#actions #next-prev .nav {
	border: 0;
	padding: 0;
}
#actions #next-prev P {
	padding: 15px 0 2px 0;
	margin: 0;
	height: 80px;
}

#prev-photo {
	float: left;
	width: 115px;
	text-align:right;
}
#next-photo {
	text-align:left;
}
/*</group>*/


/*</group>*/

/*<group=Forms>*/
TEXTAREA, INPUT, SELECT {
	font-family: 'lucida grande', verdana, tahoma, sans-serif;
	font-size: 1em;
	vertical-align:middle;
}

TEXTAREA {
	border: 1px solid #666;
	padding: 2px;
}

#actions FORM P {
	margin-top: 0.8em;
}

#content FORM {
	margin: 2.4em 0;
}

#content TEXTAREA {
	width: 433px;
}

#actions TEXTAREA {
	width: 194px;
}

#post-comment P, #post-description {
	font-size: 1.8em;
	color: #666;
	font-weight:bold;
	word-spacing:0.5em;
}

#post-comment TEXTAREA {
	font-size:0.6667em;
}

FIELDSET {
	border: 0;
	margin-bottom:0.8em;
}

LEGEND {
	display:none;
}

FIELDSET UL {
	list-style:none;
}
/*</group>*/

#footer {
	clear:both;
	font-size: 1.2em;
	padding: 50px 0 1em 0;
}

#content .action, #actions .action {
	font-weight: bold;
	font-size: 1.4em;
}

.positive {
	color: #009A2F;
}

.negative {
	color: #DE3400;
}
