html {
  box-sizing: border-box;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
dialog,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
  float: none !important;
}
table,
th,
td {
  vertical-align: middle;
}
blockquote,
q {
  quotes: "" "";
}
a img {
  border: none;
}

/* typography.css */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  color: #111;
}
h1 {
  font-size: 2em;
  line-height: 1;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.6em;
  margin-bottom: 0.75em;
}
h3 {
  font-size: 1.4em;
  line-height: 1;
  margin-bottom: 1em;
}
h4 {
  font-size: 1.2em;
  line-height: 1.25;
  margin-bottom: 1.25em;
}
h5 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 1.5em;
}
h6 {
  font-size: 1em;
  font-weight: bold;
}
h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
  margin: 0;
}
p {
  margin: 1em 0;
}
.left {
  float: left !important;
}
p .left {
  margin: 1.5em 1.5em 1.5em 0;
  padding: 0;
}
.right {
  float: right !important;
}
p .right {
  margin: 1.5em 0 1.5em 1.5em;
  padding: 0;
}
a:hover {
  color: #09f;
  text-decoration: underline;
}
a {
  color: var(--col2);
  text-decoration: none;
}
blockquote {
  margin: 1.5em;
  color: #666;
  font-style: italic;
}
strong,
dfn {
  font-weight: bold;
}
em,
dfn {
  font-style: italic;
}
sup,
sub {
  line-height: 0;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
}
address {
  margin: 0 0 1.5em;
  font-style: italic;
}
del {
  color: #666;
}
pre {
  margin: 1.5em 0;
  white-space: pre;
}
pre,
code,
tt {
  font: 1em "andale mono", "lucida console", monospace;
  line-height: 1.5;
}
li ul,
li ol {
  margin: 0;
}
ul,
ol {
  margin: 0 1.5em 1.5em 0;
  padding-left: 1.5em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
dl {
  margin: 0 0 1.5em 0;
}
dl dt {
  font-weight: bold;
}
dd {
  margin-left: 1.5em;
}
table {
  margin-bottom: 1.4em;
  width: 100%;
}
th {
  font-weight: bold;
}
thead th {
  background: #c3d9ff;
}
th,
td,
caption {
  color: black;
  padding: 4px 10px 4px 5px;
}
tfoot {
  font-style: italic;
}
caption {
  background: #eee;
}
.small {
  font-size: 0.8em;
  margin-bottom: 1.875em;
  line-height: 1.875em;
}
.large {
  font-size: 1.2em;
  line-height: 2.5em;
  margin-bottom: 1.25em;
}
.hide {
  display: none;
}
.quiet {
  color: #666;
}
.loud {
  color: #000;
}
.highlight {
  background: #ff0;
}
.added {
  background: #060;
  color: #fff;
}
.removed {
  background: #900;
  color: #fff;
}
.first {
  margin-left: 0;
  padding-left: 0;
}
.last {
  margin-right: 0;
  padding-right: 0;
}
.top {
  margin-top: 0;
  padding-top: 0;
}
.bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* grid.css */
.container {
  max-width: 910px;
  margin: 0 auto;
}
.column,
.span-1,
.span-2,
.span-3,
.span-4,
.span-5,
.span-6,
.span-7,
.span-8,
.span-9,
.span-10,
.span-11,
.span-12,
.span-13,
.span-14,
.span-15,
.span-16,
.span-17,
.span-18,
.span-19,
.span-20,
.span-21,
.span-22,
.span-23,
.span-24 {
  float: left;
  margin-right: 10px;
}
.last {
  margin-right: 0;
}
.span-1 {
  width: 30px;
}
.span-2 {
  width: 70px;
}
.span-3 {
  width: 110px;
}
.span-4 {
  width: 150px;
}
.span-5 {
  width: 190px;
}
.span-6 {
  width: 230px;
}
.span-7 {
  width: 270px;
}
.span-8 {
  width: 310px;
}
.span-9 {
  width: 350px;
}
.span-10 {
  width: 390px;
}
.span-11 {
  width: 430px;
}
.span-12 {
  width: 470px;
}
.span-13 {
  width: 510px;
}
.span-14 {
  width: 550px;
}
.span-15 {
  width: 590px;
}
.span-16 {
  width: 630px;
}
.span-17 {
  width: 670px;
}
.span-18 {
  width: 710px;
}
.span-19 {
  width: 750px;
}
.span-20 {
  width: 790px;
}
.span-21 {
  width: 830px;
}
.span-22 {
  width: 870px;
}
.span-23 {
  width: 910px;
}
.span-24 {
  width: 950px;
  margin-right: 0;
}
input.span-1,
textarea.span-1,
input.span-2,
textarea.span-2,
input.span-3,
textarea.span-3,
input.span-4,
textarea.span-4,
input.span-5,
textarea.span-5,
input.span-6,
textarea.span-6,
input.span-7,
textarea.span-7,
input.span-8,
textarea.span-8,
input.span-9,
textarea.span-9,
input.span-10,
textarea.span-10,
input.span-11,
textarea.span-11,
input.span-12,
textarea.span-12,
input.span-13,
textarea.span-13,
input.span-14,
textarea.span-14,
input.span-15,
textarea.span-15,
input.span-16,
textarea.span-16,
input.span-17,
textarea.span-17,
input.span-18,
textarea.span-18,
input.span-19,
textarea.span-19,
input.span-20,
textarea.span-20,
input.span-21,
textarea.span-21,
input.span-22,
textarea.span-22,
input.span-23,
textarea.span-23,
input.span-24,
textarea.span-24 {
  border-left-width: 1px;
  border-right-width: 1px;
  padding-left: 5px;
  padding-right: 5px;
}
input.span-1,
textarea.span-1 {
  width: 18px;
}
input.span-2,
textarea.span-2 {
  width: 58px;
}
input.span-3,
textarea.span-3 {
  width: 98px;
}
input.span-4,
textarea.span-4 {
  width: 138px;
}
input.span-5,
textarea.span-5 {
  width: 178px;
}
input.span-6,
textarea.span-6 {
  width: 218px;
}
input.span-7,
textarea.span-7 {
  width: 258px;
}
input.span-8,
textarea.span-8 {
  width: 298px;
}
input.span-9,
textarea.span-9 {
  width: 338px;
}
input.span-10,
textarea.span-10 {
  width: 378px;
}
input.span-11,
textarea.span-11 {
  width: 418px;
}
input.span-12,
textarea.span-12 {
  width: 458px;
}
input.span-13,
textarea.span-13 {
  width: 498px;
}
input.span-14,
textarea.span-14 {
  width: 538px;
}
input.span-15,
textarea.span-15 {
  width: 578px;
}
input.span-16,
textarea.span-16 {
  width: 618px;
}
input.span-17,
textarea.span-17 {
  width: 658px;
}
input.span-18,
textarea.span-18 {
  width: 698px;
}
input.span-19,
textarea.span-19 {
  width: 738px;
}
input.span-20,
textarea.span-20 {
  width: 778px;
}
input.span-21,
textarea.span-21 {
  width: 818px;
}
input.span-22,
textarea.span-22 {
  width: 858px;
}
input.span-23,
textarea.span-23 {
  width: 898px;
}
input.span-24,
textarea.span-24 {
  width: 938px;
}
.border {
  padding-right: 4px;
  margin-right: 5px;
  border-right: 1px solid #ddd;
}
.colborder {
  padding-right: 24px;
  margin-right: 25px;
  border-right: 1px solid #ddd;
}
.box {
  padding: 1.5em;
  margin-bottom: 1.5em;
  background: #e5ecf9;
}
hr {
  background: #ddd;
  color: #ddd;
  clear: both;
  float: none;
  width: 100%;
  height: 1px;
  margin: 0 0 17px;
  border: none;
}
hr.space {
  background: #fff;
  color: #fff;
  visibility: hidden;
}
.clearfix:after,
.container:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}
.clearfix,
.container {
  display: block;
}
.clear {
  clear: both;
}

