@font-face {
	font-family: 'Caligula';
	src: url('/common/Caligula.eot');
	src: url('/common/Caligula.eot?#iefix') format('embedded-opentype'),
		 url('/common/Caligula.ttf') format('truetype');
}

@font-face {
	font-family: 'SharpCurve';
	src:url('SharpCurve.ttf.woff') format('woff'),
		url('SharpCurve.ttf.svg#SharpCurve') format('svg'),
		url('SharpCurve.ttf.eot'),
		url('SharpCurve.ttf.eot?#iefix') format('embedded-opentype'); 
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'EldritchNouveau';
	src:url('EldritchNouveau-Regular.otf'),
		url('EldritchNouveau-Regular.ttf'); 
	font-weight: normal;
	font-style: normal;
}

body {
	margin: 0;
        padding: 0;
        font-family: Georgia, serif;
        color: #fdf5e2;
        background-color: #000000;
}

div.pagetitle.pt_short {
    text-align: center;
    margin-top: -50px;
}

#debug {
	color: #404050;
	font-size: 0.75em;
	position: absolute;
	top: 0;
	right: 1em;
	z-index: 1;
}
.hide {
	display: none;
}

img {
	border: 0;
}

a:link {
	color: #CCCCE6
}

a:visited {
	color: #C0C0E0
}

a:active {
	color: #C0C0FF
}

#family {
/*        top: 290px;
        left: 20px;
        position: absolute;
	*/
}

#family a {
	margin: 0 !important;
	padding: 1em 0 !important;
}

li.bad {
    color: #ffbfbf;
}

li.good {
    color: #70b85e;
}

tr.active_paused  {
	color: #808090;
}

table.reflow-vertical tr td {
        display: block   
}

div.messageContent blockquote p {
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 1px;
    padding-left: 5px;
}

div.messageContent {
    padding: 10px;
}

.message-content {
	padding: 0.5em 0.5em 0em 0.5em;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
}

.message-content > h5 {
	margin-bottom: 0.2em;
}

.message-frame {
	margin-bottom: 1em;
}

.message-title {
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: underline;
}
.message-subtitle {
	font-size: 0.9em; 
	color: #A0C0F0;
}

.message-age {
	font-size: 0.9em;
	font-style: italic;
}

.message-actions {
	font-size: 0.9em;
	font-weight: bold;
	margin-left: 0.5em;
	margin-top: 0.25em;
}

.message-actions-inner {
	background-color: transparent;
	border-radius: 10px;
	padding: 0.4em;
	padding-top: 0.65em;
	line-height: 2.2em;
}

.message-attachments {
	font-size: 75%;
}

.message-attachments a {
	color: white;
	text-decoration: none;
}

.message-attachments a:hover {
	text-decoration: underline;
}

.titleSignature {
	display: inline-block;
}

.heraldrySignature {
	position: absolute;
	right: 0px;
	bottom: 0px;
}

.signature-heraldry {
	position: absolute;
	right: 0px;
	bottom: 0px;
}

h4.message-title {
	display: inline;
}
.standingorders {
	background-color:#401010;
	padding: 0em 1em 1em 1em;
	margin-bottom: 2em;
}
.standingorders > h4 {
	font-size: 1.5em;
	padding: 0.5em 0em;
}
.standingorders > p {
	padding:2px 10px;
	margin:0px;
}
.marshalWarning {
	font-style: italic;
}

li {
	padding-bottom: 1em;
}

table.tabtable, table.dataTable {
	background-color: #402C15;
}

table.tabtable th, table.dataTable th {
	padding: 2px 1em;
	background-color: #24190C;
}

table.tabtable td, table.dataTable td {
	padding: 2px 1em;
}

table.tabtable tr.myarmy, table.dataTable tr.myarmy {
	background-color: #40382F;
}

table.tabtable tr.even, table.dataTable tr.even {
	background-color: #4C3519;
}

