*{margin: 0; padding: 0;}

body{
	background: #fff;
	color: #444;
	font: 75%/1.6em Arial, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

a, a:visited{
	color: #707274;
	text-decoration: none;
}

a:hover, a:active, a:focus{ color: #000; outline: none;}

.content a, .content a:visited, .main-content a, .main-content a:visited{
	border-bottom: 1px dotted #707274;
}

.content a:active, .content a:hover, .main-content a:active, .main-content a:hover{
	border-bottom: 1px solid #000;
}


p, h4{ padding: 5px 10px; }

.hidden{
	visibility: hidden;
	display: none;
}

/* =forms
-------------------------------------------------*/
input, textarea, select{
	font-family: Arial, "Lucida Grande","Lucida Sans Unicode",sans-serif;
	border: 1px solid #d4d6d7;
}

input:focus, textarea:focus{ background-color: #f1f8fb; border-color: #98acb6; }

input.invalid, textarea.invalid{ background-color: #f8eeeb; border-color: #cf320d; }

textarea{font-size: 1em;}

input.checkbox{padding: 0; border: none;}

form ul{ display: block; }

form ul li{
	margin: 0 0 15px;
	list-style: none;
	line-height: 1.6em;
}

label, span.lbl{
	display: inline-block;
	width: 100px;
	font-size: .9em;
	font-weight: bold;
	line-height: 2.3em;
	vertical-align: top;
	text-align: right;
}

span.lbl{ line-height: 1.8em; }

label.disabled{ color: #aaa; }

label em, .required-info em, ul.headers em{
	padding: 0 2px 0 0;
	font-weight: bold;
	font-size: 1.2em;
	color: #f00;
}

.errorlist{margin:0 !important;}

.errorlist li{
	margin: 0 0 0 105px;
	font-size: .9em;
	color: #CF320D;
}

/* =buttons and anchors alike
-------------------------------------------------*/
.button-wrapper{
	margin: 0 5px;
}

.button-wrapper, .button-wrapper div, .button-wrapper button, .button-wrapper a, .button-wrapper a:visited{
	display: block;
	float: left;
	height: 20px;
	font: bold .95em/22px Arial, sans-serif;
	cursor: pointer;
	color: #777;
	border: none;
	background: none;
	padding: 0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.button-wrapper button{
	font: bold .95em/18px Arial,sans-serif;
	-moz-box-sizing: content-box;
}

.button-wrapper button:active, .button-wrapper a:focus{outline: none; -moz-outline: none;}
.button-wrapper button::-moz-focus-inner { border: 0; }
.button-wrapper button, .button-wrapper a, .button-wrapper a:visited{
	padding: 0 5px;
	background: url(../img/button-right.png) no-repeat 100% 0;
	outline: none;
}

.button-wrapper{ background: url(../img/button.png) no-repeat 0 0; }
.button-wrapper:hover, .button-wrapper:active{
	background-position: 0 -20px;
}
.button-wrapper button:hover, .button-wrapper a:hover, .button-wrapper a:active{
	background-position: 100% -20px;
	color: #444;
	outline: none;
}

.button-wrapper button:focus, .button-wrapper a:focus{ color: #444; }

/*=pagination
---------------------------------------------------------------------*/
.pagination{
	float: right;
}

.pagination .button-wrapper{
	margin: 0 3px;
}

.pagination span.current{
	float: left;
	padding-top: 1px;
	margin: 0 3px;
	font-weight: bold;
	font-size: 1.2em;
}

.pagination .start, .pagination .end, .pagination .next, .pagination .prev{
	line-height: 18px !important;
}

/*=rounded top corners
---------------------------------------------------------------------*/
#right .header, #left .module, #left h3, .yui-panel-container .hd{
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	border-radius-topleft: 3px;
	border-radius-topright: 3px;
}

/*=holder
---------------------------------------------------------------------*/
#holder{
	width: 960px;
	margin: 0 auto;
}

/*=header
---------------------------------------------------------------------*/
#top{
	overflow: hidden;
	margin-bottom: 10px;
}

	#top h1{
		float: left;
		display: block;
		width: 140px;
		height: 60px;
		margin-right: 20px;
	}

	#top h1 a{
		display: block;
		width: 100%;
		height: 100%;
		text-indent: -999em;
		background: url(../img/logo.png) no-repeat 0 0;
	}

	#top h1 a:active, #top h1 a:focus{outline: 0;}

	#top h2{
		float: left;
		display: block;
		width: 95px;
		padding-top: 10px;
		font-size: .9em;
		line-height: 1.3em;
		letter-spacing: 1px;
		color: #87aac3;
	}

	#top label{
		float: left;
		margin-right: 5px;
		line-height: 1.8em;
	}

	#top input{
		float: left;
		padding: 1px 2px;
		height: 16px;
		width: 200px;
	}

	#top .search{
		float: left;
		width: 300px;
		padding-top: 30px;
		margin-left: 20px;
	}

	#top .search .button-wrapper{
		float: left;
		margin-left: 5px;
	}

	#top .login{
		padding-top: 30px;
		float: right;
		color: #809ead;
	}

	#top .login p{
		float: left;
		padding: 1px 0 0;
	}

	#top .login input{ width: 100px; }

	#top .login strong{ color: #333; }

	#top .login a{ margin: 0 5px 0 0; }

	#top .login .button-wrapper{ float: right; margin-right: 0}

	#top .languages{ margin: 15px 0 0; text-align: right; }

	#top .languages a.trigger{ padding:0 1px; }

	#top .languages .active{ text-decoration:underline; }

