@charset "utf-8";

/* CSS Document*/ 
/* ---------------------------------------------------- */
/* 						Fonts							*/
/* ---------------------------------------------------- */

html.frameWrap, body.frameWrap{
	height: 100%;	
}

/* Remove IE's show password icon */
input::-ms-reveal {
    display: none;
}
.clear{
	clear: both;
	overflow: hidden;	
}

table, tbody, tfoot, thead, tr, th, td{
	font-size:100%;
}
body{
	font-family: 'Open Sans', sans-serif;
	max-width: 100vw;
}

body .mdi, body .material-icons{
	line-height: 18.5px;
}
body{
	font-size:0.9rem;
}
.bg-fmx{
	background: url('/images/common/fmx4/bg-fmx.jpg') no-repeat bottom right #000000;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
}

.bg-dark, .bg-dark-overlay{
	background: rgba(0,0,0,0.4) !important;
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
}

.bg-grey{
	background-color: #f7f7f9;
}


/* Cells in even rows (2,4,6...) are one color */        
tr:nth-child(even) { /*background: #F5F5F5;*/ }   

/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */        
table.altrows tr:nth-child(odd) { /*background: #eaedf0; */} 
table.altrows tr.noRowColour:nth-child(odd){
	/*background: none;*/
}

.table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
	position:relative;
}


/*  ----------------------------------------------------------	*/
/*  					Sticky Footer 	 						*/
/*  ----------------------------------------------------------	*/
#wrapper {
  	min-height: 100%;
  	margin-bottom: -80px; /* Make the same as the footer height */
}

#wrapper:after {
	content: "";
	display: block;
}

#footer, #wrapper:after {
  height: 80px; 
}

.sticky{
	position: relative;
	position: -webkit-sticky;
	position: sticky;
	top: -35px;
	z-index: 100;
	/* if you need to change the z-index, you will need to change jquery dialog too as their z-index: is set to 101; */
}
/* ---------------------------------------------------- */
/* 						Styling							*/
/* ---------------------------------------------------- */
img{
	max-width: 100%;	
}

.red, .mdi.red{
	color: #DC3545;	
}

.fleft{
	float: left;
}

.fright{
	float: right;	
}

.div-left, .div-right{
	width: 50%;
	float: left;	
}

.div-left{
	padding-right: 10px;
}

.div-right{
	float: right;
	padding-left: 10px;
}

table:not(.table) {
    border-collapse:collapse;
    border-spacing:0;
	text-shadow: none !important;
}

/* change border colour to suit your needs */
hr, .divider{
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin: 25px 0;
    padding:0;
}

.divider.small{
	margin: 15px 0;
	border-color: transparent;
}

.loading{
	display:none;
	background-image: url("/images/common/fmx4/loading.gif");
	width: 40px;
	height: 40px;
	background-size: contain;
	background-repeat: no-repeat;
}

.bold{
	font-weight: 700;
}

.bordercells table {
	border-collapse: collapse;
}

.bordercells td {
	border:thin solid #ddd;
}

.daylarge {
	font-size:20px !important;
}

/* Rules for using icons as black on a light background. */

.material-icons, .mdi{ /*color: rgba(0, 0, 0, 0.54);*/ font-size: x-large;}
/*.material-icons.md-inactive, .mdi.md-inactive{ color: rgba(0, 0, 0, 0.26); }
*/
/* Rules for using icons as white on a dark background. */
/*
.material-icons.md-light, .mdi.md-light  { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive, .mdi.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
*/

.material-icons.yellow, .mdi.yellow{
	color: #F3B455;
}

.mdi{
	position: relative;
}

.mdi .mdi{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(255,255,255,0.6);
	font-size:90%;
}

/* Font sizes */
.fs-11{ font-size: 11px;}
.fs-12{ font-size: 13px;}
.fs-13{ font-size: 13px;}
.fs-14{ font-size: 14px;}
.fs-15{ font-size: 15px;}
.fs-16{ font-size: 16px;}
.fs-17{ font-size: 17px;}
.fs-18{ font-size: 18px;}
.fs-19{ font-size: 19px;}
.fs-20{ font-size: 20px;}
.fs-21{ font-size: 21px;}
.fs-22{ font-size: 22px;}
.fs-23{ font-size: 23px;}
.fs-24{ font-size: 24px;}
.fs-25{ font-size: 25px;}
.fs-26{ font-size: 26px;}
.fs-27{ font-size: 27px;}
.fs-28{ font-size: 28px;}
.fs-29{ font-size: 29px;}
.fs-30{ font-size: 30px;}
.fs-31{ font-size: 31px;}
.fs-32{ font-size: 32px;}
.fs-33{ font-size: 33px;}
.fs-34{ font-size: 34px;}
.fs-35{ font-size: 35px;}
.fs-36{ font-size: 36px;}
.fs-37{ font-size: 37px;}
.fs-38{ font-size: 38px;}
.fs-39{ font-size: 39px;}
.fs-40{ font-size: 40px;}



/*  ----------------------------------------------------------	*/
/*  					Notifications 	 						*/
/*  ----------------------------------------------------------	*/
.alert-top{
	margin-top:-5px;
	border-radius: 0px;
}

.notification{
	padding: 5px 10px;
	margin: 0px;
	margin-top:-5px;
	display:block;
	border-style: solid;
	border-width: 1px;
	background: #D9EDF4;
	border-color: #a4caed;
	color: #004085; 
	position: relative;
	border-radius: 0px;
}

#contentContainer .notification{
	margin: 5px 0px;
}

.notification a{
	font-weight: 700;
	text-decoration: underline;
}

.notification .message{

}

.notification .action{
	position: absolute;
	top: 5px;
	right: 5px;
	display:inline-block;
}

.notification .message .more{
	display:none;
	margin-top: 5px;
	border-top: 1px solid rgba(0,0,0,0.3);
	padding: 5px 10px;
	padding-left: 15px;
}

/* -------------------------------------------- */
/*  		Table Row/ Notification Colours 	*/
/* -------------------------------------------- */

.rowGreen, .notification.green, #greenrow, .greenrow{
	background: #cfeacf;
	color: #358935;
}

.rowGreen .mdi, .notification.green .mdi{
	color: #3a893a;
}

.rowGreen a, .rowGreen a .mdi, .notification.green a, .notification.green a .mdi, .greenrow a{
	color: #207b20;
}

.rowYellow, .notification.yellow, #yellowrow, .yellowrow{
	background: #fbe9cc !important;
	color: #aa7e3b !important;
}

#orangerow, .orangerow {
	background: #FFA500 !important;
	color: #aa7e3b !important;
}

.rowYellow .mdi, .notification.yellow .mdi{
	color: #aa7e3b;
}

.rowYellow a, .rowYellow a .mdi, .notification.yellow a, .notification.yellow a .mdi, .yellowrow a{
	color: #957033;
}

.rowRed, .notification.red, #redrow, .redrow{
	background: #fbc7c5 !important;
	color: #a82e2b !important;
}

.rowRed .mdi, .notification.red .mdi{
	color: #a82e2b;
}

.rowRed a, .rowRed a .mdi, .notification.red a, .notification.red a .mdi, .redrow a{
	color: #cd3834;
}

.rowBlue, .notification.blue, #bluerow, .bluerow{
	background: #cce5ff;
	color: #004085;
}

.rowBlue .mdi, .notification.blue .mdi{
	color: #004085;
}

.rowBlue a, .rowBlue a .mdi, .notification.blue a, .notification.blue a .mdi, .bluerow a{
	color: #004085;
}

.greyrow td, .greyrow a {
	color: #CCC;
}

.myrowboldblack td {
	color: #000000;
	font-weight: bold;
}

.notification.green{
	border-color: #a1d5a1;
}

.notification.yellow{
	border-color: #f8d39c;
}

.notification.red{
	border-color: #f7918e;
}

.notification.blue{
	border-color: #b8daff;
}

.notification.blue a.button, .notification.yellow a.button, .notification.red a.button, .notification.green a.button{
	color: #fff;
}

.bg-blue {
	background: #63A3E0;
}

.txt-blue, .mdi.txt-blue, .mdi.tooltip{
	color: #63A3E0;
}

th .mdi.tooltip{
	color:#fff;	
}

.txt-red, .mdi.txt-red{
	color: #DC3545;
}

.bg-green, .button.bg-green{
	background: #28A745;
	color: #ffffff;
	border-color: #28A745;
}

.txt-green, .mdi.txt-green{
	color: #28A745 !important;
}

.bg-yellow, .button.bg-yellow{
	background: #F3B455;
	color: #ffffff;
	border-color: #F3B455;
}

.txt-yellow, .mdi.txt-yellow{
	color: #F3B455;
}

.txt-darkgrey, .mdi.txt-darkgrey{
	color: #555;
}

.redrow{
	
}

.yellowrow{
	
}

.priority.low{
	color: #28A745;
}
.priority.medium{
	color: #F3B455;
}

.priority.high{
	color: #DC3545;
}
.priority.showstopper{
	color: #DC3545;
}

/*  ----------------------------------------------------------	*/
/*  					Form Fields 	 						*/
/*  ----------------------------------------------------------	*//
/*
input:not(.form-control), button:not(.form-control),select:not(.form-control), input.qty:not(.form-control), textarea:not(.form-control){

input:not(.form-control):not(.form-control-file), select:not(.form-control), textarea:not(.form-control), .formField:not(.form-control) .dummyInput:not(.form-control){
	*/

input:not(.form-control):not(.btn):not(.form-check-input), button:not(.form-control),select:not(.form-control), input.qty:not(.form-control), textarea:not(.form-control){
	-webkit-appearance: none; /* stop OS auto styling */
  	-webkit-border-radius: 0px; /* stop OS auto styling */
	border: 0;
	border-radius: 0px;
}

input:not(.form-control):not(.btn):not(.form-check-input), select:not(.form-control), textarea:not(.form-control), .formField:not(.form-control) .dummyInput:not(.form-control){
    vertical-align:middle;
	background-color: #FEFEFE;
	border: 1px solid #CCC;
	font-family: 'Open Sans', sans-serif;
	padding: 2px 10px;
	line-height: 20px;
	border-radius: 5px;
}

input.supp {
	margin:0 !important;
}
.supplabel, .supp i, .supp div{
	line-height: 20px !important; 
}
.supp input {
	margin:0 !important;
}
.supp .input-group {
	display: inline-block;
	vertical-align:top;
}
.supp .input-group .input-group, .supp .form-inline .input-group {
	display: flex;
	vertical-align:top;
}

input.form-control-file{
	border-color: transparent;
	margin: 0;
	padding: 0;
	width: auto;
	
}

textarea.inputHeight{
	height: 26px;
}

.formField .dummyInput{
	height: 26px;
}

input:focus {
    border-bottom: 1px solid #999;
	box-shadow: inset 0 -1px 0 0 #999;
}

input[type=file]:focus {
    border-bottom: 1px solid #FEFEFE;
	box-shadow: none;
}

.bootstrap-tagsinput input{
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background-color: transparent !important;
	padding: 0 6px !important;
	margin: 0 !important;
	width: auto !important;
	max-width: inherit !important;
}

select:not(.form-control){
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-repeat: no-repeat;
	background-position:  right;
	background-size: contain;
	cursor: pointer;
	height: 26px;
	padding: 0px;
	padding-right: 28px;
}

select:not(.form-control) option{
	padding: 2px 5px;
}

/* removes default dropdown arrow in IE as it ignores appearance */
select::-ms-expand{
	display: none;	
}

select:not(.form-control).selectmulti, .supp select:not(.form-control).selectmulti{
	background: #ffffff;
	padding: 5px 0px;
	height: 120px;
}


select:not(.form-control).selectmulti.tall, .supp select:not(.form-control).selectmulti.tall{
	height: 200px;
}

select:not(.form-control).selectmulti.short, .supp select:not(.form-control).selectmulti.short{
	height: 60px;
}

select:not(.form-control).selectmulti option{
	padding: 1px 10px;
}

label.multiple, .formField label.multiple{
	vertical-align:top;
	margin-top: 5px;

}


input[type=button]{
	width: auto;
}

input.qty{
	-webkit-appearance:textfield;
	-moz-appearance:textfield;
	cursor: default;
}

