@import url(//db.onlinewebfonts.com/c/763f49879b1190c843260a2f57e7826f?family=Conduit+ITC+Pro);

@font-face {
	font-family: "Conduit ITC Pro"; 
	src: url("./conduit_itc_light1.ttf") format('woff2'); 
}

@media print {
    .pageBreak {
        page-break-after: always;
    }
}

body
{
	font-family: "Conduit ITC Pro" !important;
	background-color: #bfbfbf;
}

.logo
{
	width: 100%;
}

#overlay 
{
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 2;
	cursor: pointer;
	text-align: center;
}

#overlayScreen
{
    /* A5 dimensions */
    width: 210mm;
    height: 148.5mm;

    margin: 0;
	display: block;
	/* width: 640px; */
	/* height: 480px; */
	background-color: #bfbfbf;
	color: #fff;
	border-radius: 16px;
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);	
	text-align: center;
}

.loginButton {
	background-color: #745fcb; /* Green */
	width: 99%;
	border: none;
	color: white;
	padding: 2px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
	margin: 2px 2px;
	-webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
	cursor: pointer;
	border-radius: 8px;
}

.loginbutton.enabled {
	background-color: #404040; 
	color: white; 
	border: 2px solid #ff0000;
}

.loginbutton.enabled:hover {
	background-color: #049459;
	color: white;
}

.loginbutton.disabled {
	background-color: #404040; 
	color: white; 
	border: 2px solid #ff0000;
	opacity: 0.6;
	cursor: not-allowed;
}

.navigation{	
	text-align: left;
}

.navbar{
	background-color: #f2f2f2;
	margin: 3px;
}

.topLogo{
	margin-bottom: 9px;
}

/* Dropdown Button */
.dropbtn {
    background-color: #cccccc;
    color: black;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #cccccc;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	text-align: left;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: #049459;
    color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #049459;
    color: white;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #cccccc;
}

ul.topnav li {float: left;}

ul.topnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
	border: 1px solid #000000
}

ul.topnav li.right {float: right;}

.content{
	 overflow="scroll";
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #3d5c5c; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	overflow: auto;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
	text-align: left;
    font-size: 16px;
    color: #fff !important;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #fff;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 18px;
    margin-left: 50px;
}

ul, menu, dir {
    display: block;
    list-style-type: disc;
    -webkit-margin-start: 0px;
    -webkit-padding-start: 20px;
}

ul.tree li {
    list-style-type: none;
    position: relative;
}

ul.tree li ul {
    display: none;
}

ul.tree li.open > ul {
    display: block;
}

ul.tree li a {
    text-decoration: none;
}

ul.tree li a:before {
    height: 1em;
    padding:0 .1em;
    font-size: .8em;
    display: block;
    position: absolute;
    left: -1.3em;
    top: .2em;
}

ul.tree li > a:not(:last-child):before {
    content: '+';
    padding: 8px 8px 8px 8px;
}

ul.tree li.open > a:not(:last-child):before {
    content: '-';
    padding: 8px 8px 8px 8px;
}

@media screen{
    ul.topnav li.right, 
    ul.topnav li {float: none;}
}
#login {
	position: fixed;
	display: none;
	background-color: rgba(0,0,0,0.5);
	z-index: 2;
	cursor: pointer;
	width: 50%;
	height: 50%;
	border-radius: 16px;
	left: 25%;
	top: 25%;
	right: 25%;
	bottom: 25%;
	vertical-align: middle;
}
#playerLogin {
	position: fixed;
	display: none;
	background-color: rgba(0,0,0,0.5);
	z-index: 2;
	cursor: pointer;
	width: 50%;
	height: 50%;
	border-radius: 16px;
	left: 25%;
	top: 25%;
	right: 25%;
	bottom: 25%;
	vertical-align: middle;
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

img.avatar {
  width: 20%;
  border-radius: 50%;
}

.container{
	position: relative;
	height: 100%;
}

.inputText, .inputPassword {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 1em;
}
 
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
::-webkit-scrollbar-thumb {
  background-color: #ff5050;
  border-radius: 12px;
  outline: 1px solid slategrey;
}

.factionAbilites
{
	text-align: left;
}

.AbilityTitle
{
	font-variant: small-caps;
	font-weight: bold;
	font-size: 24px;	
}

.textbox
{
	display: block;
}

.keyword
{
	display: inline;
	font-weight: bold;
	font-variant: small-caps;
}

select .keyword
{
	font-size: 15px;
	font-family: "Conduit ITC Pro";
	display: inline;
	font-weight: bold;
	font-variant: small-caps;
}

