body {
	background:#FFFFFF url(images/bg_container.jpg) repeat-y; /* faux column image to match menu bg */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #333333;
	position: relative;
}

a {
	color: #13a;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	margin:0 0 15px 0; /* do not edit */
}

h1 {
	font-size: 16px;
}

h2,h3,h4,h5,h6 {
	font-size: 13px;
}

p {
	margin:7px 0;
}
strong, b {
	font-weight:bold;
}
em, i {
	font-style:italic;
}

.noscript {
	font-weight:bold;
	color:#FFFFFF;
	background:#FF0000;
	padding:10px;
}

#container {
	width:100%;
	overflow:hidden;
	clear:both;
}
#header {
	background:#eff0e1 url(images/DDPC_logo.png) no-repeat left center;
	font-weight:bold;
	font-size: 14px;
	text-align:left;
	height:80px;
	border-bottom:2px solid #FFFFFF;
}
#navigation { 
	background:#eff0e1; /* Needs to match menu bg */
	text-align:left;
	width:150px;
	margin:0 0 0 2px;
	float:left;
}
#content {
	text-align:left;
	width: calc(100% - 160px);
	padding: 25px;
	margin:0 0 0 2px;
	float:left;
}
.row {
	margin: 0;
}


/* LIST PAGE */

#section_head {
	overflow: hidden;
	padding-right: 15px;
	margin-bottom: 15px;
}
#section_head h1 {
	float: left;
}
#add_new {
	float:right;
}
.filter label.checkbox {
	font-weight: normal;
	margin: 0;
}
#filter-buttons {
	text-align: right;
}
.num_items_display {
	font-size: 1em;
}
#item_list {
	width: 100%;
	margin: 1em 0;
}
.table-responsive {
	border: 0;
}
table.tablesorter thead tr th, 
table.tablesorter tbody tr td,
table.tablesorter tfoot tr th {
	font-size: 1.2em !important;
}
table.tablesorter tbody td {
    padding: 7px !important;
}
#item_list thead tr.header th {
	border:1px solid #BDD2FF !important;
}
#item_list thead tr th, #item_list tbody tr td {
	vertical-align:middle;
}
#item_list thead tr th {
	font-weight:bold;
}
#item_list th.bulk-select,
#item_list td.bulk-select,
#item_list tbody tr td.action {
	text-align:center;
	width:60px;
}
#item_list tbody tr td.action a {
	min-width:45px;
}
#item_list tbody tr td.date {
	width:120px;
}
#item_list tbody tr td.boolean {
	min-width: 70px;
	width: 70px;
}
#item_list tbody tr td.image {
	text-align:center;
	width:50px;
}
#loading {
	background: rgba(255, 255, 255, .5);
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1000;
	display:none;
}
#pagination .pager {
	font-size: 1.1em;
    margin: 0;
}
#pager .form-control {
	display: inline-block;
	width: 5em;
}
#dialog-delete-relations {
	font-size: .9em;
}
.ui-dialog {
	width: 500px !important;
}
@media screen and (max-width: 500px) {
	.ui-dialog {
		width: 95% !important;
	}
}
.ui-dialog-buttonset button {
	font-weight: bold;
}

/* FORM PAGES */

#admin_form {
	max-width: 1050px;
}
#status,
div.error, 
#admin_form label.error,
#admin_form .error_heading,
#admin_form .required {
	font-weight: bold;
	font-size: 11px;
	color: red;
}
div.error {
	margin: 1em 0;
}
#admin_form label.error {
	margin: 1em 0 0 0;
}
#admin_form .error_heading {
	font-size: 1em;
	margin-bottom: 25px;
	display: none;
}
#admin_form .required {
	font-weight:bold;
	color: red;
	font-size: 1em;
}
#admin_form .sublabel {
	font-size: .9em;
	font-weight: normal;
}
#admin_form input.error, 
#admin_form select.error,
#admin_form textarea.error { 
	border: 1px solid red; 
}
#admin_form textarea.short {
	height: 50px;
}
#admin_form textarea.medium {
	height: 100px;
}
#admin_form textarea.tall {
	height: 150px;
}
#admin_form textarea.manute {
	height: 200px;
}
#admin_form .cb-boolean {
	margin: 1.5em 0;
}
#admin_form .cb-boolean label {
	font-weight: bold;
}
form .form-buttons .btn {
	width: 8em;
}
form .form-buttons .btn-danger {
	margin-top: 10px;
}
.form-control.date-time, .form-control.quarter {
	width: 25%;
}
.form-control.half {
	width: 50%;
}
.form-control.three-quarters {
	width: 75%;
}

