.editable-input {
	flex: 4 auto;
}

.editable-buttons {
	width: 80px;
	flex: 1;
}

.toggle {
	display: inline;
}

.hidden {
	/*display: none;*/
	visibility: hidden;
}

.description p {
	margin: 2px 0;
}

.description p:last-child {
	margin-bottom: 10px;
}

.table-container {
	overflow-y: auto;
}

tr>th:first-child, tr>td:first-child {
	position: sticky;
	left: 0;
	background-color: white;
}

.dl-horizontal dt {
	float: left;
	font-weight: normal;
	font-style: italic;
	width: 100px;
	clear: left;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-style: italic;
}

.dl-horizontal dd {
	margin-left: 100px;
}

#wrapper {
	padding-left: 240px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#wrapper.toggled {
	padding-left: 0;
}

#sidebar-wrapper {
	padding-top: 10px;
	z-index: 1000;
	position: fixed;
	width: 240px;
	left: 240px;
	margin-left: -240px;
	top: 50px;
	bottom: 20px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	overflow-y: none;
	padding: 10px;
	background-color: white;
	padding: 10px;
	-webkit-transition: all 0.5s ease;
}

#side-nav {
	height: 100%;
	padding: 20px 0;
}

#search-pane {
	height: 100%;
}

.sidebar-inner {
	overflow-y: auto;
	height: 100%;
}

#wrapper.toggled #sidebar-wrapper {
	width: 0px;
	padding: 0px;
	overflow: hidden;
}

#menu-switch {
	cursor: pointer;
	margin-top: -0.1em;
	margin-right: 10px;
	font-size: 2em;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}

#page-content-wrapper {
	/*padding: 15px;*/
	/*width: 100%;*/
	margin-left: 0px;
}

.sub-h {
	font-weight: bold;
}

.description {
	font-style: italic;
}

#header-container {
	position: fixed;
	min-height: 2rem;
	background-color: white;
	padding: 2px 10px;
	z-index: 1001;
	width: 100%;
}

#main-article {
	padding-top: 4.5em;
	min-height: 200px;
}

.img-container {
	margin: 0 auto;
	text-align: center;
}

.main-img {
	display: inline-block;
	margin: 7px;
}

.main-img a img {
	max-height: 250px;
}

.beast-image {
	max-width: 100%;
	margin-bottom: 10px;
}

.beast-caption {
	border-radius: 6px;
}

.biome-icon {
	width: 40px;
	height: 30px;
	margin-right: 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	margin-right: 10px;
}

.biome-filter .biome-icon {
	padding: 0px;
	margin-right: 5px;
	margin-bottom: 5px;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	float: left;
}

.biome-filter .biome-icon:hover {
	border: 1px solid #000000;
}

.icon-select .icon {
	position: relative;
	margin: 5px 0px 0px 5px;
	padding: 0px;
	width: 48px; /* sil */
	height: 48px; /* sil */
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	overflow: hidden;
	float: left;
}

#beast-filter {
	font-weight: normal;
}

label {
	font-weight: normal;
	margin-right: 4px;
	margin-bottom: 2px;
}

.main-board {
	background-color: white;
	padding: 24px;
	border: 1px solid gray;
	font-size: 14px;
	box-shadow: 0px 4px 8px 0px rgba(13, 70, 156, 0.05);
}

.filter-clear {
	cursor: pointer;
	margin-left: -7px;
	margin-right: 10px;
	font-weight: bold;;
	color: red;
}

.search-list {
	margin-top: 10px;
}

#inner-table-data {
	overflow-y: auto;
	max-height: 450px;
}

#inner-table thead>tr>th.sort {
	padding-right: 30px;
}

#inner-table thead>tr>th {
	cursor: pointer;
	position: relative;
}

#inner-table thead>tr>th.sort:after {
	position: absolute;
	bottom: 8px;
	right: 8px;
	display: block;
	font-family: 'FontAwesome';
}

#inner-table thead>tr>th.sort.asc:after {
	content: "\f15d";
	/* sort-by-attributes */
}

#inner-table thead>tr>th.sort.desc:after {
	content: "\f15e";
	/* sort-by-attributes-alt */
}

.person-click {
	margin: 0 3px;
}

.right-alert {
	z-index: 10000;
	position: fixed;
	top: 30px;
	right: 30px;
	max-width: 350px;
	width: 350px;
}

.alert-dismissible, .dismissible {
	cursor: pointer;
}

.selected-list {
	padding: 10px;
	list-style: none;
	margin: 10px;
}

.controls-line {
	margin-top: 10px;
}

.modal-body {
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}

.list-group-item {
	padding: 10px 10px;
}

.list-group-item.active a, .list-group-item.active .clickable {
	color: yellow;
}

.items-container {
	width: 368px;
	max-width: 368px;
}

.item-container {
	display: inline-block;
	position: relative;
	border-color: black;
	border-style: solid;
	border-width: thin;
	margin: 1px;
	cursor: pointer;
}

.items-row {
	width: 322px;
	display: block;
}

.items-left {
	width: 46px;
	display: inline-block;
	vertical-align: top;
}

