* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
}

body {
	width: 100%;
	background: #000;
	color: #000;
	font: 15px 'Open Sans', sans-serif;
	text-align: left;
}

a {
	color: #0072bb;
}

a:hover {
	background: #0072bb;
	color: #fff;
	text-decoration: none;
}

dl {
	text-align: left;
}

dd {
	margin: 8px 0;
}

dt {
	font-weight: 700;
}

h1, h2, h3, h4, h5 {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	text-align: left;
	text-transform: uppercase;
}

h1 {
	font-size: 32px;
	margin: 15px 0;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 19px;
	margin: 10px 0;
}

h4 {
	font-size: 16px;
	margin: 8px 0;
}

h5 {
	font-size: 13px;
}

img {
		border: none;
}

input:not([type=file]), button {
	font-family: 'Open Sans', sans-serif;
	padding: 2px;
}

li {
	margin: 8px 0;
}

ol, ul {
	text-align: left;
}

p {
	margin: 8px 0;
	text-align: left;
}

select, option {
	font-family: 'Open Sans', sans-serif;
	padding: 2px;
}

table {
	border-collapse: collapse;
	box-sizing: border-box;
}

th, td {
	text-align: left;
	box-sizing: border-box;
    padding: 2px;
}

tr.alt th, tr.alt td {
	background-color: #eeeeee;
}

#header {
	width: 100%;
	background: #000;
}

#header #logo {
	float: left;
	margin: .5% 1%;
   max-height: 145px;
}

#header .logout {
	color: #fff;
	float: right;
	margin: .5% 1%;
	text-align: right;
}

#nav {
	width: 99%;
	margin: .5% 1% .5% .5%;
}

#nav ul {
	list-style: none;
}

#nav ul li {
	display: inline;
	list-style: none;
}

#nav ul li a {
	background: #eee;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	color: #000;
	display: block;
	float: left;
	margin-right: 1px;
	padding: .4em .8em;
	text-align: center;
	text-decoration: none;
}

#nav ul li a:hover {
	background: #0072bb;
	color: #fff;
}

#nav ul li a.active,
#nav ul li a.active:hover {
	color: #000;
	background: #fff;
	font-weight: 700;
}

#title {
	width: 98%;
	background: #eee;
	border-top: 4px solid #fff;
	border-bottom: 1px solid #000;
	clear: both;
	padding: .5% 1%;
	text-align: left;
}

#content {
	width: 98%;
	min-height: 320px;
	background: #fff;
	clear: both;
	padding: 1%;
}

.content_left,
.content_right {
	width: 49.5%;
	float: left;
	position: relative;
	overflow: hidden;
}

.fleft{
	float: left;
}

.divtext
{
	height: 28px;
	line-height: 28px;
	font-weight: 700;
}

.right{
	text-align: right;
}

.center{
	text-align: center;
}

.left{
	text-align: left;
}	

.content_divider {
	width: 1%;
	float: left;
	position: relative;
	overflow: hidden;
}

#footer {
	width: 98%;
	background: #000;
	color: #fff;
	border-top: 1px solid #000;
	clear: both;
	padding: .5% 1%;
}

#footer a {
	color: #0072bb;
}

#footer a:hover {
	background: #0072bb;
	color: #fff;
	text-decoration: none;
}

#footer p {
	text-align: right;
}

.main h3 {
	text-align: center;
}

.main a {
	color: #000;
}

.main a:hover {
	background: #0071bb;
	color: #fff;
}

.main ul {
	border-color: #000;
	border-style: solid;
	border-width: 1px 1px 0 1px;
	list-style-type: none;
	margin: 2px;
	padding: 0;
}

.calendar_nav {
	margin: .5em 0;
	text-align: center;
	padding: 2px;
}

.calendar_nav a {
	text-decoration: underline;
	margin: 0 .2em;
}

.calendar_nav a:hover {
	text-decoration: none;
}

.cal_hover
{
	font-weight: bold;
	background-color: #00ff00;
}

table {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

/* Calendar */

table#tblCalendar {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	table-layout: fixed;
}

