/* Next public shell styles: header, navigation, footer, cookies, tooltips, logged-in chrome.
   Source of truth after CR-012. */

nav .brand-logo img {
  display: inline;
}

nav .brand-logo.brand-logo-reclablog img {
  height: auto;
  vertical-align: middle;
  width: 210px;
}

.side-nav .side-nav-top .brand-logo-reclablog img {
  height: auto;
  width: 190px;
}

.site-header .nav-menu .tabs {
  position: relative;
}

.site-header .nav-menu .tabs::after {
  display: none;
}

.site-header .nav-menu .tabs .tab {
  position: relative;
}

.site-header .nav-menu .tabs .tab a.active {
  border-bottom: 0;
}

.site-header .nav-menu .tabs .tab .nav-static {
  color: #fff;
  cursor: default;
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 37px;
  line-height: 1;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  width: auto;
}

.site-header .nav-menu .tabs .tab.is-active::after {
  background: #fff;
  bottom: -6px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 25px;
}

.nav-right .search-widget:not(:hover):not(:focus-within):not(.focused):not(.text-entered) label {
  visibility: hidden;
}

.nav-right .search-widget:hover,
.nav-right .search-widget:focus-within,
.nav-right .search-widget.focused,
.search-open .nav-right .search-widget,
.nav-right .search-widget.text-entered {
  width: 300px !important;
}

.nav-right .search-widget:hover label,
.nav-right .search-widget:focus-within label,
.nav-right .search-widget.focused label,
.nav-right .search-widget.text-entered label {
  visibility: visible;
}

.nav-right .search-widget.text-entered label,
.nav-right .search-widget.text-entered:focus-within label,
.nav-right .search-widget.text-entered.focused label {
  visibility: hidden;
}

.side-nav.side-nav-open {
  transform: translateX(0);
}

.side-nav-overlay {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  display: block;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9997;
}

.side-nav .side-nav-top {
  align-items: center;
  display: flex;
  height: 88px;
  padding: 0 28px;
}

.side-nav .side-nav-top a {
  display: inline-flex;
  height: auto;
  padding: 0;
}

.side-nav .side-nav-top img {
  height: 34px;
  width: auto;
}

.side-nav .side-nav-static {
  color: #455a64;
  cursor: default;
  display: block;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  line-height: 48px;
  padding: 0 28px;
}

.public-chrome > .public-main > .container-write,
.public-chrome > .public-main > .container-medium {
  width: 100%;
}

.public-chrome > footer.footer {
  margin-top: 25px;
}

.public-chrome > .public-main > .post-search {
  box-sizing: border-box;
  min-height: calc(100vh - 292px);
}

.cookies,
.cookies p {
  color: #455a64;
}

@media only screen and (max-width: 600px) {

  .site-header nav .nav-wrapper .container {
    height: 100%;
    position: relative;
  }

  .site-header nav .brand-logo {
    align-items: center;
    display: flex;
    float: none;
    left: 50%;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .site-header nav .brand-logo img {
    display: block;
  }

  .footer-links li,
  .footer-links a {
    display: block;
  }

  .footer-links a {
    line-height: 32px;
    min-height: 32px;
  }

  .footer-links li {
    margin: 0 0 8px;
  }

  .footer-links li:not(:first-child):before {
    content: none;
  }

  .public-chrome > .post-search {
    min-height: calc(100vh - 266px);
  }

  .cookies button.btn {
    width: 100%;
  }
}

.material-tooltip[data-next-tooltip] {
  background-color: transparent;
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  isolation: isolate;
  left: 0;
  line-height: 16.8px;
  max-width: min(520px, calc(100vw - 16px));
  min-height: 0;
  opacity: 0;
  overflow: visible;
  padding: 10px 8px;
  pointer-events: none;
  position: fixed;
  text-align: center;
  top: 0;
  transform: translate(-50%, -100%);
  transition: opacity 120ms ease;
  visibility: hidden;
  overflow-wrap: break-word;
  white-space: normal;
  width: max-content;
  z-index: 2000;
}

.material-tooltip[data-next-tooltip][data-position="bottom"] {
  transform: translate(-50%, 0);
}

.material-tooltip[data-next-tooltip]::before {
  background-color: rgba(50, 50, 50, 0.95);
  border-radius: 2px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.material-tooltip[data-next-tooltip].visible {
  opacity: 1;
  visibility: visible;
}

.logged-user-link {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none !important;
  white-space: nowrap;
}

.logged-user-link.is-firm-user {
  text-transform: uppercase !important;
}

.logged-user-avatar {
  align-items: center;
  display: flex;
  height: 64px;
  justify-content: center;
  padding: 0 0 0 10px;
}

.logged-user-avatar img {
  display: block;
  height: 44px;
  width: 44px;
}

.logged-user-logout-form {
  align-items: center;
  display: flex;
  height: 64px;
  margin: 0;
}

.logged-user-logout {
  text-transform: none !important;
}

.side-nav-logout-form {
  margin: 0;
}

.side-nav-logout-form button {
  background: transparent;
  border: 0;
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  display: block;
  font: inherit;
  height: 48px;
  line-height: 48px;
  padding: 0 32px;
  text-align: left;
  width: 100%;
}

.side-nav-logout-form button:hover,
.side-nav-logout-form button:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

@media only screen and (max-width: 600px) {
  nav .brand-logo.brand-logo-reclablog img {
    width: 178px;
  }
}