input.qty[type=number]::-webkit-outer-spin-button,
input.qty[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.qty:disabled {
    background: #ffffff;
	color: #000000;
	border: 1px solid #000000;
	-webkit-text-fill-color:#000000;
	opacity: 1;
	-webkit-opacity:1;

}

.mandatory-missing {
	outline: none;
    border-color: #DC3545;
    box-shadow: 0 0 5px 0px #DC3545;
}

.inlineWithButton{
	display:inline-block;
	vertical-align:middle;
	line-height: 29px; /* same height as buttons */
}

.ui-dialog-titlebar-close{
	background-image: url("/javascript/jquery/jquery-ui-1-12-1/images/ui-icons_ffffff_256x240.png") !important;
	background-position: -96px -128px !important;
}

input[type=submit].button .mdi, input[type=button].button  .mdi, button.button  .mdi, .button .mdi, a.button .mdi, .ui-button .mdi, .liteButton:not(.btn):not(.close) .mdi, .Litebutton:not(.btn):not(.close) .mdi, .miniButton:not(.btn):not(.close) .mdi, label.forCheckbox.checked .mdi, input[type=submit].button .material-icons, input[type=button].button  .material-icons, button.button .material-icons, .button.button  .material-icons, a.button:not(.btn):not(.close) .material-icons, .ui-button.button  .material-icons, .liteButton.button  .material-icons, .Litebutton.button  .material-icons, .miniButton.button .material-icons, label.forCheckbox.checked .material-icons{
	color: #ffffff;
	line-height: 22px;
}

table input[type=submit] .mdi, table input[type=button] .mdi, table button .mdi, table .button .mdi, table a.button .mdi, table .ui-button .mdi, table .liteButton .mdi, table .Litebutton .mdi, table .miniButton .mdi, table label.forCheckbox.checked .mdi, table input[type=submit] .material-icons, table input[type=button] .material-icons, table button .material-icons, table .button .material-icons, table a.button .material-icons, table .ui-button .material-icons, table .liteButton .material-icons, table .Litebutton .material-icons, table .miniButton .material-icons, table label.forCheckbox.checked .material-icons{
	line-height: 16px;
}

input[type=submit].icon, input[type=button].icon, button.icon, .button.icon, a.button.icon, .ui-button.icon, .liteButton.icon, .Litebutton.icon, .miniButton.icon, label.forCheckbox.checked.icon{
	background: none;
	border-color: transparent;
	color: #666;
	padding: 1px 2px;; 
	vertical-align:middle;
	line-height: 24px; 
	padding-right: 6px;
    -webkit-box-shadow: 5px 1px 0px -4px #AAAAAA;
       -moz-box-shadow: 5px 1px 0px -4px #AAAAAA;
            box-shadow: 5px 1px 0px -4px #AAAAAA;
}

.titleBarRight input[type=submit].icon, .titleBarRight input[type=button].icon, .titleBarRight  button.icon, .titleBarRight .button.icon, .titleBarRight a.button.icon, .titleBarRight .ui-button.icon, .titleBarRight .liteButton.icon, .titleBarRight .Litebutton.icon, .titleBarRight .miniButton.icon, .titleBarRight label.forCheckbox.checked.icon{
	padding: 1px 6px;
	/*padding-left: 6px;*/
    -webkit-box-shadow: -5px 1px 0px -4px #AAAAAA;
       -moz-box-shadow: -5px 1px 0px -4px #AAAAAA;
            box-shadow: -5px 1px 0px -4px #AAAAAA;
}

input[type=submit].icon.noborder, input[type=button].icon.noborder, button.icon.noborder, .button.icon.noborder, a.button.icon.noborder, .ui-button.icon.noborder, .liteButton.icon.noborder, .Litebutton.icon.noborder, .miniButton.icon.noborder, label.forCheckbox.checked.icon.noborder{
	box-shadow: none;	
	padding-right: 1px;
}

input[type=submit].icon .mdi, input[type=button].icon .mdi, button.icon .mdi, .button.icon .mdi, a.button.icon .mdi, .ui-button.icon .mdi, .liteButton.icon .mdi, .Litebutton.icon .mdi, .miniButton.icon .mdi, label.forCheckbox.checked.icon .mdi, input[type=submit].icon .material-icons, input[type=button].icon .material-icons, button.icon .material-icons, .button.icon .material-icons, a.button.icon .material-icons, .ui-button.icon .material-icons, .liteButton.icon .material-icons, .Litebutton.icon .material-icons, .miniButton.icon .material-icons, label.forCheckbox.checked.icon .material-icons{
	font-size:24px;
	color: rgba(0, 0, 0, 0.54);
	margin-right: 0px;
}

input[type=submit].icon .mdi:not(:first-child), input[type=button].icon .mdi:not(:first-child), button.icon .mdi:not(:first-child), .button.icon .mdi:not(:first-child), a.button.icon .mdi:not(:first-child), .ui-button.icon .mdi:not(:first-child), .liteButton.icon .mdi:not(:first-child), .Litebutton.icon .mdi:not(:first-child), .miniButton.icon .mdi:not(:first-child), label.forCheckbox.checked.icon .mdi:not(:first-child), input[type=submit].icon .material-icons:not(:first-child), input[type=button].icon .material-icons:not(:first-child), button.icon .material-icons:not(:first-child), .button.icon .material-icons:not(:first-child), a.button.icon .material-icons:not(:first-child), .ui-button.icon .material-icons:not(:first-child), .liteButton.icon .material-icons:not(:first-child), .Litebutton.icon .material-icons:not(:first-child), .miniButton.icon .material-icons:not(:first-child), label.forCheckbox.checked.icon .material-icons:not(:first-child){
	margin-top: -10px;
	margin-bottom: 10px;
	font-size: 13px;
}

input[type=submit].icon:hover .mdi, input[type=button].icon:hover .mdi, button.icon:hover .mdi, .button.icon:hover .mdi, a.button.icon:hover .mdi, .ui-button.icon:hover .mdi, .liteButton.icon:hover .mdi, .Litebutton.icon:hover .mdi, .miniButton.icon:hover .mdi, label.forCheckbox.checked.icon:hover .mdi, input[type=submit].icon:hover .material-icons, input[type=button].icon:hover .material-icons, button.icon:hover .material-icons, .button.icon:hover .material-icons, a.button.icon:hover .material-icons, .ui-button.icon:hover .material-icons, .liteButton.icon:hover .material-icons, .Litebutton.icon:hover .material-icons, .miniButton.icon:hover .material-icons, label.forCheckbox.checked.icon:hover .material-icons{
	/* AW - do we need this anymore */
	/*color: #DC3545*/
}

button img, input[type=button] img, .button img, a.button img, .ui-button img {
	margin-bottom: -4px;	
}

input[type=submit]{
	width: auto;
}

label.checkbox{
	width: calc(100% - 70px) !important;
}

input[type=submit]:not(.btn):hover, a.button:not(.btn):hover, button:not(.btn):hover, .button:not(.btn):hover, .ui-button:not(.btn):hover, input[type=button]:not(.btn):hover, .Litebutton:not(.btn):hover, liteButton:not(.btn):hover{
	transition: opacity .5s ease;
	text-decoration:none;
	opacity: 0.7;
}


a.button:hover .mdi{
	color: #fff;
}

input[type=submit].disabled, button.disabled, .button.disabled, a.button.disabled, .ui-button.disabled, input[type=button].disabled, input:disabled{
	background: #f1f1f1;
	border-color: #f1f1f1;
	color: #999;
	cursor: default;
}
input[type=submit].disabled .mdi, button.disabled .mdi, .button.disabled .mdi, a.button.disabled .mdi, .ui-button.disabled .mdi, input[type=button].disabled .mdi, input:disabled .mdi{
	color: #999;
}

input[type=submit].button.plain, input[type=button].button.plain, button.button.plain, .button.plain.button.plain, a.button.plain, .ui-button.button.plain, .Litebutton.button.plain, .miniButton.button.plain, label.forCheckbox.checked.button.plain, liteButton.button.plain{
	background: #F1F1F1;
	border-color: #343A40;
	color: #343A40;
}

.button.plain .mdi{
	color: #343A40 ;
}

input[type=submit].important, input[type=button].important, button.important, .button.important, a.button.important, .ui-button.important, .Litebutton.important, .miniButton.important, label.forCheckbox.checked.important, liteButton.important{
	background: #000;
	border-color: #000;
}

input[type=submit].action, input[type=button].action, button.action, .button.action, a.button.action, .ui-button.action, .Litebutton.action, .miniButton.action, label.forCheckbox.checked.action, liteButton.action, input[type=submit].green, input[type=button].green, button.green, .button.green, a.button.green, .ui-button.green, .Litebutton.green, .miniButton.green, label.forCheckbox.checked.green, liteButton.green{
	background: #28A745;
	color: #ffffff;
	border-color: #28A745;
}

input[type=submit].superuser, input[type=button].superuser, button.superuser, .button.superuser, a.button.superuser, .ui-button.superuser, .Litebutton.superuser, .miniButton.superuser, label.forCheckbox.checked.superuser, liteButton.superuser{
	background: #F3B455;
	border-color: #F3B455;
	color: #3a4454;
}

input[type=submit].plain .mdi, input[type=button].plain .mdi, button.plain .mdi, .button.plain .mdi, a.button.plain .mdi, .ui-button.plain .mdi, .Litebutton.plain .mdi, .miniButton.plain .mdi, label.forCheckbox.checked.plain .mdi, liteButton.plain .mdi{
	color: #343A40;
}

input[type=submit].disabled .material-icons, button.disabled .material-icons, .button.disabled .material-icons, a.button.disabled .material-icons, .ui-button.disabled .material-icons, input[type=button].disabled .material-icons, input:disabled .material-icons, label.forCheckbox.checked .material-icons, input[type=submit].disabled .mdi, button.disabled .mdi, .button.disabled .mdi, a.button.disabled .mdi, .ui-button.disabled .mdi, input[type=button].disabled .mdi, input:disabled .mdi{
	 color: rgba(0, 0, 0, 0.26);
}

select.qty{
	width: 120px;
	text-align:center;
}

i.material-icons, i.mdi{
	vertical-align:middle;
	display:inline-block;
	margin-right: 5px;
}

i.material-icons:last-child, i.mdi:last-child{
	margin-right: 0px;
}

.button i.material-icons, input[type=button] i.material-icons,  input[type=button] i.mdi, .button i.mdi, input[type=button] i.mdi, button i.mdi{
	font-size: 21px;
	line-height: 22px;
	margin-right: 5px;
	vertical-align:bottom;
	display:inline-block;
	/*color: #ffffff;*/
}

.button.plain i.material-icons, input[type=button].plain i.material-icons, .button.plain i.mdi, input[type=button].plain i.mdi{
	color: #666;	
}

.input-group-append .btn-default i.mdi {
	color:#555555;
}

.button i.material-icons.nomargin, i.material-icons.nomargin, .button i.mdi.nomargin, i.mdi.nomargin{
	margin-right: 0px;
}

.button span, i.material-icons span, i.mdi span{
	vertical-align:bottom;
	display:inline-block;
}

table .material-icons, table .mdi{
	margin-right: 0px;
	/*line-height: 14px;
	margin-top: -1px;*/
	font-size: 18px;
}

input[type=submit].large, input[type=button].large, button.large, .button.large, a.button.large, .ui-button.large, .Litebutton.large, .miniButton.large, label.forCheckbox.checked.large{
	padding: 5px 15px;
	font-size: 14px;
	line-height: 26px;
}

.button.large i.material-icons, input[type=button].large i.material-icons, .button.large i.mdi, input[type=button].large i.mdi{
	font-size: 28px;
	line-height: 26px;
}

button:not(".btn"){
	margin: 10px 0px;
}

input[type=submit].fleft, button.fleft, .button.fleft, input[type=button].fleft, .litebutton.fleft, .liteButton.fleft, .minibutton.fleft, .miniButton.fleft{
	margin: 10px 0px;
	margin-right: 10px;
	float: left;
}

input[type=submit].fright, button.fright, .button.fright, input[type=button].fright, .litebutton.fright, .liteButton.fright, .minibutton.fright, .miniButton.fright{
	margin: 10px 0px;
	margin-left: 10px;	
	float: right;
}

.liteButton.nomargin, button.nomargin, .button.nomargin {
	margin: 0;
}

input[type=submit].fright.nomargin, input[type=button].fright.nomargin, button.fright.nomargin, .button.fright.nomargin, input[type=submit].fleft.nomargin, input[type=button].fleft.nomargin, button.fleft.nomargin, .button.fleft.nomargin, select.nomargin{
	margin-top: 0px; /* was -5px */
	margin-bottom: 0;
}

input[type=submit], input[type=checkbox]:not(.form-check-input){
	width: auto;
}

input[type=checkbox]:not(.form-check-input){
	cursor:pointer;
	appearance: checkbox;
	-webkit-appearance: checkbox;
	-moz-kit-appearance: checkbox;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	margin-right: 5px;
    width: auto;
    background-color: transparent !important; 
    border-color: transparent !important; 
    box-shadow:none !important; 
}



input[type=radio]:not(.form-check-input){
	cursor:pointer;
	appearance: radio;
	-webkit-appearance: radio;
	-moz-kit-appearance: radio;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	margin-right: 5px !important;
	margin-left: 5px !important;
	width: auto !important;
	background-color: transparent !important; 
	border-color: transparent !important; 
	box-shadow:none !important; 
}
.numberKeypad button, #btnsection .liteButton{
	color: #000;
}

/* jQuery ui styling */
table.ui-datepicker-calendar:not(.table) th {
	color: #495057;
  background-color: #e9ecef;
}
table.ui-datepicker-calendar:not(.table) td {
	padding: 0;
}
.ui-datepicker table.ui-datepicker-calendar td span, .ui-datepicker td a {
	padding: 2px 5px !important;
	text-align: center !important;
}
.ui-datepicker-today {
	background-color: #e9ecef;
}
.ui-datepicker-today a {
	
}
.ui-datepicker-calendar .ui-state-active {
	background: #DC3545 !important;
  color: #ffffff;
  font-weight: 700;
}
.ui-datepicker-calendar .ui-state-default:hover {
	text-decoration: underline;
}

.ui-dialog .ui-dialog-titlebar-close {
	background-color: #DC3545;
    border-color: #bf2e3c;
    color: #ffffff;
}
.ui-dialog .ui-dialog-buttonpane button {
	display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

	background-color: #DC3545;
    border-color: #bf2e3c;
    color: #ffffff;
}

label.forCheckbox.checked, label.forCheckbox.checked:hover{
	background: #DC3545;
	border: 1px solid #DC3545;
	color: #FFFFFF;

}

label.forCheckbox:hover{
	border-color: #DC3545;
	background: #ffffff;
	color: #DC3545;
}

label.forCheckbox{
	background: #f1f1f1;
	border-color: #f1f1f1;
	color: #999;
	cursor: pointer;
	padding: 1px 8px;
}

label.forCheckbox.checked:hover{

}

label.forCheckbox input[type=checkbox], label.forCheckbox input[type=radio]{
	position: absolute;
	left: -9999px;
}

.extensionImage{
	margin-bottom: -4px;
}

td.small .extensionImage{
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: -4px;
	margin-right: -4px;
	max-width: none;
}

td .extensionImage{
	max-height: 26px;
}

.spellcheckselect {
    background-color: #FCC !important;
}



/*  ----------------------------------------------------------	*/
/*  					Header Tags 	 						*/
/*  ----------------------------------------------------------	*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
	font-weight: 700;
	font-style: normal;
}

h1, .h1{
	font-weight: 400;
	font-size: 1rem;
}

h2, .h2{
	font-size: 1.4rem;
}

h3, .h3{
	font-size: 1.3rem;
}

h4, .h4{
	font-size: 1.2rem;
}

h5, .h5{
	font-size: 1rem;
}

h6, .h6{
	font-size: 0.9rem;
}

#content ul, #content ol{
	margin-left: 25px;
}

.lightenHover:hover{
	opacity: 0.7;
	cursor:pointer;
}

/*  ----------------------------------------------------------	*/
/*  						Links 	 							*/
/*  ----------------------------------------------------------	*/
a {
	color: #DC3545;
	text-decoration: none;
}
.bg-danger a {
	color: #ffffff;
}

th a, thead td a{
	font-weight: 700;
}

a:hover, li:hover{
	transition: all .5s ease;
}

a:hover .mdi{
	color: #D9232F;
}

a:hover{
	text-decoration: underline;
}

#topBar a:hover, .sideMenu a{
	text-decoration: none;

}

a.button{
	display:inline-block;	
}

.skip {
	position: absolute;
	top: -1000px;
	left: -1000px;
	height: 1px;
	width: 1px;
	text-align: left;
	overflow: hidden;
}

a.skip:active, 
a.skip:focus, 
a.skip:hover {
	left: 0; 
	top: 0;
	width: auto; 
	height: auto; 
	overflow: visible; 
}

/*  ----------------------------------------------------------	*/
.container{
	width: 1200px;
	max-width: 100%;
}

#content, .wrap{
	margin: 25px auto;
	margin-bottom: 45px;
}

#header ul, #navigation ul, #footer ul{
	padding-left: 0;
}

#top-bar li, #header li, #footer li{
	display: inline-block;
	list-style-type: none;
}
	
#top-bar a, #navigation a, #footer a, #header a,  #sub-navigation a{
	text-decoration:none;
}

#top-bar a:hover, #navigation a:hover, #footer a:hover, #header a:hover{
	/*text-decoration:underline;*/
}

#top-bar a, #footer.login a{
	color: #ffffff;
} 


/*  ----------------------------------------------------------	*/
/*  				Header 	 (login pages)						*/
/*  ----------------------------------------------------------	*/
#header.login, #header.basic{
	background: #000000;
	color: #ffffff;
	position: relative;
	text-align:left;
}

#header.login .container, #header.basic .container{
	padding: 15px 0;
}

/* iffy */
#header.login .bespoke_header{
	height: 95px;
	position: relative;
	background-repeat: no-repeat;
	background-position:top right;
	background-size: cover;
}

#header.login .logo, #header.basic .logo{
	display:inline-block;
	vertical-align:middle;
	float: right; 
}

#header.login .logo img, #header.basic .logo img{
	max-height: 60px;
}

/*  ----------------------------------------------------------	*/
/*  					FMX Header/ Top Menu	 				*/
/*  ----------------------------------------------------------	*/
#topBar{
	background-color:  #222222;
	width: 100%;
	max-height: 50px;
	overflow:hidden;	
	color: #ffffff;
	position: fixed;
	top: 0;
	left: 0px;
	transition: ease all 0.5s;
	z-index:1;
}

#topBar.notFixed{
	position: relative;
}

#topBar .item{
	padding: 5px;
	height: 50px;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	min-width: 50px;
	float: left;
	line-height: 50px;
	position: relative;
}

#topBar a, #topBar i{
	display: block;
	line-height: 40px;
	vertical-align: top;
}


#topBar span{
	display:inline-block;
	vertical-align:middle;
}

#topBar .material-icons, #topBar .mdi{
	font-size:26px;
	margin-right: 0px;
	color: rgba(255, 255, 255, 0.6);
}

#topBar i.auto, #topBar a.auto{
	display:inline-block;
	
}
#topBar i.auto{
	margin-right: 5px;
}

#topBar .items-right{
	float: right;
}

#topBar .item.hover:hover, #topBar #showQuickLinks.open{
	color: #fff;
	cursor: pointer;
}
#topBar .item.hover:hover .material-icons, #topBar #showQuickLinks.open .material-icons, #topBar .item.hover:hover .mdi, #topBar #showQuickLinks.open .mdi{
	color: rgba(0, 0, 0, 0.53);
	color: #fff;
}

#topBar .logo{
	height: 50px;
	margin: 0px 10px;
	padding: 5px 0px;
	margin-right: 21px;
}

#topBar .logo img{
	max-height: 100%;
	display:block;
}

#topBar .logo .show-mobile{
	display:none;
}

#topBar .sideMenu{
	cursor: pointer;
	/*border-right: 1px solid #ffffff;*/
}

#topBar .sideMenu .mdi{
	font-size:32px;
}


.emailCount{
	position: absolute;
	left: 3px;
	top: 2px;
}

.emailCount {
	background: #28A745;
	font-size: 8px;
	text-align:center;
	width: 15px;
	color: #ffffff;
	line-height: 12px;
	font-style:normal;
	font-weight: 700;
	border-radius: 50%;
	padding-bottom: 1px;
	border: 1px solid #fff;
	box-shadow: 1px 1px 0px 0px #000;
}

.emailCount.hide, #topBar span.emailCount.hide{
	display:none;
}

.selected .emailCount{
	background: #ffffff;
	color: #a2cc30;
}


.item .emailCount{
	position: absolute;
	right: 7px;
	top: 7px;
	display:block;
	
}

#topBar span.emailCount{
	vertical-align:top;
}

.item .emailCount{
	width: 17px;
	font-size: 9px;
	line-height: 11px;
	padding-bottom: 3px;
	border-radius: 50%;
}


.item .emailCount span{
	margin: 0;
}

#nav-quicklinks.item{
	padding: 0;
}

#nav-quicklinks li{
	list-style-type: none;
	padding: 5px 10px;
	display:inline-block;
	font-weight: 700;
}

#nav-quicklinks li a{
	max-width: 120px;
	overflow: hidden;
  text-overflow: ellipsis;
	white-space: nowrap;
}

#nav-quicklinks li:hover{
	background: #DC3545;
	transition: 0s;
}

/*  ----------------------------------------------------------	*/
/*  						FMX Side Menu	 					*/
/*  ----------------------------------------------------------	*/
#contentPanel{
	width: 100%;
	padding: 0px;
	padding-left: 230px; /* must be same as sideMenu width + normal padding*/
	transition: ease width 0.5s;
	padding-top: 50px;
	height: 100%;
	overflow:hidden;
	z-index: 0;
	position: relative;
}

@supports (-webkit-touch-callout: none) {
  #contentPanel{
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	}
}


#contentPanel iframe{
	width: 100%;
	/*height: calc(100% - 4px);*/
	height:100%;
	border: 0;
}

#contentContainer{
	padding: 10px 15px;
	
}

ul, ol{
	padding-left: 20px;
}

#contentContainer .negMargin{
	margin-right: -15px;
	margin-left: -15px;
}

.marginTopHeader{
	margin-top: 117px;
}

