/* Overrides to conver 960 grid layout to 960 fluid layout */

.content {
  margin: 0px auto;
  position: relative;
  width: 100% !important;
}

.btn-red {
  color: #ffffff;
  background-color: #D4614E !important;
  border-color: #398439;
}


.bs-callout {
  display: block;
  padding: 5px;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
  font-size: 1.1em;
}

.bs-callout-info {
  border-left-color: #1b809e
}

.bg-box {
  box-sizing: border-box;
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 50px;
  line-height: 20px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
}

@media (min-width: 1200px) {
  .top-pad-if-large-30 {
    padding-top: 30px;
  }
}

@media (min-width: 1200px) {
  .top-pad-if-large-40 {
    padding-top: 40px;
  }
}

@media (min-width: 1200px) {
  .top-pad-if-large-50 {
    padding-top: 50px;
  }
}

@media (min-width: 992px) {
  .top-pad-if-medium-30 {
    padding-top: 30px;
  }
}

@media (min-width: 992px) {
  .top-pad-if-medium-40 {
    padding-top: 40px;
  }
}

@media (min-width: 992px) {
  .top-pad-if-medium-50 {
    padding-top: 50px;
  }
  .padded-container {
    margin-right: 50px; margin-left:50px;
  }
}

.medium-blue {
  color: #70a0c1;
}

.cyan {
  color: #15aabf;
}

.bottom-pad-5 {
  padding-bottom: 5px;
}

/* Center Modals on the screen */
.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}


.huge {
  font-size: 2.5em;
}

.med-teal-1 {
  #80cbc4
}
.panel-teal {
  border-color: #80cbc4 !important;
}
.panel-teal > .panel-heading {
  border-color: #80cbc4;
  color: white;
  background-color: #80cbc4;
}
.panel-teal > a {
  color: #80cbc4;
}
.panel-teal  > a:hover {
  color: #80cbc4;
}

.panel-bluegreen {
  border-color: #778591 !important;
}
.panel-bluegreen > .panel-heading {
  border-color: #778591;
  color: white;
  background-color: #778591;
}
.panel-bluegreen > a {
  color: #778591;
}
.panel-bluegreen > a:hover {
  color: #778591;
}

.panel-green {
  border-color: #5cb85c !important;
}
.panel-green > .panel-heading {
  border-color: #5cb85c;
  color: white;
  background-color: #5cb85c;
}
.panel-green > a {
  color: #5cb85c;
}
.panel-green > a:hover {
  color: #3d8b3d;
}

/* accent orange */
.orange-med-2 {
  color: #ffd180;
}

.panel-orange {
  border-color: #ffd180 !important;
}
.panel-orange > .panel-heading {
  border-color: #ffd180;
  color: #3f729b;
  background-color: #ffd180;
}
.panel-orange > a {
  color: #3f729b;
}
.panel-orange > a:hover {
  color: #3f729b;
}

.panel-darkorange {
  border-color: #ff8f00 !important;
}
.panel-darkorange > .panel-heading {
  border-color: #ff8f00;
  color: white;
  background-color: #ff8f00;
}
.panel-darkorange > a {
  color: #ff8f00;
}
.panel-darkorange > a:hover {
  color: #ff8f00;
}

.panel-blue {
  border-color: #4298D4 !important;
}
.panel-blue > .panel-heading {
  border-color: #4298D4;
  color: white;
  background-color: #4298D4;
  /* increasing min-height a smidge */
  min-height: 41px;
}
.panel-blue > a {
  color: #4298D4;
}
.panel-blue > a:hover {
  color: #4298D4;
}

.panel-peach {
  border-color: #F9DBA1 !important;
}
.panel-peach > .panel-heading {
  border-color: #F9DBA1;
  color: white;
  background-color: #F9DBA1;
}
.panel-peach > a {
  color: #3378bb;
}
.panel-peach > a:hover {
  color: #3378bb;
}

.panel-grey {
  border-color: #C2CACE !important;
}
.panel-grey > .panel-heading {
  border-color: #C2CACE;
  color: white;
  background-color: #C2CACE;
}
.panel-grey > a {
  color: #999;
}
.panel-grey > a:hover {
  color: #999;
}

.panel-lightgrey {
  border-color: #DCE2E6 !important;
}
.panel-lightgrey > .panel-heading {
  border-color: #DCE2E6;
  color: white;
  background-color: #DCE2E6;
}
.panel-lightgrey > a {
  color: #999;
}
.panel-lightgrey > a:hover {
  color: #999;
}

.panel-lightblue {
  border-color: #bbdefb !important;
}
.panel-lightblue > .panel-heading {
  border-color: #bbdefb;
  color: #3f729b;
  background-color: #bbdefb;
}
.panel-lightblue > a {
  color: #bbdefb;
}
.panel-lightblue > a:hover {
  color: #bbdefb;
}

