/* Header */
header {
  z-index: 25;
  position: fixed;
  height: auto;
  right: 0; left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  color: #444;
  height: 60px;
  align-items: center; 
  background: rgba(255,255,255,0.8);
  background: #fff;
  box-shadow: 0 1px 9px rgba(20, 0, 30, 0.14);
  border-bottom: 3px solid #FFBFC9;
  height: 60px;
}

nav, nav a, .nav-tr, .nav-tr a, .btn-logo, .btn-logo:hover, .nav-tr button.btn-user {
  height: 57px;
}

.btn-logo {
  width: 70px;
}

nav {
  font-weight: bold;
  flex: 1;
  margin: 0 auto;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  transition: opacity 0.15s visibility 0.15s;
}

nav .inner {
  display: flex;
  justify-content: center;
  height: 100%;
  padding-right: 175px;
  padding-left: 175px;
}

nav.inbox {
  /*right: 400px;*/
}

nav a {
  padding: 0 1.7rem;
  font-size: 0.9rem;
  color: #777;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: content-box;
  font-weight: 600;
  text-transform: uppercase;
}

nav a,
.nav-tr button {
  position: relative;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid transparent;
  text-align: center;
  text-decoration: none;
}

nav .inner > a:last-of-type {
  border-right: 1px solid rgba(0,0,0,0.1);
}

nav .inner > a:not(:first-child) {
  margin-left: -1px;
}

nav a:hover,
nav a:focus,
nav a.active,
.nav-tr button:hover,
.nav-tr button:focus,
.nav-tr .btn:hover,
.nav-tr .btn:focus,
.nav-tr .btn-user:hover,
.nav-tr .btn-user:focus,
.btn-logo:hover,
.btn-logo:focus,
.nav-m-btn:hover,
.nav-m-btn:focus {
  color: #565656;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  z-index: 3;
}

nav a.active:before, nav a:hover:before,
.nav-tr button:hover:before,
.nav-tr button.active:before, .nav-tr button.active:before,
.btn-logo:hover:before {
  content: "";
  position: absolute;
  height: 3px;
  right: -1px;
  left: -1px;
  background: #FF615C;
  bottom: 0;
  transform: translateY(100%);
}

nav a:hover {
  text-decoration: none;
}

nav a img {
  max-width: 25px;
  margin-right: 0.8rem;
}

nav > a > .icon {
  margin-right: 0.7rem;
  font-size: 1.5rem;
  color: rgba(0,0,0,0.3);
}

.nav-m-extra {
  display: none;
  flex-direction: column;
  flex: 1;
}

.nav-m-extra > a {
  flex: 1;
}

/* Mobile menu drop-down button */
.nav-m-btn {
  position: relative;
  display: none;
  font-size: 17px;
  color: #666;
  font-weight: 600;
  height: 100%;
  padding: 0 1.5rem;
  background: #f9f9f9;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  z-index: 5;
}

.nav-m-btn.active:before {
  content: "";
  position: absolute;
  height: 3px;
  right: -1px;
  left: -1px;
  background: #FF615C;
  bottom: 0;
  transform: translateY(100%);
}

.nav-m-btn.active .icon {
  color: #FF615C;
}

