body{
	padding: 0;
	margin: 0;
}

#base {
	text-align: center;
	background: url(background.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: #eee;
	font-size: large;
}

#outer-container div#header {
	background: rgba(75,100,175,0.85);
	display: block;
}

#outer-container > div {
	background: rgba(125,149,193,0.90);
	margin: 25px;
	padding: 25px;
	border-radius: 5px;
	display: table;
}

#header :first-child {
	text-align: left;
}

#header h1 {
	text-align: right;
	display: inline-block;
	margin: 0;
	width: 49.9%;
	vertical-align: top;
}

#header h1 a {
	text-decoration: none;
	color: #eee;
}

h2 {
	font-weight: bold;
    margin: 1em 0 .2em 0;
}

#outer-container {
	display: inline-block;
	text-align: left;
	min-width: 350px;
	max-width: 1200px;
	width: 100%;
	min-height: 100%;
}

#outer-container > div > div:first-child {
	border-left: none;
	padding-right: 20px;
	width: 61.8%;
}

#outer-container > div > div {
	border-left: solid 1px;
	padding-left: 20px;
	width: 38.2%;
	display: table-cell;
}

@media (max-width: 780px) {
	#outer-container > div > div:first-child {
		border-top: none;
		border-left: none;
		padding-right: 0px;
		width: 100%;
		text-align: left;
	}
	
	#outer-container > div > div {
		border-top: 1px solid;
		border-left: none;
		padding-left: 0px;
		width: 100%;
		display: block;
		text-align: center;
	}
	
	#outer-container > div > div > form {
		text-align: left;
		display: inline-block;
	}
}

@media (max-width: 560px) {
	#header :first-child {
		text-align: center;
	}

	#header h1 {
		text-align: center;
		display: block;
		margin: 0;
		width: 100%;
		/* min-width: 350px; */
	}
}

@media (max-width: 400px) {
	#outer-container {
		min-width: 300px;
	}

	#outer-container > div {
		margin: 0 0 0 0;
		border-radius: 0px;
		padding: 25px 0 25px 0;
	}

	#outer-container > div > div > form {
		text-align: center;
	}
}


label {
    display: inline-block;
    max-width: 100%;
}

form {
	max-width: 300px;
}

.form-control {
	padding: 5px;
    display: block;
    width: 100%;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	margin-bottom: 5px;
}

.btn-group-lg>.btn, .btn-lg {
    padding: 10px 16px;
    border-radius: 6px;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger.active {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn-danger:focus {
    color: #fff;
    background-color: #c9302c;
    border-color: #761c19;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
}

.help-block {
    color: #d9534f;
}