/*!
Theme Name: dfs
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dfs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

dfs is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> 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

--------------------------------------------------------------*/

/*
# Variables
*/

:root {
  --navy: #252140;
  --yellow: #F9F871;
  --orange:#FFB65E;
  --dark-peach:#E37C65;
  --burgandy:#AD526A;
  --grape:#68385F;
  --white:#fff;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 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 {
  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;
}

/**
 * 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;
}

/**
 * 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 {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family:'Montserrat', sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: #006;
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
}

h1,
.entry-title {
  font-size: 32px;
}

@media screen and (max-width:  1080px) {
  h1,
  .entry-title {
    font-size: 28px;
  }
}

@media screen and (max-width:  640px) {
  h1,
  .entry-title {
    font-size: 20px;
  }
}

.entry-header {
  background: var(--navy);
}

.entry-header h1 {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 60px;
  padding-bottom: 20px;
  max-width: 960px;
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 1080px) {
  .entry-header h1 {
    margin-left: 60px;
    margin-right: 60px;
  }
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

h4 {
  font-size: 14px;
  font-weight: 700;
}

p {
  margin-bottom: 2rem;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

.entry-content ul,
.entry-content ol {
  margin-left: 0;
  padding-left: 15px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Containers
--------------------------------------------- */
header.site-header,
.site-info,
.breadcrumbs,
.footer-nav,
.entry-content,
.navigation-paging {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

.navigation-paging {
  margin-bottom: 40px;
}

@media screen and (max-width: 1300px) {
  header.site-header,        
  .site-info,
  .breadcrumbs,
  .entry-content,
  .navigation-paging {
    margin-left: 50px;
    margin-right: 50px;
    position: relative;
  }
}

@media screen and (max-width: 1080px) {
  /*header.site-header,        
  .site-info,
  .breadcrumbs,
  .entry-content,
  .navigation-paging {
    margin-left: 60px;
    margin-right: 60px;
  }*/
  .site-header {
    position: relative;
  }
  /*.site-header .searchform {
    display: none;
  }*/
}

@media screen and (max-width: 768px) {
  header.site-header,
  .breadcrumbs,
  .entry-content {
  /*.site-main,
  .site-info{*/
    margin-left: 30px;
    margin-right: 30px;
  }
}

.entry-wrap.tabbed-wrap {
  display: flex;
  max-width: 1260px;
  margin: 0 auto;
  background: var(--white);
}

.article-wrap.tabbed-section {
  background: rgb(251,251,251);
  background: linear-gradient(90deg, rgba(251,251,251,1) 0%, rgba(251,251,251,1) 53%, rgba(255,255,255,1) 55%, rgba(255,255,255,1) 100%);
}

@media screen and (max-width: 1080px) {
  .entry-wrap.tabbed-wrap {
    margin-left: 60px;
    margin-right: 60px;
  }
}

@media screen and (max-width: 768px) {
  .entry-wrap.tabbed-wrap {
    margin-left: 30px;
    margin-right: 30px;
  }
}


.tabs-wrap {
  background: #fbfbfb;
  width: 300px;
  padding: 42px 30px 30px;
    /*padding: 42px 30px 30px 0;*/
    margin-left: -180px;
}

@media screen and (max-width: 1580px) {
  .entry-wrap.tabbed-wrap {
    max-width: 1160px;
  }
  .tabs-wrap {
    /*width: 200px;
    margin-left: -130px;*/
    width: 230px;
    /*margin-left: -160px;*/
    margin-left: -146px;
  }
}

@media screen and (max-width: 1440px) {
  .tabs-wrap {
    padding: 42px 30px 30px 0;
  }
}

.tabs-wrap .menu ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.tabs-wrap .menu ul li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  font-size: 1rem;
}

.tabs-wrap .menu ul li:last-of-type {
  border-bottom: none;
}

.tabs-wrap .menu ul li a {
  text-decoration: none;
  color: #333;
}

.tabs-wrap .menu ul li a:hover {
  color: #006;
}

.entry-content {
  padding-bottom: 60px;
  clear: both;
}

