/* Overwrite the default font weight as set by the remark styles */
body {
  font-weight: 400;
}

.site-menu-scroll-wrap.is-list {
  max-height: 600px !important;
}

#test-environment-orange-line {
  background-color: #FF9900;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1501;
  height: 5px;
}

#impersonate-green-line {
  background-color: #009900;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1501;
  height: 10px;
}

#m365-downtime-page-container {
  position: fixed;
  z-index: 999999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
}

time.m365-post-time {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #9e9e9e;
}

.m365-sidepanel-map {
  display: block;
  width: auto;
  margin: -10px -30px 0 -30px;
  height: 300px;
}

.h1 .float-right .icon, .h1 .text-right .icon,
.h2 .float-right .icon, .h2 .text-right .icon,
.h3 .float-right .icon, .h3 .text-right .icon,
.h4 .float-right .icon, .h4 .text-right .icon,
.h5 .float-right .icon, .h5 .text-right .icon,
.h6 .float-right .icon, .h6 .text-right .icon,
h1 .float-right .icon, h1 .text-right .icon,
h2 .float-right .icon, h2 .text-right .icon,
h3 .float-right .icon, h3 .text-right .icon,
h4 .float-right .icon, h4 .text-right .icon,
h5 .float-right .icon, h5 .text-right .icon,
h6 .float-right .icon, h6 .text-right .icon {
  margin: 0 .25em 0 .25em !important;
}

.h1 .float-right a:last-of-type .icon, .h1 .text-right a:last-of-type .icon,
.h2 .float-right a:last-of-type .icon, .h2 .text-right a:last-of-type .icon,
.h3 .float-right a:last-of-type .icon, .h3 .text-right a:last-of-type .icon,
.h4 .float-right a:last-of-type .icon, .h4 .text-right a:last-of-type .icon,
.h5 .float-right a:last-of-type .icon, .h5 .text-right a:last-of-type .icon,
.h6 .float-right a:last-of-type .icon, .h6 .text-right a:last-of-type .icon,
h1 .float-right a:last-of-type .icon, h1 .text-right a:last-of-type .icon,
h2 .float-right a:last-of-type .icon, h2 .text-right a:last-of-type .icon,
h3 .float-right a:last-of-type .icon, h3 .text-right a:last-of-type .icon,
h4 .float-right a:last-of-type .icon, h4 .text-right a:last-of-type .icon,
h5 .float-right a:last-of-type .icon, h5 .text-right a:last-of-type .icon,
h6 .float-right a:last-of-type .icon, h6 .text-right a:last-of-type .icon {
  margin: 0 0 0 .25em !important;
}

.dropdown-menu{
  position:absolute;
  z-index:99999;
}

.m365-no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.m365-table-dropdown {
  z-index: 1005;
  width: 1px;
}

.table-responsive {
  overflow-x: auto;
}

.floatThead-container {
  background-color: #ffffff !important;
}

/* Datepicker z-index is login overlay z-index - 1 */
.datepicker {
  z-index: 9999 !important;
}

.alert h4 .icon {
  margin: 0 !important;
}

/* The toastr messages need to have the same colour scheme as bootstrap */
.toast {
  box-shadow: none !important;
}

.toast-success {
  background-color: rgba(200, 230, 201, 1) !important;
  color: #4caf50 !important;
}

.toast-error {
  background-color: rgba(255, 205, 210, 1) !important;
  color: #f44336 !important;
}

.toast-info {
  background-color: rgba(178, 235, 242, 1) !important;
  color: #00bcd4 !important;
}

.toast-warning {
  background-color: rgba(255, 224, 178, 1) !important;
  color: #ff9800 !important;
}

/* We don't want any outline on links, this is normally default browser behaviour. */
a:focus {
  outline: 0;
}

/* To make an icon spin add this class */
.icon-spin {
  -webkit-animation: icon-spin 2s infinite linear;
  animation: icon-spin 2s infinite linear;
}

.icon-pulse {
  -webkit-animation: icon-spin 1s infinite steps(8);
  animation: icon-spin 1s infinite steps(8);
}

.icon-rotate-90 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=$rotation);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

@-webkit-keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/* We want more spacing for the dd elements and allow them to be aligned left and right depending on screen size. */
dd {
  margin-bottom: 1rem;
}

.dt-center-right dt, .dd-center-left dd {
  text-align: center;
}

@media (min-width: 480px) {
  .dt-center-right dt {
    text-align: right;
  }

  .dd-center-left dd {
    text-align: left;
  }
}

/* Badges used in a collection have to be wrapped in this container */
.m365-badge-container .badge {
  padding: 6px 6px 5px 6px;
  margin: 3px;
  border-radius: 15px;
}

.badge {
  text-transform: uppercase;
}