#sideMenu ul, #topBar ul{
	padding-left: 0px;
}

#sideMenu{
	position: fixed;
	width: 230px;
	background: #222222;
	height: calc(100% - 50px);
	top: 50px;
	left: 0;
	transition: ease width 0.5s;
	border-right: 0px;
	z-index:1;
}

#sideMenu i.mdi, #sideMenu i.material-icons, .sideMenu i.mdi, .sideMenu i.material-icons{
	color: rgba(255, 255, 255, 0.54);
}

#sideMenu.hidden, #navigation.hidden{
	width: 0;
	overflow: hidden;
	transition: ease width 0.5s;
}

#sideMenu.hidden{
	width: 70px;
}

.sideMenu.hidden span.menuText {
    display: none;
}

.sideMenu.hidden .expandButton {
    top: 6px;
    font-size: 16px;
}

#contentPanel.full{
	padding-left: 70px;
	transition: ease width 0.5s;
}

.sideMenu li{
	padding: 0px 0px;
	position: relative;
}

.sideMenu ul li:last-child{
	border-bottom: 0px;
}

.sideMenu ul ul{
	background: rgba(255,255,255,0.1);
}

.sideMenu i{
	margin-right: 5px;
	display: inline-block;
	vertical-align:middle;
	font-size: 18px;
}

.sideMenu span{
	display:inline-block;
	vertical-align:middle;
}

.sideMenu a:focus{
    box-shadow: none;
}

.sideMenu a{
	color: #FFF;
	color: rgba(255, 255, 255,0.6);
	display:block;
	padding: 3px 10px;
	cursor: pointer;
}

.sideMenu li li a{
	padding: 4px 10px;
}

.sideMenu a.nolink{
	color: rgba(255, 255, 255,0.6);
}

.sideMenu li:hover, .sideMenu li.expanded{
	border-right-color: #dc3545;
}

.sideMenu a:hover, #sideMenu a:hover i.mdi{
	color: #FFF;
	
	text-decoration:none;
	transition: all .4s ease;
}

.sideMenu li.active >  a:first-child{
	background: #dc3545;
	color: #fff;
	position: relative;
}

.sideMenu ul ul li.active >  a:first-child{
	background: rgba(220,53,69,0.6);
	color: #fff;
	position: relative;
}


.sideMenu a.selected{
	color: #DC3545;
	font-weight: 700;
}

#sideMenu .active a:hover i.mdi{
	color: #fff;
}

.sideMenu img{
	height: 10px !important;
	width: auto !important;
}

.sideMenu .searchMenu{
	position: relative;
	color: #F5F5F6;
}

.sideMenu .searchMenu input{
	background: #444444;
	border-color:#444444;
	color: #F5F5F6;
	margin-top: 0;
	padding-top:4px;
	padding-bottom: 4px;
	margin-bottom:5px;
	border-radius: 0px;
}

.sideMenu .searchMenu i{
	position: absolute;
	right: 4px;
	top: -1px;
	font-size: 26px;
	margin: 0;
	line-height: normal;
	color: #fff;
}

.sideMenu .expandButton{
	position: absolute;
	right: -0px;
	top: 4px;
	font-size: 18px;
	cursor: pointer;
}

.sideMenu a.hasSubMenu{
	padding-right: 25px;
}

.sideMenu span.menuText{
	display:inline-block;
	width: calc(100% - 24px);
}

.sideMenu #myUL{
	height: calc(100% - 38px);
	overflow: auto;

}

.sideMenu ul ul{
	display:none;
	    -webkit-animation: slide-up .3s ease-out;
    -moz-animation: slide-up.3s ease-out;
}



.sideMenu ul ul.parent.expand{
	display: block;
	-webkit-animation: slide-down .3s ease-out;
	-moz-animation: slide-down .3s ease-out;
}

.sideMenu ul ul.parent{
	display: block;
}

.sideMenu li {
	border-right:4px solid transparent;
}

.sideMenu li li{
	border-right: 0px;
}

.sideMenu li li a{
	padding-left: 37px;
}

.sideMenu li li li a{
	padding-left: 59px;
}
.sideMenu li li li li a{
	padding-left: 81px;
}

.sideMenu ul.expand{
	display:block;
	 -webkit-animation: slide-down .3s ease-out;
    -moz-animation: slide-down .3s ease-out;
}

.sideMenu li{
	list-style-type:none;
}


.sideMenu #myUL::-webkit-scrollbar {
	width: 10px;
	height: 13px;
  }
.sideMenu #myUL::-webkit-scrollbar-button {
	width: 0px;
	height: 0px;
}
.sideMenu #myUL::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border: 0px none #ffffff;
	border-radius: 50px;
}
.sideMenu #myUL::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}
.sideMenu #myUL::-webkit-scrollbar-thumb:active {
	background: rgba(255, 255, 255, 0.3);
}
.sideMenu #myUL::-webkit-scrollbar-track {
	background: #222222;
	border: 0px none #ffffff;
	border-radius: 50px;
}
.sideMenu #myUL::-webkit-scrollbar-track:hover {
	background: #222222;
}
.sideMenu #myUL::-webkit-scrollbar-track:active {
	background: #222222;
}
.sideMenu #myUL::-webkit-scrollbar-corner {
	background: transparent;
}
  



/*
@-webkit-keyframes slide-down {
      0% { opacity: 0; -webkit-transform: translateY(-100%); }   
    100% { opacity: 1; -webkit-transform: translateY(0); }
}
@-moz-keyframes slide-down {
      0% { opacity: 0; -moz-transform: translateY(-100%); }   
    100% { opacity: 1; -moz-transform: translateY(0); }
}
*/
/*  ----------------------------------------------------------	*/
/*  						Navigation 	 						*/
/*  ----------------------------------------------------------	*/
.slicknav_menu {
	display:none;
}

#navigation{
	position: fixed;
	width: 250px;
	background: #222222;
	height: calc(100% - 50px);
	max-height: calc(100% - 50px);
	top: 50px;
	right: 0;
	transition: ease width 0.5s;
	font-size: 13px;
}

#navigation a{

}

#topBar #nav-quicklinks i{
	font-size: 22px;
	display:inline-block;
	margin-right: 5px;
}

#navigation a:hover{
	
}

#topBar a{
	color: #ffffff;
}

#topBar .slicknav_menu{
	color: #ffffff;
	display: inline-block;
	vertical-align:top;
	border-left: 1px solid #ffffff;
	height: 42px;
	width: 52px;
	text-align:center;
	padding-left: 4px;
	margin-right: 2px;
}

#topBar .slicknav_menu img{
	padding: 6px 10px;
	margin-bottom: -4px;
}

#topBar .slicknav_menutxt{
	text-align:center;
	vertical-align:top;
}

#topBar ul#menu{
	background: #1A4A9D;
	padding: 0px;
}

#topBar ul#menu li{
	padding: 5px 10px;
	border-top: 1px solid #1A4A9D;

}

#topBar ul#menu li a{
	text-decoration: none;
	padding: 5px 0px;
	display: block;
}

#topBar ul#menu li:hover{
	background: #e51f36;
}

#topBar ul#menu li.active{
	background: #2d2d2d;
}

#topBar ul#menu li.slicknav_parent li a{
	padding-left: 25px;
}

#topBar ul#menu li.slicknav_parent a a{
	display: inline-block;
	width: calc(100% - 45px);
	padding-left: 0;
}

#topBar ul#menu li.slicknav_parent li li a{
	padding-left: 55px;
}

.slicknav_arrow{
	padding-left: 15px;
}

#topBar ul#menu li li{
	list-style-type: none;
	background: #b50519;
}

#topBar ul#menu li.slicknav_parent.slicknav_open{	
	background: #e51f36;
}

#topBar ul#menu li.slicknav_parent ul{
	margin-left: -10px;
	margin-right: -10px;
}

#topBar ul#menu li li:hover{
	background: #990415 ;
}



/*  ----------------------------------------------------------	*/
/*  						Footer 	 							*/
/*  ----------------------------------------------------------	*/
#footer.login, #footer.basic{
	padding: 20px 0px;
	background : #000000;
	color: #ffffff;
	border-top: 0px;
	margin-top: 0px;
}

#footer.login .footer-text, #footer.basic .footer-text{
	float: left;
	display:inline-block;
	vertical-align:top;
}

#footer.login .footer-links, #footer.basic .footer-links{
	float: right;
	display:inline-block;
	vertical-align:top;
}

#footer.login .phone, #footer.basic .phone{
	font-size: 20px;
	line-height: auto;
}

#footer.login em, #footer.basic em{
	color: #DC3545;
}

#footer.login .smalltext, #footer.basic .smalltext{
	font-size: 13px;
}

#footer{
	border-top: 1px solid #ECECEC;
	margin-top: 0px;
	padding: 15px;
}


.scrollTopButton{
	position: fixed;
	bottom: 5px;
	right: 10px;
	z-index: 10;
	cursor: pointer;
	background: #DC3545;
	color: #ffffff;
	padding: 5px;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.3s, opacity 0.5s linear, transform 0.3s ease-out;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
}

.scrollTopButton.show{
	visibility: visible;
	opacity: 1;
	transition: visibility 0s, opacity 0.5s linear, transform 0.3s ease-out;
}

.scrollTopButton i{
	border-bottom: 2px solid #ffffff;
	font-size: 20px;
	margin-right: 0px;
}

.scrollTopButton.show:hover{
	opacity: 0.8;
}

.scrollTopButton:hover, .scrollTopButton:focus, .scrollTopButton:active {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}

/*  ----------------------------------------------------------	*/
/*  						FMX4 Header	 						*/
/*  ----------------------------------------------------------	*/
#fmx4Header{
	margin-bottom: 5px;
	background: #FFFFFF;
	border-bottom: 1px solid #CCC;
	-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.fmx4HeaderTop{
	padding-bottom: 0px;
	vertical-align:top;
}

.fmx4HeaderTop a{
	display:inline-block;
	vertical-align:top;
	margin-left:10px;
}

#fmx4Header h1{
	display:inline-block;
	margin-bottom: 0px;
	vertical-align:top;
	line-height: 32px;
}

.fmx4HeaderTop h1 a {
	display: inline-block;
	vertical-align: top;
	line-height: 26px;
}

.barButtons{
	margin-top: 0px;
	border-top: 1px solid #CCC;
	margin-left:0px;
	margin-right:0px;
}

.barButtonsLeft, .barButtonsRight{
	display:inline-block;
	float: left;
	margin-bottom: 0px;
}

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

.barButtonsRight .button:first-child{
	margin-right: 0px;
}

.barButtons .barButtonsMobile, .titleBar .titleBarMobile{
	display:none;
}

.barButtonsMobile form, .titleBarMobile form{
	display:inline-block;
	vertical-align:top;
}

.barButtonsMobile form select, .titleBarMobile form select, .barButtonsMobile select{
	margin: 0px;	
}

.barButtonsMobile select{
	margin-bottom: 5px;	
}

#fmx4Header .fright, #fmx4Header .fleft{
	margin-top: 0px;
	margin-bottom:0px;
	margin-left: 0px;
}


#fmx4Header .button{
	margin-right: 5px;
	margin-bottom: 5px;
}

#fmx4Header .button span{
	line-height: 20px; 
}


#fmx4Header .barButtonsRight .button:first-child{
	margin-right: 0px;
}

#fmx4Header h1 input, #fmx4Header h1 .button{
	margin-top: 0px;
	margin-bottom: 0px;
}

#headerTopRight{
	float: right;
}

#headerTopRightMobile{
	display:none;
}


#fmx4Header .debugLogo img{
	height: 24px;
	margin: 3px 0px;
}

#pagecomments, .infoBox{
	background: #f1f1f1;
	padding: 10px 15px;
	font-size: 13px;
}

.infoBox h2{
	border-bottom: 2px solid #999;
	padding-bottom: 5px;
	padding-top: 0px;
	margin-top: -5px;
	margin-bottom: 5px;
}

h2 i, h3 i{
	vertical-align:bottom;
	margin-right: 4px;
}

#fmx4Header .nextPrevWrap{
	display:inline-block;
	margin-left: 10px;
}

#fmx4Header .nextPrevWrap .button{
	padding: 2px 0px;
	margin-right: 3px;
}

#fmx4Header .nextPrevWrap i{
	margin-right: 0px;	
}


/* ----------------------------------------------- */
/* 					FMX4header New 2019			   */
/* ----------------------------------------------- */
#fmx4HeaderNew .navbar{
	background: #fff;
}
#fmx4HeaderNew .debugLogo img{
	height:24px;
}

#fmx4HeaderNew, #fmx4HeaderNew h1, #fmx4HeaderNew .mdi{
	line-height: 24px;
	
}

#fmx4HeaderNew h1{
	margin-bottom: 0px;
}


/* ----------------------------------------------- */
/* 					End							   */
/* ----------------------------------------------- */

.searchWrap{
	position: relative;
}

.searchWrap input, #headerTopRight form input, .formField .searchWrap input, .formField.inline .searchWrap input{
	width: 180px !important;
	margin: 0px !important;
	min-width: 0 !important;
	padding-right: 25px !important;
	border-radius:0px !important;
	line-height: 28px !important;
}

	

.searchWrap button, #headerTopRight form input[type="button"], .formField .searchWrap input[type="button"], .formField .searchWrap button, .formField.inline .searchWrap button{
	width: auto !important;
	margin: 0px !important;
	padding: 0px 10px !important;
	border-radius: 0px !important;
	line-height: 28px !important;
}



#headerTopRight h3{
	margin-bottom: 0px;
	line-height: 28px;
}

.formField .searchWrap i.material-icons, .formField .searchWrap i.mdi{
	line-height: 32px;
}

.searchWrap button i, .searchWrap i{
	margin-right: 0px;
	line-height:32px;
}

.input-search-clear {
	position:relative;
}

.input-search-clear input {
	padding-right: 25px !important;
}

.input-search-clear .clearSearch {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%);
}

.input-search-clear .clearSearch i{
	font-size:98% !important;
}

.searchWrap .clearSearch{
	position: absolute;
	right: 50px;
	height: 28px;
	top: -4px;
	background: ;
	padding: 0px 3px;
	padding-top: 5px;
}

.searchWrap .clearSearch i, .searchWrap i.clearSearch {
	font-size: 18px;
	line-height: 32px;
}

@media screen and (max-width: 750px){ 
	.barButtonsLeft, .barButtonsRight{
		width: 50%;
	}
	
	.barButtons .button{
		flex-grow: 1;
		text-align:center;
	}
	
	.barButtons .button span{
		display:none;
	}
	
	.barButtons .button i.material-icons, .barButtons .button i.mdi{
		margin-right: 0px;
	}
}


/*  ----------------------------------------------------------	*/
/*  			Lists - categories/ menu items etc				*/
/*  ----------------------------------------------------------	*/
.itemList{
	padding-left: 0px;
}

.itemList li{
	list-style-type: none;
}

.itemList li span{
	min-width: 150px;
	display:inline-block;
}

/*  ----------------------------------------------------------	*/
/*  						Forms	 						*/
/*  ----------------------------------------------------------	*/



.details label{
	width: 160px;
	padding-right: 15px;
	display: inline-block;
	vertical-align:middle;
	font-weight: 700;
}

.details label.wide{
	min-width: 300px;
}

#messagebody{
	width: 100%;
	border: 1px solid #ccc;
	margin-top: 10px;
}

.emailFileAttached{
	float: left;
	white-space: nowrap;
	line-height: 22px;
}

.emailFileAttached img{
	width: 22px;
	vertical-align:middle;
	display:inline-block;
}

.emailFileAttached a{
	vertical-align:middle;
	display:inline-block;
}


.details .emailAttachments{
	display:inline-block;
	width: calc(100% - 165px);
	vertical-align:top;
}

.details input:not(.form-control), .details select:not(.form-control), .details textarea:not(.form-control), .details iframe{
	width:calc(100% - 165px);
	max-width: 300px;
	margin: 5px 0px;
}

.details input[type="checkbox"], .details input[type="radio"]{
	width: auto;
}

.details #divEmailEdit{
	display:inline-block;
	max-width: none;
	width:calc(100% - 165px);
}

.details iframe, #divEmailEdit{
	
	padding: 0px;
}

#divEmailEdit{
	border: 1px solid #DEDBD2;
}

#divEmailEdit textarea{
	border-color: transparent;
}

.details input.full, .details select.full, .details textarea.full{
	width: 100%;
}

.details.full textarea, .details.full iframe{
	max-width: none;
}

.details input[type=submit], .details input[type=button]{
	width: auto;
}

.details{
	display: inline-block;
	width: 49%;
	width: calc(50% - 4px);
	vertical-align:top;
}

.details.full{
	width: 100%;
}

.details.left{
	padding-right:10px;
}

.details.right{
	padding-left: 10px;
}

.details .minwidth{
	display:inline-block;
	min-width: 140px;
}

.formBox{
	display:inline-block;
	line-height: 22px;
	vertical-align:top;
}

.formBox.left{
	width: 200px;
	font-weight: 700;
	text-align:left;
}

.formBox.left.wide300{
	width: 250px;
}

.formBox.left.wide500{
	width: 500px;
}

.formBox.right{
	width: calc(100% - 210px);
	padding-left: 15px;
}
.formBox.right.wide300{
	width: calc(100% - 270px);
}
.formBox.right.wide500{
	width: calc(100% - 510px);
}


