html, body {
    background-color: #f8f8f8;   
    height: 100vh;
}

body {
    padding: 0 8px 0 8px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 156px);
    background-color: #fff;
    border: 1px solid #afafaf;
    border-radius:5px;
    max-width: 800px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.form-container, .dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 126px);
    max-width: 800px;
    margin: 8px auto 12px auto;
}
 
.navbar-inverse .navbar-brand {
    color: #fff;
    font-weight: bold;
}

ul.navbar-nav.navbar-right li a {
    color: #fff;
    font-weight: bold;
}

.container-md {
    margin-left: auto;
    margin-right: auto;
}

form, h1, h2, h3, p{
    width:100%;
    max-width:750px;
    margin:12px auto 8px auto;
}
 

h1 {
  font-size: 20px;
  font-weight:bold;
  @media (min-width: 1024px) {
    font-size: 22px;
  }
}

form {
    border:1px solid #afafaf;
    border-radius:5px;
    padding:0 20px 20px 20px;
    background-color:#eee;
    box-shadow: 0 2px 2px #9d9d9d;
}

input{
	width: 100%;
	border-radius: 5px;
	box-shadow: 0 2px 2px #9d9d9d;
	height: 32px;
	border: 1px solid #afafaf;
	padding: 4px;
	margin-bottom: 4px;
}

textarea:focus, input:focus:not([type='submit']){
	border:solid 1px orange;
}

textarea{
	width:100%;
	border:1px solid #afafaf;
	border-radius:5px;
	box-shadow: 0 2px 2px #9d9d9d;
	padding:4px;
}

input[type='submit']{
	height:40px;
	font-size:16px;
	width:50%;
	margin-top:10px;
	margin-bottom:10px;
	font-weight:bold;
	background-color:#f8f8f8;
	color:#333;
}

input[type='submit']:active{
	  box-shadow: 0 1px #afafaf; 
	  transform: translateY(1px);
}

input[type='submit']:hover{
    cursor:pointer;
    background-color:#ddd;
    color: #555;
}

label{font-weight:bold;
     display:block;
     margin-top: 20px;
}

.footer {
  width: calc(100% + 16px);
  min-height: 76px;
  background-color: #222;
  color: #fff;
  text-align: center;
  margin-left: -8px;
  margin-right: -8px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer span {
    display: inline-block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.captcha {
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 2px #9d9d9d;
    border: 1px solid #afafaf;
}

.errorlist {
    list-style-type: None;
    color: #c90000;
}