/* 
    Document   : main
    Created on : 2012. 2. 6, 오후 4:02:56
    Description: Main stylesheet for the games website
*/

/*************** Body and content styling ***************/
* { margin:0px; padding:0px; }
html {
        background: #AFACAC;
}

body {
        font-weight: inherit;
        font-style: inherit;
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        border: 0;
        overflow: auto;
        margin: 0 auto;
        background: white;
}
#body_bg {
        background: url('../images/layout/general/background.jpg') repeat-y top center;
        width: 1080px;
        text-align: center;
        margin: 0 auto;
}
#content_container {
        min-height: 800px;
}
pre {
        white-space: pre-wrap;       /* css-3 */
        white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
        white-space: -pre-wrap;      /* Opera 4-6 */
        white-space: -o-pre-wrap;    /* Opera 7 */
        word-wrap: break-word;       /* Internet Explorer 5.5+ */
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
}
ol, ul { list-style: none; margin: 0; padding: 0; }
li { list-style-type: none; display: inline; }
a { text-decoration: none; color: black; }
a:hover { text-decoration: none; color: #D92424; }
a img { border: 0; }
.center-text { text-align: center; margin: auto auto; }
.align-left { text-align: left; }
.align-right { text-align: right; }
.error { color: red; }
.red { color: red; }
.errors { font-weight: bold; padding-top: 5px; color: red; }
.inline_block { display: inline-block; }
.hidden { visibility: hidden; }
.right-panel{ float:right; width: 570px; margin: auto auto;  height: 450px; }
.padding_top_10 { padding-top: 10px; }
.padding_bottom_10 { padding-bottom: 10px; }
.padding_top_20 { padding-top: 20px; }
.padding_bottom_20 { padding-bottom: 20px; }
.padding_tb_20 { padding: 20px 0 ; }
#outer-body {
        width: 100%;
        background: #d2dcab;
}
#inner-body {
        width: 80%;
        background: #f9ffdd;
}
.menu_name {
        width: 219px;
        height: 57px;
        position: absolute;
        top: 46px;
        left: 7px;
}
.menu_name_text {
        position: relative;
        z-index: 2;
        width: 400px;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
        color: white;
}
.main_section_header {
        background: url('../images/layout/general/menu_title_frame.png') no-repeat top left;
        width: 173px;
        height: 126px;
}
.main_section_header div { padding-top: 54px; text-transform: uppercase; font-size: 26px; }
.font_big { font-size: 25px; }
.left_side {
        float: left;
        text-align: left;
}
.content {
        margin: auto auto;
        padding: 10px 0 40px 0;
        width: 90%;
        white-space: nowrap;
        text-align: center;
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-weight: bolder;
        font-size: 19px;
        color: #AD7578;
}
#logo_img {
        position: absolute;
        top: 10px;
        left: 20px;
        z-index: 2;
        width: 300px;
}
.story_content {
        z-index: 2;
        position: relative; 
        float: right;
        width: 800px; 
        height: 680px; 
        text-align: center;
        overflow: auto;
}
.name { font-size: x-large; font-style: italic; color: green; font-weight: bold; padding: 10px 0 0 10px; }
.message { text-align: center; margin: 200px auto 0; width: 100%; }
.wide { width: 70px; }
.narrow { width: 102px; }
/*************** End body and content styling ***************/
/*************** Styling for the header template ***************/
#footer {
        font-size: small;
        color: #4D4D4D;
        text-align: right;
        background: white;
        border-top: 1px dashed #9E9E9E;
        border-left: 1px solid #9E9E9E;
        border-right: 1px solid #9E9E9E;
        width: 1022px;
        text-align: center;
        margin: 0 auto;
}
#footer div { vertical-align: top; }
#top_curtain_img {
        width: 100%;
        height: 1075px;
        position: absolute;
        left: 0;
        z-index: 100;
}
#back_curtain_img {
        width: 100%;
        height: 1240px;
        position: absolute;
        left: 0;
        z-index: 90;
}
#upper{ display: inline-block; text-align: right; width: 100%; white-space: nowrap; }
#copy_right{ font-size: 10px; }
.header_language_option { position: relative; }
.header_language_option .header_language_text {
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-weight: bolder;
        font-size: 15px;
        color:#AD7578;
        position: absolute;
        top: 45px;
        left: 50%;
        width: 100px;
        margin-left: -50px;
        pointer-events: none;
}
/*top buttons*/
.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}
.light_button {
        font: 14px/100% Arial, Helvetica, sans-serif;
	padding: 3px 3px 3px 3px;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.light_button:hover {
        text-decoration: none;
}
.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}
.charlemagne {
        font: 14px/100% Charlemagne Std;
        font-size: 13px;
        font-weight: bold;
        padding: .4em 1.5em .42em;
        text-transform: uppercase;
}
.user_option img { width: 100px; }
.user_option { position: relative; }
.user_option .user_option_text {
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-weight: bolder;
        font-size: 15px;
        color: #AD7578;
        position: absolute;
        top: 26px;
        left: 50%;
        width: 100px;
        margin-left: -50px;
        pointer-events: none;
}
/* color styles 
---------------------------------------------- */
/* black */
.black {
	color: #d7d7d7;
	border: solid 1px #333;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#000));
	background: -moz-linear-gradient(top,  #666,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
}
.black:hover {
	background: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
	background: -moz-linear-gradient(top,  #444,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#000000');
}
.black:active {
	color: #666;
	background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#444));
	background: -moz-linear-gradient(top,  #000,  #444);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#666666');
}

/* gray */
.gray {
	color: #e9e9e9;
	border: solid 1px #555;
	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
}
.gray:active {
	color: #afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
}

/* white */
.white {
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
}
.white:hover {
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}
.white:active {
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}

/* orange */
.orange {
	color: #fef4e9;
	border: solid 1px #da7c0c;
	background: #f78d1d;
	background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
	background: -moz-linear-gradient(top,  #faa51a,  #f47a20);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}
.orange:hover {
	background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
.orange:active {
	color: #fcd3a5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}

/* red */
.red {
	color: #faddde;
	border: solid 1px #980c10;
	background: #d81b21;
	background: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#aa1317));
	background: -moz-linear-gradient(top,  #ed1c24,  #aa1317);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
}
.red:hover {
	background: #b61318;
	background: -webkit-gradient(linear, left top, left bottom, from(#c9151b), to(#a11115));
	background: -moz-linear-gradient(top,  #c9151b,  #a11115);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9151b', endColorstr='#a11115');
}
.red:active {
	color: #de898c;
	background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
	background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa1317', endColorstr='#ed1c24');
}

/* blue */
.blue {
	color: #d9eef7;
	border: solid 1px #0076a3;
	background: #0095cd;
	background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
	background: -moz-linear-gradient(top,  #00adee,  #0078a5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
.blue:hover {
	background: #007ead;
	background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
	background: -moz-linear-gradient(top,  #0095cc,  #00678e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
.blue:active {
	color: #80bed6;
	background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
	background: -moz-linear-gradient(top,  #0078a5,  #00adee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}

/* rosy */
.rosy {
	color: #fae7e9;
	border: solid 1px #b73948;
	background: #da5867;
	background: -webkit-gradient(linear, left top, left bottom, from(#f16c7c), to(#bf404f));
	background: -moz-linear-gradient(top,  #f16c7c,  #bf404f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f16c7c', endColorstr='#bf404f');
}
.rosy:hover {
	background: #ba4b58;
	background: -webkit-gradient(linear, left top, left bottom, from(#cf5d6a), to(#a53845));
	background: -moz-linear-gradient(top,  #cf5d6a,  #a53845);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf5d6a', endColorstr='#a53845');
}
.rosy:active {
	color: #dca4ab;
	background: -webkit-gradient(linear, left top, left bottom, from(#bf404f), to(#f16c7c));
	background: -moz-linear-gradient(top,  #bf404f,  #f16c7c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf404f', endColorstr='#f16c7c');
}

/* green */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}
.green:hover {
	background: #538018;
	color: #e8f0de;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c');
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}

/* pink */
.pink {
	color: #feeef5;
	border: solid 1px #d2729e;
	background: #f895c2;
	background: -webkit-gradient(linear, left top, left bottom, from(#feb1d3), to(#f171ab));
	background: -moz-linear-gradient(top,  #feb1d3,  #f171ab);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#feb1d3', endColorstr='#f171ab');
}
.pink:hover {
	background: #d57ea5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f4aacb), to(#e86ca4));
	background: -moz-linear-gradient(top,  #f4aacb,  #e86ca4);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4aacb', endColorstr='#e86ca4');
}
.pink:active {
	color: #f3c3d9;
	background: -webkit-gradient(linear, left top, left bottom, from(#f171ab), to(#feb1d3));
	background: -moz-linear-gradient(top,  #f171ab,  #feb1d3);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f171ab', endColorstr='#feb1d3');
}


.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
.lightgreen{
        color: black;
        border: solid 1px #a1ae6c;
        background: #a1ae6c;
        background: -webkit-gradient(linear, left top, left bottom, from(#e2e6b9), to(#a1ae6c) );
        background: -moz-linear-gradient(-90deg, #e2e6b9, #a1ae6c);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#e2e6b9', EndColorStr='#a1ae6c');
}
.lightgreen:hover{
        color: #3F7300;
        background: #3A9100;
        background: -webkit-gradient(linear, left top, left bottom, from(#a1ae6c), to(#e2e6b9) );
        background: -moz-linear-gradient(top,  #a1ae6c,  #e2e6b9);
        filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a1ae6c', endColorstr='#e2e6b9');
}
.light_purple {
        color: black;
        border-radius: .8em;
        border: solid 2px #af7778;
        background: #a1ae6c;
        background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e1ccca) );
        background: -moz-linear-gradient(-90deg, #ffffff, #e1ccca);
        filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#e1ccca');
}
.light_purple:hover {
        color: #BD9BBE;
        background: #3A9100;
        background: -webkit-gradient(linear, left top, left bottom, from(#e1ccca), to(#ffffff) );
        background: -moz-linear-gradient(top,  #e1ccca,  #ffffff);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1ccca', endColorstr='#ffffff');
}
.purple {
        color: #303811;
	border: solid 1px #C09CCA;
	background: #adadad;
	background: -webkit-gradient(linear, left top, left bottom, from(#F3E5F7), to(#C898D6));
	background: -moz-linear-gradient(top,  #F3E5F7,  #C898D6);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#F3E5F7', endColorstr='#C898D6');
}
.purple:hover {
        color: white;
	background: #209E58;
	background: -webkit-gradient(linear, left top, left bottom, from(#C898D6), to(#F3E5F7));
	background: -moz-linear-gradient(top,  #C898D6,  #F3E5F7);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#C898D6', endColorstr='#F3E5F7');
}
.site_text_style {
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-weight: bolder;
        font-size: 19px;
        color: #AD7578;
}
.site_text_style a {
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-weight: bolder;
        font-size: 19px;
        color: #AD7578;
}
.charlemagne { color: #AD7578; }
/* Logo styling */
.logo { display: inline; }
.logo img { padding: 0px 0 2px 5px; width:160px; }

/* Styling for user nav and info */
.user_nav { text-align: right; margin-top : 16px; display: inline-block; }
.display-logged-in-user-info span { font-weight: bold; color:#8F0000; }
.display-logged-in-user-info {
        width: 207px;
        font-size: small;
        display: inline-block;
        text-align: left;
        vertical-align: top;
        padding-top: 40px;
}

/* Language dropdown styling */
/* First level */
.right{
        position: relative;
}
#language_user_option { white-space: normal; }
ul#language_dropdown li { 
        position: relative; 
        margin-right: 10px; 
        float: left;
        text-align: center;
}
ul#language_dropdown a { 
        z-index: 3;
}

/* Second level */
ul#language_dropdown li ul {
        left: -9999px;
        position: absolute;
        z-index: 3;
}  
ul#language_dropdown li ul li {
        margin: 0;
        padding: 0;
}
ul#language_dropdown li ul li a {
        zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
        outline: none;
        z-index: 3;
        cursor: pointer;
        text-align: center;
}
ul#language_dropdown ul li { padding-top: 1px; }
ul#language_dropdown li:hover ul { left: 0px; } /* Display the dropdown on hover */
/*************** End styling for the header ***************/

/**************** Styling for the site nav template ***************/
#main_menu { text-align: center; }
#main_menu_items { white-space: nowrap; }
#main_menu_items .menu_item {
        position: relative;
        display: inline-block;
        width: 150px;
        height: 95px;
        padding-top : 3px;
        margin : auto auto;
        text-align: center;
        white-space: normal;
}
#main_menu_items li ul {
        position: absolute;
        left: -9999px;
        z-index: 3;
        padding-left: 12px;
        margin-top: 94px;
}
#main_menu_items li:hover ul { left: 0px; }
#main_menu_items li ul li { position: relative; margin: 0; padding: 0; list-style-image: none; list-style: none; }
#main_menu_items li ul li a img { margin-top: -18px; }
#main_menu_items .submenu_text {
        position: absolute;
        top: -36px;
        left: 50%;
        width: 134px;
        margin-left: -67px;
        pointer-events: none;
        font-size: 0.9em;
}
.menu_item img { width: 140px; }
.menu_item .menu_text {
        position: absolute;
        top: 43px;
        left: 50%;
        width: 100px;
        margin-left: -50px;
        pointer-events: none;
}
.special_menu_option img { position: absolute; left: 10px; top: 1px; }
.image_nav_item img { width: 163px; }
.image_nav_item a { position: relative; }
.image_nav_text {
        font-size: 0.8em;
        position: absolute;
        top: 47px;
        left: 50%;
        width: 150px;
        margin-left: -75px;
        pointer-events: none;
}
.image_nav_item:hover .image_nav_text {
        color: white;
}
#content_left {
        display: inline-block;
        text-align: center;
        vertical-align: top;
        width: 240px;
        width /*\**/: 250px\9; /* IE8 Hack */
}
#content_right {
        display: inline-block;
        width: 640px;
        position: relative;
        white-space: normal;
}
.content_box {
        width: 780px;
        margin: auto auto;
        white-space: normal;
}
.content_right_box {
        width: 620px;
        text-align: center;
}
.content_right_box_text {
        text-align: left;
        font-size: small;
        margin: 26px 10px 5px 10px;
        white-space: normal;
}
/**************** End styling for the site nav template ***************/
/**************** Styling for the side nav template ***************/
#side_navigation {
        width: 173px;
        text-transform: capitalize;
        position: relative;
}
#side_navigation ul {
	list-style: none;
	margin: 0;
	border: none;
}
#side_navigation li {
	list-style: none;
	list-style-image: none;
        position: relative;
}
#side_navigation li a {
	display: block;
        font-family: "Myungjo", "Batang", "San-Serif", "Arial";
        font-size: 18px;
        font-weight: bolder;
        text-transform: uppercase;
}
#coming_soon_img { width: 720px; }
/**************** End styling for the side nav template ***************/