:root {
  --main-color: rgb(51,122,183);
  --accent-color: rgb(60,150,224);

  /***** Status Colors *****/
  --default-color: rgb(60,150,224);
  /*--default-color: #AAA;*/
  --overdue-color: #ff2a00;
  --completed-color: #50d2c2;
  --snoozed-color: #85ceff;

}


body { overflow-y:scroll; }


body.loading::before {
    content: '';
    display: block;
    background: rgba(255,255,255,0.85) url(/images/spinner2.gif) center center no-repeat;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200000;
}

hr { border-top: 1px solid rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.5)}

.mainMenu {
  padding-left:115px;
}


.bootstrap-datetimepicker-widget table td.active {
  background-color: var(--main-color) !important;
}
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: var(--accent-color) !important;
}
/*.bootstrap-datetimepicker-widget table td.active.today:before {
  border-bottom-color: #fff;
}*/


input.searchInited {
  display: none !important;
}

.textRight { text-align:right; }

input[type=text],
input[type=search],
select,
textarea {
	-webkit-appearance: none;
}

/* puts the google places autocomplete dropdown results above the bootstrap modal 1050 zindex. */
.pac-container {
	z-index: 1051 !important;
}

/*Bootstrap Overrides  --  Also change print.css if necessary*/
.table thead tr th { border-bottom:none; background-color:rgba(0,0,0,0.4) !important; border-color:rgba(0,0,0,0.4); color:white; }
.table thead tr th a { color:#FFF; }
.table tbody tr:first-child td { border-top:none !important; }
.table tbody tr.clickable td { cursor:pointer; }
.table tbody tr.clickable:hover td { background-color:rgba(0,0,0,0.3); border-color:rgba(0,0,0,0.4); color:white; }

/*.btn-warning, .btn-warning:focus {
	background-color: #EA6153;
	border-color: rgba(0, 0, 0, 0);
}*/



/***** 5 column grid *****/
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-5ths {
	width: 20%;
	float: left;
}

@media (min-width: 768px) {
	.col-sm-5ths {
		width: 20%;
		float: left;
	}
}

@media (min-width: 992px) {
	.col-md-5ths {
		width: 20%;
		float: left;
	}
}

@media (min-width: 1200px) {
	.col-lg-5ths {
		width: 20%;
		float: left;
	}
}




.dropdown-header { cursor:default; }

@media screen and (min-width:768px) and (max-width:1024px) {
  ul.pcss3mm > li > a > .nstText {
	/*color: pink !important;*/
	display: none;
  }
}

.overflowTable {
	overflow-y: hidden;
	overflow-x: auto;
}

@media print {
	.overflowTable {
		overflow:visible;
	}
}

.dropdown-menu a i.fa { width:16px; text-align:center; color:rgba(0,0,0,0.5); margin-right:3px; }
.dropdown-menu a:hover i.fa { color:white; }

form { margin:0; padding:0; }
.form-group { margin-top:0; margin-bottom:10px; }

.smallGaps .row { margin:0 -5px; }
.smallGaps .row [class*=col-] { padding:0 5px; }

.ui-datepicker .ui-datepicker-prev span:after, .ui-datepicker .ui-datepicker-next span:after { content:''; }

.fa.active { cursor:pointer; }
.fa.active:hover { color:rgba(0,0,0,1); text-shadow:0 0 4px rgba(255,255,255,0.5); }
/*.fa.inactive { color:#F30; }*/

.nav-pills > li > a,
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.navTabs .nav-pills > li {
	margin-left: 0;
	margin-right: 2px;
	margin-bottom: 2px;
}

.jobTabs.navTabs {
  margin-top: 8px;
  margin-bottom: 18px;
}

.headerTable {
  margin-bottom: 18px;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04);
}
.headerTable table {
  border-collapse: collapse !important;
  border: none !important;
  border-color: transparent !important;
}
.headerTable th,
.headerTable td {
  border: none !important;
  padding: 2px 8px !important;
  font-size: 11px;
  font-family: helvetica, verdana, arial, sans-serif;
  /*font-family: monospace;*/
}
.headerTable th {
  background-color: #2980B9;
  color: white;
}