table.tabtable tr.sums, table.dataTable tr.sums,td.sums,th.sums {
	background-color: #4C3519;
	color: #ddd;
	font-size: 90%;
}

.Letter {
	background-color: black;
	color: #FFFFFF;
}

.Roleplay {
	background-color: #1A1A07;
	color: #FFFFFF;
}

.Roleplay.private {
	border: 1px solid maroon;
}
.Roleplay.public {
	border: 1px solid lightgray;
}
.Roleplay.invite {
	border: 1px solid darkgreen;
}
.rpInteract {
	display: block;
	text-align: center;
	margin-top: -15px;
	margin-left: auto;
	margin-right: auto;
	height: 1em;
	line-height: 1em;
	font-size: 90%;
	background-color: #1A1A07;
	width: 16em;
	border-radius: 5px;
}
.Roleplay.invite .rpInteract {
	border: 1px solid darkgreen;
}
.Roleplay.public .rpInteract {
	border: 1px solid lightgray;
}
.Roleplay.private .rpInteract {
	border: 1px solid maroon;
}

.Report {
	background-color: #002030;
	color: #FFFFFF;
}

.Request {
	background-color: #082412;
	color: #FFFFFF;
}

.Out-of-Character {
	background-color: #323232;
	color: #FFFFFF;
}

.Orders {
	background-color: #240000;
	color: #FFFFFF;
}

.Personal {
	border-left: 3px double slategray;
	border-right: 3px double slategray;
	padding-left: 10px;
	padding-right: 10px;
}

.Event {
	background-color: #000000;
	color: #FFFFFF;
}

.RP-Event {
	background-color: #756932;
	color: #FFFFFF;
}

.AdminMsg {
	background-color: #404000;
	color: #FFFFFF;
}

.TitanStatement {
	background-color: #894E30;
	color: #FFFFFF;
}

/* Start tall tabs bar */

	/* nav-wrap */
	#nav-wrap {
		position: relative;
	}

	/* menu icon */
	#menu-icon {
		color: #000;
		width: 42px;
		height: 30px;
		background: #ecebeb url(/common/img/menu-icon.png) no-repeat 10px center;
		padding: 8px 10px 0 42px;
		cursor: pointer;
		border: solid 1px #666;
		display: block; /* show menu icon */
	}
	#menu-icon:hover {
		background-color: #f8f8f8;
	}
	#menu-icon.active {
		background-color: #bbb;
	}
	
	/* main nav */
	#nav {
		clear: both;
		position: absolute;
		top: 38px;
		width: 160px;
		z-index: 10000;
		padding: 5px;
		background: #f8f8f8;
		border: solid 1px #999;
		display: none; /* visibility will be toggled with jquery */
	}
	#nav li {
		clear: both;
		float: none;
		margin: 5px 0 5px 10px;
		text-decoration: none !important;
		padding: 3px !important;

	}
	#nav a, 
	#nav ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0 !important;
		padding-bottom: 0 !important;
		color: #666;
		border: none;
		font-weight: bold;
		text-decoration: none !important;

	}
	#nav a:hover, 
	#nav ul a:hover {
		background: none;
		color: #000;
	}
	
	/* dropdown */
	#nav ul {
		width: auto;
		position: static;
		display: block;
		border: none;
		background: inherit;
	}
	#nav ul li {
		margin: 3px 0 3px 15px;
	}


/* End tall tabs bar */

#Content {
	clear: both !important;
	padding-right: 0;
	margin: 2em auto;
	width: 98%;
	display: block;
}

.error,.flash-error {
	color: #fee;
	background-color: #411;
	padding: 0.5em;
	margin: 1em;
}

.notice,.flash-notice {
	background-color: #001133;
	border-bottom: 2px solid #445566;
	border-top: 2px solid #445566;
	color: #BBEEBB;
	font-style: italic;
	margin-bottom: 1em;
	margin-top: 1em;
	padding: 0.5em 1.5em;
}

