
/* ============================================================================================================================== */
/* General web page stuff. */
/* ============================================================================================================================== */

@font-face {
    font-family: Fabiolo;
    src: url('/css/fabiolo-regular.ttf');
}

@font-face {
    font-family: Fabiolo;
    src: url('/css/fabiolo-semibold.ttf');
	font-weight: bold;
}

@font-face {
    font-family: Fabiolo-SmallCap;
    src: url('/css/fabiolosmallcap-regular.ttf');
}

@font-face {
    font-family: Fabiolo-SmallCap;
    src: url('/css/fabiolo-smallcap-semibold.ttf');
	font-weight: bold;
}

body {
	color: #FFF;
	background-color: #2a3f4f;
	background-image: url('/images/main_background.png');
	background-repeat: repeat;
	background-position: top left;
	font-family: Fabiolo;
	font-weight: normal;
	font-size: 16px;
	width: 100%;
}

a {  
	color: #8ae3f0; 
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}

a:hover {
	color: #37daf2;
}

a:active {
	opacity: 0.7;
}

img {
	border: 0px solid #000000;
}

.background_floater {
	position: fixed;
	height: 100%;
}

.floater_image {
    display: block;
	margin-top: auto;
	margin-bottom: 20px;
	position: absolute;
	bottom: 0px;
}

.header_image {
    display: block;
	margin-left: auto;
    margin-right: auto;
	margin-bottom: 10px;
	margin-top: 10px;
}

.page_main {
	position: absolute;
	width: 1200px;
	top: 20px;
	left: 50%;
	margin-left: -600px;
}

.page_header {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 25px;
	background-color: #131313;
}

.page_footer {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 30px;
}

.page_footnote {
}

.page_body {
	position: relative;
	width: 100%;
}

.page_menu {
	position: absolute;
	width: 308px;
	margin-left: 0px;
	top: 0px;
}

.page_content {
	position: relative;
	width: 892px;
	margin-left: 308px;
	top: 0px;
	min-height: 1100px;
}

/* ============================================================================================================================== */
/* Sidebar menu stuff */
/* ============================================================================================================================== */

.menu_main {
}

.menu_logo_header {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	transition: filter 0.5s ease;
}

.menu_logo_header:hover {
	filter: drop-shadow(0px 0px 7px black);
}

.menu_top {
	background-image: url('/images/menu_bg_top.png');
	background-repeat: no-repeat;
	background-position: top left;
	height: 40px;
}

.menu_body {
	background-image: url('/images/menu_bg_middle.png');
	background-repeat: repeat-y;
	background-position: left;
}