@media only print {
  body {
    line-height: 1.5;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #000;
    background: none;
    font-size: 10pt;
  }
  .container {
    background: none;
  }
  hr {
    background: #ccc;
    color: #ccc;
    width: 100%;
    height: 2px;
    margin: 2em 0;
    padding: 0;
    border: none;
  }
  hr.space {
    background: #fff;
    color: #fff;
    visibility: hidden;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif;
  }
  code {
    font: 0.9em "Courier New", Monaco, Courier, monospace;
  }
  a img {
    border: none;
  }
  p img.top {
    margin-top: 0;
  }
  blockquote {
    margin: 1.5em;
    padding: 1em;
    font-style: italic;
    font-size: 0.9em;
  }
  .small {
    font-size: 0.9em;
  }
  .large {
    font-size: 1.1em;
  }
  .quiet {
    color: #999;
  }
  .hide {
    display: none;
  }
  a:link,
  a:visited {
    background: transparent;
    font-weight: 700;
    text-decoration: underline;
  }
}

/**********
 main
 *********/
body {
  color: #222;
  background-color:var(--background, white);
  line-height: 1.5;
  font: normal 10pt Arial, Helvetica, sans-serif;
}

/*********
 sections
 ********/
.headmain {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.headcol {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  margin: 0 auto;
}
.logo img {
  height: 100px;
  width: auto;
}

.loggedinas {
  text-align: right;
}

.loggedinas_loggedin {
  padding-right: .5em;
  text-align: center;
}

.contactdetail {
  display:flex;
  flex-direction: column;
  text-align: center;
  font-size: 120%;  
}

.contactdetail > div {
  padding-bottom: .5em;
}

.contactdetail_high {
  position: absolute;
  padding-top: .3em;
  left: 50%;
  transform: translate(-50%, 22px);
  display: none;
}

.contactdetail_low {
  display: block;
}

.mainicons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: .7em;
  padding-bottom: .3em;
}