.warning {
	background-color: #331100;
	border-bottom: 2px solid #664422;
	border-top: 2px solid #664422;
	color: #FFBBBB;
	font-style: italic;
	margin-bottom: 1em;
	margin-top: 1em;
	padding: 0.5em 1.5em;
}

.loginform {
	margin: 2em 0;
	text-align: left;
}

.title {
	text-align: left;
}

.reminderlink {
	text-align: left;
	padding-left: 12.5em;
}

#bmtime {
	text-align: left;
}

#status {
	clear: both;
	margin: 0;
	line-height: 1.1;
	/*position: fixed;
	bottom: 0;
	right: 0;*/
	width: 100%;
	/*padding-left: 17%;*/
	background-color: #000000;
/*	z-index: 3;*/
}

#minimap iframe {
	display: block;
	height: 300px;
	width: 300px;
}

#minimap td>img {
	display: block;
}

#minimap > tbody > tr:nth-child(2) > td {
	text-align: center;
	padding: 6px 0;
	color: #000;
	font-weight: bold;
}

#minimap + small {
	margin-left: 2em;
}

#map text {
	font-family: "Caligula", Georgia, Times, Serif;
	color: #fff;
	text-shadow:0px 0px 2px #CCDDFF
}

#playerInfoCards {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.playerInfoCard {
	position: relative;
	background-color: #362d0e;
	font-size: 0.9em;
	border: 6px outset #5e4f18;
	margin: 0.5em;
	border-radius: 15px;
}

#playerInfoCard div {
	margin: 0.2em;
}

.playerInfoCard p > a,
#userdata-playerinfo p > a {
	color: white;
	font-size: 1.4em;
}

#heraldryCard {
	width: 150px;
}

#publicHeraldryCard {
	float: left;
	height: auto;
	width: auto;
	padding: 1em;
	text-align: center;
}

#publicHeraldryCard > * {
	margin: 0;
}

p#deleteAccount > a {
	color: red;
}

#userdata-playerinfo {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.playerInfoCard > *,
#userdata-playerinfo > * {
	margin: 1em;
}

#userdata-playerinfo > dl {
	list-style: none;
}

#playerInfo dt,
#userdata-playerinfo dt {
	font-family: Caligula, serif;
	font-weight: normal;
}

#playerInfoCards > div:nth-child(1n+2),
#userdata-playerinfo > div:nth-child(1n+2),
#socialMedia {
	font-family: Caligula, serif;
	text-align: center;
}

#discordCard > * {
	margin: 0;
}

#donated {
	color: #FFD700;
}

#donated > span {
	display: block;
	font-size: 0.8em;
}

#pleaseDonate {
	display: block;
	margin-top: 0.5em;
}

#playerInfo dd,
#userdata-playerinfo dd {
	margin-bottom: 0;
}

#socialMedia > * {
	display: block;
	margin: 0.5em;
}

#socialMedia > iframe {
	display: revert;
}

#volunteer {
	max-width: 50em;
	padding: 0.3em;
	background-color: #59370b;
	border-radius: 1em;
	text-align: center;
	margin: 0.2em;
}

#gmMessageContainer {
	text-align: center;
}

#gmMessage {
	text-align: left;
	background-color: #584f27;
	padding: 1em;
}

#familyInfoBox {
	background-image: url(/common/dark_embroidery.png);
	border-radius: 2em;
	padding-top: 0.1em;
	text-align: center;
	padding-bottom: 0.3em;
}

#limitMoreInfo {
	font-size: 60%;
}

#CreateCharacter {
	margin-top: 0.3em;
}

.charCard.adventurer {
	background-image: url(/common/rockywall-bronze.png);
	border:6px outset #59370b;
}