.panel-medgreen {
  border-color: #75C0AB !important;
}
.panel-medgreen > .panel-heading {
  border-color: #75C0AB;
  color: #FFF;
  background-color: #75C0AB;
}

.panel-medgreen > a {
  color: #3378bb;
}
.panel-medgreen > a:hover {
  color: #3378bb;
}

.panel-lightgreen {
  border-color: #d2e3b6 !important;
}
.panel-lightgreen > .panel-heading {
  border-color: #d2e3b6;
  color: #3f729b;
  background-color: #d2e3b6;
}

.panel-lightgreen > a {
  color: #3f729b;
}
.panel-lightgreen > a:hover {
  color: #3f729b;
}

.panel-aquamarine {
  border-color: #b2dfdb !important;
}
.panel-aquamarine > .panel-heading {
  border-color: #b2dfdb;
  color: #3f729b;
  background-color: #b2dfdb;
}

.panel-aquamarine > a {
  color: #3f729b;
}
.panel-aquamarine > a:hover {
  color: #3f729b;
}


.panel-indigo {
  border-color: #5c6bc0 !important;
}
.panel-indigo > .panel-heading {
  border-color: #5c6bc0;
  color: white;
  background-color: #5c6bc0;
}
.panel-indigo > a {
  color: #5c6bc0;
}
.panel-indigo > a:hover {
  color: #5c6bc0;
}

.panel-primary .panel-heading a {
  color: white;
}

ul.bulleted {
  padding-left: 20px;
}

ul.bulleted > li > a {
  color: #31708f;
}

.panel-primary > a .panel-footer {
  color: #337ab7;
}

.panel-primary  a:hover {
  color: #23527c;
}

.panel-dialer {
  border-color: #009bba !important;
}
.panel-dialer > .panel-heading {
  border-color: #009bba;
  color: white;
  background-color: #009bba;
}
.panel-dialer > a {
  color: #009bba;
}
.panel-dialer > a:hover {
  color: #b52b27;
}


a#dialer-main.highlight {
  color: #fff;
}

.panel-red {
  border-color: #d9534f !important;
}
.panel-red > .panel-heading {
  border-color: #d9534f;
  color: white;
  background-color: #d9534f;
}
.panel-red > a {
  color: #d9534f;
}
.panel-red > a:hover {
  color: #b52b27;
}

.panel-yellow {
  border-color: #f0ad4e !important;
}
.panel-yellow > .panel-heading {
  border-color: #f0ad4e;
  color: white;
  background-color: #f0ad4e;
}
.panel-yellow > a {
  color: #f0ad4e;
}
.panel-yellow > a:hover {
  color: #df8a13;
}

.action-link {
  color: #990000 !important;
}
/* Compressed template */

div.row-item.row-compressed > input.form-control{
  min-height: 24px !important;
}
div.row-item.row-compressed {
  min-height: 24px;
  margin: 0 0 0px 0;
}
div.row-item.row-compressed label.display-text-input {
  min-height: 24px;
}
.form-control.form-control-compressed:not(textarea) {
  height: 24px !important;
}

textarea.form-control.form-control-compressed {
  height: 24px;
}

div.row-item label.display-text-input {
  /* display: inline;
  white-space: pre-wrap;
  line-height: 48px; */
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 0 0 0 8px;
  color: #534d64;

  /* Experimenting with some alternate stying to make wrapping look less terrible */
  display: flex;
  align-items: center;
  min-height: 48px;
}

div.row-item > input.form-control:not(.disable_bootstrap_input_element) {
  /*background: #ebeff2 !important;*/
  background: #eaf0f6 !important;
  display: inline;
  font-size: 14px;
  font-weight: 400;
  color: #534d64;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 20px;
  text-align: left;
  min-height: 48px;
  white-space: inherit;
}

div.row-item > textarea {
  /*background: #ebeff2 !important;*/
  background: #eaf0f6 !important;
  display: inline;
  font-size: 14px;
  font-weight: 400;
  color: #534d64;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 20px;
  text-align: left;
  min-height: 48px;
  /* this was preventing read-only textareas from displaying line-breaks  */
  /* white-space: inherit; */
}

div.row-item {
  margin: 0 0 2px 0;
  min-width: 48px;
  vertical-align: middle;
  min-height: 48px;
}

div.row-item > .chosen-container > .chosen-single, [class*="chosen-container"] > .chosen-single {
  line-height: 48px;
  min-height: 48px;
}

div.row-item-small > label.display-text-input, div.row-item-small > div.required-field-block  > label.display-text-input {
  display: inline;
  font-size: 12px;
  font-weight: 700;
  color: #534d64;
  padding: 0 0 0 8px;
  text-align: left;
  white-space: pre-wrap;
  line-height: 30px;
}

