* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image: url("images/bluemountains.jpg");
  background-color: #435165;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  margin: 0;
}


.login {
  width: 400px;
  /*background-color: #ffffff;*/
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
  transform: translate(80%, -15%); /* changed position on page */
  background: rgba(255,255,255,0.6); /* changed background transparency */
}

.register {
  width: 400px;
  /*background-color: #ffffff;*/
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
  transform: translate(-5%, -20%); /* changed position on page */
  background: rgba(255,255,255,0.6); /* changed background transparency */
}


.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  color: #000000;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

.login .links a:hover, .register .links a:hover {
  color: #007190;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid #007EA0;
  color: #007EA0;
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label, .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: #007EA0;
  color: #ffffff;
}

.login form input[type="password"], .login form input[type="text"], .login form input[type="email"], .register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #007EA0;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #007190;
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}

.navtop {
  background-color: #2f3947;
  height: 60px;
  width: 100%;
  border: 0;
  z-index: 1;
  position: fixed; /*I added so natop always visible*/
  top: 0%; /* I added, makes navtop go to top of page */
}

.navtop div {
  display: flex;
  margin: 0 auto;
  width: 80%;
  height: 100%;
}

.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 24px;
  padding: 0;
  margin: 0;
  color: #eaebed;
  font-weight: normal;
}

.navtop div a {
  padding: 0 20px;
  text-decoration: none;
  color: #c1c4c8;
  font-weight: bold;
}

.navtop div a i {
  padding: 2px 8px 0 0;
}

.navtop div a:hover {
  color: #eaebed;
}

body.loggedin {
  background-color: #f3f4f7;
}

.content {
  top: 10%; /*I added*/
  width: 80%;
  margin: 0 auto;
  position: relative; /*change to relative*/
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #e0e0e3;
  color: #4a536e;
}

.content .block {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 25px;
  background-color: #fff;
}

.content .block table {
  width: 100%;
}

.content .block table td {
  overflow: hidden;
  padding: 5px;
}

.content .block table td:first-child {
  font-weight: bold;
  color: #4a536e;
  padding-right: 15px;
}

.content .block table td:last-child {
  word-break: break-all;
}

.content .block p {
  padding: 5px;
  margin: 0 0 10px 0;
}

.content.profile form label {
  display: block;
  padding: 10px 0 5px 0;
}

.content.profile form input[type="text"], .content.profile form input[type="password"], .content.profile form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: 1px solid #ddd;
}

.content.profile .profile-btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background-color: #3274d6;
  margin: 15px 5px 0 0;
  padding: 10px 15px;
}

.content.profile .profile-btn:hover {
  background-color: #2868c7;
}

/* I added */
#charlist {
	width: 40%;
	align: left;
	height: 60%;
	overflow: auto;
	float: left;
}

#infoblock {
	width: 55%;
	float: right;

}

#sheet_form { 
	width: 70%;
	position: absolute;
	background-color: #fff;
	padding: 25px;
	margin: 0px;
	top: 30%;
	overflow-x: auto;
	overflow-y: auto;
	transform: translate(0%, 10%);
}

#statresult{
	color: red;
}

#chatpost {
	color: green;
}
/*end of what I added */

@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
}

@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
    padding: 10px;
  }
  .navtop div {
    flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    flex-basis: 100%;
  }
  .navtop div a {
    padding: 10px 0;
    flex-basis: 50%;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .content form input[type="text"], .content form input[type="password"], .content form input[type="email"] {
    width: 100%;
  }
}

/* Added Section */

/* this is the section for the actual chat portion */
/* start of CSS from main.css from the chat example */
#sendie { 
	width: 80%; 
	height: 200px; 
	padding: 10px; 
	margin: 5px 0 0 0; 
	font: 12px "Lucida Grande", Sans-Serif; 
}

/* this is the css for the chat room name header area above the chat. This is the location banner with location name. */
#section { 
	width: 100%; 
	background: rgba(0,0,0,0.2); 
	position: relative;
	/*transform: translate(0%, -125%); */
	padding: 20px; 
	top: 10%;
	left: 0%;
	color: #fff;
}

/* this is the css for the you tag, going to change to a room descrip in the header */
#you { 
	position: relative; 
	/*transform: translate(0%, -800%);*/
	top: 0%; 
	right: 0%; 
	font-size: 20px; 
	background: rgba(0,0,0,0.2); 
	padding: 5px 10px; 
	}

#you span { 
	font: italic 12px Georgia, Serif; 
	}

#chatheader h1 a { display: block; width: 173px; height: 79px; background: url(images/logo.jpg) no-repeat; text-indent: -9999px; } /*this likely can be deleted*/

#chat-wrap { 
	position: relative;
	border: 1px; 
	solid: #eee; 
	width: 95%; 
	float:left; 
	top: 15%;
	right: 0%;
	left: 5%;
	}
/*this affects inside the post display box */
#chat-area { 
	/*height: 100%; */
	width: 95%;
	/*overflow: auto;*/
	/*overflow-x: auto;*/
	padding: 20px;
	background: white; 
	top: 15%;
	right: 0%;
	left: 5%;
	}

#chat-area span { 
	color: white; 
	background: #333; 
	padding: 4px 8px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 8px; 
	margin: 0 5px 0 0; 
}

#chat-area p { 
	padding: 8px 0; 
	border-bottom: 1px solid #ccc; 
	color: #333; 
	}

/* Split the screen in half No longer in use. */
/*.split {
  height: 100%;
  width: 80%;
  position: fixed;
  z-index: -1;
  top: 0;
  overflow-x: auto;
  padding-top: 20px;
}*/