.ability
{
	display: inline;
	font-weight: bold;
	color: #3d5c5c;
	text-transform: uppercase;
}

.subtitle
{
	display: inline;
	font-style: italic;
}

.deprecated
{
	color: red;
	font-weight: bold;	
	font-style: italic;
}

.capital
{
	text-transform: uppercase;
}

.pBold
{
	display: inline;
	font-weight: bold;
}

table.nth-child th
{
	background-color: black;
	color: white; 
}

table.nth-child tr:nth-child(even)
{
	background-color: #3d5c5c;
	color: white;
}

table.nth-child .clickable:hover
{
	background-color: #eb4034;
	box-shadow: 0px, 0px, 32px, #eb4034;
	cursor: pointer;
}

table.nth-child tr:nth-child(odd)
{
	background-color: #ccc;
}

table.solid
{
    border-collapse: collapse;
    border: solid;
    border-width: 2px;
}

table.solid th
{
	background-color: black;
	color: white; 
    border: solid;
    border-width: 2px;
	border-color: black;
}

table.solid tr
{
    border: solid;
    border-width: 2px;
}

table.solid tr:nth-child(even)
{
	background-color: #fff;
}

table.solid tr:nth-child(odd)
{
	background-color: #ccc;
}

tr.link:hover
{
	cursor: pointer;
}

.button
{
	font-family: "Source Sans Pro", Verdana, Arial;
	background-color: #404040; 
    width: 200px;
	padding: 2px;
	border: 2px solid #ff0000;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 2px 2px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 8px;	
}

.smallbutton
{
	font-family: "Source Sans Pro", Verdana, Arial;
	background-color: #404040; 
	border: 2px solid #ff0000;
    color: white;
    text-align: center;
    display: block;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;	
}

.deadbutton
{
	font-family: "Source Sans Pro", Verdana, Arial;
	background-color: #bfbfbf; 
    width: 200px;
	padding: 2px;
	border: 2px solid #ffe6e6;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 2px 2px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 8px;	
}

.requisitionButton
{
	display: inline-block;
	width: 250px;	
	height: 25px;
	border: solid 2px black;
	border-radius: 15px 0px;
	background-color: white;
	color: black;
	text-align: center;
	font-size: 20px;
	font-family: "Conduit ITC Pro"; 
	font-weight: bold;	
	margin: 2px;
	vertical-align: middle;
}

.requisitionButton.notAvailable
{
	border: solid 2px darkgrey;
	background-color: lightgrey;
	color: darkgrey;
}

.txtFormatButton
{
	font-family: "Source Sans Pro", Verdana, Arial;
	background-color: #404040; 
    width: 32%;
	padding: 2px;
	border: 1px solid #ff0000;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;	
}

td.stat
{
	width: 50px;
	text-align: center;
}

td.battlerole
{
	width: 150px;
	text-align: left;
}

.button:hover
{
	box-shadow: 0px 0px 10px #3d5c5c;
    background-color: 3d5c5c;
}

.divSmallHalfTable
{
	width: 50%;
	height: 50%;
	margin: auto;
	overflow-y: auto;
}

.divMediumHalfTable
{
	width: 75%;
	height: 50%;
	margin: auto;
	overflow-y: auto;
}

.divSmallQuarterTable
{
	width: 50%;
	height: 25%;
	margin: auto;
	overflow-y: auto;
}

.divMediumQuarterTable
{
	width: 75%;
	height: 25%;
	margin: auto;
	overflow-y: auto;
}

.tableHalfTable
{
	width: 100%;
}

.tableHalfTable thead th
{
	position: sticky;
	top: 0px;
	background-color: #000;
	color: #FFF;
}

.clickable:hover
{
	background-color: #eb4034;
	box-shadow: 0px, 0px, 32px, #eb4034;
	cursor: pointer;
}

.clickable:hover .deprecated
{
	color: yellow;
}

.formTable
{
	margin: auto;
}

.sel40k
{
	width: 175px;
	height: 50px;
	border: solid 2px;
	border-radius: 15px 0px;
	text-align: center;
	font-size: 20px;
	font-family: "Conduit ITC Pro"; 
	font-weight: bold;	
}

.iDisabled
{
	color: lightgrey;
}

.iEnabled
{
	color: black;
}

.iEnabled:hover
{
	color: red;
    box-shadow: 0px 0px 32px red;
}

.i25
{
	font-size: 25px;
}

.tCenter
{
	text-align: center;
}

.tLeft
{
	text-align: left;
}

