/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: An experimental block theme for designers, developers, and creators.
Tags: accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.8.9.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frost

Frost WordPress Theme, (C) 2022 WP Engine.
Frost is distributed under the terms of the GNU GPL.
*/

/* Defaults
---------------------------------------------------------------------------- */

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

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

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-block-button__link {
  transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

b,
strong {
  font-weight: var(--wp--custom--font-weight--bold);
}

blockquote {
  margin: 0;
}

/*
 * Alignment Styles - Originally from TT2.
 * These rules are temporary, and should not
 * be relied on or modified too heavily by
 * themes or plugins that build on Frost.
 * These are meant to be a precursor to a
 * global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
---------------------------------------------*/

body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.wp-block-cover.alignfull,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-site-blocks {
  padding-left: var(--wp--custom--spacing--outer);
  padding-right: var(--wp--custom--spacing--outer);
}

body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
body
  > .is-root-container
  > .wp-block-template-part
  > .wp-block-group.has-background,
.is-root-container .wp-block[data-align="full"],
.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background {
  margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  width: unset;
}

/* Blocks
---------------------------------------------------------------------------- */

/* Button
--------------------------------------------- */

input[type="button"],
input[type="submit"],
.wp-block-button .wp-block-button__link,
.wp-block-post-comments input[type="submit"],
.wp-block-search__button {
  background-color: var(--wp--preset--color--blue);
  border: 1px solid var(--wp--preset--color--blue);
  border-radius: 0;
  color: var(--wp--preset--color--white);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--font-weight--semi-bold);
  padding: 10px 25px;
  text-decoration: none;
  white-space: normal;
  width: auto;
}

input[type="button"]:focus,
input[type="button"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-search__button:focus,
.wp-block-search__button:hover {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--blue);
  color: var(--wp--preset--color--blue);
  text-decoration: none;
}

.wp-block-search .wp-block-button__link.has-background:focus,
.wp-block-button__link.has-background:hover {
  color: var(--wp--preset--color--white);
  filter: brightness(110%);
}

.wp-block-button__link.has-black-color.has-background:focus,
.wp-block-button__link.has-black-color.has-background:hover {
  color: var(--wp--preset--color--blue);
}

/* Button - Fill White
--------------------------------------------- */

.wp-block-button.is-style-fill-white .wp-block-button__link {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--white);
  color: var(--wp--preset--color--blue);
}

.wp-block-button.is-style-fill-white .wp-block-button__link:focus,
.wp-block-button.is-style-fill-white .wp-block-button__link:hover {
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--white);
  color: var(--wp--preset--color--white);
}
.wp-block-button .wp-block-button__link.has-yellow-background-color,
.wp-block-button.is-style-fill-white
  .wp-block-button__link.has-yellow-background-color {
  border: 1px solid var(--wp--preset--color--yellow);
}
.wp-block-button .wp-block-button__link.has-red-background-color,
.wp-block-button.is-style-fill-white
  .wp-block-button__link.has-red-background-color {
  border: 1px solid var(--wp--preset--color--red);
}
.wp-block-button .wp-block-button__link.has-light-blue-background-color,
.wp-block-button.is-style-fill-white
  .wp-block-button__link.has-light-blue-background-color {
  border: 1px solid var(--wp--preset--color--light-blue);
}

.wp-block-button.is-style-fill-yellow .wp-block-button__link {
  background-color: var(--wp--preset--color--yellow);
  border: 1px solid var(--wp--preset--color--yellow);
  color: var(--wp--preset--color--black);
}

.wp-block-button.is-style-fill-yellow .wp-block-button__link:focus,
.wp-block-button.is-style-fill-yellow .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--yellow);
  color: var(--wp--preset--color--black);
}

.wp-block-button.is-style-fill-red .wp-block-button__link {
  background-color: var(--wp--preset--color--red);
  border: 1px solid var(--wp--preset--color--red);
  color: var(--wp--preset--color--black);
}

.wp-block-button.is-style-fill-red .wp-block-button__link:focus,
.wp-block-button.is-style-fill-red .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--red);
  color: var(--wp--preset--color--red);
}

.wp-block-button.is-style-fill-light-blue .wp-block-button__link {
  background-color: var(--wp--preset--color--light-blue);
  border: 1px solid var(--wp--preset--color--light-blue);
  color: var(--wp--preset--color--blue);
}

.wp-block-button.is-style-fill-light-blue .wp-block-button__link:focus,
.wp-block-button.is-style-fill-light-blue .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--blue);
  border: 1px solid var(--wp--preset--color--light-blue);
  color: var(--wp--preset--color--light-blue);
}

