body {
	background-color: #fff;
	margin: 0px;
	font: 16px/20px normal Helvetica, Arial, sans-serif;
	color: #4F5155;
	/* min-width: 500px; */
}
body.auth {
	background: #eee;
}

a {
	color: #56789a;
	background-color: transparent;
	font-weight: normal;
	text-decoration: none;
}
a:hover {
	color: #4F5155;
	cursor: pointer;
}

h1 a,
h1 a:hover {
	color: #fff;
}
a.logout-link {
	color: #fff;
	font-size: 16px;
	padding: 19px 20px;
	margin-right: 1px;
}
a.logout-link i {
	font-size: 22px;
	position: relative;
	top: 2px;
}
a.active-logout-link,
a.logout-link:hover {
	background: #234567;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.clear {
	clear: both;
}
.meta-details {
	color: #999;
	font-style: italic;
}

.right {
	float: right;
}
.indent {
	margin-left: 8px;
}
.exdent {
	margin-right: 8px;
}
.hidden {
	display: none;
}
.ta-right {
	text-align: right;
}
.ta-right label {
	margin-top: 8px;
}

span.required {
	color: red;
	margin-left: 4px;
}

div.divider {
	padding-top: 20px;
	border-bottom: solid 1px #ccc;
	clear: both;
}

div.section a.update-link {
	float: right;
}

div.section {
	padding-bottom: 20px;
}

div.spacer {
	padding-top: 20px;
	clear: both;
}

div.errors {
	background: #ffcccc;
	border: solid 1px #cc0000;
	color: #cc0000;
	padding: 0 20px;
}

div#auth-main h1 {
	margin: 100px 0 40px;
	text-align: center;
	font-weight: normal;
	font-size: 30px;
}

/* Login Form */
div.login {
	margin: 30px auto;
	width: 320px;
	padding: 22px 32px;
	border: solid 1px #ccc;
	border-radius: 6px;
	background: #fff;
}

div.login h2 {
	margin: 10px 0 30px;
	font-weight: normal;
	font-size: 30px;
}

div.login p.label {
	margin: 30px 0px 0px;
	font-size: 16px;
}

div.login p.input {
	margin: 5px 0 10px;
}

div.login p.input input {
	width: 316px;
	padding: 4px 0;
	text-indent: 4px;
	font-size: 24px;
}

div.login form input[type="submit"] {
	font-size: 16px;
	padding: 10px 14px;
}

input[type="submit"],
button {
	background: #345678;
	border: solid 1px #234567;
	border-radius: 4px;
	margin: 10px 0;
	padding: 8px 12px;
	color: #fff;
	font-size: 14px;
}

input[type="submit"]:hover,
button:hover {
	background: #234567;
/* 	border: solid 1px #345678; */
	cursor: pointer;
}

/* Main Content */
div#main {
	background: #eee;
}

div#main div#top-bar {
	background: #345678;
	color: #fff;
	border-bottom: solid 1px #234567;
}

div#main div#top-bar h1 {
	font-size: 16px;
	font-weight: normal;
	float: left;
	padding: 12px 20px 8px;
}

div#main div#main-content {
	padding: 30px 30px 60px;
	background: #fff;
}

/* Nav */
div#main div#nav {
	background: #56789a;
}
div#main div#nav ul {
	padding: 0;
}
div#main div#nav ul li {
	border-right: solid 1px #456789;
	float: left;
	font-size: 14px;
}
div#main div#nav ul li:hover {
	background: #6789ab;
}
div#main div#nav ul li a {
	padding: 10px 20px;
	display: block;
	color: #fff;
}
div#main div#nav ul li a i {
	font-size: 1.2em;
}
div#main div#nav ul li a,
div#main div#nav ul li a:hover,
div#main div#nav ul li a:active {
	text-decoration: none;
}
div#main div#nav ul li.current a {
	background: #fff;
	color: #234567;
}

/* Dashboard */
div.dashboard-column-left {
	width: 60%;
	float: left;
}
div.dashboard-column-right {
	width: 40%;
	float: left;
}

div.dashboard-pane {
	margin-right: 60px;
}

div.dashboard-pane h2 {
	font-size: 22px;
	font-weight: 300;
	margin: 0 0 30px;
}

/* Calendar */

div.calendar-pane {
	border: solid 1px #234567;
	width: 110px;
	float: left;
}