.mainicon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mainicon-image {
  width: 36px;
  height: auto;
  fill: var(--col1);
  stroke: var(--col1);
}

.mainicon-text {
  padding: 0.1em 0.8em;
  white-space: nowrap;
}

.mainicon a {
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--col2);
}

.mainicon svg {
  fill: var(--col1);
  stroke: var(--col1);
}

.mainicon svg:hover {
  fill: var(--btnclick);
  stroke: var(--btnclick);
}

.mainicon.login .mainicon-image {
  width: 46px;
}

table.detail-view th {
    width: auto;
}

@media screen and (min-width: 450px)  {
  .headcol {
    width: 50%;
  }
  .mainicons {
    flex-wrap: nowrap;
  }
  table.detail-view th {
      width: 160px;
  }
}

@media screen and (min-width: 660px)  {
  .contactdetail_high {
    display: block;
  }
  .contactdetail_low {
    display: none;
  }
  .logo {
    margin: 0;
  }
  .loggedinas {
    text-align: right;
  }
  .mainicons {
    justify-content: flex-end;
  }
} 

.fillpage {
  min-height: 100%;
  width: 100%;
  overflow:hidden;
}

.sidebar {
  width: 150px; 
}

.layout1col {
  min-height: 100%;
}

.layout2col {
  min-height: 100%;
}

.column2responsive {
	width: 100%;
    display: flex;
    flex-direction: column;
}

.column2responsive__top {
    width: 100%;
    display: flex;
}
.column2responsive .sidebar {
	margin-right: 1em;
}

.photoanalytics {
	width: 100%;
	display: flex;
}
.photoanalyticscolumn {
	width: 100%;
}

.photoanalyticscolumn + .photoanalyticscolumn {
	margin-left: 5px;
	flex-grow: 1;
}
@media only screen and (max-width: 650px) {
	.photoanalytics {
		flex-direction: column; 
	}
	.photoanalyticscolumn + .photoanalyticscolumn {
		margin-top: 1em;
	}
}

@media only screen and (max-width: 910px)  {
  div.scroll {
    min-height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }  
} 

#page {
  background-color: var(--col3);
  min-height:100%;
}

#header {
  margin: 0;
  padding: 0;
  border-top: 3px solid #c9e0ed;
}

#content {
  padding: 0 0 1em 0;
  background: var(--col3);
  min-height: 100%;
  width: 100%;
}

#sidebar {
  padding: 0px 0px 0px 0px;
}

.footcolumns {
	width: 100%;
  display: flex;
  flex-wrap: wrap;
	justify-content: space-between;
}
.footcolumn {
  display: flex;
  text-align: center;
  margin: 0 auto;
}
.footcolumn_left {
  flex-wrap: wrap;
  text-align: left;
	justify-content: center;
}
.footcolumn_right {
	flex-direction: column;
	justify-content: flex-start;
}
.footitem {
	padding: .25em;
	font-size: 12px;
	background-color: rgb(235, 236, 236);
	border-radius: 4px;
	margin: 3px;
}
@media only screen and (min-width: 384px)  { /* 226+130+gap */
  .footcolumns {
    flex-wrap: nowrap;
  }
  .footcolumn {
    text-align: right;
    margin: 0;
  }
  .footcolumn_left {
    justify-content: flex-start;
    text-align: left;
  }
}
@media only screen and (min-width: 226px)  {
  .footinfo {
    width: 226px;
  }
}
@media only screen and (min-width: 130px)  {
  .footlink {
    width: 130px;
  }
}
.footlink a {
  text-decoration: none;
  color: var(--col2);
}
.footlink a:hover {
  color: orange;
}
.footlink_bottom {
	justify-self: flex-end;
}
.foot_social div {
    float: left;
    margin-right:10px;
    position: relative;
    left: -50%;
}