/* Button - Outline
--------------------------------------------- */

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 1px solid;
  border-color: currentColor;
  color: var(--wp--preset--color--blue);
  padding: 10px 25px;
}

.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--blue);
  border-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}

/* Button - Outline White
--------------------------------------------- */

.wp-block-button.is-style-outline-white .wp-block-button__link {
  background-color: transparent;
  border: 1px solid;
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline-white .wp-block-button__link:focus,
.wp-block-button.is-style-outline-white .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--blue);
}

/* Calendar
--------------------------------------------- */

.wp-block-calendar table caption,
.wp-block-calendar table tbody {
  color: var(--wp--preset--color--blue);
}

.wp-block-calendar table th {
  background-color: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
}

.wp-block-calendar tbody td,
.wp-block-calendar th {
  border: 1px solid var(--wp--preset--color--blue);
  padding: 10px;
}

.mc-main .mc-date-switcher .button,
.mc-main .mc-search-form .button,
.mc-main .mc_filters .button {
  border-radius: 0;
  border: 1px solid var(--wp--preset--color--blue);
}

.mc-main .mc-date-switcher select:last-of-type,
.mc-main .mc-search-form input[type="text"],
.mc-main .mc_filters select {
  border-radius: 0;
}

.mc-main
  .my-calendar-header
  input[type="submit"]:not(.my-calendar-admin input[type="submit"]),
.mc-main
  .my-calendar-footer
  input[type="submit"]:not(.my-calendar-admin input[type="submit"]) {
  line-height: normal;
  padding-top: 8px;
  padding-bottom: 8px;
}

.mc-main .my-calendar-footer {
  align-items: flex-start;
}

.mc-main.list .my-calendar-month,
.mc-main .heading {
  color: var(--wp--preset--color--blue);
}

.mc-main .heading:before {
  border-color: var(--wp--preset--color--blue);
}

/* Caption
--------------------------------------------- */

.wp-block-embed figcaption,
.wp-block-gallery figcaption,
.wp-block-image figcaption,
.wp-block-pullquote figcaption,
.wp-block-quote figcaption,
.wp-block-table figcaption {
  color: var(--wp--preset--color--blue);
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: 0;
  margin-top: 10px;
  text-align: center;
}

.wp-block-gallery figcaption {
  margin-top: 0;
}

/* Code
--------------------------------------------- */

.wp-block-code {
  border: none;
}

.wp-block-code code {
  overflow-wrap: normal;
  overflow-x: scroll;
  white-space: pre;
}

*:not(.wp-block-code) > code,
kbd {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  padding: 5px 8px;
  position: relative;
  top: -1px;
}

/*
 * When inline code is selected, the Editor applies contextual styling. Since
 * our code color is near white, we need to reset to the default text color.
 */
.rich-text:focus > code[data-rich-text-format-boundary],
.rich-text:focus > kbd[data-rich-text-format-boundary] {
  color: currentColor;
}

/* Comments
--------------------------------------------- */

.wp-block-post-comments input:not([type="submit"]),
.wp-block-post-comments textarea {
  border-color: var(--wp--preset--color--blue);
}

.wp-block-post-comments .commentlist {
  margin-bottom: 40px;
  margin-top: 40px;
}

.wp-block-post-comments .commentlist .comment p {
  line-height: var(--wp--custom--line-height--body);
}

.wp-block-post-comments .form-submit {
  margin-bottom: 0;
}

.wp-block-post-comments .comment-form-cookies-consent {
  font-size: var(--wp--preset--font-size--small);
}

/* Group
--------------------------------------------- */
.wp-block-group.is-style-full-height {
  align-items: center;
  display: grid;
  min-height: 100vh;
}

/* Heading
--------------------------------------------- */

h1.has-background,
h2.has-background,
h3.has-background,
h4.has-background,
h5.has-background,
h6.has-background {
  padding: 20px 30px;
}

/* Image
--------------------------------------------- */

.wp-block-image .alignleft {
  margin-right: 30px;
}

.wp-block-image .alignright {
  margin-left: 30px;
}

/* List
--------------------------------------------- */

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
  margin-bottom: 30px;
}

ol li:where(:not([class*="wp-block"])),
ol li:where(.wp-block-list),
ul li:where(:not([class*="wp-block"])),
ul li:where(.wp-block-list) {
  margin-left: 30px;
}

ul.fancy-links li,
ol.fancy-links li {
  margin-bottom: 10px;
}

