@media only screen and (min-device-width: 1024px) and (max-device-width: 1068px) and (orientation: portrait) {
	#widget_tab li a {
		padding: 0 4px!important;
	}
}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1068px) and (orientation: landscape) {
	#widget_tab li a {
		padding: 0 4px!important;
	}
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
	.btn_30_light img {
		max-width:30px;
	}
	.badge_style {
		padding:10px 0px;
	}
	table.display td {
		padding:8px 0px;
	}
	#show-menu {
		display: none!important;
	}

	#content {
		padding-left: 0!important;
	}

	#header {
		margin-left: 0!important;
		width: 100%!important;
	}

	#header > div:nth-child(1) > div:nth-child(1) {
		width:20%;
		float:left;
	}

	.header_left {
		float: none;
	}

	#header > div:nth-child(1) > div:nth-child(2) {
		width:80%;
		float:right;
		margin-bottom: 5px;
	}

	.header_right {
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1) {
		/*width:12%;
		float:left;*/
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(2) {
		/*float:left;*/
	}

	.top-line select {
		width: 100px;
	}

	.button.clear {
		width: 45px!important;
	}

	.scheduler-top {
		float: left;
	}

	#aboutorder h6 {
		line-height: 1em;
	}

	.top-line select {
		width: 100px;
	}

	.button.clear {
		width: 45px!important;
	}

	.scheduler-top {
		float: left;
	}

	#aboutorder h6 {
		line-height: 1em;
	}

	.topbuttons a {
		margin:2px;
	}
	.filename {
		word-wrap: break-word;
	}
	.note_responsibility {
		line-height: 1;
		display: inline-block;
	}
	.border-wrap {
		display: block;
	}
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
	#responsive_mnu {
		float: left!important;
		display: block!important;
	}
	#show-menu {
		display: none!important;
	}

	#content {
		padding-left: 0!important;
		position: relative;
	}

	#header {
		margin-left: 0!important;
		width: 100%!important;
	}

	.top-line select {
		width: 100px;
	}

	.button.clear {
		width: 45px!important;
	}

	.scheduler-top {
		float: left;
	}

	#aboutorder h6 {
		line-height: 1em;
	}

	.top-line select {
		width: 100px;
	}

	.button.clear {
		width: 45px!important;
	}

	.scheduler-top {
		float: left;
	}

	#aboutorder h6 {
		line-height: 1em;
	}

	.topbuttons a {
		margin:2px;
	}
	.filename {
		word-wrap: break-word;
	}
	.note_responsibility {
		line-height: 1;
		display: inline-block;
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 0px) and (max-width: 360px) {
	.btn_30_light img {
		max-width:30px;
	}
	.badge_style {
		padding:10px 0px;
	}
	table.display td {
		padding:8px 0px;
	}
	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1){
		/*width: 8%!important;
		float: left;
		padding-left: 0px!important;*/
	}
	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(2){
		/*float: left;
		width: 91%!important;*/
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 0px) and (max-width: 480px) {
	.error_reporting {
		width:100%;
	}
	.btn_30_light img {
		max-width:18px;
	}
	table.display thead th {
		padding:10px 0px;
	}
	.badge_style {
		padding:10px 0px;
	}
	table.display td {
		padding:8px 0px;
	}
	#content {
		padding-left:0;
	}
	#header {
		width:100%;
		margin-left:0;
		height:120px;
	}
	#show-menu {
		display:none;
	}

	#header > div:nth-child(1) > div:nth-child(1) {
		width:20%;
		float:left;
	}

	.header_left {
		float: none;
	}

	#header > div:nth-child(1) > div:nth-child(2) {
		width:100%;
		float:left;
		margin-bottom: 5px;
	}

	.header_right {
		float:none;
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1) {
		/*width:12%;
		float:left;*/
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(2) {
		/*float:left;*/
	}

	.login_container {
		width: 300px!important;
		margin: auto;
	}

	.login_header .login_branding {
		width: 285px!important;
	}

	.grid_container .grid_1,
	.grid_container .grid_10,
	.grid_container .grid_11,
	.grid_container .grid_12,
	.grid_container .grid_2,
	.grid_container .grid_3,
	.grid_container .grid_4,
	.grid_container .grid_5,
	.grid_container .grid_6,
	.grid_container .grid_7,
	.grid_container .grid_8,
	.grid_container .grid_9 {
		width: 96%!important;
		margin-left: 10px;
		margin-right: 10px;
	}

	.grid_container .grid_12 .grid_1,
	.grid_container .grid_12 .grid_10,
	.grid_container .grid_12 .grid_11,
	.grid_container .grid_12 .grid_12,
	.grid_container .grid_12 .grid_2,
	.grid_container .grid_12 .grid_3,
	.grid_container .grid_12 .grid_4,
	.grid_container .grid_12 .grid_5,
	.grid_container .grid_12 .grid_6,
	.grid_container .grid_12 .grid_7,
	.grid_container .grid_12 .grid_8,
	.grid_container .grid_12 .grid_9 {
		width: 100%!important;
		margin-left: 0;
		margin-right: 0;
	}

	#left_bar,
	#sidebar {
		display: none!important;
	}

	#container {
		margin-left: 0!important;
	}

	#responsive_mnu {
		float: left!important;
		display: block!important;
	}

	.activities_s,
	.comments_s,
	.user_s,
	.views_s {
		width: 95%!important;
		float: none!important;
		margin-bottom: 20px;
	}

	.user_s {
		margin-bottom: 0;
	}

	.table_content {
		overflow: scroll!important;
	}

	#widget_tab li a {
		padding: 0 2px!important;
	}

	.alpha,
	.omega {
		margin-left: 0!important;
		margin-right: 0!important;
	}

	.align_center,
	.align_right {
		text-align: left!important;
	}

	#chart1 table .jqplot-table-legend {
		display: none;
	}

	.item_widget .item_block {
		width: 160px!important;
		margin: 10px!important;
	}

	.item_block:last-child {
		float: left!important;
	}

	.invoice_tbl {
		overflow: scroll;
		width: 401px;
		border-left: #ccc 1px solid;
		border-bottom: #ccc 1px solid;
		border-right: #ccc 1px solid;
	}

	.widget_content .page_content {
		margin: 0 18px!important;
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 0px) and (max-width: 1024px) {
	.fg-menu-container .nav_icon{
		display:none;
	}
	.fg-menu .ui-corner-all:hover{
		background-color:blue;
		color:white;
	}
	.label_div {
		font-weight: bold;
		font-size:1.3em;
	}
	.title {
		display:none;
	}
	.note_responsibility {
		line-height: 1;
		display: inline-block;
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
	.grid_container .grid_1,
	.grid_container .grid_10,
	.grid_container .grid_11,
	.grid_container .grid_12,
	.grid_container .grid_2,
	.grid_container .grid_3,
	.grid_container .grid_4,
	.grid_container .grid_5,
	.grid_container .grid_6,
	.grid_container .grid_7,
	.grid_container .grid_8,
	.grid_container .grid_9 {
		width: 97%!important;
		margin-left: 10px;
		margin-right: 10px;
	}

	.grid_container .grid_12 .grid_1,
	.grid_container .grid_12 .grid_10,
	.grid_container .grid_12 .grid_11,
	.grid_container .grid_12 .grid_12,
	.grid_container .grid_12 .grid_2,
	.grid_container .grid_12 .grid_3,
	.grid_container .grid_12 .grid_4,
	.grid_container .grid_12 .grid_5,
	.grid_container .grid_12 .grid_6,
	.grid_container .grid_12 .grid_7,
	.grid_container .grid_12 .grid_8,
	.grid_container .grid_12 .grid_9 {
		width: 100%!important;
		margin-left: 0;
		margin-right: 0;
	}

	#left_bar,
	#sidebar {
		display: none!important;
	}

	#container {
		margin-left: 0!important;
	}

	#responsive_mnu {
		float: left!important;
		display: block!important;
	}

	.activities_s,
	.comments_s,
	.user_s,
	.views_s {
		width: 95%!important;
		float: none!important;
		margin-bottom: 20px;
	}

	.user_s {
		margin-bottom: 0;
	}

	.table_content {
		overflow: scroll!important;
	}

	#widget_tab li a {
		padding: 0 4px!important;
	}

	.alpha,
	.omega {
		margin-left: 0!important;
		margin-right: 0!important;
	}

	.align_center,
	.align_right {
		text-align: left!important;
	}

	#chart1 table .jqplot-table-legend {
		display: none;
	}

	.item_widget .item_block {
		width: 160px!important;
		margin: 10px!important;
	}

	.item_block:last-child {
		float: left!important;
	}

	.invoice_tbl {
		overflow: scroll;
		width: 768px;
		border-left: #ccc 1px solid;
		border-bottom: #ccc 1px solid;
		border-right: #ccc 1px solid;
	}

	.widget_content .page_content {
		margin: 0 18px!important;
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 481px) and (max-width: 960px) {
	.btn_30_light img {
		max-width:30px;
	}
	.badge_style {
		padding:10px 0px;
	}
	table.display td {
		padding:8px 0px;
	}
	#content {
		padding-left:0;
	}
	#header > div:nth-child(1) > div:nth-child(1) {
		width:20%;
		float:left;
	}

	.header_left {
		float: none;
	}

	#header > div:nth-child(1) > div:nth-child(2) {
		width:80%;
		float:right;
		margin-bottom: 5px;
	}

	.header_right {
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(1) {
		/*width:12%;
		float:left;*/
	}

	#header > div:nth-child(1) > div:nth-child(2) > div > div:nth-child(2) {
		/*float:left;*/
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 0px) and (max-width: 1280px) {
	.note_responsibility {
		line-height: 1;
		display: inline-block;
	}
	.border-wrap {
		display: block;
	}
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
	.imgcont {
		overflow-x: scroll;
		overflow-y: hidden;
		width: 450px;
	}

	#primary_nav,
	#start_menu {
		display: none!important;
	}

	#sidebar {
		margin-left: 0!important;
	}

	.grid_container .grid_1,
	.grid_container .grid_10,
	.grid_container .grid_11,
	.grid_container .grid_12,
	.grid_container .grid_2,
	.grid_container .grid_3,
	.grid_container .grid_4,
	.grid_container .grid_5,
	.grid_container .grid_6,
	.grid_container .grid_7,
	.grid_container .grid_8,
	.grid_container .grid_9 {
		width: 97%!important;
		margin-left: 10px;
		margin-right: 10px;
	}

	.grid_container .grid_12 .grid_1,
	.grid_container .grid_12 .grid_10,
	.grid_container .grid_12 .grid_11,
	.grid_container .grid_12 .grid_12,
	.grid_container .grid_12 .grid_2,
	.grid_container .grid_12 .grid_3,
	.grid_container .grid_12 .grid_4,
	.grid_container .grid_12 .grid_5,
	.grid_container .grid_12 .grid_6,
	.grid_container .grid_12 .grid_7,
	.grid_container .grid_12 .grid_8,
	.grid_container .grid_12 .grid_9 {
		width: 100%!important;
		margin-left: 0;
		margin-right: 0;
	}

	.activities_s,
	.comments_s,
	.user_s,
	.views_s {
		width: 95%!important;
		float: none!important;
		margin-bottom: 20px;
	}

	.user_s {
		margin-bottom: 0;
	}

	.item_widget .item_block {
		width: 140px!important;
		margin: 10px!important;
	}

	.item_block:last-child {
		float: left!important;
	}
	.border-wrap {
		display: block;
	}
}
@media print {
	.col-sm-1,
	.col-sm-2,
	.col-sm-3,
	.col-sm-4,
	.col-sm-5,
	.col-sm-6,
	.col-sm-7,
	.col-sm-8,
	.col-sm-9,
	.col-sm-10,
	.col-sm-11,
	.col-sm-12 {
		float: left;
	}
	.col-sm-12 {
		width: 100%;
	}
	.col-sm-11 {
		width: 91.66666667%;
	}
	.col-sm-10 {
		width: 83.33333333%;
	}
	.col-sm-9 {
		width: 75%;
	}
	.col-sm-8 {
		width: 66.66666667%;
	}
	.col-sm-7 {
		width: 58.33333333%;
	}
	.col-sm-6 {
		width: 50%;
	}
	.col-sm-5 {
		width: 41.66666667%;
	}
	.col-sm-4 {
		width: 33.33333333%;
	}
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-2 {
		width: 16.66666667%;
	}
	.col-sm-1 {
		width: 8.33333333%;
	}
	.col-sm-pull-12 {
		right: 100%;
	}
	.col-sm-pull-11 {
		right: 91.66666667%;
	}
	.col-sm-pull-10 {
		right: 83.33333333%;
	}
	.col-sm-pull-9 {
		right: 75%;
	}
	.col-sm-pull-8 {
		right: 66.66666667%;
	}
	.col-sm-pull-7 {
		right: 58.33333333%;
	}
	.col-sm-pull-6 {
		right: 50%;
	}
	.col-sm-pull-5 {
		right: 41.66666667%;
	}
	.col-sm-pull-4 {
		right: 33.33333333%;
	}
	.col-sm-pull-3 {
		right: 25%;
	}
	.col-sm-pull-2 {
		right: 16.66666667%;
	}
	.col-sm-pull-1 {
		right: 8.33333333%;
	}
	.col-sm-pull-0 {
		right: auto;
	}
	.col-sm-push-12 {
		left: 100%;
	}
	.col-sm-push-11 {
		left: 91.66666667%;
	}
	.col-sm-push-10 {
		left: 83.33333333%;
	}
	.col-sm-push-9 {
		left: 75%;
	}
	.col-sm-push-8 {
		left: 66.66666667%;
	}
	.col-sm-push-7 {
		left: 58.33333333%;
	}
	.col-sm-push-6 {
		left: 50%;
	}
	.col-sm-push-5 {
		left: 41.66666667%;
	}
	.col-sm-push-4 {
		left: 33.33333333%;
	}
	.col-sm-push-3 {
		left: 25%;
	}
	.col-sm-push-2 {
		left: 16.66666667%;
	}
	.col-sm-push-1 {
		left: 8.33333333%;
	}
	.col-sm-push-0 {
		left: auto;
	}
	.col-sm-offset-12 {
		margin-left: 100%;
	}
	.col-sm-offset-11 {
		margin-left: 91.66666667%;
	}
	.col-sm-offset-10 {
		margin-left: 83.33333333%;
	}
	.col-sm-offset-9 {
		margin-left: 75%;
	}
	.col-sm-offset-8 {
		margin-left: 66.66666667%;
	}
	.col-sm-offset-7 {
		margin-left: 58.33333333%;
	}
	.col-sm-offset-6 {
		margin-left: 50%;
	}
	.col-sm-offset-5 {
		margin-left: 41.66666667%;
	}
	.col-sm-offset-4 {
		margin-left: 33.33333333%;
	}
	.col-sm-offset-3 {
		margin-left: 25%;
	}
	.col-sm-offset-2 {
		margin-left: 16.66666667%;
	}
	.col-sm-offset-1 {
		margin-left: 8.33333333%;
	}
	.col-sm-offset-0 {
		margin-left: 0%;
	}
	.visible-xs {
		display: none !important;
	}
	.hidden-xs {
		display: block !important;
	}
	table.hidden-xs {
		display: table;
	}
	tr.hidden-xs {
		display: table-row !important;
	}
	th.hidden-xs,
	td.hidden-xs {
		display: table-cell !important;
	}
	.hidden-xs.hidden-print {
		display: none !important;
	}
	.hidden-sm {
		display: none !important;
	}
	.visible-sm {
		display: block !important;
	}
	table.visible-sm {
		display: table;
	}
	tr.visible-sm {
		display: table-row !important;
	}
	th.visible-sm,
	td.visible-sm {
		display: table-cell !important;
	}
	.form-control {
		display: block;
		width: 100%;
		height: 34px;
		padding: 6px 12px;
		font-size: 14px;
		line-height: 1.42857143;
		color: #555;
		background-color: #fff;
		background-image: none;
		border: 1px solid #ccc;
		border-radius: 4px;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
		-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
		-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
		transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	}
	.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
		background-color: #eee;
		opacity: 1;
	}
	.form-control input {
		border:1px solid grey;
	}
		body, html {
		overflow:visible;
	}
	nav {
		display:none;
	}
	#signature-pad2,
	#signature-pad {
		border: 0px!important;
	}

	input {
		border: 0px;
	}

	div.datatables-print-msg {
		display: none;
	}

	#data_tbl_tools th,
	#data_tbl_tools td,
	#data_tbl_tools tr,
	#data_tbl_tools td a {
		color: black!important;
	}
	.no_print {
		display:none;
	}
	#show-menu {
		display:none;
	}
	footer {
		display:none;
	}
}