.entry-content.tabbed-content {
  margin: 30px 0 0 0;
  padding-left: 30px;
}

@media screen and (max-width: 1580px) {
  .entry-content.tabbed-content {
    padding-left: 20px;
  }
}

.entry-content.tabbed-content h1 {
  margin-top: 0;
}

@media screen and (max-width: 1440px) {
  .entry-wrap.tabbed-wrap {
    max-width: 960px;
  }
  .tabs-wrap {
    width: 200px;
    margin-left: unset;
  }
  .entry-content.tabbed-content {
    width: calc(100% - 200px);
    padding-left: 30px;
  }
}

@media screen and (max-width:  550px) {
  .entry-wrap.tabbed-wrap {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .article-wrap.tabbed-section {
    background: transparent;
  }
  .tabs-wrap {
    width: 100%;
    padding: 15px 30px 0;
  }
  .entry-content.tabbed-content {
    width: 100%;
        padding-right: 30px;
  }
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
  font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* FAQ related
----------------------------------------------- */
ul.qa-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

li.gfield ul,
li.gfield ol,
li.gfield p,
li.gsection ul,
li.gsection ol,
li.gsection p {
  margin: 15px 0;
  margin-left: 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
----------------------------------------------- */
.site-branding {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
  z-index: 10;
  position: relative;
}

.site-title {
  flex:  1;
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  margin-left: 20px;
  margin-top: 40px;
  line-height: 1.2;
}

.site-title a {
  color: #006;
    text-decoration: none;
}

form.searchform {
  margin-top: 0px;
}
@media screen and (max-width: 1299px) {
  form.searchform {
    /* margin-top: 0;
      position: absolute;
      top: 0;
      right: 50px; 
    display:none;*/
  }
}

@media screen and (max-width:  1080px) {
  .site-title {
    font-size: 28px;
    margin-top: 30px;
  }
  .site-title a {
    max-width: 310px;
    display: block;
  }
}

@media screen and (max-width: 850px) {
  .site-title {
    margin-top: 50px;
  }
}

@media screen and (max-width:  640px) {
  .site-title {
    font-size: 20px;
    margin-top: 60px;
  }
  .site-title a {
    max-width: 270px;
    display: block;
  }
}

@media screen and (max-width:  415px) {
  .site-title {
    font-size: 18px;
    margin-top: 58px;
    margin-left: 12px;
  }
}

@media screen and (max-width:  330px) {
  .site-title {
    font-size: 16px;
  }
}


/* Navigation
--------------------------------------------- */
.main-navigation {
  clear: both;
  display: block;
  width: 100%;
  margin: 0 0 .8rem;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
 display: block;
}

.main-navigation ul ul ul {
  margin-left: 200px;
}

.toggled .main-navigation ul ul
.toggled .main-navigation ul ul ul {
  width: 100%;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

@media screen and (max-width: 1299px) {
  .main-navigation ul ul ul {
    margin-left: 15px;
    top: 35px;
    background-color: #ddd !important;
  }
  #menu-primary-menu li ul ul li a:hover,
   #menu-primary-menu li ul ul li a:active {
    background-color: #efefef !important;
   }

   .main-navigation ul ul a {
    width: 100%;
  }
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}


/* SMALL MENU */
.menu-button-container {
  position: absolute;
  right: 0;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.menu-toggle {
  height: 20px;
  width: 30px;
  color: transparent;
  overflow: hidden;
  background-color: transparent;
  padding: 0;
  border: none;
  position: relative;
}

@media screen and (max-width: 1299px) {
  .menu-button-container:after,
  .menu-toggle:before,
  .menu-toggle:after {
    color: transparent;
    overflow: hidden;
    background-color: rgb(0, 0, 102);
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
  }
}

.menu-toggle:before {
  content: '';
  top: 0;
  right: 0;
}

.menu-toggle:after {
  content: '';
  bottom: 0;
  right: 0;
}

.menu-button-container:after {
  content: '';
  bottom: 8px;
  right: 0;
}

.toggled .menu-button-container:after {
  content: none;
}

.toggled .menu-toggle:after {
  content: '';
  bottom: 0;
  right: 0;
  transform: rotate(30deg);
  top: 8px;
}

.toggled .menu-toggle:before {
  content: '';
  bottom: 8px;
  right: 0;
  transform: rotate(-30deg);
  top: 8px;
}

@media screen and (min-width: 1300px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

/*
@media screen and (max-width: 1299px) {
  .main-navigation {
    position: absolute;
    top:  5px;
    z-index: 100;
  }
}
*/

.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%;
}


/* VIRGINIA.GOV STANDARD BANNER */
#menu-virginia-gov-banner {
  float: left;
  list-style-type: none;
  margin: 5px 0 0 0;
}

#menu-virginia-gov-banner li {
  float: left;
  font-family: arial;
  font-size: 11px;
  font-weight: bold;
  margin-right: 10px;
  padding-right: 10px;
}

#menu-virginia-gov-banner li {
  border-right: 1px solid var(--white);
}

#menu-virginia-gov-banner li.last-menu-item {
  border-right: none;
}