div.row-item-small > input.form-control {
  /*background: #ebeff2 !important;*/
  background: #eaf0f6 !important;
  display: inline;
  font-size: 12px;
  font-weight: 400;
  color: #534d64;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 20px;
  text-align: left;
  min-height: 30px;
  white-space: inherit;
}

div.row-item-small > textarea, div.row-item-small > div[contenteditable] {
  /*background: #ebeff2 !important;*/
  background: #eaf0f6 !important;
  display: inline;
  font-size: 12px;
  font-weight: 400;
  color: #534d64;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 20px;
  text-align: left;
  min-height: 30px;
  white-space: inherit;
}

div.row-item-small > div[contenteditable] {
  display: inherit;
}

div.row-item-small {
  margin: 0 0 2px 0;
  min-width: 48px;
  vertical-align: middle;
  min-height: 30px;
}

/*
.chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background: url('chosen-sprite.png') no-repeat 0px 12px !important;
}

.chosen-container-single .chosen-search:after {
  font-family: "Font Awesome 5 Regular"; 
  content: "\f1ea";
  background: url('chosen-sprite.png') no-repeat 0px 12px !important;
  top: 12px;
}

*/



label.error {
  color: #f08377;
  font-weight: bold;
}

.panel-heading {
  min-height: 38px;
}

.panel-heading-compact {
  min-height:30px;
  padding:8px 13px;
}
.panel-heading-compact .panel-title { font-size: 14px; }

.toggle-icon {
  margin-top: 3px;
}

ul.recent-panel a {
  color: #fff;
  height: auto;
  min-height: 39px;
}

ul.recent-panel a:hover {
  color: #677785;
}

ul.nav-menu {
  font-weight: bold;
}

.normalcase {
  text-transform: none !important;
}

.input-group .input-group-addon {
  cursor: pointer;
}

.input-group .input-group-addon.disabled {
  opacity: .6;
  cursor: not-allowed;
}

/*
 * For small devices change our padding
 */
@media (max-width: 480px) {
  .container {
    padding:0;
    margin:0;
  }

  #container .container-fluid {
    padding:2px;
    margin:2px;
  }

  body {
    padding:0;
  }
}

div.sub-panel-left {
  color:white; 
  min-height: 80px;
}

div.sub-panel-red-border {
  border:2px solid #d9534f;
}

div.sub-panel-red-background {
  background-color: #d9534f; 
}

div.sub-panel-blue-border {
  border:2px solid #3f729b;
}

div.sub-panel-blue-background {
  background-color: #3f729b; 
}

div.sub-panel-orange-border {
  border:2px solid #ff8f00;
}

div.sub-panel-orange-background {
  background-color: #ff8f00; 
}

div.sub-panel-lightorange-border {
  border:2px solid #fab947;
}

div.sub-panel-lightorange-background {
  background-color: #fab947; 
}

div.sub-panel-lightblue-border {
  border:2px solid #0099cc;
}

div.sub-panel-lightblue-background {
  background-color: #0099cc; 
}

div.sub-panel-green-border {
  border:2px solid #00bfa5;
}

div.sub-panel-green-background {
  background-color: #00bfa5; 
}


ul.dropdown-menu>div>div>a {
  color: #CCC;
}

ul.dropdown-menu>div>div>a:hover {
  color: #337ab7;
}

.datetime-picker-wrapper,
.date-picker-wrapper,
.date-week-picker-wrapper,
.date-month-picker-wrapper,
.time-picker-wrapper {
  height: 48px;
}

div.datetime-picker-wrapper > input.form-control,
div.date-week-picker-wrapper > input.form-control,
div.date-month-picker-wrapper > input.form-control,
div.date-picker-wrapper > input.form-control,
div.time-picker-wrapper > input.form-control {
  height: 48px;
  padding-left: 12px;
}

/* Center feedback icons */
span.form-control-feedback {
  top: 5px;
  right: 17px;
}

/* 
 * Toolbar specific css
 */
  .toolbar-header {
    padding-top: 10px;
  }

  .toolbar-header > div > h2 {
    line-height: 34px;
  }

  .toolbar-header > div.pull-left {
    vertical-align: middle;
  }

  .toolbar-btn {
    display: inline-block !important;
    padding: 6px 12px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.42857143 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    -ms-touch-action: manipulation !important;
        touch-action: manipulation !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
       -moz-user-select: none !important;
        -ms-user-select: none !important;
            user-select: none !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
  }

.toolbar-btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0 !important;
}
.toolbar-btn-group > .btn:first-child {
  margin-left: 0 !important;
}
.toolbar-btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.toolbar-btn-group > .btn:last-child:not(:first-child),
.toolbar-btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
/*
 * End Tool bar css
 */


  #directions-display {
    background: #eaf0f6;
    border: 1px solid transparent;
  }

