/* OVERIDES FOR BOOTSTRAP */

html {
  position: relative;
  min-height: 100%;
}

.bold {
	font-weight:bold;
}

.clearFix {
	clear:both;
}

body, #smfBaseContainer, #smfBaseContainer > div, #mainBody, #ApplicationContainer, #ApplicationContainer > div {
	height: 100%;
}

.downloadPDFBtn, .saveGeneralBtn, #reportMenuBlock {
	margin-right: 10px;
}

.saveHazardousBtn, .sendHazardousBtn, .saveSoilBtn, .sendSoilBtn {
    float: right;
	margin-right: 10px;
}

#reportMenuBlock > div > div#spillsReportMenu-menuBlock {
	margin-top: -2px;
}

#summaryBlock {
	padding-top: 10px;
}

#loadingDiv {
	background-color:#fff;
	color:#000;
	/*display:none;*/
	filter:alpha(opacity=80);
	height:100%;
	left:0;
	padding: 100px;
	position:fixed;
	opacity:0.8;
	text-align:center;
	top:0;
	width:100%;
	z-index:10001;
}

#smfFooter {
	text-align: center;
	position: fixed;
	bottom: 0px;
	background-color: #FFF;
	width: 100%;
	height:20px;
	z-index:2000;
}

#spillIncidentBlock .mapContainer {
    min-height: 510px;
}

#spillsSoilDisposalGridBlock .mapContainer {
    min-height: 510px;
}

#spillIncidentBlock #mapParent #map {
	position: relative;
	height: 100%;
	width: 100%;
}

#spillIncidentBlock #mapParent #locationAlert {
	position: absolute;
	margin: 15px;
	right: 0;
	top: 0;
}

#loadingDiv img {
	width: 40px;
}

#smfContent {
	padding-bottom: 40px;
}

.usePointer {
	cursor : pointer;
}

.queryLayout .menuBlock{
	margin-bottom: 10px;
}

.tag {
  font-size: 12px;
  padding: 0.3em 0.4em 0.3em;
  margin: 2px 1px !important;
  display: inline-block;
  max-width: 100%;
}

.tag > span {
  display: inline-block;
  max-width: 94%;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}


.spillsMain {
    background-image: url("content/lib/spills_login_bg.jpg");
}

.tag a {
  display: inline-block;
  color: #bbb;
  cursor: pointer;
  opacity: 0.6;
  margin: 0 0 0 0.3em;
}

.tag a:hover {
  opacity: 1.0;
}

.tag a .glyphicon-white {
  color: #fff;
  margin-bottom: 2px;
}

.tag .remove {
  vertical-align: bottom;
  top: 0;
}

.queryLayout .simpleList{
	margin-bottom: 10px;
}

.queryLayout .mapContainer {
    min-height: 300px;
}

.createSpillIncidentBlock .mapContainer{

}

.createSpillIncidentBlock .formButtons {
	clear:both;
  margin: 15px;
}

/*This fixes a weird smf-centric thing*/

.navbar-nav > li > div > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}

@media (min-width: 768px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > div > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

.navbar-default .navbar-nav > li > div > a {
  color: #777777;
}

.navbar-default .navbar-nav > li > div > a:hover,
.navbar-default .navbar-nav > li > div > a:focus {
  color: #333333;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > li > div > a {
  color: #9d9d9d;
}

.navbar-inverse .navbar-nav > li > div > a:hover,
.navbar-inverse .navbar-nav > li > div > a:focus {
  color: #ffffff;
  background-color: transparent;
}

.navbar-nav > li > div > .dropdown-menu {
  margin-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.nav > li > div > a {
  position: relative;
  display: block;
  padding: 15px 15px;
}
.nav > li > div > a:hover,
.nav > li > div > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}
.nav > li.disabled > div > a {
  color: #777777;
}
.nav > li.disabled > div > a:hover,
.nav > li.disabled > div > a:focus {
  color: #777777;
  text-decoration: none;
  background-color: transparent;
  cursor: not-allowed;
}

button.spillLink {
	margin-bottom: 5px;
}

/* Report preview table stuff */

div.spillReportPreview div.modal-body p, div.spillReportPreview div.modal-body h3 {
	margin: 0;
}

div.spillReportPreview div.modal-body h4 {
	margin: 0 0 10px 0;
}

div.spillReportPreview div.modal-body table {
	font-family: 'Calibri', 'Trebuchet MS', sans-serif;
	font-size: 8pt;
	page-break-inside: avoid;
	/*font-size: 1em;*/
	width: 100%;
	empty-cells: show;
	border: 1pt solid black;
	border-collapse: collapse;
	margin-bottom: 8pt;
}

div.spillReportPreview div.modal-body table td {
	padding: 1em;
	border: 1pt solid black;
	vertical-align: top;
}

div.spillReportPreview div.modal-body tbody#header td#preparedText {
	font-size: 0.9em;
	width: 25%;
}

