
/* ============================================================================================================================== */
/* General web page stuff. */
/* ============================================================================================================================== */

@font-face {
    font-family: LithosPro;
    src: url('/css/LITHOSPRO-REGULAR.OTF');
}

@font-face {
    font-family: LithosPro;
    src: url('/css/LITHOSPRO-BLACK.OTF');
	font-weight: bold;
}

/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: local('Nunito Regular'), local('Nunito-Regular'), url('/css/Nunito-Regular.ttf');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: local('Nunito Regular'), local('Nunito-Regular'), url('/css/Nunito-Regular.ttf');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: local('Poppins Regular'), local('Poppins-Regular'), url('/css/Poppins-Regular.ttf');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: local('Poppins Regular'), local('Poppins-Regular'), url('/css/Poppins-Regular.ttf');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

body {
	color: #FFF;
	background-color: #302529;
	background-image: url('/images/main_background.png');
	background-repeat: repeat;
	background-position: top left;
	font-family: LithosPro;
	font-size: 16px;
	width: 100%;
}

a {  
	color: #C66; 
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}

a:hover {
	color: #D33;
}

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: 1250px;
}

/* ============================================================================================================================== */
/* 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_top.png');
	background-repeat: no-repeat;
	background-position: top left;
	height: 30px;
}

.menu_body {
	background-image: url('/images/menu_background.png');
	background-repeat: repeat-y;
	background-position: left;
}

.menu_bottom {
	background-image: url('/images/menu_bottom.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 30px;
}

.menu_content {
	height: 100%;
	width: 288px;
	margin-left: 10px;
	margin-right: 10px;
	text-align: right;
	font-size: 24px;
}

.menu_button_on {
	position: relative;
	width: 288px;
	height: 40px;
	background-image: url('/images/menu_buttons_short.png');
	background-repeat: no-repeat;
	background-position: 0% 100%;
}

.menu_button_off {
	position: relative;
	width: 288px;
	height: 40px;
	background-image: url('/images/menu_buttons_short.png');
	background-repeat: no-repeat;
	background-position: 0% 0%;
}

.menu_button_off:hover {
	background-position: 0% 50%;
}

.menu_button_off:active {
	background-position: 0% 100%;
}

.menu_text {
	position: absolute;
	font-size: 28px;
	right: 32px;
	top: 3px;
}

.menu_touch {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 288px;
	height: 40px;
}

/* ============================================================================================================================== */
/* Admin menu stuff. */
/* ============================================================================================================================== */

.admin_menu_touch {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 288px;
	height: 34px;
}

.admin_menu_text {
	position: absolute;
	font-size: 24px;
	right: 32px;
	top: 8px;
}

.menu_login_info {
	font-size: 14px;
	text-align: center;
	margin-bottom: 10px;
}

.menu_login_info .login_name {
	font-size: 18px;
}

.admin_menu_button_on {
	position: relative;
	width: 288px;
	height: 34px;
	background-image: url('/images/admin_menu_buttons.png');
	background-repeat: no-repeat;
	background-position: 100% 100%;
}

.admin_menu_button_off {
	position: relative;
	width: 288px;
	height: 34px;
	background-image: url('/images/admin_menu_buttons.png');
	background-repeat: no-repeat;
	background-position: 100% 0%;
}

.admin_menu_button_off:hover {
	background-position: 100% 50%;
}

.admin_menu_button_off:active {
	background-position: 100% 100%;
}

/* ============================================================================================================================== */
/* Main content area stuff. */
/* ============================================================================================================================== */

.content_main {
}

.content_top {
	background-image: url('/images/content_top.png');
	background-repeat: no-repeat;
	background-position: top left;
	padding-bottom: 0px;
	height: 30px;
}

.content_body {
	background-image: url('/images/content_background.png');
	background-repeat: repeat-y;
	background-position: top left;
	padding-top: 6px;
	padding-bottom: 6px;
}

