/** Color Palette
Rich Black       #001021
BabyPowder       #FDFFFC
B'dazzled Blue   #235789
Rhythm           #7E7F9A    ~Light Purple
Dark Purple      #372248
**/
/** Fonts
font-family: 'Cinzel Decorative', cursive;
font-family: 'Lato', sans-serif;
**/

/********************************************
	Global
 ********************************************/
body {
	margin: 0;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.5;
  border-color: #000;
}

.page-background {
	background-image: url(/images/haunted_woods_background.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -100;
}

/********************************************
	Header
 ********************************************/
div.header {
	background: #001021;
	margin:auto;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	height: 210px;
	overflow: visible;
}

.logo {
	overflow:auto;
}
.logo h1 {
	font-family: 'Cinzel Decorative', cursive;
	font-size: 5em;
	line-height: 80px;
	color: #7E7F9A;
	text-align: center;
	max-width: 90%;
	margin: 30px auto 7px;
}
.logo p {
	color: #7E7F9A;
	text-align: center;
	font-weight: 700;
	max-width: 90%;
}
.logo img {
	max-width: 100%;
	float: left;
	border: double;
	border-width: 5px;
	border-color: #000;
	background-color: #372248;
}

.header-space {
	height: 210px;
	overflow: hidden;
}

.menu-bar {
	background-color: #372248;
	color: #000;
	border-color: #000;
	border-top-style: double;
	border-bottom-style: double;
	border-width: 5px;
	/*
	position: relative;
	bottom: 0;
	top:0;
	*/
	position: fixed;
	top: 155px;
	left: 210px;
	width: calc(100% - 210px);
	z-index: 3000;
	display: grid;
	grid-template-columns: repeat(4, 25%);
	align-items: center;
	overflow: visible;
}
.myaccount {
	display: none;
}
.menu-item {
	font-size:26px;
	position:relative;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 45px;
	align-self: center;
	text-align: center;
	overflow: visible;
}
a.menu-link {
	padding: 0;
	margin: 0;
	min-width: 100%;
	height: 45px;
	align-self: center;
	text-align: center;
	display: block;
	color: black;
}
a.menu-link:hover {
	color: black;
}
.menu-item:hover, #RulesContent div.menu-item:hover, #SettingContent div.menu-item:hover, #CustomContent div.menu-item:hover {
	background-color: #D1E0EA;
	overflow: visible;
}
.dropdown-content {
  display: none;
  position: fixed;
  background-color: #235789;
  width: calc((100% - 210px) / 4);
	color: black;
	z-index: 3000 !important;
/*}
#RulesContent, #SettingContent, #CustomContent {*/
	border-color: #235789;
	border-left-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-width: 2px;
}
#RulesContent div.menu-item, #SettingContent div.menu-item, #CustomContent div.menu-item {
		border-color: rgba(255,255,255,0.25);
		border-top-style: solid;
		border-width: 1px;
		background-color: #235789;
}
#CharacterContent {
	left: calc(210px + ((100% - 210px) / 4));
	background-color: #9782A8;
	top: 205px;
}
#NationalityContent {
	left: calc(210px + (((100% - 210px) / 4)*2));
	background-color: #9782A8;
	top: 250px;
}
#LanguageContent {
	left: calc(210px + ((100% - 210px) / 4));
	background-color: #9782A8;
	top: 250px;
}
#XPContent {
	left: calc(210px + ((100% - 210px) / 4));
	background-color: #9782A8;
	top: 295px;
}
#UsesContent {
	left: calc(210px + (((100% - 210px) / 4)*2));
	background-color: #9782A8;
	top: 430px;
}
#MysticArmsContent {
	left: calc(210px + ((100% - 210px) / 4));
	background-color: #9782A8;
	top: 340px;
}
#MagicContent {
	left: calc(210px + (((100% - 210px) / 4)*3));
	background-color: #9782A8;
	top: 385px;
}
#PsionicsContent {
	left: calc(210px + (((100% - 210px) / 4)*3));
	background-color: #9782A8;
	top: 430px;
}
.fa-caret-right {
	float: right;
	transform: translateY(7px);
}
.fa-caret-left {
	float: left;
	transform: translateY(7px);
	display: none;
}
.fa-caret-down {
	transform: translate(10px, 5px);
}
.fa-caret-down.thenshow {
	display: none;
}
.fa-caret-up {
	transform: translate(10px, -5px);
}
/********************************************
	Media Queries
 ********************************************/
@media (max-width: 1275px) and (min-width: 786px) {
		.logo h1 {
			font-size: 2.5rem;
			line-height: 1;
			padding-bottom: 0;
			padding-top: 6px;
		}
		.logo p {
			padding-bottom: 0;
		}
		/*
		.menu-bar {
			top: 33px;
		}
		*/
		.menu-item {
			font-size: 20px;
			padding-top: 8px;
			padding-bottom: 8px;
		}
}

@media (max-width: 785px) {
		div.header {
			position: absolute;
		}

		.logo img {
			margin-left: -225px;
		}
		.logo h1 {
			font-size: 2rem;
			line-height: 1;
			padding-bottom: 16px;
		}
		.menu-bar {
			position: absolute;
			top: 160px;
			left: 0;
			width: 100%;
			grid-template-columns: 35px calc((100% - 35px) * 0.2) calc((100% - 35px) * 0.2) calc((100% - 35px) * 0.35) calc((100% - 35px) * 0.25);
		}
		.myaccount {
			display: block;
		}
		#AccountImage {
			max-width: 35px;
			max-height: 35px;
		}
    div.menu-item {
      font-size: 12px;
    }
		a.menu-link {
			line-height: 45px;
			position: relative;
			top: 0;
			bottom: 0;
		}
		.menu-bar .menu-item {
			padding: 3px 5px;
		}
		.dropdown-content {
			width: 50%;
		}
		.dropdown-content .menu-item {
			max-height: 30px;
			line-height: 25px;
		}
		.dropdown-content a.menu-link {
			line-height: 25px;
		}
		.fa-caret-right.hide {
			display: none;
		}
		.fa-caret-left {
			display: block;
		}
		.fa-caret-down.thenshow {
			display: block;
			float: right;
			transform: translate(0, 05px);
		}
		#RulesContent {
			top: 200px;
			left: 0;
		}
		#SettingContent {
			top: 200px;
			left: 20%;
		}
		#CustomContent {
			top: 200px;
			left: 40%;
		}
		#CharacterContent {
			top: 200px;
			left: 50%;
		}
		#LanguageContent {
			top: 230px;
			left: 50%;
		}
		#XPContent {
			top: 260px;
			left: 50%;
		}
		#MysticArmsContent {
			top: 290px;
			left: 50%;
		}
		#UsesContent {
			top: 380px;
			left: 0;
		}
		#PsionicsContent {
			top: 380px;
			left: 40%;
		}
}
