@media screen and (max-width: 1300px) {

#paper {
padding-top: 36px;
}

#paperAddress p {
	margin: 0;
	padding: 0 20px 0 0 !important;
}

#gTotal {
	font-size: 18pt;
}

}

@media screen and (max-width: 1100px) {

body {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#contactinfoboxsub table {
	font-size: 11pt;
	line-height: 1.45;
}

#contactinfoboxsub a[href^="tel:"] {
	font-size: inherit;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#headerwrap {
	height: 100px;
	overflow: hidden;
	padding-bottom: 0;
}
#bgshade {
	height: 100px;
	overflow: hidden;
}

#headerbottomline {
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 24px;
	margin: 0;
	z-index: 1;
}

#header {
	width: 98%;
	height: 100px;
	position: relative;
	padding-bottom: 24px;
	box-sizing: border-box;
}

#signedinas {
	font-size: 0.72em;
	margin-top: 2px;
}

#logo {
	height: 54px;
	position: relative;
	z-index: 19;
	margin-top: 0;
	margin-left: -4px;
}

#logo a img,
#logoImg {
	max-height: 52px !important;
	padding-top: 0 !important;
}

#logomobile {
	height: 54px;
	margin-top: 0;
	margin-left: -2px;
}

#logomobile img {
	padding-top: 0 !important;
	width: auto !important;
	max-height: 50px !important;
}

#number {
	height: auto;
	padding: 8px 0 0 0;
	font-size: 1.05em;
	position: relative;
	text-align: right;
}

#number a:link,
#number a:active,
#number a:visited {
	color: #1587DE;
	font-weight: bold;
	font-size: inherit;
}

#number a[href^="tel:"] {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

#office {
	margin-right: 0;
	display: inherit;
}

#flag {
	position: relative;
	top: -18px;
	padding-left: 3px;
}

/* Centered one-line menu inside the grey bar */
#topnav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 24px;
	margin: 0;
	padding: 0;
	float: none;
	clear: none;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0 8px;
	white-space: nowrap;
	font-size: 0.85em;
	line-height: 24px;
	text-align: center;
	z-index: 2;
}

#topnav li {
	display: inline;
	float: none;
}

#topnav li.nav-expenses {
	display: none;
}

#topnav li a {
	color: #eef2f5 !important;
	text-shadow: none !important;
	font-size: 1.15em !important;
	font-weight: 700;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 24px;
	border: 0 !important;
	background: transparent !important;
}

#topnav li a:hover,
#topnav li a:active {
	color: #fff !important;
	border: 0 !important;
	background: transparent !important;
	top: 0;
	left: 0;
}

#dateTime {
	display: none;
}

#footerinside {
	margin: 0 0 -17px 0 auto;
	width: 97%;
	height: 34px;
}

#contentboxwrappercontent {
	width: 98%;
	margin: 108px auto 0;
}

#contentmainheadingwrapper{
border-bottom: #DDD 1px solid;
padding: 20px 0px -8px 20px;
margin-bottom: 30px;
}

#contentmainheading {
	font-size: 2.2em;
	margin: 8px -18px 8px -18px;
}

.contentmainunderheading {
	font-size: 0.9em;
	margin: -20px 0px 0px -36px;
}

#loginbox {
	font-size: 1.0em;
}

#expander {
	width: 92%;
	margin-left: 2%;
}

#expanderbox {
	font-size: 10pt;
}

#contactinfobox {
	width: 87%;
	margin-bottom: -20px !important;
	padding-bottom: 30px;
}

#contactinfoboxsub {
/*	display: none; */
	margin-bottom: 20px;
}

#listbox {
	width: 87%;
	margin-left: 2%;
	margin-right: auto;
	float: none;
}

.listboxtitlemobile {
	width: 0px;
	overflow: hidden;
	display: none;
	color: #FFF;
	position: relative;
	top: 5px;
	background-color: #FFF;
	border: solid 0px #FFF;
}
.listboxtitlemobile a {
    text-decoration: none;
    color: #707070;
}

.listboxtitlemobilecontent {
	width: 0px;
	overflow: hidden;
	display: none;
}

#customerbox {
	width: auto;
	float: none;
	margin: 0 12px 20px 6px;
	box-sizing: border-box;
}

#formlayoutcontroller {
	width: 100%;
	float: none;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

#Form1 + div,
#thiscontent div[style*="margin-left: 20px"] {
	float: none;
	margin-left: 20px !important;
	margin-right: 12px !important;
}

.customerformtitle {
	margin-right: 0;
}

#propertyboxsub { /* used on: formcustomer.php */
	display: none;
}

#cardboxsub { /* used on: formcustomer.php */
	display: none;
}

#formleftbox {
	width: 100%;
}
	
#formrightbox {
	width: 100%;
	border-style: dotted;
}

.alignRight {
	width: 62px;
}

#recentactivity {
	float: none;
}
#labelcode {
	display: none;
}

#labelmode { /* used on formTasks.php */
	display: block;
}

#auxindex {
margin-top: 40px;
}

#auxindex li {
margin: 20px 0 15px -38px;
}

#auxindex li last-child {
margin-bottom: 0px;
}

#auxlinks {
font-size:1.5em;
font-weight:700;
padding: 10px 10px;
}

#approveBtn { margin-top: -4px; }

}

@media screen and (max-width: 1000px) {

#headerwrap {
	height: 100px;
	overflow: hidden;
}

#header {
	width: 90%;
	height: 100px;
}

#signedin {
	display: none;
}

#topnav {
	margin: 0 auto;
}

#contactinfobox {
	clear: both;
}

