:root {
  color-scheme: light;
}

body {
  margin: 0;
}

.front-topbar {
  min-height: 31px;
}

.login-menu {
  margin: 6px 0;
}

.logout-form {
  display: inline;
}

.link-button {
  background: transparent;
  border: 0;
  color: #555;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.navigation-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.navigation-row nav {
  flex: 1 1 auto;
}

.port-navigation {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.port-navigation > li > a {
  display: block;
  padding: 22px 12px;
}

.project-search {
  display: flex;
  gap: 5px;
}

.project-search input {
  border: 1px solid #d4d4d4;
  max-width: 180px;
  padding: 7px 10px;
}

.hero {
  background: #eef4f0 url('/Content/Metronic/Images/Sliders/Revolution/bg.jpg') center/cover no-repeat;
  margin-bottom: 35px;
  overflow: hidden;
}

.hero-content {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 360px;
}

.hero h1 {
  color: #3e4d5c;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-subtitle {
  background: #35aa47;
  color: #fff;
  display: inline-block;
  font-size: 18px;
  padding: 5px 8px;
  text-transform: uppercase;
}

.hero-description {
  color: #3e4d5c;
  font-size: 15px;
  line-height: 1.55;
  max-width: 430px;
}

.hero-actions {
  margin-top: 22px;
}

.hero img {
  align-self: end;
  max-height: 340px;
  max-width: 45%;
}

.service-box {
  margin-bottom: 45px;
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.recent-work .project-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.home-references {
  margin-bottom: 40px;
}

.partner-grid {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.partner-grid img {
  height: auto;
  margin: auto;
  max-width: 100%;
}

.project-list {
  margin: 20px 0 40px;
}

.project-card,
.blog-card {
  background: #fff;
  border: 1px solid #e3e8e5;
  box-shadow: 0 2px 8px rgb(0 0 0 / 6%);
  padding: 16px;
}

.project-card img,
.blog-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.blog-list {
  display: grid;
  gap: 22px;
  margin: 20px 0 40px;
}

.blog-card {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(180px, 280px) 1fr;
}

.blog-meta {
  color: #68736d;
}

.pagination-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 30px 0 50px;
}

.dynamic-content-unavailable {
  margin: 24px 0 40px;
}

.content-detail {
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
}

.content-detail-image {
  margin: 20px auto;
  max-height: 520px;
  object-fit: contain;
}

.rich-text-as-plain {
  line-height: 1.7;
  white-space: pre-line;
}

.stored-rich-content {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.stored-rich-content img {
  height: auto;
  max-width: 100%;
}

.asset-grid,
.reward-grid,
.summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 20px 0;
}

.asset-grid img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.reward-card,
.summary-card,
.portlet {
  background: #fff;
  border: 1px solid #e3e8e5;
  padding: 18px;
}

.summary-card {
  display: flex;
  flex-direction: column;
}

.summary-card strong {
  font-size: 26px;
}

.dashboard-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dashboard-table {
  background: #fff;
}

.account-links {
  margin-top: 18px;
}

.min-hight {
  min-height: 420px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .front-topbar .login-menu {
    float: none !important;
    margin-right: 0;
    text-align: right;
  }

  .navigation-row {
    align-items: stretch;
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
  }

  .navigation-row .navbar-brand {
    float: none;
    height: auto;
    justify-self: start;
    padding: 8px 0 0 !important;
  }

  .navigation-row .navbar-brand img {
    height: auto;
    max-width: 100%;
  }

  .navigation-row nav {
    width: 100%;
  }

  .header ul.nav.port-navigation {
    display: grid;
    float: none;
    gap: 0 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    width: 100%;
  }

  .header ul.nav.port-navigation::before,
  .header ul.nav.port-navigation::after {
    content: none;
    display: none;
  }

  .header .navbar-nav.port-navigation > li {
    margin: 0;
    width: 100%;
  }

  .header .navbar-nav.port-navigation > li > a,
  .header .navbar-nav.port-navigation > li > a:hover,
  .header .navbar-nav.port-navigation > li.active > a,
  .header .navbar-nav.port-navigation > li.active:hover > a {
    border-bottom: 1px solid #e8ece9;
    border-top: 0 !important;
    color: #333;
    padding: 9px 8px !important;
  }

  .project-search {
    width: 100%;
  }

  .project-search input {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  .hero-content {
    display: block;
    min-height: 0;
    padding-bottom: 38px;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-top: 0;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero img {
    display: none;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }
}
