* {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	color: #333333;
	font-size: 1em;
}

#wrapper {
	min-height: 100%;
	position: relative;
}

html, body {
	height: 100%;
	position: relative;
}

div#content {
	padding-bottom: 7em;
	clear: both;
	padding-top: 1rem;
}

@media (min-width: 1500px) {
body {
	margin: 0 20%;
}
}
@media (min-width: 1300px) and (max-width: 1499px) {
body {
	margin: 0 10%;
}
}
@media (min-width: 501px) and (max-width: 1299px) {
body {
	margin: 0 5%;
}
}

.clear {
	clear: both;
}

input {
	width: 100%;
	padding: .3em;
	border: 1px solid #cccccc;
	display: block;
	font-size: 1em;
	box-sizing: border-box;
}

input[type=checkbox] {
	width: auto;
	margin-left: 40%;
}

textarea {
	width: 100%;
	padding: .3em;
	box-sizing: border-box;
	border: 1px solid #cccccc;
}

button {
	background-color: #cccccc;
	padding: .4em .7em;
	cursor: pointer;
	border: 1px solid #cccccc;
	font-size: 1.1em;
	color: #333333;
}

button:hover {
	background-color: #aaaaaa;
}

button.green {
	background-color: #339933;
	color: #ffffff;
}

button.green:hover {
	background-color: #117711;
}

button:disabled {
	background-color: #dddddd;
	color: #999999;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9em;
}

table.reservations {
	table-layout: fixed;
}

table.reservations td, table.reservations th {
	overflow: hidden;
}

tr:nth-of-type(odd) {
	background: #f9f9f9;
}

th {
	background: #eeeeee;
	color: #333333;
	font-weight: 600;
	text-align: left;
}

td, th {
	padding: 6px;
	border: 1px solid #e7e7e7;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;
}

section h1 {
	font-weight: 700;
}

table button {
	padding: .2em !important;
	font-size: 1em !important;
	margin-right: 1em;
}

table.reservations td:last-child {
	text-align: center;
}


table.form tr:nth-of-type(odd) {
	background: #ffffff;
}

table.form select {
	width: 100%;
	font-size: 1.05em;
	padding: .3em;
	border: 1px solid #cccccc;
}

table.form select option[disabled="disabled"] {
    color: #aaaaaa !important;
    background-color: #ffffff !important;
}

table.form th {
	vertical-align: top;
	background-color: #ffffff;
	text-align: right;
}

table.form tr.fieldset-head td {
	text-align: left;
	font-weight: 600;
	padding: .5em;
	font-size: 1em;
	color: #ffffff;
	box-sizing: border-box;
}

table.form tr.fieldset-description td {
	padding: .5em;
	box-sizing: border-box;
}

table.form td.submit {
	border-color: #ffffff;
}

table.form span.field-error li {
	color: red !important;
	font-size: .8em;
	font-weight: 400;
	font-style: italic;
}

table.form div.info {
	font-size: .8em;
	font-weight: 400;
	font-style: italic;
}

table.form span.field-error ul {
	list-style: none;
}
/***** SECTION COLORS *****/

