body {
	margin: 0;
	padding: 0;
	font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
	color: #333333;
	background-color: #f5f5f5;
}


.fw { width: 100%; box-sizing: border-box; }
.hw { width: 50%; box-sizing: border-box; }
.hwl { width: 49%; float: left; box-sizing: border-box; }
.hwr { width: 49%; float: right; box-sizing: border-box; }
.hw33 { width: 32%; float: left; margin-right: 1%; box-sizing: border-box; }
.hw66 { width: 66%; float: right; box-sizing: border-box; }
.hw90 { width: 89%; box-sizing: border-box; }
.hw95 { width: 94%; box-sizing: border-box; }
.hw5 { width: 5%; box-sizing: border-box; }
.ml5 { margin-left: 5px; }
.fl { float: left; }
.fr { float: right; }
.frforced { float: right !important; }
.tr { text-align: right !important; }
.clearfix { clear: both; }
#generalscreen { display: block; }
.sl { margin-left: 8px; }
table.maxh200 { display: block; max-height: 200px; overflow-y: scroll; }

#header-bar {
	margin: 0;
	padding: 10px 0;
	width: 100%;
	height: 120px;
	background-color: #fff;
}

#header-box {
	margin: 0 auto;
	padding: 0;
	width: 960px;
}

#header-logo {
	float: left;
}

#header-title {
	font-size: 1.3em;
	margin-top: 10px;
	float: right;
	text-align: right;
	line-height: 110%;
}

#header-user {
	float: right;
	font-size: 0.7em;
}

#login-box {
	margin: 60px auto;
	padding: 20px 0;
	width: 440px;
	background-color: #fff;
	color: #333333;
	border: 1px solid #ddd;
	text-align: center;
}

#login-portal {
	padding: 4px 0;
	margin: 10px 0;
	width: 100%;
	background-color: #333333;
	color: #fff;
}

#menu-bar {
	display: block;
	margin: 0;
	padding: 12px 0 20px 0;
	width: 100%;
	/*height: 50px;*/
	background-color: #333333;
}

#menu-box {
	margin: 0 auto;
	padding: 0;
	width: 960px;
	color: #fff;
}

#menu {
	margin: 0;
	padding: 0;
	display: block;
	background-color: #eee;
}

#menu ul {
	margin: 0 0 0 -40px;
	list-style: none;
}

#menu ul li {
	margin-top: 13px;
	float: left;
	font-size: 0.9em;
}

#menu li a {
	padding: 5px 15px;
	color: #fff;
	text-decoration: none;
}

#menu li a:hover {
	color: #9aaaaa;
}

#menu ul li ul {
	position: absolute;
	top: 176px;
	margin-top: 13px;
	list-style: none;
	display: none;
}

#menu ul li ul li {
	margin: 0;
	font-size: 0.9em;
	float: none;
}

#menu ul li ul li a {
	display: block;
	background-color: #333;
	color: #fff;
	padding: 15px 30px;
	border-top: 1px solid #000;
}

#sidemenu {
	margin: 0;
	padding: 0;
	float: left;
	background-color: #ccc;
	width: 130px;
}

#titlesidemenu {
	display: block;
	font-size: 1.2em;
	font-weight: 600;
	text-align: center;
	color #fff;
	width: 100%;
	margin: 10px 0;
}

#optionssidemenu {
	display: block;
	font-size: 0.8em;
	text-align: left;
}

a.sidebutton {
	display: block;
	margin: 0 3px;
	padding: 3px 5px;
	color: #000;
	text-decoration: none;
}

a.sidebutton:hover {
	background-color: #aaa;
}

#dashboardcontent {
	padding: 10px 5px;
	display: block;
}

.box1dash {
	width: 18%;
	float: left;
	display: block;
	background-color: #bbb;
	color: #fff;
	margin-left: 3%;
	text-align: center;
}

.form-box {
	display: block;
	width: 100%;
	padding: 10px;
	text-align: left;
}

#form-login-box {
	display: block;
	margin: 0 auto;
	padding: 0;
	width: 50%;	
}

.form-close {
	background-color: #333;
	color: #fff;	
	font-size: 1.1em;
}

.form-button-bar {
	margin: 0;
	padding: 15px 0;
	display: block;
}

form label {
	display: block;
	width: 100%;
	text-align: left;
}

.namefont {
	font-size: 1.3em !important;
}

form label.highlighted {
	font-weight: 600;
}

form input[type="text"], form input[type="password"], form textarea {
	border: 1px solid #9AAAAA;
}

form input[type="submit"] {
	margin: 0 0 0 10px;
	padding: 4px 14px;
	background-color: #333;
	color: #fff;
	font-size: 0.9em;
	text-decoration: none;
	border: none;
}

