body {
  text-align: left;
}

.page-wrapper {
  position: relative;
}

/* Beginning Of Styling For Admin Dashboard */
a.admin-dashboard-card-link:hover {
  color: var(--text-colour);
}

.admin-dashboard-card {
  position: relative;
  border: 3px solid var(--text-colour);
  height: 50px;
  border-radius: 50px;
  padding: 1rem 1.25rem 1.5rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  -webkit-transition: -webkit-transform .4s;
  transition: -webkit-transform .4s;
  -o-transition: transform .4s;
  transition: transform .4s;
  transition: transform .4s, -webkit-transform .4s;
}

.admin-dashboard-card:hover {
  -webkit-transform: translateX(10px);
      -ms-transform: translateX(10px);
          transform: translateX(10px);
}

.admin-dashboard-card-icon {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 50px;
  fill: var(--text-colour)
}

.admin-dashboard-card-text {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  margin-left: calc(50px + 2rem);
  left: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  -webkit-hyphens: none;
      -ms-hyphens: none;
          hyphens: none;
  width: 55%;
}

.admin-dashboard-card-arrow {
  width: 24px;
  fill: var(--text-colour);
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
/* End Of Styling For Admin Dashboard */

/* Beginning Of Styling For 'Manage Pages' Pages */
.success-message {
  width: 100%;
  border: 2px solid var(--success-message-colour);
  background-color: var(--success-message-colour-rgba);
  color: var(--success-message-colour);
  text-align: center;
  font-weight: 400;
  padding: 0.625rem;
  margin: 0 auto 1.75rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.success-message a {
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.success-message a:hover {
  color: inherit;
  opacity: 0.5;
}

.error-message {
  width: 100%;
  border: 2px solid var(--error-message-colour);
  background-color: var(--error-message-colour-rgba);
  color: var(--error-message-colour);
  text-align: center;
  font-weight: 400;
  padding: 0.625rem;
  margin: 0 auto 1.75rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 1.25;
}

.error-message p {
  margin: 0;
}

.error-message p:not(:first-of-type) {
  margin-top: 0.5rem;
}

.input-form {
  width: 250px;
  margin: 0 auto;
}

label {
  margin-top: 0.625rem;
  display: block;
}

input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 3px solid var(--text-colour);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-colour);
  background-color: var(--input-bg-colour);
  caret-color: var(--text-colour);
}

input:focus {
  outline: 2px solid var(--text-colour);
  outline-offset: 2px;
}

.input-form button {
  margin: 1.5rem auto 0;
  display: block;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem auto 0;
  line-height: 1.25;
}

table th {
  background-color: var(--text-colour);
  border: 3px solid var(--text-colour);
  color: var(--body-bg-colour);
  padding: 0.375rem 1.375rem;
}

table td {
  border: 3px solid var(--text-colour);
}

table td:first-child {
  padding: 0.625rem 1.375rem;
  border-right: none;
}

table tr:nth-child(even) {
  background-color: var(--input-bg-colour);
}

table td:last-child {
  border-left: none;
  position: relative;
}

table tr td:last-child form button {
  position: absolute;
  margin: 0;
  padding: 0;
  background-color: transparent;
  color: var(--text-colour);
  border-radius: 0;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  line-height: 1;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 75%;
}

.back-to-dashboard-right-positioned {
  position: absolute;
  right: 0;
}

.back-to-dashboard-center-positioned {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
/* End Of Styling For Manage Content Pages */

/* Beginning Of Style For Uploaded Documents Page */
.upload-form {
  text-align: center;
}

.file-upload-label input[type="file"] {
  display: none;
}

.file-upload-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid var(--text-colour);
  border-radius: 6px;
  font-weight: 400;
  cursor: pointer;
  -webkit-transition: background-color 0.5s, color 0.5s;
  -o-transition: background-color 0.5s, color 0.5s;
  transition: background-color 0.5s, color 0.5s;
}

.file-upload-button:hover {
  background-color: var(--text-colour);
  color: var(--body-bg-colour);
}

#file-name {
  margin-top: 0.25rem;
}
/* End Of Styling For Uploaded Documents Page */

/* Beginning Of Styling For Change Password Page */
.error-message ul {
  text-align: left;
  list-style: none;
  padding: 0.25rem 0.625rem 0.625rem;
  margin: 0;
}

.error-message li {
  position: relative;
  padding-left: 1.5rem;
}

.error-message li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.7rem;
  height: 0.7rem;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2 4 12l8 10 8-10-8-10Z" fill="%238C1F3A"></path></svg>');
}
/* End Of Styling For Change Password Page */

/* MEDIA QUERIES */
@media screen and (min-width: 577px) {
  .input-form {
    width: 350px;
  }
}