.items-center {
	width: 230px;
	height: 264px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}

.items-right {
	width: 46px;
	display: inline-block;
	vertical-align: top;
}

.item-icon {
	width: 38px;
	height: 38px;
	margin: 2px;
}

.item-empty {
	display: inline-block;
	width: 46px;
}

.item-hidden {
	display: none;
	background-color: white;
	z-index: 1000;
	position: absolute;
	top: 50px;
	width: 300px;
	padding: 5px;
	left: -50px;
	border-color: black;
	border-style: solid;
	border-width: thin;
	margin: 1px;
	cursor: default;
}

.item-count, .item-count-full {
	cursor: pointer;
	pointer-events: none;
	position: absolute;
	font-weight: 500;
	font-size: 12px;
	right: 2px;
	bottom: 2px;
	color: red;
	line-height: 13px;
	text-shadow: -1px 1px 0 #FFF, 1px 1px 0 #FFF, 1px -1px 0 #FFF, -1px -1px 0 #FFF;
	pointer-events: none;
}

.item-count-full {
	text-align: center;
	left: 2px;
}

.item-text {
	display: block;
	background-color: white;
}

.item-text, .item-hidden {
	font-style: italic;
	font-size: 0.9em;
	padding-left: 3px;
}

.item-icon-accept {
	border-width: 1px;
	border-style: dotted;
	border-color: black;
	opacity: 1 !important;
}

.item-icon-accept.item-icon-accept-hover {
	border-color: red;
	border-style: double;
	box-shadow: 0px 12px 22px 1px #333;
}

.item-targets {
	background-color: white;
	display: none;
	position: fixed;
	top: 0em;
	left: 0em;
	padding: 5px;
	z-index: 1001;
}

.item-targets .item-container {
	width: 60px;
	height: 60px;
	text-align: center;
	overflow: hidden;
}

.item-targets .item-container .item-text {
	display: block;
	color: black;
	font-size: 10px;
}

.item-targets .item-container .item-icon {
	opacity: 0.4;
	background-color: white;
}

@media only screen and (max-width: 800px) {
	.item-targets {
		width: 100%;
	}
}

.ui-draggable-dragging {
	z-index: 99999999;
	box-shadow: 0px 12px 22px 1px #333;
	position: fixed !important;
}

.map-area-container {
	overflow: hidden;
	display: inline-block;
}

.map-area {
	display: inline-grid;
}

.map-tile-row {
	display: flex;
	font-size: 0;
}

.map-tile-container {
	width: 50px;
	height: 50px;
	position: relative;
	font-size: 0;
	display: inline-block;
}

.map-border {
	z-index: 2;
	width: 100%;
	height: 100%;
	position: absolute;
	background-size: cover;
	pointer-events: none;
}

.bt-1 {
	border-top: medium red solid;
}

.bb-1 {
	border-bottom: medium red solid;
}

.br-1 {
	border-right: medium red solid;
}

.bl-1 {
	border-left: medium red solid;
}

.bt-2 {
	border-top: medium blue solid;
}

.bb-2 {
	border-bottom: medium blue solid;
}

.br-2 {
	border-right: medium blue solid;
}

.bl-2 {
	border-left: medium blue solid;
}

.bt-3 {
	border-top: medium yellow solid;
}

.bb-3 {
	border-bottom: medium yellow solid;
}

.br-3 {
	border-right: medium yellow solid;
}

.bl-3 {
	border-left: medium yellow solid;
}

.bt-4 {
	border-top: medium green solid;
}

.bb-4 {
	border-bottom: medium green solid;
}

.br-4 {
	border-right: medium green solid;
}

.bl-4 {
	border-left: medium green solid;
}

.bt-5 {
	border-top: medium purple solid;
}

.bb-5 {
	border-bottom: medium purple solid;
}

.br-5 {
	border-right: medium purple solid;
}

.bl-5 {
	border-left: medium purple solid;
}

.fog {
	opacity: .7;
}

.fog:hover {
	opacity: 1;
}

.map-title {
	font-size: 14px;
	border: 1px black solid;
	padding: 4px;
	min-height: 50px;
	width: 100%;
}

