.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

body {
  position: relative;
  height: 100%;
  padding: 0;
  padding-top: 50px;
  margin: 0;
  margin-bottom: 0px;
  font-size: 12px;
  /*background-color: #f9f9f9 !important;*/
  min-width: 769px !important;
}

body.modal-open {
  overflow: hidden;
}

body.page-only {
  padding-top: 0px;
}

body.main-page {
  margin-bottom: 100px;
}

.loading {
  cursor: progress !important;
}

input {
  border-radius: 4px;
}
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding-top: 10px;
}

a {
  outline: 0 !important;
}
div.link {
  color: #428bca;
  text-decoration: none;
  cursor: pointer;
}
div.link:hover {
  text-decoration: underline;
}

select {
  width: 100%;
}

.environment-banner {
  position: fixed;
  bottom: 0px;
  z-index: 100000;
}

.col-sm-no-padding {
  padding-left: 0px;
  padding-right: 0px;
}

.logo {
  color: #0072bc;
  font-size: 18px;
  font-weight: bold;
}

.wrapper,
.row {
  margin-left: 0;
  margin-right: 0;
}

.wrapper:before,
.wrapper:after,
.column:before,
.column:after {
  content: "";
  display: table;
}

.wrapper:after,
.column:after {
}

.column {
	height: 100%;
	zoom: 1;
}

.column .padding {
  padding: 20px;
}

#main {
  padding-left: 0px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 0px;
  background-color: #ededed;
}

#sidebar {
  top: 50px;
  bottom: 0px;
  padding: 0px;
  padding-bottom: 44px;
  background-color: #cfcfcf;
  border-top: none !important;
  border-right: 1px solid #b8b8b8;
}

#sidebar,
#sidebar a,
#sidebar-footer a {
  color: #555;
}

#sidebar .nav li {
  border-bottom: 1px solid #b8b8b8;
  min-height: 44px;
}

#sidebar .nav li > a {
  min-height: 42px;
  padding-top: 15px;
  padding-left: 8px !important;
}

#sidebar .nav li > a:hover {
  /*background-color:#393939;*/
  background-color: #b6b6b6;
}

#sidebar table td {
  vertical-align: top;
}

#sidebar .active {
  background-color: #cbcbcb !important;
}

.sidebar-right {
  border-left: 1px solid #ddd;
  top: 50px;
  right: 0px;
  bottom: 0px;
  background: #fff;
}

.indent {
  margin-left: 5px !important;
  margin-right: 5px !important;
}

.hidden {
  display: none;
}

.errorMessage {
  color: red;
  margin: 25px;
}

ul.nav li.dropdown:hover > ul.dropdown-menu {
  display: block;
}

.navbar-default {
  background-color: #446699;
  border-color: #2b4a78;
}
.navbar-default .navbar-brand {
  color: #ecf0f1;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #ebebeb;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ebebeb;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #ebebeb;
  background-color: #2b4a78;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #ebebeb;
  background-color: #2b4a78;
}
.navbar-default .navbar-toggle {
  border-color: #2b4a78;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #2b4a78;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}
.navbar-default .navbar-link {
  color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
  color: #ebebeb;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ebebeb;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ebebeb;
    background-color: #2b4a78;
  }
}

.date {
  width: 100%;
}

.buttonPanel {
  float: right;
}

.twitter-typeahead {
  width: 100%;
}

.tt-hint {
  display: none;
}

.chosen-choices {
  border-radius: 4px !important;
}

.bb-alert {
  bottom: 70px;
  font-size: 1.2em;
  margin-bottom: 0;
  padding: 1em 1.3em;
  position: fixed;
  right: 0;
  z-index: 2000;
}

/* ************** Icons ******************* */

.table-icon-with-text {
  margin-right: 5px;
}
/*
.open-icon {
	background: url('../images/view_next.png') no-repeat !important;
}

.add-icon {
	background: url('../images/add.png') no-repeat !important;
}

.edit-icon {
	background: url('../images/edit.png') no-repeat !important;
}

.remove-icon {
	background: url('../images/delete.png') no-repeat !important;
}

.file-icon {
	background: url('../images/generic_file.png') no-repeat !important;
}

.disabled-icon {
	background: url('../images/delete_disabled.png') no-repeat !important;	
}
*/

span.remove-icon {
  display: inline-block;
  height: 16px;
  width: 16px;
  background: url("../images/delete.png") no-repeat !important;
}

/* adjust the contents on smaller devices */
@media (max-width: 768px) {
  .column .padding {
    padding: 7px;
  }

  .full {
    padding-top: 20px;
  }

  .navbar-blue {
    background-color: #3b5999;
    top: 0;
    width: 100%;
    position: relative;
  }
}

/*
 * off canvas sidebar
 * --------------------------------------------------
 */