.nav-m-btn span {
  align-self: center;
  pointer-events: none;
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav-m-btn img {
  max-width: 32px;
  height: auto;
  margin-right: 0.8rem;
  pointer-events: none;
  align-self: center;
}

.nav-m-btn .icon {
  color: #999;
}

.nav-tr {
  display: flex;
  margin-left: auto;
  z-index: 3;
}

.nav-tr button {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  padding: 0.3rem 1.1rem;
  color: rgba(0,0,0,0.4);
  box-shadow: none;
}

.nav-tr button:not(:first-child) {
  margin-left: -1px;
}

.nav-tr button.active .icon {
  color: #FF615C;
}

.nav-tr .btn-inbox.active,
.nav-tr .btn-inbox.active:hover,
.nav-m-btn.active {
  background: #f5f5f5;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.nav-tr button.btn-user {
  /*flex: 0;*/
  background: none;
  box-shadow: none;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  display: flex;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

/*.nav-tr button.btn-user.active {}*/

.btn-user > img {
  border-radius: 50%;
  overflow: hidden;
  width: 45px;
  border-radius: 50%;
}

.btn-br {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 70px;
  height: 70px;
  color: #fff;
  background: #ffaa56;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.35);
  z-index: 20;
}

.btn-br span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0; left: 0;
}

.btn-logo {
  flex: 0 0 70px; 
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
  white-space: nowrap;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 0;
  text-align: left;
  background: #fff;
  z-index: 3;
}

.btn-logo > img {
  width: 50px;
  height: auto;
  margin: 0 9px;
}

.breadcrumbs {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs a {
  text-decoration: none;
  font-weight: 400;
  color: rgba(0,0,0,0.98);
  color: #4A6173;
  padding: 0.2rem 0.4rem;
  border: 1px solid transparent;
}

.breadcrumbs > a:first-child {
  padding-left: 0;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  text-decoration: underline;
}

.breadcrumbs .dropdown,
.breadcrumbs.filters .dropdown {
  white-space: nowrap;
  color: #4A6173;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  border-radius: 3px;
  display: flex;
  /*border: 1px solid rgba(0,0,0,0.15);*/
  /*border-radius: 14px;*/
  margin-left: 0.3rem;
}

.breadcrumbs .dropdown .inner {
  padding: 0.2rem 0.55rem;
  border-radius: 14px;
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.15);
}

.breadcrumbs .dropdown .inner > span {
  text-overflow: ellipsis;
  overflow: hidden;
  min-width: 0;
  margin-right: 0.4rem;
}

.breadcrumbs .dropdown:first-child,
.breadcrumbs.filters .dropdown:first-child {
  margin-left: 0;
}

.breadcrumbs .dropdown.active {
  z-index: 110;
}

.breadcrumbs .dropdown:hover .inner,
.breadcrumbs .dropdown:focus .inner,
.breadcrumbs .dropdown.active .inner {
  background: #f0f0f0;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.2);
}

.breadcrumbs .dropdown.active .inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.breadcrumbs .dropdown.active .arrow {
  transform: rotate3d(0,0,1,180deg);
}

.breadcrumbs .dropdown .dropdown-list {
  position: absolute;
  /*right: 0;*/
  left: 0;
  bottom: 1px;
  transform: translateY(100%);
  background: rgba(255,255,255,0.9);
  z-index: 110;
  display: none;
  flex-direction: column;
  /*border-bottom-right-radius: 14px;*/
  /*border-bottom-left-radius: 14px;*/
  border: 1px solid #ddd;
  /*border-top: none;*/
  padding-bottom: 0.2rem;
  box-shadow: 0 3px 5px rgba(0,0,0,0.15);
  min-width: 100%;
}

.breadcrumbs .dropdown .dropdown-list > a {
  /*text-overflow: ellipsis;*/
  /*overflow-x: hidden;*/
  /*min-width: 0;*/
  padding: 0.2rem 0.4rem;
}

.breadcrumbs .dropdown .dropdown-list > a:hover,
.breadcrumbs .dropdown .dropdown-list > a:focus {
  text-decoration: none;
  background: rgba(0,0,0,0.04);
}

.breadcrumbs .dropdown .dropdown-list > a.active {
  /*background: #f3f3f3;*/
  text-decoration: none;
  cursor: auto;
  font-weight: 600;
}

.breadcrumbs .dropdown .dropdown-list.show {
  display: flex;
}

.breadcrumbs a .icon {
  font-size: 0.6rem;
  line-height: 1;
  align-self: center;
  text-decoration: none;
}

.breadcrumbs .dropdown .icon {
}

.breadcrumbs.filters a {
  padding-right: 0;
  padding-left: 0;
}

.breadcrumbs a.remove {
  display: flex;
  text-decoration: none;
  padding: 0.2rem 0.3rem;
  margin-right: 0.5rem;
  /*margin-left: 0.3rem;*/
  /*margin-right: 0.6rem;*/
}

.breadcrumbs a.remove .icon {
  font-size: 1.06rem;  
}

.breadcrumbs a.remove:hover .icon,
.breadcrumbs a.remove:focus .icon {
  color: #999;
}

.bc-divider {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  align-self: center;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.12);
  /*transform: translateY(-1px);*/
}

/** Backdrop events **/
.backdrop-event-bg {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 100;
  display: none;
  background: rgba(0,0,0,0.04);
}

.backdrop-event-bg.show {
  display: block;
}

main {
  /*position: absolute;*/
  /*padding-bottom: 8rem;*/
  flex: 1;
  transition: all 0.15s;
  /*z-index: 1;*/
  /* height: 100%; */
  /*right: 0; left: 0;*/
  /*top: 0; bottom: 0;*/
  /*overflow-y: auto;*/
  /*background: #f1efee;*/
  box-shadow: 0 0 30px rgba(20,0,80,0.2);
}

main.has-shelf {
  top: 60px;
  background: transparent;
  padding-bottom: 0;
}

main.has-shelf > .inner {
  margin-top: 170px;
  background: #f1efee;
  padding-bottom: 8rem;
}