#jobinfobox {
	clear: both;
}

#notebox {
	clear: both;
}

#listbox {
	width: 87%;
	margin-left: 2%;
	margin-right: auto;
	float: none;
}

#customerbox {
	margin: 0 12px 20px 6px;
}

#infobox {
	float: none;
	/*width: 65%;*/
	min-width:27%;
	display:inline-block;
	font-size:12pt;
	margin-left: 2%;
	margin-bottom: 20px;
/*	overflow: inherit; */
}

#formrightbox {
	float: none;
	width: 100%;
}

#formleftbox {
	clear: both;
	float: none;
	border-style: dashed;
	width: 100%;
	margin-bottom: 30px;
}

#formlayoutcontroller {
	width: 100%;
	padding-left: 0px;
}

#propertystatsbox {
	width: 60%;
	clear: left;
	margin-left: 2%;
	margin-bottom: 20px;
	font-size: 12pt;
	float: none;
	display: none;
}

#labelmode { /* used on formTasks.php */
	display: block;
}

}

@media screen and (max-width: 950px) {

#paperMargin p {font-size: 10pt;}

#paperTable { margin-left: -18px; margin-right: -8px; }

#paper p {
	padding: 0 !important;
	font-size: 10pt;
}

#paper img {
	margin-left: -14px;
	width: 50%;
}

#paperAddress p {
	padding-right: 10px !important;
}

#prepFor {
	padding-left: 0px;
	font-size: 10pt;
}

#gTotal {
	font-size: 15pt;
}

#itemTable td {
	font-size: 10pt;
}

#notesBox {
	margin-left: -10px;
	font-size: 10pt;
}

#termsBox {
	margin: 0 0 0 -10px;
	font-size: 10pt;
}

.btnStyle {
	padding-left: 20px;
	padding-right: 20px;
}

}

@media screen and (max-width: 800px) {

#paper {
	width: 80%;
}

#paperTable {
	padding: 30px 0px 0 0px;
}

#itemTable { border: 2px solid #CCC;
	margin: 0 -4px 0 -10px;
}

.btnStyle {
	padding-left: 15px;
	padding-right: 15px;
}

}

@media screen and (max-width: 700px) {

	#logo a img {max-height: 50px !important;}
	#logo {margin-left: -6px;}
	#logomobile {margin-left: -4px;}
	#topnav li a {
		font-size: 1.1em !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#paperAddress p {
		padding-right: 0px !important;
	}

}

@media screen and (max-width: 590px) {
	#regionslayoutbase {
	/*	float: none;
		clear: left; */
		width: 90%;
	}
	#regionslayoutcontroller {
		width: 90%;
		float: none;
		clear: left;
	}
	#logo a img {max-height:63px!important;}
}

@media screen and (max-width: 483px) {
	#logomobile {height:52px!important; margin-left:-6px;}
	#logo a img {max-height:50px!important;}
	#logo {margin-left: -8px;}
	#topnav li a {
		font-size: 1.05em !important;
		margin: 0 !important;
	}
	
}

@media screen and (max-width: 400px) {

#topnav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 24px;
	margin: 0 !important;
	padding: 0;
	float: none;
	clear: none;
	width: 100%;
	white-space: nowrap;
}
#topnav li a {
	font-size: 1em !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #eef2f5 !important;
}

#headerwrap {
	height: 100px;
	overflow: hidden;
}

#headerwrap2 {
	height: 100px;
	overflow: hidden;
}

#headerbottomline {
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	height: 24px;
	margin: 0;
}

#logo {
	display: none;
}

#logomobile {
	display: inherit;
	height: 52px;
	margin-left: -6px;
}
#logomobile img {
	padding-top: 0 !important;
	width: auto !important;
	max-height: 48px !important;
}

#number {
	height: auto;
	margin: 0;
	padding: 8px 0 0 0;
	font-size: 1.05em;
	position: relative;
	text-align: right;
}

#number a {
	text-decoration: underline;
	font-size: inherit;
}

#contentmainheading {
	font-size:1.7em;
	margin:0px -20px 6px -12px;
}

.contentmainunderheading {
	font-size: 0.9em;
	margin:-20px 0px 0px -32px;
	padding-bottom: 0px;
	letter-spacing: 4px;
}

#contentboxcontent {
	clear: both;
	margin-top: 108px;	
}

#invoiceMargins p {
	margin: 0;
	padding: 0;
}

#editButton {
/*	clear: both; */
}

#customerbox {
	font-size: 10pt;
}

#expanderbox {
	font-size: 8pt;
}

#infobox {
	width: 81%;
}

#notebox {
	width: 81%;
}

#listbox {
	width: 81%;
	margin-left: 2%;
}

#propertystatsbox {
	width: 81%;
	clear: left;
}

#indexbox {
	width: 81%;
	clear: left;
}

#formboxtitle {
clear:left;
}

.customerformtitle {
	margin-right: 0;
}

#loginbox {
	width: 250px;
}

#contactinfobox {
	width: 81%;
}

#jobinfobox {
	width: 81%;
}

#notebox {
	width: 81%;	
}

#spanLeft {
width: 30%;
font-size: 10pt;
}

#spanRight {
width: 70%;
font-size: 10pt;
}

#companyTable {
margin-left: -10px;
}

.managetable {
margin-left: -7px;
}

.inputs {
width: 160px;
}

#auxindex {
margin-top: 40px;
}

#auxindex li {
margin: 20px 0 15px -38px;
}

#auxindex li last-child {
margin-bottom: 0px;
}

#auxlinks {
font-size:1.1em;
font-weight:700;
padding: 10px 10px;
}

}