@media screen and (max-width: 768px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  .row-offcanvas-left.active {
    left: 33%;
  }

  .row-offcanvas-left.active .sidebar-offcanvas {
    left: 0;
    width: 33%;
    z-index: 10000;
  }
}

/*
*
* affix
*/

/* Extra CSS for HMS 
* Is this naughty? Let me know! - Sam
* a little naughty ;), just make sure the class names are unique to your areas.  could also be moved into formstyle.css - Tony 
*/
.show-more-info {
  cursor: pointer;
}

.label-btn {
  color: #fff !important;
  border-color: #fff;
  width: 50%;
}

.label-btn.active {
  background-color: #15315c;
}

.key-information label {
  color: #fff !important;
  font-size: 16px;
  margin-bottom: 2px;
}

.key-information span {
  font-size: 15px !important;
}

.key-information a {
  color: #fff !important;
  font-size: 15px !important;
}
.key-information button {
  width: 100%;
}
.key-information h3 {
  font-size: 24px !important;
  white-space: normal;
}
.key-information h4 {
  font-size: 20px !important;
  white-space: normal;
  font-weight: bold;
  font-variant: small-caps;
  text-decoration: underline;
}
.key-information div.anchor-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.key-information .headsup-footer {
  margin: 0px 10px 0px 10px;
  padding-bottom: 10px;
}

.toolbar {
  padding: 7.5px 0px;
  border-bottom: 1px solid #c1c1c1;
}

.toolbar h4 {
  margin: 5px;
}

.toolbar-btn {
  margin-right: 12px;
}

.toolbar h4 {
  font-weight: bold;
}

.toolbar span.label {
  margin-left: 4px; /* buffer before number */
}

#toolbarRisks {
  display: inline-block;
  margin-right: 10px;
}

.popover {
  width: 600px;
  max-width: 600px;
}

.popover-content,
.popover-title {
  color: #000000 !important;
}

.popover-title {
  font-size: 14px !important;
}

/*Only need this one if we are applying the data toggle straigh to the i tag rather than a button
.popover-glyph {
	cursor: pointer !important;
}*/

.popover-button {
  background: none !important;
  box-shadow: none !important;
}

.popover-footer .left {
  text-align: left;
}

.popover-footer .right {
  text-align: right;
}

.popover-footer .left button {
  margin-left: 0px;
  margin-right: 12px;
}

.popover-footer .right button {
  margin-left: 12px;
  margin-right: 0px;
}

.dataTable input[type="checkbox"] {
  margin: 0px !important;
  margin-left: 5px !important;
}

.even.row_group td {
  background-color: #717171 !important;
  color: #fff;
}

.even.row_group.row_selected td,
.even.row_group.row_selected_child td {
  background-color: #8b8b8b !important;
}

.odd.row_selected td,
.odd.row_selected_child td {
  background-color: #cae4f1 !important;
}

.even.row_selected td,
.even.row_selected_child td {
  background-color: #dcf1fc !important;
}

li.list_selected {
  background-color: #dcf1fc !important;
}

.popover-table {
  border-collapse: separate !important;
  border-spacing: 5px !important;
}

.popover-table td {
  padding: 3px !important;
}

.bootstrap-switch {
  display: block !important;
}

.wizard-input-section > .form-group {
  margin-right: 0px !important;
}

.morris-hover.morris-default-style {
  background-color: #fff !important;
}

.row-vs-before-1 {
  margin-top: 15px;
}

.tab-box {
  min-height: 300px !important;
  position: relative;
}
.tab-box-bottom-buttons {
  margin-right: 37px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.collapsed-box-body {
  display: none;
}

.form-group input[type="file"] {
  padding-bottom: 27px;
}

.btn-social :first-child {
  font-size: 1.2em !important;
}

#map {
  border: 1px solid #c1c1c1;
  border-radius: 2px;
  margin-bottom: 15px;
}

#main-image-container {
  border: 1px solid #c1c1c1;
  border-radius: 2px;
  margin-bottom: 15px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.touch-box {
  cursor: hand;
  cursor: pointer;
}

.touch-box .icon {
  bottom: -5px !important;
}

.small-box span {
  position: relative;
  z-index: 5;
}

.headsup-button {
  margin-bottom: 15px;
}

.overlay-title-box {
  position: absolute;
  width: 100%;
  height: 50px;
  background: black;
  bottom: -1px;
  opacity: 0.6;
  padding: 12px 15px;
  font-size: 18px;
}

.datepicker {
  z-index: 9999 !important;
}

.full-width {
  width: 100%;
}

