#modal{
	position:fixed;
	top:10px;
	left:10px;
	border:8px solid #555;
	background:#FFF;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	z-index:100;
	text-align:left;
	float:left;
}

#modal .header{
	background:#F3F3F3;
	border-bottom:2px solid #DDD;
	padding:10px;
	padding-right:20px;
}

#modal .content{
	padding:15px;
}

#modal .loading{
	padding:35px;
	padding-left:85px;
	padding-right:40px;
	background:url(../media/loading.gif) no-repeat 35px 25px;
}

#modal .footer{
	background:#F3F3F3;
	border-top:2px solid #DDD;
	padding:8px;
}

#modal .header h2{
	color:#222;
	font-size:16px;
	display:block;
	margin:0px;
	padding:0px;
	height:16px;
}

#modal .header h2 span{
	font-size:10px;
	font-weight:normal;
	text-transform:capitalize;
	padding-left:10px;
	color:#444;
	position:relative;
	top:-3px;
}

#modal.notice .content,
#modal.error .content,
#modal.success .content,
#modal.download .content{
	padding-left:100px;
	padding-right:25px;
}

#modal.download .content{
	background:url(../media/download.png) no-repeat 25px 35px;
}

#modal.notice .content{
	background:url(../media/notice.png) no-repeat 25px 15px;
}

#modal.error .content{
	background:url(../media/error.png) no-repeat 25px 15px;
}

#modal.success .content{
	background:url(../media/success.png) no-repeat 25px 15px;
}

#modal .content p{
	line-height:1.5;
	font-size:12px;
	padding-bottom:5px;
}

#modal.notice .content p,
#modal.error .content p,
#modal.success .content p,
#modal.download .content p{
	line-height:20px;
	font-size:14px;
}

#overlay{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:#000;
	filter:alpha(opacity=50);
	-moz-opacity:.5;
	-khtml-opacity: .5;
	opacity: .5;
	display:block;
	z-index:99;
}

#modal .terms{
	font-size:12px;
	height:100px;
	overflow:auto;
}

#modal div.left{
	float:left;
	width:45%;
}

#modal div.right{
	width:45%;
	float:right;
}

#modal div.clear{
	clear:both;
}

#modal b.red{
	color:#D32A2C;
}

#modal b.big{
	font-size:22px;
}

#modal input.error{
	border:1px solid #D32A2C;
}

#modal input.text{
	margin-bottom:3px;
}

#modal p.values{
	text-align:center;
}

#modal p.values label{
	width:100px;
	text-align:center;
	display:block;
	font-size:18px;
	float:left;
	padding-top:10px;
	padding-bottom:10px;
	border:1px solid #FFF;
}

#modal p.values label:hover{
	background:#F3F3F3;
	border:1px solid #EEE;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

#modal .thumbs img{
	margin:5px;
	cursor:pointer;
	border:2px solid #AAAAAA;
	filter:alpha(opacity=50);
	-moz-opacity:.5;
	-khtml-opacity: .5;
	opacity: .5;
}

#modal .thumbs div.selected img,
#modal .thumbs div img:hover{
	border:2px solid #6E9D16;
	filter:alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}

#modal p.errors{
	background:#FFBFBF;
	border-top:1px solid #CF7474;
	border-bottom:2px solid #CF7474;
	padding:5px;
	color:#222;
	margin-bottom:5px;
}