div.flash-error,
div.flash-notice,
div.flash-success {
  padding: 0.8em;
  border: 2px solid #ddd;
}

div.flash-error {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}

div.flash-notice {
  background: #fff6bf;
  color: #514721;
  border-color: #ffd324;
}

div.flash-success {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}

div.flash-error a {
  color: #8a1f11;
}

div.flash-notice a {
  color: #514721;
}

div.flash-success a {
  color: #264409;
}

div.form .rememberMe label {
  display: inline;
}

div.quickbook h1 {
  color: var(--col3);
}

div.quickbook form table tbody tr td label {
  color: var(--col3);
}

div.quickbook {
  padding: 14px 14px;
  margin: 0;
  border: 0px solid rgb(20, 47, 80);
  background: var(--col2);
}

div.admin,
div.view {
  padding: 0 0 10px 0;
  margin: 0;
  border: 0px solid rgb(20, 47, 80);
  background: var(--col3);
}

div.adminb,
div.viewb {
  padding: 10px;
  margin: 0 0 4px 0;
  border: 2px solid var(--col2);
  background: var(--col3);
}

div.viewbfootnote {
  margin-top: 20px;
}

div.view table {
  margin-bottom: 0px;
}

div.breadcrumbs {
  font-size: 0.9em;
  padding: 5px 20px;
}

div.breadcrumbs span {
  font-weight: bold;
}

div.search-form {
  padding: 10px;
  margin: 10px 0;
  background: #eee;
}

.portlet {
  margin-left: 0px;
}

.portlet-decoration {
  padding: 3px 8px;
  background: #b7d6e7;
  border-left: 5px solid #6faccf;
}

.portlet-title {
  font-size: 12px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  color: #298dcd;
}

.portlet-content {
  font-size: 0.9em;
  margin: 0px 0px 15px 0;
  padding: 0px 0px;
  background: var(--col2);
}