/* PRIMARY NAVIGATION */
.navigation-main {
  padding: 10px 0;
}

.secondary-menu,
.breadcrumbs {
  padding: 10px 0 105px;
}

@media screen and (max-width: 1080px) {
  .breadcrumbs {
    padding:  10px 0;
  }
}
#menu-primary-menu li,
.secondary-menu li {
  border-right: 1px solid #ccc;
  font-size: 16px;
  margin: 0 9px 0 0;
  padding: 0 9px 0 0;
  text-transform: none;
}

.toggled #menu-primary-menu li {
  border-right: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ccc;
}

.toggled  #menu-primary-menu li a,
.toggled  #menu-primary-menu li a:visited {
  padding: 15px 30px;
  display: block;
}

.toggled .menu-primary-menu-container {
  margin-top: 40px;
  background: #fbfbfb;
}

ul#menu-primary-menu.toggled-on li {
  border-right: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ccc;
}
#menu-primary-menu li ul {
  background: #ebebeb;
  padding-top: 10px;
}

#menu-primary-menu li ul li {
  border-right: none;
  margin: 0;
  padding: 0;
}

#menu-primary-menu li ul li a:link,
#menu-primary-menu li ul li a:visited {
  padding: 5px;
}

#menu-primary-menu.toggled-on li a:link,
#menu-primary-menu.toggled-on li a:visited {
  padding: 15px 30px;
  display: block;
}

#menu-primary-menu li ul li a:hover,
#menu-primary-menu li ul li a:active {
  background: #ddd;
  padding: 5px;
  text-decoration: none;
}

#menu-primary-menu li a:link,
#menu-primary-menu li a:visited,
.secondary-menu li a:link,
.secondary-menu li a:visited {
  color: #333;
  text-decoration: none;
}
#menu-primary-menu li a:hover,
.secondary-menu li a:hover {
  color: #006;
  text-decoration: none;
  background: #ddd;
}

#menu-primary-menu li.last-menu-item,
.secondary-menu li.last-menu-item {
  border-right: none;
  margin: 0;
  padding: 0;
}


/* SECONDARY NAVIGATION */
.navigation-main .secondary-menu {
  margin: 0 auto;
}


/* BREADCRUMBS */
.breadcrumbs-wrap {
  width: 100%;
  clear: both;
  background:  var(--navy);
  height: 2.25rem;
}

.breadcrumbs {
  color: var(--white);
  font-size: 12px;
}

.breadcrumbs a {
  display: inline-block;
  color: var(--white);
}

