.container {
  width: 100%;
}

.container2 {
  width: 100% !important;
}

.wrapper-box {
  border: none;
  height: 100%;
}

.rightpanel {
  width: calc(100% - 300px);
}

.leftpanel {
  position: relative;
}

#hide-leftpanel-container {
  width: 300px;
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  background-color: #313444;
  border-top: 1px solid #acafba;
  padding: 5px 15px;
}

.wrapper-box.xsection.rightpanel-fullscreen > .rightpanel,
.leftpanel-hidden .wrapper-box .rightpanel,
.wrapper-box > .leftpanel.ng-hide ~ .rightpanel {
  width: 100%;
}

p#show-leftpanel-button {
  box-sizing: border-box;
  position: fixed;
  bottom: 15px;
  left: 0;
  background-color: #313444;
  border: 1px solid #acafba;
  border-radius: 0 3px 3px 0;
  z-index: 22;
}

p#show-leftpanel-button > a {
  box-sizing: inherit;
  padding: 10px 20px;
  color: gray;
  display: block;
}

p#show-leftpanel-button.show-above-toolbar {
  bottom: 75px;
}

p#show-leftpanel-button.show-above-message-input {
  bottom: 110px;
}

#leftpanel-patient-menu {
  padding-bottom: 45px;
}

@media (max-width: 1199px) {
  .rightpanel {
    min-width: 699px;
    width: calc(100% - 280px);
  }

  #hide-leftpanel-container {
    width: 280px;
  }

  .wrapper-box {
    background: #313444;
    min-width: 980px;
  }

  .tab-bar {
    width: 100%;
  }
}

@media (max-width: 982px) {
  .container {
    overflow-x: auto;
  }

  .container2 {
    overflow-x: auto !important;
  }

  .wrapper-box {
    min-width: 340px;
  }

  .leftpanel {
    position: absolute;
    z-index: 21;
  }

  .rightpanel {
    width: 100%;
    min-width: 340px;
  }

  .modal,
  div.modal.comment-modal {
    max-width: 96%;
    min-width: 340px;
  }

  div.modal.comment-modal {
    width: 600px;
  }

  .activity-feed .article-list div.left-activity-column,
  .activity-feed .article-list div.right-activity-column,
  .activity-feed.rightpanel-scroll .article-list div.patient-logs-left,
  .activity-feed.rightpanel-scroll .article-list div.patient-logs-right {
    width: 100%;
    display: block;
    padding-right: 0;
  }

  .patient-notifications-likes {
    display: block;
  }

  .patient-notifications-likes section {
    margin-left: 0;
  }

  .patient-notifications-likes section + section {
    margin-top: 20px;
  }
}

.login-background-full-width {
  min-height: 100vh;
  padding: 30px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