.menu_bottom {
	background-image: url('/images/menu_bg_bottom.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 40px;
}

.menu_content {
	height: 100%;
	width: 288px;
	margin-left: 10px;
	margin-right: 10px;
	text-align: right;
	font-size: 24px;
}

.menu_button_on {
	position: relative;
	width: 244px;
	height: 40px;
	background-color: #aee544;
	border-radius: 6px 6px 6px 6px;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 4px;
	transition: background-color 0.20s ease-in-out;
	border-left: 2px solid #24c1f4;
	border-right: 2px solid #24c1f4;
}

.menu_button_off {
	position: relative;
	width: 244px;
	height: 40px;
	background-color: #75992f;
	border-radius: 6px 6px 6px 6px;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 4px;
	transition: background-color 0.20s ease-in-out;
	border-left: 2px solid #133844;
	border-right: 2px solid #133844;
}

.menu_button_off:hover {
	background-color: #8ebc34;
}

.menu_button_off:active {
	background-color: #aee544;
	border-color: #24c1f4;
}

.menu_text {
	position: absolute;
	font-family: Fabiolo-SmallCap;
	font-size: 30px;
	font-weight: normal;
	letter-spacing: 1px;
	text-align: center;
	width: 100%;
	top: 0px;
}

.menu_touch {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 248px;
	height: 40px;
}

.menu_login_info {
	font-size: 22px;
	text-align: center;
	margin-bottom: 10px;
}

.menu_login_info .login_name {
	font-size: 26px;
}

/* ============================================================================================================================== */
/* Main content area stuff. */
/* ============================================================================================================================== */

.content_main {
}

.content_top {
	background-image: url('/images/content_bg_top.png');
	background-repeat: no-repeat;
	background-position: top left;
	height: 40px;
}

.content_body {
	background-image: url('/images/content_bg_middle.png');
	background-repeat: repeat-y;
	background-position: top left;
}

.content_bottom {
	background-image: url('/images/content_bg_bottom.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 40px;
}

.content_content {
	position: relative;
	height: 100%;
	width: 872px;
	margin-left: 10px;
	margin-right: 10px;
}

.content_title {
	font-size: 50px;
	color: #ffe900;
	font-weight: normal;
	margin-left: 10px;
	margin-right: 10px;
	padding-left: 70px;
	margin-top: 0px;
	margin-bottom: 0px;
	height: 64px;
}

.content_title_icon {
	position: absolute;
	display: inline-block;
	left: 6px;
	top: 0px;
	width: 64px;
	height: 64px;
}

.content_divider {
	height: 2px;
	width: 100%;
	border: 0px;
	background-color: #293a19;
	margin-top: 10px;
	margin-bottom: 10px;
}

.content_block {
	position: relative;
	font-size: 20px;
	margin-left: 10px;
	margin-right: 10px;
}

.content_alert {
	padding: 10px;
	text-align: center;
	background-color: #577b3a;
	border-radius: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.content_error {
	color: #ff2;
	padding: 10px;
	text-align: center;
	background-color: #395026;
	border-radius: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.fine_print {
	position: relative;
	font-size: 16px;
	font-family: Fabiolo, Sans-Serif;
	line-height: 20px;
	z-index: 0;
}

.hero_image {
	display: block;
	border: 4px solid #293a19;
	border-radius: 5px;
	width: 844px;
	margin-top: 10px;
	margin-bottom: 20px;
	transition: filter 1s;
}

.hero_image:hover {
	filter: contrast(1.2);
}

/* ============================================================================================================================== */
/* Form stuff. */
/* ============================================================================================================================== */

.form_row {
	position: relative;
	width: 100%;
	display: flex;
	align-items: top;
}

.form_label {
	position: relative;
	display: inline-block;
	font-size: 16px;
	font-family: Fabiolo-SmallCap;
	padding: 4px;
	margin-top: 5px;
}

.form_label_fixed {
	width: 150px;
}

.form_expando {
	position: relative;
	border: 1px solid #293a19;
	margin-top: 6px;
	background-color: #e8f2b8;
	background-image: url("/images/expando_icon.png");
	background-repeat: no-repeat;
	background-position: right;
	color: #000;
	font-family: Sans-Serif;
	padding: 2px;
	border-radius: 5px;
}

.form_expando:hover {
	border-radius: 5px 5px 0px 0px;
	z-index: 9;
}

.form_expando .form_expando_box {
	visibility: hidden;
	position: absolute;
    top: 20px;
	left: -1px;
	font-family: Sans-Serif;
	border-radius: 0px 0px 5px 5px;
	border-bottom: 1px solid #293a19;
	border-right: 1px solid #293a19;
	border-left: 1px solid #293a19;
	background-color: #e8f2b8;
	text-align: left;
	font-size: 14px;
	padding: 4px 12px 4px 12px;
	margin-top: 6px;
	z-index: 10;
	color: #000;
	transition: color 0.3s ease-in-out 0.25s;
}

.form_expando:hover .form_expando_box {
	visibility: visible;
	color: inherit;
	transition: color 0.3s ease-in-out 0.25s;
}


.form_button, .form_select, .form_input, .form_textarea {
	position: relative;
	border: 1px solid #293a19;
	margin-top: 6px;
	background-color: #e8f2b8;
	color: #000;
	font-family: Sans-Serif;
	outline: none;
	padding: 2px;
	border-radius: 5px;
	transition: background-color 0.20s ease-in-out;
}

.form_select:focus, .form_input:focus, .form_textarea:focus {
	background-color: #d6e58e;
}

.form_button:active {
	border-top: 2px solid #293a19;
	border-left: 2px solid #293a19;
	border-right: 0px;
	border-bottom: 0px;
}

.form_button:hover, .form_select:hover, .form_input:hover, .form_textarea:hover {
	background-color: #cfe07f;
}

.select_option {
	background-color: #444;
	color: #FFF;
	font-size: 14px;
}

.game_option_expando {
	width: 200px;
	margin-right: 5px;
	padding: 3px 18px 1px 6px;
}

.game_option_expando_box {
	width: 200px;
}

.game_option_select {
	font-size: 14px;
	width: 80px;
}

.game_select, .guild_select_profile, .game_select_profile {
	font-size: 20px;
	width: 250px;
	margin-right: 5px;
}

.limit_select, .guild_select {
	font-size: 20px;
	margin-right: 5px;
	max-width: 200px;
}

.player_input, .region_input, .password_input {
	font-size: 14px;
}

.min_input, .max_input {
	font-size: 14px;
	width: 30px;
}

.profile_input {
	width: 500px;
}

.profile_textarea {
	width: 500px;
	height: 200px;
	resize: none;
}

.commit_button {
	display: block;
	margin-left: auto;
	margin-right: auto;
	font-size: 24px;
}

.refresh_button {
	background-image: url('/images/button_refresh.png');
	background-repeat: no-repeat;
	background-position: center center;
	border-radius: 25px;
	position: absolute;
	right: 0px;
	top: -8px;
	font-size: 20px;
	width: 48px;
	height: 48px;
}

.standard_button {
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	top: 7px;
	margin-left: 8px;
	margin-top: 0px;
	border-radius: 20px;
	font-size: 20px;
	width: 60px;
	height: 30px;
	padding: 0px;
}

.submit_button {
	background-image: url('/images/button_submit.png');
}

.clear_button {
	background-image: url('/images/button_clear.png');
}

/* ============================================================================================================================== */
/* Checkboxes are fucking retarded. */
/* ============================================================================================================================== */

input[type="checkbox"] {
    display: none;
}

.form_checkbox + label {
	position: relative;
	display: flex;
	font-size: 16px;
	padding: 4px;
	margin-top: 9px;
}

.form_checkbox + label span {
	display: inline-block;
	position: relative;
	background-color: #17230b;
	border: 2px solid #293a19;
	border-radius: 5px;
	height: 4px;
	width: 18px;
	height: 10px;
	bottom: 0px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 3px;
}

.form_checkbox:checked + label span {
	background-color: #0F0;
}

/* ============================================================================================================================== */
/* Generic sheet stuff. */
/* ============================================================================================================================== */

.sheet_main {
	position: relative;
	color: #000;
	filter: drop-shadow(0px 0px 5px black);
	padding: 5px;
	z-index: 1;
}

.sheet_row {
	position: relative;
}

.sheet_row a {
	color: #D33;
}

.sheet_row a:hover {
	color: #f22;
}

.sheet_row .hover_indicator {
	visibility: hidden;
	position: absolute;
	bottom: 0px;
	height: 0px;
	width: 0px;
	left: 0px;
	border-bottom: 2px solid #f00;
	transition: width 0.35s ease-in-out, height 0.35s ease-in-out;
}

.sheet_row:hover .hover_indicator {
	visibility: visible;
	width: 100%;
	height: 100%;
}

.sheet_row_even {
	position: relative;
	background-color: #d4eeba;
	border-color: #d4eeba;
}

.sheet_row_odd {
	position: relative;
	background-color: #c7e0af;
	border-color: #c7e0af;
}

/* ============================================================================================================================== */
/* Generic expando stuff */
/* ============================================================================================================================== */

.expando_button {
	position: relative;
	display: inline-block;
	padding: 1px 12px 3px 12px;
	border-radius: 5px;
	border: 1px solid;
	text-align: center;
	font-size: 16px;
	height: 20px;
	color: #888;
	border-color: #BBB;
	width: 180px;
	transition: padding-bottom 0.2s ease-in;
}

.expando_button:hover {
	color: #FFF;
	padding-bottom: 12px;
	border-radius: 5px 5px 0px 0px;
	z-index: 9;
}

.expando_button .expando_panel {
	visibility: hidden;
	position: absolute;
    top: 20px;
	left: -1px;
	border-radius: 0px 0px 5px 5px;
	border-bottom: 1px solid;
	border-right: 1px solid;
	border-left: 1px solid;
	text-align: left;
	font-size: 14px;
	padding: 4px 12px 4px 12px;
	width: 180px;
	margin-top: 6px;
	z-index: 10;
	transition: visibility 0s linear 0.0s;
}

.expando_button:hover .expando_panel {
	visibility: visible;
	color: inherit;
	transition: visibility 0s linear 0.2s;
	z-index: 10;
}

/* ============================================================================================================================== */
/* Current players stuff */
/* ============================================================================================================================== */

.game_players_panel:hover {
	background-color: #533787;
	border-color: #201535;
}

.game_players_panel .game_players_tooltip {
	border-color: #201535;
	background-color: #533787;
	color: #5e3544;
}

.game_players_tooltip .player_seat_tag {
	display: inline-block;
	width: 20px;
}

.game_players_tooltip .player_name_tag {
	display: inline-block;
	width: 120px;
	font-size: 16px;
	padding-bottom: 4px;
}

.game_players_tooltip .player_score_tag {
	display: inline-block;
	width: 40px;
	text-align: right;
	font-size: 16px;
}

/* ============================================================================================================================== */
/* Game option stuff */
/* ============================================================================================================================== */

.game_option_panel:hover {
	background-color: #5e3544;
	border-color: #1e0f15;
}

.game_option_panel .option_panel_tooltip {
	border-color: #1e0f15;
	background-color: #5e3544;
	color: #5e3544;
}

.game_option_tag {
	position: relative;
	display: inline-block;
	padding: 2px 4px 7px 4px;
	border-radius: 5px;
	background-color: #664f57;
	border: 1px solid #8e6f7a;
	color: #fff;
	font-size: 16px;
	height: 16px;
	width: 172px;
	margin-bottom: 4px;
}

.game_option_tag:hover {
	background-color: #5e3544;
	border-color: #5e3544;
	z-index: 9;
}

.game_option_tag .option_tooltip {
	visibility: hidden;
	position: absolute;
    top: -10px;
	right: 185px;
	border-radius: 5px;
	border: 1px solid #1e0f15;
	text-align: center;
	background-color: #5e3544;
	font-size: 18px;
	padding: 4px;
	width: 300px;
	margin-top: 6px;
	z-index: 10;
	color: #5e3544;
	transition: visibility 0s linear 0.0s, color 0.3s ease-in-out 0.25s;
}

.game_option_tag:hover .option_tooltip {
	visibility: visible;
	color: inherit;
	transition: visibility 0s linear 0.2s, color 0.3s ease-in-out 0.25s;
}
