@font-face { 
font-family: Bahnschrift;
	src: url('/BAHNSCHRIFT.TTF');
}
@font-face {
font-family: Scraf;
	src: url('/SCRAF.OTF');
}
 
html {
   scrollbar-gutter: stable;
}

body {
  background-color: #000008;
  margin: 8px;
}

.ogddb-header {
    background-color: #101028; /* Add a background color so content doesn't show through */
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
	font-family: Bahnschrift, sans-serif;
	text-align: center;
	align-items: center;
    justify-content: center;
	display: flex;
    z-index: 10; /* Ensures the header stays on top of other elements */
    width: 100%;
	height: 60px;
	max-width:1300px;
	line-height:100%;
	position: fixed;
    top: 0; /* Sticks the header to the top edge of the viewport */
}

.homepageBox {
	border: 3px solid white;
	border-radius:2.5px;
	width:350px;
	display:flex;
	flex-direction:column;
	margin:3px;
	
	iframe {
		border:2px solid white;
		width:100%;
		min-height:465px
	}
}

.homepageHeader {
	background-color: #101028;
	color: white;
	padding-top:1%;
	padding-bottom:1%;
	font-size:14pt;
	font-weight:bold;
}

.homepageBody {
	color: white;
	margin:2%;
	font-size:12pt;
}

a {
  text-decoration: none;
  color: #8080EE;
}

#mainbody {
  color: #ffffff;
  font-family: Bahnschrift, sans-serif;
  margin-top: 80px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  max-width:1300px;
}

.headerText {
  color: #ffffff;
  font-family: Bahnschrift, sans-serif;
  font-weight: bold;
  font-size:14pt;
  padding-top:2px;
  padding-bottom:6px;
}

.infoTextbox{
  width:90%;
  margin-left:auto;
  margin-right:auto;
}

/** ADV Draft DB**/
#advdraftform{
	text-align:center;
	font-size:12pt;
}

.advdbutton{
	background-color: #444495;
	color: white;
	font-family: Bahnschrift, sans-serif;
	border: none;
	font-size:12pt;
}

.advdbutton:hover{
	background-color: #ABAB74;
}

.advdinput{
	background-color: #444495;
	color: white;
	font-family: Bahnschrift, sans-serif;
	border: none;
	font-size:12pt;
	width:100%;
}

::placeholder{
	color:white;
}

#accoladebox {
	background-color:red;
}

#advmonstats{
	border: 3px solid white;
	border-radius:2.5px;
	padding-left: 4%;
	padding-right: 4%;
	padding-top: 4%;
	padding-bottom: 2.5%;
	margin-left:auto;
	margin-right:auto;
	width:90%;
	image-rendering: pixelated;
	display:block;
	
	iframe {
		border:2px solid white;
		width:100%;
		min-height:465px
	}
}

#monsprite {
	max-width:128px;
	max-height:128px;
	width:300%;
	height:300%;
}

.aggTableBody {
  color: #ffffff;
  font-family: Bahnschrift, sans-serif;
  max-width: 1250px;
  margin-top: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0px;
  padding-top: 2rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  line-height: 170%;
  overflow-x: auto;
}

.advSummaryTable {
	justify-content: center;
	background-color: #00004F;
	word-wrap: break-word;
	position: relative;
	white-space: nowrap;
	width:100%;
	border-collapse:collapse;
	
	table {
	table-layout:fixed;
	}
	td, th, table {
	border:2px solid white;
	border-spacing:0;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:6px;
	padding-right:6px;
	}
	
	th {
	min-width: 60px;
	}
	
	td:first-child{
	background-color: #00004F;	
	}
	
	td {
	background-color: #00002F;
	}
	th:hover,td:hover{
	background-color: #ABAB74;
	}
	a {
	color: white;
	text-decoration:underline;
	}
}

