/* Page body */
html {
 font-size: 14px;
}

body {
	/* Fixed navbar will overlay page content, need padding*/
	padding-top: 60px;
	/* Background image */
	/*background-image: url("/static/images/bgtest.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;*/
	/*background-size: 400px;*/
}


/* No padding for pages that are printer friendly */
body.print {
	padding-top: 0px;
}
/**/


/* Navbar width and margins */
.navbar-fixed-top {
  margin-left: 20px;
  margin-right: 20px;
}
/**/


/* Allow text on 2 lines */
.navbar-brandz {
  line-height: 15px;
  font-size: 15px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-app-logo {
  width: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
/**/

/* Content box width and margins */
.container {
  width: 96%;
  margin-left: 25px;
  margin-right: 25px;
}
/**/


/* Multilevel drop-down menu */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
/**/


/* Hide the x close dialog button */
.ui-dialog-titlebar-close {
    visibility: hidden;
}
/**/


/* Custom flash categories. Bootstrap provides aler-info, alert-warning, alert-danger. */
.alert-error {
    background-image: linear-gradient(to bottom, #ff3019 0px, #cc1a00 100%);
    background-repeat: repeat-x;
    border-color: #cc0000;
    color: white;
}
/**/


/* Mark labels of required fields with star */
.control-label.required:after {
	content: "*";
	color: red;
}
.drl.required:after {
	content: "*";
	color: red;
}
/**/


/* Increase width of labels from 160 to 180 (20 pixels) */
.form-horizontal .control-label {
	width: 180px;
}
/**/


/* Shift controls to right by the same increase (180 -> 200, 20 pixels) */
.form-horizontal .controls {
	margin-left: 200px;
}
/**/


/* Directly rendered fields */
.drf_has_error {
	border: 1px solid #B94A48 !important;
}
input[type="checkbox"].drf_has_error {
	outline: 1px solid #B94A48 !important;
}
/**/


/* Move a form control to the left */
.move-left {
  width: auto;
  box-shadow: none;
}
/**/


/* Checkboxlist */
.cblist {
	background-color: #ffffff;
	border: 1px solid #cccccc;
	width: 220px;
	height: 160px;
	overflow: auto;
	border-radius: 4px;
}
.cblist.has_error {
	border: 1px solid #B94A48;
}
.cblist li {
	list-style-type: none;
}
.cblist li input {
	display: inline;
	margin-bottom: 4px;
	margin-left: -25px;
  vertical-align: middle;
}
.cblist li label {
	display: inline;
	color: #555555;
	margin-left: -15px;
	vertical-align: middle;
	float: none;
}
.cblist.containers {
	width: 600px;
}
.cblist.containers li input {
	margin-left: 0px;
}
.cblist.containers li label {
	margin-left: -10px;
}
.cblist.containersdlg {
	width: 600px;
}
.cblist.containersdlg li input {
	margin-left: 5px;
}
.cblist.containersdlg li label {
	margin-left: 10px;
}
/**/


/* Elements inside a formgrid table */
.formgrid td {
	padding-top: 5px;
	padding-bottom: 5px;
	/*white-space: nowrap;*/
	vertical-align: top;
}
.formgrid label.col-form-label {
  white-space: nowrap;
}
.formgrid label {
	width: auto;
	float: right;
	padding-left: 20px;
	padding-right: 10px;
	margin-top: 8px;
}
.formgrid label.label-left {
	float: left;
}
.formgrid .narrow {
	width: 120px;
}
.formgrid label.fieldvalue {
	float: left;
}
.formgrid label.drl {
	color: grey;
}
.formgrid label.drl.has_error {
	color: #B94A48;
}
.formgrid label.ro:after {
	content: ":";
}
.formgrid ul {
	white-space: normal;
}

/* Date picker corrections*/
.formgrid td < div.input-group.date {
  position: relative;
}
.formgrid div.input-group.date {
  width: 220px;
  /*padding-left: 15px;*/
}
.formgrid div.form-group {
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 6px;
}
/**/


/* Width presets */
.w12 {width: 12px;}
.w14 {width: 14px;}
.w16 {width: 16px;}
.w18 {width: 18px;}
.w20 {width: 20px;}
.w25 {width: 25px;}
.w30 {width: 30px;}
.w35 {width: 35px;}
.w40 {width: 40px;}
.w45 {width: 45px;}
.w50 {width: 50px;}
.w55 {width: 55px;}
.w60 {width: 60px;}
.w65 {width: 65px;}
.w70 {width: 70px;}
.w75 {width: 75px;}
.w80 {width: 80px;}
.w85 {width: 85px;}
.w90 {width: 90px;}
.w95 {width: 95px;}
.w100 {width: 100px;}
.w120 {width: 120px;}
.w140 {width: 140px;}
.w150 {width: 150px;}
.w160 {width: 160px;}
.w180 {width: 180px;}
.w200 {width: 200px;}
.w220 {width: 220px;}
.w240 {width: 240px;}
.w250 {width: 250px;}
.w260 {width: 260px;}
.w300 {width: 300px;}
.w350 {width: 350px;}
.w400 {width: 400px;}
.w450 {width: 450px;}
.w500 {width: 500px;}
.w550 {width: 550px;}
.w600 {width: 600px;}
.w650 {width: 650px;}
.w700 {width: 700px;}
.w750 {width: 750px;}
.w800 {width: 800px;}
/**/


/**/
.number {
  text-align: right;
}
.nowrap {
  white-space: nowrap;
}
.center {
  text-align: center;
}
/**/


/* Glyphicon styling */
.icon-white {
	color: #FFFFFF !important;
}
.icon-red {
	color: #FF0000 !important;
}
.icon-green {
	color: green !important;
}
.icon-black {
	color: #000000 !important;
}
.icon-blue {
	color: #0000FF !important;
}
.icon-violet {
	color: #800080 !important;
}
.icon-orange {
	color: #FF8C00 !important;
}
td .icon {
  font-size: 14px !important;
}
legend .icon {
  font-size: 16px !important;
}
/**/


/* Use images for yes/no or True/False.  Need to check IE for correct rendering! */
.img-yes {
	/*width: 100%;*/
	background: url('/static/images/yes.png') no-repeat center center;
}
.img-no {
	/*width: 100%;*/
	background: url('/static/images/no.png') no-repeat center center;
}
/**/


/* Bootstrap adjustments*/
label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
    max-width: 100%;
}
select {
    background-color: #fff;
    border: 1px solid #ccc;
    width: 220px;
}
select, input[type="file"] {
    height: 30px;
    line-height: 30px;
}
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    border-radius: 4px;
    color: #555;
    display: inline-block;
    /*font-size: 14px;*/
    /*height: 20px;*/
    /*line-height: 20px;*/
    margin-bottom: 5px;
    padding: 4px 6px;
    vertical-align: middle;
}
label, input, button, select, textarea {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
}
input[type=checkbox] {
  width: 16px;
  height: 16px;
}
/* Center checkbox inputs in table cells */
td.table-cell-cb {
  text-align: center;
  vertical-align: middle;
}
/**/


/* jquery-ui + boost corrections*/
.lims-dlg {
	padding: 10px;
}
/* Prevent partial shading when opening dialog while not beeing at the top of the page */
.ui-widget-overlay {position:fixed}
/**/


/* Table for HLA entry forms */
/*table.rowform {
  border:1px solid black;
}*/
table.rowform td, th {
  padding-left:   10px;
  padding-right:  10px;
}
table.rowform td:first-child, th:first-child {
  padding-left:   20px;
}
table.rowform th {
  padding-top: 8px;
  border-bottom: 1px solid black;
  margin-bottom: 10px;
}
table.rowform td {
  padding-top: 2px;
  padding-bottom: 0px;
  border: none;
}
table.rowform label {
  padding: 0px;
  margin-top: 0px;
}
/**/


/* Color picker */
span.colorpicker {
  height: 20px;
  padding-top: 4px;
  padding-bottom: 0px;
}
span.colorpicker input {
  width: 30px;
}
/**/


/* pointer above icons  */
a.icon {
  cursor: pointer;
}
/**/


/* Transaction table */
table.transaction-details td, table.transaction-details th {
  border: 1px solid black;
}
table.transaction-details th {
  padding-left: 10px;
  padding-right: 10px;
  background-color: black;
  color: white;
}
table.transaction-details td {
  padding-left: 10px;
  padding-right: 10px;
}
table.transaction-details td.changed-value {
  background-color: #ffff00;
}
table.transaction-details td.field-modified {
  background-color: #ffff00;
}
/**/


/* TEST */
button.align-left {
  float: left;
}
button.align-right {
  float: right;
}
/**/


/* Center checkbox inputs in table cells */
td.table-cell-cb {
  text-align: center;
  vertical-align: middle;
}
/**/


/* Correct mis-aligned header and body in scrollable datatable */
table.dt_scrollable {
  margin-left: 0px !important;
}
/**/
/* Small Checkbox */
label.cb-label-small {
  margin-left: -15px;
  margin-right: -10px;
  float: none;
  font-size: 12px;
}

.ms-options-wrap > button:focus, .ms-options-wrap > button {
  margin-bottom: 5px;
}

/* fixed header */
table.dataTable {
    position: relative;
}

table.dataTable thead th, table.dataTable thead td {
    position: sticky;
    top: 40px;
    background: white !important;
}
}
