/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

body {
  font-family: sans-serif;
  background-color:rgb(42,42,42);
}

.red {
  color: red;
}

canvas {
  border: 1px solid black;
  box-shadow: 1px 1px 30px rgb(0,0,0);
  float: left;
}

#content {
  width: 1280px;
  margin: auto;
  margin-top: 40px;
}

#header {
  background-color: black;
}
.logo {
  display: inline;
  color: white;
  font-weight:bolder;
  float: left;
  padding: 13px;
  font-size:2em; 
}

.debug {
  float: right;
}

#main-nav {
  width: 900px;
  margin:auto;
}


#main-nav ul li{
  display: inline-block;
  padding: 20px;
}

#main-nav a {
  text-decoration: none;
  color: white;
}

#battleship {
  background-image: url(../img/hg.png);
  /*background-position:0px 1114px;*/
  margin-bottom: 40px;
}

.chat_body {
  background-color: rgb(42,42,42);
  color:white;
}

input[type="text"], textarea { 
  margin-left:10px;
  width: 280px;
  border-radius:10px; 
  border: solid 1px #000; 
  padding:0.4em; 
  background-color: rgb(60,60,60); 
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.2); 
  font-size:16px;
  color:white;
}

.gradientBlack {
    background: rgb(69,72,77); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ1NDg0ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(69,72,77,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 ); /* IE6-8 */
    color: white;
}

.chatHeader{
  padding:5px 0 0 7px;
  margin-top:0;
}

.chat_status {
  background-color:green;
  height:20px;
  width:20px;
  border-radius:5px;
  display: inline-block;
  text-align: right;
  box-shadow: inset 6px 6px 20px rgba(255,255,255,0.5);
}

.chatHeader h1 {
  margin:0;
  padding:0 0 5px 0;
  font-size:20px;
  text-transform: uppercase;
  display: inline-block;
}

.chat_window_controls {
  display: inline-block;
  float: right;
  margin: 0 10px 0 0;
}

.avatar {
  background-image: url(../img/avatar.png);
  background-size: 50px 50px;
  height: 50px;
  width: 50px;
  display: inline-block;
}

.chat {
  border: 1px solid #000000;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  border-radius:4px;
  width: 300px;
  overflow: scroll;
  background-color: white;
  float: right;
}


.close {
  color:red;
  font-weight: bolder;
}

.chatroom {
  background-color: rgb(42,42,42);
  padding: 5px;
}

.chat_message {
  width: 320px;
  display: inline-block;
  margin-top:20px;
}

.chat_content {
  padding: 5px;
  margin-left:10px;
  height: 510px;
  overflow: scroll;
}

.message_details {
  font-weight: bold;
}

.message_date {
  font-weight: normal;
  font-style: italic;
}

.message_content {
  display: inline-block;
}

.active_room {
  color: red;
}

#doku {
  width: 900px;
  margin:auto;
}

#doku img {
  margin-bottom:350px;
  width: 900px;
}

#doku a {
  font-size:70px;
  color:white;
  text-align: center;
  text-decoration: none;
}