/* Default section color: green */
section h1 {
	background-color: #339933;
	padding: .5em;
	font-size: 1em;
	color: #ffffff;
}
table.form tr.fieldset-head td { background-color: #339933;}

section.blue { border-color: #262b70; }
section.blue h1 { background-color: #262b70;}
section.blue table.form tr.fieldset-head td { background-color: #262b70;}

section.red { border-color: #e51400; }
section.red h1 { background-color: #e51400; }
section.red table.form tr.fieldset-head td { background-color: #e51400;}

section.light-blue { border-color: #255c99; }
section.light-blue h1 { background-color: #255c99; }
section.light-blue table.form tr.fieldset-head td { background-color: #255c99;}

section.asphalt { border-color: #34495e; }
section.asphalt h1 { background-color: #34495e; }
section.asphalt table.form tr.fieldset-head td { background-color: #34495e;}

section.dark-red { border-color: #b3001b; }
section.dark-red h1 { background-color: #b3001b; }
section.dark-red table.form tr.fieldset-head td { background-color: #b3001b;}

section.concrete { border-color: #95a5a6; }
section.concrete h1 { background-color: #95a5a6; }
section.concrete table.form tr.fieldset-head td { background-color: #95a5a6;}

section.asbestos { border-color: #7f8c8d; }
section.asbestos h1 { background-color: #7f8c8d; }
section.asbestos table.form tr.fieldset-head td { background-color: #7f8c8d;}

section.light-gray { border-color: #484848; }
section.light-gray h1 { background-color: #484848; }
section.light-gray table.form tr.fieldset-head td { background-color: #484848;}

section.dark-gray { border-color: #262626; }
section.dark-gray h1 { background-color: #262626; }
section.dark-gray table.form tr.fieldset-head td { background-color: #262626;}

/*
section.YYY { border-color: #XXX; }
section.YYY h1 { border-color: #XXX; }
section.YYY table.form tr.fieldset-head td { background-color: #XXX;}
*/

section h1 .fa {
	color: #ffffff;
}

section p {
	margin: .4em 1em;
	font-size: .9em;
}

section > ul {
	margin-left: 2em;
	font-size: .9em;
}

section nav {
	width: 100%;
	background-color: #ffffff;
	border-bottom: 2px solid #339933;
}

section nav ul.tabs {
	list-style: none;
	width: 100%;
	margin-bottom: 0 !important;
}

section nav ul.tabs li {
	box-sizing: border-box;
	width: 33.33%;
	float: left;
	text-align: center;
	padding: .5em 0;
	border-right: 2px solid #339933;
	cursor: pointer;
}

section nav ul.tabs li:last-child {
	border-right: 0px solid #ffffff;
}

section nav ul.tabs li.selected {
	background-color: #339933;
	color: #ffffff;
	font-weight: 900;
}

section nav ul.tabs li:hover {
	font-weight: 900;
}

section nav select {
	width: 100%;
	padding: 1em 0;
	color: #ffffff;
	background-color: #339933;
	border: 1px solid #339933;
	text-align: center;
	font-size: 1.1em;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}

section .loading-container {
	text-align: center;
	margin: .5em 0;
}

span.divlink {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	background-image: url('/images/clear.gif');
}

header {
	padding: 20px 0;
}

nav.usernav {
	margin-top: 1.2em;
}

nav.usernav ul {
	list-style: none;
}

nav.usernav ul li {
	display: inline-block;
	background-color: #cccccc;
	padding: .4em .7em;
	cursor: pointer;
	position: relative;
}

nav.usernav ul li:last-child {
	margin-right: 0;
}

nav.usernav ul li:hover {
	background-color: #339933;
	color: #ffffff;
}

nav.usernav ul li:hover .fa {
	color: #ffffff;
}

.loginbox h1 {
	font-weight: 300;
	text-transform: uppercase;
	margin-bottom: .8em;
}

.loginbox input {
	margin: 0 0 1em 0;
}

.loginbox .form-error {
	width: 96%;
	margin: 0 0 1em 0;
	padding: .3em 2%;
	border: 1px solid #dd0000;
	display: block;
	font-size: .8em;
}

.loginbox button {
	font-size: 1em;
	padding: .3em;
	float: right;
	margin: 0;
	border: 1px solid #262b70;
	background-color: #262b70;
	color: #ffffff;
}

.loginbox .forgotpass {
	background-color: #eeeeee;
	text-align: center;
	font-size: 1em;
	padding: 1.4em;
	color: #666666;
	position: relative;
}

footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding: 1.5em;
	font-size: .9em;
	color: #666666;
}

@media (max-width: 500px) {

div#content {
	padding-bottom: 9em;
}

header {
	margin-bottom: 0;
	text-align: center;
}

header img {
	width: 92%;
	margin: 0 4%;
}

nav.usernav {
	margin-top: .6em;
	display: inline-block;
	width: 100%;
	font-size: 1.1em;
	text-align: center;
	box-sizing: border-box;
}

nav.usernav ul {
	width: 100%;
	margin-bottom: .6em;
}

nav.usernav ul li {
	margin: 0 .2em 0 0;
	padding: .2em .4em;
	text-align: center;
}

nav.usernav ul li:last-child {
	margin: 0;
}

.loginbox {
	width: 100%;
	margin: 0;
	border-top: 2px solid #262b70;
}

.loginbox h1 {
	text-align: center;
}

button {
	width: 100%;
	padding: 1.2em !important;
	margin: 0 0 .2em 0 !important;
}

td, th {
	text-align: left;
}

table.form th {
	background-color: #eeeeee;
}

.loginbox-content {
	padding: 4%;
}

section nav ul { display: none; }
section nav select{ display: inline-block; }
}

@media (min-width: 501px) {
header {
	margin-bottom: 1em;
	border-bottom: 1px solid #dddddd;
}

footer {
	border-top: 1px solid #dddddd;
}

nav.usernav {
	float: right;
}

nav.usernav ul li {
	margin-right: 10px;
}

.loginbox {
	margin: 8em auto 0 auto;
	border: 2px solid #262b70;
	width: 400px;
}

.loginbox-content {
	padding: 2em;
}

section {
	margin: 20px 0;
	border: 2px solid #339933;
}

	section nav select {
		display: none;
	}
}


/* Responsive Table Magic */
@media only screen and (max-width: 500px) {

	/* Force table to not be like tables anymore */
	table.data, table.data thead, table.data tbody, table.data th, table.data td, table.data tr {
		display: block;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.data thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.data tr { border: 1px solid #ccc; }
	
	table.data td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #dddddd;
		position: relative;
		padding-left: 50%;
	}
	
	table.data td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

	table.data td:last-child {
		padding-left: 0;
	}

	table.reservations td:nth-of-type(1):before { content: "Reservation"; }
	table.reservations td:nth-of-type(2):before { content: "Status"; }
	table.reservations td:nth-of-type(3):before { content: "Talk Group"; }
	table.reservations td:nth-of-type(4):before { content: "Priority"; }
	table.reservations td:nth-of-type(5):before { content: "Start"; }
	table.reservations td:nth-of-type(6):before { content: "End"; }
	table.reservations td:nth-of-type(7):before { content: "Event Type"; }
	table.reservations td:nth-of-type(8):before { content: "Requesting Agency"; }
	table.reservations td:nth-of-type(9):before { content: "Description"; }
	table.reservations td:nth-of-type(10):before { content: "Contact"; }
}

/* Begin Sponsors Page */
section.sponsor {
	text-align: center;
}
/* End Sponsors Page */

div.switch {
	display: inline-block;
	position: relative;
	width: 42px;
	height: 18px;
	border-radius: 9px;
	overflow: hidden;
	cursor: pointer;
}

div.switch .slider {
	position: absolute;
	top: 2px;
	width: 14px;
	height: 14px;
	border: 0px solid #ffffff;
	border-radius: 7px;
	background-color: #ffffff;
}

div.switch.true { background-color: #4fb36b; }
div.switch.true .slider { right: 2px; }

div.switch.false { background-color: #8e9aa8; }
div.switch.false .slider { left: 2px; }

td.description {
	white-space:nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	text-decoration: underline;
}

div.ui-widget-overlay {
	opacity: 0.5 !important;
	background-color: #000 !important;
	background: none;
}

/* notification bell */
.notification {
	display: inline-block;
	position: relative;
	/*padding: 0.6em;*/
	padding-left: 10px;
	/*background: #3498db;*/
	border-radius: 0.2em;
	/*font-size: 1.3em;*/
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
	display: none;
}

.notification::before,
.notification::after {
	color: #000;
	/*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);*/
}

.notification::before {
	display: block;
	content: "\f0f3";
	font-family: "FontAwesome";
	transform-origin: top center;
}

.notification::after {
	font-family: Arial;
	font-size: 9px;
	font-weight: 600;
	position: absolute;
	top: -6px;
	right: -9px;
	padding: 2px 4px;
	line-height: 100%;
	border: 2px #FF0000 solid;
	border-radius: 60px;
	background: #FF0000;
	opacity: 0;
	content: attr(data-count);
	-webkit-transform: scale(0.5);
	color: white;
}

.notification.notify::before {
	-webkit-animation: ring 1.5s ease;
	animation: ring 1.5s ease;
}

.notification.show-count::after {
	-webkit-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.selected .notification:before{
	color: #FFF;
}

tr.new-reservation {
	background-color: #a3c4e5;
}

button.calendar-view-button {
	float: right;
}

img.calendar-icon{
	display: inline-block;
	padding-right: 10px;
	vertical-align: middle;
}

.nav-tabs {
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.nav {
	padding-left: 0;
	list-style: none;
}

.nav:before {
	content: " ";
	display: table;
}

.nav:after {
	content: " ";
	clear: both;
	display: table;
}

.nav-tabs>li {
	float: left;
	margin-bottom: -1px;
}

.nav>li {
	position: relative;
	display: block;
}

.nav-tabs>li.active>a {
	color: #555;
	cursor: default;
	background-color: #fff;
	border: 1px solid #ddd;
	border-bottom-color: transparent;
}

.nav-tabs>li>a {
	margin-right: 2px;
	line-height: 1.42857143;
	border: 1px solid transparent;
	border-radius: 4px 4px 0 0;
	text-decoration: none;
}

.nav>li>a {
	position: relative;
	display: block;
	padding: 10px 15px;
}

.tab-content>.tab-pane {
	display: none;
}

.filter-form-row>select {
	background-color: white;
	height: 34px;
}

#filter-form {
	padding: 0px 0px 10px 0px;
}

#filter-form>.filter-form-row {
	display: inline-block;
}
#filter-form>input {
	display: inline-block;
	width: 200px;
	margin-left: 15px;
}

/* Start Talk Group Notifications Page */

#talk_group_notification_container {
	max-width: 596px;
	margin: 0 auto;
	padding: 0;
}

#talk_group_notification_container p {
	margin: 10px 5px 10px 5px;
}


#talk_group_notification_table {
	width: auto;
	margin: 20px 0 20px 0;
	padding: 0;
}


#talk_group_notification_table th, #talk_group_notification_table td{
	text-align: center;
	vertical-align: middle;
	padding: 4px;
	border: 1px solid #a7a7a7;
}

#talk_group_notification_table tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}


#talk_group_notification_table td input {
	margin: 0;
	padding: 0;
	width: 100%;
}

#interests_initial_cover {
	position: absolute;
	top: 28px; right: 0; left: 0; bottom: 0;
	background: rgba(245, 245, 245, 0.84);
}

#interests_initial_cover p {
	margin-top: 100px;
	font-size: 26px;
	text-align: center;
}

#interests_initial_cover p span {
	padding: 10px;
	background-color: #ffffff;
	border: 1px solid #d5dce6;
}

.notifications-menu {
	max-width: 796px;
	margin: 10px auto;
}

.notifications-menu label {
	width: 90px;
	float: left;
}

.notifications-menu select {
	width: 445px;
	float: left;
}

#template_action_buttons {
	margin-top: 10px;
	margin-left: 80px;
}

#template_action_buttons button,
.notifications-menu button {
	margin: 0 0 0 10px !important;
	padding: 0 4px;
}



/* End Talk Group Notifications Page */


@media (min-width: 300px) and (max-width: 657px) {
	#filter-form>.filter-form-row {
		display: block;
	}

	.filter-form-row>select {
		background-color: white;
		height: 34px;
		width: 100%;
	}

	#filter-form>input {
		display: inline-block;
		width: 100%;
		margin-left: 0px;
	}

	#filter-form {
		padding-left: 0px;
	}
}

.tab-pane button {
	margin: 14px 0px 14px 0px;
}

.pagination {
	text-align: center;
	display:block;
	margin: 10px 0px;
}

.pagination li {
	display: inline-block;
	height: 100%;
}

.pagination ul {
	list-style-type: none;
	position: relative;
	height: 100%;
}

.pagination li>a {
	position: relative;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.4285;
	box-sizing: border-box;
	display: inline-block;
	/*color: #337ab7;*/
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	height: 100%;
	cursor: pointer;
}

.pagination li>a.active {
	z-index: 3;
	color: #fff;
	cursor: default;
	background-color: #339933;
	border-color: grey;
}

.pagination li>a:hover {
	z-index: 2;
	color: #23527c;
	background-color: #eee;
	border-color: #ddd;
}
