html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-family:inherit;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}q:before,q:after,blockquote:before,blockquote:after{content:"";}

.small
{
	font-size: 11px;
	line-height: 12px;
}

.ads
{
	border-top: 1px dotted #B4B2A8;
	border-bottom: 1px dotted #B4B2A8;
}

#wrapper
{
        -moz-box-shadow: 0 0 100px #000;
}

body
{
	margin: auto;
	width: 943px;
	background: #e02052 url(tausta.png) repeat-x;
	color: #210;
	font-size: 13px;
	font-family: verdana,helvetica,sans-serif;
	line-height: 19px;
}

strong
{
	font-weight: bold;
}

h1,
h2,
h3
{
	margin-bottom: 5px;
	padding: 10px 0;
	border-bottom: 1px solid #e0e0d6;
	font-family: arial,sans-serif;
	font-weight: bold;
}

h1
{
	margin: 6px 0;
	padding-bottom: 7px;
	border-bottom: 1px solid #d4d4c6;
	font-size: 24px;
	color: #333;
	letter-spacing: -1px;
}

h2
{
	font-size: 19px;
	margin-top: 14px;
	color: #D43232;
	font-weight: normal;
}

h3
{
	font-size: 15px;
	color: #e27171;
}

h4
{
	font-size: 13px;
	color: #e98300;
	padding-bottom: 5px;
	font-weight: bold;
}

h6
{
	display: block;
	background: #951437 url(palkki.png) repeat-x top left;
	color: #FFF;
	font-weight: bold;
	font-size: 11px;
	width: auto;
	padding: 5px;
}

h6 > img
{
	padding-right: 5px;
	vertical-align: middle;
}

a
{
	color: #0066cc;
	font-weight: bold;
	text-decoration: none;
}

a:hover
{
	color: #315b73;
	text-decoration: underline;
}

p
{
	padding-bottom: 4px;
}


/************************/
/* Form elements */

textarea
{
	width: 454px;
	height: 110px;
	padding: 2px 3px;
}