.button {
	margin: 0 0 0 10px;
	padding: 3px 15px;
	background-color: #333;
	color: #fff;
	font-size: 0.9em;
	text-decoration: none;
	text-align: center;
}

.button:hover, input[type="submit"]:hover {
	background-color: #535353;
}

.bitbutton {
	padding: 1.8px 6px 1.3px;
	background-color: #333;
	color: #fff;
	font-size: 0.8em;
	text-decoration: none;
	box-sizing: border-box;
}

.datebutton {
    padding: 1.5px 6px;
    background-color: #333;
    color: #fff;
    font-size: 0.8em;
    text-decoration: none;
    box-sizing: border-box;
}

.datebutton:hover {
    background-color: #535353;
}

.link {
	text-decoration: none;
	color: #333333;
}

.link:hover {
	text-decoration: underline;
}

.filtergrid {
	margin: 0;
	/*width: 100%;*/
	padding: 0 10px;
}

#content {
	display: block;
	margin: 20px auto 0;
	width: 960px; 
}

#content-box {
	margin: 0;
	padding: 0;
	width: 100%;
	border: 1px solid #DDDDDD;
	background-color: #fff;
	color: #333333;
	padding-bottom: 10px;
}

#content-fullbox {
	margin: 0;
	padding: 0;
	width: 100%;
	border: 1px solid #DDDDDD;
	background-color: #fff;
}

#content-title {
	margin: 0;
	padding: 25px 20px 10px;
	float: left;
	font-size: 1.4em;
}

.grid {
	margin: 10px 0;
	width: 100%;
	font-size: 0.9em;
	border-bottom: 1px solid #ddd;
}

.grid-buttons ul {
	display: block;
	float: right;
	margin-right: 10px;
	list-style: none;
}

.grid-buttons li {
	float: left;
	text-align: center;
	margin-left: 10px;
}

.grid-buttons a {
	padding: 3px 8px;
	display: block;
	color: #333;
	font-size: 1.2em;
	text-decoration: none;
}

.grid-buttons a .small {
	font-size: 0.7em;
}

.grid-buttons a:hover {
	background-color: #ddd;
}
.grid th {
	background-color: #333333;
	color: #fff;
}

.grid tr:nth-child(odd) { background-color: #eee; }

.grid a i {
	text-decoration: none;
	color: #333;
	font-size: 1.1em;
	margin: 0 3px;
}

.grid a i:hover {
	text-decoration: underline;
}

.canceled {
	text-decoration:line-through;
}

.totalsgrid {
	font-weight: 600;
	background-color: #AAAAAA !important;
}

.rowcanceled {
	text-decoration:line-through;	
}

#modal1 {
	display: none;
	position: fixed;
	top: 100px;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	color: #333;
	border: 1px solid #333;	
	z-index: 110;
}

#shadow1 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	background-color: #000;
	opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 100;
}

#modal2 {
	display: none;
	position: fixed;
	top: 120px;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	color: #333;
	border: 1px solid #333;	
	z-index: 210;
}

#shadow2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	background-color: #000;
	opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 200;
}

.modalbox {
	display: block;
	margin: 0;
	padding: 0;
	background-color: #fff;
	color: #333;
}

.modal-title {
	display: block;
	margin: 0;
	padding: 2px 8px;
	width: 100%;
	background-color: #333;
	color: #fff;
	font-size: 0.9em;
	font-weight: 600;
	box-sizing: border-box;
}

.form-space {
	margin: 0;
	padding: 10px;
	font-size: 0.9em;
	box-sizing: border-box;
}

.form-divisor {
	width: 100%;
	margin: 8px 0;
	padding: 0;
	border-top: 1px solid #9AAAAA;
}

#detaildept {
	max-height: 200px;
	overflow-y: scroll;
}

#resetjob, #resetpayroll, #resetinvoices {
	display: none;
}

#loading {
    position:absolute;
    width:100%;
    height: 150px;
    z-index: 400;
    background: url(../images/loading.gif) no-repeat center;
}

.holiday {
    font-weight: 600;
}

/*******************************/
/* Media Screen for Responsive */
/*******************************/

@media screen and (max-width: 959px) and (min-width: 700px) {
	#header-box { width: 700px;}	
	#menu-box { width: 700px;}
	#content { width: 100%; }
}

@media screen and (max-width: 699px) {
	#header-bar { padding: 10px 0;}
	#header-box { width: 100%; height: auto;}
	#header-logo { width: 100%; float: left; text-align: center;}
	#header-title { width: 100%; float: left; text-align: center;}
	#header-user { float: none; }
	#menu-box { width: 100%; }
	#content { width: 100%; }
}