span.todo,
div.todo {
  background-color: yellow;
  color: red;
  font-weight: bold;
  margin-top: 2px;
}
span.todopublic,
div.todopublic {
  border: 1px solid red;
  padding: 2px;
  color: red;
  font-variant: small-caps;
  font-weight: bold;
  margin-top: 2px;
}
.btn-dev {
  background-color: purple !important;
  color: CornSilk;
}
div.debugging:before {
  content: "---SHOWN FOR DEVELOPMENT ONLY--- ";
}
div.debugging {
  background-color: CornSilk;
  color: purple;
  font-weight: bold;
  margin-top: 2px;
  border: 1px solid purple;
}
div.testing:before {
  content: "---SHOWN FOR TESTING ONLY--- ";
}
div.testing {
  background-color: CornSilk;
  color: purple;
  font-weight: bold;
  margin-top: 2px;
  border: 1px solid purple;
}
span.document {
  margin-left: 2px;
}
span.document:before {
  content: "\f016";
}
/* ZIP = f1c6*/
span.rar:before {
  content: "\f1c6" !important;
  color: #b8860b;
}
span.zip:before {
  content: "\f1c6" !important;
  color: #b8860b;
}
span.7z:before {
  content: "\f1c6" !important;
  color: #b8860b;
}
span.gz:before {
  content: "\f1c6" !important;
  color: #b8860b;
}
span.tar:before {
  content: "\f1c6" !important;
  color: #b8860b;
}

/* Audio = f1c7 */
span.mp3:before {
  content: "\f1c7" !important;
}
/* Code = f1c9  */
span.c:before {
  content: "\f1c9" !important;
}
span.java:before {
  content: "\f1c9" !important;
}
/* Excel =  f1c3 */
span.xls:before {
  content: "\f1c3" !important;
  color: green;
}
span.xlsx:before {
  content: "\f1c3" !important;
  color: green;
}
/* Image = f1c5 */
span.jpg:before {
  content: "\f1c5" !important;
}
span.jpeg:before {
  content: "\f1c5" !important;
}
span.png:before {
  content: "\f1c5" !important;
}
span.gif:before {
  content: "\f1c5" !important;
}
/* Video = f1c8  */
span.mov:before {
  content: "\f1c8" !important;
}
/* PDF = f1c1  */
span.pdf:before {
  content: "\f1c1" !important;
  color: red;
}
/* Powerpoint = f1c4  */
span.ppt:before {
  content: "\f08e" !important;
}
span.pptx:before {
  content: "\f08e" !important;
}
/* Powerpoint = f1c2   */
span.doc:before {
  content: "\f1c2" !important;
  color: blue;
}
span.docx:before {
  content: "\f1c2" !important;
  color: blue;
}

div.other-heads-up-box {
  text-align: center;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}
div.no-heads-up-outer-box {
  border: 3px dashed lightgray !important;
}

.btn.hmsdisabled {
  box-shadow: none;
  opacity: 0.65;
}

.box-header > .box-title {
  font-weight: bold !important;
}

.navbar-icon i {
  font-size: 30px;
  text-align: center;
  vertical-align: middle !important;
  width: 80px !important;
  color: white;
  margin-top: 10px;
}

.navbar-icon p {
  font-size: 14px;
  text-align: center;
}

.form-result-area,
.total-rent-amount {
  font-size: 16px;
  font-weight: bold;
}

.btn-hms-switch-off {
  width: 54px !important;
  height: 22px !important;
  padding: 0px !important;
  margin: 0px !important;
  background: url("../images/checkbox-no.png") no-repeat 100% !important;
  background-size: 100% !important;
}

.btn-hms-switch-on {
  width: 54px !important;
  height: 22px !important;
  padding: 0px !important;
  margin: 0px !important;
  background: url("../images/checkbox-yes.png") no-repeat 100% !important;
  background-size: 100% !important;
}

.validation-error {
  color: #ffffff !important;
}
.dataTables_length label {
  margin-right: 20px;
}

.alert-danger {
  color: #ffffff;
}

.wizard-row {
  height: 50px !important;
}

.chartjs-tooltip {
  opacity: 1;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px;
  border-radius: 3px;
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
  pointer-events: none;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.chartjs-tooltip-key {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.bootbox-confirm .btn {
  margin-right: 5px;
}
.bootbox-confirm .btn-default {
  float: right;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: transparent;
}
#wrapper_headsup_risks,
#wrapper_headsup_hazards {
  background-color: red;
}
#wrapper_headsup_specialNeeds {
  background-color: orange;
}

span.show-if-row-selected {
  display: none;
  visibility: hidden;
}

span.hide-if-row-selected {
  display: inline;
  visibility: visible;
}

tr.row_selected span.show-if-row-selected {
  display: inline !important;
  visibility: visible !important;
}

tr.row_selected span.hide-if-row-selected {
  display: none !important;
  visibility: hidden !important;
}

.thumbnail-image {
  max-height: 140px;
  overflow: hidden;
}

/* banner colours for environments */
.development {
  background-color: #446699;
}

.test {
  background-color: #994444;
}

.sandpit {
  background-color: #d99748;
}

.train {
  background-color: #509944;
}

.production {
  background-color: #446699;
}
