* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: EasonPro,"Times New Roman",serif;
}

body {
	background-image: url("../img/background.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#copyright {
	text-align: center;
	color: rgb(177,168,148);
	font-size: 14px;
	text-shadow: 0px 0px 3px black;
	padding-top: 10px;
	clear: both;
}

/* ==============================================*/
/*                 Return Button                 */
/* ==============================================*/

#returnButton {
	background-color: rgba(10,30,40,0.7);
	font-size: 28px;
	padding: 15px;
	border: 5px solid rgba(10,30,40,0.7);
	border-top: none;
	box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
	position: fixed;
	top: 0;
	margin-left: 50px;
}

a:first-child {
	color: rgb(40,142,172);
	text-decoration: none;
}

a:first-child:hover {
	color: white;
}		

/* ==============================================*/
/*             General Section Styles            */
/* ==============================================*/

figure {
	width: 400px;
	margin: 0 auto;
	margin-top: -20px;
}

.container {
	width: 900px;
	margin: 0 auto;
}

#section1, #section2, #section3 {
	width: 900px;
	margin: 0 auto;
	margin-bottom: 20px;
}

#section1 {
	display: block;
}

#section2 {
	display: none;
}

#section3 {
	display: none;
}

/* ==============================================*/
/* Section1 / Startpage / Identification for api */
/* ==============================================*/

#section1 #identification-box {
	background-color: rgba(0,0,0,0.8);
	width: 550px;
	margin: 0 auto;
	padding: 30px;
	border-radius: 40px 40px 0px 0px;
	overflow: auto;
}

#section1 #submit-box {
	width: 550px;
	margin: 0 auto;
	overflow: auto;
}

#section1 label, #section1 input {
	float: left;
	clear: both;
}

#section1 h3 {
	color: white;
	font-size: 30px;
	font-family: EasonProDisplayCaps,Times New Roman,serif;
	padding-bottom: 5px;
}

#section1 #api-key {
	background-color: rgba(255,255,255,1);
	width: 100%;
	font-size: 12px;
	color: #888;
	padding: 15px;
	border: none;
}

input:focus {
	outline: none;
}

#section1 #key-submit {
	background-color: rgba(0,0,0,0.8);
	color: white;
	font-weight: bold;
	font-size: 17px;
	width: 550px;
	margin-top: 15px;
	padding: 15px;
	border: 3px solid rgba(0,0,0,0.0);
}

#section1 #key-submit:hover {
	background-color: rgba(0,0,0,0.6);

}

/* ==============================================*/
/*         Section2 / Account Information        */
/* ==============================================*/

/* Left Side */
#section2 #acc-info {
	width: 320px;
	float: left;
}

#acc-info #acc-general{
	background-color: rgba(0,0,0,0.8);
	width: 320px;
	margin-bottom: 20px;
	padding: 20px;
}

#acc-general #acc-name {
	width: 100%;
	height: 70px;
	font-size: 24px;
	color: white;
	padding: 22px;
	padding-top: 15px;
	position: relative;
}

#acc-name #tn {
	font-family: EasonProDisplayCaps,Times New Roman,serif;
}

#acc-name p:nth-child(2) {
	color: rgb(177,168,148);
	font-size: 15px;
}

#acc-general table {
	width: 280px;
	margin-top: 22px;
}

#acc-general tr:nth-child(2n+1) {
	background-color: rgba(0,0,0,0.3);
}

#acc-general tr:nth-child(2n+2) {
	background-color: rgba(0,0,0,0.5);
}

#acc-general tr td {
	padding: 7px;
	color: rgb(177,168,148);
}

#acc-general tr td:nth-child(0n+1) {
	font-family: EasonProDisplayCaps,Times New Roman,serif;
}

#acc-general #acc-name::after {
	content: "";
	background-image: url("../img/accname-back.jpg");
	background-size: cover;
	background-position: right top;
	width: 280px;
	height: 70px;
	opacity: 0.9;
	top: 0;
  	left: 0;
  	bottom: 0;
 	right: 0;
 	position: absolute;
 	border: 1px solid rgba(0,0,0,0.5);
 	z-index: -1; 
}

#acc-general #aa {
	word-break: break-word;
}

#acc-info #acc-currency{
	background-color: rgba(0,0,0,0.8);
	width: 320px;
	padding: 20px;
}

#acc-currency table {
	width: 280px;
	table-layout: fixed
}

#acc-currency tr:nth-child(2n+1) {
	background-color: rgba(0,0,0,0.3);
}

#acc-currency tr:nth-child(2n+2) {
	background-color: rgba(0,0,0,0.5);
}

#acc-currency tr td {
	padding: 7px;
	color: rgb(177,168,148);
}

#acc-currency tr td img {
	float: left;
}

#acc-currency tr td p {
	margin-top: 3px;
	margin-left: 30px;
	position: relative;
}

/* Right Side */
#section2 #acc-chars {
	background-color: rgba(0,0,0,0.8);
	width: 560px;
	padding: 20px;

	float: right;

}

#acc-chars ul li {
	width: 160px;
	height: 160px;
	margin-right: 20px;
	margin-top: 20px;
	list-style: none;

	float: left;
	position: relative;
	color: white;
	cursor: pointer;
	transition: ease-in 0.7s;
}

