@media all {

  html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
  }

	body {
		background-color	: #ffffff;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
	}

  * {
    font-family       : Tahoma, Arial;
    font-size         : 14px;
    text-align        : left;
  }

  #ajaxLoader {
    visibility        : hidden;
    position          : absolute;
    top               : 0;
    left              : 0;
    width             : 100%;
    /*height            : 85%;*/
    z-index           : 1000;
    text-align        : center;
    padding-top        : 15%;
    background-color  : transparent;
  }

  div.ajaxLoaderContent {
    width: 300px;
    height: 100px;
    padding-top: 50px;
    text-align: center;
    margin: 0 auto;
    background: #ffffff;
  }

  #ajaxOverlay {
    visibility        : hidden;
    position          : fixed;
    top               : 0;
    left              : 0;
    width             : 100%;
    height            : 95%;
    z-index           : 1000;
    text-align        : center;
    padding-top       : 5%;
    background-color  : transparent;
    max-height: 800px !important;
    overflow: auto; 
  }
  
  #ajaxOverlay div {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  #partEditDiv, #structureDetailsDiv {
    visibility        : hidden;
    position          : absolute;
    top               : 0;
    left              : 0;
    width             : 60%;
    height            : 95%;
    z-index           : 1000;
    text-align        : center;
    padding-top        : 5%;
    background-color  : transparent;
    padding-left      : 20%;
    padding-right      : 20%;
  }
  
  #topsection{
    border-bottom: 3px inset black;
    padding: 0 0 10px 0;
  }

  #contentwrapper{
    float: left;
    width: 100%;
    text-align: left;
  }

  #contentcolumn{
    margin-left: 230px;
    padding: 8px 0;
  }

  #leftcolumn{
    float: left;
    width: 200px; /*Width of left column*/
    margin-left: -100%;
    padding: 8px 0;
  }

  #footer {
    clear: left;
    border-top        : 1px solid #00744A;
    padding           : 0;
    margin            : 8px auto;
    width             : 100%;
  }

  #footer p {
    text-align        : right;
    padding-right     : 1em;
  }

  .headerTable {
    margin            : 0;
    margin-bottom     : 0;
    padding-top       : 8px;
    width             : 100%;
    background        : transparent;
  }

  .headerTable td.leftSide {
    width             : 20%;
    margin            : 0;
    padding           : 0;
    padding-left      : 20px;
    text-align        : left;
  }

  .headerTable td.rightSide {
    width             : 80%;
    margin            : 0;
    padding           : 0;
    padding-right     : 20px;
    text-align        : right;
  }

  .userInfo {
    border        : none;
    width         : 305px;
    background    : #ffffff;
  }

  .userInfo caption {
    background-color  : #ffffff;
    border            : none;
    font-family       : Tahoma, Arial;
    font-size         : 12px;
    text-decoration   : none;
    color              : #000000;
    text-align        : left;
    font-weight        : bold;
    width              : 304px;
    text-indent        : 4px;
    padding           : 4px 0;
    border-bottom: 1px solid #00744A;
    border-left: 1px solid #00744A;
  }

  .userInfo td {
    padding            : 4px;
    text-align: right;
    border-right: 1px solid #00744A;
  }

  .login {
     width             : 300px;
     margin            : 0 auto;
     text-align        : center;
     padding-top       : 20px;
  }

  .machineCardTabArea {
    height            : 25px;
    width             : auto;
  }

  #tabContent {
    float              : left;
    height            : 24px;
    padding-top        : 2px;
    padding-left      : 4px;
    padding-right      : 0px;
    margin-right      : 0px;
    background-color  : #ffffff;
  }

  #tabContent a {
    text-decoration    : none;
    font-weight        : normal;
    font-size          : 14px;
    color              : #ffffff;
    background-color: #00744A;
    padding: 0 8px;
  }

  #tabContent a.selected {
    color              : #333333;
    font-weight        : normal;
    background-color: #ffffff;
    border-bottom: 1px solid #00744A;
    border-right: 1px solid #00744A;

    border-left: 1px solid #00744A;
    padding: 0 8px;
  }

  input {
    font-family : Tahoma, Arial;
    font-size   : 12px;
    color       : #000000;
    width       : 100%;
    margin-right: 4px;
    border-top      : 1px solid #00744A;
    border-left      : 1px outset #00744A;
    border-right      : 1px inset #00744A;
    border-bottom      : 1px inset #00744A;
  }

  select {
    font-family: Tahoma, Arial;
    font-size: 11px;
    color: #000000;
    width       : 100%;
    margin-right: 4px;
    border-top      : 1px solid #00744A;
    border-left      : 1px outset #00744A;
    border-right      : 1px inset #00744A;
    border-bottom      : 1px inset #00744A;
  }

  textarea {
    width       : 98%;
    height              : 150px;
    margin-right: 4px;
    border-top      : 1px solid #00744A;
    border-left      : 1px outset #00744A;
    border-right      : 1px inset #00744A;
    border-bottom      : 1px inset #00744A;
  }

  textarea.small {
    width       : 98%;
    height              : 50px;
    margin-right: 4px;
    border-top      : 1px solid #00744A;
    border-left      : 1px outset #00744A;
    border-right      : 1px inset #00744A;
    border-bottom      : 1px inset #00744A;
  }

  .button {
    color: rgb(255,255,255);
    border: 2px outset #00744A;
    background-color: #00744A;
    font-size:12px;
    font-family: Tahoma, Arial;
    font-weight: normal;
    vertical-align: bottom;
    text-align: center;
    height: 22px;
    width : auto;
    padding: 0px 8px 4px 8px;
  }

  .date {
    width         : 80px;
  }

  .radio {
    width: 1em;
  }
  
  .checkbox {
    width: 1em;
  }

  .file {
    width: auto;
  }

  .right {
    text-align        : right;
    margin-right      : 0;
    padding-right     : 0;
  }

  .inaccurate {
    font-style: italic;
  }

  img {
    border:none;
  }

  .redBorder {
    border-color: red;
    border-width: 2px;
  }

  /* XHtmlForm directives */
  .xhtmlForm {
    border        : none;
    font-size     : 12px;
    width         : 100%;
    background    : #ffffff;
    border-right: 1px solid #00744A;
    border-top: 1px solid #00744A;
  }

  .xhtmlForm caption {
    background-color  : white;
    border-left: 1px solid #00744A;
    font-family       : Tahoma, Arial;
    font-size         : 18px;
    text-decoration   : none;
    padding            : 4px 0px 4px 4px;
    color              : #333333;
    text-align        : left;
    font-weight        : bold;
  }

  .xhtmlForm caption img {
    padding: 0;
    margin: 0;
    vertical-align: bottom;
  }

  #highlight, .highlight {
    background-color  : #efefef;
  }

  .xhtmlForm .rightAlign, td.rightAlign  {
    text-align        : right;
  }

  .xhtmlForm th {
    font-family: Tahoma, Arial;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-align : left;
    vertical-align : top;
    width : auto;
    padding: 4px;
  }

  .xhtmlForm td {
    font-family: Tahoma, Arial;
    font-size: 14px;
    color: #000000;
    font-weight: normal;
    text-align : left;
    vertical-align : top;
    width : auto;
    padding: 4px;
  }
  .xhtmlForm .divider {
    background-color  : #000000;
    font-family       : Tahoma, Arial;
    font-size         : 14px;
    text-decoration   : none;
    padding            : 2px;
    color              : #ffffff;
    text-align        : left;
    font-weight        : bold;
  }

  .xhtmlForm td.buttonRow {
    border-top : 1px solid #aaaaaa;
    padding-top : 2px;
    text-align        : right;
  }

  /* MessageClass & message definitions */
  .messageArea {
    width              : 100%;
    margin            : 10px auto;
    line-height        : 1em;
  }

  .messageArea .messageAreaImage {
    vertical-align    : top;
    width              : 40px;
  }

  .messageArea td.ok {
    vertical-align    : bottom;
    text-align        : left;
     color              : green;
  }

  .messageArea td.error {
    vertical-align    : bottom;
    text-align        : left;
    color              : red;
  }

  .messageArea td.info {
    vertical-align    : bottom;
    text-align        : left;
    color              : orange;
  }

  .messageArea td.question {
    vertical-align    : bottom;
    text-align        : left;
    color              : blue;
  }

  /* Fixed width divs */
  .div50, td.div50 {
    width: 50px;
  }
  .div100, td.div100 {
    width: 100px;
  }

  .div150, td.div150 {
    width: 150px;
  }

  .div200, td.div200 {
    width: 200px;
  }

  .div250, td.div250 {
    width: 250px;
  }

  .div300, td.div300 {
    width: 300px;
  }

  .div400, td.div400 {
    width: 400px;
  }

  .div500, td.div500 {
    width: 500px;
  }

  .div600, td.div600 {
    width: 600px;
  }

  .div700, td.div700 {
    width: 700px;
  }

  .div800, td.div800 {
    width: 800px;
  }


  .ownerupdate {
    float : left;
  }

  .ownertable {
    float : right;
  }

  .ownertable table{
    margin-right : auto;
    margin-bottom : 10px;
    border-bottom : 1px dotted black;
    border-right : 1px dotted black;
  }

  .ownertable td, .ownertable th{

    border-top : 1px dotted black;
    border-left : 1px dotted black;
  }

  #naviTd {
    border-bottom : 1px solid black;
    text-align: center;
  }

  input.serialRequired {
    background-color: rgb(255,160,0);
    border: 1px solid red;
  }

  input.failureCode {
    width         : 50px;
  }

  input.failureName {
    width         : 500px;
  }

  div.mcDocuments {
    width         : 100%;
  }

  div.mcDocuments div.documentList {
    float         : left;
    width         : 45%;
  }

  div.mcDocuments div.documentTools {
    float         : right;
    width         : 45%;
  }

  #frontpage {
    margin        : 0;
    width         : 100%;
    font-family   : Tahoma, Arial;
    font-size     : 14px;
  }

  #frontpageLeft {
    text-align        : left;
    width             : 200px;
    padding           : 0 10px;
    background-color  : #efefef;
  }

  #frontpageRight {
    text-align        : left;
    width             : 200px;
    padding           : 0 10px;
    background-color  : #efefef;
  }

  #frontpageCenter {
    text-align    : left;
    width         : auto;
    padding       : 0 4px;
  }

  #frontpageLeft h1, #frontpageRight h1 {
    font-family   : Tahoma, Arial;
    font-size     : 14px;
    font-weight   : bold;
    padding       : 0;
    margin        : 0;
  }

  #frontpageLeft ul, #frontpageRight ul {
    list-style-type : none;
    margin        : 0;
    padding       : 0;
    text-indent   : 0;
    font-size     : 14px;
  }

  #frontpage .date {
    font-size     : 11px;
    font-family   : Tahoma, Arial;
    color         : gray;
  }

  #frontpageLeft ul li, #frontpageRight ul li {
    margin-bottom : 1em;
  }

  #frontpageLeft a:link, #frontpageLeft a:visited, #frontpageRight a:link, #frontpageRight a:visited {
    font-family     : Tahoma, Arial;
    text-decoration : none;
    color           : black;
    font-size       : 12px;
  }

  #frontpageLeft a:hover, #frontpageRight a:hover {
    text-decoration : underline;
    color           : black;
  }

  .required, .compulsory {
    color             : red;
  }

  pre {
    font-family       : monospace;
    display           : block;
  }
  
  .innerTable {
    width: 100%;
  }
  
  .innerTable td, .innerTable th {
    vertical-align: top;
    width: auto;
  }

  table.smallText * {
    font-size: 12px;
  }
  
  .noWrap {
    white-space: nowrap;
  }
  
  .sumTD {
    font-weight: bold;
    border-top: 3px double black;
  }

  #resourceWrapper, #resourceLoadWrapper {
  	border-left: 200px solid transparent;
  	height: 1%;
  	position: relative;
  }
  #resourceWrapper:after, #resourceLoadWrapper:after {
  	content: '.';
  	display: block;
  	clear: both;
  	visibility: hidden;
  	height: 0;
  }
  #resourceContainer, #resourceLoadContainer {
  	width: 100%;
  	float: left;
  	/* overflow: hidden; */
  	overflow: auto;
  	margin-right: -100%;
  }
  #resourceContent, #resourceLoadContent {
  	padding: 0 20px;
  }

  #resourceList {
  	float: left;
  	width: 200px;
  	position: relative;
  	background: transparent;
  	left: -200px;