.portlet-content ul {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.portlet-content li {
  padding: 0px;
  color: var(--col3);
}

.operations {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.operations li {
  padding-bottom: 0px;
}

.operations li a {
  font: bold 16px Arial;
  color: var(--col3);
  display: block;
  padding: 6px;
  line-height: 15px;
  text-decoration: none;
}

.operations li a:visited {
  color: var(--col3);
}

.operations li a:hover {
  background: var(--col3);
  padding: 6px;
  color: var(--col1);
}

.operations li.active a {
  color: white;
  background-color: var(--col1);
}

.mainmenu > ul {
  box-shadow: #999 0 8px 10px -4px;
}

.mainmenu::after {
  content: " ";
  display: inline-block;
  height: 18px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip span {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: .4rem .8rem;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover span {
  visibility: visible;
}

@media only screen and (min-width: 400px) {
  .tooltip span {
    width: 300px;
  }
}

/************
 form
 ***********/

div.form input,
div.form textarea,
div.form select {
  margin-top: 0.2em;
  margin-bottom: 0.5em;
  width: 100%;
}

div.form input[type='checkbox'] {
  width: auto;
  margin-left: 0;
}

div.form fieldset {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 0 0 10px 0;
  border-radius: 7px;
}

div.form label {
  font-weight: bold;
  font-size: 0.9em;
  display: block;
}

div.form .row {
  margin: 5px 0;
}

div.form .hint {
  margin: 0;
  padding: 0;
  color: #999;
}

div.form .note {
  font-style: italic;
}

div.form span.required {
  color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error {
  color: #c00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error {
  background: #fee;
  border-color: #c00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success {
  background: #e6efc2;
  border-color: #c6d880;
}

div.form .errorSummary {
  border: 2px solid #c00;
  padding: 7px 7px 12px 7px;
  margin: 0 0 20px 0;
  background: #fee;
  font-size: 0.9em;
}

div.form .errorMessage {
  color: red;
  font-size: 0.9em;
}

div.form .errorSummary p {
  margin: 0;
  padding: 5px;
}

div.form .errorSummary ul {
  margin: 0;
  padding: 0 0 0 20px;
}

div.wide.form label {
  float: left;
  margin-right: 10px;
  position: relative;
  text-align: right;
  width: 100px;
}

div.wide.form .row {
  clear: left;
}

div.wide.form .buttons,
div.wide.form .hint,
div.wide.form .errorMessage {
  clear: left;
  padding-left: 110px;
}

/**
 * System Alerts
 */
.systemalert {
  width: 100%;
  display: flex;
  font-size: 1.6em;
  margin-bottom: 0.5em;
}
.systemalert + .systemalert {
  margin-bottom: 0;
}
.systemalert__name {
  padding-right: 0.5em;
}
.systemalert__tip {
  max-width:90vw;
}
.systemalert__tip::before {
  content: "\01F6C8";
}
.systemalert__action {
  margin-left: auto;
}

/* AbleFormat pin */
.addrpin { 
  width: 100%;
  display: flex;
}

/**********
 job
 *********/

.head {
  display: none;
}

div.signup h1 a {
  text-decoration: none;
}

.person-name {
  width: 20%;
  float: left;
}

.user-roles {
  width: 80%;
}

table.table2col tbody tr td {
  vertical-align: top;
  width: 50%;
}

div.view-functions {
  float: right;
  width: 164px;
}

div.view-functions a {
  display: block;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  /*vertical-align: center;*/
  min-width: 90px;
  height: 20px;
  margin: 0px;
  padding: 5px 8px;
  color: #ffffff;
  text-decoration: none;
  background: url("bg.gif") repeat-x scroll;
  border: 0px solid black;
}

div.view-functions a:hover {
  background: orange;
}

div.address-line-holder {
  min-height: 58px;
}

div.address-holder {
  min-height: 175px;
}

div.address-image {
  float: left;
  width: 180px;
}

div.address-info {
  float: left;
}

div.attendant {
  min-height: 175px;
}

div.attendant-image {
  float: left;
  width: 180px;
}

div.attendant-info {
  float: left;
}

div.client-holder {
  min-height: 175px;
}

div.client-logo {
  float: left;
  width: 260px;
}

div.client-info {
  float: left;
  padding: 4px;
  border: 1px solid black;
  background: yellow;
  width: 38%;
}

span.client-name {
  font-size: 16pt;
}

div.company-holder {
  min-height: 175px;
}

div.company-logo-holder {
  float: left;
  width: 260px;
}

div.company-info-holder {
  float: left;
}

div.job-image {
  float: left;
  width: 160px;
}

div.job-info {
  /*float: left;*/
  width: 713px;
}

div.job-info-c1 {
  font-weight: bold;
  float: left;
  width: 64px;
  overflow: hidden;
  white-space: nowrap;
}

div.job-info-c2 {
  float: left;
  width: 286px;
  overflow: hidden;
  white-space: nowrap;
}

div.job-info-c3 {
  margin-left: 10px;
  font-weight: bold;
  float: left;
  width: 144px;
  overflow: hidden;
  white-space: nowrap;
}

div.job-info-c4 {
  float: left;
  width: 197px;
  overflow: hidden;
  white-space: nowrap;
}

div.job-info table td {
  padding: 0px;
}

div.property {
  min-height: 175px;
}

div.property-image {
  float: left;
  width: 235px;
}

div.property-info {
  float: left;
}

table.job-summary {
  border-collapse: collapse;
  border: 0px solid #ff0000;
}

table.job-summary tbody tr td {
  text-align: center;
}

table.job-summary tbody tr th {
  text-align: center;
  width: 45px;
}

table.job-summary tbody tr td:hover {
  background: orange;
}

.able-address-line {
  display: block;
  background: transparent;
  min-height: 20px;
  border: 0px solid black;
}

.able-address-line span {
  font-weight: bold;
}

div.action-list a {
  display: block;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  min-width: 48px;
  height: 20px;
  margin: 0px;
  padding: 5px 8px;
  color: #ffffff;
  text-decoration: none;
  float: right;
  background: url("bg.gif") repeat-x scroll;
  border: 0px solid black;
}

div.action-list a:hover {
  background: orange;
}

.medbtn,
input[type="submit"] {
  background: var(--col1);
  border-radius: 6px;
  border: none;
  display: inline-block;
  color: var(--col3) !important;
  font-family: arial;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 12px;
  text-decoration: none;
  text-align: center;
}

.medbtn:disabled,
input[type="submit"]:disabled {
  background-color: var(--btndisabled);
  text-decoration: none;
  color: var(--col3);
}

.medbtn:hover {
  background-color: var(--btnclick);
  text-decoration: none;
  color: var(--col3);
}

.medbtn:hover:disabled {
  background-color: var(--btndisabled);
  text-decoration: none;
  color: var(--col3);
}

.medbtn:active,
input[type="submit"]:active {
  position: relative;
  top: 1px;
  text-decoration: none;
  color: var(--col3);
}

.btn-success {
  background-color: var(--col1);
  background-image: none;
}

.btn-success:hover {
  background-color: var(--btnclick);
}

.tasks {
  margin-bottom: 12px;
}

.frontpage_services_overview {
  display: none;
}

.frontpage_headline {
  text-align: center;
  font-family: Georgia, "Times New Roman", Serif;
  color: var(--col2);
  font-size: 48px;
  font-weight: bold;
  margin-left: -20px;
  margin-bottom: 10px;
}

.frontpage_desc {
  color: var(--col2);
  font-size: 18px;
  padding-bottom: 20px;
}

.frontpage_client {
  font-family: Georgia, "Times New Roman", Serif;
  font-size: 42px;
  font-weight: bold;
  color: var(--col3);
  background: var(--col2);
  height: 175px;
  text-align: center;
}

.frontpage_signup {
  font-family: Georgia, "Times New Roman", Serif;
  font-size: 42px;
  font-weight: bold;
  color: var(--col3);
  background: var(--col1);
  height: 175px;
  text-align: center;
}

a#agents {
  display: inline-block;
  padding-top: 10px;
  color: var(--col3);
  text-decoration: none;
}
a#agents:hover {
  color: var(--col1);
}
a#agents:active {
  position: relative;
  top: 1px;
}

a#landlords {
  display: inline-block;
  padding-top: 59px;
  color: var(--col3);
  text-decoration: none;
}
a#landlords:hover {
  color: var(--col1);
}
a#landlords:active {
  position: relative;
  top: 1px;
}