/*=sidebar
---------------------------------------------------------------------*/
#left{
	clear: both;
	width: 150px;
	float: left;
}

#left ul{ list-style: none; }
#left ul li{ margin-bottom: 0;}

#left .module{
	margin-bottom: 15px;
	background: #f3f4f5;
}

#left h3{
	display: block;
	padding: 1px 0 2px;
	text-indent: 5px;
	font-size: .9em;
	color: #fff;
	background: #6694E3;
}

	/*=new-message
	---------------------------------------------------------------------*/
	#left .new-message{
		background: #fff;
	}

	#left .compose{
		display: block;
		padding: 2px 0;
		text-align: center;
		text-decoration: none;
		color: #fff;
		background-color: #f8a13e;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	/*=mailbox
	---------------------------------------------------------------------*/
	#left .mailbox{
		background: #fff;
	}

	#left .mailbox ul{
		margin: 15px 0 15px 0;
		font-size: 1.1em;
	}

	#left .mailbox li{
		padding-left: 33px;
		background: url(../img/bullet-orange.png) no-repeat 11px 50%;
	}

	#left .mailbox li.active a{
		color: #000;
	}

	/*=project
	---------------------------------------------------------------------*/
	.project ul{ padding: 5px 0; }

	.project li{
		display: block;
		line-height: 22px;
		padding: 2px 0 2px 13px;
		background-position: 10px 50%;
		background-repeat: no-repeat;
	}
	
	.project li img{
		vertical-align: middle;
		margin-right: 8px;
	}

	/*.project li.snag{ background-image: url(../img/fav-snag.png); }
	.project li.i-just-made-love{ background-image: url(../img/fav-ijml.png); }
	.project li.memoo{ background-image: url(../img/fav-memoo.png); }
	.project li.gorila{ background-image: url(../img/fav-gorila.png); }
	.project li.sharq{ background-image: url(../img/fav-sharq.png); }
	.project li.pcs{ background-image: url(../img/fav-pcs.png); }*/
	
	

	/*=chat
	---------------------------------------------------------------------*/
	.contacts li{
		position: relative;
	}

	.contacts li.even{
		background: #e8eef1;
	}

	.contacts li a{
		display: block;
		padding: 7px 10px;
	}

	.contacts img{
		vertical-align: middle;
		margin-right: 5px;
		border: 2px solid #c6dde9;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	.contacts .target{
		visibility: hidden;
		width: 220px;
		position: absolute;
		top: -32px;
		right: -220px;
		z-index: 10;
		-moz-border-radius-topright: 4px;
		-moz-border-radius-bottomright: 4px;
		-webkit-border-top-right-radius: 4px;
		-webkit-border-bottom-right-radius: 4px;
		border-radius-topright: 4px;
		border-radius-bottomright: 4px;
	}

	.contacts .target ul{
		padding-left: 11px;
		height: 20px;
		line-height: 20px;
		overflow: hidden;
		background: transparent url(../img/contact-info-top.png) no-repeat 0 0;
	}

	.contacts .target li{
		float: left;
		padding: 0 7px;
		border-right: 1px solid #fff;
		font-size: .9em;
		font-weight: bold;
	}

	.contacts .target li:last-child{ border-right: none; }

	.contacts .target li a, .contacts .target li a:visited{
		display: inline;
		padding: 0;
		color: #fff;
	}

	.contacts .target p{
		overflow: hidden;
		padding: 10px 5px 0;
		background: transparent url(../img/contact-info-middle.png) no-repeat 0 0;
	}

	.contacts .target img{
		margin: 0 5px 0 10px;
		float: left;
	}

	.contacts .target span.name{
		margin: 0 0 0 95px;
		display: block;
		width: 105px;
		color: #333;
		font-size: 1.1em;
		font-weight: bold;
	}

	.contacts .target p.desc{
		display: block;
		padding: 10px 5px 10px 15px;
		color: #555;
		clear: left;
		background: transparent url(../img/contact-info-bottom.png) no-repeat 0 100%;
		font-size: .95em;
		line-height: 1.3em;
	}

	/*=invites
	---------------------------------------------------------------------*/
	.invites{
		overflow: hidden;
		padding-bottom: 5px;
	}

	.invites label{
		display: block;
		margin: 5px 0 5px 5px;
		width: auto;
		text-align: left;
		font-weight: normal;
	}

	.invites input{
		width: 136px;
		padding: 1px;
		margin: 0 0 5px 5px;
		border: 1px solid #d4d6d7;
	}

	.invites .button-wrapper{ float: right; }