.headerTable2 {
  margin-bottom: 18px;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04);
}
.headerTable2 table {
  border-collapse: collapse !important;
  border: none !important;
  border-color: transparent !important;
}
.headerTable2 th,
.headerTable2 td {
  border: none !important;
  padding: 2px 8px !important;
  font-size: 11px;
  font-family: helvetica, verdana, arial, sans-serif;
  /*font-family: monospace;*/
}
.headerTable2 th {
  background-color: #0097A7;
  color: white;
}


/* mod for type file inputs */
.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}


.btn { margin-left:0; margin-right:3px; }
.bs-actionsbox .btn {
	margin-right: 0px;
}
.pull-right > .btn { margin-left:3px; margin-right:0; }

.btn,
.form-control {
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
textarea.form-control {
  resize: vertical;
  overflow: auto;
}

.captcha img {
	width:100% !important;
	border:1px solid rgba(0,0,0,0.7);
	border-radius:2px;
}

.input-group {
  margin-bottom: 0 !important;
}


.bootstrap-select .dropdown-menu > li.selected > a, 
.bootstrap-select .dropdown-menu > li.selected > a:hover, 
.bootstrap-select .dropdown-menu > li.selected > a:focus
/*.bootstrap-select .dropdown-menu > .active > a, 
.bootstrap-select .dropdown-menu > .active > a:hover, 
.bootstrap-select .dropdown-menu > .active > a:focus*/ {
	background: #428bca;
	color: white;
	outline: 0;
	text-decoration: none;
}

.bootstrap-select.btn-group:not(.input-group-btn),
.bootstrap-select.btn-group[class*="span"] {
	margin-bottom: 0; /*4px*/
}
.btn-group .dropdown-menu {
	margin-top: 1px;
}

.block-flat {
  margin-bottom: 20px;
}

.block-flat .header a.toolsRight { font-size:18px; display:block; text-align:right; line-height:2em; cursor:pointer; }

.block-flat .headerOnly { border:none; margin:0; padding:0; }
.block-flat .headerOnly .btn,
.block-flat .headerOnly .h3, {
	margin-top:0 !important;
	margin-bottom:0 !important;
}

/* Charting */
.legend,
.legend > div,
.legend > table { width:auto; }
.legend > table { border:1px solid #EBEBEB; }
.legend table th,
.legend table td { padding:0px 3px; }
.legend table td.legendColorBox > div { padding:0 !important; border:none !important; }

#rotationChart { height:350px; width:100%; position:relative; padding:0px; }


a.mobileLogo { float:left; display:none; margin-left:20px; }

.cl-mcont { font-weight:normal; }


.cl-mcont .header.headerOnly .row { margin-top:4px; }

.fa { width:18px; text-align:center; }


.nav.nav-pills { margin-bottom:12px; }
.nav.nav-pills li a:hover { background:rgba(255,255,255,0.7); }
.nav.nav-pills li.active { pointer-events:none; cursor:default; }
.nav.nav-pills li.active a:hover { background:#816bb1; }

/*.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-menu li > a:hover {
	color: rgba(0, 0, 0, 0.7);
}*/

/***** Full Screen Modal *****/
.modal-dialog.modal-fullscreen {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.modal-dialog.modal-fullscreen .modal-content {
  height: 100%;
  border-radius: 0;
}
.modal-dialog.modal-fullscreen .modal-body {
  position:absolute;
  left:0;
  top:71px;
  right:0;
  bottom:0;
  overflow-y:scroll !important;
}
.modal-dialog.modal-fullscreen .modal-header {
  border-radius: 0;
}

/*.padded > .modal-dialog.modal-fullscreen {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  padding: 0;
  margin: 20px;
}
.padded > .modal-dialog.modal-fullscreen .modal-content {
  border-radius: 5px;
}*/

.modal.noPadding .modal-body {
  padding:0;
}

.modal.dragModal .modal-content {
 /* max-height: calc(100vh - 100px) !important;*/
  /*height: calc(100vh - 40px) !important;*/
}
.modal.dragModal .modal-header {
  cursor: move;
}
.modal.dragModal .modal-body {
  overflow-y: auto !important;
  /*background: aliceBlue;*/
  max-height: calc(100vh - 140px) !important;
}


div.scrollableWindowContainer { position:relative; border:1px solid #777; }
div.scrollableWindowContainer .scroller { overflow:auto; width:100%;}
div.scrollableWindowContainer .scroller table { display:block; margin:0; margin-right:30px; }
div.scrollableWindowContainer::before {
	content:'';
	display:block;
	background:rgba(0,0,0,0.4);
	position:absolute;
	top:0;
	left:calc(100% - 30px);
	bottom:17px;
	width:30px;
	z-index:30;

	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4yMiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.22) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.22))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.22) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.22) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.22) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.22) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#38000000',GradientType=1 ); /* IE6-8 */

}