/* Toggable text needs to transition when opening up. */
.m365-toggable-text {
  -webkit-transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -moz-transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -o-transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Styles for a inline upload field */
.m365-upload-field,
.m365-generic-field {
  color: #757575;
  position: relative;
  margin: 30px 0 40px;
}

.m365-upload-field .input-group,
.m365-generic-field .input-group {
  background-image: linear-gradient(#e0e0e0, #e0e0e0);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom;
  padding-bottom: 1px;
}

.m365-upload-field .input-group.highlight,
.m365-generic-field .input-group.highlight,
.m365-generic-field.highlight .input-group {
  outline: 0;
  animation: formMaterialInputHighlight 0.5s forwards;

  background-image: -webkit-gradient(linear, left top, left bottom, from(#0089d0), to(#0089d0)), -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#e0e0e0));
  background-image: -webkit-linear-gradient(#0089d0, #0089d0), -webkit-linear-gradient(#e0e0e0, #e0e0e0);
  background-image: -o-linear-gradient(#0089d0, #0089d0), -o-linear-gradient(#e0e0e0, #e0e0e0);
  background-image: linear-gradient(#0089d0, #0089d0), linear-gradient(#e0e0e0, #e0e0e0);
  padding-bottom: 2px;

  -webkit-box-shadow: none;
  box-shadow: none;

  -webkit-background-size: 100% 2px, 100% 1px;
  background-size: 100% 2px,100% 1px;

  -webkit-transition-duration: .3s;
  -o-transition-duration: .3s;
  transition-duration: 0.3s;
}

.m365-upload-field div.m365-upload-label,
.m365-generic-field div.m365-generic-label {
  font-size: .8rem;
  font-weight: 500;
  margin: 0;
}

.m365-generic-field.highlight div.m365-generic-label {
  color: #0089d0;
}

.m365-upload-field div.m365-upload-value,
.m365-generic-field div.m365-generic-value {
  font-size: 1rem;
  font-weight: normal;
  padding: 7px 0;
  height: 2.573rem;
  margin: -2px 0 0 0;
  border-style: none;
  cursor: pointer;
}

.m365-upload-field input[type=file] {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

.m365-upload-field .m365-upload-hint,
.m365-generic-field .m365-generic-hint {
  font-size: 80%;
  font-weight: normal;
  padding-top: 2px;
}

.m365-upload-button,
.m365-generic-button {
  padding-top: 4px;
}

.m365-additional-fields-dropdown {
  left: 50%;
  right: auto;
  transform: translate(-50%, 0);
}

/* This style is commonly used for removing box shadow off list groups, although could be used elsewhere. */
.m365-no-box-shadow {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

/* Buttons located in an input group need to be made round, these are the styles from regular .btn .btn-sm */
.m365-input-helper.form-material .input-group {
  background-image: linear-gradient(#e0e0e0, #e0e0e0);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.m365-input-helper.form-material .input-group.highlight {
  outline: 0;
  animation: formMaterialInputHighlight 0.5s forwards;

  background-image: -webkit-gradient(linear, left top, left bottom, from(#0089d0), to(#0089d0)), -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#e0e0e0));
  background-image: -webkit-linear-gradient(#0089d0, #0089d0), -webkit-linear-gradient(#e0e0e0, #e0e0e0);
  background-image: -o-linear-gradient(#0089d0, #0089d0), -o-linear-gradient(#e0e0e0, #e0e0e0);
  background-image: linear-gradient(#0089d0, #0089d0), linear-gradient(#e0e0e0, #e0e0e0);

  -webkit-box-shadow: none;
  box-shadow: none;

  -webkit-background-size: 100% 2px, 100% 1px;
  background-size: 100% 2px,100% 1px;

  -webkit-transition-duration: .3s;
  -o-transition-duration: .3s;
  transition-duration: 0.3s;
}

@keyframes formMaterialInputHighlight {
  0% {
    background-size: 0 2px, 100% 2px;
  }
  100% {
    background-size: 100% 2px, 100% 2px;
  }
}

.m365-input-helper.form-material .input-group .form-control-wrap {
  margin: 0;
}

.m365-input-helper.form-material .input-group .form-control-wrap input, .m365-input-helper.form-material .input-group .form-control-wrap textarea {
  border-style: none;
  background-image: none;
}

.m365-input-helper.form-material .input-group .input-group-btn {
  padding-top: 2px;
}

.m365-input-helper.form-material .input-group .input-group-btn button {
  padding: .572rem;
  border-radius: 1000px;
}

/* Style mainly used for the loading content spinner, to center it on the page. */
.m365-text-center {
  text-align: center;
}

.m365-dashed-underline {
  border-bottom: 1px dashed #999;
}

/* Style used to hide an element but keep it's width/height applied */
.m365-visibility-hidden {
  visibility: hidden;
}

.m365-visibility-visible {
  visibility: visible;
}

/* We allow the user to create quick vessel or gal records on the fly, because is multi plugin functionality the styles are defined here below. */
#m365-newInlineRecord {
  height: 100%;
  width: 100%;
  z-index: 99999999;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  border-style: none;
  overflow: hidden;
}

#m365-newInlineRecordContainer {
  height: calc(100% - 44px);
  width: 500px;
  margin: 0 auto;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

@media (max-width: 767px) {
  #m365-newInlineRecordContainer {
    width: 100% !important;
  }
}

#m365-newInlineRecordContainer .site-sidebar-tab-content {
  height: 100%;
}

/* Overrides for the site menu */
.site-menubar,
.site-menu .dropdown-menu {
  background-color: #0089d0;
  color: #fff;
}

.site-menu .dropdown-menu {
  background-color: #0079b7;
  border-color: #5999b9;
}

/** If the body has a class for an out of date browser we will make the menu red. **/
.out-of-date-browser.site-menubar {
  background-color: #FF0000;
  color: #fff;
}

.out-of-date-browser .site-menu .dropdown-menu {
  background-color: #c70e00;
  border-color: #8a0300;
}

ul.site-menu {
  padding-left: 0;
  padding-right: 0;
}

.site-menu > .site-menu-item > a {
  padding: 0 1.429rem;
}

.site-menu-item > a:hover {
  background-color: rgba(255, 255, 255, .05);
}

.m365-external-menu-item {
  line-height: 38px;
  float: right;
}

/* Overwrite the default bootstrap weight of 700 for these items */
.alert-link, .close {
  font-weight: 500;
}

.m365-alert-btn {
  float: right;
  margin: 1px 0 0 5px;
  padding: 0;
}

.alert {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

/* In order to align the search input with the pagination it's required to give the pagination a line height */
.m365-pagination-line-height {
  line-height: 36px;
}

.m365-cursor-pointer {
  cursor: pointer !important;
}

.m365-cursor-not-allowed {
  cursor: not-allowed;
}

.m365-cursor-move {
  cursor: move !important;
}

.m365-cursor-normal, .m365-cursor-default {
  cursor: default !important;
}

.m365-no-hover:hover,
.m365-no-hover:focus {
  background-color: transparent !important;
  color: inherit !important;
}

/* Our checkbox div's should have a bottom border */
.m365-checkbox-container {
  margin-top: 10px;
  border-bottom: 1px solid #E0E0E0;
  padding: 10px 0;
  cursor: pointer;
}

/* Fix incorrect padding when standard inputs follow after a checkbox */
.m365-checkbox-container+.form-material.floating:not(.mt-40) {
  margin-top:40px;
}

/* We've implemented our own version of the sidebar popping in from the right, the style overrides are below */
.slidePanel-left, .slidePanel-right {
  width: 500px;
  min-width: 320px;
  overflow: hidden;
  height: calc(100% - 90px);
  max-height: 100%;
}

.slidePanel-content {
  height: 100%;
  width: auto;
}

#m365-slidePanel-container {
  height: 100%;
  width: auto;
}

#m365-slidePanel-container .site-sidebar-tab-content {
  height: 100%;
  width: auto;
}

#m365-slidePanel-container .scrollable-content {
  padding-top: 10px;
}

#m365-slidePanel-container .scrollable-container {
  width: auto !important;
}

.scrollable-container {
  -ms-overflow-style: none;
}

.m365-show-scrollable {
  height: 100%;
}

.m365-slidePanel-tabs-container {
  /* 62px is height of the tab container */
  height: calc(100% - 62px) !important;
}

.m365-red-500 {
  color: #FF0000 !important;
  font-weight: 500 !important;
}

/* Remove underlining from table anchors */
.table a {
  text-decoration: none;
}

.table a:hover {
  text-decoration: underline;
}

/* Add extra padding to the first cell in each row */
.table thead tr th:first-of-type,
.table tr td:first-of-type {
  padding-left: 20px;
}

/* Add extra padding to the last cell in each row */
.table thead tr th:last-of-type,
.table tr td:last-of-type {
  padding-right: 20px;
}

/* Styling for table headers */
.table thead th {
  border-bottom-width: 1px;
  border-top-style: none;
  padding: 0 10px;
  color: rgba(0,0,0,0.54);
  font-size: 12px;
  font-weight: 500;
  line-height: 48px;
  white-space: nowrap;
}

/* Styling for Sortable Tables */
.table thead tr th.sorting_asc:last-of-type,
.table thead tr th.sorting_desc:last-of-type,
.table thead tr th.sorting:last-of-type,
table thead > tr > th.sorting_asc,
table thead > tr > th.sorting_desc,
table thead > tr > th.sorting,
table thead > tr > td.sorting_asc,
table thead > tr > td.sorting_desc,
table thead > tr > td.sorting {
  padding-right: 30px;
}

table thead > tr > th:active,
table thead > tr > td:active {
  outline: none;
}

table thead .sorting,
table thead .sorting_asc,
table thead .sorting_desc,
table thead .sorting_asc_disabled,
table thead .sorting_desc_disabled {
  position: relative;

  cursor: pointer;
}

table thead .sorting:before,
table thead .sorting:after,
table thead .sorting_asc:before,
table thead .sorting_asc:after,
table thead .sorting_desc:before,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:before,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:before,
table thead .sorting_desc_disabled:after {
  font-family: 'Material Design Iconic';
  font-size: 16px;
  font-weight: 400;
  font-style: normal;

  position: absolute;
  top: 50%;
  right: 1em;

  opacity: .3;

  text-rendering: auto;
}

table thead .sorting:before,
table thead .sorting_asc:before,
table thead .sorting_desc:before,
table thead .sorting_asc_disabled:before,
table thead .sorting_desc_disabled:before {
  margin-top: -4px;

  content: '';
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

table thead .sorting:after,
table thead .sorting_asc:after,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:after {
  margin-top: 4px;

  content: '';
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

table thead .sorting_asc:before,
table thead .sorting_desc:after {
  opacity: 1;
}

table thead .sorting_asc_disabled:before,
table thead .sorting_desc_disabled:after {
  opacity: 0;
}

/* Styling for table cells */
.table td {
  border: none;
  font-size: 13px;
  color: rgba(0,0,0,0.87);
  padding: 14px 10px;
}

.table td.m365-cell-button {
  white-space: nowrap;
  padding: 6px 10px;
}

/* Set a maximum width for td's with checkboxes inside */
.m365-table-checkbox {
  width: 50px;
}

.m365-table-checkbox-with-border {
  max-width: 46px;
  min-width: 46px;
  width: 46px;
  border-right: 1px solid #e0e0e0 !important;
}

.m365-table-column-after-checkbox {
  border-left: 1px solid #efefef !important;
  padding-left: 13px !important;
}

/* Change the modals to google material padding. */
.modal-content {
  border-radius: 2px;
}

.modal-body {
  padding: 0 24px 24px 24px;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.modal-header {
  padding: 24px 24px 20px 24px;
}

.modal-footer {
  padding: 8px;
}

/* Tabs in panels overwrite, we want more padding. */
.m365-nav-tabs {
  height: 100%;
}

.m365-nav-tabs a.nav-link {
  padding: 1.3rem 1.429rem;
  text-transform: uppercase;
}

.m365-nav-tabs .nav-item .dropdown-menu a.dropdown-item {
  text-transform: uppercase;
}

.nav-tabs-line .nav-link.active,
.nav-tabs-line .nav-link.active:focus,
.nav-tabs-line .nav-link.active:hover,
.nav-tabs-line .nav-item.open .nav-link,
.nav-tabs-line .nav-item.open .nav-link:focus,
.nav-tabs-line .nav-item.open .nav-link:hover {
  border-bottom: 2px solid #0089d0;
}

/* Tab styles for horizontal scrollable tabs */
.m365-nav-tabs .m365-scrollable-tabs {
  height: 62px;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
}

.m365-nav-tabs .m365-scrollable-tabs .scrollable-bar {
  display: none !important;
}

.m365-nav-tabs .m365-scrollable-tabs .nav-tabs {
  display: block;
  white-space: nowrap;
  border-style: none;
}

.m365-nav-tabs .m365-scrollable-tabs .nav-tabs .nav-item {
  display: inline-block;
  vertical-align: top;
}

#m365-slidePanel-container .m365-scrollable-tabs .scrollable-content {
  padding: 0;
}

/* Override the default menu item active state behaviour, we wish to see a nice outlined box */
.page-aside .list-group-item.active {
  color: #0089d0;
  border: none;
  background-color: #eee;
}

.page-aside-scroll .page-aside-inner {
  height: 100%;
}

.page-aside input.form-control {
  height: 56px;
  padding: 10px 50px 10px 20px;
  border-color: rgba(0, 0, 0, .06);
  border-width: 0 0 1px 0;
  border-radius: 0;
}

.page-aside .input-search-btn {
  padding-right: 20px;
  border-radius: 0;
}

.page-aside .search-height-offset {
  height: -webkit-calc(100% - 56px);
  height:         calc(100% - 56px);
}

/* Override the colours on the page sidebar on mobile sizes */
.page-aside-switch {
  background-color: #0089d0;
  padding: 50px 10px 50px 8px !important;
}

.page-aside-switch .icon {
  color: #fff;
}

/* The bootstrap-select plugin uses this bootstrap 3 style, however we're running bootstrap 4. */
.hidden {
  display: none !important;
}

.btn {
  font-weight: 400;
  text-transform: uppercase;
}

/* We override the bootstrap select and typeahead elements so that it will look more like the material design. */
.bootstrapSelectContainer.has-danger button {
  color: #FF0000 !important;
  border-color: #FF0000 !important;
}

.bootstrapSelectContainer span.filter-option {
  max-width: calc(100% - 40px);
  float: left;
  display: inline-block;
  overflow: hidden;
  line-height: 1.57;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: 100%;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.bootstrap-select > .btn-default {
  background: 0 0!important;
  border-style: none;
  border-bottom: 1px solid #e0e0e0 !important;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.bootstrap-select > .dropdown-toggle {
  padding: 8px 0 4px;
  text-transform: none;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
  height: 100%;
  vertical-align: middle;
  display: inline-block;
}

.bootstrap-select.btn-group.bs-container .dropdown-menu {
  z-index: 1550;
}

.bootstrap-select.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.bootstrap-select.btn-group .dropdown-menu {
  margin-top: -28px;
}

.bootstrap-select.btn-group.dropup .dropdown-menu {
  margin-top: 0;
  bottom: -36px;
}

.bootstrap-select.dropup .caret {
  border-top: 4px solid;
  border-bottom: 0;
}

.bootstrap-select .dropdown-menu,
.typeahead.dropdown-menu {
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  padding: 0;
  border-radius: 2px;
  margin: 0;
  border: 0;
  position: absolute;
  display: none;
  min-width: 160px;
  list-style: none;
  font-size: 13px;
  text-align: left;
  background-color: #fff;
  background-clip: padding-box;
}

.open > .dropdown-menu,
.show > .dropdown-menu {
  display: block !important;
}

.form-material .select-element-label {
  font-size: .8rem;
  top: -.8rem;
  font-weight: 500;
}

.bootstrap-select .dropdown-menu > li {
  padding: 0;
  margin: 0;
}

.bootstrap-select .dropdown-menu > li > a,
.typeahead.dropdown-menu > li > a {
  padding: 10px 20px;
  margin: 0;
  font-weight: 400;
  width: 100%;
  border-radius: 0;
  white-space: normal;
  text-decoration: none !important;
}

.typeahead.dropdown-menu > li > a > div {
  overflow-x: hidden;
}

.typeahead.dropdown-menu > li.active > a {
  background-color: #eee;
}

.bootstrap-select.btn-group .dropdown-menu.inner,
.typeahead.dropdown-menu {
  padding: 8px 0;
}

.bootstrap-select .bs-searchbox {
  padding: 5px 5px 5px 40px;
  position: relative;
  background: #F7F7F7;
  margin-top: 0;
}

.bootstrap-select .bs-actionsbox {
  padding: 0;
}

.bootstrap-select .bs-searchbox:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 100%;
  content: "\f1c3";
  font-family: "Material Design Iconic";
  font-size: 25px;
  padding: 4px 0 0 15px;
}

.bootstrap-select .bs-searchbox input {
  border: 0;
  background: 0 0;
}

.typeahead.dropdown-menu {
  width: 100%;
  max-height: 350px !important;
  overflow-y: auto !important;
}

.select2-dropdown {
  z-index: 1550;
}

/* To prevent scrolling we need to add this class to the body tag */
@media (max-width: 767px) {
  body.m365-body-disable-scrolling {
    height: 100%;
    overflow: hidden;
  }

  body.m365-body-disable-scrolling .page {
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }
}



/* To prevent scrolling we need to add this class to the body tag */
@media (max-width: 767px) {
  body.m365-body-disable-scrolling {
    height: 100%;
    overflow: hidden;
  }

  body.m365-body-disable-scrolling .page {
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }
}



/* Implement our own styles for the avatar used on the top right of the page and in history sidepanels */
.avatar {
  vertical-align: top;
  width: auto;
}

.avatar div {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 25px;
  background-size: cover;
  background-position: center;
  background-color: #0089d0;
  background-repeat: no-repeat;
  font-size: 12px;
  padding-top: 6px;
  text-align: center;
  color: #fff;
}

.avatar.avatar-lg div {
  width: 50px;
  height: 50px;
  border-radius: 1000px;
  font-size: 18px;
  padding-top: 11px;
}

.avatar.avatar-xl div {
  width: 100px;
  height: 100px;
  border-radius: 1000px;
  font-size: 36px;
  padding-top: 23px;
}

.avatar.contain div {
  background-size: contain !important;
}

.avatar a.icon, .avatar a.icon:Hover {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 18px;
  border-radius: 1000px;
  height: 26px;
  width: 26px;
  padding-top: 4px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

#m365-avatar-container {
  padding-top: 4px;
}

.m365-grapi-drag-placeholder {
  display: inline-block;
  border-radius: .286rem;
  border: 1px dashed #CCCCCC;
  margin: 10px 30px;
  width: calc(100% - 60px);
  height: 60px;
  box-sizing: border-box;
  vertical-align: middle;
}

.pageSectionsDraggablePlaceholder{
  display: block;
  list-style-type: none;
  height: 60px;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px dashed #CCCCCC;
  vertical-align: middle;
  border-radius: 3px;
  margin-bottom: 15px;
}

/* History items in the sidebar need to be center aligned on small screens, otherwise left align. */
@media (max-width: 479px) {
  .m365-align-history .media {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .m365-align-history .avatar div {
    width: 30px;
    height: 30px;
    font-size: 12px;
    padding-top: 6px;
  }
}



/* Styles for the floating action button (FAB) currently only works with the + symbol! */
.m365-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  height: 56px;
  width: 56px;
  font-size: 24px;
  z-index: 1005;
}

.m365-fab-no-transition {
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -o-transition: color 0 ease-in !important;
  transition: none !important;
  transform: none !important;
}

.m365-fab-hide .m365-fab-action-button > i {
  -webkit-transition: all .2s cubic-bezier(.4,0,.2,1);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  transform: rotate(180deg);
}

.m365-fab.fab-show .m365-fab-buttons {
  opacity: 1;
  visibility: visible;
}

.m365-fab.fab-show .m365-fab-action-button > i {
  -webkit-transition: all .2s cubic-bezier(.4,0,.2,1);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  transform: rotate(-225deg);
}

.m365-fab.fab-show .m365-fab-buttons__link {
  transform: scaleY(1) scaleX(1) translateY(-16px) translateX(0px);
}

.m365-fab-action-button:hover + .m365-fab-buttons .m365-fab-buttons__link:before {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transform-origin: right center 0;
  transition-delay: 0.3s;
}

.m365-fab-action-button {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.m365-fab-action-button > i.icon {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 56px;
}

.m365-fab-buttons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .2s cubic-bezier(.4,0,.2,1);
  transition: all .2s cubic-bezier(.4,0,.2,1);
}

.m365-fab-buttons__item {
  display: block;
  text-align: center;
  margin: 12px 0;
  color: #0089d0;
  cursor: pointer;
}

.m365-fab-buttons__item label {
  cursor: pointer;
}

.m365-fab-buttons__link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  transform: scaleY(0.5) scaleX(0.5) translateY(0px) translateX(0px);
  -moz-transition: .3s;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

[data-tooltip]:before {
  top: 50%;
  margin-top: -11px;
  border-radius: 2px;
  background: #585858;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 12px;
  text-decoration: none;
  visibility: hidden;
  opacity: 0;
  padding: 4px 7px;
  margin-right: 12px;
  position: absolute;
  transform: scale(0);
  right: 100%;
  white-space: nowrap;
  transform-origin: top right;
  transition: all .3s cubic-bezier(.25, .8, .25, 1);
  line-height: 16px;
}

[data-tooltip]:hover:before {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transform-origin: right center 0;
}



/* The date & time pickers we use are wrapped up in a div so they can be displayed next to one another. */
.m365-dateTimePickerContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
}

.m365-datePickerField {
  flex-grow: 3;
  flex-basis: 75px;
  margin-right: 16px;
}

.m365-timePickerField {
  flex-grow: 1;
  flex-basis: 25px;
}

.m365-dateTimePickerContainer .form-material.floating + .form-material.floating {
  margin-top: 20px;
}

.form-material .m365-form-helper {
  padding-top: 3px;
  font-size: 80%;
}



/* The global department selector requries some padding to keep the header and buttons aligned nicely */
#filter-mega {
  padding-bottom: 10px;
}

.navbar-mega .dropdown.dropdown-fw .dropdown-menu {
  overflow-y: hidden;
  right: auto;
}

@media (max-width: 991px) {
  .navbar-mega .dropdown.dropdown-fw .dropdown-menu {
    right: 5px;
  }
}

@media (max-width: 767px) {
  .navbar-mega .dropdown.dropdown-fw .dropdown-menu {
    right: 0px;
  }
}

.m365-global-filter-header {
  padding: .429rem 0rem;
}

.m365-filter-global-container {
  min-width: 274px;
  max-width: 274px;
  padding: .429rem 1.072rem;
}

.m365-filter-no-wrap {
  white-space: nowrap;
}

.m365-filter-global-container .list-group {
  overflow: hidden;
  white-space: nowrap;
}

.m365-filter-global .dropdown-menu {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.m365-filter-global-container.grow {
  min-width: 0;
  width: 0;
  height: 0;
  opacity: 0;
  padding: 0;

  -webkit-transition: min-width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -moz-transition: min-width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -o-transition: min-width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  transition: min-width 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.m365-filter-scrollable .list-group-item {
  cursor: pointer;
}

.m365-global-filter-select-button {
  width: 50%;
  text-align: right;
}

.m365-global-filter-select-label {
  height: 1rem;
  width: 50%;
}

.m365-global-filter-select-button .btn {
  padding-right: 0;
}

.m365-filter-badge {
  position: absolute;
  right: 18px;
}

.m365-filter-global-container.grow.show {
  min-width: 274px;
  height: auto;
  opacity: 1;
  display: inline-block;
  float: none;
  padding: .429rem 1.072rem;
}

.m365-filter-buttons {
  margin-top: 20px;
}

.m365-tr-header-row {
  background-color: #0089d0 !important;
}
.m365-tr-header-row:hover {
  background-color: #0089d0 !important;
}
.m365-tr-header-row td {
  color: #fff !important;
  font-size: 12px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* On mobile only: Add top margin to the buttons */
@media (max-width: 479px) {
  .m365-filter-buttons {
    margin-bottom: 20px;
  }
}

/* On mobile/tablet only: Make the container slide in/out like a carousel */
@media (max-width: 991px) {
  /*
   * Container with the width of a single component
   * Width is updated to the container width by Javascript
   */
  .m365-filter-slide-container-parent {
    max-width: 991px;
    overflow: hidden;
  }


  /* Container large enough to contain all open menus */
  .m365-filter-slide-container {
    width: 3000px; /* max viewport width * 3) */

    -webkit-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    -moz-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    -o-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  }
}

/* Styles specific to inline version of the filter */
.m365-filter-inline, .m365-filter-slide-container-parent {
  max-width: 991px;
  overflow: hidden;
}

.m365-filter-inline .m365-filter-global-container.grow {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

/* Container large enough to contain all open menus */
.m365-filter-inline .m365-filter-slide-container {
  width: 3000px; /* max viewport width * 3) */

  -webkit-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -moz-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  -o-transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.m365-filter-inline .filter-back-department,
.m365-filter-inline .filter-back-office {
  display: inline-block !important;
}

/* Styles for a top toolbar, example can be found in the gal for the letter selector. */
.m365-toolbar {
  width: 100%;
  height: 56px;
  white-space: nowrap;
  padding: 12px 18px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
}

/* Media queries for the different screen sizes. */
@media (max-width: 991px) {
  .page {
    min-height: calc(100% - 44px);
  }

  .m365-sidepanel-map {
    height: 250px;
  }
}

/* On mobile we wish to remove the margin on the menu items and add a bit of extra top padding. */
.page-header-actions > .btn-icon,
.page-header-actions > .btn-group,
.page-header-actions > [data-toggle="tooltip"] > .btn-icon,
.page-header-actions > [data-toggle="tooltip"] > .btn-group {
  margin-right: 0 !important;
  margin-left: 6px !important;
}

@media (max-width: 767px) {
  .page-header-actions {
    position: relative;
    top: auto;
    right: auto;
    padding: 15px 0 0;
    margin: auto;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }

  .page-header-actions > .btn-icon,
  .page-header-actions > .btn-group,
  .page-header-actions > [data-toggle="tooltip"] > .btn-icon,
  .page-header-actions > [data-toggle="tooltip"] > .btn-group {
    margin-left: 0 !important;
    margin-right: 6px !important;
  }

  .site-menu-title:first-child {
    margin-left: 0;
  }

  ul.site-menu {
    padding: 10px 0 20px;
  }

  .slidePanel-left, .slidePanel-right {
    width: 100% !important;
    height: calc(100% - 60px);
  }

  .modal-content {
    margin: 0 30px;
  }

  .table td {
    white-space: nowrap;
  }

  .m365-sidepanel-map {
    height: 200px;
  }
}

/* Remove the big gap on the left of the menu */
@media (min-width: 768px) {
  .site-navbar .navbar-container {
    margin-left: 0;
  }

  .site-navbar .navbar-header {
    width: auto;
  }
}

@media (max-width: 479px) {
  .page {
    min-height: calc(100% - 66px);
  }

  .m365-sidepanel-map {
    height: 150px;
  }
}



/* Panels that have chevrons showing the collapse state should change dpeending on said state. */
.panel-title:not(.collapsed) .icon.md-chevron-down {
  display: none;
}

.panel-title.collapsed .icon.md-chevron-up {
  display: none;
}

.panel-actions {
  position: absolute;
  right: 20px;
  padding: 0;
}

@media (max-width: 479px) {
  .panel-actions {
    position: absolute;
    right: 10px;
    padding: 0;
  }
}



/** On the slide panel accordions show a chevron up or down depending on the collapse state **/
.m365-bordered-accordion .card-header.collapsed .icon.md-chevron-up {
  display: none;
}

.m365-bordered-accordion .card-header:not(.collapsed) .icon.md-chevron-down {
  display: none;
}



/* On mobile devices we don't wish to zoom in on the input fields when we select them */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

/* Email generation is used in multiple plugins, therefore styles used in email generation will be listed in this global stylesheet. */
#m365-messages-search-container {
  width: 200px;
  float: right;
}
f
@media (max-width: 767px) {
  #m365-messages-search-container {
    width: 100%;
  }

  #m365-messages-search {
    width: 100%;
  }
}

#m365-message-iframe {
  width: 100%;
  border-style: none;
  box-sizing: content-box;
}

.m365-recipient-container {
  max-width: 100%;
  padding: 8px 10px;
  margin: 0 5px 2px 0;
  border: 1px solid #e0e0e0;
  display: inline-block;
  border-radius: .286rem;
  vertical-align: middle;
  line-height: 18px;
  position: relative;
}

@media (max-width: 479px) {
  .m365-recipient-container {
    width: 100%;
  }
}

.m365-recipient-buttons-container {
  position: absolute;
  top: 0;
  right: 0;
  padding-left: 3px;
}

.m365-recipient-buttons {
  display: inline-block;
  height: 100%;
  padding: 7px 14px 6px;
  border-left: 1px solid #e0e0e0;
  box-sizing: border-box;
  cursor: pointer;
}

.m365-draggable-handle {
  display: inline-block;
  height: 100%;
  padding: 7px 96px 6px 0;
  box-sizing: border-box;
  cursor: move;
  white-space: nowrap;
}

.m365-recipient-container .icon.md-circle {
  font-size: 8px;
  position: relative;
  top: -1px;
  margin-right: 5px;
}

.EmailGeneration_EditableRecipientDiv {
  width: 100%;
  box-sizing: border-box;
  outline: none;
  display: block;
}

.EmailGeneration_EditableRecipientDiv .m365-recipient-container,
.m365-attachment-container .m365-recipient-container {
  margin: 0 5px 5px 0;
  padding: 0 0 0 10px;
}

.m365-attachment-container .m365-recipient-container .m365-draggable-handle {
  cursor: default;
}

.m365-attachment-container .form-control {
  height: auto !important;
}

.m365-attachment-container .m365-generic-value {
  min-height: 22px;
}

.EmailGeneration_EditableRecipientDiv .m365-recipient-container .icon.md-circle {
  cursor: move;
}

.EmailGeneration_RemoveItem {
  cursor: pointer;
}

.EmailGeneration_drag_recipients_placeholder {
  display: inline-block;
  border-radius: .286rem;
  border: 1px dashed #CCCCCC;
  margin: 0 5px 2px 0;
  padding: 8px 10px;
  width: 200px;
  height: 40px;
  box-sizing: border-box;
  vertical-align: middle;
}

.EmailGeneration_showIconOnGroupsOnly,
.EmailGeneration_showIconOnRecipientsOnly {
  display: none !important;
}

.m365-max-height-75-pixels {
  max-height: 75px;
  overflow: hidden;
}

.m365-message-list {
  border-right: 1px solid #E0E0E0;
  min-width: 200px;
  background-color: #FFFFFF;
  overflow:hidden;
}

.m365-container-overflow {
  position: relative;
}

.m365-container-overflow:after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: "";
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none; /* so the text is still selectable */
}

/** On the group slidepanel page and message hader show a chevron up or down depending on the collapse state **/
.m365-messages-groups .card-header.collapsed .icon.md-chevron-up,
.m365-message-title-update-selector.collapsed .icon.md-chevron-up {
  display: none;
}

.m365-messages-groups .card-header:not(.collapsed) .icon.md-chevron-down,
.m365-message-title-update-selector:not(.collapsed) .icon.md-chevron-down {
  display: none;
}

.m365-message-list .list-group .list-group-item,
.m365-generic-list .list-group .list-group-item {
  z-index: 0;
  margin-bottom: 0;
  white-space: normal;
  border-radius: 0;
  padding: 15px 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  border-bottom: 1px solid #E0E0E0;
}

.m365-message-list .list-group .list-group-item:not(.no-hover),
.m365-generic-list .list-group .list-group-item:not(.no-hover) {
  cursor: pointer;
}

.m365-message-list .list-group .list-group-item:not(.no-hover):hover,
.m365-message-list .list-group .list-group-item:not(.no-hover).active,
.m365-generic-list .list-group .list-group-item:not(.no-hover):hover,
.m365-generic-list .list-group .list-group-item:not(.no-hover).active {
  color: #76838F;
  background-color: #E8EAF6;
}

.m365-message-list .list-group .list-group-item:hover .m365-container-overflow:after,
.m365-message-list .list-group .list-group-item.active .m365-container-overflow:after,
.m365-generic-list .list-group .list-group-item:hover .m365-container-overflow:after,
.m365-generic-list .list-group .list-group-item.active .m365-container-overflow:after {
  background: linear-gradient(to top, rgba(232, 234, 246, 1) 5%, rgba(232, 234, 246, 0) 50%);
}

.m365-message-list .list-group .list-group-item .list-group-item-heading,
.m365-generic-list .list-group .list-group-item .list-group-item-heading {
  margin: 0 0 3px 0;
  text-shadow: none;
  color: #616161;
}

.m365-message-list .list-group .list-group-item .list-group-item-text,
.m365-generic-list .list-group .list-group-item .list-group-item-text {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.5em;
  color: #9e9e9e;
}

.m365-message-list .list-group .list-group-item .info,
.m365-generic-list .list-group .list-group-item .info {
  color: #BDBDBD;
  font-size: 12px;
  padding-top: 3px;
}

.m365-message-list .list-group-item .icon,
.m365-generic-list .list-group-item .icon {
  color: #9E9E9E;
}

.m365-message-list .list-group .list-group-item .info .time,
.m365-generic-list .list-group .list-group-item .info .time {
  float: right;
}

.m365-generic-hint {
  font-size: 12px;
  padding-top: 5px;
}

#dragDropContainer {
  display: flex;
  align-items: center;
  text-align: center;
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

#dragDropContainer h1 {
  text-align: center;
  width: 100%;
}

/** Styles for a loading grill animation inside a button **/
.btn-primary .loader-grill, .btn-link .loader-grill,
.btn-primary .default-grill, .btn-link .default-grill,
.btn-primary .loader-grill:before, .btn-link .loader-grill:before,
.btn-primary .default-grill:before, .btn-link .default-grill:before,
.btn-primary .loader-grill:after, .btn-link .loader-grill:after,
.btn-primary .default-grill:after, .btn-link .default-grill:after {
  background: #FFF;
  font-size: 12px;
  animation-name: m365-primary-grill;
}

@-webkit-keyframes m365-primary-grill {
  0%, 80%, 100% {
    height: 1em;
    -webkit-box-shadow: 0 0 #FFF;
    box-shadow: 0 0 #FFF;
  }
  40% {
    height: 1.2em;
    -webkit-box-shadow: 0 -.25em #FFF;
    box-shadow: 0 -.25em #FFF;
  }
}

@-o-keyframes m365-primary-grill {
  0%, 80%, 100% {
    height: 1em;
    box-shadow: 0 0 #FFF;
  }
  40% {
    height: 1.2em;
    box-shadow: 0 -.25em #FFF;
  }
}

@keyframes m365-primary-grill {
  0%, 80%, 100% {
    height: 1em;
    -webkit-box-shadow: 0 0 #FFF;
    box-shadow: 0 0 #FFF;
  }
  40% {
    height: 1.2em;
    -webkit-box-shadow: 0 -.25em #FFF;
    box-shadow: 0 -.25em #FFF;
  }
}

.nav-item.divider-vertical {
  height: 34px;
  margin: 12px 8px 15px 8px;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #ccc;
}

/* show the search bar under the pagination buttons when the width is under 450px */
@media (max-width: 450px) {
  .m365-pagination-line-height div.float-right {
    display: block !important;
    float: none !important;
    margin-top: 10px;

  }
}

a#m365-notice-board-selected-month, a#m365-notice-board-selected-year {
  color: #ffffff !important;
}

/* Below two styles used for the expanding husbandry details found in the portlist and files. */
.m365-husbandry-container {
  padding: 30px 0 0 0;
  margin: 0;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  min-height: 100px;
}

.m365-husbandry-container thead tr {
  background-color: #fff !important;
}

.scrollable-bar-vertical {
  min-width: 8px;
}

.scrollable-bar-vertical.is-dragging, .scrollable-bar-vertical.is-hovering {
  min-width: 16px;
}

.scrollable.is-dragging .scrollable-handle, .scrollable.is-hovering .scrollable-handle {
  border-radius: 16px;
}

.scrollable.is-dragging .scrollable-bar-handle, .scrollable.is-hovering .scrollable-bar-handle {
  border-radius: 16px;
}

@media (max-width: 767px) {
  .m365-dropdown-menu-positioning {
    right: auto !important;
    left: 0 !important;
  }
}

.m365-dropdown-menu-positioning {
  right: 0;
  left: auto;
}

.default-lineheight {
  line-height: 1.571429;
}

tr.AccountsServicesHeading td {
  font-weight: normal;
  color: #ffffff;
  background-color: #0089d0 !important;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 11px;
}

tr.bg-white {
  background-color: white !important;
}

tr.bg-gray {
  background-color: rgba(238, 238, 238, .3) !important;
}

details[open] > summary > h5 .md-chevron-up {
  display: none;
}

details:not([open]) > summary > h5 .md-chevron-down {
  display: none;
}

/**
 * The archive button contains a dropdown allowing the user to pick the heading title.
 * Because this dropdown is in a button group the margin left is set to 0, this will override this.
 * Also, the dropdown z-index has to be made higher as otherwise it will sit underneath the alerts.
 */

.archive-button-group .dropdown-menu >.dropdown-header {
  padding: 5px 18px 6px;
}

.details-z-index-top {
  z-index: 1002;
}
