#app {
  display: flex;
  flex-flow: row wrap;
  height: 100vh;
  overflow-y: hidden;
}

#app #sideBar {
  flex: 1;
  border-right: 1px solid black;
  height: 100%;
  max-height: 100%;
  padding: 15px;
  overflow-y: auto;
}

#app #sideBar h4 {
  cursor: pointer;
  color: #41699c;
}

#app #sideBar h4:hover {
  text-decoration: underline;
}

#app #sideBar ul {
  padding-left: 15px;
}

#app #sideBar ul li {
  display: flex;
  align-items: center;
  cursor: pointer;
}

#app #sideBar ul li:hover {
  color: #41699c;
  text-decoration: underline;
}

#app #sideBar ul li img {
  min-width: 15px;
}

#app #sideBar ul.noDecoration {
  list-style-type: none;
}

#app #sideBar h4.active,
#app #sideBar li.active {
  color: #41699c;
  text-decoration: underline;
}

#app #main {
  flex: 8;
  height: 100%;
  padding-right: 0;
  overflow-y: auto;
}

#app #main #familyInformation {
  padding-right: 15px;
}

#app #main #familyInformation header {
  margin-top: 15px;
  margin-bottom: 15px;
  height: 45px;
}

#app #main #familyInformation .bordered {
  border: 1px solid #41699c;
  padding: 5px;
  border-radius: 3px;
}

#app #main #familyInformation .members {
  width: 70%;
  margin: 40px auto;
  padding: 5px 15px;
  display: flex;
  flex-direction: column;
}

#app #main #familyInformation .members .membersHead {
  font-weight: bold;
  order: -1;
}

#app #main #familyInformation .members .membersHead .col {
  cursor: pointer;
}

#app #main #familyInformation .members .membersRow {
  border-top: 1px solid #41699c;
}

#app #main #familyInformation .exports {
  position: absolute;
  top: 45px;
  right: 15px;
}

#app #main #familyInformation .exports span {
  font-size: small;
  border: 1px solid #41699c;
  padding: 2px;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 5px;
}

#app #main #familyInformation .exports span:hover {
  text-decoration: underline;
}

#app #main #familyInformation .dateTooltip {
  color: black;
  font-size: small;
}

#app #main #familyInformation #exportModal label {
  display: block;
}

#app #main #memberInfo {
  height: calc(100% - 30px - 30px);
  margin: 30px 50px 30px;
  border: 1px solid #41699c;
  border-radius: 3px;
}

#app #main #memberInfo #memberNavbar {
  height: 80px;
  border-radius: 3px 3px 0 0;
}

@media (max-width: 968px) {
  #app #main #memberInfo #memberNavbar {
    height: 110px;
  }
}

@media (max-width: 815px) {
  #app #main #memberInfo #memberNavbar {
    height: 160px;
  }
}

#app #main #memberInfo #memberNavbar .nav .nav-link {
  color: #41699c;
}

#app #main #memberInfo #memberNavbar .nav .nav-link.active {
  color: white;
  background-color: #41699c;
}

#app #main #memberInfo #documentContent {
  max-height: calc(100% - 80px);
  overflow-y: auto;
  position: relative;
}

#app #main #memberInfo #documentContent .container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

#app #main #memberInfo #documentContent .container-fluid, #app #main #memberInfo #documentContent .container-fluid * {
  box-sizing: border-box;
}

#app #main #memberInfo #documentContent .container-fluid .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

#app #main #memberInfo #documentContent .container-fluid .row .col-10 {
  position: relative;
  width: 100%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

#app #main #memberInfo #documentContent .container-fluid .row .col-sm-10 {
  position: relative;
  width: 100%;
}

@media (min-width: 576px) {
  #app #main #memberInfo #documentContent .container-fluid .row .col-sm-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
}

#app #main #memberInfo #documentContent .container-fluid .row .col-md-10 {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  #app #main #memberInfo #documentContent .container-fluid .row .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
}

#app #main #memberInfo #documentContent .container-fluid .row .col-2 {
  position: relative;
  width: 100%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

