div.box div.top,
div.box div.center,
div.box div.centercenter,
div.box div.bottom {
 clear:both;
}

div.box {
 clear:both;
 position: relative;
 display: block;
}
div.box#job-card {
  display: inline-block;
  width: calc(100% - 20px);
}

div.box div.top {
 background:transparent url(../images/hoverback.png) top center repeat-x;
}
div.box div.top a.closewindow span {
 display:none;
}
div.box div.top a.closewindow {
 display:block;
 width:48px;height:18px;
 background:transparent url(../images/inactive-close.png) top center no-repeat;
}
div.box div.top a.closewindow:hover {
 background-image:url(../images/active-close.png);
}

div.box div.topcenter {
 height:25px;
 background:#57A0D3;
 color:#EEF5FA;
 line-height:23px;
}
div.box div.topcenter > div {
 background:transparent url(../images/hoverback.png) center top repeat-x;
}

div.box div.centercenter {
 background:#DDECF6;
 padding:0px 23px;
 border-left:1px solid #57A0D3;
 border-right:1px solid #57A0D3;
 position: relative;
}
div.box div.bottomcenter {
 height:25px;
 line-height:24px;
 font-size:10px;
 background:#DDECF6;
 border:1px solid #57A0D3;
 border-top:0px;
}

/** default BOX colors **/
div.box div.top#orange div.topcenter {
 border:1px solid #E85130;
}
div.box div.bottom#orange div.bottomcenter {
 border:1px solid #E85130;
 border-top:0px;
}
div.box div.topcenter#orange {
 background:#E85130;
}
div.box div.centercenter#orange {
 background:#FADCD5;
 border-color:#E85130;
 border-width:1px;
}
div.box div.bottomcenter#orange {
 background:#FADCD5;
}

/** default BLUE colors **/
div.box div.top#blue div.topcenter {
 border:1px solid #192A40;
}
div.box div.bottom#blue div.bottomcenter {
 border:1px solid #192A40;
 border-top:0px;
}
div.box div.topcenter#blue {
 background:#192A40;
}
div.box div.centercenter#blue {
 background:#D1D4D8;
 border-color:#192A40;
 border-width:1px;
}
div.box div.bottomcenter#blue {
 background:#D1D4D8;
}

/** default red colors **/
div.box div.topcenter#red {
 background:#F32730;
 border-bottom:1px solid #F32730;
 color:#FDE9EA;
}
div.box div.centercenter#red {
 padding-top:10px;
 background:#FCD3D5;
 border-color:#F32730;
 color:#F32730;
}
div.box div.bottomcenter#red {
 background:#FCD3D5;
 border-color:#F32730;
 height:10px;
}

/** default green colors **/
div.box div.topcenter#green {
 background:#408000;
 border-bottom:1px solid #408000;
 color:#EBF2E5;
}
div.box div.centercenter#green {
 padding-top:10px;
 background:#D8E5CC;
 border-color:#408000;
 color:#408000;
}
div.box div.bottomcenter#green {
 background:#D8E5CC;
 border-color:#408000;
 height:10px;
}

div.box div.top,
div.box div.top > div {
 border-top-left-radius:10px;
 border-top-right-radius:10px;
 -moz-border-radius-topleft:10px;
 -moz-border-radius-topright:10px;
}
div.box div.top div.topcenter > div {
 border-top-left-radius:9px;
 border-top-right-radius:9px;
 -moz-border-radius-topleft:9px;
 -moz-border-radius-topright:9px;
}
div.box div.top div.topleft,
div.box div.top div.topright {
 display:none;
}
div.box div.top div.topcenter div.title {
 padding-left:10px;
}

div.box,
div.box div.bottom,
div.box div.bottom div {
 border-bottom-left-radius:10px;
 border-bottom-right-radius:10px;
 -moz-border-radius-bottomleft:10px;
 -moz-border-radius-bottomright:10px;
}
div.box div.bottom div.bottomleft,
div.box div.bottom div.bottomright {
 display:none;
}
div.box div.bottom div.bottomcenter {
 padding-left:10px;
}
.box {
 margin:10px 10px 0px 10px;
}


.calendar {
 clear: both;
}

.calendar[compact="false"] .calendar-header,
.calendar:not([compact]) .calendar-header {
 padding-right: 20px;
}