.advaccordion {
  background-color: #101028;
  cursor: pointer;
  padding: 18px;
  color: white;
  width: 100%;
  margin-top:15px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 14pt;
  font-weight: bold;
  font-family: Bahnschrift, sans-serif;
  transition: 0.4s;
}

.active, .advaccordion:hover {
  background-color: #1F1F41;
}

.advpanel {
  padding: 0 18px;
  display: none;
  overflow: hidden;
}

#advSummaryTableOrange {
	justify-content: center;
	width:100%;
	background-color: #431301;
	border-collapse: collapse;
	word-wrap: break-word;
	position: relative;
	white-space: nowrap;
	
	table {
	table-layout:fixed;
    width:100%;	
	}
	thead {
	width:100%;
	}
	td, th, table {
	border:2px solid white;
	border-collapse: collapse;
	}
	
	th {
	padding-top:.5%;
	padding-bottom:.5%;
	}
	
	td:first-child{
	background-color: #431301;	
	}
	
	td {
	padding: .5%;
	background-color: #2D0C02;
	}
	th:hover,td:hover{
	background-color: #ABAB74;
	}
	a {
	color: white;
	text-decoration:underline;
	}
}

.monComparisonTable {
	justify-content: center;
	width:100%;
	background-color: #000008;
	border-collapse: collapse;
	word-wrap: break-word;
	position: relative;
	text-align: center;
	
	table {
	table-layout:fixed;
    width:100%;	
	}
	thead {
	width:100%;
	}
	td, th, table {
	border:2px solid white;
	border-collapse: collapse;
	}
	th {
	padding-top:.5%;
	padding-bottom:.5%;
	background-color: #00004F;
	font-size:16pt;
	table-layout: fixed;
    width: 25%;
	}
	td:first-child{
	background-color: #00004F;
	}
	th:hover,td:hover{
	background-color: #ABAB74;
	}
	td {
	padding: .5%;
	background-color: #00002F;
	}
	a {
	color: white;
	text-decoration:underline;
	}
}

.orangeRow {
	td:first-child {
	background-color: #431301;
	}

	tr:hover,th:hover,td:hover {
	background-color: #ABAB74;
	}
	
	td {
	padding: .5%;
	background-color: #2D0C02;
	}

	th {
	padding-top:1.5%;
	padding-bottom:1.5%;
	background-color: #431301;
	}
}

.monRanking {
	color: #DFDFDF;
	font-size: 9pt;
	vertical-align: text-top;
	text-decoration: underline;
}

.monRankingBox {
	padding-top:4px;
	line-height:110%;
	vertical-align: text-bottom;
	padding-bottom:2px;
}

.statstable{
	background-color: #00004F;
	line-height:140%;
	border-collapse: collapse;
	word-wrap: break-word;
	position: relative;
	
	td:nth-child(odd) {
	text-align: right;
	padding-right:.75%;
	}
	
	td:nth-child(even) {
	text-align: left;
	padding-left:.75%;
	background-color: #00002F;
	}
	
	td, th, table {
	border:2px solid white;
	border-collapse: collapse;
	}
	
	th {
	padding-top:1.5%;
	padding-bottom:1.5%;
	}
	
	td:hover{
	background-color: #ABAB74;
	}
}
#monheader {
	display:flex;
	flex-wrap:wrap;
	flex-direction: row;
	text-align:right;
	justify-content:center;
}

#monheaderitem {
	width:33%;
}

#playerheader {
	display:flex;
	flex-wrap:wrap;
	flex-direction: row;
	align-items:flex-start;
	justify-content:center;
}

.playerinfo {
	display:flex;
	flex-wrap:wrap;
	flex-direction: column;
	align-items:center;
	justify-content:center;
	overflow-x:scroll;
}

.playercustomavatar {
	min-width:128px;
	min-height:128px;
	display:flex;
	align-items:stretch;
	background-position:center center;
	background-repeat: no-repeat;
	background-size: contain
}