a#signup {
  display: inline-block;
  padding-top: 59px;
  color: var(--col3);
  text-decoration: none;
}
a#signup:hover {
  color: var(--col2);
}
a#signup:active {
  position: relative;
  top: 1px;
}

.login-form {
  background-color: rgb(230, 230, 230);
  max-width: 230px;
  padding: 1em 1.25em 0.5em 1em;
  border-radius: 4px;
  margin: 0 auto;
}

.login-form label,
.login-form input,
.login-form textarea,
.login-form select {
  width: 100%;
}
.login-form label {
    padding-top:7px;
}
.sameline {
  display: flex;
  justify-content: space-between;
}

#frontpage table {
  margin: 0;
}

#frontpage-video {
  text-align: center;
}

#frontpage-video iframe {
  border: 0px;
}

.splitpage {
  display: flex;
  flex-wrap: wrap;
}

.splitpage__half {
  width: 100%;
  flex-grow: 1;
}

@media only screen and (min-width: 550px) {
  .splitpage__half {
    width: 50%;
  }
}

.static_page {
  padding: 0em 0em 1em 0em;
  font-family: calibri;
  font-size: 1.3em;
  color: var(--col2);
  background: var(--col3);
}

.static_page h1,
.static_page h2,
.static_page p {
  margin-left: 10px;
  margin-right: 10px;
}
.static_page h1 {
  font-size: 3em;
  font-weight: bold;
  font-family: Helvetica, Arial, Sans-Serif;
  color: var(--col1);
  margin-bottom: 20px;
}

