@CHARSET "UTF-8";

/* The Modal (background) */
hr {
	display: block;
    height: 0.0px;
    border: 0;
    border-top: 0.0px solid #999999;
    margin: 0em 0;
    padding: 0; 
}

h1{
font-family: Microsoft JhengHei, Helvetica, sans-serif;
font-style: normal;
font-variant: normal;
font-size: 30px; 
}
    
.modal {
	display::none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	line-height: 200px;
	height: 200px;
	margin-left: -150px;
	margin-top: -100px;
	background-color: #999999;
	text-align: center;
	border-radius: 6px;
	/* needed styles for the overlay */
	z-index: 10; /* keep on top of other elements on the page */
	box-shadow: 0 0 0 9px rgba(0, 0, 0, 0.5);
}

/* Modal Content/Box */
.modal-content {
	background-color: transparent;
	width: 300px;
	line-height: 200px;
	height: 200px;
	text-align: center;
}

/* The Close Button */
.close {
	color: #aaa;
	margin-top:85px;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover, .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

#dialog-overlay {

	/* set it to fill the whil screen */
	width:100%; 
	height:100%;
	
	/* transparency for different browsers */
	filter:alpha(opacity=50); 
	-moz-opacity:0.5; 
	-khtml-opacity: 0.5; 
	opacity: 0.5; 
	background:#000; 

	/* make sure it appear behind the dialog box but above everything else */
	position:absolute; 
	top:0; left:0; 
	z-index:3000; 

	/* hide it by default */
	display:none;
}


#dialog-box {
	
	/* css3 drop shadow */
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	
	/* css3 border radius */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	
	background:#eee;
	/* styling of the dialog box, i have a fixed dimension for this demo */ 
	width:328px; 
	
	/* make sure it has the highest z-index */
	position:absolute; 
	z-index:5000; 

	/* hide it by default */
	display:none;
}

#dialog-box .dialog-content {
	/* style the content */
	text-align:left; 
	padding:10px; 
	margin:13px;
	color:#666; 
	font-family:arial;
	font-size:11px; 
}

a.button {
	/* styles for button */
	margin:10px auto 0 auto;
	text-align:center;
	display: block;
	width:50px;
	padding: 5px 10px 6px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	line-height: 1;
	
	/* button color */
	background-color: #e33100;
	
	/* css3 implementation :) */
	/* rounded corner */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
	/* drop shadow */
	-moz-box-shadow: 0 0.5px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0.5px 3px rgba(0,0,0,0.5);
	
	/* text shaow */
	text-shadow: 0 -1px 0.5px rgba(0,0,0,0.25);
	border-bottom: 0.5px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
	
}

a.button:hover {
	background-color: #c33100;	
}

/* extra styling */
#dialog-box .dialog-content p {
	font-weight:700; margin:0;
}

#dialog-box .dialog-content ul {
	margin:10px 0 10px 20px; 
	padding:0; 
	height:50px;
}

.form_div {
	margin: 0 auto;
	height: auto;
	width: 600px;
	padding: 0px;
	background-color: rgba(255, 255, 255, 0.0);
	text-align: center;
}

.form_div form {
	height: auto;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.9);
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

.form_div form div {
	height: 40px;
	width: 100%;
	background-color: rgba(255, 255, 255, 0);
}

.form_div select {
	padding: 0px;
	text-align: left;
}

.form_div input {
	padding: 0px;
	text-align: left;
}

.form_div img {
	padding: 0px;
	text-align: left;
}


.button {
	text-align: center;
	/*border-radius: 6px;*/
	border: 0.5px solid #6e410e;
}
/*
.canvas{
	height: 100px;
	width: 600px;
	background-color: #999999;
}
*/

@media screen and (max-width: 600px) {
	hr {
		display: block;
	    height: 0.5px;
	    border: 0;
	    border-top: 0.5px solid #999999;
	    margin: 1em 0;
	    padding: 0; 
	}
	
	.form_div {
		height: auto;
		width: 100%;
		padding: 10px;
		background-color: rgba(255, 255, 255, 0.0);
		text-align: center;
	}
	.form_div form {
		height: auto;
		width: 100%;
		padding: 10px;
		background-color: rgba(255, 255, 255, 0.9);
		border-radius: 12px;		
		border-top: 1px solid #999999;
	    border-left: 1px solid #999999;
	    border-right: 1px solid #999999;
	    border-bottom: 1px solid #999999;
	}
	.form_div form div {
		height: 40px;
		width: 100%;
		background-color: rgba(255, 255, 255, 0);
	}
	.form_div select {
		padding: 0px;
		margin-left: 0px;
		margin-right: 0px;
		text-align: center;
		border-radius: 0px;
		border-top: 0.5px solid #999999;
		border-left: 0.5px solid #999999;
		border-right: 0.5px solid #999999;
		border-bottom: 0.5px solid #999999;
	}
	.form_div input {
		padding: 0px;
		margin-left: 0px;
		margin-right: 0px;
		text-align: left;
		border-radius: 0px;
		border-top: 0.5px solid #999999;
		border-left: 0.5px solid #999999;
		border-right: 0.5px solid #999999;
		border-bottom: 0.5px solid #999999;
	}
	.form_div img {
		padding: 0px;
		margin-left: 0px;
		margin-right: 0px;
		text-align: left;
	}
	.button {
		text-align: center;
		border-radius: 0px;
		border: 0.5px solid #6e410e;
	}
	/*
	.canvas{
	height: 100px;
	width: 100%;
	background-color: #999999;
}*/
}