/**
 Theme Name: Catalyst Exams
 Theme URI: https://strategynewmedia.com
 Author: Zachary Gillam
 Author URI: https://strategynewmedia.com
 Description: Catalyst Exams WordPress theme.
 Text Domain: catalyst
 Version: 1.0.0
*/
:root {
  /* Colors */
  --primary-color: #000;
  --secondary-color: #333;
  --text-color: #000;
  --body-background-color: #fff;

  /* Base Typography */
  --text-font-family: sans-serif;
  --text-base-size: 18px;
  --text-base-font-weight: 400;
  --text-base-line-height: 1.5;

  /* Headings Typography */
  /* h1 - h3 */
  --heading-font-family: sans-serif;
  --heading-font-weight: 500;
  --heading-font-style: normal;
  --heading-text-transform: uppercase;
  --heading-color: #333;

  /* h4 - h6 */
  --sub-heading-font-family: sans-serif;
  --sub-heading-font-weight: 700;
  --sub-heading-font-style: normal;
  --sub-heading-text-transform: capitalize;
  --sub-heading-color: #000;

  /* Header */
  --header-background-color: #fff;

  /* Footer */
  --footer-background-color: #f1f1f1;
  --footer-text-color: #000;

  /* Forms */
  --form-border-color: #000;
  --form-border-hover-color: #333;
  --form-border-size: 1px;
  --form-border-radius: 4px;

  /* Buttons */
  --button-background-color: #000;
  --button-text-color: #fff;
  --button-border-color: #000;
  --button-hover-background-color: #fff;
  --button-hover-text-color: #000;
  --button-hover-border-color: #000;
}

::-webkit-scrollbar {
  width: 0.5rem;
}
::-webkit-scrollbar-track {
  background: var(--body-background-color);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  outline: 0;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 20rem;
  font-family: var(--text-font-family);
  font-size: var(--text-base-size);
  font-weight: var(--text-base-font-weight);
  line-height: var(--text-base-line-height);
  color: var(--text-color);
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6,
.is-h1,
.is-h2,
.is-h3,
.is-h4,
.is-h5,
.is-h6 {
  transition: color 0.25s ease;
  margin: 0;
  display: block;
  font-family: var(--heading-font-family);
  font-style: var(--heading-font-style);
  font-weight: var(--heading-font-weight);
  text-transform: var(--heading-text-transform);
  color: var(--heading-color);
  line-height: 1.25;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

h1,
.is-h1 {
  font-size: 1.75rem;
}

h2,
.is-h2 {
  font-size: 1.33rem;
}

h3,
.is-h3 {
  font-size: 1.25rem;
  font-weight: 300;
}

h4,
.is-h4,
h5,
.is-h5,
h6,
.is-h6 {
  font-family: var(--sub-heading-font-family);
  font-style: var(--sub-heading-font-style);
  font-weight: var(--sub-heading-font-weight);
  text-transform: var(--sub-heading-text-transform);
  color: var(--sub-heading-color);
  font-size: 1rem;
}

h5,
.is-h5 {
  font-size: 1.125rem;
}

.container {
  width: 49rem;
  max-width: 90%;
}

.wrapper {
  padding: 6rem 0 10rem;
}

.entry {
  padding: 2rem 0;
}

.error404 .entry {
  text-align: center;
}

header {
  position: fixed;
  top: 0;
  background-color: var(--header-background-color);
  box-shadow: 0 0 0.75rem 0.25rem rgba(0, 0, 0, 0.25);
  z-index: 100;
}

header,
footer {
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  padding: 1rem 0;
}

footer {
  position: absolute;
  bottom: 0;
  background: var(--footer-background-color);
  color: var(--footer-text-color);
  z-index: 99;
}

footer .copyright {
  font-size: 0.75rem;
}

p {
  margin: 0;
}

a {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.5s ease;
}

a:hover,
a:focus,
a:active {
  color: var(--text-color);
}

a:focus,
a:focus-within {
  outline: 3px dotted var(--secondary-color);
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.logo__full {
  max-width: 15rem;
}

.iframe-scaler {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  position: relative;
}

.iframe-scaler iframe,
.iframe-scaler video {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.row > div > * + * {
  margin-top: 1rem;
}

a.call-btn {
  display: block;
  margin: 1rem auto 0 auto;
  max-width: fit-content;
}

/* Form Styling */

/* Buttons */
.button,
button,
input[type="button"],
input[type="submit"] {
  font-family: var(--sub-heading-font-family);
  font-size: 1rem;
  font-weight: var(--sub-heading-font-weight);
  text-transform: var(--sub-heading-text-transform);
  line-height: 1.25;
  color: var(--button-text-color);
  border: 2px solid var(--button-border-color);
  border-radius: var(--form-border-radius);
  background-color: var(--button-background-color);
  padding: 0.75rem 1.5rem;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  transition: color 0.5s ease, background-color 0.5s ease,
    border-color 0.5s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: var(--button-hover-background-color);
  color: var(--button-hover-text-color);
}

/* Form Elements */
input input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="week"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="tel"],
input[type="time"],
textarea,
select,
select[multiple] {
  margin: 0;
  border: var(--form-border-size) solid var(--form-border-color);
  padding: 0.5rem;
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  background-color: #fff;
  line-height: 1;
  font-size: 1rem;
  font-family: inherit;
  border-radius: var(--form-border-radius);
  transition: all 0.5s ease;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  border: 0;
  display: inline-block;
}

select[multiple] {
  width: auto;
}

textarea {
  min-height: 5rem;
  height: 5rem;
  max-height: 10rem;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  border-color: var(--form-border-hover-color);
}

/* HTML Field & Sections */
.gform_wrapper .gfield_html > * + * {
  margin-top: 1rem;
}

.gfield_html_formatted {
  margin-bottom: 1rem;
}

.gsection {
  margin-top: 2rem;
}

/* File Upload */
.gform_delete_file {
  padding: 0;
}

/* Error & Validation Messages */
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
  padding: 0.5rem;
  border-radius: var(--form-border-radius);
}

/* Form Heading */
.gform_heading .gform_description {
  padding: 1rem 0;
  display: block;
}

/* Paging */
.gform_next_button {
  float: right;
}
