﻿html {
  height: 100%;
}

body {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 14px;
	font-size: 14px;
	margin: 0;
	min-height: 100%;
}

h2 {
	margin-top: 0;
	color: #004B88;
}

h3 {
	color: #004B88;
}

p {
	margin: 0;
}

hr {
	border: 0;
	height: 1px;
	background-color: #999999;
}

img {
	border: 0;
}

span[contenteditable] {
	display: inline-block;
	min-width: 170px;
	border: 1px solid #888888;
	font-size: 14px;
	line-height: 16px;
	padding: 1px 2px;
	margin: 0;
	min-height: 18px;
	outline: 0px solid transparent;
	max-width: 500px;
}

a {
	display:block;
  color: rgb(0,74,145);
	text-decoration: none;
	border: 0;
}

a:hover {
  color: rgb(0,74,145);
	text-shadow: 1px 1px 1px #999999;
	border: 0;
}

.LogoBar {
	position: fixed;
	top: 0;
	height: 32px;
	left: 0;
	width: 128px;
	border: 1px solid black;
}

.HeaderBar {
	position: fixed;
	top: 0;
	height: 32px;
	left: 128px;
	right: 0;
	border: 1px solid black;
	font-size: 18px;
	line-height: 18px;
}

.MenuSection {
	position: fixed;
	top: 32px;
	left: 0;
	bottom: 0;
	width: 128px;
	border: 1px solid black;
}

.BodySection {
	position: fixed;
	top: 32px;
	left: 128px;
	bottom: 32px;
	right: 0;
	border: 1px solid black;
	overflow-y: scroll;
}

.FooterBar {
	position: fixed;
	height: 32px;
	left: 128px;
	bottom: 0;
	right: 0;
	border: 1px solid black;
}

.SectionMargin {
	margin: 4px;
}

.MenuItem1 {
	color: rgb(0,74,145);
	font-weight: bold;
	font-size: 20px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 10px;
}

.MenuItem2 {
	color: rgb(0,0,0);
	font-weight: bold;
	display: block;
	border: 2px outset #CCCCCC;
	font-size: 16px;
	line-height: 16px;
	margin-bottom: 10px;
	padding: 2px;
}

.MenuItem2 {
	color: rgb(0,0,0);
	font-weight: bold;
	display: block;
	border: 2px outset #CCCCCC;
	font-size: 16px;
	line-height: 16px;
	margin-bottom: 10px;
	padding: 2px;
}

.Icon24 {
	cursor: pointer;
	height: 24px;
	width: 24px;
	padding: 0;
	display: block;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.Icon16 {
	cursor: pointer;
	height: 16px;
	width: 16px;
	padding: 0;
	display: block;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}


/* Extras */
#LoadingDiv {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 99999;
	text-align: center;
	width: 131px;
	height: 98px;
	margin-left: -66px;
	margin-top: -49px;
	border: 1px solid black;
	background-color: white;
}

#LoadingDivOverlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998;
	background-color: #222222BB;
/*	pointer-events: none;
	user-select: none;*/
}

.ImageButton {
	font-size: 14px;
	font-weight: bold;
	line-height: 14px;
	height: 18px;
	width: auto;
	border: #888888 solid 1px;
	white-space: nowrap;
	padding: 2px;
	background-color: buttonface;
	display: inline-block;
	cursor: pointer;
}

.ImageButton img {
	width: 16px;
	height: 16px;
	margin: 1px;
}

.ImageButton div {
	vertical-align: top;
	margin: 2px 4px 2px 0;
	white-space: nowrap;
	display: inline-block
}

#RotateDiv {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index:99999;
	text-align:center;
	width: 360px;
	height: 420px;
	margin-left: -180px;
	margin-top: -210px;
	background-color: black;
}

.RotateMessage {
	font-size: 28px;
	color: white;
	margin-top: 10px;
}

#TempPopup {
	background-color:#2A2A2A;
	border:1px solid #111111;
	border-radius:3px;
	bottom:25%;
	left:50%;
	width:600px;
	position:fixed;
	text-align:center;
	z-index:99999;
	margin-left: -300px;
}

#TempPopupText {
	color: #FCFCFC;
	display: inline-block;
	font-size: 14px;
	line-height: 14px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 5px;
	padding-right: 5px;
}

#ConfirmDialog {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #999999;
	background-color: rgba(0,0,0,0.5);
}

#ConfirmDialog table {
	position: fixed;
	margin: auto;
	border: 1px solid #999999;
	background-color: #FFFFFF;
	box-shadow: 10px 10px 5px #222222;
	min-height: 100px;
	min-width: 200px;
	max-width: 500px;
	text-align: center
}

#ConfirmDialog table th {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #EEEEEE), color-stop(100%, #CCCCCC));
  background-image: -webkit-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -moz-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -o-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-color: #CCCCCC;
	border-bottom: 1px solid #999999;
	padding:5px;
}

#ConfirmDialog input[type=button] {
	min-width: 75px;
}

.ConfirmDialogMessage {
	padding: 4px 10px;
}

