﻿/************************************
MISC
************************************/

body {
  word-break: break-word;
}

iframe {
  max-width: 100%;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

table:not([class]) td,
table:not([class]) tr {
  border-width: 1px;
}

/************************************
TYPOGRAPHY
************************************/
a {
  color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
  text-decoration: underline;
}

  a:hover {
    color: rgba(var(--bs-link-hover-color-rgb),var(--ps-link-hover-opacity,1));
  }


* p:last-child,
* ul:last-child,
* ol:last-child {
  margin-bottom: 0;
}

b,
bold,
strong {
  font-weight: var(--ps-body-bold-font-weight);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ps-title-font-family, --bs-body-font-family);
  font-weight: var(--ps-title-font-weight);
  margin-bottom: 0;
}

  h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *, .h1 + *, .h2 + *, .h3 + *, .h4 + *, .h5 + *, .h6 + * {
    margin-top: 1rem;
  }

* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
  margin-top: 2rem;
}

ingress,
.lead {
  font-weight: var(--ps-lead-font-weight);
}

@media (min-width: 768px) {
  h1, .h1 {
    font-size: var(--ps-h1-font-size);
  }

  h2, .h2 {
    font-size: var(--ps-h2-font-size);
  }

  h3, .h3 {
    font-size: var(--ps-h3-font-size);
  }

  h4, .h4 {
    font-size: var(--ps-h4-font-size);
  }

  h5, .h5 {
    font-size: var(--ps-h5-font-size);
  }

  h6, .h6 {
    font-size: var(--ps-h6-font-size);
  }

  ingress,
  .lead {
    font-size: var(--ps-lead-font-size);
  }

  small {
    font-size: 80%;
  }
}


/* Custom bootstrap */
/* Negative margin */
.m-n1 {
  margin: -0.25rem !important;
}

.m-n2 {
  margin: -0.5rem !important;
}

.m-n3 {
  margin: -1rem !important;
}

.m-n4 {
  margin: -1.5rem !important;
}

.m-n5 {
  margin: -3rem !important;
}

.mx-n1 {
  margin-right: -0.25rem !important;
  margin-left: -0.25rem !important;
}

.mx-n2 {
  margin-right: -0.5rem !important;
  margin-left: -0.5rem !important;
}

.mx-n3 {
  margin-right: -1rem !important;
  margin-left: -1rem !important;
}

.mx-n4 {
  margin-right: -1.5rem !important;
  margin-left: -1.5rem !important;
}

.mx-n5 {
  margin-right: -3rem !important;
  margin-left: -3rem !important;
}

.my-n1 {
  margin-top: -0.25rem !important;
  margin-bottom: -0.25rem !important;
}

.my-n2 {
  margin-top: -0.5rem !important;
  margin-bottom: -0.5rem !important;
}

.my-n3 {
  margin-top: -1rem !important;
  margin-bottom: -1rem !important;
}

.my-n4 {
  margin-top: -1.5rem !important;
  margin-bottom: -1.5rem !important;
}

.my-n5 {
  margin-top: -3rem !important;
  margin-bottom: -3rem !important;
}

.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n2 {
  margin-top: -0.5rem !important;
}

.mt-n3 {
  margin-top: -1rem !important;
}

.mt-n4 {
  margin-top: -1.5rem !important;
}

.mt-n5 {
  margin-top: -3rem !important;
}

.mt-n6 {
  margin-top: -12px !important;
}

.mt-n7 {
  margin-top: -30px !important;
}

.mt-n8 {
  margin-top: -10px !important;
}

.mt-n9 {
  margin-top: -20px !important;
}

.me-n1 {
  margin-right: -0.25rem !important;
}

.me-n2 {
  margin-right: -0.5rem !important;
}

.me-n3 {
  margin-right: -1rem !important;
}

.me-n4 {
  margin-right: -1.5rem !important;
}

.me-n5 {
  margin-right: -3rem !important;
}

.mb-n1 {
  margin-bottom: -0.25rem !important;
}

.mb-n2 {
  margin-bottom: -0.5rem !important;
}

.mb-n3 {
  margin-bottom: -1rem !important;
}

.mb-n4 {
  margin-bottom: -1.5rem !important;
}

.mb-n5 {
  margin-bottom: -3rem !important;
}

.ms-n1 {
  margin-left: -0.25rem !important;
}

.ms-n2 {
  margin-left: -0.5rem !important;
}

.ms-n3 {
  margin-left: -1rem !important;
}

.ms-n4 {
  margin-left: -1.5rem !important;
}

.ms-n5 {
  margin-left: -3rem !important;
}