#mobile_menu_toggle,
#mobile_menu_overlay,
.mobile-menu-close-row {
	display: none;
}

/* Slide-out menu for phones (narrow) and tablets/iPads (touch, any width).
   Laptops with mouse/trackpad keep the desktop sidebar (hover + fine pointer). */
@media screen and (max-width: 1180px),
       screen and (hover: none) and (pointer: coarse) {
	#show-menu {
		display: none !important;
	}

	#responsive_mnu {
		display: none !important;
	}

	#mobile_menu_toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		width: 44px;
		height: 44px;
		margin: 8px 10px 8px 8px;
		padding: 0;
		border: 0;
		border-radius: 6px;
		background: rgba(255, 255, 255, 0.18);
		cursor: pointer;
		z-index: 10002;
		vertical-align: middle;
	}

	#mobile_menu_toggle span {
		display: block;
		width: 20px;
		height: 2px;
		margin: 2px 0;
		background: #fff;
		border-radius: 2px;
	}

	#header {
		margin-left: 0 !important;
		width: 100% !important;
		height: auto !important;
		min-height: 60px;
		overflow: visible !important;
		position: relative;
		z-index: 30;
	}

	#container {
		overflow: visible;
	}

	#header > .row:first-child {
		min-height: 60px;
		position: relative;
		z-index: 40;
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
	}

	#header > .row:first-child > [class*="col-"] {
		width: auto;
		float: none;
	}

	#header > .row:first-child > [class*="col-"]:first-child {
		flex: 0 0 auto;
	}

	#header > .row:first-child > [class*="col-"]:last-child {
		flex: 1 1 auto;
		margin-left: auto;
	}

	#header .header_right {
		float: right;
		width: auto;
		margin-right: 8px;
		padding-top: 4px;
	}

	#header .header_right > [class*="col-"],
	#header .navbar-collapse,
	#header .navbar-nav {
		float: right !important;
		width: auto;
		text-align: right;
	}

	#header .navbar-nav {
		position: relative;
	}

	#header .navbar-nav > li {
		position: static;
	}

	#header .notification_list.dropdown-menu {
		position: absolute;
		top: 100%;
		right: 0 !important;
		left: auto !important;
		width: 260px;
		max-width: 90vw;
		z-index: 50;
	}

	#header .page_title,
	#header .header_buttons,
	.page_title.header_buttons {
		display: block !important;
		visibility: visible !important;
		height: auto !important;
		overflow: visible !important;
		position: relative;
		z-index: 20;
		float: none !important;
		width: 100%;
		max-width: 100%;
		clear: both;
	}

	#header .page_title .topbuttons,
	.page_title .topbuttons {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		float: none !important;
		width: 100%;
		max-width: 100%;
	}

	#content {
		padding-left: 0 !important;
		margin-top: 0 !important;
		position: relative;
		z-index: 1;
	}

	#content .priorityboard,
	#content .priority_table_left,
	#content .dataTables_wrapper {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#header .screenfix {
		float: none !important;
		width: 100%;
		margin-top: 6px;
	}

	#left_bar,
	#left_bar #sidebar {
		display: block !important;
	}

	#left_bar {
		width: 280px !important;
		max-width: 85%;
		height: 100%;
		position: fixed !important;
		left: 0;
		top: 0;
		z-index: 10001;
		background: #fff;
		box-shadow: 2px 0 16px rgba(0, 0, 0, 0.25);
		transform: translateX(-110%);
		-webkit-transform: translateX(-110%);
		transition: transform 0.25s ease;
		-webkit-transition: -webkit-transform 0.25s ease;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.mobile-menu-open #left_bar {
		transform: translateX(0);
		-webkit-transform: translateX(0);
	}

	#mobile_menu_overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 10000;
	}

	body.mobile-menu-open #mobile_menu_overlay {
		display: block;
	}

	body.mobile-menu-open {
		overflow: hidden;
	}

	#sidenav {
		padding-bottom: 24px;
	}

	#sidenav img {
		max-width: 100%;
		height: auto;
	}

	#secondary_nav ul li a {
		line-height: 44px;
		min-height: 44px;
		font-size: 16px;
		padding-left: 42px;
		padding-right: 28px;
	}

	#secondary_nav ul li a .nav_icon {
		left: 12px;
		top: 12px;
	}

	#secondary_nav ul li a .indent {
		padding-left: 0;
	}

	#secondary_nav ul li a .glyphicon-triangle-bottom,
	#secondary_nav ul li a .glyphicon-triangle-top {
		float: right;
		margin-top: 14px;
	}

	#fileLocationsToggle,
	#processingToggle,
	#orderPartsToggle,
	#accountingToggle,
	#reportsToggle {
		cursor: pointer;
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
	}

	.header_left {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}

	#secondary_nav ul li.mobile-menu-close-row {
		display: block !important;
		position: absolute !important;
		top: 8px;
		right: 8px;
		left: auto;
		width: 36px;
		height: 36px;
		margin: 0 !important;
		padding: 0 !important;
		z-index: 5;
	}

	#secondary_nav ul li.mobile-menu-close-row a#mobile_menu_close {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		padding: 0 !important;
		line-height: 36px !important;
		min-height: 36px !important;
		background: transparent !important;
		color: #333 !important;
		border-radius: 4px;
		text-align: center;
	}

	#secondary_nav ul li.mobile-menu-close-row a#mobile_menu_close .glyphicon {
		position: static;
		top: 0;
		left: 0;
		font-size: 16px;
	}

	#header .navbar-collapse.collapse {
		display: block !important;
		height: auto !important;
		padding: 0;
		overflow: visible !important;
	}

	#header .navbar-nav {
		float: none;
		margin: 0;
		text-align: right;
	}

	#header .navbar-nav > li {
		display: inline-block;
		float: none;
		vertical-align: middle;
	}

	#header .navbar-nav > .dropdown > a {
		max-width: 140px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		line-height: 1.2;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	#header .header-welcome-label {
		display: none;
	}

	.page_title,
	.header_buttons,
	.topbuttons {
		float: none !important;
		width: 100%;
		max-width: 100%;
	}

	.page_title .btn,
	.topbuttons .btn,
	.topbuttons a.btn,
	.header_buttons .btn {
		margin: 4px 4px 4px 0;
		display: inline-block;
		white-space: nowrap;
	}

	#content,
	#container,
	.grid_container,
	.widget_wrap,
	.content_section,
	.grid-container {
		max-width: 100%;
	}

	.table_content,
	.dataTables_wrapper,
	.table-responsive,
	.widget_content {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Scheduler Documents: tabs were height-locked at 40px and floated right,
	   so on tablets they overflow and hide the uploaded document list. */
	.widget_wrap.tabby .widget_top .row > [class*="col-"] {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}

	.widget_wrap.tabby .widget_image,
	.widget_wrap.tabby #widget_tab {
		height: auto !important;
		float: none !important;
		width: 100% !important;
		display: block !important;
		overflow: visible !important;
		margin-top: 8px;
	}

	.widget_wrap.tabby #widget_tab ul {
		float: none !important;
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.widget_wrap.tabby #widget_tab ul li {
		float: none !important;
		display: block;
		height: auto !important;
	}

	.widget_wrap.tabby #widget_tab ul li a,
	.widget_wrap.tabby #widget_tab li a {
		height: auto !important;
		line-height: 1.3 !important;
		padding: 8px 10px !important;
		font-size: 12px !important;
		white-space: nowrap;
		border-radius: 6px 6px 0 0 !important;
	}

	.widget_wrap.tabby .image_content {
		clear: both;
		overflow: visible !important;
		padding-top: 8px;
	}

	.widget_wrap.tabby .colorbox_elem {
		margin: 10px 0 !important;
	}

	.widget_wrap.tabby .colorbox_elem li.col-md-4,
	.widget_wrap.tabby .colorbox_elem li.col-sm-4,
	.widget_wrap.tabby .colorbox_elem li.color_special {
		width: 50% !important;
		float: left;
		box-sizing: border-box;
		padding: 6px !important;
	}

	.widget_wrap.tabby .colorbox_elem li a img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}

	table.dataTable,
	table.display,
	.table {
		max-width: none;
	}

	input,
	select,
	textarea,
	.form-control,
	.select2-container {
		max-width: 100%;
	}

	.ui-dialog {
		max-width: 95vw !important;
		left: 2.5vw !important;
	}

	.cbp-fwslider,
	.cbp-fwslider ul,
	.cbp-fwslider img {
		max-width: 100%;
	}

	.top-line select,
	.filter_select select,
	.filter_select_allscan select {
		max-width: 100%;
		width: auto;
		min-width: 120px;
	}

	#content.report-page {
		padding: 12px 16px !important;
		overflow-x: hidden;
	}

	#content.report-page .grid-container,
	#content.report-page .grid-container > .row,
	#content.report-page .grid-container > .row > [class*="col-"] {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#content.report-page .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#content.report-page .report-filters,
	#content.report-page .push_top.report-filters,
	#content.report-page form.report-filters {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: flex-end;
		gap: 12px 16px;
		margin: 0 0 8px !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#content.report-page .report-filters > [class*="col-"],
	#content.report-page .push_top.report-filters > [class*="col-"],
	#content.report-page form.report-filters > [class*="col-"] {
		box-sizing: border-box;
		flex: 1 1 calc(50% - 16px) !important;
		width: auto !important;
		max-width: calc(50% - 8px) !important;
		min-width: 0 !important;
		float: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	#content.report-page .report-filters label {
		display: block;
		font-size: 13px;
		line-height: 1.35;
		margin: 0 0 6px;
		padding: 0;
		white-space: normal;
		word-wrap: break-word;
	}

	#content.report-page .report-filters .form-group {
		margin-bottom: 0;
		width: 100%;
	}

	#content.report-page .report-filters .form-control,
	#content.report-page .report-filters select,
	#content.report-page .report-filters input {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	#content.report-page .report_totals,
	#content.report-page .right.report_totals {
		float: none !important;
		display: inline-block;
		margin: 8px 16px 12px 0;
		font-size: 1.1em;
		white-space: normal;
		word-wrap: break-word;
	}

	#content.report-page .table_top,
	#content.report-page .tbl_tools,
	#content.report-page .dataTables_filter {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
		text-align: left;
	}

	#content.report-page .dataTables_filter input {
		width: calc(100% - 80px);
		max-width: 280px;
	}

	#content.report-page .report-table-wrap,
	#content.report-page .dataTables_wrapper,
	#content.report-page .table_content,
	#content.report-page .table-responsive {
		width: 100%;
		max-width: 100%;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}

	#content.report-page table.display,
	#content.report-page table.table {
		width: auto !important;
		min-width: 760px;
		max-width: none !important;
		table-layout: auto;
	}

	#content.report-page table.display th {
		padding: 8px 10px;
		white-space: nowrap;
	}

	#content.report-page table.display td {
		padding: 8px 10px;
	}

	#content.archived-page .archive_report,
	#content.archived-page .archived_report {
		min-width: 1100px;
	}

	#content.report-page .touch-time-table {
		min-width: 980px;
	}

	#content.report-page .touch-time-table td,
	#content.report-page .touch-time-table th {
		white-space: normal;
	}

	#content.report-page .touch_cycle_report,
	#content.report-page .touch_cycle_rolist {
		min-width: 860px;
	}

	#content.report-page .vehicle-details,
	#content.report-page .vehicle-details div {
		text-align: left;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	#content.report-page th[style*="width:400px"],
	#content.report-page td .vehicle-details {
		width: auto !important;
		min-width: 220px;
	}

	#content.report-page .report_findings,
	#content.report-page .report_title {
		font-size: 1.2em;
		line-height: 1.4;
		word-wrap: break-word;
	}

	.report-modal .modal-content {
		width: 94%;
		margin: 8% auto;
		max-height: 80vh;
		overflow: auto;
	}

	/* Document/note tabs and the copyright footer share the bottom of the
	   scheduler. A fixed 39px bar clips the tabs so they paint over the footer. */
	.widget_top {
		height: auto;
		min-height: 39px;
		overflow: visible;
	}

	.widget_top .row > [class*="col-"] {
		float: none;
		width: 100%;
	}

	#widget_tab,
	.widget_image {
		float: none !important;
		display: block;
		height: auto !important;
		width: 100%;
	}

	#widget_tab ul,
	.note_tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		float: none;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin: 4px 0 0;
		padding: 0 8px 6px;
	}

	#widget_tab ul li {
		float: none;
		display: block;
		height: auto;
		max-width: 100%;
		margin: 0;
	}

	#widget_tab ul li a {
		height: auto;
		line-height: 1.3;
		padding: 6px 10px;
		white-space: normal;
	}

	footer {
		height: auto;
		padding: 8px 10px 12px;
	}

	footer .row > [class*="col-"] {
		float: none;
		width: 100%;
		text-align: center;
	}

	footer .footer_link {
		font-size: 14px;
		line-height: 1.35;
		margin: 4px 0;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: anywhere;
	}

	footer .footer_link img {
		display: inline-block;
		max-height: 28px;
		width: auto;
		vertical-align: middle;
	}
}