input,
textarea
{
	padding: 2px 3px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

input,
select,
textarea
{
	font-family: inherit;
	background-color: #fff;
	border: 1px solid #c5c5c5;
	font-size: 13px;
}

input.active,
textarea.active
{
	background-color: #eee;
}

input.text.norounded
{
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}

input.button
{
	background-color: #e98300;
	border: 1px solid #9a5300;
	padding: 2px 20px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 30px;
	float: left;
	cursor: pointer !important;
}

input.button:hover
{
	background-color: #ffa337;
}

/*
.buttons
{
	background-color: #7CACC8;
	border: 1px solid #315B73;
	padding: 5px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	margin: 10px 0;
	cursor: pointer !important;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.buttons.small
{
	font-size: 12px;
}

.buttons:hover
{
	background-color: #3C6F8C;
	border-color: #182C38;
}
*/

.buttons
{
	margin: 10px 0;
	padding: 5px;
	font-weight: bold;
	background: #f2f2f2;
	color: #3366cc;
	border: 1px solid #ccc;
	text-align: center;
	cursor: pointer !important;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.buttons.small
{
	font-size: 12px;
}

.buttons:hover
{
	background: #D2D2D2;
}

.checkbox,
.radio
{
	margin: 4px 5px 0 0;
	margin-left: 10px;
	width: 19px;
	height: 19px;
	background: url(checkbox.png) no-repeat;
	display: block;
	clear: left;
	float: left;
}

.radio
{
	background: url(radio.png) no-repeat;
}

.select
{
	position: absolute;
	width: 158px;
	height: 21px;
	padding: 0 24px 0 8px;
	color: #fff;
	font: 12px/21px arial,sans-serif;
	background: url(select.gif) no-repeat;
	overflow: hidden;
}

label
{
	line-height: 21px;
}


/************************/
/* Form styles */

.form div
{
	width: 700px;
	float: left;
}

.form span
{
	float: left;
}

.form .text
{
	width: 200px;
}

.form .info
{
	float: right;
	width: 450px;
	font-size: 11px;
}

.form .info2
{
	float: right;
	width: 200px;
	font-size: 11px;
}

.form .error
{
}

.form p.error
{
	color: #f00;
	font-size: 11px;
	padding-left: 10px;
	min-height: 25px;
}


/************************/

.row1
{
	width: auto;
	padding: 5px;
	background-color: #f5f5f5;
}

.row2
{
	width: auto;
	padding: 5px;
	background-color: #fff;
}

.rowt
{
	height: 27px;
	padding-left: 5px;
	background-color: transparent;
}

#header
{
	padding: 0 0;
	height: 110px;
	background-color: #FFF;
	background: url(gradient1.png) repeat-x bottom left;
/*	background: #fff url(gradient.png) repeat-x 0 0;*/
	border: 1px solid #484a4a;
	border-bottom: 0px;
}

#header h1
{
	padding-top: 60px;
	padding-left: 20px;
	font-size: 43px;
	color: #B51942;
	border-bottom: 0px;
}

#header h1 a
{
	color: #B51942;
}

#header h1 a:hover
{
	color: #315B73;
}


/************************/
/* Menu */

#menu form
{
	float: right;
}

#menu input
{
	font-size: 11px;
	font-family: "Trebuchet MS", arial, sans-serif;
	width: 80px;
	float: none;
	-moz-border-radius-bottomleft:0px;
	-moz-border-radius-bottomright:0px;
	-moz-border-radius-topleft:0px;
	-moz-border-radius-topright:0px;
	margin-top: -2px;
}

#menu .blur
{
	color: #999;
}

#menu .button
{
	color: #D9DFE3;
	background-color: #0066CC;
	border: 1px solid #5E8221;
	width: 30px;
	margin: 0;
	padding: 0;
}

#menu
{
	font-size: 11px;
	line-height: normal;
	background-color: #E3E3E0;
	border-left: 1px solid #484a4a;
	border-right: 1px solid #484a4a;
	float: left;
	width: 921px;
	padding: 10px 10px 0;
	height: 51px;
	position: relative;
}

#menu	.fill
{
	border-bottom: 3px double #999;
	width: auto;
	height: 29px;
}

#menu a
{
	float: left;
	display: block;
	padding: 7px 10px 5px 10px;
	text-decoration: none;
	font-weight: bold;
	color: #333;
	height: 17px;
	border-bottom: 3px double #999;

	color: #3C312F;
	border-left: 1px dotted #B4B2A8;
	background: transparent;
}

#menu a:hover
{
	color: #fff;
	background: #7CACC8;
	border-bottom: 3px double #315b73;
}

#menu img
{
	vertical-align: middle;
	padding-right: 5px;
}

#menu .selected
{
	background-color: #EE809D;
	border-bottom: 3px double #b51942;
	color: #fff;
}

/*
#menu a.val1
{
	color: #fff;
	background: #7CACC8;
	border-bottom: 3px double #315b73;
}

#menu a.val2
{
	color: #fff;
	background: #EE809D;
	border-bottom: 3px double #b51942;
}

#menu a.val3
{
	color: #fff;
	background: #ACC87C;
	border-bottom: 3px double #5B7331;
}

#menu a.val4
{
	color: #fff;
	background: #C87CAC;
	border-bottom: 3px double #73315B;
}

#menu a.val5
{
	color: #fff;
	background: #C8C87C;
	border-bottom: 3px double #73735B;
}

#menu a.val6
{
	color: #fff;
	background: #C87C5B;
	border-bottom: 3px double #733114;
}
*/


/************************/

.w550
{
	width: 530px;
	padding-left: 180px;
}

.w200
{
	width: 180px;
	float: left;
	font-weight: bold;
}

.w150
{
	width: 150px;
	float: left;
	font-weight: bold;
}

#lPart
{
	width: 160px;
	float: left;
	min-height: 450px;
	padding-top: 10px;
	font-size: 11px;
	line-height: 15px;
}

#mPart
{
	width: 730px;
	float: left;
	margin-right: 10px;
	margin-left: 20px;
}

#footer
{
	padding: 10px 0;
	background: #fff url(gradient3.png) repeat-x top left;
/*	background: #fff url(gradient.png) repeat-x -591px 0;*/
	border: 1px solid #484a4a;
	border-top: 0;
	text-align: center;
}

#footer a
{
	padding: 0px 10px;
}

#content
{
	margin-top: 49px;
	padding: 10px;
	text-align: left;
	border-left: 1px solid #484a4a;
	border-right: 1px solid #484a4a;
	background: #fff url(gradient2.png) repeat-x top left;
/*	background: #fff url(gradient.png) repeat-x bottom 0;*/
}

#addPhoto
{
	width: 355px;
	height: 120px;
	margin: 1px;
	float: right;
	border: 1px solid #000;
	text-align: center;
	padding-top: 160px;
	background: url(silhouette.jpg) no-repeat;
	font-size: 19px;
}

#upload
{
	position: relative;
	float: left;
	padding-top: 50px;
	font-weight: bold;
	font-size: 16px;
	background: #f2f2f2;
	color: #3366cc;
	border: 1px solid #ccc;
	width: 148px;
	width: 178px;
	height: 128px;
	margin-bottom: 10px;
	margin-right: 10px;
	text-align: center;
	cursor: pointer !important;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#upload #status
{
	font-size: 13px;
	color: #C00000;
}

.deletephoto
{
	position: absolute;
	float: right;
	text-align: right;
	top: 12px;
	left: 150px;
	z-index:2;
	cursor: pointer !important;
	-moz-border-radius:5px; -webkit-border-radius:5px;
}

ul#files{ padding:0; margin:0;}
ul#files li{ position: relative; padding: 5px; margin-bottom: 10px; width: 168px; height: 168px; float: left; 
margin-right: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;}
ul#files li img{ max-width: 168px; max-height: 168px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
.success{ background:#99f099; border:1px solid #339933; }
div.error{ background:#f0c6c3; border:1px solid #cc6622; }

.infoBox,
.errorBox
{
	vertical-align: middle;
	text-align: center;
	padding: 25px 0;
	font-weight: bold;
	font-size: 19px;
	margin: 10px 0;
}

.infoBox
{
	border: 1px solid #00dd00;
	background-color: #e1ffe1;
}

.errorBox
{
	border: 1px solid #ff6699;
	background-color: #ffe1e1;
}

#search > div
{
	float: left;
	width: 180px;
}

#search > div > span
{
	float: left;
	width: 180px;
}

#search > div > div > span
{
	float: left;
	width: 180px;
}

#search > .spacer
{
	width: 560px;
	height: 15px;
}

#menu p, .icon
{
	width: 16px;
	height: 16px;
	border: 0;
	padding: 0;
	margin: 0;
	margin-right: 5px;
	float: left;
}

.iHouse
{
	background: url(icons.png) no-repeat 0 -320px;
}

.iGroup
{
	background: url(icons.png) no-repeat 0 -368px;
}

.iUserAdd
{
	background: url(icons.png) no-repeat 0 -16px;
}

.iDoorIn
{
	background: url(icons.png) no-repeat 0 -160px;
}

.iComment
{
	background: url(icons.png) no-repeat 0 -352px;
}

.iChartPie
{
	background: url(icons.png) no-repeat 0 -288px;
}

#progress
{
	display: none;
}

/*
#modal {
	background-color: #000000;
	opacity: 0.25;
	filter: alpha(opacity=25);
	background-repeat: repeat;
	height: 100%;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
}
*/


.link, #lPart .dist
{
	width: auto;
	display: block;
	color: #3C312F;
	padding: 5px 5px 5px 2px;
	border-left: 3px double #999;
	border-bottom: 1px dotted #B4B2A8;
	font-weight: normal;
	background: transparent;
}

#lPart .dist
{
	font-weight: bold;
}

#profiles
{
	font-size: 11px;
}

#profiles .link {
	height: 131px;
	width: 136px;
	float: left;
	text-align: center;
}

.link.row1
{
	background-color: #f5f5f5;
}

.link.bold.selected
{
	background-color: #EE809D;
	padding-left: 2px;
	border-left: 3px double #b51942;
	color: #fff;
}

#lPart .link.bold
{
	font-weight: bold;
}

.link:hover
{
	padding-left: 2px;
	border-left: 3px double #315b73;
	text-decoration: none;
	color: #fff;
	background-color: #7CACC8;
}

.newProfiles
{
	height: 46px;
	width: 150px;
	text-align: left;
	font-size: 7pt;
}

.newProfiles .imgContainer
{
	float: left;
	width: 45px;
	height: 45px;
	margin-right: 5px;
	text-align: center;
}

.link > img
{
	padding-right: 5px;
	vertical-align: middle;
}

#mPart .link > .imgContainer
{
	height: 55px;
	width: 136px;
	display: table-cell;
	vertical-align: middle;
}

.unread, .unread span
{
	font-weight: bold;
}

.text2
{
        display: none;
}

.tag_cloud
{
	padding: 3px;
	text-decoration: none;
	margin: 4px 0;
}