.formBox.full{
	width: 100%;
}

/* renamed header as easier, but left in heading as may still be some elsewhere */
.formBox.header{
	font-weight: 700;
	font-size: 14px;
	width: 100%;
	display: block;
}

.formBox.header.inline{
	display:inline-block;
	width: auto;
}

.formBox.header .button, .formBox.header .miniButton{
	margin-top: -3px;
}

.formBox.buttons{
	margin-top: 5px;
}

.formBox.buttons .button{
	margin-right: 5px;
	margin-bottom: 5px;
}

.smallText{
	font-size: 11px;
	font-weight: normal;
	line-height: 15px;
	margin-bottom: 5px;
}

.details .formBox input:not(".form-control"), .details .formBox select:not(".form-control"), .details .formBox textarea:not(".form-control"){
	width:100%;
	max-width: 300px;
	margin: 4px 0px;
}



.details .formBox input[type=checkbox]{
	width: auto;
	min-width: 0;
}

.details .formField.floatInputs input, .details .formField.floatInputs select, .details .formField.floatInputs textarea{
	float: right;
	margin: 2px 0px;
}

.details .formBox input.noMaxWidth, .details .formBox select.noMaxWidth, .details .formBox textarea.noMaxWidth, .details input.noMaxWidth, .formBox textarea.noMaxWidth, .formBox input.noMaxWidth, .formBox select.noMaxWidth, input.noMaxWidth, select.noMaxWidth, textarea.noMaxWidth{
	max-width: none;
}
/*  ----------------------------------------------------------	*/
/*  						Widgets/home 	 					*/
/*  ----------------------------------------------------------	*/
.widgetWrap, .topWidgetBar{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}

.widgetWrap .portlet{
	width:calc(33% - 22px);
	margin: 10px;
	display: inline-block;
	position: relative;
	overflow:hidden;
	vertical-align:top;	
	flex-grow: 1;
	background: #ffffff;
	border: 1px solid #95A3B3;
}

.topWidgetBar .portlet{
	width: 100% !important;
}

.widgetWrap .portlet.full{
	width:calc(100% - 20px);
}

.widgetWrap .portlet.wide{
	width:calc(66% - 20px);
}

.widgetWrap .portlet-header{
	background: #343A40;
	color: #ffffff;
	padding: 5px 10px;
	font-weight: 700;
	line-height:18px;
	border: 1px solid #343a40;
	padding-right: 5px;
}

.widgetWrap .portlet-content{
	padding: 10px;
}

.widgetWrap .portlet-content .notification{
	text-align:left;
	margin: 2px 0px;
}

.widgetWrap .portlet-content table:first-child{
	margin-top: 0px;
}


.widgetWrap .portlet-content table:last-child{
	margin-bottom: 0px;
}

.widgetWrap .portlet-settings{
	display:none;
}

.widgetWrap .portlet-header i{
	float: right;
	cursor: pointer;
	margin-right: 0px;
	margin-left: 0px;
	font-size: 22px;
	margin-top: -2px;
}

.portlet-header i{
	
}

.widgetWrap .widgetWrap .portlet .formField input{
	max-width: 250px;
}

#widgets .widget {
	margin-bottom: 1rem;
	cursor: pointer;
}
#widgets .widget .widget-header {
	font-weight: bold;
}

.widgetWrap #widgets.ui-widget-content{
	padding: 0px;
}

.widgetWrap #widgets .ui-tabs .ui-tabs-nav {
	padding: 0;
}

.widgetWrap #widgets .ui-tabs-panel{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}

.widgetWrap #widgets .widget{
	width:calc(33% - 12px);
	margin: 5px;
	display: inline-block;
	position: relative;
	overflow:hidden;
	vertical-align:top;	
	flex-grow: 1;
	background: #63A3E0;
	color: #ffffff;
	padding: 10px;
}

.widgetWrap .widget-header{
	font-weight: 700;
	padding-right: 25px;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.widgetWrap .widget-header i{
	position: absolute;
	top: 5px;
	right: 5px;
}

.widgetWrap .widget-content{
	
}

.widgetWrap .widget .ui-tabs .ui-tabs-panel {
	border: 0px;
	border-top: 1px solid #C2C2C2;
}

.widgetWrap .widget:hover{
	opacity: 0.8;
	cursor:pointer;
}

.ui-dialog{
	max-width: calc(100% - 30px) !important;
	/*height: 500px !important; */ /* only on widget page */
	/* 17/7/18 AW - Max height needs works. Temp removed as causing extra scrolling, this may cause issues on mobile/
	max-height: calc(100% - 30px) !important;*/
	overflow:auto;
}

.widgetWrap #widgets{
	max-height: calc(100% - 30px) !important;
}

.ui-dialog .ui-widget-content{
	overflow: auto;
	height: auto;
	max-height: 700px !important;
	
}

/*  ----------------------------------------------------------	*/
/*  											 				*/
/*  ----------------------------------------------------------	*/
.formField{
	display:block;
	vertical-align:top;
	line-height: 28px;
	min-width: 50%;
	margin-bottom: 5px;
}

.formFieldsTwoColumn, .twoColumnFlex{
	display: flex;
	align-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}

.formFieldsTwoColumn .formField, .twoColumnFlex .formField{
	min-width: auto;
}

.twoColumnFlex div{
	width: 49%;
	width: calc(50% - 10px);
	margin: 5px;
}

.twoColumnFlex div div{
	flex: none;
	width: auto;
}

.threeColumn div{
	display: inline-block;
	width: calc(33% - 5px);
	padding-right: 15px;
	vertical-align:top;
}


.formFieldsTwoColumn:after{
	content: "";
  	flex: auto;
}

.formFieldsTwoColumn .formField:nth-child(even){
	width: 50%;
	float: right;
	padding-left: 10px;
}

.formFieldsTwoColumn .formField:nth-child(odd).full, .formFieldsTwoColumn .formField:nth-child(even).full{
	width: 100%;
	float: left;
	padding-left: 0px;
	padding-right: 0px;
}

.formFieldsTwoColumn .formField:nth-child(odd){
	width: 50%;
	float: left;
	padding-right: 10px;
}


.formFieldsTwoColumn .full, .formFieldsTwoColumn div.full, .twoColumnFlex .full, .twoColumnFlex div.full{
	width: 100%;
	
}

.formFieldsTwoColumn .formField{
	margin-bottom: 10px;
}

.formField.left{
	width: 50%;
	float: left;
	padding-right: 10px;
}

.formField.right{
	width: 50%;
	float: right;
	padding-left: 10px;
}

.formField.inline{
	display:inline-block;
	vertical-align:top;
	line-height: 28px;
	padding: 0px 10px;
	 -webkit-box-shadow: 5px 1px 0px -4px #AAAAAA;
       -moz-box-shadow: 5px 1px 0px -4px #AAAAAA;
            box-shadow: 5px 1px 0px -4px #AAAAAA;
	min-width: 0;
}

.formField input, .formField select, .formField textarea, .formBox input, .formBox select, .formBox textarea, .formField button, .formField .button, .formField .dummyInput{
	margin-bottom: 4px;
	display:inline-block;
	vertical-align:middle;
}

.formField input[type=checkbox], .formBox input[type=checkbox]{
	height: 29px;
}

.formField.inline input[type=text], .formField.inline input[type=date], .formField.inline select, .formField.inline textarea{
	min-width: 150px;
	width: auto;
	background-color: #ffffff;
	margin-right: 10px;
}

.formField i.material-icons, .formField :not(".form-inline") i.mdi{
	line-height: 28px;
	font-size: 22px;
}

.formField input[type=checkbox], .formField input[type=radio]{
	min-width: 0;
}

.formField label{
	display:inline-block;
	vertical-align: middle;
	padding-right: 5px;
	margin-bottom: 0;
}

.formField label:first-child {
	font-weight: 700;
	min-width: 250px;
}

.formField.narrow label:first-child {
	min-width: 150px;
}

.formField.go, .formFieldsTwoColumn .formField:nth-child(even).go{
	position: relative;
	padding-left: 45px;
}

.formFieldsTwoColumn .formField:nth-child(even).go{
	padding-left: 55px
}

.formField.go .button{
	position: absolute;
	top: 2px;
	left: 0px;
}

.formFieldsTwoColumn .formField:nth-child(even).go .button{
	left: 10px;
}
	
.formField.go label:first-child, .details .formField.go label:first-child, .details .formField.go label:first-child{
	min-width: 0px;
	width: auto;
}

.formField label.brandLogo{
	min-width: auto;
	margin-right: 2px;
}

.formField label.brandLogo img{
	width: 25px; 
}

.details .formField label:first-child {
	min-width: 150px;
	width: auto;
}

.details .formField label {
	width: auto;
}

.formField.inline label, .formField.hasCheckbox.inline label, .details .formField.inline label{
	min-width: 0px;
	width: auto;
	max-width: none;
}

.formField.half label, .details .formField.half label{
	width: 50%;
	min-width: 350px;
	max-width: 100%;
}

.formField input[type=checkbox]{
	min-width: 0;
}

.formField input.number, .formField select.number, select.number, input.number, .formField.inline input.number, .formField.inline select.number, .paginationPageNo select, .paginationPageNo input, .paginationPageNo input{
	min-width: 50px;
	width: auto;
}

.hasError, input.hasError, select.hasError{
	border-color: #CB1F26;
}

.formField input[type=checkbox]:first-child{
	margin-right: 10px;
}

i.info{
	float: right;
	cursor: help;
	color: #63A3E0;
}
.formField.hasCheckbox, .formField.hasCheckboxWrap label{
	line-height: normal;
}

.formField.checkbox{
	line-height: 20px !important;
}

.formField.checkbox input[type=checkbox]{
	height: 15px;
}

.formField .formField{margin-bottom: 0px;}

.formField.hasCheckbox label{
	display:inline-block;
	max-width: calc(100% - 28px);
	line-height: 20px;
	padding: 0px 3px;
}

.formField input[type=checkbox]{
	height: 15px;
	margin-top: 2px;
}

.formFieldExtraText{
	font-size: 11px;
	line-height: normal;
	margin-top: 0px;
}

i.hover{
	cursor: pointer;
}

#extraHeaderBar{
	background: #F5F5F6;
	padding: 5px 15px;
	border-bottom:1px solid #E1E2E1;
	color: #474544;
}

#extraHeaderBar form:first-child .formField:first-child, #extraHeaderBar .formField:first-child, .formField.noPaddingLeft{
	padding-left: 0px;
}

#extraButtons{
	display:inline-block;
	vertical-align:top;
}

#extraButtons .button {
    margin-right: 5px;
    margin-bottom: 0px;
	margin-top: 0px;
}

#extraHeaderBarToggle{
	position: relative;
	height: 30px;
	cursor:pointer;
	border-bottom: 1px solid #ccc;
	background: #fff;
	transition: background .4s ease-in-out;  
}

#extraHeaderBarToggle[data-toggle="collapse"]{
	background: #fff;
}

#extraHeaderBarToggle[data-toggle="collapse"].collapsed{
	background: #f7f7f7;
	transition: background .4s ease-in-out;  
}

#extraHeaderBarToggle[data-toggle="collapse"]::after {
    background:  url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMTYuMDAzIDE4LjYyNmw3LjA4MS03LjA4MUwyNSAxMy40NmwtOC45OTcgOC45OTgtOS4wMDMtOSAxLjkxNy0xLjkxNnoiLz48L3N2Zz4=') no-repeat;
	background-size:contain;
	content: '';
	border: 0px;
	display: inline-block;
	height: 25px;
	left: 50%;
	margin-left: -15px;
	position: relative;
	top:0px;
	vertical-align: top;
	width: 30px;
	transform: rotate(180deg);
	-webkit-transition: -webkit-transform .4s ease-in-out;
    -ms-transition: -ms-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;  
}

#extraHeaderBarToggle[data-toggle="collapse"].collapsed::after {
	transform: rotate(0deg);
	-webkit-transition: -webkit-transform .4s ease-in-out;
    -ms-transition: -ms-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;  
}


.extraButtons .formField.inline, .emailButtons .formField.inline{
	line-height: 10px;
}

.extraButtons .formField.inline .button.icon , .emailButtons .formField.inline .button.icon{
	margin: 0px;
	padding-left: 0px;
}

.extraButtons .formField.inline .button.icon .mdi, .emailButtons .formField.inline .button.icon .mdi{
	line-height: 26px;
}

.extraButtons .formField.inline select, .emailButtons .formField.inline select{
	margin: 0px;
}

.paginationBar{
	line-height: 26px;
}

.paginationPageNo{
	float: left;
	display:inline-block;
	vertical-align:top;
}

.paginationPageNo input{
	margin: 0px;
}

.paginationNextPrev{
	float: right;
	display:inline-block;
	vertical-align:top;
}

.showNoRecords, .formField.showNoRecords{
	float: right;
	margin-left: auto;
	border-right: 0px !important;
	box-shadow: none !important;
	padding-right: 0px;
}

.paginationBar .showNoRecords select{
	margin-top: 0px;
	margin-bottom:0px;
}

.paginationBar .showNoRecords{
	margin-left: 10px;
}

.showNoRecords input, .showNoRecords select, .formField.showNoRecords input, .formField.showNoRecords select{
	min-width: 0px;
	width: auto;
	margin-right: 0px;
}

.details .dropzone{
	width: calc(100% - 165px);
	margin: 5px 0px;
	margin-bottom: 15px;
	display:inline-block;
	float: right;
}

.details .formField label.full, .formField label.full{
	width: 100%;
}


/*  ----------------------------------------------------------	*/
/*  					Companies/Customers	 					*/
/*  ----------------------------------------------------------	*/


#keyColours{
	text-align:center;
}
#keyColours .key{
	display: inline-block;
	padding: 5px 10px;
	text-align:center;
	margin: 5px 0px;
	line-height: 21px;
}

.keyWrap{
	border: 1px solid #ccc;
	padding: 10px;
	margin: 15px 0px;
}

.keyWrap .key{
	padding: 2px 5px;
	padding-left: 0px;
	border-right: 1px solid #ccc;
	margin-right: 10px;
	display: inline-block;
}

.keyWrap h3{
	
}

.keyWrap .keyItem{
	display: inline-block;
	vertical-align:top;
	font-size: 11px;
	padding: 0px 5px;
	line-height: 20px;
	min-height: 20px;
	min-width: 25px;
	text-align:center;
	margin-right: 7px;font-weight: 700;
}

.keyItem.white{
	color: #ffffff;
}

.keyItem.black{
	color: #000000;
}

.keyWrap .keyName{
	display: inline-block;
	vertical-align:top;
}

.colourKey{
	display: inline-block;
	vertical-align:top;
	font-size: 11px;
	padding: 0px 5px;
	min-height: 20px;
	min-width: 25px;
	text-align:center;
	margin-right: 7px;
	font-weight: 700;
}

.colourKey.white{
	color: #fff;
}

table th:hover{
	/*cursor: pointer;*/
}

th.head {
	cursor: pointer;
}

#companiesExtraInfo{
	display:none;
}

@media screen and (max-width: 850px) { 
	table#companies .respCol{
		display:none;
	}
	table#companies .respCol_1, table#companies .respCol_2, table#companies .respCol_3, table#companies #companiesExtraInfo .respCol{
		display:table-cell;
	}
	table#companies #companiesExtraInfo{
		display:table-row;
	}
}

.titleBar, .formBox.header{
	background: #ffffff;
	padding: 5px 0px;
	color: #474544;
	border-bottom: 1px solid #d8d8d8;
	margin-bottom: 10px;
	position: relative;
}

.titleBar{
	padding-top: 0px;
}

.card-header .titleBar, .card-header .formBox.header{
	background: transparent;
	padding: 0px;
	color: inherit;
	border-bottom: 0px;
	margin-bottom: 0px;
	position: relative;
	padding-top: 0px;
}

.card > .titleBar {
	margin-bottom: 0px;
	padding: .75rem 1.25rem;
	margin-bottom: 0;
	background-color: rgba(0,0,0,.03);
	border-bottom: 1px solid rgba(0,0,0,.125); 
}
.bg-red {
	background: #DC3545;
}

.bg-green, .button.bg-green{
	background: #28A745;
	color: #ffffff;
	border-color: #28A745;
}

.bg-yellow, #yellowrow, .button.bg-yellow{
	background: #F3B455;
	color: #ffffff;
	border-color: #F3B455;
}

.titleBar .button, .titleBar select:not(.form-control), .formBox.header .button{
	margin: 0;
}


.titleBar .button i.material-icons, .titleBar input[type="button"] i.material-icons, .titleBar .button i.mdi, .titleBar input[type="button"] i.mdi{
	line-height: 25px;
}

.titleBar .mdi{
	font-size: 22px; 
}

.titleBar .toggle{
	position: absolute;
	top: 11px;
	right: 0px;
	cursor: pointer;
}

.card > .titleBar .toggle, .card-header > .titleBar .toggle {
    position: absolute;
    top: 50%;
	margin-top: -11px;
    right: 0px;
    cursor: pointer;
}

.titleBar .toggle .mdi, .titleBar .toggle .material-icons{
	margin-right: 0px;
}
.titleBar .toggle:hover .mdi, .titleBar .toggle:hover .material-icons{
	color: #DC3545;
}