.map-tile>* {
	user-select: none !important;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

.map-tile {
	width: 100%;
	height: 150%;
	position: absolute;
	bottom: 0px;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}

.map-tile:hover {
	opacity: 1 !important;
}

.map-tile-container:hover {
	opacity: 1 !important;
	border-width: 1px;
	border-color: white;
	border-style: solid;
}

.map-tile-over {
	z-index: 1;
	width: 100%;
	height: 150%;
	position: absolute;
	top: -50%;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	pointer-events: none;
}

.map-text {
	z-index: 1000;
	font-size: 9px;
	background-color: white;
	height: 13px;
	position: absolute;
	top: 70%;
	width: 90%;
	left: 5%;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 2px;
	user-select: none !important;
}

.map-text a {
	cursor: pointer;
	color: red;
	pointer-events: auto;
	user-select: none !important;
}

.map-text:hover {
	font-size: 11px;
	background-color: white !important;
	text-overflow: inherit;
	white-space: inherit;
	overflow: hidden;
	width: 200%;
	height: auto;
	z-index: 100000;
	padding: 5px;
}

.map-text span {
	z-index: 10;
}

.map-legend-container {
	width: auto;
	float: right;
}

.map-selector-container {
	width: 30px;
	height: 30px;
	max-width: 30px;
	max-height: 30px;
	display: inline-block;
	position: relative;
	cursor: pointer;
	font-size: 0;
	opacity: 1;
}

.map-selector-container.active {
	border: red;
	border-style: solid;
	border-width: 2px;
	opacity: 1;
}

.map-tile-container.active {
	border: orange;
	border-style: solid;
	border-width: 2px;
	opacity: 1;
}

.map-selector-container.last, .map-tile-container.last {
	border: red;
	border-style: solid;
	border-width: 1px;
	opacity: .5;
}

.map-selector-tile {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	pointer-events: none;
}

.inner-loader-container {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
}

.inner-loader {
	position: absolute;
	background-color: rgba(255, 255, 255, 0.8);
	top: 0;
	left: 0;
	z-index: 100000;
	min-width: 100px;
	min-height: 100px;
}

.place-droppable-insert, .place-droppable-sort {
	display: block;
	width: 100%;
	height: 0px;
	border-width: thin;
	border-style: dashed;
	margin: 0;
	padding: 0;
	color: white;
}

.contact-item {
	border-bottom: 0.5px silver solid;
	padding-bottom: 3px;
}

.contact-droppable-sort, .log-droppable-sort {
	display: block;
	width: 100%;
	height: 0px;
	border-width: thin;
	border-style: dotted;
	margin: 0;
	padding: 0;
	color: white;
}

.droppable-insert-active {
	color: black;
}

.droppable-insert-hover {
	border: none;
	color: red;
	height: 1em;
}

.droppable-insert-hover:before {
	font-family: FontAwesome;
	content: "\f04b\f04b\f04b";
}
/*** DROPPABLE  IN ***/
.droppable-in-active {
	color: black;
	display: inline;
}

.droppable-in-active:before {
	font-family: FontAwesome;
	content: "\f149";
}

.droppable-in-hover {
	font-weight: bold !important;
	border-color: black !important;
	border: thin !important;
	border-style: solid !important;
	color: red !important;
}

/*** TEXT DROAPPBLES ***/
a.text-contact {
	color: blue;
}

a.text-place {
	color: purple;
}

a.text-place {
	color: orange;
}

.text-droppable-active {
	border: thin;
	border-style: dotted;
}

.text-droppable-hover {
	font-weight: bold !important;
	border-color: black !important;
	border: thin !important;
	border-style: solid !important;
	color: red !important;
}

.label>a {
	color: white;
}

.header-cell {
	display: inline-block;
	margin-right: 20px;
}

.arena-top {
	min-width: 650px;
	background-color: lightyellow;
	padding: 10px 5px;
	z-index: 100;
}

.arena-action {
	min-width: 650px;
	background-color: #d9534f;
	padding: 10px;
	color: white;
}

.arena-action .text-success {
	font-weight: 700;
}

.arena-action .text-warning {
	color: yellow !important;
	font-weight: 700;
}

.arena-action .text-danger {
	color: blue !important;
	font-weight: 700;
}

.badge a, .arena-action a {
	color: yellow !important;
}

.scroll-inner {
	height: 65vh;
	overflow-y: auto;
	overflow-x: hidden;
}

.selector-image {
	width: 200px;
}

.selector-image-container {
	width: 200px;
}

.selector-image-limited {
	max-width: 200px;
	max-height: 150px;
}

.form-check-label {
	display: flex;
	align-items: center;
}

.form-check-input {
	margin-top: 0;
	margin-right: 8px;
}

.selector-image-container2 {
	max-width: 150px;
	max-height: 50px;
	min-width: 150px;
	min-height: 50px;
	height: 50px;
	width: 150px;
	overflow: hidden;
}

.badge {
	white-space: break-spaces;
	/*margin-top: 2px;
	margin-bottom: 2px;*/
}

.modal-body-max {
	height: calc(90vh - 200px);
	overflow-y: auto;
}

.pipe:after {
	content: " | ";
}

.pipe:last-child:after {
	content: '';
}

.badge-close {
	margin-left: -2px !important;
	cursor: pointer;
	font-size: 12px;
	visibility: hidden;
}

.relation {
	margin-left: 6px;
	font-size: 13px;
	cursor: pointer;
	display: inline-block;
}

.relation-container>.relation-control {
	visibility: hidden;
}

.relation-container:hover>.relation-control {
	visibility: visible;
}

.relation-control {
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}

.tree-scroll {
	height: 75vh;
	overflow-y: auto;
}

.frac {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	letter-spacing: 0.001em;
	text-align: center;
}

.frac>span {
	display: block;
	padding: 0.1em;
}

.frac span.bottom {
	border-top: thin solid black;
}

.frac span.symbol {
	display: none;
}

.selected-arena-section {
	border: 2px solid #ffc107;
	box-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
	background-color: #4a4a4a !important;
}