div.spillReportPreview div.modal-body td.map {
	padding: 0;
}

div.spillReportPreview div.modal-body table#phoneLogListTable {
	font-size: 0.8em;
	border-collapse: separate;
	border: 1pt solid #d8d8d8;
	margin-bottom: 0;
}

div.spillReportPreview div.modal-body table#phoneLogListTable th {
	padding: 0.2em;
	border-collapse: collapse;
	border: 1pt solid #d8d8d8;
}
div.spillReportPreview div.modal-body table#phoneLogListTable td {
	padding: 0.2em;
	border-collapse: collapse;
	border: 1pt solid #d8d8d8;
}

div.spillReportPreview div.modal-body table#incidentMapContainer {
	table-layout: fixed;
}

div.spillReportPreview div.modal-body table#incidentMapContainer td.map {
	position: relative;
}

div.spillReportPreview div.modal-body table#incidentMapContainer td.map p {
	padding: 1em;
}

div.spillReportPreview div.modal-body table#incidentMapContainer td.map img.mainMap {
	max-width: 100%;
	height: auto;
	position: relative;
	top: 0;
	left: 0;
}

div.spillReportPreview div.modal-body table#incidentMapContainer td.map img.insetMap {
	max-width: 20%;
	height: auto;
	position: absolute;
	right: 10px;
	bottom: 10px;
	border: 2px solid white;
}

div.spillReportPreview div.modal-body table#spillIncidentTaskTracking {
	table-layout: fixed;
}

div.spillReportPreview div.modal-body table#spillIncidentTaskTracking tr.taskHeaderRow td {
	font-weight: bold;
	text-align: center;
}

div.spillReportPreview div.modal-body table#spillIncidentTaskTracking tr.taskStatusRow td {
	font-weight: bold;
	text-align: center;
	font-size: 1.5em;
	height: 2em;
}

div.spillReportPreview div.modal-body table#spillIncidentTaskTracking tr.taskStatusRow td.taskStatus.X {
	color: white;
	background-color: #7a9e00;
}

/* END REPORT STUFF */

.smfEmailerView #addEmailAddress .form-group {
	margin-right: 5px;
}

a.removeSimpleListToggleEntity {
	font-size: inherit;
}

a.removeSimpleListToggleEntity span.remove {
	font-size: 12px;
}

/* CUSTOM STYLING FOR SPILL TASKS LIST */

.spillTaskStatus {
	font-size: 0.9em;
	text-align: center;
	height: inherit;
	/*background-color: #ffc980;*/
	padding: 0 !important;
}

.spillTaskStatus > div {
	height: inherit;
	padding: 7px;
	text-align: center;
	/*line-height: 50px !important;*/
}

.spillIncidentStatus {
	padding: 0 !important;
}

.spillIncidentStatus > div {
	padding: 7px 10px;
	/*vertical-align: middle;*/

}

.spillEditButtons {
	padding: 7px 5px !important;
}

.gridNotesEditor.editable {
	padding: 0 !important;
}

.gridNotesEditor > input.editor-text {
	height: 47px !important;
	text-align: left !important;
	padding: 7px !important;
	white-space: normal !important;
}

.gridResults {
	margin-right: 10px;
}

.spillTaskStatus .X, .gridLegend > .X {
	background-color: LightGray;
}

.spillTaskStatus .SRS, .gridLegend > .SRS {
	background-color: Pink;
}

.spillTaskSTatus .na, .gridLegend > .na {
	background-color: #ffc980;
}

.spillTaskStatus .RAS, .gridLegend > .RAS {
	background-color: CornflowerBlue;
}

.spillTaskStatusHeader {
	/*font-size: 0.9em;*/
	text-align: center;
	/*background-color: #ffb080;*/
	/*padding: 0 !important;*/
}

.queryUtilLayout > div {
	margin-bottom: 15px;
}

.queryTagList.col-xs-10, .queryTagList.col-md-10 {
	padding-top: 3px;
}

#customFilterElBlock .pull-left {
	margin-right: 10px;
}

.queryUtilLayout .col-xs-12 {
	height: 100%;
}

.queryUtilLayout > div:last-child {
	min-height: 100%;
}

.queryUtilLayout .mapContainer {
	min-height: 400px;
	height: 100%;
}

h3.queryViewHead {
	margin-top: 0;
	margin-bottom: 0;
}

.spillTaskStatusHeader span.slick-column-name {
	display: block;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
}

#spillIncidentsBlock .slick-header-column {
	position: relative;
	height: 140px !important;
}

#spillIncidentsBlock .slick-header-column.spillTaskStatusHeader .slick-column-name {
	text-align: right;
	position: relative;
	bottom: -116px;
}