.titleBar h2, .titleBar h3, .titleBar h4, .titleBar h5{
	margin-bottom:0px;
	line-height: 29px;
	color:#474544;
	border-bottom: 0px;
	padding: 0px;
}

.card .titleBar h2, .card .titleBar h3, .card .titleBar h4, .card .titleBar h5, .card-header .titleBar h2, .card-header .titleBar h3, .card-header .titleBar h4, .card-header .titleBar h5 {
    margin-bottom: 0px;
    line-height: normal;
    color: inherit;
    border-bottom: 0px;
    padding: 0px;
}

.titleBar h2 a, .titleBar h3 a{
	font-weight: 700;
}


.formWrap .titleBar.hasToggle{
	padding-right: 40px;	
}

 .card-header  .titleBar.hasToggle, .card > .titleBar.hasToggle, .formWrap > .card-header > .titleBar.hasToggle{
	padding-right: 30px;
 }


.titleBar h3 .button{
	min-width: 100px;
	text-align:center;
}

.titleBar h3 .button.nominwidth{
	min-width: 0px;
}

.titleBar h2, .titleBar h3{
	display:inline-block;
}

.titleBar.hasToggle h2, .titleBar.hasToggle h3{
	display:block;
}


.titleBarLeft, .titleBarRight{
	display:inline-block;
	float: left;
	vertical-align:top;
}

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

.formWrap .titleBar .titleBarRight .button{
	float: none;
}

.titleBarRight i.material-icons{
	margin-right: 0px;	
}

/* new */
.titleBarRight .formField.inline{
	margin: 3px 0px;
	margin-bottom: 2px;
}

.titleBarRight .button{
	background: none;
	border-color: #fff;
	color: #666;
	padding: 1px 2px;; 
	vertical-align:middle;
	line-height: 27px; 
}

.titleBar .titleBarRight .button i.material-icons, .titleBar .titleBarRight input[type="button"] i.material-icons, .titleBar .titleBarRight .button i.mdi, .titleBar .titleBarRight input[type="button"] i.mdi {
    line-height: 27px;
}

.titleBarRight .button .mdi, .titleBarRight .button .material-icons{
	color: rgba(0, 0, 0, 0.54);
	line-height: 27px;
}

.titleBarRight .button:hover{
	color: #DC3545;
}

.titleBarRight .button:hover .mdi, .titleBarRight .button:hover .material-icons{
	color: #DC3545
}

.formWrap,.namobile-notice, .ticketInfoWrap, .addFormWrap{
	background: #ffffff;
	border: 1px solid #dfdfdf;
	padding: 15px;
	margin-bottom: 15px;
	border-radius:  5px;
}

#contentContainer.formWrap{
	margin: 10px;
	margin-top: 15px;
}

#tabs .formWrap{
	background: transparent;
	border: 0px;
	padding: 0px;
	margin-bottom: 0px;
}

#tabs .formWrap .titleBar{
	margin-top: 0px;
}

.addFormWrap{
	margin-top: 15px;
	padding-right: 10px;
	width: 602px;
	max-width: 100%;
	float: left;
}

.formWrap.small{
	max-width: 550px;
}

.formWrap .titleBar{
	margin-top: -15px;
	margin-left: 0px !important;
	margin-right: 0px !important;
	padding: 5px 0px;
}


.formWrap > .card-header, .formWrap form .card-header{
	margin-top: -15px;
	margin-left: -15px;
	margin-right: -15px;
}


.formWrap > .card-header > .titleBar, .formWrap .card-header .titleBar {
	margin-top: 0px;
	padding: 0px;
}

.formWrap .card-body{
	padding-left: 0px !important;
	padding-right: 0px !important;
	padding-bottom: 0px !important;
}

.formWrap h2:first-child, .formWrap h3.title{
	margin-top: -15px;
}

.formWrap .titleBar h2:first-child, .formWrap .titleBar h3.title{
	margin-top: 0px;
}

.formWrap .details .details.left{
	font-weight: 700;
	text-align:right;
	padding-right: 15px;
}

.formWrap .titleBar .button, .formWrap .titleBar .miniButton, .formBox.header .button, .formBox.header .miniButton{
	float:right;
	margin: 0;
	margin-left: 4px;
}

.formWrap table:nth-child(2){
	margin-top: 0px;
}

.formBox.header .button, .formBox.header .miniButton{
	margin-top: -3px;	
}


.namobile{
	
}

.namobile-notice{
	display:none;
}


#newtimesheet{
	max-width: 100%;
	width: 530px;
	border: 1px solid #ccc;
	padding: 10px;
	padding-bottom: 0px;
	margin-top: 10px;
	float: left;
}
/*  ----------------------------------------------------------	*/
/*  						Diary								*/
/*  ----------------------------------------------------------	*/

.calendarTable tr:first-child td{
	padding: 0px;
	border: transparent;
}


.calendarTable .dates th{
	font-size: 11px;
	text-align:center;
}

.calendarTable .dates th:first-child{
	font-size: 13px;
	text-align:left;
}

#diary.calendarTable td{
	border-right-width: 2px;
}

table#diary td.event, table#diary td.eventnomove{
	
}
/*  ----------------------------------------------------------	*/
/*  						Help 								*/
/*  ----------------------------------------------------------	*/

.helpMenu{
	float: left;
	display:inline-block;
	width: 200px;
	background: #F5F5F6;
	border: 1px solid #E1E2E1;
}

.helpContent{
	float: right;
	width: calc(100% - 206px);
	padding-left: 10px;
}

.helpMenu ul{
	padding-left: 0px;
}

.helpMenu li{
	list-style-type: none;
	padding: 2px 0px;
	position: relative;
	border-bottom: 1px solid #E1E2E1;
}

.helpMenu li a, .helpMenu li span{
	display:block;
	padding: 3px 10px;
	cursor: pointer;
	background: ;
	color: #212121;
}

.helpMenu li ul{
	display:none;
	background: #F5F5F6;
	border: 1px solid #E1E2E1;
	position: absolute;
	left: 198px;
	top: -1px;
	width:auto;
	min-width: 150px;
	z-index: 99;
}

.helpMenu li:hover a, .helpMenu li:hover span, .helpMenu li:hover li:hover a{
	color: #DC3545;
}

.helpMenu li:hover ul{
	display:block;
}

.helpMenu li:hover li a{
	color: #212121;
}

.helpContent .question{
	background: #ffffff;
	border: 1px solid #e1e1e1;
	margin-bottom: 10px;
	
}

.helpContent .questionText{
	display:block;
	margin-bottom: 0px;
	padding: 5px 15px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	position: relative;
	padding-right: 35px;
}

.helpContent .questionText i{
	position: absolute;
	right: 5px;
	top: 2px;
}

.helpContent .questionText:hover{
	background: #F5F5F6;
}

.helpContent .questionText.open{
	background: #DC3545;
	color: #ffffff;
}

.helpContent .answer{
	display:none;
	border-top: 2px solid #E1E1E1;
	padding: 10px 15px;
	padding-top: 5px;
}

/*  ----------------------------------------------------------	*/
/*  						Tickets 							*/
/*  ----------------------------------------------------------	*/
#ticketTable{
	
}
      
#ticketTable tr:nth-child(even) {  }   
     
#ticketTable tr:not(.redrow):not(.yellowrow):not(.greenrow):nth-child(odd) {  
	
} 

tr.hover, td.hover, th.hover, tr.sort, td.sort, th.sort{
	cursor: pointer;
}

#ticketTable :not(.thead-light) td{
	font-size:12px;
}

#ticketTable .ticketInfo td{
	border-left-color: transparent;
	border-right-color: transparent;
	padding: 0px;
	background-color: #EDEDED;
}

#ticketTable .ticketInfo td td{
	padding: 5px 10px;
}

.ticketInfoWrap{
	margin: 5px;
}

#ticketTable th{
	max-width: 0;
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden; 
}

.tdTruncate{
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden; 
	max-width: 0; /* This stops the table cells from not wrapping and expanding right, it also makes it repsonsive */
}

.ticketNo{
	max-width:70px;
	width:70px;
	text-align:center;
}

.ticketTitle{
	max-width:250px;
}

.ticketType{
	max-width:100px;
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
}

.ticketPriority{
	max-width:60px;
	width: 60px;
}

.ticketStatus{
	min-width: 100px;
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden; 
	max-width: 150px;

}
.ticketResolution{
	max-width:100px;
	text-align: center;
}
.ticketCustomer{
	max-width:150px;
}

#ticketTable th{
	text-align:center;
}

#ticketTable th:nth-child(3), #ticketTable th:nth-child(6){
	text-align:left;
}

.ticketLastComment, .ticketDate, .ticketAssigned{
	max-width: 120px;
	width:120px;
}

.ticketDate{
	text-align:right;
}

.ticketAssigned{
	text-align:center;	
}

.ticketDescriptionWrap{
	border: 1px solid #ccc;
	background: #FCFCFC;
	padding: 10px ;
	border-radius: 5px;
	margin: 5px 0px;
}


@media screen and (max-width: 1500px){ 
	.ticketTitle{
		max-width:200px;
	}
	
	.ticketLastComment, .ticketDate, .ticketAssigned{
		max-width: 100px;
	}
}

@media screen and (max-width: 1150px){ 
	.ticketTitle{
		max-width:150px;
	}
	
	.ticketStatus{
		max-width:100px;
	}
	
	.ticketLastComment, .ticketDate, .ticketAssigned{
		max-width: 60px;
	}
}

/*  ----------------------------------------------------------	*/
/*  							Emails 							*/
/*  ----------------------------------------------------------	*/
.emailContent iframe, .emailFolders iframe, .emailSearch iframe{
	width: 100%;
}

.emailFolders .list-group a {
    color: #686868;
}

.emailFolders .list-group .mdi {
    font-size:130%;
}

.emailFolders .collapse.show{
	margin-bottom: -1px;
}

.emailFolders .collapse.show .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.emailFolders .collapse.show .list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.link-overlay{
	position: absolute;
	top:0px;
	left:0px;
	height:100%;
	width: 100%;
	opacity:0.2;
	z-index: 1;
}

.hasChildFolders, .hasEditButton{
	z-index: 2;
	cursor:pointer;
}

.list-group-item.active {
    z-index: 2;
    color: #495057;
    background-color:  #cce5ff !important;
	border-color: #cce5ff;
}

.createFolderWrap{
	position: relative;
}

.createFolderWrap input{
	margin: 0;
	width: calc(100% - 45px);
}

.createFolderWrap button{
	margin: 0px;
	height: 26px;
}

.createFolderWrap button .mdi{
	margin: 0px;
	line-height: 22px;
	font-size:18px;
	vertical-align:top;
}

.foldersMobile{
	display:none !important;
}

/* send email */
#divEmailEdit textarea{
	max-width: none;
	width: 100%;
	height: 500px;
	background: #fefefe;
}

.emailListButtons{
	display: inline-block;
	text-align:right;
	float: right;
	vertical-align:top;
}

.emailListButtons .formField .button, .emailListButtons .formField select{
	vertical-align:top;
}

.emailButtons{
	display: inline-block;
	vertical-align:top;
}

.emailButtonShow{
	display:none;
}

.titleBar .emailListButtons .button{
	margin-left: 5px;
}

#emailTable tr.unreademail{
	color: #212222;
}

#emailTable tr.unreademail td{
	font-weight: 700;
}

#emailTable tr.unreademail td.emailSubject:not(.red){
	color: #007bff ; 
}


#emailTable tr.highlightemail td.emailCheckBox, #emailTable tr.highlightemail td.emailFrom, #emailTable tr.highlightemail td.emailInfo, #emailTable tr.highlightemail td.emailExtraInfo,#emailTable tr.highlightemail td.emailSubject, #emailTable tr.highlightemail td.emailAttach, #emailTable tr.highlightemail td.emailSize, #emailTable tr.highlightemail td.emailDate{
	border-left: transparent;
	border-right: transparent;
}

#emailTable tr.highlightemail td.emailCheckBox{
	border-left: #28A745 2px solid;
	border-bottom: #28A745 2px solid;
}

#emailTable tr.highlightemail td.emailDate{
	border-right: #28A745 2px solid;
	border-bottom: #28A745 2px solid;
}

#emailTable tr.highlightemail td{
	border-bottom: #28A745 2px solid;
	border-color: #28A745;
	border-width: 2px;
	background: transparent;
}

#emailTable .mdi.inactive{
	opacity: 0.2;
}

#emailTable .mdi.active{
	color: #343A40;
}

#emailTable tr.unreademail:hover td{
	background: rgba(241,241,241,0.3);
}

#emailTable tr:hover td{
	cursor: pointer;
}

#emailTable tr:hover td{
	background: rgba(255,255,255,0.7);
}

#emailTable .emailInfo .material-icons, #emailTable  .emailInfo .mdi, #emailTable .emailExtraInfo .material-icons, #emailTable  .emailExtraInfo .mdi{
	font-size:18px;
}

/* checkboxes */
/*#emailTable tr th:nth-child(1), #emailTable tr td:nth-child(1), */
#emailTable .emailCheckBox{
	text-align:center;
	width: 30px;
}

/*#emailTable tr td:nth-child(1) input[type="checkbox"], #emailTable tr th:nth-child(1) input[type="checkbox"],*/ 
#emailTable .emailCheckBox input[type="checkbox"]{
	margin-right: 0px;
}
/*
#emailTable i.material-icons{
	font-size: 16px;
	margin-right: 0px;
	line-height: 14px;
}
*/
/* to/from */
#emailTable .emailTo, #emailTable .emailFrom{
	max-width: 350px;
	border-left: 0px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* extrainfo */
#emailTable .emailInfo{
	width: 58px;
	min-width:58px;
	text-align:left;
	padding-right: 0;
	border-right: 0px;
	border-left: 0px;
	padding-left: 2px;
}

/* extrainfo */
/*#emailTable tr th:nth-child(4), #emailTable tr td:nth-child(4), */
#emailTable .emailExtraInfo{
	width: 20px;
	min-width:20px;
	text-align:left;
	padding-right: 0;
	border-right: 0px;
	border-left: 0px;
	padding: 0px 2px;
	position: relative;
	 text-shadow: 1px 1px rgba(0,0,0,0.5);
}

#emailTable .emailExtraInfo .mdi.mdi-forward{
	position:absolute;
	top: 1px;
	left: 6px;
}

#emailTable .emailExtraInfo .mdi.mdi-reply{
	margin-top: 4px;
	margin-bottom: -4px;
}

#emailTable .emailExtraInfo .mdi.active{
	color: #28A745;
}

#emailTable .emailExtraInfo .mdi.mdi-forward.active{
	color: #63A3E0;
}

table .material-icons{
	font-size: 18px;
}

/* subject */
/*#emailTable tr th:nth-child(5), #emailTable tr td:nth-child(5),*/ 
#emailTable .emailSubject{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 700px;
	max-width: 700px;
}

/* AW - 5/9/19 not working - need to resize the section if it is a private email. */
#emailTable .emailSubject .emailSubjectWrap{
	display:inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

/* attachments */
/*#emailTable tr th:nth-child(6), #emailTable tr td:nth-child(6),*/ 
#emailTable .emailAttach{
	text-align:center;
	width: 20px;
	padding: 5px;
	border-left-color: transparent;
}

/* size */
/*#emailTable tr th:nth-child(7), #emailTable tr td:nth-child(7),*/
#emailTable td.emailSize{
	font-size: 11px;
	padding: 5px;
	text-align:right;
	border-left-color: transparent;
	white-space: nowrap;
}

#emailTable .emailSize{
	width: 60px;
	text-align:center;
	
}

/* date sent/recieved */
#emailTable .emailDate{
	text-align:right;
	width: 100px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* date deleted */
#emailTable tr.hideEmailSortBy{
	display:none;
	border:transparent;
	background: #fff;
	padding: 0px;
	padding-bottom: 0px;
}

#emailTable tr.hideEmailSortBy .formField.inline {
    line-height: 25px;
}

#emailTable tr.hideEmailSortBy .formField.inline:first-child{
	padding-left: 5px;
}

#emailTable tr.hideEmailSortBy .formField.inline select{
	margin: 0px;
}

#emailTable tr.hideEmailSortBy td{
	
}

.readEmailWrap .formBox left{
	width: 100px;
}

.readEmailWrap .formBox right{
	width: calc(100% - 110px);
}

@media screen and (max-width: 1500px) { 
	#emailTable.trash .emailDate:nth-child(9){
		display:none;
	}
}


@media screen and (max-width: 992px) { 	
	.emailListButtons{
		display: block;
		float: none;
	}
	
	.emailTitleDesktop h2{
		display:none;
	}
	
	.titleBar.emailTitleDesktop{
		border-bottom: 0px;
		margin-bottom: 0px;
		padding-bottom: 0px;
		padding-top: 0px;
	}
	
	.sortingBy{
		display:none;
	}
	.formField.inline.foldersMobile{
		display:inline-block !important;
		float: left;
		padding-left: 0px;
	}
		
	.foldersDesktop{
		display:none;
	}
}
@media screen and (max-width: 1100px) { 
	 #emailTable .emailSize{
		 display:none;
	}
	
	#emailTable.trash .emailSubject{
		max-width:150px;
	}
	
}