@media screen and (max-width: 767px) {
	#header .row:not(:first-child) > [class*="col-"] {
		width: 100%;
		float: none;
	}

	#header .navbar-nav {
		text-align: right;
		padding: 0 8px 8px;
		float: right;
	}

	#header .navbar-nav > .dropdown > a {
		display: none;
	}

	.page_title .btn,
	.topbuttons .btn,
	.topbuttons a.btn,
	.header_buttons .btn {
		font-size: 13px;
		padding: 6px 10px;
	}

	.top-line,
	.scheduler-top,
	.filter_words,
	.filter_select {
		float: none !important;
		width: 100%;
		margin-bottom: 8px;
	}

	.imgcont,
	.cbp-fwslider {
		width: 100% !important;
		max-width: 100%;
	}

	#content.report-page .report-filters > [class*="col-"],
	#content.report-page .push_top.report-filters > [class*="col-"],
	#content.report-page form.report-filters > [class*="col-"] {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	#content.report-page table.display,
	#content.report-page table.table {
		min-width: 640px;
	}

	#content.report-page .report_totals,
	#content.report-page .right.report_totals {
		display: block;
		margin: 4px 0;
	}

	#content.report-page .dataTables_filter input {
		width: 100%;
		max-width: 100%;
	}
}

@media screen and (max-width: 1024px) {
	.prod-scheduler-header {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	.prod-scheduler-header > [class*="col-"] {
		width: auto;
		float: none;
	}

	.prod-scheduler-header > [class*="col-"]:first-child {
		flex: 1 1 auto;
		min-width: 0;
		padding-right: 16px;
	}

	.prod-scheduler-header .prod-scheduler-actions {
		flex: 0 0 auto;
		margin-left: 12px;
	}

	.prod-scheduler-header .btn-group.right {
		float: right !important;
	}

	.prod-scheduler-header .fill_bar {
		display: flex !important;
		width: 100% !important;
		max-width: 100%;
	}

	.prod-scheduler-header .fill_bar > div {
		width: auto !important;
		flex: 1 1 0;
		min-width: 0;
	}

	.prod-scheduler-header .fill_bar > .goal {
		flex: 2 1 0;
	}
}

@media screen and (max-width: 900px) {
	#content.report-page .report-filters > [class*="col-"],
	#content.report-page .push_top.report-filters > [class*="col-"],
	#content.report-page form.report-filters > [class*="col-"] {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

.report-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}

.report-filters > [class*="col-"] {
	margin-bottom: 8px;
}

@media screen and (max-width: 1180px),
       screen and (hover: none) and (pointer: coarse) {
	#content.scans-page {
		padding: 12px 16px !important;
	}

	#content.scans-page .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#content.scans-page > .row > [class*="col-"] {
		width: 100% !important;
		margin-left: 0 !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#content.scans-page .scans-page-head h3 {
		font-size: 1.25em;
		line-height: 1.3;
		margin: 8px 0 12px;
	}

	#content.scans-page .btn-primary-select-ros {
		display: inline-block;
		margin: 0 8px 12px 0;
		white-space: normal;
	}

	#content.scans-page #assignROButton {
		margin: 0 8px 12px 0;
		white-space: normal;
	}

	#content.scans-page [class*="col-"].scan_box {
		width: 50% !important;
		float: left;
		padding: 8px !important;
		box-sizing: border-box;
	}

	#content.scans-page .scan_box .row_pic img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}

	#content.scans-page .assign_ro {
		white-space: normal;
		font-size: 16px;
	}

	#content.scans-page .popup .popuptext,
	#content.scans-page .popup .popuptext.show {
		position: fixed;
		width: 94%;
		max-width: 640px;
		max-height: 85vh;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 10050;
		padding: 16px 12px 12px;
		box-sizing: border-box;
	}

	#content.scans-page .ro_fileloc {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}

	#content.scans-page .ro_fileloc > div {
		width: 100% !important;
		padding: 6px 0 !important;
	}

	#content.scans-page .invoice_menu,
	#content.scans-page .paint_invoice_menu {
		width: 100% !important;
		max-width: 100%;
		float: none;
		display: table;
	}

	#content.scans-page .ros_submit {
		margin-left: 0 !important;
		margin-top: 10px !important;
	}

	#content.scans-page .search_results {
		width: 100%;
		max-width: 100%;
	}
}