label .extraText { font-weight:normal; }

.datepicker.dropdown-menu { z-index:234234; }

/*@media screen and (max-width:8.5in) {
	.block-flat { max-width: 7.5in; }
}*/

#head-nav.topbar .sidebar-logo {
	width: 140px;
}
#head-nav.topbar .sidebar-logo .logo img {
	max-height: 66px;
}
#head-nav.topbar .mobileLogo img {
	max-height: 56px;
	margin-bottom: -20px;
}


.btn.disabled, .btn[disabled], fieldset[disabled] .btn { opacity:0.4; }

@media (max-width: 767px) {
	.pull-left,
	.pull-right { width:100%; }

  .mainMenu {
	padding-left:0;
  }

	#rotationChart { height:250px; }

	/*#head-nav.topbar .sidebar-logo { margin-top:-66px; margin-left:10px; width:auto; display:block; }*/

	a.mobileLogo { display:block; }

	.dropdown-menu a i.fa { color:rgba(255,255,255,0.8); }

}


table.dataTable {
  width: 100% !important;
}

table.dataTable.dtr-inline.collapsed tbody td:first-child:before,
table.dataTable.dtr-inline.collapsed tbody th:first-child:before {
	display:none;
}

table.dataTable.dtr-inline.collapsed tbody td:first-child, table.dataTable.dtr-inline.collapsed tbody th:first-child {
	cursor: pointer;
	padding-left:10px;
	position:static;
}




/* jQuery Autocomplete Responsive */
.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  _width: 160px;
  padding: 4px 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
	display: block;
	padding: 3px 15px;
	clear: both;
	font-weight: normal;
	line-height: 18px;
	color: #555555;
	white-space: nowrap;
}

.ui-menu-item { padding-left:6px; }

&.ui-state-hover, &.ui-state-active {
	  color: #ffffff;
	  text-decoration: none;
	  background-color: #0088cc;
	  border-radius: 0px;
	  -webkit-border-radius: 0px;
	  -moz-border-radius: 0px;
	  background-image: none;
}




/***** Parsley *****/
/*.control-group.error input.parsley-validated {
  color: #b94a48 !important;
  background-color: #f2dede !important;
  border: 1px solid #EED3D7 !important;
}*/

/*.invalid-message {
  height: 5px;
  -webkit-transition: height 2s;
	transition: height 2s;
}*/

.has-error input,
.has-error select,
.has-error textarea,
.has-error .bootstrap-select .btn {
  border-color: #DD0000;
  background-color: #FFDDDD;
}

.has-error,
.has-success {
  position: relative;
}
.has-error .invalid-message.filled {
  background: #DD0000;
  /*height: 30px;*/
}
.invalid-message.filled {
  position: absolute;
  z-index: 15;
  width: 100%;
  margin-top: -1px;
  border-radius: 0px 0px 4px 4px;
  padding: 4px !important;
  line-height: 12px !important;
  color: white;
  font-size: 10px;
}
.invalid-message.filled span {
  display: block;
}
.has-error .bootstrap-select .invalid-message.filled {
  margin-top: 33px;
}

label.required::after {
  content: '*';
  display: inline-block;
  color: #DD0000;
  margin-left: 3px;
}