ul.fancy-links li a,
ol.fancy-links li a {
  font-weight: var(--wp--custom--font-weight--bold);
  position: relative;
}

ul.fancy-links li a::after,
ol.fancy-links li a::after {
  content: url("./assets/icons/fancy_link.svg");
  display: inline-block;
  height: 14px;
  width: 14px;
  padding-left: 10px;
  transition: right 0.2s ease;
  position: absolute;
  right: -10px;
}
ul.fancy-links li a:hover::after,
ol.fancy-links li a:hover::after,
ul.fancy-links li a:focus::after,
ol.fancy-links li a:focus::after {
  right: -15px;
}
/* Navigation
--------------------------------------------- */

.wp-block-navigation .wp-block-page-list,
.wp-block-navigation__container {
  gap: 5px 20px;
}
.wp-block-navigation
  .wp-block-navigation__container
  .wp-block-navigation-item:focus,
.wp-block-navigation
  .wp-block-navigation__container
  .wp-block-navigation-item:hover {
  color: var(--wp--preset--color--red);
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding-bottom: 30px;
  padding-top: 30px;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
  border: 1px solid var(--wp--preset--color--blue);
  padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open {
  border: 1px solid var(--wp--preset--color--white);
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
  color: var(--wp--preset--color--white);
}

/* Navigation Submenu
--------------------------------------------- */

.wp-block-navigation:not(.has-background)
  .wp-block-navigation__submenu-container {
  background-color: var(--wp--preset--color--blue);
  border: var(--wp--preset--color--blue);
  color: var(--wp--preset--color--white);
  padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
  padding: 2px 10px;
}
.wp-block-navigation.items-justified-right
  .wp-block-navigation__container
  .has-child
  .wp-block-navigation__submenu-container {
  right: auto;
}

/* Paragraph
--------------------------------------------- */

p.has-background {
  padding: 20px 30px;
}

/* Preformatted
--------------------------------------------- */

.wp-block-preformatted {
  overflow-wrap: normal;
  overflow-x: scroll;
  white-space: pre;
}

/* Pullquote
--------------------------------------------- */

.wp-block-pullquote {
  text-align: center;
}

.wp-block-pullquote p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p,
.wp-block[data-align="left"] > .wp-block-pullquote p,
.wp-block[data-align="right"] > .wp-block-pullquote p {
  font-size: var(--wp--preset--font-size--large);
  line-height: var(--wp--custom--line-height--medium);
  margin-bottom: 0;
}

.wp-block-pullquote cite,
.wp-block-pullquote__citation {
  display: block;
  font-size: var(--wp--preset--font-size--small);
  font-style: inherit;
  margin-top: 10px;
  text-transform: inherit;
}

/* Quote
--------------------------------------------- */

.wp-block-quote {
  box-shadow: 5px 5px var(--wp--preset--color--blue);
}

.wp-block-quote.has-text-align-center,
.wp-block-quote.has-text-align-left,
.wp-block-quote.has-text-align-right,
.wp-block-quote.is-style-large {
  border: 1px solid var(--wp--preset--color--blue);
  margin-bottom: 35px;
  padding: 30px 40px;
}

.wp-block-quote p:last-of-type {
  margin-bottom: 0;
}

.wp-block-quote cite,
.wp-block-quote.is-style-large p,
.wp-block-quote.is-style-large cite {
  font-style: inherit;
}

.wp-block-quote.is-style-large p {
  font-size: var(--wp--preset--font-size--x-large);
  line-height: var(--wp--custom--line-height--medium);
}

.wp-block-quote cite,
.wp-block-quote.is-style-large cite {
  display: block;
  font-size: var(--wp--preset--font-size--small);
  margin-top: 10px;
  text-align: inherit;
}

/* Separator
--------------------------------------------- */

.wp-block-separator {
  opacity: 1;
}

.wp-block-separator:not(.is-style-dots),
.wp-block-separator.has-background:not(.is-style-dots) {
  border-bottom: 1px solid currentColor;
  height: 1px;
}

.wp-block-separator.is-style-dots:before {
  font-family: inherit;
  font-size: var(--wp--preset--font-size--large);
  letter-spacing: 10px;
  padding-left: 10px;
}

/* Site Title
--------------------------------------------- */

.wp-block-site-title a {
  text-decoration: none;
}

/* Table
--------------------------------------------- */

.wp-block-table.is-style-stripes {
  border-bottom: none;
}

.wp-block-table table {
  border-collapse: collapse;
}

.wp-block-table thead {
  border-bottom: 3px solid var(--wp--preset--color--blue);
}

.wp-block-table tfoot {
  border-top: 3px solid var(--wp--preset--color--blue);
}

.wp-block-table td,
.wp-block-table th,
.wp-block-table tr,
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-stripes tr {
  border: 1px solid var(--wp--preset--color--blue);
}

.wp-block-table th {
  font-weight: var(--wp--custom--font-weight--medium);
}

.wp-block-table td,
.wp-block-table th {
  padding: 5px;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: var(--wp--preset--color--gray);
}

/* Custom
---------------------------------------------------------------------------- */
.site-content a:hover:not(.wp-block-button__link),
.site-content a:focus:not(.wp-block-button__link) {
  opacity: 0.7;
}

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

input,
select,
textarea,
.wp-block-search__input {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--blue);
  border-radius: 0;
  color: var(--wp--preset--color--blue);
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--font-weight--regular);
  line-height: var(--wp--custom--line-height--body);
  padding: 10px 20px;
  width: 100%;
}

