/* Manager forms */
#emergencies {
	padding-top: 44px;
	position: relative;
}
#emergencies > button {
	background-color: #fff;
	border: 2px solid #1F3B71;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	color: #1F3B71;
	cursor: pointer;
	font-size: 1em;
	left: 50%;
	letter-spacing: normal;
	margin: 0;
	padding: 0;
	position: absolute;
	text-align: center;
	text-transform: none;
	top: 0;
	width: 50%;
}
#emergencies > button:first-child {
	left: 0;
}
#emergencies > button > h3 {
	color: #1F3B71;
	line-height: 40px;
	margin: 0;
}
#emergencies > button.eActive {
	background: #1F3B71;
	color: #fff;
}
#emergencies > button.eActive > h3 {
	color: #fff;
}
.mgr-emergencies {
	padding: 15px 0 30px;
}
.mgr-emergencies > p {
	margin: 0;
}
#mgr-updates {
	display: none;
}
.mgr-emergencies > h4 {
	background: #eee;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: inset 0 0 0 1px #D6D6D6;
	-webkit-box-shadow: inset 0 0 0 1px #D6D6D6;
	box-shadow: inset 0 0 0 1px #D6D6D6;
	color: #444;
	cursor: pointer;
	font-size: 1.2em;
	margin: 5px 0 0;
	overflow: hidden;
	padding: 15px;
	padding-right: 120px;
	position: relative;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	-webkit-transition: all .2s;
	transition: all .2s;
}
#mgr-status.mgr-emergencies > h4 {
	padding-left: 45px;
}
#mgr-status.mgr-emergencies > h4:before {
	background: #aaa;
	content: '';
	display: inline-block;
	height: 18px;
	width: 18px;
	border-radius: 100%;
	border: 2px solid #fff;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	margin-right: 10px;
	position: absolute;
	left: 15px;
	top: 20px;
}
#mgr-status.mgr-emergencies > h4.priority-1:before {
	background: #ff0000;
}
#mgr-status.mgr-emergencies > h4.priority-2:before {
	background: #f26922;
}
#mgr-status.mgr-emergencies > h4.priority-3:before {
	background: #FFCC00;
}
#mgr-status.mgr-emergencies > h4.priority-4:before {
	background: #19af62;
}
.mgr-emergencies > h4 em {
	font-style: normal;
}
.mgr-emergencies > h4:hover, .mgr-emergencies > h4:focus {
	background: #e6e6e6;
}
.mgr-emergencies > h4.status-edit {
	background: #F3E306;
	box-shadow: inset 0 0 0px 1px #DACC05;
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}
.mgr-emergencies > h4 > .status-controls {
	bottom: 0;
	position: absolute;
	right: 0;
    top: 0;
	width: 106px;
}
.mgr-emergencies > h4 > .status-controls a {
	display: block;
	float: left;
	color: #fff;
	width: 53px;
	text-align: center;
	text-decoration: none;
	position: relative;
	top: 0;
	right: 0;
	height: 100%;
}
.mgr-emergencies > h4 > .status-controls a.editStatus {
	background: #034694;
}
.mgr-emergencies > h4 > .status-controls a.editStatus:hover, .mgr-emergencies > h4 > .status-controls a.editStatus:focus {
	background: #033C7E;
}
.mgr-emergencies > h4 > .status-controls a.deleteStatus {
	background: #F34541;
}
.mgr-emergencies > h4 > .status-controls a.deleteStatus:hover, .mgr-emergencies > h4 > .status-controls a.deleteStatus:focus {
	background: #DA3E3A;
}
.mgr-emergencies > h4 > .status-controls a.deleteStatus.deleting .fa {
	-moz-animation: fa-spin 1.5s infinite linear;
	-webkit-animation: fa-spin 1.5s infinite linear;
	animation: fa-spin 1.5s infinite linear;
}
.mgr-emergencies > h4 > .status-controls a.deleteStatus.deleting .fa:before {
	content: '\f021';
}
.mgr-emergencies > h4 > .status-controls a .fa {
	display: block;
    line-height: 40px;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    font-size: 1.2em;
}
.mgr-emergencies > h4.status-edit > .status-controls a.editStatus .fa:before {
	content: '\f00d';
}
.mgr-emergencies .status-holder {
	display: none;
}
form.managers-form {
	max-width: none;
	width: 100%;
}
form.managers-form .searchfields, form.managers-form .filterfields {
	background: rgba(43, 172, 226, .05);
	-moz-box-shadow: inset 0 0 0 1px rgba(43, 172, 226, .25);
	-webkit-box-shadow: inset 0 0 0 1px rgba(43, 172, 226, .25);
	box-shadow: inset 0 0 0 1px rgba(43, 172, 226, .25);
	margin-bottom: 10px;
	padding: 15px 0 0 15px;
}
form.managers-form .searchfields.hasError, form.managers-form .filterfields.hasError {
	background: rgba(255, 64, 64, .125);
	-moz-box-shadow: inset 0 0 0 1px #FF4040;
	-webkit-box-shadow: inset 0 0 0 1px #FF4040;
	box-shadow: inset 0 0 0 1px #FF4040;
}
form.managers-form .filterfields.statuses .filter label:before {
	content: '\f1db';
}
form.managers-form .filterfields.statuses .filter label.checked:before {
	content: '\f111';
}
form.managers-form .text {
	margin-bottom: 10px;
}
form.managers-form .text, form.managers-form .textarea {
	border-color: #bbb;
	padding: 6px 10px;
}
form.managers-form .text:focus, form.managers-form .textarea:focus {
	border-color: #2BACE2;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.05);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.05);
	box-shadow: 0 0 10px rgba(0,0,0,.05);
}
form.managers-form .text.hasError, form.managers-form .textarea.hasError {
	background: rgba(255, 64, 64, .125);
	border-color: #FF4040;
}
.mgr-emergencies:after, form.managers-form:after, form.managers-form .checkboxset ul:after, .mgr-update .filterfields:after {
	clear: both;
	content: '';
	display: block;
}
form.managers-form .field:not(.textarea) {
	margin-bottom: 10px;
}
form.managers-form .checkboxset ul li {
	float: left;
}
form.managers-form .checkboxset ul li:not(:last-child) {
	margin-right: 15px;
}
form.managers-form .checkboxset ul li label {
	font-weight: normal;
}
.mgr-update {
	position: relative;
}
.mgr-update:not(.add-new-emergency) {
	border: 1px solid #DACC05;
	border-top: none;
	-moz-border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
	padding: 15px 15px 10px;
}
.add-new-emergency {
	display: none;
}
.new-mgr-emergency {
	border-bottom: 3px solid #F3E306;
	margin-bottom: 15px;
	padding-bottom: 10px;
}
button.addNew {
	background: #F3E306;
	color: #1C242B;
	float: none;
	margin: 0 0 10px;
}
button.addNew:hover, button.addNew:focus {
	background: #E7D706;
}
.mgr-update .filterfields .filter {
	margin-bottom: 15px;
	margin-right: 15px;
}
.mgr-update .filterfields .filter label {
	background: none;
	border-bottom: 1px solid rgba(0,0,0,.15);
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	padding: 9px 0px 8px;
}
.mgr-update .filterfields .filter label.checked {
	border-color: #2BACE2;
	color: #2BACE2;
}
.mgr-update .filterfields .filter label.checked:before {
	color: #2BACE2;
}
.mgr-update .action.Save, .mgr-update .action.Publish {
    background: #38BA7D;
}
.mgr-update .action.Delete, .mgr-update .action.Cancel {
    background: #F34541;
}
.mgr-update .action.Save:hover, .mgr-update .action.Save:focus,
.mgr-update .action.Publish:hover, .mgr-update .action.Publish:focus {
    background: #32A770;
}
.mgr-update .action.Delete:hover, .mgr-update .action.Delete:focus,
.mgr-update .action.Cancel:hover, .mgr-update .action.Cancel:focus {
    background: #DA3E3A;
}
.mgr-update .action, .addNew {
	overflow: hidden;
	position: relative;
	line-height: 40px;
	padding: 0 15px;
	padding-left: 55px;
	text-align: left;
}
.mgr-update .action:hover, .addNew:hover,
.mgr-update .action:focus, .addNew:focus {
	text-decoration: none;
}
.mgr-update .action:before, .addNew:before {
	background: #1C242B;
	background: rgba(0,0,0,.35);
	color: #fff;
	content: '';
	font-family: 'FontAwesome';
	font-size: 1.6em;
	display: block;
	width: 40px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	text-align: center;
}
.mgr-update .action.Save:before {
	content: '\f0c7';
}
.mgr-update .action.Publish:before {
	content: '\f0ee';
}
.mgr-update .action.Delete:before {
	content: '\f014';
}
.mgr-update .action.Cancel:before {
	content: '\f05e';
}
.addNew:before {
	content: '\f040';
}
.mgr-update span.mgr-icon {
	float: left;
	margin-bottom: 15px;
	margin-right: 15px;
	display: block;
	padding: 9px 0;
	border-radius: 4px;
	background: #1C242B;
	color: #fff;
	width: 40px;
	text-align: center;
}
.mgr-update h5 {
	display: none;
	background: rgba(0,0,0,.1);
	-moz-border-radius: 8px 4px 4px 8px;
	-webkit-border-radius: 8px 4px 4px 8px;
	border-radius: 8px 4px 4px 8px;
	color: #666;
	font-size: .8em;
	font-weight: normal !important;
	letter-spacing: 1px;
	line-height: 40px;
	margin: 0 0 10px;
	padding: 0 10px;
	text-transform: uppercase;
	text-shadow: 0px 1px 1px rgba(255,255,255,.8);
} 
.mgr-update .form-loading, .mgr-update .form-completed {
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	background: rgba(255,255,255,.85);
	z-index: 9;
	display: none;
}
.form-loading .fa {
	display: block;
	position: absolute;
	height: 50px;
	width: 50px;
	left: calc(50% - 25px);
	top: calc(50% - 25px);
	color: #2bace2;
	text-align: center;
	line-height: 50px;
	-moz-animation-duration: 1.25s;
	-webkit-animation-duration: 1.25s;
	-ms-animation-duration: 1.25s;
	-o-animation-duration: 1.25s;
	animation-duration: 1.25s;
}
.mgr-update .form-completed .form-message {
    color: #38BA7D;
    text-align: center;
    padding: 30px;
}
.mgr-update .form-completed .form-message .fa {
    border: 2px solid;
    border-radius: 100%;
    width: 85px;
    height: 85px;
    line-height: 81px;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    background: #fff;
}
.mgr-update .form-completed .form-message .text {
    margin-top: 30px;
    font-size: 1.5em;
}
/* Media queries */
@media only screen and (max-width: 514px) {
	form.managers-form .searchfields, form.managers-form .filterfields {
		padding: 15px 15px 10px;
	}
	.mgr-update span.mgr-icon {
		height: 40px;
		line-height: 40px;
		margin-bottom: 0;
		padding: 0;
	}
	.mgr-update h5 {
		display: block;
	}
	.mgr-update .filterfields .filter {
		float: none;
		margin: 0;
	}
	.mgr-update .filterfields .filter label {
		border: none;
		padding: 5px 12px;
		width: 100%;
	}
	.mgr-update .action, .addNew {
		margin: 10px 0 0;
		width: 100%;
	}
}