/*****************************************************************************/
/* screen.css                                                                */
/* ==========                                                                */
/* scree styles                                                              */
/*  AUTHOR: Song Ho Ahn (song.ahn@gmail.com)                                 */
/* CREATED: 2005-07-26                                                       */
/* UPDATED: 2009-11-20                                                       */
/*****************************************************************************/

body {
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 100%;
	color: black;
	background-color: white;
}

p {
	margin-top: 0;
}

h1 {
	color: #666;
	text-align: center;
	background-color: white;
}

h3 {
	border-top: 5px solid #999;
	padding: 0;
	margin-top: 30px;
	margin-bottom: 0;
	color: #666;
	background-color: white;
}

h4 {
	border-top: 1px solid #999;
	padding: 0;
	margin-top: 30px;
	margin-bottom: 0;
	margin-left: 30px;
	color: #666;
	background-color: white;
}

img {
	border: 0;
	padding: 0;
	margin: 0;
}


.comment {
	color: #999;
	background-color: #eee;
}

.code
{
	display: block;
	border: 1px solid #999;
	background-color: #eee;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0 10px 0 10px;
	color: black;
	font-size : 80%;
	font-family: "courier new", courier, monospace;
	white-space: pre;
	line-height: 120%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

/* caption */
.caption {
	font-family: arial, helvetica, sans-serif;
	font-size: 80%;
	text-align: center;
	color: #666;
	background-color: white;
}

#contentblock
{
	width: 45em;
	margin: 10px 10px 10px 30px;
	padding-top: 0px;
	line-height: 130%;
}

#footer {
	font-style: normal;
	border-top: 1px solid #999;
	font-size: 80%;
	padding-top: 5px;
	line-height: 110%;
}

/* default color of body text and its background */
.font_sansserif {
	font-family: sans-serif;
}

.font_serif {
	font-family: serif;
}

/* text alignments */
.center {
	text-align: center;
}

.right {
	text-align: right;
}



/* links */
a:link { 
	color: blue;
	background-color: white;
	border: 0;
}

a:visited {
	color: purple;
	background-color: white;
	border: 0;
}

a:active {
	color: blue;
	background-color: white;
	border: 0;
}

a:hover {
	color: red;
	background-color: white;
	border: 0;
}

/* navlink stuff */
div.link {
	margin: 0;
	padding: 0;
}

div.link a {
	display: block;
	color: black;
	background-color: white;
	padding: 0.2em;
	text-decoration: none;
}

div.link a:link {
	color: black;
	background-color: white;
	border: 0;
}

div.link a:visited {
	color: black;
	background-color: white;
	border: 0;
}

div.link a:active {
	color: black;
	background-color: white;
	border: 0;
}

div.link a:hover {
	color: black;
	background-color: #eee;
	border: 0;
}

/* table attributes */
table, td, th
{
	border-color: #999;
	border-style: solid;
}

table
{
	border-width: 0 0 1px 1px;
	border-spacing: 0;
	border-collapse: collapse;
}

td, th
{
	border-width: 1px 1px 0 0;
	margin: 0;
	padding: 2px;
}

/* main index page */
#centerblock
{
	position:relative;
	width: 650px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	text-align: left;
}

div#welcomeblock
{
	position:absolute;
	width: 430px;
	height: 210px;
	text-align: right;
}

div#quoteblock
{
	position:absolute;
	width: 430px;
	height: 100px;
	text-align: right;
}

div.square, div.squarehome {
	position: absolute;
	width: 100px;
	height: 100px;
	overflow:hidden;
	border: 1px solid #666;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

div.square a, div.squarehome a {
	display: block;
	margin: 0;
	padding:0;
	width: 100%;
	height: 100%;
	color: #999;
	font-size: 80%;
	background-color: #eee;
	text-decoration: none;
	font-family: verdana, arial, helvetica, sans-serif;;
	overflow:hidden;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

div.square span, div.squarehome span {
	display: block;
	text-align: center;
	margin-top: 80px;
}

div.square a:link, div.squarehome a:link {
	background-color: #eee;
	color: #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

div.square a:visited, div.squarehome a:visited{
	background-color: #eee;
	color: #999;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

div.square a:hover {
	background-color: #ccc;
	color: #333;
}

div.squarehome a:hover {
	background: #ccc url("../files/songho.png") no-repeat top right;
	color: #333;
}