.static_page h2 {
  font-size: 1.4em;
  font-weight: bold;
  font-family: Calibri, Arial, Sans-Serif;
  color: var(--col2);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.static_headline {
  font-family: Calibri, Arial, Sans-Serif;
  font-size: 1.3em;
  color: var(--col3);
  padding: 10px;
  background: var(--col1);
  height: 100%;
}

.static_page img {
  width: 100%;
}

.static_page a {
  text-decoration: underline;
}

.strapline {
  text-align:center;
  font-size:20px;
  margin-bottom:20px;
}

.hiwsteps {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.hiwstep {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  vertical-align: middle;
}

.hiwstep__title {
  width: 100%;
  font-size: 3em;
  color: var(--col3);
  background-color: var(--col1);
  padding: 1rem;
}

.hiwstep__description {
  width: 100%;
  font-size: 1.5em;
  font-weight: bold;
  color: var(--col3);
  background-color: darkslategray;
  padding: 1rem;
  flex-grow: 1;
}

/* Signup link */
a.hiwsignup {
  border-radius: 15px;
  background-color: yellow;
  color: red;
  padding: 3px 10px;
  white-space: nowrap;
}
a.hiwsignup:hover {
  color: lightblue;
}

.hiw_signup {
  margin-top: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  color: var(--col3);
  background: var(--col2);
  text-align: center;
  width: 100%;
  font-size: 3em;
  font-family: Georgia, "Times New Roman", Serif;
  font-weight: bold;
  margin-bottom: 20px;
}

.hiw_signup a {
  color: var(--col3);
  text-decoration: none;
  font-weight: normal;
  font-family: verdana, Geneva, sans-serif;
}

.hiw_signup a:hover {
  color: var(--col1);
}

.hiw_signup a:active {
  position: relative;
  top: 1px;
}

@media only screen and (max-width: 400px) {
  .static_page h1 {
    font-size: 2rem;
  }
  .hiw_signup {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 550px) {
  .hiwstep {
    width: 32%;
    min-height: 8em;
  }
}

html body div#page.container div div#content div.static_page div.span-18 {
  font-size: 24px;
  color: var(--col2);
  background: var(--col1);
}

h2.prices_category {
  font-size: 24px;
  color: var(--col2);
}

.prices_product {
  font-size: 24px;
  color: var(--col3);
  background: var(--col1);
}

.prices_charge {
  color: var(--col3);
  background: var(--col1);
  font-size: 24px;
  font-weight: bold;
  text-align: right;
  width: 40px;
}

.prices_vat {
  color: var(--col3);
  background: var(--col1);
  vertical-align: bottom;
  font-size: 16px;
  width: 15px;
}

.prices_description {
  color: var(--col2);
}

.headbar {
  height: 36px;
}

.tbhead {
  font-size: 1.6em;
  padding-bottom: 6px;
  margin-left: 10px;
}

.tbicon {
  float: right;
}

.tbicon:active {
  position: relative;
  top: 1px;
}

/* Sales css */
div#topclient-grid.grid-view table.items tbody tr td:nth-child(n + 2),
div#salesday-grid.grid-view table.items tbody tr td:nth-child(n + 2),
div#salesbymonth-grid.grid-view table.items tbody tr td:nth-child(n + 3),
div#salesbymonth-grid.grid-view table.items tfoot tr td:nth-child(n + 3),
div#topclient-grid.grid-view table.items tfoot tr td:nth-child(n + 2),
div#kashflowinvoice-grid.grid-view table.items tbody tr td:nth-child(n + 5) {
  text-align: right;
}

div.portlet-content span.tag a,
div.portlet-content ul li a {
  color: var(--col3);
  font-weight: bold;
}

div#product-grid.grid-view table.items tbody tr td:nth-child(n + 4) {
  text-align: right;
}

div#tasksbyday-grid.grid-view table.items tbody tr td:nth-child(n + 3) {
  width: 19px;
  text-align: center;
}

div#contacts div table tbody tr th:nth-child(1) {
  width: 140px;
}
div#contacts div table tbody tr th:nth-child(2) {
  width: 140px;
}

@media only screen and (max-width: 450px) {
  #contact-form td {
    display: block;
  }
}

/* CGridView */

.grid-view-loading {
  background: url("/css/gridview/loading.gif") no-repeat scroll 0 0 transparent;
}
.grid-view {
  padding: 0;
}
.grid-view table.items {
  background: none repeat scroll 0 0 var(--col3);
  border: 1px solid #d0e3ef;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0px;
}
.grid-view table.items th,
.grid-view table.items td {
  border: 1px solid rgb(20, 47, 80);
  font-size: 0.9em;
  padding: 0.3em;
}
.grid-view table.items th {
  background: var(--col2);
  color: var(--col3);
  text-align: center;
}
.grid-view table.items th a {
  color: #eeeeee;
  font-weight: bold;
  text-decoration: none;
}
.grid-view table.items th a:hover {
  color: #ffffff;
}
.grid-view table.items th a.asc {
  background: url("/css/gridview/wup.gif") no-repeat scroll right center
    transparent;
  padding-right: 10px;
}
.grid-view table.items th a.desc {
  background: url("/css/gridview/wdown.gif") no-repeat scroll right center
    transparent;
  padding-right: 10px;
}
.grid-view table.items tr.even {
  background: none repeat scroll 0 0 white;
}
.grid-view table.items tr.odd {
  background: none repeat scroll 0 0 white;
}
.grid-view table.items tr.selected {
  background: none repeat scroll 0 0 #bce774;
}
.grid-view table.items tr.selected:hover {
  background: none repeat scroll 0 0 #ccff66;
}
.grid-view table.items tbody tr:hover {
  background: none repeat scroll 0 0 #ecfbd4;
}
.grid-view .link-column img {
  border: 0 none;
}
.grid-view .button-column {
  text-align: center;
  width: 64px;
}
.grid-view .button-column img {
  border: 0 none;
}
.grid-view .checkbox-column {
  width: 15px;
}
.grid-view .summary {
  margin: 0 0 5px;
  text-align: right;
}
.grid-view .pager {
  margin: 5px 0 0;
  text-align: right;
}
.grid-view .empty {
  font-style: italic;
}
.grid-view .filters input,
.grid-view .filters select {
  border: 1px solid #cccccc;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.role-assignment {
  display: flex;
  align-items: flex-start;
}