main.no-shelf {
  top: 60px;
  /*min-height: 100%;*/
}

main.white {
  background: #fff;
}

main.inbox {
  margin-right: 400px;
}

/* Subnavigation for in-page content lists */
.subnav {
  position: relative;
}

.subnav button.subnav-btn {
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  color: #8c8c8c;
  align-items: center;
  text-align: center;
  position: relative;
  font-size: 1.2rem;
}

.subnav sup {
  font-size: 0.62rem;
  font-family: "Overpass Mono", monospace;
  font-weight: 700;
  line-height: 0;
  color: rgba(0,0,0,0.3);
}

.subnav.large button.subnav-btn.active, .subnav.large button.subnav-btn.active:focus, .subnav.large button.subnav-btn.active:hover,
.subnav.small button.subnav-btn.active, .subnav.small button.subnav-btn.active:focus, .subnav.small button.subnav-btn.active:hover {
  color: #585858;
  background: none;
  cursor: initial;
}

/*.subnav.large button.subnav-btn:hover,
.subnav.small button.subnav-btn:hover {
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.subnav.large button.subnav-btn.active:hover,
.subnav.small button.subnav-btn.active:hover {
  box-shadow: none;
}*/

.subnav button.subnav-btn:last-child {
  margin-right: 0;
}

.subnav.large button.subnav-btn:hover, .subnav.large button.subnav-btn:focus,
.subnav.small button.subnav-btn:hover, .subnav.small button.subnav-btn:focus {
  color: #655c57;
}

.subnav.large button.subnav-btn:before, .subnav.large button.subnav-btn:before,
.subnav.small button.subnav-btn:before, .subnav.small button.subnav-btn:before {
  content: "";
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  opacity: 0;
  height: 4px;
  right: 0; left: 0;
  /*transform: translateY(4px);*/
}