@media screen and (max-width: 900px) { 
	#emailTable.trash .emailTo{
		max-width:150px;
	}
}

@media screen and (max-width: 800px) {
	#emailTable.trash .emailTo, #emailTable.trash .emailSubject{
		max-width:none;
	}
	
	#emailTable .emailSize{
		 display:block;
	}
	
	
	
	#emailTable tr.hideEmailSortBy{
		display:block;
	}
	
	table#emailTable {
		border: 0px;
	}
	
	table#emailTable , table#emailTable  thead, table#emailTable  tbody, table#emailTable  tfoot, table#emailTable  tr, table#emailTable  th, table#emailTable  td{
		display: block; /* Set all of our table elements to display type block */
		box-sizing: border-box;
		position:relative;
 		clear: both;	
	}
	
	table#emailTable td{
		display:inline-block;
		vertical-align:top;
		background: transparent;
		line-height: 14px;
	}
   
	table#emailTable tr:nth-child(even) td, table#emailTable tr:nth-child(odd) td { 
		background: transparent;
		border-color: transparent;
	} 
	
	/* AW 30/8/18 - No idea why I added this for mobile? I've removed as removing coloured rows on tickts */
	/* Cells in even rows (2,4,6...) are one color */        
	/*tr:nth-child(even):not(first-child){ background: #F5F5F5; } */
	
	/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */        
	/*table:not(.nohover) tr:nth-child(odd):not(first-child), tr:nth-child(odd):not(first-child){ background: #FEFEFE; } */
	
	#emailTable tr.highlightemail td{
		border-width: 0px;
	}
	
	#emailTable tr.highlightemail{
		border: 2px solid #28A745;
	}

	#emailTable tr.highlightemail td.emailCheckBox{
		border-left: 0px;
	}

	#emailTable tr.highlightemail td.emailDate{
		border-right: 0px;
	}
	
	#emailTable tr{
		border: 1px solid #95A3B3;
		border-bottom: 0px;
	}
	
	#emailTable tr:last-child{
		border-bottom: 1px solid #95A3B3;
	}
	
	table#emailTable td{
	}
	
	table#emailTable th{
		display:none;
	}
	
	table#emailTable tr{
		padding-left: 30px;
		padding-right: 130px;
		width: 100%;
	}
	
	table#emailTable tr:first-child{
		border: 0px;
	}
	
	table#emailTable td{
		
	}
	
	/* checkboxes */
	#emailTable .emailCheckBox{
		text-align:center;
		width: 30px;
		position: absolute;
		top: 0px;
		left: 0;
		border: 0px;
		padding: 5px;
	}

	#emailTable .emailCheckbox input[type="checkbox"]{
		margin-right: 0px;
	}
	
	/* to/from */
	#emailTable .emailTo,  #emailTable .emailFrom{
		width: calc(100% - 75px);
	}

	/* subject */
	#emailTable .emailSubject{
		width: 100%;
		padding-top: 0px;
		padding-right: 0px;
		margin-top:-5px;
		color: #333;
		font-size: 11px;
	}

	/* attachments */
	#emailTable .emailAttach{
		text-align:center;
		width: auto;
		position: absolute;
		top: 0px;
		right: 0px;
		padding-right: 0px;
		padding-left: 3px;
	}

	/* size */
	#emailTable .emailSize{
		display:none;
		width: 50px;
		position: absolute;
		top: 0;
		right: 120px;
		padding-right: 0px;
		font-size: 11px;
	}

	/* date sent/recieved */
	#emailTable .emailDate{
		text-align:right;
		width: 120px;
		position: absolute;
		top: 0px;
		right: 12px;
		font-size: 11px;
	}

	/* date deleted */
	#emailTable .emailDate{
		text-align:right;
	}
}


@media screen and (max-width: 800px) {
	#emailTable .emailTo, #emailTable .emailFrom {
		width: calc(100% - 150px);
	}
}

.rightClickMenu{
	position: absolute;
	background: #ffffff;
	font-size: 11px;
	border: 1px solid #CCCCCC;
	display:none;
	z-index: 111;
	/* AW - Context menu on emails is showing in the wrong position for some reason?? Cheating until we update it */
}

.rightClickMenu ul{
	padding-left: 0px;
}

.rightClickMenu li{
	list-style-type:none;
	padding: 3px 10px;
	border-bottom: 1px solid #ccc;
}

.rightClickMenu li:hover{
	background: #efefef;
	cursor:pointer;
}

.contextMenu-active{
	display:block;
}

#messagebody{
	height: 600px;
}

/*  ----------------------------------------------------------	*/
/*  						Products	 						*/
/*  ----------------------------------------------------------	*/

.treeList, .treeList ul{
	list-style-type:none;
	padding-left: 0px;
}

ul.treeList li, ul.treeList ul{
	margin-bottom: 10px;
	position: relative;
}

ul.treeList .mdi.mdi-minus-circle-outline, .treeList .mdi.mdi-plus-circle-outline{
	position: absolute;
	left: 0px;
	top: 2px;
	cursor: pointer;
}

ul.treeList li{
	padding-left: 22px;
}

ul.treeList li li{
	margin-bottom: 0px;
}

.treeList.last{
	margin-bottom: 10px;
}

.treeList li{
	line-height: 20px;
}

.treeList .mdi{
	line-height: 17px;
	font-size: 18px;
}

.treeList .totalWrap{
	float: right;
	display:inline-block;
	text-align:right;
}

.treeList .total{
	display:inline-block;
	width: 150px;
	border-left: 1px solid #ccc;
	margin-left: 5px;
}

.treeList .overallTotal{
	float: right;
	display:inline-block;
	text-align:right;
	font-weight: 700;
	margin-top: 5px;
}

.treeList .overallTotal span{
	display:inline-block;
	margin-right: 10px;
}

.treeList .treeListLineBreak{
	border-bottom: 1px solid #999;
	margin: 15px 0px;
}

.treeList .nominalCode li{
	border-bottom: 1px solid #ccc;
	padding-left: 15px;
}

.treeList ul.expandAll{
	display:block;
}

.treeList .mdi, .treeList span, .treeList a{
	display:inline-block;
	vertical-align:top;
}

.sortableList{
	list-style-type:none;
	display:inline-block;
	max-width: 380px;
	width: 100%;
	border: 1px solid #ccc;
	padding: 5px;
}

ul.sortableList li {
    cursor: move;
    margin-bottom: 4px;
    padding: 2px 2px;
    border: 1px solid #ccc;
    background-color: #eee;
}


ul.sortableList li:last-child {
    margin-bottom: 0px;
}

ul.sortableList.dragging{
	background-color: #fbe9cc;
}

ul.sortableList li.moved{
	background-color: #cfeacf ;
}

.sortableItem{
	line-height: 30px;
}

.sortableItem img{
	vertical-align:middle;
	margin-bottom: 1px;
	margin-right: 10px;
}

.sortableItem span{
	vertical-align:middle;
}

/*  ----------------------------------------------------------	*/
/*  						Categories	 						*/
/*  ----------------------------------------------------------	*/

/* use full-width to wrap around any products/categories e.g. search.php */
/* use cat-wrap to wrap around any products/categories when there is a side navigation e.g. category.php */
.full-width, .cat-wrap{
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}

.cat-wrap{
	width: calc(100% - 205px);
	padding-left: 0px;	
	margin-right: -1px;
}

.cat-item{
	width:calc(33% - 17px);
	margin: 10px 10px;
	display: inline-block;
	position: relative;
	overflow:hidden;
	vertical-align:top;	
	flex-grow: 1;
}

.qty-wrap{
	height: 44px;
	width: auto;
	text-align:center;
	display: inline-block;
}

.qty-msg{
	height: 44px;
	text-align:center;
	display: inline-block;
	vertical-align:top;
	line-height: 38px;
	padding-right: 15px;
	position: relative;
}

.qty-msg span{
	position: absolute;
	left: 0%;
	bottom: 0;
	width: 100%;
	line-height: 15px;
	text-align:left;
}

.qty-wrap .qty, .qty-wrap input.qty, table.quotes .qty-wrap input.qty{
	padding: 7px 7px;
	width: 44px;
	margin: 0;
	vertical-align:top;
	background: #ffffff;
	border: 1px solid #3b3b3b;
	text-align:center;
	font-size:14px;
	line-height: 30px;
	float: left;
	border-radius: 0;
}

.qty-wrap .qty.maxError{
	outline: none;
    border-color: #DC3545;
    box-shadow: 0 0 5px 0px #DC3545;
}

.qtyminus, .qtyplus, table.quotes .qtyminus, table.quotes .qtyplus{
	background: #3b3b3b;
	border-radius: 0px !important;
	padding: 5px 0px;
	width: 40px;
	height: 42px;
	float: left;
	color: #ffffff;
	line-height: 15px;	
	cursor: pointer;
	box-sizing: border-box;
	margin: 0px;
	border: 1px solid #3b3b3b;
}

/* ---------------------------------------------------- */
/* 						Login							*/
/* ---------------------------------------------------- */
body.loginPage{
	background: url("/images/common/fmx4/bg-fmx.jpg") center center no-repeat;
	background: url("/images/common/fmx4/fmx-bg-2020.jpg") center center no-repeat;
	position: relative;
}
.body-bg{
	position: absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-image: linear-gradient(to bottom right, rgba(5, 5, 6, 0.6) 10%, rgba(220, 53, 69, 0.9) 90%);
	z-index:-1;
}

.loginPage .btn{
	font-weight: 400;
	position: relative;
}

.loginPage .btn-primary{
	border:0px
}
.loginPage #loginWrap{
	max-width:550px;
}

.loginPage .btn-lg{
	padding: .7rem 1rem;
	font-size: 1.1rem;
	line-height: 1.5;
	border-radius: .3rem;
}

.loginPage .form-control-lg{
	height: calc(1.5em + 1.4rem + 2px);
	padding: .5rem 1rem;
	font-size: 1.1rem;
	line-height: 2;
	border-radius: .3rem;
}

.loginPage :-moz-autofill, .loginPage :-moz-autofill-preview {
	filter: grayscale(21%) brightness(88%) contrast(161%) invert(10%) sepia(40%) saturate(5%);
}

.loginPage {
	font-size:1rem;
}

.loginPage .h2{
	font-size: 2rem;
	font-weight: 400;
}

#logoLogin{
	max-width: none;
	height: 40px;
}
@media (min-width: 576px) {
	#logoLogin{
		height: 50px;
	}
}

@media (min-width: 768px) {
	#logoLogin{
		height:55px;
	}
}
#footerLogin{
	background:#1a1a1a;
	color: rgba(255,255, 255, 0.6);
	font-size:90%;
}
#footerLogin h5, #footerLogin .h5{
	color: #fff;
	font-weight: 400;
}

#footerLogin .h5:hover{
	text-decoration: none;
}
.loginPage .card-footer{
	background:none;
}

.details.memorable{
	margin-top: 10px;
}

.details.memorable label{
	width: auto;
	padding-left: 0;
	margin-bottom: 5px;
}

.login-wrap .details select:not(.form-control){ 
	width: 80px;
	margin: 5px;	
}

/* REMOVE TILL HERE */
/* ---------------------------------------------------- */
/* 						Tables 							*/
/* ---------------------------------------------------- */
.tright, .currency{
	text-align:right;	
}

.tleft{
	text-align:left;	
}

.tcenter{
	text-align:center;	
}
span.table-mobile{
	display: none;
	font-weight: 600;
}

table td.small, table td.width30{
	width: 30px;
	text-align:center;
}

table td.width40{
	width: 40px;
	text-align:center;
}

table td.medium, table td.width200{
	width: 200px;
}

th.empty{
	background: none;
	border: 0px;
}

tr.currentDay td, td.currentDay, tr.currentDay th, th.currentDay{
	background: #8cba80;
	border-color:  #709566;
}


tr.bankholiday td, td.bankholiday, tr.bankholiday th, th.bankholiday{
	background: #63A3E050;
	border-color:  #84bcda;
}

th .bankHoliday{
	display:inline-block;
	border-radius: 3px;
}

.bankHoliday{
	padding: 2px 4px;
	background: #63A3E0; 
	color: #fff;
	margin-bottom: 2px;
}

table:not(.table) {
	width:100%;
	border-collapse: separate;
	overflow:hidden;
}

table:not(.table).autoWidth{
	width: auto;
}

table:not(.table) th{
	background:#e9ecef;
}

table td.checkbox, table th.checkbox{
	width: 10px;
	text-align:center;
}
table.smalltext{
	font-size: 11px;	
}
table:not(.table)  tr td{
	padding: 2px 5px;
}


.diarycalendar td {
	font-size:12px;
}

.emptycelltodrop {
	background-color:#eee !important;
}

table.quotes tr:hover{
	background: #6B97BF;
	cursor: pointer;
	color: #ffffff;
}

@media screen and (max-width: 850px) { 
	table.responsive{
		border: 0px;
	}
	table.responsive, table.responsive thead, table.responsive tbody, table.responsive tfoot, table.responsive tr, table.responsive th, table.responsive td{
		display: block; /* Set all of our table elements to display type block */
		box-sizing: border-box;
		position:relative;
 		clear: both;
	}
        
	table.responsive th{
		display: none;	
	}

	 span.table-mobile {
		display:inline-block;
		margin-right: 15px;
		text-align: left;
		min-width: 110px;
    }
	
	span.table-mobile.auto{
		min-width: 0;
	}
	
	span.alignr {
		display:inline-block;
		min-width: 65px;
		text-align:right;
	}

	table.responsive th, table.responsive td, table.responsive tr{
		padding: 0;
		text-align:left;
	}	
	
	table.responsive tr{
		border-color: #ececec;;
	}
}


ul.anchorLinks{
	padding-left: 0px;
}

ul.anchorLinks li{
	display: inline-block;
	width: 20%;
	min-width: 140px;
	vertical-align:top;
	list-style-type: none;
	
}

/*
/*  ----------------------------------------------------------	*/
/*  						Diary	 					*/
/*  ----------------------------------------------------------	*/
#diaryLeft{
	width: calc(100% - 220px);
	display:inline-block;
	vertical-align: top;
}

#diaryRight{
	width: 210px;
	float:right;
	display:inline-block;
	vertical-align: top;
	border: 1px solid;
	padding: 0px;
}


.calendarTableNew{
	table-layout: fixed;
	margin-top: 0px;
	border-collapse: collapse;
}

.calendarTableNew tr th.diaryDateTH:first-child{
	width: 70px;
	text-align:right;
}

table.calendarTableNew th{
	background: none;
	color: #000;
	border-color: #95a3b3;
}

table.calendarTableNew th a{
	color: #000;
}


table.calendarTableNew tr th.diaryDateTH{
	border-top-color: transparent;
	border-bottom-color: transparent;
	position: relative;
}

table.calendarTableNew tr  th.diaryDateTH{
	overflow: visible;
}

table.calendarTableNew tr th.diaryDateTH span{
	font-size: 16px;
	line-height:14px;
	margin-top: -18px;
	display:inline-block;
}

table.calendarTableNew td, table.calendarTableNew th{
	padding-top: 0px;
	padding-bottom: 0px;
	max-height: 18px;
	height: 18px;
	min-height: 18px !important;/* I dislike important but there is an inline min-height:30px I cannot find.*/
	overflow: hidden;
	border-width-right: 3px;
}

table.calendarTableNew td.dayMonth, table.calendarTableNew th.dayMonth{
	max-height: 70px;
	height: 70px;
	min-height: 70px !important;/* I dislike important but there is an inline min-height:30px I cannot find.*/
	overflow: hidden;
	border-width-right: 1px;
}

table.calendarTableNew td.alldaycell, table.calendarTableNew th.alldaycell{
	min-height: 70px !important;/* I dislike important but there is an inline min-height:30px I cannot find.*/
	max-height: 70px;
	height: 70px;
}

table.calendarTableNew td{
	border-bottom-color: transparent;
}

table.calendarTableNew .diaryHourRow td, table.calendarTableNew tr:last-child td, table.calendarTableNew tr:last-child th, table.calendarTableNew tr:first-child th.diaryDateTH, table.calendarTableNew th.dayMonth, table.calendarTableNew td.dayMonth{
	border-bottom-color: #95a3b3;
}

table.calendarTableNew tr:first-child th.diaryDateTH{
	border-left-color: transparent;
}

table.calendarTableNew .diaryThDay{
	display:block;
	font-weight:normal;
}

table.calendarTableNew .diaryThDate{
	display:block;
	font-size: 28px;
	font-weight:bold;
}
table.calendarTableNew tr.spacer td{
	height: 15px;
	border-bottom-color: #95a3b3;
}

table.calendarTableNew tr.spacer th:first-child{
	border-bottom: transparent;
	border-right-color: #95a3b3;
}

table.calendarTableNew .event, table.calendarTableNew .currentDay.event, table.calendarTableNew .eventnomove{
	padding: 0px;
}


table.calendarTableNew td.currentDay, table.calendarTableNew th.currentDay{
	background: #F5F5F5;
}

table.calendarTableNew th.currentDay, table.calendarTableNew th.currentDay a{
	color: #63A3E0; 
}

table.calendarTableNew th a:hover{
	text-decoration: none;	
}


table.diaryMonths{
	table-layout: fixed;
	margin-top: 0px;
	text-align:center;
	width: auto;
}