.calendar-day-cell.calendar-navigation {
 text-align: left;
}

.calendar-day-cell {
 text-align: center;
 width: 14.3%;
}

.calendar-day-cell.sunday,
.calendar-day-cell.saturday {
 width: 7%;
 text-align: center;
}

.calendar[compact] .calendar-hour {
 height: 0px;
 border-width: 0 1px 0 0;
}

.calendar[compact] .calendar-hour.working-hour {
 height: auto;
}

.calendar[compact] .calendar-hours .calendar-hour {
 height: 0px;
}

.calendar[compact] .calendar-hours {
 visibility: hidden;
}

.calendar[compact] .calendar-content {
 overflow: hidden;
}

.calendar .joblink {
 display: block;
 float: left;
 margin-left: 1px;
 position: relative;
 min-width: 20%;
 text-align: center;
 text-decoration: none;
 background-color: #fff;
 padding: 0 2px;
 box-sizing: border-box;
 height: 21px;
 line-height: 21px;
}

.calendar .joblink.complete,
.calendar .joblink.cancelled {
 display: none;
}

.calendar .joblink.urgent {
 background-color: #c00;
 color: white;
}

.calendar[compact="false"] .calendar-hour,
.calendar:not([compact]) .calendar-hour {
 height: 1em;
}

.calendar-content .calendar-hour {
 text-align: left;
 line-height: 1.3em;
}

.calendar-content .calendar-hour.working-hour {
 height: 3em;
}

.calendar[compact] .calendar-content {
 height: auto;
 overflow: visible;
}

.calendar[compact="false"] .calendar-content,
.calendar:not([compact]) .calendar-content {
 height: 36em;
}

.calendar-content {
 position: relative;
 overflow: auto;
 font-size: 0.8em;

}

.calendar-day-cell .small {
 font-size: 0.8em;
 line-height: 1.3em;
}

div#planning div.bottomcenter {
 height:8px;
}
.calendar-content {
 border: 1px solid #aaa;
}
.calendar-content .calendar-day-cell {
 position: relative;
}
.calendar-content .calendar-day-cell:before {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 top: 0;
 bottom: 0;
 border-left: 1px solid #aaa;
}
.calendar-content .calendar-hours:before {
 display: none;
}

.calendar .joblink:hover::after {
 content: attr( info);
 white-space: nowrap;
 position: absolute;
 top: 85%;
 right: 120%;
 text-decoration: none;
 padding: 2px 1em;
 background: #fe0;
 border: 1px solid #888;
 z-index: 9999;
 color: black;
}
*:target {
 background-color: #ffa;
}

body {
 font-family:"Verdana",sans-serif;
 font-size:12px;
 color:#004;
 margin:7px;

 background-color:#f0f0f0;
}
div#debugErrorData {
 position:absolute;bottom:0px;left:0px;width:100%;
}
body div#markertopleft {
 position:absolute;left:0%;top:0%;width:20px;height:20px;background-color:#f00;z-index:-1;
 visibility:hidden;
}
body div#markerbottomright {
 position:absolute;right:0px;bottom:0px;width:20px;height:20px;background-color:#f00;z-index:-1;
 visibility:hidden;
}
ins {
 width: 100% !important;
}
a img {
 border:0px;
 text-decoration:none;
}
div.link a img {
 position:relative;top:3px;
 margin-right:5px;
}

div.maincontent {
 background:#ffffff;
  width:820px;
  margin-left:auto;margin-right:auto;
 border:1px solid #ccc;
 border-radius:10px;
 -moz-border-radius:10px;
}


div.mainheader {
  background:white url(../integration/logo.jpg) 18px 0px no-repeat;
  background-size: auto 75px;
 clear:both;
 max-height: 85px;
 padding-bottom: 10px;

 position: relative;
}
div.maintop {
 clear:both;
}
div.mainbottom {
 clear:both;
}
div.footer {
 height:25px;line-height:25px;
 padding-left:10px;padding-right:10px;
 clear:both;
 font-size:10px;
}
div.systemlogout {
 position: absolute;
 top: 0;
 right: 0;
}
/*** DIV TABLE ***/
div.row {
 clear:both;
 min-height:21px;
 margin-bottom:2px;
 position: relative;
}
div.clear {
 clear:both;
}
div.cell {
 float:left;
 line-height:22px;
 min-height:21px;
}