.subnav.large button.subnav-btn:hover:before, .subnav.large button.subnav-btn:focus:before,
.subnav.small button.subnav-btn:hover:before, .subnav.small button.subnav-btn:focus:before {
  width: 100%;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.subnav.large button.subnav-btn.active:before, .subnav.large button.subnav-btn.active:before,
.subnav.large button.subnav-btn.active:hover:before, .subnav.large button.subnav-btn.active:focus:before,
.subnav.small button.subnav-btn.active:before, .subnav.small button.subnav-btn.active:before,
.subnav.small button.subnav-btn.active:hover:before, .subnav.small button.subnav-btn.active:focus:before {
  background: #6E4AFF;
  width: 100%;
  opacity: 0.6;
}

/* Subnav large */
.subnav.large button.subnav-btn {
  /*text-transform: uppercase;*/
  padding: 0.5rem 1.6rem 0.5rem 1.6rem;
  max-width: 300px;
  text-overflow: ellipsis;
  min-width: 0;
  white-space: nowrap;
  word-break: unset;
  overflow: hidden;
  /*padding-bottom: 4px;*/
  transform: translateY(4px);
  /*flex: 0 1 190px;*/
}

.subnav.large button.subnav-btn.sel sup {
  color: rgba(255,255,255,0.6);
}

/* Subnav small */
.subnav.small {
  margin-bottom: 2.4rem; 
}

.subnav.small {
  border-bottom: 3px solid rgba(0, 0, 0, 0.05);
}

.subnav.small button.subnav-btn {
  padding: 0.5rem 0.8rem;
  flex-grow: 1;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.subnav.small button.subnav-btn:before {
  height: 3px;
  transform: translateY(100%);
}

/* Subnav table */
.subnav-table {
  padding-top: 0;
  display: none;
  z-index: 1;
}

.subnav-table.show {
  display: block;
}

.subnav-table > .inner {
  background: rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 1rem;
}

/* Visibility change events styling */
.subnav-target,
.toggle-target {
  display: none;
}

.subnav-target.show,
.toggle-target.show {
  display: block;
}

/***********/
/* Content */
/***********/

main > section:first-child {
  margin-top: 2rem;
}

article {
  padding: 1.8rem 2rem 2.1rem;
  /*z-index: 5;*/
  position: relative;
}

article section {
  /*padding: 0;*/
}

article.light {
  background: #f5f5f5;
}

.bg-texture {
  display: none;
  /* background: url("./../img/expressions-19-med.png"); */
  background-size: 900px;
  opacity: 0.014;
}

.shelf {
  color: rgba(255,255,255,0.7);
  padding: 0;
  z-index: 1;
  margin-top: 0;
  position: absolute;
  top: 0;
  right: 0; left: 0;
  height: 170px;
  background: linear-gradient(to right, #7b59ff, #f5928d);
}

.shelf .inner {
  position: absolute;
  right: 2rem; left: 2rem;
  bottom: 1.55rem;
  padding: 0;
  transition: padding 0.15s;
}

.shelf-gradient {
  position: absolute;
  background: linear-gradient(rgba(255, 160, 92, 0.18), rgba(255,160,92,0));
  width: 100%;
  right: 0; left: 0;
  top: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}


.shelf h2, .header-h2 {
  /* font-family: "Libre Baskerville"; */
  font-size: 2.7rem;
  font-weight: 400;
  color: #4A6173;
  /*color: #fff;*/
}

.shelf a {
  color: #2e2e2f;
}

section {
  max-width: 1200px;
  margin: 0 auto 2rem;
  position: relative;
}

section > *:last-child, section:last-child {
  margin-bottom: 0;
}

.brd-grd {
  position: relative;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.brd-grd:before {
  content: "";
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  height: 6px;
  background: linear-gradient(to right,#FFBFC9,#BF70BF);
  right: 0; left: 0;
  width: 100%;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

.radio-switch {
  background: #eee;
  padding: 0 1rem;
  cursor: pointer;
  width: 130px;
  text-align: center;
  display: flex;
  align-items: center;
  line-height: 0;
  font-size: 1rem;
  margin-bottom: 0;
}

.radio-switch .icon {
  margin-right: 0.55rem;
}

input[type="radio"] + label.radio-switch {
  box-shadow: inset 0 2px 7px rgba(0,0,0,0.12);
  border: 1px solid #bbb;
  background: rgba(0,0,0,0.06);
  font-weight: 400;
  color: #777;
}

input[type="radio"]:hover + label.radio-switch {
  /*background: #fff;*/
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 3px rgba(40,20,70,0.3);
}

input[type="radio"]:checked + label.radio-switch {
  background: #4A6173;
  border: 1px solid #4A6173;
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

input[type="radio"]:checked + label.radio-switch .icon {
  color: rgba(255, 255, 255, 0.6);
}

.radio-switch:first-of-type {
  margin-right: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.radio-switch:last-of-type {
  margin-left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.tag {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #5e5e5e;
  text-decoration: none;
  cursor: pointer;
  background: #e2e2e2;
  background: transparent;
  font-size: 0.9rem;
  /*margin-left: 0.6rem;*/
  display: flex;
  align-items: center;
  overflow: hidden;
  font-weight: 400;
  font-size: 1rem;
  /*margin-right: 1rem;*/
  line-height: 1;
}

.tag div {
  padding: 0.2rem 0.3rem;
  background: #D9C3B9;
  background: transparent;
  margin-right: 0.4rem;
  color: #AD998F;
  color: #4A6173;
}

.tag:hover, .tag:hover {
  text-decoration: none;
  background: rgba(0,0,0,0.1);
}

.icon {
  color: #bbb;
}

button.icon {
  text-decoration: none;
}

button.icon:hover > .icon ,
button.icon:focus > .icon {
  color: #999;
}

aside {
  top: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  position: fixed;
  width: 400px;
  transform: translateX(105%);
  flex-direction: column;
  margin-top: 60px;
  font-size: 0.88rem;
  border-left: 1px solid #ddd;
  z-index: 20;
  transition: all 0.15s;
  box-shadow: none;
  box-shadow: 0 1px 9px rgba(20, 0, 30, 0.14);
}

aside.show {
  display: flex;
  transform: translateX(0);
}

aside .inner {
  overflow-y: auto;
}

aside section {
  padding: 0.3rem 1.3rem;
}

aside .msg {
  border-bottom: 1px solid #eee;
  position: relative;
}

aside .msg.top {
  padding: 0.5rem 1rem 0.4rem;
  font-style: italic;
  font-size: 0.8rem;
  color: #999
}

aside button {
  float: right;
  font-size: 1.2rem;
  color: #ddd;
  z-index: 2;
  position: relative;
  padding: 1rem;
  background: #f9f9f9;
}

aside button:hover {
  background: #eee;
  color: #bbb;
}

.sessions-table {
  display: none;
}

.sessions-table.show {
  display: block;
}

.dialog-inner {
  box-shadow: 0 8px 25px rgba(20,0,60,0.3);
}

.dialog-confirm-overlay {
  z-index: 110;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgb(255, 255, 255, 0.8);
  z-index: inset 0 0 160px rgb(255, 255, 255);
}

/*Accound DD*/
.dd {
  display: none;
  z-index: 25;
  box-shadow: 0 10px 25px rgba(20,0,60,0.12);
  background: #fff;
}

.dd.show {
  display: block;
}

.dd-account {
  position: fixed;
  top: 60px;
  right: 0;
}

i.m-icon-dd-arrow {
  /*display: none;*/
  color: #999;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.subnav button.subnav-btn-m-btn {
  display: none;
}

.hide {
  display: none;
}

@media (max-width: 1500px) {

  /*Optimize nav menu for smaller desktop screens */
  nav .inner {
    justify-content: start;
    padding-left: 70px;
  }

  nav a {
    font-size: 0.8rem;
    padding: 0 1.25%;
  }

  nav a img {
    /*max-width: 25px;*/
    margin-right: 0.4rem;
  }

  nav a span {
    align-items: center;
    overflow-x: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

}

/* "Mobile/table" content breakpoint */
@media (max-width: 900px) {

  article {
    padding: 1.8rem 1rem 2.1rem;
  }

  /*Float inbox over content*/
  main.inbox {
    margin-right: 0;
  }
  aside {
    background: rgba(255,255,255,0.94);
  }

  nav {
    pointer-events: none;
    display: block;
    padding: 0;
    z-index: 40;
    position: fixed;
    top: 60px;
    bottom: 0;
    right: 0;
    left: 0;
    height: auto;
    overflow-y: hidden;
    margin-left: 0;
    overflow-x: visible;
    box-shadow: 0 10px 25px rgba(20,0,60,0.15);
    opacity: 0;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    transition: all 0.15s;
  }

  nav.show {
    opacity: 1;
    pointer-events: initial;
    visibility: visible;
  }

  nav .inner {
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-bottom: 0.3rem;
    border-bottom-right-radius: 6px;
    position: absolute;
    max-width: 220px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.15s;
  }

  nav.show .inner {
    transform: translateX(0);
  }

  nav a {
    border: none;
  }

  nav a {
    padding: 1rem 1.7rem 1rem 1.3rem;
    font-size: 1.1rem;
    text-transform: capitalize;
    border-bottom: 1px solid #e3e3e3;
    flex: 0 0;
    font-weight: 400;
  }

  nav a:hover,
  nav a:focus {
    background: #fff;
  }

  nav a.active {
    font-weight: 600;
    box-shadow: none;
    background: #f5f5f5;
  }

  nav a.active:before,
  nav a:hover:before {
    display: none;
  }

  nav a img {
    max-width: 32px;
    margin-right: 1rem;
  }

  .nav-m-btn {
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

}

/* Subnav horizontal break */
@media (max-width: 750px) {
  .subnav > .inner {
    flex-direction: column;
    display: none;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    right: 1rem;
    left: 0.5rem;
    background: rgba(255,255,255,0.95);
  }
  .subnav > .inner.show {
    display: flex;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    z-index: 100;
  }
  .subnav.small {
    margin-bottom: 2rem;
    border-bottom: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
  }
  .subnav.small button.subnav-btn {
    margin-right: auto;
    width: 100%;
    text-align: left;
  }
  .subnav.small button.subnav-btn {
    padding: 1rem;
    border-bottom: 1px solid #e3e3e3;
    font-weight: 400;
  }
  .subnav button.subnav-btn.active {
    display: block;
    font-weight: 600;
  }
  .subnav.small button.subnav-btn:hover,
  .subnav.small button.subnav-btn:focus {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
  }
  .subnav.small button.subnav-btn:hover:before {
    display: none;
  }
  .subnav.small button.subnav-btn:focus:before,
  .subnav.small button.subnav-btn.active:before,
  .subnav.small button.subnav-btn.active:hover:before,
  .subnav.small button.subnav-btn.active:focus:before {
    display: block;
    right: auto;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 100%;
    transform: none;
  }
  .subnav.small button.subnav-btn.active,
  .subnav.small button.subnav-btn.active:hover {
    /*background: #f5f5f5;*/
  }
  .subnav button.subnav-btn-m-btn {
    display: block;
    width: 100%;
    height: 45px;
  }

  .subnav.large button.subnav-btn {
    text-align: center;
    flex: 1;
    padding: 0.5rem 0.2rem;
  }
}

@media (max-width: 450px) {
  .btn-logo {
    display: none;
  }

  aside {
    width: auto;
    max-width: 400px;
    border-left: none;
  }

  .nav-m-btn {
    padding: 0 3%;
  }
}

@media (max-width: 350px) {

  .nav-tr button.btn-inbox,
  .nav-tr button.btn-info {
    display: none;
  }

  .nav-m-extra {
    display: flex;
    flex: 0;
  }

}