table.diaryMonths td {
	position: relative;
	padding: 0px;
	text-align:center;
	line-height: 22px;
	min-width: 22px;
	border-color: #E0E0E0;
}

table.diaryMonths td.currentDay{
	background: #F5F5F5; 
}

table.diaryMonths td.currentDay span{
	line-height: 21px;
	background: #63A3E0; 
	border-radius: 50%;
	color: #ffffff;
	
}

table.diaryMonths td span{
	line-height: 22px;
	min-width: 22px;
	display:block;
}

table.diaryMonths td.hasEvents span{
	
}


 table.calendarTableNew .eventWrapper, table.calendarTableNew td div{
	height: 100%;
	max-height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	 font-size:11px;
}

table.calendarTableNew .alldaycell .eventWrapper, table.calendarTableNew td.alldaycell div{
	height: auto;
}


 table.calendarTableNew .eventWrapper{
	/*background: #6d7f91; 
	color: #fff;*/
	 padding: 0px 5px;
	border-top:  1px solid #95a3b3;
	/*border: 1px solid #63A3E0;*/
}

 table.calendarTableNew .eventWrapper a{
	/*color: #fff;*/
}


 table.calendarTableNew .eventWrapper div{
	display:none;
}

.divWrapper{
	background: ;
}

/* ------ Dashboard ------ */

.dashboardWrap{
	display: flex;
	align-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}

.dashboardItem{
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08);
}

.dashboardWrap .dashboardItem{
	width: calc(20% - 10px);
	margin: 5px;
	border: 1px solid #ccc;
	position: relative;
	background: #ffffff;
	text-align:center;
	padding: 15px;
	min-width:150px;
	border-radius: 5px;
}

.dashboardTitle{
	text-transform: capitalize;
	font-size: 14px;
	font-weight: 700;
	margin-top: 10px;
}

.material-icons.md-22, .mdi.mdi-22{
	font-size: 22px;
	line-height:normal;
}

.material-icons.md-28, .mdi.mdi-28{
	font-size: 28px;
	line-height:normal;
}

.material-icons.md-32, .mdi.mdi-32{
	font-size: 32px;
	line-height:normal;
}

.material-icons.md-48, .mdi.mdi-48{
	font-size: 48px;
	line-height:normal;
}

.dashboardImage .material-icons, .dashboardImage .mdi{
	margin-right: 0px;
	
}

.material-icons.md-48, .dashboardImage .mdi, .dashboardImage .material-icons{
	font-size: 48px;
	line-height:normal;
}

.dashboardImage .material-icons{
	margin-right: 0px;
}

.dashboardItem a{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.dashboardItem:hover{
	opacity: 0.8;		
}

/*
/*  ----------------------------------------------------------	*/
/*  						PopUp Window 	 					*/
/*  ----------------------------------------------------------	*/

.popup .formField label {
	min-width: 100px;
}
.popup .formBox.left{
	width: 110px;	
}
.popup .formBox.right{
	width: calc(100% - 120px);
}

.popup .details.full textarea{
	width: calc(100% - 160px);
}

ul.inviteList{
	padding-left: 0px;
	margin-top: 5px;
	border-top: 1px solid #ccc;
	padding-top: 5px;
}

ul.inviteList li{
	list-style-type:none;
	position: relative;
}

ul.inviteList li span{
	display:inline-block;
	vertical-align:top;
}

ul.inviteList li span.listName{
	
}

ul.inviteList li span:listOther{
	float: right;
}

ul.inviteList li .cancelButton{
	float: right;	
}
/*  ----------------------------------------------------------	*/
/*  						PopUp 	 						*/
/*  ----------------------------------------------------------	*/
#popupOverlay, .popupOverlay{
	background: rgba(0,0,0,0.7);
	position: fixed !important;
	top: 0;
	left: 0;
	height: 100% !important;
	width: 100% !important;
	z-index:9999;
	display:none;
}

.messagePopup, .alertPopup{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 850px;
	max-width: calc(100% - 30px);
	padding: 25px 15px;
	background: #ffffff;
	border: 2px solid #DC3545;
	color: #686868;
	font-weight:normal;
	max-height: 95%;
	max-height: calc(100% - 30px);
}

.popupClose {
	position: absolute;
	right: 0;
	top: 5px;
	cursor: pointer;
}

.messagePopup {
	color: #474544;
}

.messagePopup .liteButton {
	min-width: 75px;
	margin: 0;
	text-align: center;
}

.messagePopup .popupSearch {
	position: absolute;
	top: 25px;
	right: 45px;
	border-color: rgba(0, 0, 0, 0.54);
}
.messagePopup .popupSearchIcon {
	position: absolute;
	top: 35px;
	right: 15px;
}

.messagePopup .contactItem {
	display: block;
	transition: none;
}
.messagePopup .contactItem:hover {
	background: rgba(217, 35, 47, 0.3);
}

/*  ----------------------------------------------------------	*/
/*  						Extra Info 	 						*/
/*  ----------------------------------------------------------	*/

.dynamic-tab-pane-control .tab-page{
	padding-bottom: 15px;
}

.supp select, .supp input, .supp textarea{
	margin: 0px;
	height: 24px;
	padding: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 20px;
	width: auto ;
	display:inline-block;
	vertical-align: middle;
	max-width: none !important;
}



.supp select{
	padding-right: 15px;
}


select.selectmulti, .supp select.selectmulti{
	background: #ffffff;
	padding: 5px 0px;
	height: 120px;
}


select.selectmulti.tall, .supp select.selectmulti.tall{
	height: 200px;
}

.extraInfoHeading{
	font-size:12px;
	font-weight:600;
	font-family: 'Open Sans', sans-serif;
	white-space:nowrap;
	color:#232323;
	text-decoration:underline;
}

.supp .supplabel{
	margin-right: 10px;
	/* */
	line-height: 22px;
	font-weight:700;
	font-size: 13px;
	color: #686868;
	font-family: 'Open Sans', sans-serif;
	/* */
}

.supp .supplabel{
	
}

.supp input{margin-top: 0px; margin-bottom: 0px;}


.cke_skin_office2003 .cke_rcombo .cke_text {
    height: 24px !important;
}

.column.ui-sortable{
	width: 100%;
}

.hrdata{
	margin-bottom: 15px;
}


/*  ----------------------------------------------------------	*/
/*  						Warehouse 	 					*/
/*  ----------------------------------------------------------	*/
.mdi.scanBarcode{
	font-size: 65px;
}

#scanbg.button.scannerButton{
	max-width: 550px;
	margin-bottom: 25px;
}

#scaninstruction span{
	font-size: 16px;
	margin-left: 15px;
}

.readyToScan {
	background-color: #F3B455;
	color: #fff;
}

.notReadyToScan {
	background-color: #666;
	border:1px solid black;
	color: #fff;
}

.networkError {
	background-color:#DC3545;
	color: #fff;
}

.goodScan {
	background-color: #28A745;
	color: #fff;
}


.breadcrumbWrap{
	padding: 5px 10px;
	background: ;
}
.bookingSetupBreadcrumb{
	display:flex;
	align-content: space-between;
	padding-left: 0px;
}

.bookingSetupBreadcrumb li{
	list-style-type: none;
	display:inline-block;
	flex-grow: 1;
	background: #fff;
	margin: 1px;
	text-align:center;
	border: 1px solid rgba(0,0,0,0.3)
}

.bookingSetupBreadcrumb li a{
	display:block;
	padding: 4px 5px;
	color: #686868;
}

.bookingSetupBreadcrumb li .mdi{
	font-size: 24px;
}

.bookingSetupBreadcrumb li:hover {
	background: #F1F1F1;
}

.bookingSetupBreadcrumb li:hover a {
	text-decoration:none;
}


.bookingSetupBreadcrumb li.selected a{
	background: #f1423d;
	color: #fff;
	font-weight: 700;
}


/*  ----------------------------------------------------------	*/
/*  						Tills 	 							*/
/*  ----------------------------------------------------------	*/
.tillButtons{
	display:flex;
	align-content: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-direction: row;
}

.tillButtons:after{

}

.catbutton, .twoColumnFlex div div.catbutton{
	border: 1px solid #ccc;
	text-align:center;
	width: calc(20% - 4px);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 2px;
	min-height: 80px;
	position: relative;
	box-shadow: 0 0 2px 0px #686868;
	color: #383837;
	font-weight: 600;
	padding-top: 15px;
	padding-bottom: 25px ;
}

.catbutton a{
	color: #383837;
}

.catbutton:hover a{
	text-decoration: none;
}
.catbutton:hover {
	text-decoration: none;
	background: #Fafafa;
}

.cattxt{
	max-width:100%;
	padding: 5px 0px;

}

.hasSubItems{
	position: absolute;
	bottom: 5px;
	right: 0px;
}

.linksToShopCategory{
	position: absolute;
	bottom: 5px;
	left: 5px;
}
/*  ----------------------------------------------------------	*/
/*  						Print Queue 	 					*/
/*  ----------------------------------------------------------	*/
/* */
.badge {
	display: inline-block;
	padding: .25em .4em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	padding-right: .6em;
    padding-left: .6em;
	border-radius: 10rem;
}

.badgegreen {
	background-color:green;
}
.badgewarning {
	background-color:orange;	
}
.badgeerror {
	background-color:red;	
}

/*  ----------------------------------------------------------	*/
/*  						Media Queries 	 					*/
/*  ----------------------------------------------------------	*/
/* */
@media screen and (max-width: 1400px){
	body:not(.loginPage) {
		font-size: 13px;
	}
	#topBar{
		max-height: 40px;
	}

	#topBar .item{
		padding: 5px;
		height: 40px;
		min-width: 40px;
		line-height: 40px;
	}

	#topBar a, #topBar i{
		line-height: 30px;
	}

	#topBar .material-icons{
		font-size:24px;
	}

	#topBar .logo{
		height: 40px;
		margin: 0px 10px;
		padding: 5px 0px;
		margin-right: 66px;
	}

	#topBar .sideMenu .mdi{
		font-size:32px;
	}

	.emailCount{
		right: 35px;
		font-size: 10px;
		width: 20px;
		color: #ffffff;
		line-height: 17px;
		padding-bottom: 1px;
	}

	.item .emailCount{
		right: 7px;
		top: 7px;
		width: 17px;
		font-size: 9px;
		line-height: 11px;
		padding-bottom: 3px;
	}
	
	#topBar #nav-quicklinks.item{
		padding: 0px 5px;
	}

	#nav-quicklinks li{
		padding: 0px;
	}
	
	#nav-quicklinks li a{
		padding: 5px 10px;
	}
	
	#contentPanel{
		padding-left: 210px; /* must be same as menuPanel width + normal padding*/
		padding-top: 41px;
	}

	.marginTopHeader{
		margin-top: 117px;
	}

	#sideMenu{
		width: 210px;
		top: 40px;
		font-size: 11.5px;
		height: calc(100% - 40px);
	}

	.sideMenu i{
		margin-right: 5px;
		font-size: 17px;
	}

	.sideMenu a{
		padding: 3px 10px;
	}

	.sideMenu .searchMenu i{
		right: 2px;
		top: 2px;
		font-size: 24px;
		line-height: normal;
		line-height: 27px;
	}
	
	.sideMenu .searchMenu input{
		margin-bottom: 5px;
		padding: 3px 10px;
	}

	.sideMenu .expandButton{
		right: -0px;
		top: 2px;
		font-size: 21px;
	}

	.sideMenu.hidden .expandButton {
		top: 3px;
	}

	#sideMenu.hidden {
		width: 50px;
	}
	#contentPanel.full{
		padding-left: 50px;
	}

	.sideMenu li li a{
		padding-left: 25px;
	}

	.sideMenu li li li a{
		padding-left: 47px;
	}
	.sideMenu li li li li a{
		padding-left: 69px;
	}
	
	#fmx4Header .button span{
		line-height: 17px; 
	}
	.button i.material-icons, input[type="button"] i.material-icons, .button i.mdi, input[type="button"] i.mdi {
		line-height: 18px;
		font-size: 18px;
	}
	
	.formBox.header .button, .formBox.header .miniButton{
		margin-top: 0px;	
	}
}

@media screen and (max-width: 1130px) { 
	.container{
		margin: 0px 15px;
		max-width: calc(100% - 30px);
	}
	
	#header.login .container{
		padding: 10px 0;
	}
	
	#header.login .logo img{
		max-height: 40px;
	}

	#header.login .bespoke_header{
		height: 50px;
	}
	
	.portlet{
		width:calc(50% - 22px);
	}

	
}


@media screen and (max-width: 1000px){ 
	#topBar #nav-quicklinks{
		display:none;
	}
	
	#topBar .logo {
		margin-right: 10px;
	}
	
	
	.twoColumnFlex{
		flex: none;
	}
	
	.twoColumnFlex div{
		width: 100%;
		margin: 5px auto;
		flex: none;
	}
}

@media screen and (max-width: 992px) { 	
	.emailFolders {
		display:none;
	}
}

@media screen and (max-width: 950px){ 
	.emailButtons{
		display: none;
	}
	
	.emailButtonShow{
		display: inline-block;
		float: right;
		margin-top: -9px !important;
	}
	
	.formField.inline.foldersMobile{
		float:none;
		margin-bottom: 0px;
	}
	
	.emailListButtons{
		background: #F5F5F6;
		padding: 5px 10px;
		padding-bottom: 2px;
		border-bottom:1px solid #E1E2E1;
		color: #474544;
		margin-top: -15px;
		margin-left: -10px;
		margin-right: -10px;
		text-align:left;
		margin-bottom: 5px;
	}
	
	#emailTable{
		margin: 10px 0px;
	}
}

@media screen and (max-width: 900px){ 
	.dashboardWrap .dashboardItem{
		width: calc(25% - 10px);
	}
}

@media screen and (max-width: 800px){ 
	.login-wrap{
		margin: 15px auto;
	}
	
	.titleBar .titleBarMobile {
		display:block;
	}
	.barButtons .barButtonsMobile, .showMobile, #headerTopRightMobile{
		display:inline-block;
		vertical-align:top;
		max-width: calc(50% - 5px);
		float: left;
	}
	
	#headerTopRightMobile{
		float: right;
	}
	
	.titleBar .titleBarMobile{
		margin: 5px 0px;
		text-align:right;
	}

	.barButtons .barButtonsLeft, .barButtons .barButtonsRight, #fmx4Header .titleBar .titleBarRight, .hideMobile{
		display:none;
	}
	#emailTable{
		margin-top: 0px
	}
}


@media screen and (max-width: 750px) {
	.details, .details .details.full, .titleBarLeft, .titleBarRight{
		display: inline-block;
		width: 100%;
		margin-right: 0px;
	}
	
	.details.left, .details.right{
		padding: 0;	
		border: 0;
	}
	
	.details input, .details select, .details textarea, #dropzoneUploader, .details textarea, .details #divEmailEdit{
		width:100%;
	}
	.details .details{
		width: 49%;
	}
	
	.helpMenu{
		float: none;
		width: 200px;
	}

	.helpContent{
		float: none;
		width: 100%;
		padding-left: 0px;
	}
	.formFieldsTwoColumn .formField:nth-child(even), .formFieldsTwoColumn .formField:nth-child(odd){
		width: 100%;
		float: none;
		padding-left: 0px;
		padding-right: 0px;
	}

	.formFieldsTwoColumn .formField:nth-child(even).go, .formFieldsTwoColumn .formField:nth-child(odd).go{
		padding-left: 45px;
	}
	.formFieldsTwoColumn .formField.go:nth-child(2n) .button {
		left: 0px;
	}
	
	.dashboardWrap .dashboardItem{
		width: calc(33% - 10px);
	}

}

@media screen and (max-width: 700px){ 
	#contentPanel{
		padding-left: 15px;
	}
	input[type=submit], input[type=button], button, .button, a.button, .ui-button, .Litebutton, .miniButton{
		line-height: 18px;		
	}
	
	.button i.material-icons, input[type="button"] i.material-icons {
		font-size: 21px;
		line-height: 22px;
	}
	
	#headerTopRight form input {
		padding: 4px 10px;
		line-height: 19px;
	}
	
	select {
		height: 29px;
		padding-top: 0px;
		padding-right: 25px;
	}
	
	#fmx4Header .nextPrevWrap .button {
		padding: 2px 0px;
	}
	input[type="submit"], input[type="button"], button, .button, a.button, .ui-button, .Litebutton, .miniButton {
		font-size: 13px;
		line-height: 22px;
	}
	
	.namobile{
		display:none;
	}

	.namobile-notice{
		display:block;
	}

	.titleBarLeft, .titleBarRight {
		float: none;
		width: 100%;
	}
}
@media screen and (max-width: 650px){ 
	#sideMenu, #navigation{
		z-index: 99999;
		width: 100%;
		font-size: 13px;
	}
	
	#topBar .logo {
    	padding: 5px 0px;
	}
	.sideMenu a {
    	padding: 8px 15px;
	}
	
	#searchWrap input{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	.sideMenu .searchMenu i {
		bottom: 15px;
	}
	
	.portlet{
		width:calc(100% - 22px);
	}
	
	#sideMenu.hidden {
		width: 0px;
	}
	#contentPanel.full{
		padding-left: 0px;
	}

}