/*=notifications
---------------------------------------------------------------------*/
	.notifications{
		margin-bottom: 10px;
		float: right;
		width: 800px;
		text-align: center;
	}

	.notifications li{
		list-style: none;
		margin-bottom: 2px;
		padding: 2px 0;
		background: #98d482;
		color: #fff;
		font-weight: bold;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	.notifications .error{ background: #cf320d; }
	.notifications .notice{ background: #f3c200; }

/*=right
---------------------------------------------------------------------*/
#right{
	float: right;
	width: 800px;
	margin-bottom: 20px;
}

	#right .header{
		overflow: hidden;
		padding: 4px 5px;
		background: #6694E3;
	}

	#right .header h2{
		padding: 0 0 0 5px;
		font-size: 1.1em;
		color: #fff;
		text-align: left;
	}

	#right .buttons-btm{
		overflow: hidden;
		padding: 5px;
		background: #f5f8f9 url(../img/buttons-btm.png) repeat-x 0 0;
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}

	.main-content, .messages{
		min-height: 538px;
		border: 1px solid #e3e9ec;
		border-top: none;
	}

	.messages li{display: block;}

	.messages span{
		display: block;
		float: left;
		color: #7D7F81;
	}

	.messages a{
		padding: 3px 0;
		background: #F3F4F4;
		overflow: hidden;
		display: block;
		color: inherit;
		border-top: 1px solid #e3e9ec;
	}

	.messages a:hover, .messages a:active{
		background: #f7f8f9;
	}

	.messages li.empty{
		height: 100%;
		line-height: 100px;
	}

	.messages li.empty span{
		width: 478px;
		padding: 0 0 0 320px;
		background: url(../img/email.png) no-repeat 295px 50%;
	}

	.messages .sender{
		width: 180px;
		padding-left: 10px;
		color: #d76c06;
	}

	.messages .sender em{
		font-style: normal;
		color: #7D7F81;
	}

	.messages .message{ width: 465px; padding-right: 10px; }
	.messages .message em{ font-style: normal; color: #293f6e; }

	.messages .date{
		display: inline;
		float: none;
	}

	div.message{
		border: 1px solid #dad9db;
		border-top: none;
	}

	.message h2{
		padding: 10px;
		font-size: 1.4em;
	}

	.message .bar{
		overflow: hidden;
		padding: 3px 10px;
		background: #f5f7f8;
	}

	.message .bar p{ float: left; padding: 0; }
	.message .bar p.date{ float: right; }

	.message .bar a, .message .to{ color: #d76c06; }
	.message .bar span{ color: #293f6e; }

	.message div.content{
		padding: 20px 200px 30px 10px;
	}

	.message div.content p{
		padding: 0 0 10px 0;
	}
	
	.message h4.attch{
		padding-left: 0px;
		margin-top: 20px;
		border-top: 1px solid #eee;
	}

	.message .attachments{
		overflow: hidden;
	}

	.message .attachments li{
		float: left;
		display: block;
		margin-right: 15px;
		text-align: center;
	}
	
	.message .attachments span.img{
		display: block;
		height: 35px;
		border: none;
	}
	
	.message .attachments span.clip img{ margin-top: 8px;}
	
	.message .attachments span.img a{ border: none; }
	.message .attachments img{ border: none; }

	.message .replies .bar{padding-left: 20px;}

	.message .replies .bar span{color: #d76c06;}
	.message .replies .bar p.date{ color: #777; }

	.message .replies div.content{
		padding: 10px 200px 20px 20px;
		color: #7d7f81;
	}

	/* Message reply, fwd, compose*/
	.reply, .fwd, .compose{ background: #f5f7f8; }

	.reply .date, .fwd .date{
		padding: 5px 5px 0 0;
		text-align: right;
	}

	form .message ul{
		overflow: hidden;
		border-bottom: 1px solid #e1e2e4;
	}

	form .message ul ul{ border-bottom: none; }

	form .message input{
		padding: 3px;
		width: 600px;
	}

	form .message select{
		padding: 3px 1px;
		width: 606px;
	}

	form .message textarea{
		padding: 3px;
		width: 600px;
		height: 200px;
	}

	.fwd span.content{ float: left; }

	.fwd div.content{
		margin-left: 105px;
		padding: 0 100px 0 0;
	}

	.compose{ padding-top: 20px; }

/*=footer
---------------------------------------------------------------------*/
#footer{
	clear: both;
	margin: 0 0 20px;
	border-top: 1px solid #ddd;
	color: #555;
	font-size: .9em;
	text-align: right;
}

/*=YUI Elements
---------------------------------------------------------------------*/
.yui-overlay,.yui-panel-container{
	visibility:hidden;
	position:absolute;
	z-index:2;
}

.mask{
	z-index:1;
	display:none;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
    background-color: #000;
    opacity: .75;
    filter: alpha(opacity=75);  /* Set opacity in IE */
}

.yui-panel-container .yui-panel{
	position: relative;
	padding-bottom: 10px;
	background: transparent url(../img/popup-btm.png) no-repeat 0 100%;
}


.yui-panel-container .hd{
	padding-left: 10px;
	min-height: 20px;
	background: url(../img/popup-top.png) no-repeat 0 0;
	color: #fff;
	font-size: .95em;
	font-weight: bold;
}

.yui-panel-container .bd{
	padding: 15px 5px;
	background: url(../img/popup-mid.png) repeat-y 0 0;
	text-align: center;
}

.yui-panel-container .container-close {
	display: block;
	margin: 0 auto;
	height: 20px;
	width: 100px;
	line-height: 20px;
	text-decoration:none;
	text-align: center;
	text-indent: 0!important;
	font-weight: bold;
	background: url(../img/button.png) no-repeat 0 0;
}

.yui-panel-container .container-close:hover, .yui-panel-container .container-close:active, .yui-panel-container .container-close:focus{
	background-position: 0 -20px;
}

	/*=YUI Elements -> error lists
	---------------------------------------------------------------------*/
	.bd ul{
		padding-left: 10px;
		list-style: none;
		color: #333;
		text-align: left;
		font-weight: bold;
	}

	.bd li ul{
		padding-left: 0;
		margin: 0 0 5px 15px;
		color: #555;
		list-style: disc;
		font-weight: normal;
	}