#acc-chars ul li:hover {
	box-shadow: 0px 0px 20px 1px rgb(177,168,148);
	transition: ease-out 0.5s;
}

#acc-chars ul li::before {
	content: "";
	background-image: url("../img/character-background.jpg");
	background-size: cover;
	background-position: right top;
	width: 160px;
	height: 160px;
	opacity: 0.8;
	top: 0;
  	left: 0;
  	bottom: 0;
 	right: 0;
 	position: absolute;
 	z-index: -1; 
}

#acc-chars ul li p {
	content: "80";
	font-size: 26px;
	color: rgba(177,168,148,0.9);
	padding-top: 30px;
	text-align: center;
	width: 160px;
	height: 160px;
	opacity: 0.8;
	top: 0;
  	left: 0;
  	bottom: 0;
 	right: 0;
 	position: absolute;
 	z-index: 2; 
}

#acc-chars ul li:nth-child(3n+3) {
	margin-right: 0px;
}

#acc-chars ul li:nth-child(1), #acc-chars ul li:nth-child(2), #acc-chars ul li:nth-child(3) {
	margin-top: 0px;
}

#acc-chars ul li .char-name {
	background-color: rgba(255,255,255,0.8);
	width: 100%;
	height: 25px;
	font-family: EasonProDisplayCaps,Times New Roman,serif;
	color: black;
	padding: 6px;
	font-size: 12px;
}

#acc-chars ul li img {
	width: 130px;
	height: auto;
	margin-top: 15px;
	margin-left: 13px;
}

/* ==============================================*/
/*        Section3 / Character Information       */
/* ==============================================*/

#link-back {
	color: rgb(0,0,0);
	font-size: 20px;
	text-decoration: none;
	position: absolute;
	margin-top: 280px;
	display: none;
}

/* Left Side */
#section3 #char-info {
	background-color: rgba(0,0,0,0.6);
	width: 320px;
	height: 450px;
	padding: 20px;
	float: left;
	clear: both;
	position: relative;
}

#section3 #char-info::after {
	background-image: url("../img/character-background.jpg");
	background-size: cover;
	background-position: center;
	content: "";
	width: 320px;
	height: 450px;
	opacity: 0.8;
	top: 0;
  	left: 0;
  	bottom: 0;
 	right: 0;
 	position: absolute;
 	z-index: -1; 
 	border: 5px solid rgba(0,0,0,0.7);
 	box-sizing: border-box;
}

#char-info p {
	color: rgb(177,168,148);
}

#char-info #char-r {
	font-size: 14px;
	margin-bottom: 10px;
}

#char-info #char-n {
	font-size: 20px;
	color: white;
	margin-left: 4px;
	position: relative;
	font-family: EasonProDisplayCaps,Times New Roman,serif;
}

#char-info #char-c {
	margin-bottom: 10px;
}

/* Right Side */
#section3 #char-equipment {
	background-color: rgba(0,0,0,0.8);
	width: 450px;
	padding: 20px 20px 10px 20px;
	float: left;
	position: relative;
}

#section3 #char-wrapper {
	width: 450px;
	margin-left: 20px;
	float: left;
	list-style: none;
}

#char-weapons, #char-armor, #char-trinkets {
	clear: both;
}

 #char-equipment .weapon-item:nth-child(2n+1) {
	clear: both;
	margin-left: 105px;
	margin-right: 80px;
}

#char-equipment .weapon-item, #char-equipment .armor-item, #char-equipment .trinket-item {
	background-color: gray;
	width: 60px;
	height: 60px;
	margin-right: 10px;
	margin-bottom: 10px;
	list-style: none;
	float: left;
	border-radius: 5px;
	border: 3px solid white;
	position: relative;
}

#char-equipment .armor-item:nth-child(6), #char-equipment .trinket-item:nth-child(6) {
	margin-right: 0px;
}

/* Far Right */
#section3 #class-image {
	background-size: cover;
	background-position: 60% 50%;
	width: 90px;
	height: 450px;
	margin-left: 20px;
	opacity: 0.7;
	border: 5px solid rgba(0,0,0,1);
	overflow: auto;
	float: left;
}


/* ==============================================*/
/*                    Tooltips                   */
/* ==============================================*/

.tooltip-c {
	background-color: rgba(0,0,0,0.9);
	display: none;

    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;

    position: absolute;
    bottom: 25px;
    right: 35px;
    z-index: 3;
    white-space: nowrap;
}

.tooltip-i {
	background-color: rgba(0,0,0,0.9);
	display: none;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;

    position: absolute;
    bottom: -3px;
    left: 63px;
    z-index: 3;
}

.tooltip-i .tt-p:first-child {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 3px;
}

.tooltip-i .tt-p {
	color: rgb(45,197,14);
	font-size: 16px;
	float: left;
	clear: both;
	white-space: nowrap;
}

.tooltip-i .tt-p:nth-child(5){
	color: white;
	margin-top: 10px;
}

.tooltip-i .tt-p:nth-child(6), .tooltip-i .tt-p:last-child {
	color: white;
}