#simplesearch * div.cell.advancedsearch {
    float:right;
    margin:5px;
}

#simplesearch * div.cell.advancedsearch a {
    font-size:10px;
    color:#008;
}
.filters div.cell.quickfilter {
    float:right;
    margin:5px;
    padding: 0px 5px;
    background:#E85130;
}
.filters div.cell.quickfilter a {
    font-size:12px;
    font-weight: bold;
    color:#FCEDEA;
    text-decoration: none;
}

td.title,
div.title {
 font-weight:bold;
 padding-right:5px;
}
.timesheet .title {
 padding-right:1mm;
 line-height: 1.2em;
}
.timesheet .title small {
 font-weight: normal;
}

div.topcenter div.title {
 text-shadow: #444 2px 2px 3px;
 white-space: nowrap;
}

/*** MAIN BOX STYLES ***/
form {
 padding:0px;
 margin:0px;
 position: relative;
}
form input,
form textarea {
 font-family:monospace;
 font-size:13px;
 border:1px solid #aaa;
 background:white;
 padding:2px;
 margin:0px;
}
form input.input_image {
 border:none;
 padding:0px;
}
form textarea {
 overflow:auto;
 resize: none;
}
form input[type="file"] {
 padding:0px;
}

input[readonly],
textarea[readonly],
input.readonly,
textarea.readonly {
 background-image:none !important;
 color:#aaa;
 padding:2px !important;
 cursor:default !important;
}
input.checkbox {
 border:none !important;
 background-color:transparent !important;
 margin-right:3px;
}