@media (max-width: 600px) { /*mobile start*/
.statstable{
	background-color: #00004F;
	line-height:140%;
	border-collapse: collapse;
	word-wrap:break-word;
	font-size:10pt;
	
}

.homepageBox {
	width:75%;
}

#advmonstats{
	font-size:10pt;
	
	iframe {
		border:2px solid white;
		width:100%;
		min-height:545px
	}
}


#monheader {
	flex-direction: column;
	text-align:center;
	align-items:center;
}

#monheaderitem {
	padding-top:2%;
	padding-bottom:2%;
	width:60%;
}

#playerheader {
	display:flex;
	flex-wrap:wrap;
	flex-direction: column;
	align-items:center;
	justify-content:center;
}

.advSummaryTable {
	font-size:10pt;
}

#advSummaryTableOrange {
	font-size:10pt;
}

.mobilehide {
	visibility: hidden
}

} /*mobile end*/

.advtooltip {
  position: relative;
  display: inline-block;
}

.advtooltip .text {
  visibility: hidden;
  width: 300px;
  background-color: #22228F;
  text-align: center;
  border-radius: 5px;
  padding: 4%;
  padding-top: 6px;
  padding-bottom: 6px;
  word-wrap:normal;
  line-height:140%;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.advtooltip:hover .text {
  visibility: visible;
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position:relative;
  background-color: #24245B;
  color:white;
  max-height: 200px;
  overflow: scroll;
  overflow-x: hidden;
}

/* Links inside the dropdown */
.dropdown-content a {
  text-decoration: none;
  display: block;
  color: white;
  font-size: 12pt;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block; position: absolute; min-width:100%; z-index:2;}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #7474AB;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #34346B;}

.advselectfilter {
	font-family:Bahnschrift, sans-serif;
	color:white;
    background-color: #24245B;
	font-size:12pt;
}

option:checked {
    background-color: #ABAB74;
}

#goldarticle{
  width: 90%;
  text-align: center;
  display: inline-block;
  margin-left: 4%;
  vertical-align: center;
  transition-duration: .3s;
  border: 3px solid yellow;
  border-collapse: collapse;
}

#goldarticle:hover{
  background-color: #5F5F00;
  transition-duration: .3s;
}

#battlewindow{
  width:100%;
  min-height:650px;
}

#hdiletter {
  color: #ffffff;
  border: 2px solid white;
  font-family: Scraf;
  font-size: 12px;
  max-width: 800px;
  margin-top: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  padding-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  line-height: 170%;
  height: 90px;
  transition: height 6s ease-in-out;
}

/* Popup container */
#popUp {
  position: fixed;
  z-index: 3;
  top: 40%;
  margin: auto;
  left: 50%;
  transform: translate(-50%,-20%);
  background-color: #00004F;
  border: 4px white solid;
  padding: 4px;
  min-width:300px;
  max-width:90%;
}

.advPopUp {
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.advPopUp .popuptext {
  visibility: hidden;
  display:block;
  width: 90%;
  background-color: #00003D;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  border-color: white;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  left:-1%;
}

/* Toggle this class - hide and show the popup */
.show {
  visibility: visible;
}

.unshow {
  visibility: hidden;
}

/* Scroll Bar */
/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000006;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #FFFFFF;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #DDDDDD;
}

/* Factory Buttons */
#factorybutton {
  background-color: #34346B;
  border: none;
  color: white;
  font-family: Bahnschrift, sans-serif;
  padding: 1.1%;
  margin: .5%;
  margin-bottom: 2.5%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.3s;
  border-radius: 3%
}

#factorybutton:hover{
  background-color: #7474AB;
}

#factorydraftbutton {
  background-color: #6B6B34;
  border: none;
  color: white;
  font-family: Bahnschrift, sans-serif;
  padding: 1.1%;
  margin: .5%;
  margin-bottom: 2.5%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.3s;
  border-radius: 3%
}

#factorydraftbutton:hover{
  background-color: #ABAB74;
}

a.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
	color:#FFFFFF;
}