body {
	text-align: center;
	font: 400 16px/1.5 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
}

h2 {
	font-family: 'Life Savers', cursive;
}

a {
	color: #40aee3;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
	padding: 2px;
}

a[href$=".pdf"]:after {
	content: ' [PDF]';
	font-size: .65em;
	vertical-align: top;
}


.tak-logo {
	max-height: 200px;
}

.carithers-logo {
	max-width: 200px;
}

.main {
	clear: both;
	margin: auto;
	max-width: 800px;
}

form h3 {
	color: #fff;
	text-shadow: 1px 1px 5px rgba(0,0,0,.4);
}

input[type="text"], input[type="password"], input[type="tel"], select {
	margin-left: .5em;
	display: inline-block;
	border: none;
	border-radius: 10px;
	padding: 1em 1.5em;
	color: #666;
	box-shadow: 
		inset 0 2px 0 rgba(0,0,0,.2), 
		0 0 4px rgba(0,0,0,0.1);
}

input[type="text"]:focus, input[type="password"]:focus, input[type="tel"]:focus { 
  outline: none;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1),
    0 0 5px 1px #51CBEE;
}

.post-food input[type="text"] {
	max-width: 2em;
}

.slider {
	margin: 1em auto;
}


input[type="submit"] {
	cursor: pointer;
	margin: 1em auto;
	display: block;
	padding: 1em 2em;
	background: #8dc63f;
	color: #fff;
	font-weight: bold;
	border: none;
	position: relative;
	border-radius: 10px;
	box-shadow: 
		1px 1px #a5e84a,
		2px 2px #a5e84a,
		3px 3px #a5e84a;
  	transition: all 0.1s ease-in;
}

input[type="submit"]:active { 
  box-shadow: none;
  top: 3px;
  left: 3px;
}

.middle-init {
	max-width: 1em;
}

.nav, form, .user_table {
	padding: 1em;
	background: 
		url(../images/box-bg.png),
		#40aee3;
	border-radius: 10px;
}

.user_table, .previous_entries {
	margin: auto;
}

.user_table, .user_table a, .previous_entries, .previous_entries a {
	color: #fff;
}

.user_table a, .previous_entries a {
	text-decoration: underline;
}

.user_table tr:first-child, .previous_entries tr:first-child{
	font-weight: bold;
}

.user_table tr:first-child td:first-child, .previous_entries tr:first-child td:first-child {
	border-top-left-radius: 6px;
}

.user_table tr:first-child td:last-child, .previous_entries tr:first-child td:last-child {
	border-top-right-radius: 6px;
}

.user_table tr:last-child td:first-child, .previous_entries tr:last-child td:first-child {
	border-bottom-left-radius: 6px;
}

.user_table tr:last-child td:last-child, .previous_entries tr:last-child td:last-child {
	border-bottom-right-radius: 6px;
}

.user_table tr:nth-child(odd), .previous_entries tr:nth-child(odd) {
	background: #8dc63f;
}

.user_table tr:nth-child(even), .previous_entries tr:nth-child(even) {
	background: #a5e84a;
	color: #3b393a;
}

.user_table tr:nth-child(even) a, .previous_entries tr:nth-child(even) a {
	color: #3b393a;
}

.user_table td, .previous_entries td {
	text-align: left;
	padding: .5em;
}

.nav li, label {
	list-style: none;
	color: #fff;
	font-size: 1.2em;
	text-shadow: 1px 1px 5px rgba(0,0,0,.4);
}

.nav li {
	line-height: 2;
}

.nav a {
	text-decoration: none;
	color: #fff;
}

.footer {
	margin-top: 1em;
}

@media screen and (max-width: 500px){
	input {
		width: 80%;
	}
}

@media screen and (min-width: 500px) {
	form {
		margin: auto;
		max-width: 600px;
	}
	label {
		float: left;
		clear: both;
	}
	input[type="text"], select, input[type="password"], input[type="tel"], .height-input, .query-type {
		float: right;
	}

	form h3, input[type="submit"] {
		clear: both;
	}
	.slider {
		clear: both;
	}
}