/*
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-right: 1px solid #00744A;
*/
  }
  
  .calendarWeekday {
    background-color: rgb(235,235,235);

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  .calendarWeekend {
    background-color: #00744A;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  
  .calendarWeekday .calendarBooking {
    border: 2px solid #00744A;
    padding: 4px;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  .calendarWeekend .calendarBooking {
    border: 2px solid #FFFFFF80;
    padding: 4px;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  th.right, td.right {
    text-align        : right;
  }

  #absentLink {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #999999;
  }

  #absentLink a {
    color: #999999;
    text-decoration:none;
  }

  #absentLink a:hover {
    color: #000000;
    text-decoration:none;
  }
}

@media print {
  .menu,
  .buttonRow,
  .button,
  .noPrint,
  #ajaxLoader,
  #leftColumn *,
  #contentWrapper,
  table.userInfo {
    visibility: hidden;
    display   : none;
    width     : 0px;
    height    : 0px;
  }


  #contentColumn {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .xhtmlForm {
    border: none;
    display   : block;
    visibility: visible;
  }

  .xhtmlForm caption {
    border          : none;
    text-decoration : underline;
    font-size       : 12pt;
    font-weight     : bold;
  }
  
  .xhtmlForm td, .xhtmlForm th {
    border-bottom: 1px solid black;
  }

}