#LoadingSection {
	margin-top: 5px;
	border: 1px solid #BABBC0;
	padding: 3px;
}

#EventClipboard {
	margin-top: 5px;
	border: 1px solid #BABBC0;
	padding: 3px;
}

#EventClipboard > p {
	text-align:center;
	font-weight: bold;
}

#EventClipboard > div {
	margin-top: 3px;
	border: 1px solid #BABBC0;
	font-size: var(--fc-small-font-size,.85em)
}

#ActionList {
	margin-top: 5px;
	border: 1px solid #BABBC0;
	padding: 3px;
}

#ActionList > p {
	text-align: center;
	font-weight: bold;
}

#CalendarView {
	margin-top: 5px;
	border: 1px solid #BABBC0;
	padding: 3px;
}

#CalendarView > p {
	text-align: center;
	font-weight: bold;
}


#EventClipboard > div {
	margin-top: 3px;
	border: 1px solid #BABBC0;
}

.EventOverflow {
	height:100%;
	position:relative;
	overflow:clip;
}

.EventWrapper {
	width: 100%;
	font-size: 10px;
	position: sticky;
	top: 0;
}

.EventTopSection {
}

.EventCustomerName {
	font-weight: bold;
	font-size: 14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.EventPostCode {
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
}
.EventAddress {

}

.EventBottomSection {
	border-top: 1px solid black;
}

#CustomToolTip {
	background-color: rgb(42,42,42);
	border: 1px solid #111;
	color: #fcfcfc;
	display: none;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 5px;
	padding-right: 5px;
	position: absolute;
	z-index: 99999;
	opacity: .85;
}

.Dialog {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #999999;
	background-color: rgba(0, 0, 0, 0.5);
	display: block;
}

.Dialog > table {
	position: fixed;
	margin: auto;
	border: 1px solid #999999;
	background-color: #FFFFFF;
	box-shadow: 10px 10px 5px #222222;
	min-height: 100px;
	min-width: 200px;
	max-width: 500px;
	text-align: center;
}

.Dialog > table > tbody > tr > th {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #EEEEEE), color-stop(100%, #CCCCCC));
  background-image: -webkit-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -moz-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -o-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-color: #CCCCCC;
	border-bottom: 1px solid #999999;
	padding:5px;
	font-size:20px;
	line-height:20px;
}

.Dialog input[type=button] {
	min-width: 75px;
}

.Dialog .DialogHeader > img {
	border: 1px solid #999999;
	border-radius: 3px;
	padding: 1px;
	cursor: pointer;
}

#ToolTip {
	padding: 10px;
	border-radius: 10px;
	background: #DBF3FF;
	box-shadow: inset 0px 0px 3px 1px rgba(21,139,204,1);
	z-index: 1000;
}

/*#ToolTip.ttl:after {
	content: '';
	position: absolute;
	left: -5px;
	top: 15px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: rotate(135deg);
	box-shadow: inset -3px -3px 3px -3px rgba(21,139,204,1);
}

#ToolTip.ttr:after {
	content: '';
	position: absolute;
	right: -5px;
	top: 15px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: rotate(315deg);
	box-shadow: inset -3px -3px 3px -3px rgba(21,139,204,1);
	}*/

	#ToolTip.ttl #ToolTipPointer {
		position: absolute;
		left: -5px;
		top: 15px;
		width: 10px;
		height: 10px;
		background: inherit;
		transform: rotate(135deg);
		box-shadow: inset -3px -3px 3px -3px rgba(21,139,204,1);
	}

	#ToolTip.ttr #ToolTipPointer {
		position: absolute;
		right: -5px;
		top: 15px;
		width: 10px;
		height: 10px;
		background: inherit;
		transform: rotate(315deg);
		box-shadow: inset -3px -3px 3px -3px rgba(21,139,204,1);
	}


.progressBar {
	width: 100%;
	height: 22px;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}
 
.progressBar div {
	height: 100%;
	color: #fff;
	text-align: right;
	line-height: 22px; /* same as #progressBar height if we want text middle aligned */
	width: 0;
	background-color: #0ba1b5;
	border-radius: 3px; 
	box-sizing: border-box;
}

.statusbar
{
	min-height:25px;
	width:100%;
	padding:5px;
	vertical-align:top;
	line-height: 35px;
	box-sizing: border-box;
}

.filename
{
	display:inline-block;
	vertical-align:top;
	width:66%;
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
}

.filesize
{
	display:inline-block;
	vertical-align:top;
	color:#30693D;
	width:33%;
	text-align: right;
	box-sizing: border-box;
}

.abort {
	background-color: #A8352F;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	display: inline-block;
	color: #fff;
	font-family: arial;
	font-size: 13px;
	line-height: 13px;
	font-weight: normal;
	padding: 4px 15px;
	cursor: pointer;
	vertical-align: top
}

#dropzone {
	border: #888888 dashed 2px;
	cursor: pointer;
	box-sizing: border-box;
	width: 99%;
	height: 75px;
	position: relative;
	line-height: 37px;
	text-align: center;
}