/* TOP MENU */
/* removes default navbar background */
#top_navbar_button:hover {
  background-color: transparent;
}
#htt_navbar .dropdown.open .caret {
  transform: rotate(180deg);
}
@media (max-width: 991px) {
  /* this makes the alerts viewable on smaller screen */
  .navbar .navbar-nav > li.dropdown.open > .dropdown-menu > li.htt_alerts > a {
    white-space: normal;
  }
}
/* shows simple menu on mobile */
#hematerra_logo, 
.navbar .navbar-nav > li.htt_hidden_mobile, 
.navbar .navbar-nav > li.htt_navbar_icon a svg, 
.htt_hidden_mobile  {
  display:none;
}

.navbar .navbar-nav > li.htt_navbar_icon {
  border:none;
}

@media (min-width: 806px) and (min-height: 501px) {
  span.htt_link_text, li.htt_show_mobile, .htt_show_mobile {
    display:none;
  }

  #hematerra_logo, .navbar .navbar-nav > li.htt_hidden_mobile, .htt_hidden_mobile  {
    display:block;
  }

  .navbar .navbar-nav > li.htt_navbar_icon a svg {
    display: inline-block;
  }
}

/* hide slideout button when in mobile */
@media (max-width: 768px) {
  #navbar-toggle-button {
    display: none;
  }
}

#body-container {
  background-color: #fefffa; 
  min-height: 600px;
}

#hematerra_logo {
  background-color: #d6eaf1;
  padding-left: 50px;
}

#hematerra_logo a img {
  max-width: 100%;
  max-height: 100%;
}
@media (min-width: 980px) {
  #body-container {
    margin-top: 98px;
  }
}
@media (max-width: 780px) {
  #body-container {
    margin-top: 144px;
  }
}


@media (max-width: 480px) {
  #header .container-fluid {
    margin: 0px;
    max-height: 100%;
  }

  #hematerra_logo {
    background-color: #d6eaf1;
    padding: 0px;
  }

  #body-container {
    margin-top: 77px;
  }
}
/* END TOP MENU */

fieldset.panel-fieldset {
  margin: 20px;
}
fieldset.panel-fieldset > legend {
  font-size: 1.3em;
}

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
  }
}
/* used on the slide out left nav */
.affix {
  /*width: 220px;*/
  /* top: 98px; */
}
.affix-top {
  /* position: sticky; */

  /*width: 220px;*/
}
.affix-bottom {
  /* position: sticky; */
  /*width: 220px;*/
}

/* moving inline-styles here*/
#collapse-menu {
  width: 220px;
  min-height: calc(100vh);
  height:100%; 
  padding: 0px; 
  position: relative; 
  left: -1px;
}
#footer-container #container{
  background-color: #009bba; 
  /* No reason to have padding on this w/ responsive */
  /*padding-left: 50px;*/
  min-height: 100px;
}


#sidebar_container {
  height: 100%;
  /*overflow-y:auto;*/

  /* Adding background color to this whole left side, may need to adjust later */
  background-color: #daedf8;
}


.sidebar-quick-links-wrapper {
  background-color: #daedf8;
  padding-right: 5px;
}
.sidebar-quick-links {
  margin-left: 5px;
  width: 210px;
}

.menu-text {
  word-wrap: none;
}

@media (max-width: 1400px) {
  .huge {
      font-size: 2em;
  }

  #menu_block_icons {
    font-size: .75em;
  }
}

@media (max-width: 685px) {
  .sidebar-quick-links {
    width: 150px;
  }

  h4 {
    font-size: 14px;
  }
  .nav-list > li > a {
    font-size: 10px;
    height:45px;
  }

  .nav-list > li > a > .menu-icon {
      font-size: 12px;
  }

  .sidebar-quick-links-wrapper {
    padding-right: 0px;
  }
  .nav-list > li {
  }

  .nav-list > li a {
    /*
      padding-top: 5px;
      padding-bottom: 0px;
    */
  }
}

@media (max-width: 500px) {
  .sidebar-quick-links {
    width: 100px;
  }

  .nav-list > li > a > svg {
    display:none;
  }

  .nav-list > li > a {
    font-size: 9px;
    height:30px;
  }

  .nav-list > li > a > .menu-icon {
      width: 0px;
      display: none;
  }
}

.panel.recent-panel {
  background-color: #778591;
  color: #f5f5f5;
  min-height: 30vh;
  max-height: 50%;
}

.panel.recent-panel .panel-body {
  padding-top: 0px; 
  height: calc(100% - 50px);
}

.nav.nav-list.recent-panel {
  height:100%; overflow-y: hidden;
}