.hourBankTable th, .hourBankTable td{
	padding-left: 1px !important;
	padding-right: 1px !important;
	text-align: left !important;
}

table.scrollable{
	border: 1px solid #00744A;
	max-height: 700px !important;
	overflow-y: scroll;
	overflow-x: hidden;
	display: inline;
	float: left;
	width: 1664px;
}

@media screen and (max-width: 1368px){
	table.scrollable{
	  border: 1px solid #00744A;
	  max-height: 500px !important;
	  overflow-y: scroll;
	  overflow-x: hidden;
	  display: inline;
	  float: left;
	  width: 1664px;
	}
}
#maincontainer{
	float: left;
	width: 100%;
}

.inline-block-calendar {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}

#ajaxOverlay .div600 {
  border: 1px solid #555;
  box-shadow: 12px 12px 2px 1px rgba(0, 0, 0, .4);
}

.calendar-entry-image {
  vertical-align: text-top;
  cursor: pointer;
}

.calendar-add-button {
  cursor: pointer;
  text-align: center;
  padding: 2px;
  background-image: url("../images/add.png");
  background-repeat: no-repeat;
  background-position: center;
  height: 16px;
}
.resource-add-button {
  cursor: pointer;
  text-align: center;
  padding: 2px 15px;
  background-image: url("../images/add.png");
  background-repeat: no-repeat;
  background-position: center;
  height: 16px;
}
.resource-remove-button {
  cursor: pointer;
  text-align: center;
  padding: 0px 8px;
  background-image: url("../images/delete.png");
  background-repeat: no-repeat;
  background-position: center;
  height: 16px;
}