textarea.website,
input.website {
 background-image:url(../images/icons/world.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.email,
input.email {
 background-image:url(../images/icons/email.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
input.password {
 background-image:url(../images/icons/key.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
input.date {
 background-image:url(../images/icons/calendar.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
#ui-datepicker-div {
 z-index: 10000 !important;
}
textarea.number,
input.number {
 background-image:url(../images/icons/number.png);
 background-position:99% center;
 background-repeat:no-repeat;
}
textarea.text,
input.text {
 background-image:url(../images/icons/textfield.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
input.money {
 background-image:url(../images/icons/money.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
input.dropdown {
 background-image:url(../images/icons/bullet_arrow_down.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}

textarea.name,
textarea.user,
input.name,
input.user {
 background-image:url(../images/icons/user.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.address,
input.address {
 background-image:url(../images/icons/house.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.time,
input.time {
 background-image:url(../images/icons/time.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.phone,
input.phone {
 background-image:url(../images/icons/phone.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.comment,
input.comment {
 background-image:url(../images/icons/comment.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}
textarea.search,
input.search {
 background-image:url(../images/icons/find.png);
 background-position:99% 2px;
 background-repeat:no-repeat;
}

textarea.shadowfield,
input.shadowfield {
 background-image:none;
}

input[type="date"]::-webkit-clear-button,
input[type="date"]::-webkit-inner-spin-button {
 display: none;
}
input[type="date"]::-webkit-calendar-picker-indicator {
 background: transparent;
 color: transparent;
}
label {
 position: relative;
}
label[readonly] {
 color: #aaa;
}
form:not([status="cancelled"]):not([status="complete"]):not([status="closed"]) label[name="complete"][readonly]:hover:before {
 content: "Job can only be completed once all sub jobs are closed";
 white-space: nowrap;
 position: absolute;
 top: 24px;
 text-decoration: none;
 background: #ffc;
 border: 1px solid navy;
 line-height: 1em;
 padding: 4px;
 font-size: 0.8em;
 z-index: 9990;
}
form:not([status="closed"]) label[name="closed"][readonly]:hover:before {
 content: "Job can only be closed once completed";
 white-space: nowrap;
 position: absolute;
 top: 24px;
 right: 0px;
 text-decoration: none;
 background: #ffc;
 border: 1px solid navy;
 line-height: 1em;
 padding: 4px;
 font-size: 0.8em;
 z-index: 9990;
}
form[parentID="0"][status="complete"] label[name="closed"]:hover:before {
 content: "To close a job card, please enter an invoice number or comment and attach a document. Also, select an employee.";
 white-space: pre-wrap;
 position: absolute;
 width: 200px;
 top: 15px;
 right: -50px;
 text-decoration: none;
 background: #ffc;
 border: 1px solid navy;
 line-height: 1em;
 padding: 4px;
 font-size: 0.8em;
 z-index: 9990;
}

/*** ERROR BOX ***/
div#errorbox div.topcenter#red {
 background:#F32730;
 color:#FDE9EA;
 height:24px;border-bottom:1px solid #800;
}
div#errorbox  div.centercenter {
 padding:4px;
 text-align:center;
}
div#errorbox  div.bottomcenter {
 height:8px;
}

/*** TOP BOX ***/
div.filelist {
 border-top:1px dotted #0F1926;
}
div.filelist .row {
 background:#E8E9EB;
 color:#0F1926;
}

div.maintop div.topcenter#blue {
 background:#192A40;
 color:#E8E9EB;
 font-weight:bold;
 height:24px;border-bottom:1px solid #0F1926;
}
div.maintop div.topcenter#blue * {
 color:#E8E9EB !important;
}
div.maintop div.centercenter {
 padding:5px 9px 5px 9px; /* */
}
div.maintop div.bottomcenter {
 height:24px;border-top:1px solid #008;
 font-weight:bold;
 color:#402F19;
}

div.maintop div.title {
 width:100px;
 font-size:12px;
}
div.filelist div.row {
 height:16px;
 font-size:11px;
 line-height:16px;
}
div.filelist div.row:hover {
 color:#E8E9EB;
 background-color:#192A40 !important;
}
div.filelist div.row div.cell {
 height:16px;
 font-size:11px;
 line-height:16px;
}
input.jobnumber {
 border:none !important;
 background:transparent !important;
 font-size:18px;font-weight:bold;line-height:16px;
 color:#c00;
}

/*** BOTTOM BOXES ***/
div.mainbottom div.topcenter#blue {
 background:#192A40;
 color:#E8E9EB;
 font-weight:bold;
 height:24px;border-bottom:1px solid #008;
}
div.mainbottom div.centercenter {
 padding:5px 9px 1px 9px; /* */
}
div.mainbottom div.bottomcenter {
 height:8px;
}

div#error div.topcenter#orange,
div.mainbottom div.topcenter#orange {
 background:#E85130;
 color:#FCEDEA;
 font-weight:bold;
 height:24px;border-bottom:1px solid #f93;
}
div.action {
 float:left;
 line-height:20px;
 font-size:10px;font-weight:bold;
}
div.mainbottom div.link {
 /*text-align:center;*/
}
div.mainbottom div.link a {
 color:#E85130;
}
div.mainbottom div.link a img {
 border:none;
 position:relative;top:3px;
 margin-right:5px;
}

/*** SEARCH RESULTS ***/
div#search-results td.BB {
 color:#192A40;
 font-weight:bold;
 border-bottom:1px solid #192A40;
}
div#search-results div.centercenter#blue a {
 color:#192A40;
}
div#search-results div.bottomcenter#blue {
 color:#192A40;
}
div#search-results div.bottomcenter#blue a {
 color:#192A40;
}
div#search-results tr.odd {
 background:#E8E9EB;
}
div#search-results tr.odd *,
div#search-results tr.even * {
 color:#192A40;
}

small.status-changed-date {
 font-size: 0.8em !important;
 clear: both;
 display: block;
 width: 100%;
}

/*** ADVANCED SEARCH ***/
div#advanced-search div.topcenter {
 background:#57A0D3;
 color:#EEF5FA;
 font-weight:bold;
 height:24px;border:1px solid #008;
 cursor:move;
}
div#advanced-search div.bottomcenter {
 height:20px;
}

#search-results {
 margin:10px 10px 20px 10px;
}
#search-results .centercenter * {
 font-size: 1em;
}

#authenticate {
 margin:20px auto 10px auto !important;
}
#authenticate .centercenter {
 padding:5px;
}
#authenticate form input {
 border-color:#E85130;
}
#authenticate div.title {
 color:#FCEDEA;
}
#authenticate button {
 background:transparent;
 font-weight:bold;
 margin:0px;
 padding:0px;
 border:0px;
 text-decoration:underline;
 color:#E85130;
}
#authenticate form {
 color:#8B301C;
}


