/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

html, body {
	margin: 0px 20px;
  height: 100%;
}

body {
	padding: 0;
	font-family: "Gill Sans", "Lucida Grande", Lucida, Verdana, "Bitstream Vera Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5em;
	font-weight: lighter;
	color: #333;
	background-color: #f3f3f3;
}

pre {
  font-family: "Gill Sans", "Lucida Grande", Lucida, Verdana, "Bitstream Vera Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  font-weight: lighter;
}

#page {
	margin: 0 auto 0;
	width: 95%;
	border: 1px solid #bbb;
	border-top: 0px;
	border-bottom: 0px;
	padding: 10px 40px 0px 40px;
	background-color: #fefffe;
  display: flex;
  flex-flow: column;
  min-height: 100%;
}

#page .row.header {
  flex: 0 1 auto;
  /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
}

#page .row.content {
  flex: 1 1 auto;
}

#page .row.footer {
  flex: 0 1 40px;
}

h1 {
	font-weight: normal;
	font-size: 18px;
}

h2 {
	font-weight: normal;
	font-size: 16px;
}

h3 {
	font-weight: normal;
}

h4 {
  font-weight: normal;
}

p {
  font-weight: lighter;
}

strong {
  font-weight: normal;
}

hr {
	border: 0;
	height: 1px;
	margin-top: 0px;
	width: 90%;
	color:  black;
	background-color: #bbb;
}

table {
	margin: 10px 0px;
	border-collapse: collapse;
}

table, th, td {
	border: 1px solid #bbb;
}

th {
	background-color: #e2e2e2;
    font-weight: normal;	
}

th, td {
	padding: 10px;
	text-align: left;
}

tr:nth-child(even) { background-color: #f5f5f5; }
tr:hover { background-color: #e2e2e2; }

tr {
  vertical-align: text-top
}

input, select, textarea { 
  font-family: "Gill Sans", "Lucida Grande", Lucida, Verdana, "Bitstream Vera Sans", sans-serif;
  font-size: 14px;
  font-weight: lighter;
  padding: 5px;
  line-height: 1.25em;
}

select {
}

textarea { 
  border-style: inset;
}

div#login input { 
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
}

.container {
  width: 710px;
}

#header {
  padding: 20px 0px;
}

#header img {
  padding: 1em;
  background: #fff;
}

section {
  margin-top: 1em;
  font-size: 120%;
  padding: 20px;
  background: #fff;
}

section h1 {
  font-size: 200%;
}

/* Links */

a {
  color: #09c;
  text-decoration: none;
}

a:hover {
  color: #069;
  text-decoration: underline;
}

a:visited {
  color: #069;
}

/* Navigation */

nav {
  float: right;
}

nav {
  background-color: white;
  padding: 0 0.7em;
  white-space: nowrap;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  padding: 0.2em 0;
}

nav ul li a {
  padding: 0 5px;
}

/* buttons */

a.button {
  display: block;
  text-align: center;
  width: 75px;
  color: #fff;
  background: #73A6C9;
  font-weight: normal;
  padding: 10px 15px;
}

a.button:hover {
  background: #437EC4;
  text-decoration: none;
}


a.signup_button {
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
  width: 125px;
  color: #fff;
  background: #73A6C9;
  font-weight: normal;
  padding: 15px;
}

/* Round corners */

.round {
  -moz-border-radius:    10px;
  -webkit-border-radius: 10px;
  border-radius:         10px;
}

/* Form submit buttons */

input[type=submit] {
  padding: 10px 15px; 
  background: #73A6C9;
  border: 0 none;
  color: #fff;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px; 
  font-weight: normal;
}

input[type=submit].delete_button {
  background: #FF5349;
  color: #fff;
}

input[type=submit]:hover {
  background: #437EC4;
}

input[type=submit].delete_button:hover {
  background: #FF2800;
}

#footer {
  text-align: left;
  margin-top: 10px;
  width: 710px;
  color: gray;
}

#footer nav {
  float: none;
}

/* User show page */

table.profile {
  width: 100%;
  margin-bottom: 0;
}

td.main {
  width: 70%;
  padding: 1em;
}

td.sidebar {
  width: 30%;
  padding: 1em;
  vertical-align: top;
  background: #ffc;
}

.profile img.gravatar {
  border: 1px solid #999;
  margin-bottom: -15px;
}

div#sign_in { 
  width: 300px;
}

div#sign_in input { 
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
}

div#sign_in div.actions {
  padding: 20px 0;
}

div#sign_in div.actions a.button {
  padding: 10px;
  float: right;
}

div.field, div.actions {
  margin-top: 10px;
  margin-bottom: 20px;
}

div.first-field {
  float: left;
}

div.next-field {
  margin-left: 50px;
  float: left;
}

div.fields, textarea, input, select {
  border-color: rgb(208, 215, 222);
  border-color: #36454f;
  border-color: lightsteelblue;
  border-style: solid; 
  border-width: 1px; 
  border-radius: 6px; 
  padding: 10px;
  margin-bottom: 10px;
}

.field_with_errors {
  margin-top: 10px;
  padding: 2px;
  background-color: red;
  display: table;
}

.field_with_errors label {
  color: #fff;
}

label {
  font-weight: normal;
  color: #404345;
}

#error_explanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#error_explanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 14px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#error_explanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#error_explanation ul li {
  font-size: 14px;
  list-style: square;
}

ul.users {
  margin-top: 1em;
}

.users li {
  list-style: none;
}

div.user_info img {
  padding-right: 0.1em;
}

div.user_info a {
  text-decoration: none;
}

.hacked {
  color: red;
}

a:visited.hacked {
  color: red;
}