.w-100 {
  width: 100%;
  display: flex;
}

#resourceContent table tbody tr td.calendarWeekday > div:hover {
  background-color: #fff;
  opacity: 0.9;
}
#resourceContent table tbody tr td.calendarWeekend > div:hover {
  background-color: #FFFFFF80;
  opacity: 0.9;
}

.generalLoads, .resourceLoads {
  border-right: 1px solid #00744A;
  padding: 8px;
}

.loadSearch {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.loadSearch div > input {
  display: block;
}
.loadSearch div > label {
  display: block;
}

.loadBoxes {
  display: flex;
  flex-wrap: wrap;
}
.loadBoxes .loadBoxContent {
  align-self: flex-end;
}
.loadBoxes div > label {
  text-align: center;
  display: block;
  word-wrap: normal;
  width: 70px;
}
.loadBox {
  text-align: center;
  display: block;
  border: 1px solid #000;
  width: 70px;
  line-height: 28px;
  margin-right: -1px;
}
.loadFrom {
  margin-bottom: 8px;
}
.lowest {
  background-color: rgba(40, 167, 69, 0.2) !important;
}
.lower {
  background-color: rgba(40, 167, 69, 0.4) !important;
}
.medium {
  background-color: rgba(40, 167, 69, 0.6) !important;
}
.higher {
  background-color: rgba(40, 167, 69, 0.8) !important;
}
.highest{
  background-color: rgba(40, 167, 69, 1) !important;
}

div.table {
  display: table;
  /*width: 100%;*/
}
div.tbody {
  display: table-row-group;
}
div.tr {
  display: table-row;

}
div.table div.tbody div.tr > :first-child  {
  border-right: 1px solid #333;
}
div.th {
  display: table-cell;
  font-weight: 700;
  border-bottom: 1px solid #333;
  padding: 5px;
}
div.td {
  display: table-cell;
  padding: 5px;
}
div.table div.tbody div.tr:nth-child(even) {
  background-color: #eee;
}

.loadTotal {
  border-top: 1px solid #333;
}
.loadPeriod {
  font-weight: 700;
  margin-bottom: 8px;
}
.mt-3 {
  margin-top: 8px;
}
.searchDate {
  margin-right: 8px;
}

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

.flex-float-right {
  margin-left: auto;
}

.booking-resources-title {
  width: 180px!important;
}