header .main-nav {
  margin-left: auto;
}

header .wp-block-search {
  margin-bottom: 28px;
}
body:not(.page-template-no-title) header .wp-block-group.alignfull {
  border-bottom: 8px solid var(--wp--preset--color--red);
}
.full-width-header-border {
  border-top: 8px solid var(--wp--preset--color--red);
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper {
  padding: 0;
  border: 1px solid var(--wp--preset--color--blue);
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper
  .wp-block-search__input {
  padding: 0.25em;
  outline: revert;
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper
  .wp-block-search__button {
  padding: 0.25em 0.5em;
  border: 0;
  margin-left: 0;
}

.wp-block-search__button svg {
  transform: scaleX(-1);
}

input:focus,
textarea:focus {
  /* background-color: var(--wp--preset--color--gray); */
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
  -webkit-appearance: none;
}

::placeholder {
  color: var(--wp--preset--color--blue);
  font-size: var(--wp--preset--font-size--small);
  opacity: 0.6;
}

.nf-field-container {
  margin-bottom: 10px;
}

/* Pricing Table
--------------------------------------------- */

.pricing-table {
  text-align: center;
}

.pricing-table > li {
  border-bottom: 1px solid var(--wp--preset--color--gray);
  list-style-type: none;
  margin-bottom: 10px;
  margin-left: 0;
  padding-bottom: 10px;
}

/* Social Icons
--------------------------------------------- */

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,
.wp-block-social-links
  .wp-block-social-link
  .wp-block-social-link-anchor:active,
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover,
.wp-block-social-links
  .wp-block-social-link
  .wp-block-social-link-anchor:visited,
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {
  color: var(--wp--preset--color--black);
  background-color: var(--wp--preset--color--white);
  border-radius: 50%;
}

/* Footer
--------------------------------------------- */

footer .has-yellow-color a {
  color: var(--wp--preset--color--yellow);
}

/* Styles
--------------------------------------------- */

.is-style-boxshadow {
  box-shadow: 0 0 50px rgb(0 0 0 / 10%);
}

.is-style-full-height {
  align-items: center;
  display: grid;
  min-height: 100vh;
}

p.is-style-no-margin,
.is-style-no-margin,
.wp-block-column.is-style-no-margin,
.wp-block-image.is-style-no-margin {
  margin: 0;
}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 800px) {
  /* Navigation
	--------------------------------------------- */

  .wp-block-navigation-item.is-style-fill a,
  .wp-block-navigation-item.is-style-outline a {
    border: 1px solid var(--wp--preset--color--black);
    padding: 5px 15px;
  }

  .wp-block-navigation-item.is-style-fill,
  .wp-block-navigation-item.is-style-outline a:focus,
  .wp-block-navigation-item.is-style-outline a:hover {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
  }

  .wp-block-navigation-item.is-style-outline a,
  .wp-block-navigation-item.is-style-fill a:focus,
  .wp-block-navigation-item.is-style-fill a:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
  }

  .wp-block-navigation-item.is-style-fill-white a,
  .wp-block-navigation-item.is-style-outline-white a {
    border: 1px solid var(--wp--preset--color--white);
    padding: 5px 15px;
  }

  .wp-block-navigation-item.is-style-fill-white,
  .wp-block-navigation-item.is-style-outline-white a:focus,
  .wp-block-navigation-item.is-style-outline-white a:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
  }

  .wp-block-navigation-item.is-style-outline-white a,
  .wp-block-navigation-item.is-style-fill-white a:focus,
  .wp-block-navigation-item.is-style-fill-white a:hover {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
  }

  /* Pullquote
	--------------------------------------------- */

  .wp-block[data-align="left"] .wp-block-pullquote,
  .wp-block[data-align="right"] .wp-block-pullquote,
  .wp-block-pullquote.alignleft,
  .wp-block-pullquote.alignright {
    max-width: 300px;
  }

  .wp-block[data-align="left"] .wp-block-pullquote,
  .wp-block-pullquote.alignleft {
    float: left;
    margin-left: -100px !important;
    margin-right: 30px !important;
  }

  .wp-block[data-align="right"] .wp-block-pullquote,
  .wp-block-pullquote.alignright {
    float: right;
    margin-left: 30px !important;
    margin-right: -100px !important;
  }
}