.breadcrumbs a:link,
.breadcrumbs a:visited {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:active {
  text-decoration: underline;
}


/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* HOME PAGE */
.container_12.home-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
  
.container_12.home-columns .grid_3 {
  width: calc(33.333% - 20px);
}
  
@media screen and (max-width:  640px) {
  .container_12.home-columns .grid_3 {
    width: 100%;
  }
}


/* Tables
--------------------------------------------- */
.table-standard {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  border-collapse: collapse;
}

.table-standard tr td {
  border: 1px solid #ddd;
  padding: 8px;
}


/* Buttons
--------------------------------------------- */
.wp-block-button__link {
  background-color: var(--navy);
}

a:hover.wp-block-button__link {
  color: var(--yellow);
}

.btn {
  color: var(--white);
  display: inline-block;
  margin:6px;
  padding: 2px 10px;
  border-radius: 15px;
  background-color: var(--navy);
}
  
a:hover.btn {
  color: var(--yellow);
}

.btn:link,
.btn:visited,
.btn:visited {
  color: var(--white);
  text-decoration: none;
}


/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}


/* Course List & Events
--------------------------------------------- */

/* EVENT TABLE */
table.short-course-event-list {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  border-collapse: collapse;
}

table.short-course-event-list tr td {
  border: 1px solid #ddd;
  padding: 8px;
}

table.short-course-event-list thead {
  vertical-align: middle;
}

table.short-course-event-list thead th {
  text-align:left;
}

table.short-course-event-list tr {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even) tr:nth-child(odd) {
  border-bottom: 1px solid #ccc;
  padding: 0.1em 0.6em;
}

tr:nth-child(even) {
  background: #FAF9F6;
}

/* EVENT PAGE ACCORDIONS, REGISTRATION & FORMS */
.contact-us-form_wrapper li.gfield,
.contact-us-form_wrapper .gform_footer,
.qa-list .gfield,
.event-register-list .gfield {
  display: none;
}

.contact-us-form_wrapper li.gsection,
.qa-list .gsection,
.event-register-list .gsection {
  cursor: pointer;
  display: block;
  background: url('./img/toggle-element.png') -2px 4px no-repeat;
  padding: 0 0 0 20px;
}

.event-register-list .gsection {
  cursor: default;
}

.contact-us-form_wrapper li.gsection.open,
.qa-list .gsection.open,
.event-register-list .gsection.open {
  background: url('./img/untoggle-element.png') -2px 4px no-repeat;
}

.qa-list .gfield,
.event-register-list .gfield {
  margin: 0 0 10px 22px;
  list-style: none;
}

.gform_body .gform_fields .gfield_error {
  display: block;
}

body .gform_wrapper li.gfield.gfield_error {
  background: var(--white) !important;
}

body .gform_wrapper li.gfield.gfield_error input,
body .gform_wrapper li.gfield.gfield_error textarea {
  border: 1px solid #c89797 !important;
  background: var(--white);
}

.event-register-list .gsection,
.event-register-list .gsection.open {
  background: var(--orange);
}

.event-register-list .gfield {
  padding-top: 5px;
}

.event-register-list .gfield.open {
  display: block;
}

.event-register-list label {
  display: inline-block;
  width: 20%;
  font-size:80%;
  margin: 8px 2px 8px 0;
}

.event-register-list label.long-field {
  width: 75%;
}

.event-register-list label.creds-field {
  width: 10%;
}

#modal-reset-password {
  display: none;
  cursor: default;
}

#modal-reset-password input {
  margin-bottom: 15px;
  font-size: 12px;
  width: 200px;
}

.password-toggle {
  display: inline;
}

.password-toggle.hidden {
  display: none;
}

#event-password-required-copy {
  padding: 20px;
  font-size: 12px;
  cursor: default;
  display: none;
}

.verify {
  font-weight: 500;
  color: var(--navy)
}

.required:after {
  content:" *";
  color: red;
}

.hidden {
  display: none;
}


@media screen and (max-width: 768px) {
  .blockUI.blockMsg.blockPage {
    left: 2% !important;
    width: 100% !important;
    text-align: left !important;
  }
}


/* Job Listings
--------------------------------------------- */
ul.job-listings {
  list-style-type: none;
  margin: 0 0 20px;
}

ul.job-listings li {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  clear: both;
  display: inline-block;
  width: 100%;
  margin-top: -5px;
  margin-bottom: -5px;
}

ul.job-listings div {
  float: left;
  width: 31%;
  padding: 5px;
}