.charCard {
	position: relative;
	background-image: url(/common/dark_embroidery-gold.png);
	min-width: 16em;
	max-width: 22em;
	height: 13em;
	border:6px outset #5e4f18;
	margin: 0.5em;
	border-radius: 15px;
	color: #FFFAEA;
	
}

.charCard.paused {
	background-image: url(/common/rockywall.png);
	border:6px outset #5e4f18;
}

.charCard.hasNew {
	border: 6px outset #F8E71B;
}

.charName {
	position: absolute;
	top: 3px;
	left: auto;
	right: auto;
	width: 100%;
	text-align: center;
	font-size: 175%; 
	font-family: 'Caligula';
}

.charClass {
	position: absolute;
	top: 2.6em;
	width: 100%;
	text-align: center;
	font-size: 75%;
	color: #d0cab9;
}

.charWorld {
	position: absolute;
	top: 3px;
	left: 3px;
	font-size: 75%;
	color: #742b0b;
}

.charRealmIcon {
	position: absolute;
	top: 7px;
	right: 10px;
}

.charRealm {
	position: absolute;
	top: 3em;
	width: 100%;
	text-align: center;
}

.charLocation {
	position: absolute;
	top: 4.2em;
	width: 100%;
	text-align: center;
}

.charNotoriety {
	position: absolute;
	top: 7.5em;
	width: 100%;
	text-align: center;
}

.charMoney {
	position: absolute;
	top: 6.5em;
	width: 100%;
	text-align: center;
}

.charHoursNews {
	position: absolute;
	top: 6.5em;
	left: 1.5em;
	right: 1.5em;
	bottom: 6em;
	text-align: center;
}

.charStatus {
	position: absolute;
	top: 7em;
	left: 1.5em;
	right: 1.5em;
	bottom: 2.5em;
	text-align: center;
}

.charHoursNews {
	position: absolute;
	top: 5.5em;
	left: 1.5em;
	right: 1.5em;
	bottom: 5.5em;
	text-align: center;
}

.charActions {
	display: table-cell;
	position: absolute;
	top: 8.5em;
	left: 1.5em;
	right: 1.5em;
	bottom: 1.5em;
	text-align: center;
	vertical-align: bottom;
	z-index: 5;
}

.newsBadge {
	position: absolute;
	top: 0.1em;
	left: 0.2em;
	height: 3.8em;
	width: 3.4em;
	background-repeat: no-repeat;
	text-align: center;
	font-size: 0.76em;
	padding-top: 1em;
}

.newsBadge.hasNew {
	background-image: url(/common/scroll-gold.svg);
	color: red;
}

.newsBadge.hasMarked {
	background-image: url(/common/scroll-blue.svg);
	color: black;
}

.isAdventurer,
.isPaused,
.charWorldId {
	display: none;
}

.govDetails {
	color: cadetblue;
}

.cannotAction {
	color: #808090;
}

#GovSystem {
	display: flex;
	flex-direction: column;
}

#GovSystem > div:nth-of-type(2) {
	display: flex;
	margin: 0;
}

#GovSystem > div {
	padding: 1em;
	margin: 0.5em;
}

#GovSystem div {
	text-align: center;
}

#GovSystem h3 {
	margin-top: 0;
}

#realmTheme {
	background-color: #323232;
	border-radius: 1em;
}

#realmTheme h3 {
	margin-top: 0;
}

#realmTheme > form > label {
	/*margin: 1em;
	margin-top: 0;
	display: inline-block;*/
}

#realmTheme fieldset {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-content: space-around;
	border: none;
}

#realmTheme select,
#realmTheme input {
	display: block;
}

#realmTheme fieldset div:nth-of-type(4n) {
	break-after: always;
}

#realmTheme fieldset > div {
	display: inline-block;
}

#crownHierarchy {
	display: inline-block;
	background-color: #0e1736;
	border: medium solid #454f68;
	border-radius: 1em;
	padding: 1em;
	margin: 0.5em;
}