@media screen and (max-width: 1180px) {
	.scheduler-top {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		float: none !important;
		width: 100%;
		gap: 6px;
		clear: both;
	}

	.scheduler-top > .top-line {
		float: none !important;
		width: auto !important;
		margin: 0;
		flex: 0 1 auto;
	}

	.scheduler-top > .top-line:first-child {
		flex: 1 1 auto;
		min-width: 0;
	}

	.scheduler-top > .top-line:not(:has(select)):not(:has(input[type="text"])) {
		display: none;
	}

	.scheduler-top .form-group,
	.scheduler-top form {
		display: flex;
		align-items: center;
		float: none !important;
		width: 100%;
		margin: 0;
	}

	.scheduler-top input[name="search"] {
		float: none !important;
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
		height: 30px;
		margin: 0;
	}

	.scheduler-top .btn_30_light {
		float: none !important;
		margin: 0 0 0 4px !important;
		flex: 0 0 auto;
	}

	.scheduler-top select {
		float: none !important;
		width: auto;
		min-width: 110px;
		max-width: 42vw;
	}
}

@media screen and (max-width: 767px) {
	#content.scans-page [class*="col-"].scan_box {
		width: 100% !important;
		float: none;
	}

	.widget_wrap.tabby .colorbox_elem li.col-md-4,
	.widget_wrap.tabby .colorbox_elem li.col-sm-4,
	.widget_wrap.tabby .colorbox_elem li.color_special {
		width: 100% !important;
		float: none;
	}
}

