/*!
Theme Name: Jefferson Classical Academy
Theme URI: http://jeffersonclassicalacademy.com/
Author: Globant
Author URI: https://globant.com/
Description: Custom made theme for JCA.
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jca
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root {
  --color-white: #FFFFFF;
  --color-text: #6F6F6F;
  --color-text-dark: #000000;
  --color-primary: #8fc441;
  --color-secondary: #1B3E2F;
  --color-accent: #C7A741;
  --color-dark-accent: #CC9934;
  --color-light-accent: #FFFAEC;
  --color-border: #EEE;
  --color-zebra: #F2F2F2;
  --color-btn: #006FFF;
  --color-check: #4CAF50;
  --color-cross: #E53935;
  --color-bg-footer: #697077;
  --color-dark-green: #1D5232;
  --color-dark-blue: #18406F;
  --color-dark-gray: #467082;
  --color-light-gray: #E9E9E9;

  --font-base: 'Proxima Nova', sans-serif;
  --font-heading: 'EB Garamond', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;

  --container-max: 1040px;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;

	--breakpoint-xs: 480px;
	--breakpoint-sm: 600px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 1024px;
	--breakpoint-xl: 1200px;
	--breakpoint-xxl: 1440px;
}

/* Normalize
--------------------------------------------- */

/* Document
	 ========================================================================== */

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

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	font-family: var(--font-base);
  line-height: 140%;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

