/* Morgan & Co overrides only: colors, logo and demo data widgets on top of the Finance Press template. */
:root {
  --morgan-blue: #45647e;
  --morgan-slate: #6f7072;
  --morgan-dark: #18232c;
  --morgan-gold: #c9a961;
}

.top_header,
.main_menu,
.hvr-sweep-to-right:before,
.hvr-sweep-to-rightB:before,
.hvr-sweep-to-right-white:before,
.button-main {
  background-color: var(--morgan-blue) !important;
}

.bottom_header .address_container .icon_holder span,
.breadcrumb_sec ul li a:hover,
.theme_title h2,
.theme_title h3,
.theme_title_center h2,
.theme_title_center h3,
.panel-heading a,
.morgan-metric strong,
.morgan-positive {
  color: var(--morgan-blue) !important;
}

.decor-equal,
.theme_title span,
.theme_title_center span,
.morgan-chip,
.morgan-chart-line {
  background: var(--morgan-gold) !important;
}

footer {
  background: #272727 !important;
}

footer .footer_widget_title h4 {
  color: #ffffff !important;
}

footer .footer_widget_title span.decor_white {
  background: #ffffff !important;
}

.main_menu .navbar-default .navbar-nav > li:hover > a,
.main_menu .navbar-default .navbar-nav > li > a:hover,
.main_menu .navbar-default .navbar-nav > li.active > a {
  color: #f8d179 !important;
}

.main_menu .navbar-default .navbar-nav > li > .sub-menu li a {
  color: #ffffff !important;
}

.main_menu .navbar-default .navbar-nav > li > .sub-menu li a:hover {
  color: #f8d179 !important;
}

.bottom_header .logo_holder {
  background: none !important;
}

.logo_holder a,
footer .footer_logo .logo {
  background: url('../demo-assets/img/logo.png') no-repeat left center !important;
  background-size: contain !important;
  display: block;
  min-height: 74px;
}

.banner .logo {
  background: none !important;
}

.banner .logo span.logo {
  background: url('../demo-assets/img/logo.png') no-repeat center center !important;
  background-size: contain !important;
  display: block;
  width: 150px;
  height: 79px;
}

.stay_with_finance .text_container span.logo {
  background: url('../demo-assets/img/logo.png') no-repeat left center !important;
  background-size: contain !important;
}

footer .footer_logo .logo {
  min-height: 70px;
  margin-bottom: 18px;
}

.inner_banner {
  background: linear-gradient(rgba(24,35,44,.78), rgba(24,35,44,.78)), url('../demo-assets/img/hero.jpg') center center / cover no-repeat !important;
}

.inner_banner h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.service_single_page_content .brochures {
  margin-top: 42px;
}

.morgan-card {
  border: 1px solid #e6ebef;
  padding: 24px;
  margin-bottom: 30px;
  background: #fff;
  min-height: 190px;
}

.morgan-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin-bottom: 18px;
}

.morgan-chip {
  display: inline-block;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.morgan-metric {
  border-left: 4px solid var(--morgan-gold);
  padding: 16px 18px;
  margin-bottom: 20px;
  background: #f7f9fb;
}

.morgan-metric strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.morgan-filter-bar {
  background: #f7f9fb;
  border: 1px solid #e6ebef;
  padding: 18px;
  margin-bottom: 24px;
}

.morgan-filter-bar input,
.morgan-filter-bar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e0e6;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.morgan-table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #e6ebef;
  background: #fff;
}

.morgan-table-wrap table {
  min-width: 920px;
  margin-bottom: 0;
}

.morgan-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #eef3f6 !important;
  color: #18232c;
}

.morgan-table-wrap th:first-child,
.morgan-table-wrap td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  font-weight: 700;
}

.morgan-table-wrap th:first-child {
  z-index: 4;
  background: #e5edf2 !important;
}

.morgan-chart {
  border: 1px solid #e6ebef;
  padding: 18px;
  background: #fff;
  margin-bottom: 30px;
}

.morgan-chart svg {
  width: 100%;
  height: 260px;
}

.morgan-positive { font-weight: 700; }
.morgan-negative { color: #bd4a4a; font-weight: 700; }

.tuesday-demo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

.tuesday-demo button {
  border: 0;
  background: var(--morgan-blue);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}

.tuesday-panel {
  display: none;
  width: 330px;
  background: #fff;
  border: 1px solid #e6ebef;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
  margin-bottom: 8px;
}

.tuesday-demo.open .tuesday-panel { display: block; }
.tuesday-panel h4 { margin: 0; padding: 14px 16px; background: var(--morgan-dark); color: #fff; }
.tuesday-panel .body { padding: 14px 16px; }
.tuesday-panel a { display: block; margin: 8px 0; color: var(--morgan-blue); font-weight: 700; }

@media (max-width: 767px) {
  .morgan-card { min-height: 0; }
  .tuesday-demo { right: 10px; bottom: 10px; }
  .tuesday-panel { width: calc(100vw - 20px); }
}