li.job-listing-header {
  background: #ccc;
  border-top: 1px solid #000;
  font-weight: bold;
  width: 100%;
}

body.single-job .secondary-menu-wrap {
  display: none;
}

.form-button {
  margin-top: 10px;
}

#btn-subscribe {
  margin-left: 157px;
}


/* Charts
--------------------------------------------- */
/* ORG CHART */
.wpda_tree_item_container div {
  min-height:auto !important;
  min-width:auto !important;
  padding:8px !important;
}

/*group style force chart container to a width for best responsiveness with plugin */
.chart-full-width {
  width:50vw;
  margin:10px;
}


/* 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;
  max-width: 130px;
}


/* 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;
}


/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}


/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/

/* 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;
}
@media screen and (max-width: 860px) {
  .entry-content.tabbed-content .alignright,
  .entry-content.tabbed-content img.alignright,
  .entry-content.tabbed-content .alignleft,
  .entry-content.tabbed-content img.alignleft {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 500px) {
  .alignright,
  img.alignright,
  .alignleft,
  img.alignleft {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}


/* SLIDESHOW */
.slideshow-wrap {
  background: #666;
  clear: both;
}

/* METASLIDER*/
.slideshow-wrap .metaslider .flexslider .slides {
  height: 385px;
}

.slideshow-wrap .metaslider .flexslider .slides li {
  height: 100%;
}

.metaslider .caption-wrap {
  position: initial !important;
}

.metaslider .caption h3 {
  font-size: 22px;
}

.metaslider .caption p {
  font-size: 12px;
  line-height: 1.5;
}


/* Footer
--------------------------------------------- */
.site-footer {
  clear: both;
  border-top: .25rem solid var(--navy);
  padding: 49px;
}

.site-footer .footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .footer-col {
  width: calc(33.333% - 20px);
}

@media screen and (max-width: 1080px) {
  .footer-wrap {
    margin-left: 60px;
    margin-right: 60px;
  }
  .site-footer .footer-col:nth-child(2) {
    order: 3;
  }
  .site-footer .footer-col:first-of-type {
    order: 1;
  }
  .site-footer .footer-col:last-of-type {
    order: 2;
  }
}

@media screen and (max-width:  830px) {
  .site-footer .footer-col {
    width:  100%;
  }
}

@media screen and (max-width: 768px) {
  .site-footer {
    padding:  30px;
  }
  .footer-wrap {
    margin-left: 30px;
    margin-right: 30px;
  }
}

.custom-logo-link {
  display: block;
  margin: 0 auto 20px;
}

@media screen and (max-width: 850px) {
  .custom-logo-link {
    margin: 20px auto 10px;
  }
}

@media screen and (max-width: 487px) {
  .custom-logo-link {
    max-width: 80px;
    margin-top: 40px;
  }
}

#menu-social-menu {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

#menu-social-menu li {
  display: inline-block;
  margin: 0 0.5rem;
}

#menu-social-menu li a {
  width: 50px;
  height: 50px;
  background-color: #006;
  border-radius: 50%;
  display: block;
  text-decoration: none;
  color: var(--white);
}

#menu-social-menu li a .dashicons {
  text-align: center;
  width: 50px;
  height: 50px;
  font-size: 25px;
  display: block;
  line-height: 3rem;
}

.site-info {
  font-size: 12px;
  padding-top: 20px;
  text-align: center;
}

.menu-footer-menu-container ul {
  list-style: none;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}


#menu-footer-menu li {
  font-size: 12px;
  margin: 0 9px 0 0;
  padding: 0 9px 0 0;
}

#menu-footer-menu li.last-menu-item {
  border-right: none;
  margin: 0;
  padding: 0;
}

#menu-footer-menu a {
  text-decoration: none;
}

#menu-footer-menu a:hover {
  text-decoration: underline;
}

#menu-footer-menu a:link,
#menu-footer-menu a:visited,
#menu-footer-menu a:hover,
#menu-footer-menu a:active {
  font-weight: bold;
}