div.calendar-pane div.day-text {
	background: #56789a;
	border-bottom: solid 1px #234567;
	color: #fff;
	text-align: center;
	padding: 6px 0;
	font-size: 14px;
}

div.calendar-pane div.month {
	background: #56789a;
	border-top: solid 1px #234567;
	color: #fff;
	text-align: center;
	padding: 6px 0;
	font-size: 14px;
}
div.calendar-pane div.day {
	font-size: 32px;
	text-align: center;
	padding: 32px 0;
	background: #fff;
	color: #444;
}

div.todays-dogs {
	margin-left: 130px;
	margin-right: 60px;
}

div.todays-dogs p.day-dog {
	margin: 5px 0;
	padding: 4px 10px;
	border-radius: 2px;
}

/* Flash message */
div.flash-message {
	padding: 14px 22px;
	margin-bottom: 30px;
}
div.flash-success {
	border: solid 1px #aaccaa;
	background: #b8e8b2;
}
div.flash-error {
	border: solid 1px #963421;
	background: #e8988d;
}


/* Actions bar */
div.actions-bar {
	margin-bottom: 40px;
}
div.actions-bar ul li {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
div.actions-bar ul li a {
	display: block;
	padding: 6px 10px;
	float: left:
}

div.actions-bar form {
	float: right;
	border: solid 1px #ccc;
	padding: 2px;
}

div.actions-bar form input,
div.actions-bar form label {
	float: left;
	width: 200px;
	padding: 7px;
	border: none;
	outline: none;
}
div.actions-bar form input[type="submit"] {
	border-radius: 2px;
	margin: 0;
	padding: 7px 12px;
	width: auto;
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
}
table tr th,
table tr td {
	padding: 10px;
	font-size: 16px;

}

table tr th {
	text-align: left;
}
table tr.alt td {
	background: #eee;
}
table tr td.icon {
	width: 20px;
	text-align: center;
}

div.form-table table,
div.summary-table table {
	border-top: solid 1px #ccc;
	border-left: solid 1px #ccc;
	margin-bottom: 20px;
}

div.form-table {
	float: left;
	margin-right: 40px;
}

div.form-table table {
	width: auto;
}

div.form-table table tr th,
div.form-table table tr td,
div.summary-table table tr th,
div.summary-table table tr td {
	border-right: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	vertical-align: text-top;
}

div.form-table table tr .option {
	text-align: center;
}

div.form-table table tr th {
	background: #eee;
}
div.form-table table tr th.option {
	width: 50px;
}

div.summary-table table tr th {
	background: #eee;
	width: 15%;
}
div.summary-table table tr td {
	width: 35%;
	background: #fff;
}


div.form-table table tr td input[type="radio"] {
	margin-top: 0;
}

/* forms */
div.form-block-full,
div.form-block-half,
div.form-block-quarter {
	float: left;
}

div.form-block-full {
	width: 98%;
	margin-right: 2%;
}

div.form-block-half {
	width: 46%;
	margin-right: 4%;
}

div.form-block-quarter {
	width: 20%;
	margin-right: 5%;
}

span.form-hint {
	margin-top: 5px;
	display: block;
}

div.form-block-quarter textarea {
	height: 100px;
}

textarea {
	height: 158px;
}

textarea,
input {
	padding: 6px;
	font-size: 16px;
	width: 98%;
}

input[type="submit"] {
	width: auto;
}

form input[type="radio"] {
	width: 20px;
	margin-top: 10px;
	margin-right: 0;
}
span.radio-label {
	margin-right: 20px;
}

label {
	margin: 20px 0 0;
	display: block;
}

select {
	height: 32px;
	padding: 4px 8px;
	font-size: 16px;
	line-height: 1.6;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #bbb;
	border-radius: 2px;
	-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, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	outline: none;
	width: 100%;
}

form h3 {
	margin: 40px 0 0;
}

div.ui-datepicker-header a.ui-corner-all {
	margin-top: 4px;
}

table.form-table th.option {
	width: 100px;
}

div.summary-box {
	border: solid 1px #ccc;
	margin-bottom: 40px;
	background: #eee;
}

div.summary-box ul.tabs li {
	float: left;
/* 	border-right: solid 1px #ccc; */
}

div.summary-box ul.tabs li a {
	display: block;
	padding: 10px 24px;
	position: relative;
	top: 1px;
}

div.summary-box ul.tabs li a:hover {
	text-decoration: none;
}

div.summary-box ul.tabs li a.current {
	background: #fff;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
	border-top: solid 1px #ccc;
}

div.summary-box div.summary-box-inner {
	background: #fff;
	padding: 10px 20px;
	border-top: solid 1px #ccc;
}

/* Button links */
div.pagination a,
div.pagination strong,
a.button-link {
	background: #eee;
	border: solid 1px #ccc;
	border-radius: 2px;
	padding: 6px 8px;
	color: #666;
}
div.pagination a:hover,
a.button-link:hover {
	background: #e6e6e6;
}
div.pagination a:active,
a.button-link:active {
	background: #ccc;
	border-color: #aaa;
	border-top-width: 2px;
	border-bottom-width: 1px;
}
a.button-link i {
	margin-right: 8px;
}
a.button-link i.icon-only {
	margin-right: 0px;
}

div.pagination {
	margin-bottom: 20px;
}

div.pagination strong {
	text-decoration: underline;
	color: #888;
}

div.pagination a,
div.pagination strong {
	margin-right: 4px;
}

div.custom-alert-background {
	width: 100%;
	height: 100%;
	background: rgba(40, 40, 40, 0.5);
	position: fixed;
	top: 0;
	left: 0;
}

div.custom-alert {
	width: 40%;
	max-width: 300px;
	background: rgba(255, 255, 255, 1);
	border-radius: 2px;
	position: relative;
	padding: 20px 40px;
	margin: 10% auto;
	text-align: center;
}

div.custom-alert p {
	font-size: 18px;
	line-height: 1.6em;
	margin-bottom: 0;
}

div.custom-alert p a.cancel-adhoc-alert,
div.custom-alert p button.cancel-custom-alert {
	background: #fff;
	color: #aaa;
}
div.custom-alert p a.cancel-adhoc-alert:hover,
div.custom-alert p button.cancel-custom-alert:hover {
	background: #eee;
	color: #888;
}

div.custom-alert p button.close-custom-alert,
div.custom-alert p a.custom-alert-link {
	background: #456789;
	color: #fff;
	box-shadow: 1px 1px 1px 1px #345678;
}

div.custom-alert p a.custom-alert-link {
	display: inline-block;
	padding: 8px 18px 8px;
	font-size: 18px;
	border:none;
	border-radius: 2px;
	cursor: pointer;
	position: relative;
	top:-1px;
	box-shadow: none;
	margin: 0 10px;
}

div.custom-alert p a.cancel-adhoc-alert,
div.custom-alert p button.cancel-custom-alert,
div.custom-alert p button.close-custom-alert {
	padding: 12px 18px;
	font-size: 18px;
	border:none;
	border-radius: 2px;
	cursor: pointer;
	margin: 20px 10px 20px;
}


@media screen and (max-width: 1000px) {
	div.form-block-full,
	div.form-block-half,
	div.form-block-quarter {
		float: none;
		width: 100%;
	}
	
	div.form-block-full input,
	div.form-block-half input,
	div.form-block-quarter input,
	div.form-block-full select,
	div.form-block-half select,
	div.form-block-quarter select,
	div.form-block-full textarea,
	div.form-block-half textarea,
	div.form-block-quarter textarea {
		width: 98%;
	}

	.ta-right {
		text-align: left;
	}
	
	form input[type="radio"] {
		width: 20px;
		margin-top: 10px;
		margin-right: 0;
	}
	.narrow-hide {
		display: none;
	}
	input {
		border: solid 1px #ccc;
	}
	div.custom-alert {
		width: 80%;
		background: rgba(255, 255, 255, 1);
		border-radius: 2px;
		position: relative;
		padding: 20px 40px;
		margin: 1% auto;
		text-align: center;
	}
}
@media screen and (min-width: 1000px) {
	.ta-right label {
		position: relative;
		left: 16%;
	}
}

@media screen and (max-width: 600px) {
	div#main div#main-content {
    	padding: 16px 16px 30px;
	    background: #fff;
    }
	div#main div#nav ul li a i {
		font-size: 1.3em;
	}

	div.actions-bar form {
		float: left;
		margin-top: 30px;
	}
	
	.narrowest-hide {
		display: none;
	}
}