/*** NEW PO JOBCARDS LIST ***/
#new-purchase-order-job-cards .row:hover {
 background-color: #FCEDEA;
}
#new-purchase-order-job-cards .bottom .bottomcenter {
 height: 10px;
}
/*** NEW PO JOBCARDS LIST ***/


/*** ON/OFF switch ***/
label.switch[status] {
 position: relative;
 display: block;
 width: 70px;
 height: 20px;
 line-height: 20px;
 background: #ccc;
}
label.switch[status] input {
 visibility: hidden;
}
label.switch[status]:before,
label.switch[status]:after {
 content: attr( status);
 position: absolute;
 z-index: 9;
 color: #fff;
 text-align: center;
 width: 40px;
 height: 20px;
 left: 0;
 top: 0;
}

label.switch[status="YES"]:after {
 content: "";
 z-index: 8;
 width: 15px;
 height: 0;
 border: 20px solid transparent;
 border-bottom-width: 0;
 border-top-color: green;
 border-left-color: green;
}

label.switch[status="NO"]:before {
 left: auto;
 right: 0;
}
label.switch[status="NO"]:after {
 content: "";
 z-index: 8;
 width: 15px;
 left: auto;
 right: 0;
 height: 0;
 border: 20px solid transparent;
 border-top-width: 0;
 border-bottom-color: red;
 border-right-color: red;
}
label.switch[status="..."]:before,
label.switch[status="..."]:after {
 display: none;
}
/*** ON/OFF switch ***/

/*** NEW LOOK INVITATION ***/
.newlookinvitation {
 position: relative;
 float: right;
 width: 48.2%;
 height: 35px;
 text-align: center;
 margin: 10px;
 line-height: 35px;
 font-size:2em;
 font-weight: bold;
 color: #0a0;
}
.newlookinvitation a {
 color: #f50;
 display: block;
}
.newlookinvitation a:hover {
 background-color: #e30;
 color: #fff;
 text-decoration: none;
}
.newlookinvitation div.msg {
 font-size: 10px;
 line-height: 1em;
 position: absolute;
 width: 100%;
 height: 1em;
 cursor: pointer;
}
.newlookinvitation div.msg:hover {
 background-color: #080;
 color: #fff;
}
/*** NEW LOOK INVITATION ***/


.helpInfoHelp {
 float: left;
 width: 2em;
 height: 2em;
 font-size: 3em;
 line-height: 2em;
 text-align: center;
 background: #0a0;
 color: #fff;
 font-weight: bold;
 border-radius: 2em;
 margin-right: 1em;
}

*[help] .helpinfo * {
 color: inherit;
 font-family: sans-serif;
 display: initial;
}
*[help] .helpinfo li {
 display: list-item;
 margin-left: 20px;
}
*[help] .helpinfo a {
 color: #00a !important;
 text-decoration: underline;
 line-height: inherit;
 background: inherit;
}
*[help] .helpinfo a:hover {
 background: inherit;
}
*[help] .helpinfo {
 color: #000;
  display: none;
  position: absolute;
 width: 20px;
 height: 20px;
 overflow: hidden;
 margin-left: -6px;
 margin-top: -6px;
 z-index: 9990;
}
#issuetracker[help] .helpinfo {
 margin-left: 15px;
 margin-top: 15px;
}
*[help]:hover .helpinfo {
 display: block;
}
*[help] .helpinfo::before {
 content: "?";
 position: absolute;
 width: 14px;
 text-align: center;
 font-weight: bold;
 color: #fff;
 background: #0a0;
 border-radius: 10px;
 font-size: 10px;
 line-height: 14px;
 cursor: help;
 border: 2px solid #fff;
 z-index: 9990;
}
*[help] .helpinfo .inlinehelp {
 display: none;
 background: #ffc;
 color: #000;
 padding: 1em;
 font-size: 10px;
 min-width: 35em;
 line-height: 1.2em;
 border: 1px solid #44a;
 position: absolute;
 left: 10px;
 top: 10px;
 z-index: 9990;
}
*[help] .helpinfo:hover {
 overflow: visible;
 z-index: 9999;
}
*[help] .helpinfo:hover .inlinehelp {
 display: block;
 z-index: 9999;
}

