
#modal_bg{
	width:100%;
	height:100%;
	background:rgb(193,178,150);
	background:rgba(193,178,150,0.6);
	position:fixed;
	top:0;
	left:0;
	z-index:98;
	display:none;
}

@keyframes loading
{
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}
 
@-moz-keyframes loading /* Firefox */
{
from {-moz-transform:rotate(0deg);}
to {-moz-transform:rotate(360deg);}
}
 
@-webkit-keyframes loading /* Safari and Chrome */
{
from {-webkit-transform:rotate(0deg);}
to {-webkit-transform:rotate(360deg);}
}


.loading{
	
	position: absolute;
	top: 50%; left: 50%;
	margin: -17px 0 0 -17px;
	animation-name: loading;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-play-state: running;
	/* Firefox: */
	-moz-animation-name: loading;
	-moz-animation-duration: 2s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
	-moz-animation-play-state: running;
	/* Safari and Chrome: */
	-webkit-animation-name: loading;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-play-state: running;

}


#modal_box{
	position:absolute;
	top:0;
	left:0;
	z-index:99;
	border: none;
	width:600px;
	margin:0;
	background:#f0f0f0;
	display:none;
	text-align:left;
}
#modal_box .pad{
	padding:30px 30px 20px 30px;
}
#modal_box textarea{
	display:block;
}

#modal_box .inputcontainer {
	clear:both;
	padding-bottom:6px;
	border-bottom:1px solid #fff;
	margin-bottom:6px;
	text-align:left;
}
#modal_box .inputcontainer h2 {
	padding-bottom:6px;
}
#modal_box input {
	width:250px;
	
}
#modal_box label {
	text-align:left;
	float:left;
	width:270px;
	
}
#modal_box .highlight label {
	color:#e30;
}
#modal_box .highlight input {
	background-color:#ffdbdb;
	
}

#modal_box .error_message, #modal_box .success_message {
	margin:20px 0 0 0;
	border:1px dotted #e30;
	color:#e30;
	padding:20px;
	text-align:left;
}
#modal_box .error_message_show {
	
}
#modal_box .success_message {
	
	border:1px dotted #000;
	color:#000;

	
}

#modal_box a.submit, #modal_box a.cancel {
	margin-left:5px;
	margin-right:5px;
}

