/*
 * Override Pages default styles or create your own styles here
 */

ul.chart-legend {
  text-align: center;
  margin: 20px 0px 20px 20px;
}

ul.chart-legend > li {
  display: inline-block;
  cursor: default;
}

ul.chart-legend .legend-bullet {
  display: inline-block;
  width: 40px;
  height: 17px;
  font-size: 2pt;
  padding: 0px;
  margin: 0px;
  border: solid 2px #efefef;
}

ul.chart-legend .legend-bullet * {
  display: inline-block;
  width: 37px;
  height: 13px;
  padding: 0px;
  margin: 0px;
  border: solid 2px #0000001c;
}

ul.chart-legend .legend-label {
  color: #686868;
}

ul.chart-legend .dataset-hidden .legend-label {
  text-decoration: line-through;
}

.header-band {
  /* min-width: 1005px; */
  height: 78px;
  position: relative;
  z-index: 99;
}

.header-band .floating-back {
  height: 78px;
  background-color: #fff;
  /* background-image: url(../img/method-draw-image.svg); */
  background-size: 1400px;
  background-position-x: right;
  background-position-y: top;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  width: 100%;
  right: 20px;
}

.header-band .big-title {
  font-family: Ubuntu;
  text-align: center;
  color: #13366d;
  font-size: 50px;
  line-height: 78px;
  height: 100%;
}

.header-band .notification-list,
.header-band .profile-menu {
  margin-top: 6px;
  padding: 5px;
  height: 100%;
}

.header-band .font-heading {
  width: 215px;
  padding: 10px;
  line-height: 1.2em;
  font-size: 14px;

  /* vertically center the content */
  height: 100%;
  position: relative;
}

.header-band .font-heading > div {
  /* be vertically centered */
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

@media (max-width: 1260px) {
  .header-band .floating-back {
    right: -65px;
  }
  .header-band .font-heading {
    width: 130px;
  }
}

body.fixed-header.horizontal-menu.horizontal-app-menu.dashboard {
  /* min-width: 1140px; */
  min-width: 1005px;
  overflow-x: auto;
}

.menu-bar ul li {
  border-bottom: 2px solid white;
}

/* Overriding modern.css in order to do not hide the horizontal menu */
@media (max-width: 991px) {
  .header .notification-list {
    display: inline-block;
  }
  .horizontal-app-menu .header .header-sm-height {
    height: 45px;
  }
  .horizontal-app-menu .menu-bar {
    position: relative;
    top: 0;
    bottom: 0;
    background-color: white;
    width: auto;
    left: 0;
    overflow-y: visible;
    flex-direction: row;
    z-index: 0;
    transition: none;
  }
  .horizontal-app-menu .menu-bar > ul {
    overflow-x: initial;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
  }
  .horizontal-app-menu .menu-bar ul li {
    min-height: 0;
    display: inline-flex;
    width: auto;
    flex-direction: row;
    margin: 0 12px;
  }
  .horizontal-app-menu .menu-bar > ul > li:first-child a,
  .horizontal-app-menu .menu-bar > ul > li:last-child a {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }
  .horizontal-app-menu .menu-bar > ul > li:first-child {
    margin-left: 0;
  }
  .horizontal-app-menu .menu-bar ul li a {
    font-family: "Segoe UI", Arial, sans-serif;
    display: block;
    padding-right: 4px !important;
    padding-left: 4px !important;
    min-height: 0px;
    line-height: 24px;
    font-size: 13px;
    clear: both;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
  }
  .horizontal-app-menu .menu-bar ul li.active {
    border-bottom: 2px solid #003875;
  }
}
@media (max-width: 480px) {
  body .header .notification-list {
    display: inline-block;
  }
}