/* Control the left side. No longer in use. */
/*.left {
  left: 0;
  background-color: #e3bd99;
  width: 30%;
}*/

/* Control the right side */
.rightframe {
  position: relative;
  float: right;
  height: 100%;
  right: 0;
  /*background-color: #4F983C;*/
  width: 70%;
}

.leftframe {
  overflow-x: auto;
  overflow-y: auto;
  position: fixed;
  float: left;
  height: 100%;
  left: 0;
  /*background-color: #99CCFF;*/
  width: 30%;
  /*background: rgba(0,0,0,0.2);*/ 
}

/* If you want the content centered horizontally and vertically. Don't think anything uses this. */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -90%);
  text-align: center;
}

/* This is the unused box sitting on the room name that might be useful later. */
.chatbox {
  position: absolute;
  /*top: 50%;*/
  /*left: 50%;*/
  transform: translate(100%, 30%);
  text-align: center;
}

.picture {
  position: relative;
  top: 10%;
  left: 35%;
  /*transform: translate(-400%, -100%); */
  text-align: center;
  width: 150px;
  border-radius: 20%;
  /*position: absolute;
  top: 50%;
  transform: translateY(-50%);*/
}

/* This is where you type posts. */
.messagebox {
  position: relative;
  top: 10%;
  left: 0%;
  /*transform: translate(-200%, 10%); */
  text-align: center;
}

.roomselect {
  position: relative;
  top: 10%;
  left: -5%;
  /*transform: translate(20%, 50%);*/
  text-align: center;
}

/* Style the image inside the centered container.*/
.picture img {
  width: 150px;
  border-radius: 20%;
}

#lang {
	background-color: rgba(0,0,0,0.3);
	width: 80%;
	margin: 1%;
	color: white;
	padding: 1px;
}

#roll {
	background-color: rgba(0,0,0,0.3);
	width: 80%;
	margin: 1%;
	color: white;
	padding: 1px;
}

/*Added for the picture uploader*/
body {
font-family: Arial;
font-size: 14px;
}
.bgColor {
max-width: 440px;
height:200px;
background-color: #6497b1;
border-radius: 4px;
}
.bgColor label{
font-weight: bold;
color: #011f4b;
}
#targetLayer{
float:left;
width:150px;
height:200px;
text-align:center;
line-height:200px;
font-weight: bold;
color: #011f4b;
background-color: #b3cde0;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
#uploadFormLayer{
	float:left;
	padding: 20px;
}
.btnSubmit {
	background-color: #011f4b;
    padding: 5px 30px;
    border: #011f4b 1px solid;
    border-radius: 4px;
    color: #FFFFFF;
    margin-top: 10px;
}
.inputFile {
	padding: 5px;
	background-color: #FFFFFF;
	border:#b3cde0 1px solid;
	border-radius: 4px;
}
.image-preview {	
width:150px;
height:200px;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}

/* added for the photo gallery */
#gallery_form { 
	width: 70%;
	height: 600px;
	position: absolute;
	background-color: #fff;
	/*padding: 25px;*/
	margin: 0px;
	top: 0%;
	overflow-x: auto;
	overflow-y: auto;
	transform: translate(20%, 15%);
}


.container{
    margin: 0 auto;
	position: relative;
	width: 100%;
	height: 100%;
}


.container .gallery a img {
  float: left;
  width: 20%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

.container .gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}

/*Character Sheet*/
.sheet {
  top: 10%; /*I added*/
  width: 80%;
  margin: 0 auto;
  position: relative; /*change to relative*/
  height: 100%;
  /*overflow-x: auto;
  overflow-y: auto;*/
}

.sheet .block {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin-top: 100px;
  padding: 25px;
  background-color: #fff;
  width: 100%;
  position: relative;
  height: 375px;
}

/*on character editing sheet*/
.sheet .block2 {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin-top: 25px;
  padding: 25px;
  background-color: #fff;
  width: 100%;
  position: relative;
  height: 375px;
}

/*Top row of character sheet */ 
.sheet .element {
  padding: 25px;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  width: 25%;
  height: 100%;
  float: left;
  position: relative;
}

/*on character editing sheet */ 
.sheet .element2 {
  padding: 25px;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  width: 50%;
  height: 100%;
  float: left;
  position: relative;
}

/*Second row of character sheet where skills are */
.sheet .skillblock {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  /*margin-top: 100px;*/
  top: 25px;
  padding: 25px;
  background-color: #fff;
  width: 100%;
  position: relative;
}

.skillelement {
  padding: 25px;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  position: relative;
  top: 10%;
  /*display: block;*/
  overflow: hidden;
}

/* Collapsible boxes on character sheet */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default 
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}*/

/* Added for the current users list at bottom of chat screen */
/*.currentusers {
  top: 30%; 
  width: 60%;
  margin: 0 auto;
  position: relative; 
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  margin: 25px 0;
  padding: 15px;
  background: rgba(0,0,0,0.5); 
  left: 20%;
  text-align: center;
  color: white;
}*/

#currentusers {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  color: white;
  top: 30%;
  width: 80%;
  position: relative;
  background: rgba(0,0,0,0.5); 
  left: 10%;
}

#currentusers td, #currentusers th {
  border: 1px solid #ddd;
  padding: 8px;
  width: 30%;
  /*border-bottom: 1px solid #ddd;*/ /* Gets rid of most of the table borders except bottom line*/
}

#currentusers tr:nth-child(even){background-color: #f2f2f2;}

#currentusers tr:hover {background-color: #9f9999;}

#currentusers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}