.parentBlock {
    background-color:#CCC;
    border-top:1px solid #FFF;
    color:#000;
    font-weight:700;
    font-size:12pt;
    margin-left:0;
    cursor:pointer;
    padding:10px 21px 10px 10px;
}

.regionHeader {
clear:both;
font-size: 10pt;
}

.panel-info .divRegionContainer .regionHeader {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.divRegionContainer .regionHeader {
  padding: 5px 0 5px 15px;
  font-weight: normal;
}

.divRegionContainer .regionHeader i {
  margin-right: 5px;
}

/* spill editor stuff */

div.divRegionContainer {
	border: 1px solid #ccc;
	border-radius: 4px;
}

div.divRegionContainer .parentBlock:first-child {
	border-top: none;
}

div.divRegionContainer div.regionSection {
	padding: 10px 0;
}

.menuOptionsSection {
	height: 25px;
	display: block;
	margin: 4px 0;
}

h2 span#spillIncidentInfoLbl {
	font-size: 16px;
}

@media (min-width: 992px) {
	h2 span#spillIncidentInfoLbl {
		font-size: 30px
	}
}


h2 span#spillsHazardousHeadLbl, h2 span#spillsSoilDisposalHeadLbl {
	font-size: 16px;
}
@media (min-width: 992px) {
	h2 span#spillsHazardousHeadLbl, h2 span#spillsSoilDisposalHeadLbl {
		font-size: 30px;
	}
}


.formElementHighlight {
	border: #FF0000 1px solid;
}

.slick-row.hoverHighlight > div {
    background-color: #FEE56E;
}

.slick-row.selectedHighlight > div {
    background-color: #FED200;
}
.slick-cell input.editor-text {
	height: 30px;
	width: 100%;
	text-align: center;
	line-height: normal;
}

.requiredField {
	font-size: 10px;
	margin: 20px 10px 0 0;
}

.incidentCountContainer {
	font-size: 13px;
	/*padding-top: 14px;*/
	margin-bottom: 0;
}

.spillTaskLegendContainer {
	font-size: 12px;
	margin-bottom: 0;
}

.spillTaskStatus.spillTaskLegendContainer > span {
	display: inline-block;
	text-align: left;
	float: right;
	margin-left: 10px;
}

.spillTaskStatus.spillTaskLegendContainer > span > div {
	width: 30px;
	display: inline-block;
	text-align: center;
}

.queryUtilLayout #startDate, .queryUtilLayout #endDate {
	margin-left: 5px;
	width: 100px;
}

/*#QueryEntityViewTypeSelector {
	margin-bottom: 15px;
}*/

#SoilDisposalTabSelector {
	margin-left: 17px;
}

#spillsTypeSelectorBlock {
	margin-bottom: 15px;
}

h3.spillsContactsHeader, h3.createIncidentHeader {
	margin-top: 0;
}

div.grid-canvas {
	background-color: #f9f9f9;
}

h3.photoh3 {
	padding: 10px;
	border: 1pt solid black;
	margin-bottom: 10px !important;
}

div.photoContainer {
	border: 1pt solid black;
	clear:both;
	display: inline-block;
	width: 100%;
	padding: 10px;
	/*max-height: 300px;*/
}

div.photoContainer  div.photoBox {
	display: inline-block;
	float: left;
	max-width: 40%;
}
div.photoContainer  div.captionBox {
	display: inline-block;
	float: left;
	padding-left: 15px;
	/*max-height: 300px;*/
}

div.photoContainer img {
	max-width: 100%;
	height: auto;
	display: block;
	/*float: left;*/
}

div.dontBreak {
	page-break-inside: avoid;
}

p.trackingTextParagraph {
	line-height: 16px;
	margin-bottom: 0;
}

.gridLegend > div {
	display: inline-block;
	padding: 0 4px;
}

/*p.trackingTextParagraph:not(:first-child){
	line-height: 0;
}*/

.spillFieldItem {
	font-size: 9pt;
	margin:2px 0px;
	padding:3px;
}
.spillFieldItemText {
	color:#060;
}
.alert-danger .spillFieldItemText {
	color:#600;
}

#input-spillTypeYear {
	width: 100px;
	display: inline-block;
}

#txtSpillCount .disabled {
	color: #ccc;
}

#txtSpillCount span {
	margin-right: 20px;
}

#selectContainer {
	margin-right: 20px;
}

#selectContainer select {
	margin-top: -6px;
}

/* These blocks control the checkbox dropdown for spill type selection on the incident screen */
.spillTypeSelectBlock .multiselect-container {
    width: 640px !important;
}
.multiselect-container .dropdown-item .form-check {
	padding: 3px 0px !important;
}
.multiselect-container .dropdown-item .form-check input {
    display: inline;
}
.multiselect-container .dropdown-item .form-check label {
    display: inline;
}
