/* Declare variables */
:root {
  --PrimaryGreen: rgba(90, 174, 45, 1);
  --SecondaryBlue: rgba(0,154,214,1);
  --InputBackground: rgba(245, 245, 245, 1);
  --LightBackground: rgba(242,242,242,1);
}

body {
  background-color: rgba(250,250,250,1) !important;
}

/* Hide Tab Title from Form */
h2, h2.tab-title {
  visibility: hidden;
  height: 0px !important;
  margin: 0px !important;
}

h3, h3.section-title {
  font-size: 18px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

/* Hide Subgrid Title */
h3.form-subgrid-heading {
  visibility: hidden;
  height: 0px !important;
  margin: 0px !important;
}

/* Set Size of Body to span most of the screen (5% padding left & 5% padding right)*/
.container {
  width: calc(90%)
}

/* Set Top-Navbar to always visible */
.navbar-header {
  position: sticky !important;
  top: 0;
  left: 5%;
}
.navbar-static-top {
  position: sticky !important;
  top: 0;
  left: 5%;
}
.navbar-static-top.navbar .navbar-collapse {
  position: sticky !important;
  top: 0;
  right: 5%;
}
/* Style Top-Navbar*/
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav .open .dropdown-menu  {
  color: white !important;
  background-color: var(--PrimaryGreen) !important;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  color: white !important;
}
.dropdown-menu >.active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, .nav .open .dropdown-menu > li > a:hover, .nav .open .dropdown-menu > .active > a:hover {
  background-color: var(--SecondaryBlue) !important;
  color: black !important;
}
.navbar-nav > li > .dropdown-menu {
  width: 450px;
  /*height: 45px;*/
  padding: 5px;
}
.dropdown-menu.dropdown-search > li > .form-search {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Set Breadcrumb to always visible */
/*.row.sectionBlockLayout.sectionPrimaryColor.gru_navbar_placeholder {
  position: sticky !important;
  top: 50px;
  left: 5%;
  right: 5%;
}
.row.sectionBlockLayout.text-left.gru_breadcrumb {
  position: sticky !important;
  top: 65px;
  left: 5%;
  right: 5%;
}*/

/* Style Body */
#mainContent {
  min-height: 70vh !important;
  margin-top: 50.8807px;
  margin-bottom: 58.139px;
}

/* Set Bottom-Navbar to only show on bottom*/
.navbar-fixed-bottom {
  /*position: absolute !important;*/
  padding: 20px 0 !important;
  bottom: 0;
  margin-right: auto;
  margin-left: auto;
}

/* Style List*/
.entity-grid {
  padding: 10px;
}
.entitylist {
  background-color: transparent !important;
  border-style: none !important;
}
.entity-grid.entitylist {
  background-color: white !important;
  border: 1px solid #f2f2f2 !important;
}
.entitylist-search {
  width: 600px !important;
}

.description {
  font-size: 12px !important;
}


.col-md-12.columnBlockLayout.gru_multistepform {
  background-color: white;
  border: var(--InputBackground) 1px solid !important;
  padding: 0px;
  margin-left: 15px;
  margin-right: 15px;
}

/* Remove Border from Form */
.crmEntityFormView {
  border-color: transparent !important;
}

/* Remove Border between Form and (bottom) Button */
.crmEntityFormView .actions {
  border-color: transparent !important;
}

/* Remove Border between "Add record"-Button and Subgrid */
.grid-actions {
  border-color: transparent !important;
}

/* Set background color for Multistep-Form Progress Bar */
.list-group-item.active {
  background-color: var(--PrimaryGreen) !important;
  border-color: var(--PrimaryGreen) !important;
}

.progress {
  /*background-color:  rgba(0,0,0,0) !important;*/
  box-shadow: none !important;
}

/* Set font color for Primary Button */
.btn-primary {
  color: white !important;
}

/* Style Button */
.btn {
  margin: 0px;
  border: 1px solid rgba(209, 209, 209, 1);
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  outline-style: none;
  padding: 5px 12px;
  min-width: 96px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition-duration: 100ms;
  transition-property: background, border, color;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}
/* Style Text Input */
input.form-control, select.form-control, textarea.form-control, .form-control.readonly {
  box-shadow: none;
  border-color: transparent;
  background-color: var(--InputBackground) !important;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  box-sizing: border-box;
  min-height: 32px;
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  gap: 2px;
  border-radius: 4px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.clearfix.cell.checkbox-cell {
  padding-left: 28px !important;
  padding-right: 28px !important;
  padding-bottom: 20px !important;
}
/* Style Calendar Control: Button*/
.input-group-addon {
  padding: 5px 12px;
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--PrimaryGreen);
  background-color: white !important;
  border-color: var(--PrimaryGreen);
  border: 1px solid !important;
  border-radius: 4px !important;
}
/* Set Background Color of Calendar Control: Active Day*/
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover, .bootstrap-datetimepicker-widget tr td.active button, .bootstrap-datetimepicker-widget table td span.active {
  background-color: var(--PrimaryGreen);
  color: white !important;
}
/* Style Label for control and grid*/
label, a {
  font-weight: 400;
}

/* Hide Label for Notes Control*/
label[for="notescontrol"] {
  display: none !important;
}
/* Hide creator information for Portal Comment*/
.attachment-outer-border {
  visibility: hidden;
}

/*Custom CSS for Portal Comments Notification*/

.notification {
  color: white;
  text-decoration: none;
  padding: 15px 26px;
  position: relative;
  /*display: inline-block;*/
  border-radius: 2px;
}

.notification:hover {
  background: red;
}

.notification .badge {
    position: static;
    height: 21px;
    width: 21px;
    min-width: 19px;
    top: 16px;
    right: -14px;
    padding: 5px 5px;
    border-radius: 50%;
    background: var(--SecondaryBlue);
    color: white;
    text-align: center;
    font-size: 12px
}
/*.notification .badge-zero {
    position: static;
    height: 21px;
    width: 21px;
    min-width: 19px;
    top: 16px;
    right: -14px;
    padding: 5px 10px;
    border-radius: 50%;
    background: var(--SecondaryBlue);
    color: white;
    text-align: center;
    font-size: 12px
    
}*/
.notification .badge-max {
  position: static;
  height: 21px;
  width: 21px;
  min-width: 19px;
  top: 16px;
  right: -14px;
  padding: 5px 5px;
  border-radius: 50%;
  background: var(--SecondaryBlue);
  color: white;
  text-align: center;
  font-size: 12px
}
.divider-inbox {
    height: 21px;
    margin: 0 4px;
    margin-top: 14.5px;
    border-right: 1px solid #fff;
    border-left: 1px solid #666;
    margin-left: 20px;
}
.btn-message {
    color: #ffffff;
    background-color: #bd2b2b;
    border-color: #6d0705;
}
.btn-message:hover {
    color: #5a4645;
    background-color: #dec4c4;
    border-color: #2b2b2d;
}
.btn-message:active, .btn-message.active, .open>.btn-message.dropdown-toggle {
    color: #e60707;
    background-color: #e6e6e6;
    border-color: #8a0c0a;
}

.message-subject {
  display: block;
  width: 100%;
  height: 35px;
  padding-bottom: 15px;
  font-size: 30px;
  line-height: 1.42857;
  color: #555;
  font-weight: bold;
margin-left: 60px;
}
.message-description {
  display: block;
  width: 100%;
  height: 35px;
  padding: 6px 12px;
  font-size: 18px;
  line-height: 1.42857;
  color: #555;
  font-weight: normal;
  margin-left: 60px;
}
.unread-highlight {     
color: #94050c;
font-weight: bold;
background-color: #f5dbd9 !important;
}
.unread-highlight a {
  color: #94050c;
  text-decoration: underline;
}
.form-custom-actions .btn {
  margin-top: 0px;
}

.form-action-container-right {
  margin-top: -58.5px;
}

/* Hide default timeline button*/
a.addnote.btn.btn-primary {
  display: none !important;
}

/*Hide Note Text of Message
label[for="notescontrol"] {
  display: none !important;
}
*/