/*
 GDPR pages - shared front-end styles.
 Deliberately theme agnostic: sizes are inherited from the active theme, only
 spacing, list layout and the link affordances are defined here.
*/

/*
 Journal3 defines `.container { padding: 0 15px }` only inside a max-width:768px
 media block, so on desktop the content column touches the viewport edge.
 Keep the intended gutter on the GDPR pages at every width - the mobile rule is
 !important, so it still wins there and the value does not double up.
*/
#pdata-index,
#pdata-request,
#pdata-view-personal-data,
#pdata-delete-data {
  padding-left: 15px;
  padding-right: 15px;
  /* altfel ultimul bloc sta lipit de footer */
  padding-bottom: 50px;
}

.pdata-page .pdata-section {
  margin-bottom: 40px;
}

.pdata-page .pdata-section:last-of-type {
  margin-bottom: 25px;
}

.pdata-page .pdata-section > .title {
  margin-top: 0;
  margin-bottom: 12px;
  /* the theme pads `.title` by 5px, which would offset it from the copy below */
  padding-left: 0;
  padding-right: 0;
}

.pdata-page .pdata-help {
  margin-bottom: 18px;
  max-width: 780px;
}

.pdata-page .pdata-subtitle {
  margin: 25px 0 10px;
  font-size: 1.1em;
  font-weight: 700;
}

.pdata-page .pdata-subtitle:first-child {
  margin-top: 0;
}

/* Link lists ---------------------------------------------------------- */

.pdata-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.pdata-list > li {
  width: 100%;
  margin: 0 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pdata-list > li > a {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
  line-height: 1.3;
  text-decoration: none;
  -webkit-transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
          transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
}

.pdata-list > li > a:hover,
.pdata-list > li > a:focus {
  border-color: rgba(0, 0, 0, 0.35);
  background-color: rgba(0, 0, 0, 0.03);
  text-decoration: none;
}

.pdata-list > li > a > .fa {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 22px;
  margin-right: 12px;
  text-align: center;
  font-size: 16px;
  opacity: 0.7;
}

.pdata-list > li > a:hover > .fa {
  opacity: 1;
}

.pdata-list > li > a.pdata-danger {
  color: #a94442;
  border-color: rgba(169, 68, 66, 0.3);
}

.pdata-list > li > a.pdata-danger:hover,
.pdata-list > li > a.pdata-danger:focus {
  border-color: #a94442;
  background-color: rgba(169, 68, 66, 0.06);
}

@media (min-width: 768px) {
  .pdata-list {
    margin-right: -10px;
  }

  .pdata-list > li {
    width: 50%;
    padding-right: 10px;
  }

  .pdata-list-single > li {
    width: 100%;
  }
}

/* Data tables --------------------------------------------------------- */

.pdata-page .pdata-table {
  margin-bottom: 20px;
}

.pdata-page .pdata-table th {
  width: 40%;
  font-weight: 700;
}

.pdata-page .pdata-table td,
.pdata-page .pdata-table th {
  word-break: break-word;
}

@media (max-width: 767px) {
  .pdata-page .pdata-table th {
    width: 45%;
  }
}

/* Forms / buttons ----------------------------------------------------- */

.pdata-page .pdata-form {
  margin-bottom: 0;
}

.pdata-page .pdata-form legend {
  margin-bottom: 20px;
}

.pdata-page .pdata-note {
  margin-top: 20px;
  padding: 15px;
  border-left: 3px solid rgba(0, 0, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.02);
}

.pdata-page .pdata-note > p:last-child {
  margin-bottom: 0;
}

.pdata-page .pdata-note-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.pdata-page .pdata-confirm {
  margin-top: 30px;
  text-align: center;
}

.pdata-page .pdata-confirm > .btn {
  margin: 0 5px 10px;
}

.pdata-page .buttons {
  margin-top: 30px;
}