@media screen and (max-width: 1180px),
       screen and (hover: none) and (pointer: coarse) {
	#header .navbar-nav > .dropdown > a {
		max-width: 110px;
	}

	#content.final-auth-page,
	#content.final-auth-page .final-auth-page,
	.final-auth-page {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	#content.final-auth-page {
		padding: 12px !important;
		overflow-x: visible !important;
	}

	#content.final-auth-page .grid-container,
	#content.final-auth-page .auth-form-page,
	.auth-form-page.final-auth-page {
		max-width: 100%;
		padding: 0;
		overflow: visible;
	}

	#content.final-auth-page .row,
	.final-auth-page .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	#content.final-auth-page [class*="col-"],
	.final-auth-page [class*="col-"] {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		margin-left: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	.final-auth-page .center_text {
		font-size: 1.15em !important;
		line-height: 1.35 !important;
		text-align: center;
		word-wrap: break-word;
		overflow-wrap: anywhere;
		margin: 8px 0 16px;
	}

	.final-auth-page .text,
	.final-auth-page .warranty-body,
	.final-auth-page .warranty-body * {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		white-space: normal !important;
		word-wrap: break-word !important;
		overflow-wrap: anywhere !important;
		font-size: 14px !important;
		line-height: 1.45 !important;
	}

	.final-auth-page .warranty-body span,
	.final-auth-page .warranty-body font {
		display: inline !important;
		width: auto !important;
	}

	.final-auth-page .warranty-body br {
		display: block !important;
		content: "";
		width: 100%;
	}

	.final-auth-page .final-auth-actions {
		float: none !important;
		text-align: left;
		margin-bottom: 12px;
	}

	.final-auth-info {
		display: flex;
		flex-wrap: wrap;
		gap: 10px 16px;
		margin: 0 0 20px;
		font-size: 1em;
		width: 100%;
	}

	.final-auth-info .final-auth-col {
		flex: 1 1 100%;
		min-width: 0;
		word-wrap: break-word;
		overflow-wrap: anywhere;
	}

	.final-auth-info .final-auth-col > div {
		margin-bottom: 4px;
	}

	.final-auth-page .vin {
		word-break: break-all;
	}

	.final-auth-page .bottom_check {
		font-size: 1em;
		margin-top: 16px;
	}

	.final-auth-page .bottom_check label {
		display: block;
		white-space: normal;
		font-weight: normal;
		line-height: 1.4;
	}

	.final-auth-page .bottom_sign {
		margin: 16px 0;
	}

	.final-auth-page .bottom_sig,
	.final-auth-page .bottom_sign img {
		max-width: 100%;
		height: auto;
	}

	.final-auth-page .sign_button {
		white-space: normal;
		max-width: 100%;
	}
}

@media screen and (max-width: 767px) {
	#header .navbar-nav > .dropdown {
		display: none;
	}

	.final-auth-page .center_text {
		font-size: 1.05em !important;
	}

	.final-auth-page .text,
	.final-auth-page .warranty-body,
	.final-auth-page .warranty-body * {
		font-size: 13px !important;
	}
}

@media screen and (min-width: 1181px) and (hover: hover) and (pointer: fine) {
	#mobile_menu_toggle,
	#mobile_menu_overlay {
		display: none !important;
	}
}

@media screen and (min-width: 1181px) {
	.final-auth-info {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		margin: 8px 0 20px;
		font-size: 1.25em;
		text-align: left;
	}

	.final-auth-info .final-auth-col {
		flex: 1 1 0;
		min-width: 0;
	}
}