.direction-rtl {
  direction: rtl;
}

.container.main-container .content {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 0 22px rgba(220, 220, 220, 0.4);
  padding: 2rem;
  margin: 2rem auto;
  min-height: calc(100vh - 8rem);
}

.container.main-container .content .content-header {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.filter-search .btn-filter,
.filter-search .btn-search,
.filter-search .clear-btn {
  background: #d30101;
  border: 0;
  color: #fff;
  padding: 0.45rem 1rem;
  font-weight: 600;
  border-radius: 0.2rem;
  text-transform: uppercase;
  height: 38px;
  line-height: 16px;
  display: block;
  text-align: center;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.filter-search .clear-btn {
  margin-top: 32px;
}

.lang {
  margin: 1.5rem 0;
  color: #646464;
  border-radius: 5px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang a {
  background: #eee;
  color: #646464;
  border-radius: 5px;
  width: 26px;
  height: 26px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.lang .active {
  background: #bf0000;
  color: #fff;
}

.main-container .page-link {
  display: block !important;
  margin-left: 0;
}

.list-pagination-counter.disabled {
  opacity: 0.5;
}




/*  */

.warning {
  color: #9F6000;
  background-color: #FEEFB3;
  border: 1px solid;
  margin: 10px 0px;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}

.custom-file-label {
  padding: .375rem 6rem !important;
}

/*  Edits 
    By A. Moula
*/
.navbar {
  .nav-link {
    cursor: pointer;
    font-weight: bold;
  }
  .nav-link:hover {
    color: #dc3545 !important;
  }
  .navbar-brand img {
    max-height: 100px;
    width: auto;
  }
}
#consent-public-page {
  label {
    font-size: 0.9em;
    font-weight: bold;
  }
  .content-header {
    display: flex !important;
    align-items: center;
    justify-content: center;
    .lang {
      display: flex;
      align-items: center;
      gap: 5px;
    }
  }
  .filter-search {
    color: #333;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    .list-inline {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      background: #fafafa;
      padding: 5px;
      border: 1px solid #eee;
      border-radius: 8px;
      li {
        margin: 0;
      }
    }
  }
  .form-control {
    min-height: 60px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.01);
    border-color: #eee;
  }
  .page-settings.m-3 {
    background: #fff;
    margin: 0 !important;
    border-radius: 0 0 10px 10px;
    padding: 0 15px 15px;
  }

  .form-page {
    .filter-search {
      border: 1px solid #eee;
      background: #fafafa;
      margin-block: 10px;
    }
    .form-group:last-child {
      margin: 0;
    }
  }

  .field-collection-item-row {
    display: flex;
    align-items: center;
    gap: 5px;
    .form-widget-compound {
      flex-basis: 100%;
    }
  }

  .form-check {
    display: flex;
    align-items: center;
  }

  .content-text {
    background: #eee;
    cursor: not-allowed;
  }
  .content-text + div {
    margin-top: -15px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #999;
  }
  .content-text + div + div {
    font-weight: bold;
  }

  .document-wrapper {
    border: 2px solid #eee;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    legend {
      font-weight: bold;
    }
    p {
      padding-bottom: 10px;
      border-bottom: 1px solid #ddd;
    }
  }

  .field-collection-item-action {
    padding: 5px;
    color: red;
    font-weight: bold;
  }
  .field-collection-item-action:hover {
    text-decoration: none;
  }
  small.form-text {
    margin-top: -10px;
    margin-bottom: 30px;
    color: #999;
  }
  .form-action {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
  }
  .btn-primary {
    font-weight: bold;
  }

  .page-home {
    text-align: center;
    padding-bottom: 30px;
  }
  .followup-input {
    gap: 10px;
  }
  .request-status {
    align-self: center;
    margin-top: 0 !important;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  #consent-public-page {
    .followup-input {
      flex-direction: column;
    }
    .form-control {
      flex-basis: 100%;
      width: 100% !important;
    }
    .request-status {
      flex-basis: 100%;
      text-align: center;
    }
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    .navbar-brand img {
      max-height: 60px;
      width: auto;
    }
    .navbar-nav {
      border-top: 1px solid #eee;
      margin-top: 10px;
      padding-bottom: 10px;
      .nav-link {
        padding: 10px 0 0;
      }
    }
  }
}

[direction="rtl"] {
  .navbar,
  .navbar .content-header {
    flex-direction: row-reverse;
  }
  .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
  }
}