#tblCalendar td, #tblCalendar th {
	border: 1px solid #666;
	border-collapse: collapse;
	text-align: center;
}

#tblCalendar td {
	height: 80px;
	text-align: left;
}

#tblCalendar ul {
	margin: 2px;
	padding: 0;
	list-style-type: none;
	border-color: #000;
	border-style: solid;
	border-width: 1px 1px 0 1px;
}

#tblCalendar li {
	margin: 0;
}
/*
#tblCalendar li a {
	display: block;
	font-size: 80%;
	font-weight: normal;
	border-color: #000;
	border-style: solid;
	border-width: 0 0 1px 0;
	margin: 0;
	background-color: #fff;
	text-decoration: none;
	padding: 2px;
}

#tblCalendar li a:hover {
	background-color: #eee !important;
	color: #000;
}
*/
#tblCalendar div {
	padding: 0 .5em;
}

.cal_none .cal_date {
	background-color: #999;
}

.cal_past .cal_date {
	background-color: #c0c0c0;
}

.cal_present .cal_date {
	background-color: #63addd;
}

.cal_future .cal_date	{
	background-color: #d0d0d0;
}

td.cal_none {
	background-color: #bbb;
	padding: 0;
}

td.cal_past {
	background-color: #ddd;
	padding: 0;
}

td.cal_present {
	background-color: #a6d2ee;
	padding: 0;
}

td.cal_future {
	background-color: #fff;
	padding: 0;
}

/* Display Date */

/* Display Ticket */

.ticket {
	background: #ccc;
	border: 2px solid #000;
	color: #000;
	margin: 0;
	padding: .5em;
}

.ticket-header {
	border: 1px solid #000;
	background-color: #aaa;
	padding: .5em;
	text-align: left;
}
	
.ticket-desc {
	padding: .5em;
	margin: 0;
	text-align: justify;
}

.text-right {
	text-align: right;
}

/* News */

#contentleft {
	width: 33%;
}

#contentleftcal {
	width: 49%;
	vertical-align: top;
	display: inline-block;
}

#contentright {
	width: 65%;
}

#contentrightcal {
	width: 50%;
	display: inline-block;
}

.entry {
	border-bottom: 1px solid #000;
	margin-bottom: 10px;
	padding-bottom: 10px;
	margin-left: 7px;
}

.bottom {
	border-bottom: 1px solid #fff;
}

/* Global Classes */

.clear {
	clear: both;
}

.button {
	padding-top: 2px;
}

.divspace {
	padding-top: 5px;
}

.buttons {
	padding-top: 10px;
}

.checkbox {
	width: 15px;
}

.columnwidthsm {
	width: 80px;
}

.columnwidthmd {
	width: 140px;
}

.columnwidthlg {
	width: 160px;
}

.user_action {
	width: 350px;
	background-color: #1b881b;
	color: #ffffff;
	border: 1px dashed #ffffff;
	margin: 3px auto;
	padding: 4px;
}

tr.pending td, tr.defaults td
{
	background-color: #cde6f7;
}
tr.pending.active:hover td, tr.defaults.active:hover td {
	background-color: #efefef;
}
tr.pending.active td, tr.defaults.active td {
	cursor: pointer;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}
tr.pending.active td:first-child, tr.defaults.active td:first-child {
	border-left: 1px solid #000000;
}
tr.pending.active td:last-child, tr.defaults.active td:last-child {
	border-right: 1px solid #000000;
}

.cal_ticket a
{
	display: block;
	font-size: 80%;
	font-weight: normal;
	border-color: #000;
	border-style: solid;
	border-width: 0 0 1px 0;
	margin: 0;
	text-decoration: none;
	padding: 2px;
}

.cal_ticket a:hover {
	background-color: #eee !important;
	color: #000;
}

.cal_ticket.pending a
{
	background-color: #e40006;
}