label.error {
  padding-top: 4px;
}
/* fix for error placement since the actual select tag gets hidden from page */
.row-item .bootstrap-select.btn-group, .row-item .bootstrap-select.btn-group, .row-item .bootstrap-select.btn-group {
    margin-bottom: 4px;
}
/* center schedules*/
.list-group.center-schedules .list-group-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  padding-bottom:2px;
  padding-top:2px;
  line-height: 25px;
}
.list-group.center-schedules .list-group-item:first-child {
  border-top: 0;
}
.list-group.center-schedules .list-group-item:last-child {
  border-bottom: 0;
}
.list-group.center-schedules .list-group-item select{
  height: 25px;
}

.list-group-item.center-schedules:hover,.list-group-item.center-schedules:nth-of-type(even):hover {
  background: gray;
}

.list-group-item.center-schedules:nth-of-type(even) {
  background-color: #EBEBEB;
}

/* navbar search form */
.navbar_search_form, #mobile_searchbox {
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.navbar_search_form .input-group input[type="text"] {
  height: 45px;
}
.navbar_search_form .input-group-addon {
  padding-top: 9px;
  border-color: transparent;
  background-color: transparent;
}
#navbar_search_icon {
  color: #fff;
}
.navbar_search_li .input-group-addon,
.mobile_searchbox .input-group-btn {
  background: rgba(0, 0, 0, 0.1);
}
.navbar_search_li .navbar_search_form .input-group input[type="text"]{
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 1300px) {
  .nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 834px) {
  .nav > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (min-width: 767px) {
  .navbar_search_form, .mobile_searchbox {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.mobile_searchbox .input-group-btn .btn {
  background-color: transparent !important;
  border-color: transparent;
}
.mobile_searchbox .input-group input[type="text"] {
  height: 42px;
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
}

.nowrap {
  overflow: hidden;
  white-space: nowrap;
}

.ellipsis {
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis;
}


.tooltip-inner-wide {
  max-width: 350px;
  min-width: 250px;
}

.closeText:before {
  content: "Close";
}

/* making dropdown visible on top of navbar-fixed-top which has z-index of 1030 */
.dropdown-menu {
  z-index: 1031;
}

/* Required field START */

.required-field-block .required-icon {
  display: inline-block;
  vertical-align: middle;
  margin: -0.25em 0.25em 0em;
  background-color: #E8E8E8;
  border-color: #E8E8E8;
  padding: 0.5em 0.8em;
  color: rgba(0, 0, 0, 0.65);
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 0.325em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background 0.1s linear;
  -moz-transition: background 0.1s linear;
  transition: background 0.1s linear;
  font-size: 75%;
}

.required-field-block .required-icon {
  background-color: transparent;
  position: absolute;
  top: 10px;
  right: 0em;
  z-index: 10;
  margin: 0em;
  width: 30px;
  padding: 0em;
  text-align: center;
  -webkit-transition: color 0.2s ease;
  -moz-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.required-field-block .required-icon:after {
  
}

.required-field-block .required-icon .text {
  color: #B80000;
  font-size: 26px;
  margin: -3px 0 0 12px;
}
/* Required field END */

/* custom css for sites input group */
.sites-drowpdown-wrapper, div.sites-drowpdown-wrapper  > input.form-control {
  height: 41px;
}

/* UGLy hack to make input-group-addon work with bootstrap-select */
.sites-drowpdown-wrapper .bootstrap-select.btn-group .dropdown-toggle {
  margin-right: -300px;
}
/*@media (min-width: 768px) {
  .sites-drowpdown-wrapper .bootstrap-select.btn-group .dropdown-toggle {
    margin-right: -48px;
  }
}*/

/* Add Drive customizations */
#drive_tabs .tab-pane > h3 {
  color: #337ab7;
  margin: 0 0 20px;
}

#drive_tabs p { font-size: 120%; line-height: normal; }

.nav-progress-steps > li { 
  display: inline-block;
  margin-left: 30px
}

.nav-progress-steps > li:before { 
  content: "";
  width: 35px;
  height: 4px;
  margin-top: -2px;
  background: #337ab7;
  position: absolute;
  top: 50%;
  right: 95%;
  z-index: 1;
}
.nav-progress-steps > li:first-child { margin: 0; }
.nav-progress-steps > li:first-child:before { display: none; }

.nav-progress-steps > li > a {
  height: 25px;
  line-height: 25px;
  min-width: 25px;
  border-radius: 50%;
  text-align: center;
  padding: 0;
  background: #337ab7; 
  color: white;
  font-size: 110%;
  position: relative;
  z-index: 2;
}
.nav-progress-steps > li > a:focus { background: #337ab7; }
.nav-progress-steps > li > a:hover { background: #285f8f; }

.nav-progress-steps > li.active ~ li:before { background: #ccc; }
.nav-progress-steps > li.active ~ li > a { background: #ccc; pointer-events: none; }

.nav-progress-steps > li.active ~ li > a:focus { background: #ccc; }
.nav-progress-steps > li.active ~ li > a:hover { background: #ccc; }

/* Half sizes for grids */
.col-sm-1half, .col-sm-10half {
  position: relative;
  min-height: 1px;
  padding-left: 12px;
  padding-right: 12px;
  float: left;
}

.col-sm-10half {
    width: 87.5%;
  }
.col-sm-1half {
  width: 12.5%;
}

.alert-leftborder {
  padding: 15px;
  background-color: #FFFFFF;
  border: 1px solid;
  border-left: 9px solid;
  margin-bottom: 10px;
}

.filter-dropdown-wrapper, div.filter-drowpdown-wrapper  > input.form-control {
  height: 41px;
}

/* custom css for custom select input group */
.custom-select-wrapper:not(.row-compressed), div.custom-select-wrapper > input.form-control:not(.form-control-compressed) {
  height: 41px;
}

/* UGLy hack to make input-group-addon work with bootstrap-select */
.custom-select-wrapper .bootstrap-select.btn-group .dropdown-toggle {
  margin-right: -300px;
}

.render-html a {
  color: #337ab7;

}

.render-html {
  height: auto;
}

ul.inset { padding-left: 20px; }

div.color-picker-wrapper > input.form-control {
    height: 48px;
    padding-left: 12px;
}

.modal .toggle-group .btn {
  line-height: 1;
}
 .modal .toggle-group label.btn {
  line-height: 20px;
}

div.file-input-wrapper > label.form-control {
  height: 48px;
  padding: 0;
  margin-bottom: 0px;
  border: none;
  white-space: nowrap;
  overflow: hidden;
  background: #eaf0f6;
}

div.file-input-wrapper  > label.form-control > span.file-input-label-text {
  margin: 0px 10px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: calc(100% - 100px);
  vertical-align: middle;
}

div.file-input-wrapper > label.form-control > span.btn {
  padding: 9px 12px;
}

div.file-input-wrapper  > label.form-control > input[type=file] {
  position: absolute !important;
  left: -9999px !important ;
}

div#display_avatar.form-control {
  height: auto;
}


/* custom css for small icons */
.icon-16 { width: 16px; height: 16px; }

.panel-purple {
  border-color: #9900cc !important;
}
.panel-purple > .panel-heading {
  border-color: #9900cc;
  color: #fff;
  background-color: #9900cc;
}

.panel-purple > a {
  color: #fff;
}
.panel-purple > a:hover {
  color: #fff;
}

/**COLORS used on the alternating menu page**/
.panel-unique-color {
  border-color: #3F729B !important;
}
.panel-unique-color > .panel-heading {
  border-color: #3F729B;
  color: #fff;
  background-color: #3F729B;
}
.panel-unique-color > a {
  color: #fff;
}
.panel-unique-color > a:hover {
  color: #fff;
}

.panel-orange.accent-1 {
  border-color: #ffd180 !important;
}
.panel-orange.accent-1 > .panel-heading {
  border-color: #ffd180;
  color: #3F729B;
  background-color: #ffd180;
}
.panel-orange.accent-1 > a {
  color: #3F729B;
}
.panel-orange.accent-1 > a:hover {
  color: #3F729B;
}

.panel-red.darken-2 {
  border-color: #d32f2f !important;
}
.panel-red.darken-2 > .panel-heading {
  border-color: #d32f2f;
  color: #fff;
  background-color: #d32f2f;
}
.panel-red.darken-2 > a {
  color: #fff;
}
.panel-red.darken-2 > a:hover {
  color: #fff;
}

.dark-red-1 {
  color: #d32f2f;
}

.panel-teal.accent-4 {
  border-color: #00bfa5 !important;
}
.panel-teal.accent-4 > .panel-heading {
  border-color: #00bfa5;
  color: #fff;
  background-color: #00bfa5;
}
.panel-teal.accent-4 > a {
  color: #fff;
}
.panel-teal.accent-4 > a:hover {
  color: #fff;
}

.panel-teal.lighten-3 {
  border-color: #80cbc4 !important;
}
.panel-teal.lighten-3 > .panel-heading {
  border-color: #80cbc4;
  color: #fff;
  background-color: #80cbc4;
}
.panel-teal.lighten-3 > a {
  color: #fff;
}
.panel-teal.lighten-3 > a:hover {
  color: #fff;
}

.panel-teal.lighten-4 {
  border-color: #b2dfdb !important;
}
.panel-teal.lighten-4 > .panel-heading {
  border-color: #b2dfdb;
  color: #3F729B;
  background-color: #b2dfdb;
}
.panel-teal.lighten-4 > a {
  color: #3F729B;
}
.panel-teal.lighten-4 > a:hover {
  color: #3F729B;
}

.panel-amber.darken-3 {
  border-color: #ff8f00 !important;
}
.panel-amber.darken-3 > .panel-heading {
  border-color: #ff8f00;
  color: #fff;
  background-color: #ff8f00;
}
.panel-amber.darken-3 > a {
  color: #fff;
}
.panel-amber.darken-3 > a:hover {
  color: #fff;
}

.panel-light-blue.accent-4 {
  border-color: #0091ea !important;
}
.panel-light-blue.accent-4 > .panel-heading {
  border-color: #0091ea;
  color: #fff;
  background-color: #0091ea;
}
.panel-light-blue.accent-4 > a {
  color: #fff;
}
.panel-light-blue.accent-4 > a:hover {
  color: #fff;
}

.panel-blue.lighten-4 {
  border-color: #bbdefb !important;
}
.panel-blue.lighten-4 > .panel-heading {
  border-color: #bbdefb;
  color: #3F729B;
  background-color: #bbdefb;
}
.panel-blue.lighten-4 > a {
  color: #3F729B;
}
.panel-blue.lighten-4 > a:hover {
  color: #3F729B;
}

.panel-medium-gray {
  border-color: #d6dae1 !important;
}
.panel-medium-gray > .panel-heading {
  border-color: #d6dae1;
  color: #3F729B;
  background-color: #d6dae1;
}
.panel-medium-gray > a {
  color: #3F729B;
}
.panel-medium-gray > a:hover {
  color: #3F729B;
}

.orange-med-1 {
  color: #fd7e14;
}

.green-med-1 {
  color: #2dbc4e;
}
.green-med-1:hover {
  color: #1e7e34;
}

.red-med-1 {
  color: #d32535;
}
.red-med-1:hover {
  color: #921a25;
}

.sub-panel {
  margin-bottom: 20px;
}
.sub-panel .sub-panel-left {
  font-size: 1.5em;
}
.sub-panel-heading {
  font-size: 95%;
  padding-top: 10px;
  min-height: 60px;
  word-wrap: break-word;
}
.sub-panel .sub-panel-right {
  font-size: 1.1em;
  color: #393939;
  padding: 10px;
}
.sub-panel-icon {
  padding-bottom: 5px;
}
.sub-panel-unique-color {
  border:2px solid #3F729B;
}
.sub-panel-unique-color .sub-panel-left {
  color: #fff;
  background-color: #3F729B;
}

.sub-panel-orange.accent-1 {
  border:2px solid #ffd180;
}
.sub-panel-orange.accent-1 .sub-panel-left {
  color: #3F729B;
  background-color: #ffd180;
}

.sub-panel-red.darken-2 {
  border:2px solid #d32f2f;
}
.sub-panel-red.darken-2 .sub-panel-left {
  color: #fff;
  background-color: #d32f2f;
}

.sub-panel-teal.accent-4 {
  border:2px solid #00bfa5;
}
.sub-panel-teal.accent-4 .sub-panel-left {
  color: #fff;
  background-color: #00bfa5;
}

.sub-panel-teal.lighten-3 {
  border:2px solid #80cbc4;
}
.sub-panel-teal.lighten-3 .sub-panel-left {
  color: #fff;
  background-color: #80cbc4;
}

.sub-panel-teal.lighten-4 {
  border:2px solid #b2dfdb;
}
.sub-panel-teal.lighten-4 .sub-panel-left {
  color: #3F729B;
  background-color: #b2dfdb;
}

.sub-panel-amber.darken-3 {
  border:2px solid #ff8f00;
}
.sub-panel-amber.darken-3 .sub-panel-left {
  color: #fff;
  background-color: #ff8f00;
}

.sub-panel-light-blue.accent-4 {
  border:2px solid #0091ea;
}
.sub-panel-light-blue.accent-4 .sub-panel-left {
  color: #fff;
  background-color: #0091ea;
}

.sub-panel-blue.lighten-4 {
  border:2px solid #bbdefb;
}
.sub-panel-blue.lighten-4 .sub-panel-left {
  color: #3F729B;
  background-color: #bbdefb;
}

.sub-panel-medium-gray {
    border:2px solid #d6dae1;
}
.sub-panel-medium-gray .sub-panel-left {
    color: #3F729B;
    background-color: #d6dae1;
}


div.current-donor-panel div.panel-body a:hover {
  text-decoration: none;
}

div.legend-teal {
  color: #fff;
  background-color: #4ac6aa;
  border-color: #4ac6aa;
}
div.legend-grey {
  color: #fff;
  background-color: #c5c5c5;
  border-color: #c5c5c5;
}
div.legend-orange {
  color: #fff;
  background-color: #ef6d4d;
  border-color: #ef6d4d;
}

/*
 * datatable overrides
 */
.datatable-outer-wrap {
  margin-bottom: 30px;
}

.slider.slider-horizontal { margin: 12px 0; }
.slider .slider-selection { background: #ABBAC3; }

/*
 * Calendar and appointment colors
 */
.event_wb, .event_wb a {
  background-color: #36c;
  border-color: #36c;
}

.event_not_eligible, .event_not_eligible a {
  background-color:  #C11B17;
  border-color: #C11B17;
}

.event_dr, .event_dr a {
  background-color: #a51d14;
  border-color: #a51d14;
}

.event_pp, .event_pp a {
  background-color: #1799be;
  border-color: #1799be;
}

.event_pl, .event_pl a {
  background-color: #669999;
  border-color: #669999;
}

.event_call,  .event_call a{
  background-color: #106b85;
  border-color: #106b85;
}
/* uses the fullcalendar default */
.event_email, .event_email a {
  background-color: #3366cc;
  border-color: #3366cc;
}

.event_mail, .event_mail a {
  background-color: #1799be;
  border-color: #1799be;
}
/*Used for campaign items on Recurring Calendar connect-2254*/
.event_campaign_item, .event_campaign_item a {
  background-color:#3399FF;
  border-color: #3399FF;
}

.event_single_campaign_item, .event_single_campaign_item a {
  background-color: #973cff;
  border-color: #973cff;
}

.event_tr, .event_tr a {
  background-color: #852a10;
  border-color: #852a10;
}

.event_text, .event_text a {
  background-color: #088A08;
  border-color: #088A08;
}

.event_social, .event_social a {
  background-color: #FFA500;
  border-color: #FFA500;
}

.event_recurring, .event_recurring a {

}

.event_overnight, .event_overnight a {
  background-color: #33CCFF;
  border-color: #33CCFF;
}

.event_goal_met, .event_goal_met a {
  background-color: #FAA523;
  border-color: #FAA523;
}

a.appointment_donor {
  color: green;
  font-weight: bold;
  font-style: italic;
}

a.appointment_crm {
  color: black;
  font-weight: bold;
}

a.appointment_external {
  color: brown;
  font-weight: bold;
}

a.appointment_coordinator {
  color: darkblue;
  font-weight: bold;
}

a.appointment_donor_mobile {
  color: purple;
  font-weight: bold;
  font-style: italic;
}

a.appointment_coordinator_mobile {
  color: purple;
  font-weight: bold;
}

a.appointment_mobile_app {
    color: darkgoldenrod;
    font-weight: bold;
    font-style: italic;
}

div.preview_not_available {
  overflow:hidden;
  max-height:190px;
  max-width:100%;
}

.preview_container {
  height: 200px;
}

.preview_container_footer {
  height: 47px;
  overflow: hidden;
}

a.variable_add_button {
  padding: 5px;
  display: inline-block;
  width: 200px;
  text-align: center;
  overflow: none;
  margin: 4px;
  border:1px solid lightgrey;
  border-radius: 4px;
}

ul.connectedSortable {
  list-style-type: none;
}

#sortable1 li, #sortable2 li {
  margin: 0 5px 5px 5px;
  padding: 5px;
  font-size: 1.2em;
  width: 200px;
  cursor: pointer;
}

div.survey_rating {
    float: left;
    min-width: 90px;
    padding: 5px;
    white-space: nowrap;
}

/*
 * Used to show nice unordered list body in alert box in panel_template 
 * Ex. donor touch limits
 *
 */
.alert_list {
  padding: 0px;
  margin: 0px;
  margin-left: 30px;
  background-color: white;
  border: none;
}

/*
 * Used to show text message character countdown in campaigns/text_edit, it's the default error red for now
 */
#message_length_notice {
  font-weight: bold;
}

.appointment.row {
  padding-top: 5px;
}

.current-call-indent {
  padding-left: 0px;
  padding-top: 5px;
}

.current-call-list {
  font-size: 12px;
}

div.current-call-row-item {
  margin: 0 0 5px 0;
  min-width: 48px;
  vertical-align: middle;
  min-height: 32px;
}

#current-call-list-label {
  font-size: 12px;
  padding-left: 0px;
  padding-right: 0px;
}

#current-call-list-value {
  font-size: 12px;
  padding-left: 0px;
  padding-right: 0px;
}


div.htt-tooltip {
  font-size:  14px;
  max-width: 550px;
  min-width: 320px;
  padding:  10px;
}


div.htt-link-tooltip {
  font-size: 13px;
  padding: 5px;
}

label.htt-label-tooltip {
  background-image:  url('../../../images/icons/24x24/question_mark.png');
  background-position: 90% 0%;
  background-position-y: -4px;
  background-repeat: no-repeat;
}

a.htt-link-tooltip {

}

.table-striped>tbody>tr:nth-of-type(odd)>.reserved_slots  {
  background-color: #FFA;
}

.table-striped>tbody>tr:nth-of-type(even)>.reserved_slots  {
  background-color: #FFD;
}