@media screen and (max-width: 550px){
	
	h1{ font-size: 15px; }

	h2{ font-size: 14px; }

	h3{ font-size: 13px; }

	h4{ font-size: 12.5px; }

	h5{ font-size: 13px; }

	h6{ font-size: 11px; }
	
	body:not(.loginPage) {
        font-size: 13px;
    	line-height: 16px;	
	}
	
	#topBar .item span{
		display: none;
	}
	#topBar i.auto{
		margin-right: 0px;
	}
	
	#topBar .item span.emailCount, #topBar .item span.emailCount span{
		display: inline-block;
	}
	
	#topBar .logo .show-mobile{
		display:block;
	}
	#topBar .logo .hide-mobile{
		display:none;
	}
		
	.barButtonsMobile form{
		display:block;
		margin-bottom: 10px;
	}
	
	#fmx4Header .nextPrevWrap{
		margin-left: 0px;
	}
	
	.formWrap, .namobile-notice {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	table .material-icons{
		font-size:10px;
	}
	
	table#emailTable tr {
   	 padding-right: 115px;
	}
		
	#emailTable .emailTo, #emailTable .emailFrom{
		width: calc(100% - 100px);
	}
	#emailTable .emailSubject{
		margin-top: 0px;
	}
	
	#emailTable .emailAttach {
		padding: 2px 0px;
	}
	
	#emailTable .emailAttach .mdi, #emailTable .emailAttach .material-icons{
		font-size: 18px;		
	}
	
	.foldersMobile select{
		margin: 0;
	}
	
	#fmx4Header{
		padding: 5px 15px;
	}
	#fmx4Header h1{
		line-height: 33px;
	}
	
	
	
	.barButtonsMobile form {
		margin-bottom: 0px;
	}
	
	.formField.half label, .formField.hasCheckbox.half label, .details .formField.half label, .formField label{
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}
	
	.emailButtonShow {
		margin-top: auto !important;
	}
	
	.dashboardWrap .dashboardItem{
		width: calc(50% - 10px);
	}
}

@media screen and (max-height: 510px){ 
	.login-wrap{
		position: relative;
		top: auto;
		left: auto;
		transform: translate(0%, 0%);
		margin: 35px auto;
	}

}

@media screen and (max-width: 500px) {
	#wrapper {
		margin-bottom: -70px; /* Make the same as the footer height */
	}

	#footer.login, #wrapper:after {
	  height: 70px; 
	}
	
	#footer.login {
		padding: 15px 0px;
	}
	
	.formBox.left{
		width: 100%;
		text-align:left;
	}

	.formBox.right{
		width: 100%;
		padding-left: 0px;
	}
	
	.formBox.right, .formBox.full{
		border-bottom: 1px solid #fefefe;
	}
	
}

@media screen and (max-width: 450px) {
	.login-wrap{
		padding: 15px;
	}
	.login-wrap .details {
		width: 100%;
		padding-right: 0px;
	}
	
	.login-wrap input[type="submit"] {
		width: 100%;
		vertical-align: top;
	}
	
	.login-wrap .details input {
		max-width: none;
	}
	
	.login-wrap input{
		max-width: none;
	}
	
	.login-wrap h1{
		text-align:center;
	}
		
	#header.login .logo img{
		max-height: 30px;
	}

	/* iffy */
	#header.login .bespoke_header{
		height: 40px;
	}
	
	#emailTable tr:first-child{
		padding: 0px;
	}
	#emailTable tr{
		padding: 5px 0px;
	}
	
	#emailTable .emailTo, #emailTable .emailFrom{
		width: calc(100% - 50px);
	}
	
	#emailTable .emailExtraInfo{
		position: absolute;
		right: 0px;
		top: 20px;
	}
	
	#emailTable .emailInfo{
		position: absolute;
		right: 40px;
		top: 20px;
	}


}

@media screen and (max-width: 430px) { 
	.qty-wrap {width: auto;}
	
	.details .details{
		width: 100%;
		margin-right: 0px; 
	}
}
@media screen and (max-width: 400px){ 
	#topBar .material-icons {
		font-size: 22px;
	}
	#topBar .item {
		min-width: 50px;
	}
	
	table{
		/*display:none;*/
	}
}

@media screen and (max-width: 370px){ 
	#topBar .material-icons {
		font-size: 20px;
	}
	#topBar .item {
		min-width: 45px;
	}
	
	
	.dashboardWrap .dashboardItem{
		width: 100%;
	}
}

/* stuff to stop IOS doing random things */
@media only screen and (min-width : 320px) and (max-width : 700px) {
	body {-webkit-text-size-adjust: none;}
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
  select,
  textarea,
  input {
    font-size: 13px;
  }
}


/*   CKE EDITOR*/

/* AW 24/7/18 - added in as otherwise when you hover over HTML editor buttons it's only partially highlighted as height is set to 18px  - this affects Chrome, Firefox displays the html editor differently*/
.cke_skin_office2003 .cke_button a, .cke_skin_office2003 .cke_button a:hover, .cke_skin_office2003 .cke_button a:focus, .cke_skin_office2003 .cke_button a:active, .cke_skin_office2003 .cke_button a.cke_off{
	height: 24px !important
}

textarea.cke_source, .cms textarea{
	max-width:100%;
}

.cke_skin_office2003 iframe, .details .cke_skin_office2003 iframe{
	width: 100%;
	max-width:100%;
}

table tr td.cke_contents {
   padding: 0px !important;
}

table tr td.cke_contents:last-child {
    
	
}

textarea.cke_source{
	max-width: 100% !important;
	border-radius: 0px !important;
	border-color: transparent !important;
}

table.cke_dialog, table.cke_dialog_contents{
	border:  0px !important;
	width: auto !important;
	margin: auto !important;
	table-layout: collapse !important;
}

table.cke_dialog td {
    border: 0px !important;
	padding: 0px !important;
}

.cke_dialog_ui_input_text{
	margin: auto !important;
	height: auto !important;
}

.cke_dialog_ui_input_text{
	
}

.cke_skin_office2003 div.cke_dialog_ui_input_text, .cke_skin_office2003 div.cke_dialog_ui_input_password {
    border: 1px solid transparent !important;
}

.cke_skin_office2003 a.cke_dialog_tab, .cke_skin_office2003 a:link.cke_dialog_tab, .cke_skin_office2003 a:active.cke_dialog_tab, .cke_skin_office2003 a:hover.cke_dialog_tab, .cke_skin_office2003 a:visited.cke_dialog_tab {
    height: 24px !important;
	
}

.cke_skin_office2003 .cke_dialog_ui_hbox {
    padding-top: 6px !important;

}
/* Auto search dropdown*/
.ui-menu{
	border: 1px solid #ccc;
	
}

.ui-menu .ui-menu-item:hover, .ui-menu .ui-menu-item .ui-state-active{
	background: #f1f1f1 !important;
	margin: 0px;
}
/* ----------------------------------------------------------- */
/* 					Bootstrap Modifications 				   */
/* ----------------------------------------------------------- */

.form-control.form-control-date{
	padding-left: .15rem;
	padding-right: .15rem;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	max-width: 35px;
}

.form-control.form-control-date.form-control-date-year{
	max-width: 50px;
}

/* ----------------------------------------------------------- */
/* 					Bootstrap Modal 						   */
/* ----------------------------------------------------------- */
.modal-header {
    border-bottom: 1px solid #e9ecef;
	background: #e9ecef; 
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
	font-size: 16px;
}

/* AW - 19/3/19 we need to remove the class tooltip from ALL code and replace with data-toggle="tooltip" data-placement="top" (left, right, bottom) - this will update our tooltips to bootstrap */
.tooltip{
	position: relative;
	opacity: 1;
	display:inline-block;
}
.tooltip-inner {
	max-width: none;
}

/* ----------------------------------------------------------- */
/* 					Bootstrap Cards 						   */
/* ----------------------------------------------------------- */
.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6{
	margin-bottom: 0px;
}

.card-header h3{
	font-size: 1.23em;
}

.card-header .toggleIcon{
	margin-left: 15px;
	font-size: 18px;
}

.card-footer{
	background: none;
}
/* ----------------------------------------------------------- */
/* 					Bootstrap Form Controls 					*/
/* ----------------------------------------------------------- */
.form-control {
    height: calc(1.8125rem + 4px);
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .2rem;
}

.form-control-sm {
    height: calc(1.8125rem + 2px);
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .2rem;
}

.form-control-lg {
	height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
	border-radius: .2rem;
}

.input-group-text {
    line-height: 0.5;
}

.tooltip {
    line-height: normal;
	font-size: 13px;
}

input[type=checkbox]:not(.form-check-input):not(.form-check-label) {
	margin: 0px !important;
	width: auto !important;
}

/* ----------------------------------------------------------- */
/* 					Bootstrap Form Navs/Dropdown 				*/
/* ----------------------------------------------------------- */
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:-10rem; /* 10rem is the min-width of dropdown-menu */
    margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}


/* ----------------------------------------------------------- */
/* 					Bootstrap Table 						   */
/* ----------------------------------------------------------- */
table tr.row{
	display: table-row !important;
}

table input.form-control, table select.form-control {
    height: calc(1.8125rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

table .form-control-sm {
    height: calc(1.7rem + 2px);
	padding: .15rem .5rem;
	font-size: .7rem;
	line-height: 1.2;
}

select.form-control.form-control-sm {
	padding-left: 2px;
	padding-right: 15px;
	background-size: 10px;
}

/* START Bootstrap table styling */
.table .thead-light th, .table  th.thead-light, .table .thead-light td, #emailTable th{
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.table .thead-light-secondary th, .table th.thead-light-secondary, .table .thead-light-secondary td{
    color: #495057;
    background-color: rgba(233, 236, 239, 0.8);
    border-color: #dee2e6;
}

.table .thead-dark th, .table  th.thead-dark {
    color: #fff;
    background-color: #212529;
    border-color: #32383e;
}

.table td, .table th, td, th {
    padding: 5px 10px;
}

#reporttable_wrapper .table, #reporttable_wrapper .table th, #reporttable_wrapper .table td {
	box-sizing: content-box !important;
}

#reporttable_wrapper .table {
	margin-bottom: 0;
}

/* END Bootstrap table styling */

/* ----------------------------------------------------------- */
/* 					Bootstrap Buttons 						   */
/* ----------------------------------------------------------- */
.btn{
	font-weight: 700;
	padding: 1px 8px;
	font-size: 13px;
	line-height: 27px;
	color: #686868; 
}

.btn.btn-info {
	color: #ffffff;
}

input[type="button"]:not(.btn), input[type="submit"]:not(.btn){
	border-color:  #DC3545 !important;
	background: #DC3545 !important;
	width: auto !important;
}

.form-control-plaintext {
    padding-top: .375rem;
    padding-bottom: .375rem;
    color: #212529;
    background-color: transparent!important;
    border: solid transparent !important;
	height: calc(1.8125rem + 2px);
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	padding-left:0px !important;
	margin: 0px !important;
}

.form-control-plaintext:focus {
    border-bottom: transparent !important;
    box-shadow: none;
}

.btn .mdi, .btn .material-icons{
	line-height: 24px;
	font-size: 22px; 
}

.supp .d-inline-block{
	vertical-align: middle;
}

.supp .btn{
	line-height: 13px;
	padding: 0px 8px;
}

.supp .btn .mdi{
    line-height: 16px;
    font-size: 15px;
}

.btn-icon{
	position: relative;
	background: none;
	border-color: transparent;
	color: #666;
	vertical-align:middle;
	line-height: 24px;
	margin:0 !important;
	padding:0 2px !important;
}

.btn-icon .mdi{
	margin-right: 0px;
}

.btn-icon .mdi:nth-child(2){
	line-height: 14px;
    font-size: 14px;
	vertical-align:top;
	margin-left:-1px;
}

.btn-primary .mdi, .btn-primary .material-icons{
	color: #fff;
}

body:not(.loginPage) .btn-sm{
	font-size: 11px;
	line-height: 18px;
}

.btn-sm .mdi, .btn-sm .material-icons{
	line-height: 18px;
	font-size: 16px; 
}

body:not(.loginPage) .btn-lg{
	font-size: 14px;
	line-height: 32px;
	padding: 1px 15px;
}

.btn-lg .mdi, .btn-lg .material-icons{
	line-height: 32px;
	font-size: 28px; 
}

.btn-default{
	background-color: #eeeeee;
	border-color:  #cccccc;
	color:#555555;
}

.btn-primary{
	background-color: #DC3545;
	border-color:  #bf2e3c;
	color:#ffffff;
}

.btn-primary:hover{
	background-color: #DC3545CC;
	border-color:  #bf2e3c;
	color:#ffffff;
}

.btn-primary:not(:disabled):not(.disabled):active{
	background-color: #DC3545CC;
	border-color:  #bf2e3c;
	color:#ffffff;
}

.btn-primary:not(:disabled):not(.disabled):active .mdi, .btn-primary:hover .mdi {
    color: #FFFFFF;
}
.btn-primary.focus, .btn-primary:focus {
	background-color: #DC3545CC;
	box-shadow: 0 1px 2px rgba(0,0,0,0.07),
				0 2px 4px rgba(0,0,0,0.07),
				0 4px 8px rgba(0,0,0,0.07),
				0 8px 16px rgba(0,0,0,0.07),
				0 16px 32px rgba(0,0,0,0.07),
				0 32px 64px rgba(0,0,0,0.07);
}

.btn-dark{
	color: #fff;
}


.btn-outline-primary{
	border-color:  #bf2e3c;
	color:#bf2e3c;
}

.btn-outline-primary:hover{
	background-color: #DC3545CC;
	border-color:  #bf2e3c;
	color:#ffffff;
}

.btn-calendar{
	color: #bf2e3c;
	border-color: #ced4da;
}

.btn-primary.disabled, .btn-primary:disabled{
    color:#BBB;
    background-color: #f1f1f1;
    border-color: #f1f1f1;
}

 .btn-primary.disabled .mdi, .btn-primary:disabled .mdi,  .btn-primary.disabled .material-icons, .btn-primary:disabled .material-icons{
    color:#BBB;
}

.btn-disabled, .btn.disabled{
	opacity:0.65;
	cursor: default;
}

.btn-secondary{
	color: #fff;
}


.btn-green, .btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-green:hover, .btn-success:hover{
	background-color: #28a745CC;
	border-color:  #28a745;
	color:#ffffff;
}

.btn-red {
	background-color: #BD1B12;
	color: #fff;
	border: none;
}

.td-icon {
	width: auto !important;
	margin: 0 !important;
	padding: 2px 10px !important;
	text-align: right;
	white-space: nowrap;
}

.td-check-right {
	width: auto !important;
	margin: 0 !important;
	text-align: center;
	white-space: nowrap;
}

.truncate-text{
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis
}

.barButtonsLeft .btn-group .btn:first-child, .barButtonsRight .btn-group .btn:first-child{
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

.barButtonsLeft .btn-group .btn:last-child, .barButtonsRight .btn-group .btn:last-child{
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

.dropdown-item{
	font-size:14px;
	text-transform: capitalize;
	cursor:pointer;
}

.dropdown-item{
	font-size:14px;
}


.dropdown-item img{display:none;}

.hasToggleWithMenu .dropdown-toggle::after {
	display:none;
}

.dropdown-toggle.hideArrow::after{
	display:none;
}
/* AW - 1/4/19 added to style new .form-control selects */
select.form-control,  .form-control.input-dropdown{
	position: relative;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	cursor:pointer;
	padding-right:25px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMTYuMDAzIDE4LjYyNmw3LjA4MS03LjA4MUwyNSAxMy40NmwtOC45OTcgOC45OTgtOS4wMDMtOSAxLjkxNy0xLjkxNnoiLz48L3N2Zz4=');
	background-repeat:no-repeat;
	background-size: 15px;
	background-position: right 5px top 50%;
	padding-right: 18px !important;
}



/*  ----------------------------------------------------------	*/
/*  				Bootstrap Pagination	 					*/
/*  ----------------------------------------------------------	*/
.page-link {
    color: #5d737e;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: #343a40;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #5d737e;
    border-color: #5d737e;
}


.page-item.first .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-item.no-styling:first-child{

}

.page-item.no-styling:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
	border-color: transparent;
	padding: 0;
	cursor:pointer;
}

.page-item.no-styling:first-child .page-link select{
    margin: 0;
	
}

.page-item input, .page-item select{
	margin: 0px;
	height: 100%;
	max-height: 33px;
}

.page-item input, .page-item select{
	margin: 0px;
	height: 100%;
	margin-right: 5px
}

/*  ----------------------------------------------------------	*/
/*  				Toggle Switch	 					*/
/*  ----------------------------------------------------------	*/

/* The switch - the box around the slider */
.toggleSwitch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

/* Hide default HTML checkbox */
.toggleSwitch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.toggleSlider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.toggleSlider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .toggleSlider {
	background-color: #28a745;
}

input:focus + .toggleSlider {
	box-shadow: 0 0 1px #28a745;
}

input:checked + .toggleSlider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.toggleSlider.round {
	border-radius: 34px;
}

.toggleSlider.round:before {
	border-radius: 50%;
}

#lightgreenrow, .lightgreenrow {
	background-color: #BBFFBB !important;
}


.cursor-pointer {
	cursor: pointer;
}

.text-sm {
	font-size:0.9em !important;
}

.text-xs {
	font-size:0.8em !important;
}