.cal_ticket.priority1:not(.pending) a, tr.pending.priority1 td, tr.defaults.priority1 td
{
	background-color: #f8afaf;
}
.cal_ticket.priority2:not(.pending) a, tr.pending.priority2 td, tr.defaults.priority2 td
{
	background-color: #f8ceaf;
}
.cal_ticket.priority3:not(.pending) a, tr.pending.priority3 td, tr.defaults.priority3 td
{
	background-color: #f8f0af;
}
.cal_ticket.priority4:not(.pending) a, tr.pending.priority4 td, tr.defaults.priority4 td
{
	background-color: #ccf8af;
}
.cal_ticket.priority5:not(.pending) a, tr.pending.priority5 td, tr.defaults.priority5 td
{
	background-color: #cde6f7;
}
.cal_ticket.priority6:not(.pending) a, tr.pending.priority6 td, tr.defaults.priority6 td
{
	background-color: #d0cdf7;
}
.cal_ticket.priority7:not(.pending) a, tr.pending.priority7 td, tr.defaults.priority7 td
{
	background-color: #cfced9;
}


.right{
	text-align:right;
}

#cboTicket option {
	max-width:700px;
}

.print{
	display: none;
}

strong{
	display: inline !important;
}

#tblTimesheet th.time-report{
	border-top: 5px solid #000;
	height:0px;
	line-height:1px;
	padding-bottom: 28px;
}
#tblTimesheet th.time-report.small{
	border-top: 2px solid #000;
	height:0px;
	line-height:1px;
	padding-bottom: 0px;
}

#tblTimesheet th, #tblTimesheet td{
	border: 0;
	padding-left: 2px;
	padding-right: 2px;
}

#tblTimesheet td.time-padding{
	padding-top:13px;
}

#tblSecurity td{
	border:none;
}

#tblSecurity td:nth-child(odd){
	padding-right: 10px;
}

#tblSecurity td:nth-child(1) {
    border-right: 2px solid black;
}

#tblSecurity td:nth-child(2) {
    padding-left: 25px;
}

#tblSecurity td:not(:first-child) {
	padding-right: 10px;
}

#tblSecurity tr.last-page td {
	border-bottom: 1px solid black;
	padding-top: 5px;
}

tr.heading td, tr.heading th
{
	background-color: #c4c4c4;
}

#frmAddProject label, #frmEditProject label,
#frmAddInventory label, #frmEditInventory label  {
	width: 102px;
	display: inline-block;
	margin: 9px 6px 9px 0;
	text-align: right;
}

#tblTicketWindow.og {
	margin-top: -23px;
}

#tblTicketWindow.og th, #tblTicketWindow.og td {
	border: 1px solid #000;
}

#tblTicketWindow.og thead tr:first-of-type th {
	border: none;
}

.print-icon {
	background: none !important;
	border: none !important;
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	xz-index: 999;
}

.print-icon .ui-icon {
	background-image: url(jquery-ui-custom/images/ui-icons_454545_256x240.png);
}

.ui-icon.ui-icon-blue {
	background-image: url(jquery-ui-custom/images/ui-icons_0072BB_256x240.png);
}

.btnDelProject .ui-icon,
.btnDelInventory .ui-icon {
	display: inline-block;
}

.hidden {
	display: none;
}


.flex-container{
   display:flex;
   flex-direction: row;
   justify-content: center;
   flex-wrap: wrap;
}
.justify-left{
   justify-content: left;
}

.flex-item{
   margin-bottom: 10px;
}

.flex-item input{
   margin-left: 5px;
}

.label{
   text-align: right;
}

.w25{
   width: 25%;
}

.w50{
   width:50%;
}

.w100{
   width:100%;
}
hr{
   margin-bottom: 10px;
}

#frmInspection{
   max-width: 1000px;
   margin: auto;
}

.space-around{
   justify-content: space-around;
}

.remove_row{
   float:right;
}

.edit_row{
   float: left;
}

#frmTimesheet, #frmTicket{
   overflow-x: scroll;
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (max-width: 768px) {
   #contentrightcal, #contentleftcal{
      width: 100%
   }


   .w50{
      width: 100%;
   }
   .w25{
      width: 50%;
   }

   
   #tbl_relief tr, #tbl_regulator tr{
      display: grid;
   }

}