input, textarea, select {
  font-size: 16px;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

.wp-block-buttons.is-content-justification-center{
  display: flex;
  gap: 1.25em;
}

@media (max-width: 600px) {
  .wp-block-buttons.is-content-justification-center{
    flex-direction: column;
    align-items: center;
  }
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_blackkit.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_boldit.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova/proximanova_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('./assets/fonts/proximanova_regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

h1, h2, h4, h5, h6 {
  color: var(--color-text-dark);
  line-height: 108%;
  font-family: var(--font-heading);
	font-weight: 600;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-family: var(--font-base);
  color: var(--color-text-dark);
	font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-family: var(--font-base);
}

@media screen and (min-width: 768px) {
	h2 {
		font-size: 3rem;
		letter-spacing: 0;
	}

	h3 {
		font-size: 2rem;
		line-height: 120%;
		letter-spacing: 0;
	}
}

p {
  color: var(--color-text-dark);
}

/* Elements
--------------------------------------------- */

img {
  height: auto;
}

button{
  border: none;
  background: none;
  cursor: pointer;
}

ul {
	list-style: disc;
	margin-left: 20px;
}

.btn {
  display: flex;
  align-items: center;
  font-family: var(--font-base);
  padding: 20px 30px;
  color: var(--color-white);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0px 4px 8px 0px #00000047;
  text-decoration: none;
  transition: all 0.3s ease-out;
  z-index: 2;
}

.btn img{
  margin-left: 10px;
  width: 10px;
  height: auto;
  transition: all 0.3s ease-out;
  fill: var(--color-white);
}

.btn:hover {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  border: 2px solid var(--color-accent);
  transition: all 0.3s ease-in-out;
}

.btn:hover img{
  transform: translateY(-5px);
  transition: all 0.3s ease-out;
}

.btn-primary {
  background-color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
	color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
}

.btn-outline {
  border: 2px solid var(--color-secondary);
}

.btn-outline a{
  color: var(--color-secondary);
}

.btn-outline-white {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.wp-block-image img {
  border-radius: 30px;
}

@media screen and (max-width: 780px) {
  .wp-block-buttons>.wp-block-button.wp-block-button__width-25{
    width: 50%;
  }
}

@media screen and (max-width: 480px) {
  .wp-block-buttons>.wp-block-button.wp-block-button__width-25{
    width: 100%;
  }
}

/* Links
--------------------------------------------- */
a {
  text-decoration: none;
  color: var(--color-white);
}

a:hover {
  color: var(--color-white);
}

.learn-more{
  font-weight: 400;
  font-size: 1rem;
  line-height: 140%;
  letter-spacing: -0.5%;
  text-decoration: underline !important;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  color: rgba(24, 64, 111, 1);
}

.learn-more:hover {
  color: var(--color-accent);
}

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

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  gap:40px;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Loading Spinner
--------------------------------------------- */

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  position: absolute;
  z-index: 10;
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navigation
--------------------------------------------- */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
	padding: 1rem 2rem;
}

.logo-desktop {
  display: none;
}

.logo-mobile {
  display: block;
}

.site-header {
  background: var(--color-secondary);
}

.site-header img{
  height: auto;
  width: 140px;
}

@media (min-width: 768px) {
  .logo-desktop {
    display: block;
  }
  .logo-mobile {
    display: none;
  }
  .site-header img{
    width: 120px;
  }
}

/* Burger Menu */
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-border);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.burger-menu.is-active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* Navigation */
.main-nav {
  position: absolute;
  top: 57px;
  left: 0;
  width: 100%;
  background: var(--color-secondary);
  display: none;
  flex-direction: column;
  padding: 30px 0;
  z-index: 999;
  border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
  box-shadow: 0px 4px 8px 0px #00000047;
}

.main-nav.nav-open {
  display: flex;
  padding: 12px 0 45px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-menu li {
  margin: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-base);
  display: block;
  padding: 25px 28px;
}

/* Current menu item highlight */
.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-bottom: 2px;
  margin-left: 10px;
  width: 7px;
  height: 7px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submenus */
.sub-menu {
  display: none;
  flex-direction: column;
  padding: 0;
  list-style: none;
}

.sub-menu .menu-item > a {
  display: inline-block;
  margin: 20px 28px;
  padding: 0;
}

.menu-item.submenu-open > a {
  color: var(--color-accent);
}

/* Current menu item highlight */
.sub-menu li.current-menu-item a,
.sub-menu li.current-menu-parent a,
.sub-menu li.current_page_item a {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 20px;
  font-weight: 700;
}

.menu-item.submenu-open > a::after {
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.menu-item.submenu-open > .sub-menu {
  display: flex;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .burger-menu {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-left: 100px;
  }

  .nav-menu {
    flex-direction: row;
    gap: 30px;
  }

  .nav-menu li {
    position: relative;
    margin: 0;
  }

  .nav-menu li a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 20px;
  }

  .sub-menu {
    gap: 1rem;
    position: absolute;
    top: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    background: var(--color-secondary);
    display: none;
    padding: 1rem;
    min-width: fit-content;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .menu-item:hover > .sub-menu {
    display: flex;
  }

  .sub-menu a {
    color: var(--color-white);
    white-space: nowrap;
  }

  .sub-menu a:hover {
    color: var(--color-accent);
  }
}


/* Breadcrumbs
--------------------------------------------- */

.breadcrumbs{
	text-align: left;
	color: var(--color-text);
	font-family: var(--font-base);
	margin: 40px 0;
}

.breadcrumbs a {
	color: var(--color-text);
}

.breadcrumbs-current{
	font-weight: 600;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

footer{
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  text-align: center;
  background-color: var(--color-bg-footer);
  padding: 20px;
}

footer p {
  color: var(--color-white);
}

footer a:hover {
  color: var(--color-accent)
}

@media screen and (min-width: 768px) {
  footer .container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}

.right-content{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
}

/* Modal Pop Up
--------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #07360ae1;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal img{
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.modal.active {
  display: flex;
}

.modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-wrapper .privacy-text{
  font-size: 10px;
  line-height: 14px;
}

.doted-separator {
  border-bottom: 3px dotted var(--color-accent);
  width: 100%;
}

.dotted-border {
  box-shadow: 0px 4px 8px 0px #00000047;
  border: 1px dashed #1B3E2F;
  width: 100%;
  max-width: var(--container-max);
  align-self: center;
  margin: 50px 0;
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 20px;
  height: 60vh;
}

.modal-content h3{
  font-size: 20px;
  line-height: 116%;
}

.modal-popup {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.close-modal {
  align-self: end;
  background: var(--color-accent);
  color: var(--color-text-dark);
  border: none;
  border-radius: 8px;
  margin-bottom: 5px;
  width: fit-content;
  padding: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.modal-iframe {
  flex: 1;
  width: 100%;
  border: none;
}

body.modal-open {
  overflow: hidden;
}

.iframe-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.iframe-container iframe {
    display: none;
    height: 100%;
}

@media screen and (min-width: 768px) {

  .modal-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 900px;
  }

  .modal-wrapper h3 {
    font-size: 2rem;
    line-height: 106%;
  }

  .modal-wrapper img {
    height: 100%;
  }

  .modal-content {
    height: auto;
  }

  .modal img{
    width: 360px;
  }
}

/* Banner
--------------------------------------------- */
.banner-section{
  border-radius: 30px;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Media Queries */
@media screen and (min-width: 600px) {
  .banner-section{
    height: 200px;
  }
}

@media screen and (min-width: 768px) {
  .banner-section{
    height: 300px;
  }
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
  display: flex;
  flex-direction: column;
	margin: 1.5em 0 0;
  gap: 1.25rem;
}

.entry-content {
  margin: 0;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Background colors
--------------------------------------------- */

.background-dark-green{
  background-color: var(--color-dark-green);
}

.background-dark-blue{
  background-color: var(--color-dark-blue);
}

.background-dark-gray{
  background-color: var(--color-dark-gray);
}

.background-light-blue{
  background-color: var(--color-secondary);
}

/* To-do: Check a better way to hide the desktop version of the site. */
.desktop {
  display: none;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

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