.hidden {display: none;}
body {
	background-color: #303030;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

a, a:visited {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

a:focus,
a:hover {
	color: #f00;
}

a.longlink {
	word-break: break-all;
}

table th {
	text-align: left;
}

[href^="http://"]::after,
[href^="https://"]::after {
	content: '(external link)';
	display: inline-block;
	width: .7em;
	height: .7em;
	text-indent: .7em;
	white-space: nowrap;
	overflow: hidden;
	background-image: url(../images/external.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	margin-left: .1em;
}

.page-title {
	padding: 10px;
	border-bottom: 1px solid #909090;
}

.wi_full { width: 100%; }

.is-hidden { display: none; }

.w-40 { width: 40%!important; }

.lh-mic {line-height: 0.5em!important; }

.text-elip { 
	overflow:hidden!important;
	text-overflow: "."!important;}

div#frame {
	position: relative;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

div#topbg {
	
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 143px;
}

div#main {
	position: relative;
	padding: 0px;
	margin: 0px;
}

div#header {
	background-color: #202020;;
	background-image: url("../images/header2.png");
	background-repeat: no-repeat;
	background-position: center; 
	padding: 10px 0;
	height: 180px;
}

div#content {
	padding: 10px;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
	margin-bottom: 10px;
}

div#footer {
	padding: 10px;
	background-color: #375a7f !important;
	margin: 0px;
	text-align: center;
}
div#footer a {
	color: rgba(255,255,255,.6);
}
div#footer a:hover,
div#footer a:focus {
	color: rgba(255,255,255,1);
}

div.fs_form_wrapper {
	margin: auto;
	padding: 20px;
	background-color: #404040;
	box-shadow: 5px 5px 5px #101010;
}

div .login-page input[required] {
	border: 0px;
	box-shadow: 2px 2px 1px #202020;
}

.fielderror input {
	background-color: #ffaaaa;
}

.fs_element.remember {
	width: 150px;
} 

#explanation p {
	padding: 1px 6px;
	text-align:justify;
}

div.checkbox {
	margin-top: 20px;
	top: 0px;
	bottom: 0px;
}
div.checkbox label {
	padding-left:20px;
	display:block;
}

div.checkbox label input {
	margin-left:-20px;
	display:block;
	float: left;
}

#actions {
	margin-top: 20px;
}

#info {
	text-align: center;
	padding: 5px;
	margin: 5px;
	font-weight: bold;
	word-wrap: anywhere;
}

#info.error {
	background-color: #600;
	color: #f00;
	border: 2px solid #f00;
}

#info.success {
	background-color: #060;
	color: #0f0;
	border: 2px solid #0f0;	
}

#header h1 {
	color:#d46a6a;
	text-align:center;
	margin: 0px;
	margin-top: 25px;
}

#header h1 img {
	width: auto;
	max-height: 123px;
	}

.roletitle {
	cursor: help;
}

.help {
	cursor: help;
}

.btn_option > a,
.btn_option > a > button {
	display: block;
	width: 100%;
}
.optionstable {width: 100%;}

#editform > label {
	display: block;
	margin: 10px 0px;
}

.settings textarea {
	width: 99%;
}

.optionstable tr:hover {
	background-color: #222;
	cursor: pointer;
}

ul#roles,
ul#groups {
	list-style: none;
	padding: 0px;
	margin-top: 5px;
}
.warning {color: red; font-weight: bold;}
.apptooltip {
	position: relative;
	display: inline-block;
	color: #fff;
	margin-left: 4px;
	background-color: #500;
	width: 20px;
	height: 20px;
	text-align: center;
	border-radius: 10px;
}

.apptooltip .tooltiptext {
	padding: 10px;
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: left;
	border-radius: 6px;
	padding: 5px 10px;
	font-size: 0.7em;
	position: absolute;
	z-index: 1;
}

.apptooltip:focus .tooltiptext,
.apptooltip:hover .tooltiptext {
	visibility: visible;
}
.option-fields {
	margin-bottom: 5px;
}
#modinfo {
	display: none;
}
#modimage {
	float: left;
	margin-right: 10px;
	width: 200px;
	height: 200px;
}
#modimage img {
	max-width: 200px;
	max-height: 200px;
}
#moddescription {
	font-size:0.6em;
	overflow-y: scroll;
	max-height: 200px;
	min-height: 200px;
}

#msgarea {
	display: none;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 100px;
	margin-left: 20%;
	margin-right: 20%;
	background-color: #c08f00;
	border: 1px solid #ffcb34;
	padding: 5px;
	text-align: center;
}
#msgarea.valid {
	background-color: #005f08;
	border: 1px solid #34ff45;	
}
#msgarea.invalid {
	background-color: #5f0000;
	border: 1px solid #ff0000;	
}
.row.hov:focus,
.row.hov:hover {
	background-color: #222;
}

.paged-active {
	display: flex!important;
}

div .login-page input[type="password"].form-control.is-invalid, 
div .login-page input[type="password"].form-control:invalid,
div .login-page input[type="email"].form-control.is-invalid, 
div .login-page input[type="email"].form-control:invalid {
		background-image: none!important;
	}