#app #main #memberInfo #documentContent .container-fluid .row .col-sm-2 {
  position: relative;
  width: 100%;
}

@media (min-width: 576px) {
  #app #main #memberInfo #documentContent .container-fluid .row .col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

#app #main #memberInfo #documentContent .container-fluid .row .col-md-2 {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  #app #main #memberInfo #documentContent .container-fluid .row .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

#app #main #memberInfo #documentContent .container-fluid .row .col-12 {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

#app #main #memberInfo #documentContent .container-fluid .row .col-md-2, #app #main #memberInfo #documentContent .container-fluid .row .col-md-10, #app #main #memberInfo #documentContent .container-fluid .row .col-12, #app #main #memberInfo #documentContent .container-fluid .row .col-sm-2, #app #main #memberInfo #documentContent .container-fluid .row .col-2, #app #main #memberInfo #documentContent .container-fluid .row .col-10, #app #main #memberInfo #documentContent .container-fluid .row .col-sm-10 {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 968px) {
  #app #main #memberInfo #documentContent {
    max-height: calc(100% - 110px);
  }
}

@media (max-width: 815px) {
  #app #main #memberInfo #documentContent {
    max-height: calc(100% - 160px);
  }
}

#app #main #memberInfo #documentContent .docTitle h3 {
  font-weight: bold;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

#app #main #memberInfo #documentContent .docTitle h3 img {
  width: 20px;
  margin-right: 0.5rem;
}

#app #main #memberInfo #documentContent .docTitle small {
  display: block;
  text-align: right;
}

#app #main #memberInfo #documentContent .docTitle small .deadAlive.dead {
  color: red;
}

#app #main #memberInfo #documentContent .docTitle small .deadAlive.alive {
  color: green;
}

#app #main #memberInfo #documentContent .docSection .sectionHeader {
  margin-bottom: 20px;
  margin-top: 20px;
  font-weight: bold;
  font-size: larger;
  border-bottom: 1px solid #41699c;
  text-indent: 15px;
}

#app #main #memberInfo #documentContent .docSection .content {
  padding: 0 75px;
  text-align: justify;
}

#app #main #memberInfo #documentContent .docSection .content.hasMt {
  display: flex;
  flex-flow: row wrap;
}

#app #main #memberInfo #documentContent .docSection .content.hasMt div {
  flex: 1;
  margin-left: 15px;
}

#app #main #memberInfo #documentContent .docSection .content.hasMt div:first-child {
  margin-right: 15px;
  margin-left: 0;
}

#app #main #memberInfo #documentContent .docSection .content .pdfLink {
  color: #41699c;
}

#app #main #memberInfo #documentContent .docSection .bottomBorder {
  border-bottom: 1px solid #41699c;
  padding-bottom: 5px;
  padding-top: 5px;
}

#app #main #memberInfo #documentContent .docSection .biblioCategory {
  padding-top: 5px;
}

#app #main #memberInfo #documentContent .docSection .imgRow {
  padding-top: 5px;
}

#app #main #memberInfo #documentContent .docSection .imgRow img {
  width: 150px;
  border: 1px solid black;
  margin: 5px;
  cursor: pointer;
}

#app #main #memberInfo #documentContent .docSection#legalstatus .bottomBorder .col-2 {
  text-align: left;
}

#app #main #memberInfo #documentContent.exportContent .jurisFlag {
  display: none;
}

#app #main #memberInfo #documentContent.exportContent #images img {
  cursor: default;
}

#app #main #memberInfo #exportMember {
  display: none;
}

#app #main #memberInfo .exports {
  position: absolute;
  top: 1px;
  right: 50px;
}

#app #main #memberInfo .exports span {
  font-size: small;
  border: 1px solid #41699c;
  padding: 2px;
  border-radius: 3px;
  cursor: pointer;
  margin-left: 5px;
}

#app #main #memberInfo .exports span:hover {
  text-decoration: underline;
}

#app #main #frame {
  height: 100%;
}