.role-list {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 0;
}

.role-assignments {
  align-items: flex-end;
}

.role-availables {
  align-items: flex-start;
}

.role-entry {
  display: flex;
  padding: 0.5em;
  height: 3em;
}

.role-name {
  padding: 0.5em;
  font-size: larger;
  align-self: center;
}

.role-icon {
  width: 30px;
  height: auto;
  fill: var(--col1);
  stroke: var(--col1);
  padding: 0.5em 0.5em 0;
}

.role-icon-active {
  cursor: pointer;
}

.field-title {
  width:15%;
  vertical-align:top;
  padding-top: 0.8em;
}

.field-input {
  width:60%;
}

.roledots {
 display:flex;
}

/*************
* Planner
**************/
.planner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.plannerweek {
  margin-top: .5em;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.plannerweek__head {
	width: 100%;
	display: flex;
	padding: .3em;
	border: 1px solid black;
	background-color: ivory;
}
.plannerweek__expander {
	padding: .6em;
	margin: .4em;
	border: 1px solid black;
	color: var(--col3);
	font-weight: bold;
	background-color: var(--col1);
}
.plannerweek__name {
	width: 100%;
	padding: .3em;
	font-size: 1em;
	display: flex;
	justify-content: space-between;
}

.plannerweek__days {
	width: 100%;
  display: flex;
	background-color: ivory;
	border-right: 1px solid black;
}

.plannerday {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
	flex-grow: 1;
}

.plannerday__name {
	width: 100%;
	text-align: center;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	padding: .5em 1.5em;
	flex: 1;
}

.plannerday__periods {
  display: flex;
  flex-direction: column;
}

.plannerperiod { /* Am/Pm */
  width: 100%;
  display: flex;
  /* background-color: cornflowerblue;   */
}

.plannerperiod__name {
	width: 100%;
	height: 100%;
  padding: .2em;
  text-align: center;
  vertical-align: middle;
	align-self: center;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}

.plannerperiod__hours {
	width: 100%;
  display: flex;
  flex-direction: column;
}

.plannerhour {
	width: 100%;
  text-align: center;
  /* background-color: cyan; */
	display: flex;
}
.plannerhour__name {
	width: 100%;
  padding: .2em .3em;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}
.plannerhour__mins {
	width: 100%;
  display: flex;
	flex-wrap: wrap;
}

.plannerminrow {
	width: 100%;
	display: flex;
}
.plannermin {
	width: 100%;
  padding: .2em;
	border-left: 1px solid black ;
	border-bottom: 1px solid black ;
}
/* 
.plannerday__name:hover,
.plannerperiod__name:hover,
.plannerhour__name:hover,
.plannermin:hover {
  background-color: red;
}
*/
.requested {
	background-color: yellow;
}

.needatt th,td { vertical-align: top; }
.an { 
  max-width: 200px;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:wrap; 
}
.an:hover { 
  cursor: pointer;
  background-color: lightgrey;
}

.dashrow {
  display: flex;
	width: 100%;
  justify-content: space-between;
}

.dashhead {
	font-weight:bold;
}

.dashgrid {
	display: grid;
	grid-row-gap: 8px;
	grid-column-gap: 1em; 
}

.dashcomplete5 {
	grid-template-columns: min-content 1fr 1fr min-content min-content;
}
.dashcomplete8 {
	grid-template-columns: min-content minmax(0, auto) repeat(2, minmax(60px, 1fr)) min-content repeat(2, minmax(60px, 1fr)) min-content;
}

.overflow_ellipsis {
	overflow:hidden;
	text-overflow: ellipsis;
}

.medbtn_fixedheight {
	height: 31px;
}

@media only screen and (max-width: 920px) {
  div.form {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media only screen and (min-width: 920px) {
  .static_page h1,
  .static_page h2,
  .static_page p {
    margin-left: 0;
    margin-right: 0;
  }
  .tbhead {
    margin-left: 0;
  }
}

tr.todo td {
  font-weight: bold;
  background-color: orange;
}

td.button-column a.view img, td.button-column a.update img, td.button-column a.delete img { height:16px; width:16px; }