.tRight
{
	text-align: right;
}

.illegal
{
	background-color: #eb4034;
}

.divButton
{
	display: inline-block;
	width: 250px;	
	height: 25px;
	border: solid 2px black;
	border-radius: 15px 0px;
	background-color: white;
	color: black;
	text-align: center;
	font-size: 20px;
	font-family: "Conduit ITC Pro"; 
	font-weight: bold;	
	margin: 2px;
	vertical-align: middle;
	cursor: pointer;
}

.divButton.notAvailable
{
	border: solid 2px darkgrey;
	background-color: lightgrey;
	color: darkgrey;
	cursor: not-allowed;
}

.divInBox
{
	height: 30px;
	min-width: 75px;
	border: solid 2px;
	border-radius: 15px 0px;
	text-align: center;
	font-size: 20px;
	font-family: "Conduit ITC Pro"; 
	font-weight: bold;
	display: inline-block; 
	vertical-align: middle;
	background-color: white;
	padding-left: 8px;
	padding-right: 8px;
}

.keyword
{
    font-size: 0.9em;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.keyword::first-letter
{
    font-size: 1.16em;
}

.selectKeywords
{
	width: 200px;
}

.selectKeywords.multi
{
	width: 200px;
	height: 400px;
}

.liKeyword
{
	display: block;
}

.overlayTable
{
	color: black;
	text-align: left;
}

.overlayTable
{
	color: black;
	text-align: left;
}

.crusadeTitle
{
	font-weight: bold;
    font-size: 64px;
    text-align: center;
}

.crusadeSelector
{
	width: 300px;
	height: 54px;
	border: solid 2px;
	border-radius: 15px 0px;
	text-align: center;
	font-size: 20px;
	font-family: "Conduit ITC Pro"; 
	font-weight: bold;	
}

.inline-block
{
	display: inline-block;
}

.tableMiniWeapon
{
	border-collapse: collapse;
	width: 100%;
}

.tableMiniWeapon thead
{
	background-color: #39525b;
	color: #FFFFFF;
}

.miniStat
{
	width: 42px;
	text-align: center;
}

.miniRange
{
	width: 70px;
	text-align: center;
}

.miniTitle
{
	text-align: left;
}

.divEditControlContainer
{
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
	margin-top: 4px;
}

.divEditControlContainer.highlight:hover
{
	background-color: #e6052d;
    box-shadow: 0px 0px 32px #e6052d;
	color: black;
}

.multi
{
	height: 200px;
}

.divEditControlContainer select
{
	max-width: -webkit-fill-available;
	min-width: -webkit-fill-available;
}

.divEditControlContainer input
{
	min-width: -webkit-fill-available;
}

.divEditControlContainer input[type=checkbox]
{
	background-color: red;
	width: auto;
}

.divEditContainer
{
	display: flex;
	width: 50%;
}

.divEditContainerScanner
{
	display: flex;
	width: 66%;
}

.divEditContainerButton
{
	margin: 2px;
	color: lightgrey;
	display: inline;
}

.divEditContainerButton:hover
{
	cursor: pointer;
	
}

.inputEditContainer
{
	/* border: none; */
	/* padding-right: 5px; */
    /* margin-right: 36px; */
	box-sizing: border-box;
	width: 100%
}

.inputEditFlexContainer
{
	display: flex;
	flex-wrap: wrap;
}

.inputEditImageRadioContainer
{
	width: 75px;
	border: 1px solid black;
}

.inputEditImageContainer
{
	height: 80px;
	display: block;
	text-align: center;
}

.inputEditImageContainer img
{
	max-width: 75px;
	max-height: 75px;
}

.inputEditControlContainer
{
	display: block;
}

.inputNewContainer
{
	border: none;
	box-sizing: border-box;
	width: 100%
}

.divEditContainer textarea
{
	width: 100%;
	border: none;
	height: 100px;
}

.pEditContainerCaption
{
	margin: unset;
}

.divCaption
{
	font-size: 10px;
    text-shadow: 1px 1px lightgrey;
	margin-top: 17px;
}

.passErr
{
	font-size: 10px;
	color: darkred;
	visibility: hidden;
}

input:required:invalid
{
	background-color: #ffcccc;
}

.hidden
{
	display: none;
}

a
{
	/* width: fit-content; */
	display:block;
}

a:link { 
  text-decoration: none; 
} 

a:visited { 
  text-decoration: none; 
} 

a:hover { 
  text-decoration: none; 
} 

a:active { 
  text-decoration: none; 
}

footer
{
	text-align: center;
}