/* Form */

input[type=text] {
	border: #888888 solid 1px;
	font-size: 14px;
	line-height: 14px;
	padding: 1px 2px;
	margin: 0;
	height: 18px;
}

input[type=password] {
	border: #888888 solid 1px;
	font-size: 14px;
	line-height: 14px;
	padding: 2px;
	margin: 0;
	height: 18px;
}

input[type=button], input[type=submit] {
	border: #888888 solid 1px;
	font-size: 14px;
	line-height: 14px;
	padding: 2px 6px;
	margin: 0;
	cursor: pointer;
}

input[type=checkbox] {
  width: 14px;
  height: 14px;
  padding: 0;
  margin:0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
}

input[type=radio] {
	vertical-align: middle;
  margin: 1px;
}

textarea {
	border: #888888 solid 1px;
	font-size: 14px;
	line-height: 14px;
	resize: none;
	padding: 2px;
	margin: 0;
	font-family: Arial;
}

select {
	border: #888888 solid 1px;
	font-size: 14px;
	line-height: 14px;
	padding: 0;
	margin: 0;
	height: 20px;
}

/* Table */

table tr td {
	padding: 4px;
}

table {
  border-collapse:collapse;
}
 
td, th {
	padding: 0;
	border: 0;
}

.ScrollableTable tbody {
	overflow-y: scroll; 
	display: block;
}

.TableGrid {
	border-top: 1px solid #888888;
	border-left: 1px solid #888888;
}


.TableGrid td, .TableGrid th {
	padding: 2px 8px;
	height: 20px;
}

.TableGrid > thead > tr > th {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #EEEEEE), color-stop(100%, #CCCCCC));
  background-image: -webkit-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -moz-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: -o-linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-image: linear-gradient(#EEEEEE 0%, #CCCCCC 100%);
  background-color: #CCCCCC;
	line-height: 18px;
	font-size: 16px;
}

.TableGrid > thead > tr > td {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
}

.TableGrid > tbody > tr > th {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
  background-color: #CCCCCC;
	/*	text-align: right; */
}

.TableGrid > tbody > tr > th.RowHead {
	text-align: right;
}

.TableGrid > tbody > tr > td {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
}

.TableGrid > tfoot > tr > th {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
  background-color: #CCCCCC;
	text-align: right;
}

.TableGrid > tfoot > tr > td {
	border-bottom: 1px solid #888888;
	border-right: 1px solid #888888;
}

.TableGridDatePicker {
	border-bottom: 1px solid #BABBC0;
	border-right: 1px solid #BABBC0;
	color: #444444;
	text-align: center;
}

.TableGridDatePicker td {
	border-left: 1px solid #BABBC0;
	border-top: 1px solid #BABBC0;
	padding-bottom: 1px;
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 1px;
	vertical-align: middle;
	width: 16px;
	padding: 2px;
}

.TableGridDatePickerColumnHeader td {
	background-color: #F0F1F3;
	border-bottom: 0;
	color: #080808;
	text-align: center;
	padding: 2px;
}

td.TableGridDatePickerToday {
	border: 2px solid black;
	font-weight: bold;
}

td.TableGridDatePickerSelected {
	background-color: rgba(255, 220, 40, 0.5);
	color: #333333;
	font-weight: bold;
}

.TableGridDatePickerWeekend {
	background-color: #C6C7C9;
}

.TableGridDatePickerFooter {

}

.HighlightRow {
	background-color: #FFFFDD;
}

.LowlightRow {
	color: #CCCCCC;
}


#Calendar {
	position: absolute;
	top: 5px;
	left: 5px;
	right: 170px;
	bottom: 5px;
}

#SideCalendar {
	position: absolute;
	top: 5px;
	right: 5px;
	bottom: 5px;
	width: 160px;
}


.FakeLink {
	cursor: pointer;
}


.InvoiceDisable > td:not([rowspan])
{
	text-decoration:line-through;
}

.Required.Empty {
	border: #DD0000 solid 2px;
	height: 22px;
}

.Required.Filled {
	border: #888888 solid 1px;
}

.SmallPadding td {
	padding: 1px;
}

.SmallPadding img {
	margin: 0 2px;
}

/* Tab Styles */
.tab {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
}

.tab button:hover {
	background-color: #ddd;
}

.tab button.active {
	background-color: #ccc;
}

.tabcontent {
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}

.tabcontent {
	animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

@keyframes fadeEffect {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}


/* Jquery UI */

.ui-autocomplete {
	z-index: 2000;
	border: 3px solid black;
}

.ui-menu-item-wrapper {
	font-size:14px;
	font-weight: bold;
}

.ui-autocomplete-loading {
	background: white url("images/ui-spinner.gif") right center no-repeat;
}

/* Full Calendar Overrides */

:root {
	--fc-today-bg-color: #FFFFFF;
}

.fc-timegrid-slot {
	height: 21px !important;
	border-bottom: 0 !important;
}