* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
}

body {
	width: 100%;
	background: #000;
	color: #000;
	font: 15px 'Open Sans', sans-serif;
	text-align: center;
}

a {
	color: #0072bb;
        text-decoration: none;
}

a:hover {
        font-weight: 700;
	xbackground: #0072bb;
	xcolor: #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]) {
	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;
}

#header {
	width: 100%;
	background: #000;
}

#logo {
	float: left;
	margin: .5% 1%;
        height: 100px;
        float: left;
}

#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;
	margin:auto;
}

#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 {
    position: relative;
	xwidth: 90%;
	background: #000;
	color: #fff;
	border-top: 1px solid #000;
	clear: both;
	padding: .5% 1%;
        height: 12mm;
}

#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;
    text-decoration: none;
}

.main a:hover {
    font-weight: 700;
    xbackground: black;
    xcolor: #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 {
	xtext-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%;
	float: left;
}

#contentleftcal {
	width: 49%;
	vertical-align: top;
	display: inline-block;
}

#contentright {
	width: 65%;
	float: right;
}

#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: 100%;
	background-color: #1b881b;
	color: #ffffff;
	border: 1px dashed #ffffff;
	margin: 3px auto;
	padding: 4px;
}

tr.pending td
{
	background-color: #cde6f7;
}
tr.pending.active:hover td {
	background-color: #efefef;
}
tr.pending.active td {
	cursor: pointer;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}
tr.pending.active td:first-child {
	border-left: 1px solid #000000;
}
tr.pending.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.priority0:not(.pending) a, tr.pending.priority0 td
{
	background-color: red;
}
.cal_ticket.priority1:not(.pending) a, tr.pending.priority1 td
{
	background-color: #f8afaf;
}
.cal_ticket.priority2:not(.pending) a, tr.pending.priority2 td
{
	background-color: #f8ceaf;
}
.cal_ticket.priority3:not(.pending) a, tr.pending.priority3 td
{
	background-color: #f8f0af;
}
.cal_ticket.priority4:not(.pending) a, tr.pending.priority4 td
{
	background-color: #ccf8af;
}
.cal_ticket.priority5:not(.pending) a, tr.pending.priority5 td
{
	background-color: #cde6f7;
}
.cal_ticket.priority6:not(.pending) a, tr.pending.priority6 td
{
	background-color: #d0cdf7;
}


.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;
}

#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;
	z-index: 999;
}

.print-icon .ui-icon {
	background-image: url(jquery-ui-custom/images/ui-icons_454545_256x240.png);
}

.btnEditProject .ui-icon,
.btnEditInventory .ui-icon {
	background-image: url(jquery-ui-custom/images/ui-icons_0072BB_256x240.png);
	display: inline-block;
}

.btnDelProject .ui-icon,
.btnDelInventory .ui-icon {
	display: inline-block;
}

.hidden {
	display: none;
}

.menu {
    padding: 15px;
    text-align: center;
    font-family: "Lato", sans-serif;
    background-color: #111;
    display: none;
}

.menu a {
    font-size: 25px;
    text-decoration: none;
    color: #818181;
    transition: 0.3s;
}

.menu a:hover {
    color: #f1f1f1;
}

.menu ul {
    text-align: center;
    list-style: none;
    
}

.menu-items {
    display: none;
    clear: both;
    border-top: 1px solid lightgray;
    margin-top: 15px;
}
.legend {
    float: right;
    font-size: 0.8em;
    width: 200px;
    margin-top: -15px;
}

.main-logo {
    height: 80px;
}

.excess {
    display: none;
}

.d-flex{
	display: flex;
}

.justify-content-end
{
	justify-content: end;
}

@media only screen and (max-width: 767px) {
    #nav {
        display: none;
    }
    .menu {
        display: block;
    }
    
    #header .top {
        display: none;
    }
    body {
        font-size: 10px;
    }
    h2 {
        font-size: 12px;
    }
    h3 {
        font-size: 10px;
    }
    .legend {
        width: 100px;
    }
	.row{
		margin-left: 0;
		margin-right: 0;
	}
	#content{
		width: 100%;
		padding: 0;
	}
    #contentleftcal {
        width: 100%;
        display: block;
    }
    #contentrightcal {
        width: 100%;
        display: block;
        margin-top: 15px;
    }
    #divTagLine {
        padding-bottom: 15px;
    }
    .main-logo {
        height: 40px;
    }
    #divAddress {
        font-size: 9px;
    }
    
}

@media only screen and (min-width: 1440px)
{
	#frmInvoice input[type="checkbox"]
	{
		scale: 1.5;
	}
}