#app #main #frame iframe {
  width: 100%;
  height: 100%;
}

#app #loading {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: none;
  flex-flow: row wrap;
}

#app #loading.active {
  display: flex;
}

#app #loading .main {
  display: flex;
  background-color: white;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  flex: 8;
}

#app #loading .side {
  padding: 0;
}

#app #loading .side.showAll {
  padding: 16px;
  flex: 1;
}

#app #lightbox {
  z-index: 9998;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

#app #lightbox .img-container {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  top: calc(50% + 0px);
  left: calc(50% + 0px);
  margin: 0;
  position: absolute;
  box-shadow: 0 5px 20px 2px #555;
}

#app #lightbox .img-container img {
  max-width: 80vw;
  max-height: 80vh;
  vertical-align: middle;
  position: relative;
  cursor: move;
}

#app #lightbox .buttons-container .btn-close,
#app #lightbox .buttons-container .btn-next,
#app #lightbox .buttons-container .btn-prev {
  cursor: pointer;
  position: absolute;
  color: #fff;
  opacity: 0.6;
  transition: 0.15s linear;
}

#app #lightbox .buttons-container .btn-close i,
#app #lightbox .buttons-container .btn-next i,
#app #lightbox .buttons-container .btn-prev i {
  font-size: 40px;
}

#app #lightbox .buttons-container .btn-next,
#app #lightbox .buttons-container .btn-prev {
  top: 50%;
  font-size: 40px;
}

#app #lightbox .buttons-container .btn-prev {
  left: 20px;
}

#app #lightbox .buttons-container .btn-next {
  right: 20px;
}

#app #lightbox .buttons-container .btn-close {
  top: 10px;
  right: 10px;
}

#app #lightbox .buttons-container .tools {
  position: absolute;
  bottom: 0;
  left: 50%;
  background: rgba(45, 45, 44, 0.8);
  border-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 6px 24px 0;
  transform: translateX(-50%);
}

#app #lightbox .buttons-container .tools .tool-btn {
  cursor: pointer;
  display: inline-block;
  padding: 6px;
}

#app #lightbox .buttons-container .tools .tool-btn i {
  color: #fff;
  font-size: 32px;
}

#app #lightbox .pagination-total {
  position: absolute;
  font-size: 16px;
  top: 16px;
  left: 16px;
  color: black;
}

#app #mailModal .formInput {
  margin-bottom: 1rem;
}

#app #mailModal .formInput input:focus,
#app #mailModal .formInput textarea:focus {
  box-shadow: none;
  border-color: #41699c;
}

#app #mailModal .mailSend .btn {
  background-color: #41699c;
  border-color: #41699c;
}

#app #exportModal .membersCheck {
  margin-bottom: 1rem;
  margin-left: 1rem;
}

#app #exportModal button {
  background-color: #41699c;
  color: white;
}

#app #exportModal button:hover {
  background-color: #395273;
}

#app #exportToast,
#app #mailToast {
  position: fixed;
  top: 20px;
  right: -350px;
  transition: right 0.5s ease-in-out;
}

#app #exportToast.showToast,
#app #mailToast.showToast {
  right: 20px;
}

#app #exportToast {
  background-color: white;
}

#app #mailToast {
  background-color: #27a81c;
}

#app #mailToast .toast-header {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

#app #mailToast .close {
  cursor: pointer;
  font-size: small;
  position: absolute;
  right: 5px;
  top: 5px;
}

#app #error {
  height: 100%;
  width: 100%;
  color: red;
}

#app #error img {
  margin: 15px;
}

#app #error h3 {
  text-align: center;
  margin-top: 15%;
}

@media print {
  #app {
    height: auto;
  }
  #app #sideBar {
    display: none;
  }
  #app #main {
    height: auto;
  }
  #app #main #memberInfo {
    height: auto;
    border-width: 0;
  }
  #app #main #memberInfo .pdfLink {
    display: none;
  }
  #app #main #memberInfo .content {
    padding: 0 75px;
  }
  #app #main #memberInfo .exports {
    display: none;
  }
}