/* Course Search
	--------------------------------------------- */
.course-search-header {
  background-color: #f4cd4e;
  border: 1px solid var(--wp--preset--color--blue);
  border-bottom-width: 2px;
  padding: 0.5em;
  font-family: var(--wp--preset--font-family--secondary);
}

.course-search-header .wp-block-columns {
  display: grid;
}

.course-search-header p,
.course-search-header .wp-block-column {
  margin: 0;
}
.course-search-header .wp-block-column {
  margin-left: 0px !important;
}
div .course-search-control {
  align-items: flex-start;
}
.fwpl-result:nth-of-type(2n) {
  background-color: #dde5ed;
}

.facetwp-template[data-name="courses"] .fwpl-result {
  border: 1px solid var(--wp--preset--color--blue);
  border-top-width: 0px;
  padding: 0.5em;
}

.facetwp-template[data-name="courses"] .fwpl-layout {
  grid-gap: 0px;
}

.facetwp-template[data-name="courses"] img {
  max-width: 100%;
  display: block;
  height: auto;
  padding: 10px 0;
}

.facetwp-template.plan-of-study,
.facetwp-template.plan-of-study .fwpl-row {
  display: grid;
}

a.add_to_plan.remove {
  color: var(--wp--preset--color--red);
}

[data-name="course_search"] input {
  width: 500px;
  max-width: 80vw;
}
@media (min-width: 780px) {
  .course-search-header .fwpl-row,
  [data-name="courses"] .fwpl-row {
    gap: 10px;
    grid-template-columns: 3fr repeat(5, 1fr);
  }
  .plan-of-study-header .fwpl-row,
  .plan-of-study .fwpl-row {
    gap: 10px;
    grid-template-columns: 3fr repeat(4, 1fr);
  }
  .facetwp-template[data-name="courses"] img {
    padding: 0 10px 0 0;
  }
}

.single-course h1 {
  font-size: var(--wp--preset--font-size--max-48);
}

.single-course h2 {
  font-size: var(--wp--preset--font-size--x-large);
}

.single-course .wp-block-column {
  margin: 0;
}

/* Degree Display
  --------------------------------------------- */

details {
  margin: 0;
}
details > summary > * {
  display: inline;
}
.degree h2 {
  margin-top: 40px;
  margin-bottom: 30px;
}
details > * {
  margin: 0 40px 0;
}
details > :last-child {
  margin-bottom: 40px;
}
details summary {
  cursor: pointer;
  background-color: var(--wp--preset--color--yellow);
  margin: 0;
  margin-bottom: 10px;
  padding: 8px 15px 10px;
}
details summary,
details summary h3 {
  font-size: var(--wp--preset--font-size--x-large);
  line-height: var(--wp--custom--line-height--heading);
}
details[open] summary {
  margin-bottom: 20px;
}
details h4 {
  margin-top: 20px;
  margin-bottom: 20px !important;
}

/* Mailchimp
  --------------------------------------------- */

#mc_embed_signup_scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#mc_embed_signup_scroll .mc-field-group {
  max-width: 295px;
  padding: 10px 10px 0px 0px;
}
#mc_embed_signup_scroll .mc-field-group label {
  visibility: hidden;
}
#mc_embed_signup_scroll .wp-block-button {
  display: inline-block;
  padding: 10px 10px 0px 0px;
}

#mc_embed_signup_scroll .mc-field-group input {
  border-color: var(--wp--preset--color--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  header,
  footer {
    display: none;
  }

  .plan_of_study .wp-block-buttons {
    display: none;
  }
  .plan_of_study .fwpl-row .fwpl-col:nth-child(5) {
    display: none;
  }
  .plan-of-study-header .fwpl-row,
  .plan-of-study .fwpl-row {
    gap: 10px;
    grid-template-columns: 3fr repeat(3, 1fr);
  }
}