.content_bottom {
	background-image: url('/images/content_bottom.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	padding-top: 0px;
	height: 30px;
}

.content_content {
	position: relative;
	height: 100%;
	width: 872px;
	margin-left: 10px;
	margin-right: 10px;
}

.content_title {
	font-size: 32px;
	font-weight: bold;
	margin-left: 10px;
	margin-right: 10px;
	padding-left: 64px;
}

.content_title_icon {
	position: absolute;
	display: inline-block;
	left: 6px;
	top: -16px;
	width: 64px;
	height: 64px;
}

.content_header_warning {
	background-color: #9c1a13;
	font-family: Poppins, Sans-Serif;
	font-size: 14px;
}

.content_header_note {
	background-color: #985450;
	font-family: Poppins, Sans-Serif;
	font-size: 14px;
}

.content_header_info {
	background-color: #222;
	font-family: Poppins, Sans-Serif;
	font-size: 16px;
}

.content_header_title {
	background-color: #111;
	font-size: 22px;
}

.content_header {
	width: 832px;
	border-radius: 5px;
	margin-bottom: 10px;
	text-align: center;
	padding: 10px;
}

.content_divider {
	height: 2px;
	width: 100%;
	border: 0px;
	background-color: #4d1313;
	margin-top: 10px;
	margin-bottom: 10px;
}

.content_block {
	position: relative;
	font-size: 16px;
	margin-left: 10px;
	margin-right: 10px;
}

.content_alert {
	padding: 10px;
	text-align: center;
	background-color: #632a2a;
	border-radius: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.content_error {
	color: #ff2;
	padding: 10px;
	text-align: center;
	background-color: #4b2020;
	font-family: Poppins, Sans-Serif;
	border-radius: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.fine_print {
	font-size: 14px;
	font-family: Poppins, Sans-Serif;
	line-height: 20px;
}

.hero_image {
	display: block;
	border: 4px solid #3d1919;
	border-radius: 5px;
	width: 844px;
	margin-top: 10px;
	margin-bottom: 20px;
	transition: filter 1s;
}

.hero_image:hover {
	filter: contrast(1.2) brightness(1.2);
}

/* ============================================================================================================================== */
/* Form stuff. */
/* ============================================================================================================================== */

.form_row {
	position: relative;
	width: 100%;
	display: flex;
	align-items: top;
}

.form_label {
	position: relative;
	display: inline-block;
	font-size: 12px;
	padding: 4px;
	margin-top: 9px;
}

.form_label_fixed {
	width: 150px;
}

.form_button, .form_select, .form_input, .form_textarea {
	position: relative;
	border-bottom: 2px solid #3d1919;
	border-right: 2px solid #3d1919;
	border-left: 0px;
	border-top: 0px;
	margin-top: 10px;
	background-color: #555;
	color: #FFF;
	font-family: LithosPro;
	outline: none;
	padding: 2px;
	border-radius: 3px;
	transition: background-color 0.20s ease-in-out;
}

.form_select:focus, .form_input:focus, .form_textarea:focus {
	color: #FDD;
	background-color: #4d1313;
}

.form_button:active {
	border-top: 2px solid #3d1919;
	border-left: 2px solid #3d1919;
	border-right: 0px;
	border-bottom: 0px;
}

.form_button:hover, .form_select:hover, .form_input:hover, .form_textarea:hover {
	background-color: #6f3434;
}

.select_option {
	background-color: #444;
	color: #FFF;
	font-size: 14px;
}

.select_option_tip {
	background-color: #383838;
	color: #3B3;
	font-size: 12px;
}

.game_select, .theme_select, .addon_select {
	font-size: 20px;
	width: 250px;
}

.limit_select {
	font-size: 20px;
}

.player_input, .region_input, .password_input {
	font-size: 14px;
}

.option_select {
	font-size: 14px;
	width: 90px;
}


.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: 12px;
	padding: 4px;
	margin-top: 9px;
}

.form_checkbox + label span {
	display: inline-block;
	position: relative;
	background-color: #350d0d;
	border: 2px solid #4d1313;
	border-radius: 5px;
	height: 4px;
	width: 18px;
	height: 10px;
	bottom: 0px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 0px;
}

.form_checkbox:checked + label span {
	background-color: #F00;
}

/* ============================================================================================================================== */
/* Generic sheet stuff. */
/* ============================================================================================================================== */

.sheet_main {
	border: 4px solid #3d1919;
	border-radius: 5px;
}

.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 #922;
	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 {
	background-color: #381b1b;
	border-color: #381b1b;
}

.sheet_row_odd {
	background-color: #421f1f;
	border-color: #421f1f;
}

/* ============================================================================================================================== */
/* Game option stuff */
/* ============================================================================================================================== */

.game_option_tag {
	position: relative;
	padding-left: 7px;
	padding-right: 7px;
	padding-bottom: 1px;
	padding-top: 1px;
	border-radius: 10px 10px 0px 0px;
	background-color: #664f57;
	border: 1px solid #8e6f7a;
	color: #fff;
	font-size: 12px;
	height: 16px;
	margin-right: 4px;
	transition: padding-bottom 0.2s ease-in;
}

.game_option_tag:hover {
	padding-bottom: 12px;
	background-color: #5e3544;
	border-color: #5e3544;
	z-index: 9;
}

.game_option_tag .option_tooltip {
	visibility: hidden;
	position: absolute;
    top: 15px;
	left: -1px;
	border-radius: 0px 5px 5px 5px;
	border-bottom: 1px solid #1e0f15;
	border-right: 1px solid #1e0f15;
	text-align: center;
	background-color: #5e3544;
	font-size: 14px;
	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;
}
