
.wallet-container {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  display: flex;
  min-height: 0;
  @media (min-width: 768px) {
    overflow: hidden;
  }
}

.left-nav {
  flex: 0 0 270px;
  padding: 15px;
  background: $grey;
  border-right: 1px solid $border-grey;
  @media (max-height: 550px) {
    overflow: auto;
  }
  @media (max-width: 1024px) {
    height: calc(100% - 50px);
  }
  .active-accounts{
    margin-bottom: 30px;
  }
  .legacy-addresses, .partners{
    margin-bottom: 30px;
  }
  .side-box {
    background-color: $grey;
    border: 1px solid $border-grey;
  }
}

.main-container {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  @media (max-width: 767px) {
    display: block !important;
  }
}

.top-view {
  background: white;
  border-bottom: 1px solid $border-grey;
  padding: 0 30px;
  height: 115px;
  .heavy {
    img.spinner {
      height: 11px;
    }
  }
  .reg {
    font-size: 0.5em;
    font-weight: 300;
  }
  @media (max-width: 991px) {
    padding: 0 15px;
  }
}

.right-container {
  background: white;
  flex-grow: 1;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; // smooth scrolling on ios
}

.overflow-scroll {
  overflow-y: auto !important;
  height: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .left-nav {
    position: absolute;
    left: -270px;
    width: 270px;
    z-index: 11; //just enough to be visible
    transition: all .3s ease-in-out;
    &.toggled { left: 0; }
  }
  .top-view {
    width: 100%;
    position: relative;
    margin-left: 0;
    height: 150px;
  }
  .right-container {
    width: 100%;
  }
}

.hide { display: none; }
.invisible { visibility: hidden; opacity: 0; }

@media (max-width: 991px) {
  .top-view .heavy p,
  .top-view .heavy h1 { font-size: 24px; }
}

@media (max-width: 767px) {
  .top-view .heavy p { font-size: 20px; }
  .top-view .heavy p.f-28 { font-size: 24px; }
}

@media (max-width:480px) {
  .right-container {
    background: transparent;
  }
}

.container-max-width {
  max-width: 1200px;
  margin: 0 auto;
}

.container-fluid {
  padding-right: 5px;
  padding-left: 5px;
}

@media (min-width: 768px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.clear-left { clear: left; }
.clear-right { clear: right; }

.width-100 {
  @media (max-width: 991px) {
    width: 100%;
  }
}

.vat { vertical-align: top; }

.bottom-right-footer {
  padding: 15px 30px;
  background-color: $grey-transparent;
  @media (max-width: 767px) {
    left: 0px;
  }
}

.abs {
  .bottom-right-footer {
    @extend .pos-abs;
    width: 100%;
    bottom: 0;
    left: 0;
  }
}