#crownHierarchy p {
	text-align: center;
	margin-top: 0;
}

#crownHierarchy img, .duchyHierarchy img {
	display: block;
	margin: auto;
	width: 5em;
}

.duchyHierarchy {
	display: inline-block;
	border-radius: 2em;
	background-color: #0e1736;
	border: medium solid #454f68;
	padding: 0.5em;
	margin: 0.5em;
}

.duchyHierarchy p, .duchyHierarchy h4, .duchyHierarchy h5 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 0.5em;
}

.dukeHierarchy {
	display: inline-block;
	float: left;
	background-color: #0d372e;
	border: medium solid #93b5b8;
	border-radius: 1em;
	padding: 0.5em;
}

.regionHierarchy {
	display: inline-block;
	float: left;
	background-color: #0d372e;
	border: medium solid #93b5b8;
	border-radius: 1.5em;
	padding: 0.5em;
	margin: 0.1em;
}

.regionHierarchy h5 {
	font-size: 1em;
	margin-bottom: 0;
}

.nobleHierarchy {
	display: inline-block;
	float: left;
	background-color: #372c0f;
	border: medium solid #50472c;
	border-radius: 1em;
	padding: 0.5em;
	margin: 0.5em;
}

#titanLink {
	margin: 0;
	background-color: #003;
	border-radius: 1.2em;
	max-width: 100vw;
	padding: 0.5em;
	padding-top: 1.2em;
	text-align: center;
	position: relative;
}

#titanNewIssues {
	position: absolute;
	top: -0.5em;
	left: 1em;
	padding: 0.3em 0.6em;
	background-color: red;
	border-radius: 0.7em;
	border: 1px white solid;
}

#titanOpenIssues {
	position: absolute;
	top: -0.5em;
	left: 4em;
	padding: 0.3em 0.6em;
	background-color: white;
	color: #003;
	border-radius: 0.7em;
	border: 1px #003 solid;
}

#hinterlandsBox {
	background-color: #2E73F3;
	color: white;
	border-radius: 1.2em;
	width: 23em;
	padding-bottom: 1em;
	padding-top: 0.2em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: center;
}

#hinterlandsBox h3 {
	padding-bottom: 0.7em;
}

#mentorForum {
	background-color: #003300;
	margin: 0.4em;
	padding: 0.4em;
	border-radius: 2em;
	max-width: 90vw;
}

#mentorForum > p {
	margin: 0.2em;
	padding-left: 1em;
}

.newsticker {
	margin: 1em;
	max-width: 100vw;
	padding: 0.5em;
	border-top: 1px solid #406090;
	background-color: #081620;
}

div.newsticker h4 {
	text-decoration: none;
}

div.newsticker span.left {
	color: #f0f0f0;
	margin-bottom: 5px;
	text-decoration: underline;
	font-size: 120%;
}

div.newsticker span.right {
	font-size: 80%;
	color: #d0d0d0;
}

form.inline > button {
	float: left;
}

.oocNote {
	background-color: gray;
	color: #900;
	font-weight: bold;
	padding: 1em;
	border-radius: 1em;
}

.position_changed {
	margin: 0;
}

.content-warning {
	border: 4px outset goldenrod;
	cursor: pointer;
}

.content-warning .warning-header {
	margin-top: 0.2em;
}

.warn-message .message-body {
	display: none;
}
#GMStuff {
	max-width: 30vw;
	border-radius: 2em;
	padding-top: 0.1em;
	text-align: center;
	padding-bottom: 0.3em;
	margin: 0.5em 0em;
	background-image: url(/common/dark_embroidery-red.png);
}

/* Override for DataTables */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	background-color: white;
}
/* Overrides for jQueryUI */
.ui-widget, .ui-widget button {
	font-family: Palatino, "Times New Roman", Times, serif;
}
.ui-widget-shadow {
	box-shadow: 2px 4px 5px #C59C60;
}