/* ARRANGE */

#admin_form.page-arrange {
	max-width: 640px;
}
#order_list {
	border: 1px solid #BDD2FF;
	width: 100%;
}
#order_list th, td {
	padding: 5px 10px;
	font-size: 1em;
}
#order_list tbody tr th {
	font-weight:bold;
	background-color: #e6EEEE;
}
#order_list tbody tr.even td {
	background-color: #FFF;
}
#order_list tbody tr.odd  td {
	background-color: #F0F0F6;
}
#order_list tbody tr.dragged  td {
	color:#FFFFFF;
	background-color: #000000;
}

/* LOGIN PAGE */

.login_page {
	background:transparent;
}
#login_container {
	width: 300px;
	margin:100px auto;
}
#login_container .login_header {
	background-image: url(images/DDPC_logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	height: 62px;
	margin-bottom: 25px;
}
#login_container .lockout {
	text-align:center;
	margin-top:25px;
}
#login_form div {
	margin:0 0 15px 0;
}

#login_form div.error, 
#login_form label.error {
	font-weight: bold;
	font-size: 11px;
	color: red;
}
#login_form div.error {
	margin: 10px 0;
}
#login_form label.error {
	margin-top: 10px;
}
#login_form input.error { 
	border: 1px solid red; 
}
#login_form .btn-login-cnt {
	text-align: center;
}

/* USERS */

#status {
	display: inline-block;
	margin-top:10px;
}
#permissions label.error { 
	display: none; 
}	
#permissions .perm_row {
	overflow:hidden;
}
#permissions .perm_row label,
#permissions label.select-all {
	font-weight: normal;
}
#permissions div.column {
	width:200px;
	float:left;
}
#permissions div.column div {
	margin:5px 0;
}
#permissions .checkboxes span {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.2em;
    margin-right: 10px;
    display: inline-block;
}
#permissions, #permissions > label.control-label {
	margin-bottom: 2em;
}

/* MISC */

/* Multiselect Plugin */
.ui-multiselect {
	width: 100% !important;
}
.ui-multiselect-menu {
	width: inherit !important;
	font-size: 1em;
}
.ui-multiselect-menu label {
	font-weight: normal;
}
.ui-multiselect-menu label > span {
	margin-left: 10px;
}
.ui-widget {
    font-size: 1em;
}

/* Date/Time fields */
.form-control.date-time {
	width: 25%;
}

/* TinyMCE */
.mce-tinymce {
    max-width: 100%;
}

/* MQ */

@media screen and (max-width: 640px) {
	#login_container {
		width: auto;
		margin: 1em;
		margin-top: 5em;
	}
	form .form-buttons .btn {
		width: 100%;
	}
	#admin_form .page-arrange {
		width: 100%;
		max-width: inherit;
	}
	.form-control.date-time, 
	.form-control.quarter, 
	.form-control.half, 
	.form-control.three-quarters {
		width: 100%;
	}
}

@media screen and (max-width: 1024px) {
	body {
		background: #FFFFFF;
	}
	#header, #navigation {
		display: none;
	}
	#content {
		width: 100%;
		padding: 2%;
		margin: 0;
		float:none;
	}
	#section_head h1 {
		float: none;
	}
	#add_new {
		display: block;
		margin-left: 15px;
		margin-bottom: 1em;
		float: none;
	}
	.num_items_display {
		margin-bottom: 1em;
	}
	.table-responsive {
		margin-bottom: 1em;
	}
	#pagination .pager {
	    margin-bottom: 15px;
	}
}