/*
Theme Name:     providerresources
Author:         Div
Author URI:     https://www.div.digital/
Theme URI:      https://github.com/DivDigital/providerresources
Description:    providerresources is a minimal WordPress starter theme. For help feel free to email us hello@div.digital. 
Version:        2021
Requires at least: 5.0
Tested up to:   5.8
Requires PHP:   7.0
License:        GNU General Public License v3 or Later
License URI:    https://www.gnu.org/licenses/gpl.html
Tags:           one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain:    providerresources
providerresources WordPress Theme by Div https://www.div.digital/
providerresources is distributed under the terms of the GNU GPL
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&family=Rubik:ital,wght@0,300;0,500;1,300;1,500&display=swap");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

button {
  outline: 0;
}

blockquote,
q {
  quotes: none;
  margin: 1.5rem 0;
  border-left: 0.375rem solid rgba(0, 0, 0, 0.075);
  padding: 0 1.5rem;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

blockquote {
  position: relative;
  background: #f9f9f9;
  margin: 1.5rem auto;
  padding: 2rem 3rem;
  quotes: "\201C""\201D""\2018""\2019";
  box-shadow: 1px 2px 3px rgb(0 0 0 / 5%);
  border: 1px solid #dfdfdf;
  border-left: 0.375rem solid #dfdfdf;
}

blockquote:before {
  color: rgba(0, 0, 0, 0.075);
  content: open-quote;
  font-size: 6rem;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

cite {
  color: #555555;
}

q {
  display: inline;
  font-style: italic;
}

q::before {
  content: '"';
  font-style: normal;
}

q::after {
  content: '"';
  font-style: normal;
}

/* Per Safari CSS Reference: 
      iOS changes the appearance of buttons & controls to resemble a native apple UI. 
      Add this code for comment & search forms to retain custom CSS styles:  */

/* Prefixed with #page because there are input/buttons in the mmenu */

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

big {
  font-size: 120%;
}

sup {
  font-weight: 200;
  font-size: 70%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd,
tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del,
strike,
s {
  text-decoration: line-through;
}

strong,
dt {
  font-weight: bold;
  font-weight: 600;
}

address,
cite,
var {
  font-style: italic;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
  position: relative;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

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

/* BASE.CSS */

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

body,
.wpem-single-event-body {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300; */
  font-family: "Open Sans", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  word-wrap: break-word;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
  color: #111111;
}

@media only screen and (max-width: 820px) {
  body,
  .wpem-single-event-body {
    font-size: 17px;
    font-size: 1.0625rem;
  }
}

.hidden {
  display: none;
}

/* apply a natural box model to all elements */

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

img {
  border: 0;
  /*removes border when inside 'a' element in IE6/7/8/9 FF3. */
  -ms-interpolation-mode: bicubic;
  /* Improves image quality when scaled in IE7. */
  width: auto;
  /* IE8 bug. Requires this to work properly with max-width in scaling images. */
  max-width: 100%;
  height: auto;
  display: block;
}

iframe,
video,
audio {
  max-width: 100%;
}

/* A modern clearfix for IE8 and up. Per https://css-tricks.com/snippets/css/clear-fix; */

header::after,
main::after,
aside::after,
.group::after,
.clearfix::after,
.region::after,
.container::after,
.block::after,
footer::after,
#wrapper::after,
#page::after,
.wp-block-media-text::after,
.grid::after,
.pt-cv-content-item:after,
nav.post-navigation:after {
  content: "";
  display: table;
  clear: both;
}

/* LAYOUT */

#wrapper,
#page,
.rooftop,
.header,
.main,
.footer,
.container,
.region,
.block,
#menu ul.menu li,
th,
td {
  position: relative;
}

.main {
  padding: 0;
}

.container.container-404 {
  padding-top: 3rem;
}

/* TYPOGRAPHY */

a,
a:hover,
a:active,
p a {
  outline: 0;
  text-decoration: none;
  color: #3344dd;
  color: #2078a5;
  color: #006699; /* from Provider Resources logo */
}

div#site-title a {
  color: #111111;
}

a:focus {
  outline: thin dotted;
}

h1,
h2,
h3,
h4,
h5,
h6,
div#site-title,
p.has-large-font-size {
  line-height: 1.15;
  margin: 1.5rem 0;
  font-weight: normal;
  font-weight: 400;
  color: #111111;
}

h1 {
  font-size: 2rem;
}

h2,
p.has-large-font-size {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

h4,
h5,
h6,
div#site-title {
  font-size: 1.05rem;
}

@media only screen and (max-width: 820px) {
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4,
  h5,
  h6,
  div#site-title {
    font-size: 1.05rem;
  }
}

.hide-title {
  display: none;
}

img.logo {
  width: 100px;
  margin: 0.375rem 0 0;
}

/* COMMONLY USED STYLES */

.container {
  padding: 0 3rem;
  max-width: 1400px;
}

main#content,
aside#sidebar,
footer#footer {
  padding: 0;
  margin: 0;
}

.entry-summary,
.entry-meta,
ul,
ol,
.messages,
figure,
hr,
video {
  margin: 1.5rem 0;
}

.entry-content ul ul {
  margin: 0;
}

.entry-content ul ul li {
  list-style: circle;
  margin: 0 0 0 1rem;
}

nav#menu {
  margin: 1.5rem 0;
}

/* Main menu dropdown - start */

header#header ul.sub-menu {
  display: none;
}

header#header li.menu-item-has-children:hover ul.sub-menu {
  display: block;
  position: absolute;
  top: 2.8rem;
  left: -0.75rem;
  min-width: 320px;
  text-align: left;
  margin: 0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
  padding: 0.375rem 0;
  border-radius: 0 0 3px 3px;
  z-index: 3;
}

#header nav#menu ul.sub-menu li {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

#header nav#menu ul.sub-menu li a {
  color: #111111;
  padding: 0.375rem 0.75rem;
  text-transform: none;
  cursor: pointer;
}

#header nav#menu ul.sub-menu li a:hover {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

/* Main menu dropdown - end */

div#site-title,
div#site-title h1 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  font-weight: inherit;
  line-height: inherit;
}

.footer-block ul {
  margin: 0;
}

li {
  margin: 0 1.5rem;
  list-style: disc;
}

#menu .menu li {
  display: inline-block;
  margin: 0 1.5rem 0 0;
}

p,
.by-line,
.field {
  margin: 0 0 1.5em;
  margin: 0 0 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

#menu ul.menu {
  margin: 0;
  padding: 0;
}

#menu ul.menu li {
  display: inline-block;
  margin: 0 1.5em 0 0;
  margin: 0 1.5rem 0 0;
  padding: 0;
}

video {
  max-width: 100%;
}

del {
  opacity: 0.6;
}

/* TABLES */

table {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.5rem 0;
}

th,
tr,
td {
  vertical-align: top;
  position: relative;
}

th,
td,
td.active {
  padding: 0.75rem;
  border: 1px solid #dfdfdf;
}

td.active {
  background-color: rgba(255, 255, 255, 0.5);
}

table.cols-2 td {
  width: 50%;
}

table.cols-3 td {
  width: 33.3333%;
}

table.cols-4 td {
  width: 25%;
}

table.cols-5 td {
  width: 20%;
}

table.cols-6 td {
  width: 16.6666%;
}

.entry-content table tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}

/* FORMS */

form {
  max-width: 100%;
  margin: 1.5rem 0;
}

label {
  font-weight: bold;
  font-weight: 500;
  margin: 0 0 0.375rem;
}

#page input,
#page button,
#page select,
#page textarea {
  color: #111111;
  background: #ffffff;
  border: 1px solid #cccccc;
  margin: 0 0 0.75rem;
  padding: 0.75rem;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 3px;
  width: 100%;
  max-width: 100%;
}

#page input[type="submit"],
#page .btn,
#page button {
  background: #4d96fb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  box-shadow: none;
  border-radius: 2px;
  text-decoration: none !important;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
  width: inherit;
  margin: 1.5rem 1.5rem 1.5rem 0;
}

#page input[type="submit"]:hover,
#page .btn:hover,
#page button:hover {
  background: #3e8cf9;
}

#page input[type="submit"]:active,
#page .btn:active,
#page button:active,
#page .btn.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}

#page input[type="search"],
#page input[type="submit"] {
  width: inherit;
}

/* SearchBox in header */

.container-searchbox {
  display: none;
}

.container-searchbox {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.container-searchbox form.search-form {
  margin: 0;
}

/* Search Results - search.php */

.container-searchresults article {
  overflow: hidden;
  margin: 3rem 0;
}

.container-searchresults .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.container-searchresults .nav-next {
  text-align: right;
}

@media only screen and (min-width: 821px) {
  .container-searchresults article header,
  .container-searchresults article .entry-summary {
    float: left;
    width: 61.8%;
  }
  .container-searchresults article .entry-image {
    position: absolute;
    width: 33.2%;
    margin: 0;
    padding: 0;
    top: 1.5rem;
    right: 0;
  }
}

.search-content-type {
  color: #555555;
  font-size: 0.875rem;
}

.container-searchresults h2.entry-title {
  margin: 1.5rem 0 0;
}

#page input.search-field {
  margin: 0;
  width: 77%;
}

#page input.search-submit {
  margin: 0;
  line-height: 1.5;
  border: 1px solid #4d96fb;
  width: 22%;
  padding: 0.75rem 0;
}

.description {
  background: #f7f7f7;
  padding: 0.375rem 0.75rem;
  border: 1px solid #dfdfdf;
  color: #555555;
  border-radius: 0 0 3px 3px;
  border-top: none;
}

.wp-block-latest-comments__comment {
  line-height: inherit;
  list-style: inherit;
  margin-bottom: inherit;
}

.wp-block-cover__inner-container > p:last-child {
  padding: 0;
  margin: 0;
}

.wp-block-gallery ul {
  margin: 0;
}

.wp-block-gallery {
  margin: 0 0 1.5rem;
}

.wp-block-column {
  margin: 3rem 0;
}

.wp-block-column:last-child {
  margin-bottom: 0;
}

nav.posts-navigation {
  margin: 3rem 0 1.5rem;
}

/* 
  CUSTOM.CSS 
*/

h1,
h2,
h3,
h4,
h5,
h6,
div#site-title,
p.has-large-font-size,
.pt-cv-wrapper .h1,
.pt-cv-wrapper .h2,
.pt-cv-wrapper .h3,
.pt-cv-wrapper .h4,
.pt-cv-wrapper .h5,
.pt-cv-wrapper .h6,
.pt-cv-wrapper h1,
.pt-cv-wrapper h2,
.pt-cv-wrapper h3,
.pt-cv-wrapper h4,
.pt-cv-wrapper h5,
.pt-cv-wrapper h6 {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}

.container {
  margin: 0 auto;
}

.grid {
  display: grid;
  flex-wrap: wrap;
  grid-gap: 0.75rem;
}

.grid-item {
  position: relative;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-6 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

@media only screen and (max-width: 820px) {
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Rooftop */

.container.container-rooftop {
  padding: 0;
}

nav#rooftop-menu {
  float: right;
}

/* Borders */

header#header {
  border-bottom: 1px solid #dfdfdf;
}

.container.container-main {
  background: #fff;
  border-left: 1px solid #dfdfdf;
  border-right: 1px solid #dfdfdf;
  padding: 1.5rem 3rem;
}

body.home .container.container-main {
  padding: 0 3rem;
}

footer#footer {
  border-top: 1px solid #dfdfdf;
}

/* Header */

div#site-title,
div#site-description {
  display: none;
}

nav#menu ul.menu li a {
  color: #111111;
  display: block;
  padding: 0;
}

#header ul.menu li a:hover {
  text-decoration: underline;
}

/* Pages */

main#content {
  clear: both;
  padding: 1.5rem 0;
  background: #fcfcfc;
}

body.home main#content {
  padding: 0;
}

h1.entry-title {
  clear: both;
}

/* Posts */

body.page .entry-content > h2 {
  width: 100%;
  clear: both;
}

img.wp-post-image {
  margin: 1.5rem 0;
}

body.single-post img.wp-post-image {
  margin-top: 0;
}

.container-main img {
  margin: 1.5rem 0;
  display: block;
}

.wp-block-social-links svg {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}

.wp-block-cover {
  margin: 0 -1.5rem 3rem;
  width: inherit;
}

.wp-block-cover .wp-block-cover__inner-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  margin: 0 0 0 -30%;
  background: #fff;
  color: #111;
  text-align: center;
  padding: 0;
}

.wp-block-cover .wp-block-cover__inner-container h2 {
  padding: 1.5rem 3rem 0;
  margin-top: 0;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.wp-block-cover__inner-container p {
  padding: 0 3rem 1.5rem;
  margin: 0;
}

.wp-block-cover {
  clear: both;
  width: inherit;
}

figcaption {
  font-size: 0.875rem;
  color: #555555;
  margin: 0 0 3rem;
  text-align: left;
}

.container-main .entry-content > h2 {
  margin: 1.5rem 0;
}

ul.wp-block-social-links {
  width: 100%;
  display: block;
}

li.wp-social-link {
  display: inline-block;
  float: none;
  margin: 0 1.5rem 0 0;
}

ul.wp-block-post-template {
  margin: 3rem 0;
  padding: 0;
}

.wp-block-query ul.wp-block-post-template {
  margin: 0;
}

ul.wp-block-post-template li {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.page-numbers {
  margin: 0 0.75rem;
}

.wp-block-separator {
  border: none;
  border-bottom: 1px solid #dedede;
}

.wp-block-group,
.taxonomy-category {
  margin: 0.75rem 0;
}

.entry-content > .wp-block-group {
  margin-top: 3rem;
}

.wp-block-post-featured-image,
li.wp-block-post .wp-block-columns,
li.wp-block-post .wp-block-column {
  margin: 0;
}

footer.entry-footer {
  margin: 3rem 0;
}

nav.post-navigation {
  margin: 1.5rem 0;
  border-top: 1px dotted #dedede;
  padding: 1.5rem 0 0;
}

nav.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem;
  text-align: left;
  vertical-align: bottom;
}

nav.post-navigation .nav-next {
  text-align: right;
}

nav.post-navigation span.meta-nav {
  display: block;
}

/* Desktop only */

@media only screen and (min-width: 821px) {
  .container-header {
    display: grid;
    grid-template-columns: 1fr 4fr;
    align-items: center;
    padding: 1.5rem 3rem;
  }
  div#branding,
  div#logo,
  nav#menu {
    margin: 0;
  }
  nav#menu {
    text-align: right;
  }
  div#logo a {
    display: block;
    margin: 0;
    padding: 0;
  }
  div#logo img {
    display: block;
    max-height: 4.5rem;
    margin: -0.75rem 0;
  }
  #header nav#menu li {
    position: relative;
    margin: 0 0 0 1.5rem;
    padding: 0;
  }
  #header nav#menu li:first-child {
    margin: 0;
  }
  #header nav#menu li span span {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.75;
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
  }
  #header nav#menu li a {
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    width: 100%;
    padding: 1rem 0;
  }
  #header nav#menu li#menu-item-195 a {
    color: #000000;
    background: #8fef8e;
    padding: 1rem 1.5rem;
    display: inline-block;
    border-radius: 1.5rem;
  }
  #header nav#menu li.current-menu-item span span {
    color: #ffffff;
  }
  span#hamburger {
    display: none;
  }
  body.not-front .wp-block-cover {
    height: 432px;
    margin: 0;
  }
  .wp-block-cover .has-large-font-size {
    font-size: 3.5rem;
  }
  body.home .wp-block-cover {
    height: 100vh;
    max-height: 800px;
  }
  .wp-block-media-text.image-right {
    display: block;
    position: relative;
  }
  .wp-block-media-text.image-right figure.wp-block-media-text__media {
    float: right;
    width: 61.8%;
  }
  .wp-block-media-text.image-right .wp-block-media-text__content {
    width: 38.2%;
    top: 3rem;
    left: 3rem;
    position: absolute;
    background: #ffffff;
    padding: 2rem 3rem 3em;
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  }
  body.page .wp-block-cover {
    margin: -1.5rem -3rem 3rem;
  }
}

/* Between 821px and 1180px */
@media (min-width: 821px) and (max-width: 1180px) {
  #header nav#menu li:first-child {
    display: none;
  }
  #header nav#menu li a {
    font-size: 0.8125rem;
  }
}

/* Mobile only */

@media only screen and (max-width: 820px) {
  .container.container-header {
    display: block;
  }
  .container {
    padding: 0 1.5rem;
  }
  div#branding {
    width: 61.8%;
    margin: 0.375rem 0;
    padding: 0;
    float: left;
  }
  div#branding img {
    margin: 0;
    width: auto;
    max-height: 3rem;
  }
  #header nav#menu {
    display: none;
  }
  .container-main img,
  .container-single img,
  .wp-block-post-featured-image.alignfull img,
  .wp-block-post-featured-image.alignwide img {
    margin: 1.5rem -1.5rem;
    width: calc(100% + 3rem);
    max-width: calc(100% + 3rem);
  }
  .wp-block-cover {
    height: 61.8vh;
    min-height: 61.8vh;
    max-height: inherit;
    margin-top: -1.5rem;
  }
  .wp-block-cover .wp-block-cover__inner-container {
    padding: 0.1875rem 0.75rem;
    left: 5%;
    width: 90%;
    margin: 0;
  }
  .wp-block-cover__inner-container p {
    font-size: 1.1rem !important;
    padding: 0;
  }
  .ctct-inline-form {
    padding: 0;
    margin: 0;
  }
  .ctct-form-defaults {
    padding: 0.75rem !important;
  }
  figure.wp-block-embed.is-type-video {
    margin: 3rem -1.5rem;
  }
  div#site-description {
    font-size: 10px;
    margin: 0;
    padding: 0;
  }
  img.wp-block-cover__image-background.wp-image-127 {
    opacity: 0;
  }
  .wp-block-cover-image.has-background-dim:not([class*="-background-color"]),
  .wp-block-cover.has-background-dim:not([class*="-background-color"]) {
    background: none;
    padding-top: 9rem;
  }
  .wp-block-spacer {
    height: 3rem !important;
  }
}

/* Content Views */

.pt-cv-wrapper {
  margin: 3rem 0;
  position: relative;
}

.pt-cv-colsys {
  margin: 0;
}

.pt-cv-meta-fields,
.pt-cv-meta-fields span,
.pt-cv-meta-fields time {
  color: #555555;
  font-size: 0.875rem;
  font-weight: 500;
}

.pt-cv-content-item {
  position: relative;
  margin: 0 0 3rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.pt-cv-content-item:last-child {
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  border-bottom: none;
}

a.post-edit-link,
a.pt-cv-edit-view,
a.pt-cv-edit-post {
  font-size: 0.75rem;
  position: absolute;
  top: -1.5rem;
  right: 0.75rem;
}

a.pt-cv-edit-view {
  top: -3rem;
}

@media only screen and (min-width: 821px) {
  .pt-cv-content-item img {
    float: right;
    width: 25%;
    margin-top: 0;
    margin-left: 3rem;
  }
}

.pt-cv-pagination-wrapper {
  text-align: center;
}

img.pt-cv-spinner {
  display: none;
}

/* Footer */

footer#footer {
  font-size: 0.9375rem;
  padding: 0;
}

.footer-block {
  margin: 1.5rem auto;
}

.footer-block p {
  margin: 1.5rem 0;
}

ul.wp-block-social-links {
  margin: 1.5rem auto;
}

nav#menu-footer {
  margin: 1.5rem 0;
}

ul#menu-footer-menu li {
  list-style: none;
  display: inline;
  margin: 0 3rem 0 0;
}

#footer ul.menu li {
  display: inline-block;
  width: 49%;
  margin: 0;
  vertical-align: top;
  padding: 0;
}

#footer ul.sub-menu li {
  width: 100%;
  font-weight: 400;
}

#footer ul.menu li a {
  display: block;
  padding: 0.1875rem 0;
}

#footer ul.menu > li {
  font-weight: 600;
}

.footer-disclaimer {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
}

/* Contact Form 7 */

form.wpcf7-form {
  width: 600px;
  max-width: 100%;
}

.wpcf7 form .wpcf7-response-output {
  font-weight: 500;
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-width: 0.375rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 0.375rem solid lightgreen;
  color: green;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: red;
  color: darkred;
}

/* 
  MMENU 
*/

div#page {
  background: #ffffff; /* so mmenu doesn't blend with #page on click */
}

#hamburger {
  opacity: 0.95;
  display: block;
  width: 3rem;
  height: 3rem;
  position: absolute;
  z-index: 1000;
  background: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  top: 1.5rem;
  right: 1.25rem;
  border: none;
}

@media only screen and (max-width: 820px) {
  #hamburger {
    top: 10%;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
  }
  a.mburger {
    color: #161616;
  }
}

#hamburger .mburger {
  margin-left: 0;
  --mb-button-size: 46px;
  --mb-bar-height: 2px;
  --mb-bar-width: 0.8;
  --mb-bar-spacing: 10px;
}

.burgers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 40px -10px 80px;
}

.burger {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: calc(50% - 20px);
  padding-top: calc(50% - 20px);
  margin: 10px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-box-shadow: 6px 8px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 6px 8px 1px rgba(0, 0, 0, 0.1);
  -webkit-transition: none 0.2s ease;
  -o-transition: none 0.2s ease;
  transition: none 0.2s ease;
  -webkit-transition-property: background-color, -webkit-box-shadow,
    -webkit-transform;
  transition-property: background-color, -webkit-box-shadow, -webkit-transform;
  -o-transition-property: background-color, box-shadow, transform;
  transition-property: background-color, box-shadow, transform;
  transition-property: background-color, box-shadow, transform,
    -webkit-box-shadow, -webkit-transform;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.15);
  -webkit-box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(2px);
  -ms-transform: translateY(2px);
  transform: translateY(2px);
}

.burger button {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.burger .mburger {
  --mb-cross-timeout: 0s;
  --mb-animate-timeout: 0s;
}

.burger span {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
}

@media (min-width: 992px) {
  .burger {
    width: calc(25% - 20px);
    padding-top: calc(25% - 20px);
  }
}

.mburger {
  --mb-button-size: 60px;
  --mb-bar-width: 0.6;
  --mb-bar-height: 4px;
  --mb-bar-spacing: 10px;
  --mb-cross-timeout: 0.4s;
  background: 0 0;
  border: none;
  border-radius: 0;
  color: inherit;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  height: var(--mb-button-size);
  padding: 0 0 0 var(--mb-button-size);
  margin: 0;
  line-height: var(--mb-button-size);
  vertical-align: middle;
  appearance: none;
  outline: 0;
  cursor: pointer;
}

.mburger b {
  display: block;
  position: absolute;
  left: calc(var(--mb-button-size) * ((1 - var(--mb-bar-width)) / 2));
  width: calc(var(--mb-button-size) * var(--mb-bar-width));
  height: var(--mb-bar-height);
  border-radius: calc(var(--mb-bar-height) / 2);
  background: currentColor;
  color: inherit;
  opacity: 1;
}

.mburger b:nth-of-type(1) {
  bottom: calc(50% + var(--mb-bar-spacing));
  transition: bottom 0.2s ease, transform 0.2s ease;
}

.mburger b:nth-of-type(2) {
  top: calc(50% - (var(--mb-bar-height) / 2));
  transition: opacity 0.2s ease;
}

.mburger b:nth-of-type(3) {
  top: calc(50% + var(--mb-bar-spacing));
  transition: top 0.2s ease, transform 0.2s ease;
}

.mburger span:not(:empty) {
  padding-right: calc(var(--mb-button-size) * ((1 - var(--mb-bar-width)) / 2));
}

.mm-wrapper_opened .mburger b:nth-of-type(1) {
  bottom: calc(50% - (var(--mb-bar-height) / 2));
  transform: rotate(45deg);
}

.mm-wrapper_opened .mburger b:nth-of-type(2) {
  opacity: 0;
}

.mm-wrapper_opened .mburger b:nth-of-type(3) {
  top: calc(50% - (var(--mb-bar-height) / 2));
  transform: rotate(-45deg);
}

.mburger--collapse b:nth-of-type(1) {
  transition: bottom 0.2s ease, margin 0.2s ease, transform 0.2s ease;
  transition-delay: 0.2s, 0s, 0s;
}

.mburger--collapse b:nth-of-type(2) {
  transition: top 0.2s ease, opacity 0s ease;
  transition-delay: 0.3s, 0.3s;
}

.mburger--collapse b:nth-of-type(3) {
  transition: top 0.2s ease, transform 0.2s ease;
}

.mm-wrapper_opened .mburger--collapse b:nth-of-type(1) {
  bottom: calc(50% - var(--mb-bar-spacing) - var(--mb-bar-height));
  margin-bottom: calc(var(--mb-bar-spacing) + (var(--mb-bar-height) / 2));
  transform: rotate(45deg);
  transition-delay: calc(var(--mb-cross-timeout) + 0.1s),
    calc(var(--mb-cross-timeout) + 0.3s), calc(var(--mb-cross-timeout) + 0.3s);
}

.mm-wrapper_opened .mburger--collapse b:nth-of-type(2) {
  top: calc(50% + var(--mb-bar-spacing));
  opacity: 0;
  transition-delay: calc(var(--mb-cross-timeout) + 0s),
    calc(var(--mb-cross-timeout) + 0.2s);
}

.mm-wrapper_opened .mburger--collapse b:nth-of-type(3) {
  top: calc(50% - (var(--mb-bar-height) / 2));
  transform: rotate(-45deg);
  transition-delay: calc(var(--mb-cross-timeout) + 0.3s),
    calc(var(--mb-cross-timeout) + 0.3s);
}

.mm-navbar__title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-weight: 700;
}

a.mm-btn.mm-btn--next.mm-listitem__btn {
  border: none;
  font-size: 0.875rem;
}

/* Hide the last mmenu item (search) */
ul#mm-clone-menu-main-menu li:last-child {
  display: none;
}

/* Custom */

.container-announcement,
.call-out {
  background: #ffef77;
  padding: 0.75rem 3rem;
  text-align: center;
}

.call-out {
  position: absolute;
  top: 500px;
  right: 0;
  z-index: 2;
  border-radius: 0.75rem 0 0 0.75rem;
  max-width: 50%;
}

.container-call-out {
  display: none;
}

body.home .container-call-out {
  display: block;
}

body.home .wp-block-media-text.alignwide.has-media-on-the-right {
  margin: 0 -1.5rem;
}

body.home .wp-block-media-text__content h1 {
  font-size: 4rem;
  line-height: 1;
}

body.home .wp-block-media-text__content a.wp-block-button__link {
  background: #2078a5;
  background: #006699;
  color: #ffffff;
}

@media only screen and (min-width: 821px) {
  body.home .wp-block-media-text .wp-block-media-text__content {
    padding: 0 3rem;
  }
  body.home .wp-block-media-text.alignwide.has-media-on-the-right {
    margin: 0 -3rem;
  }
  body.home figure.wp-block-media-text__media img {
    margin: 0;
  }
}

@media only screen and (max-width: 820px) {
  body.home .wp-block-media-text .wp-block-media-text__content {
    padding: 0 1.5rem;
  }

  body.home .wp-block-media-text__content h1 {
    font-size: 3rem;
  }

  body.home .wp-block-media-text {
    text-align: center;
  }

  body.home .wp-block-media-text .wp-block-buttons {
    text-align: center;
    display: block;
  }
}

.navigation.icons {
  margin: 4rem 0 1.5rem;
}

.wp-block-columns.icons.report-icons .wp-block-column {
  margin: 3rem 0 0 !important;
  padding: 0;
}

/* Override WP block library styles */

.is-style-outline > :where(.wp-block-button__link),
:where(.wp-block-button__link).is-style-outline {
  border: 1.25px solid;
}

.wp-block-columns.visitor-type {
  gap: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wp-block-columns.visitor-type .wp-block-column {
  height: 100%;
}

/* Icons */

.icons img {
  width: 5rem;
  margin: 0;
}

.icons figure:before {
  content: "";
  width: 6rem;
  height: 6rem;
  border-radius: 100%;
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  display: block;
  z-index: -1;
}

@media only screen and (max-width: 820px) {
  .icons figure:before {
    top: -0.5rem;
    left: -0.5rem;
  }
}

/* Article lists */

.recent-articles ul.wp-block-post-template li {
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 0.375rem;
  overflow: hidden;
}

.recent-articles ul.wp-block-post-template li:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 821px) {
  .recent-articles {
    background: #f7f7f7;
    padding: 3rem 3rem;
    margin: 0 -3rem;
  }
}

.recent-articles .wp-block-column {
  margin: 0;
}

.recent-articles ul.wp-block-post-template li h3.wp-block-post-title {
  margin-top: 0;
}

.recent-articles img {
  margin-top: 0;
}

.recent-articles .wp-block-post-excerpt {
  font-size: 0.875rem;
}

/* Category list pages */

article.post .wp-block-column {
  margin: 0;
  padding: 0;
}

article.post .wp-block-column h2.wp-block-post-title {
  margin-top: 0;
}

.container-category article.post {
  margin: 3rem 0;
  border-bottom: 1px solid #dedede;
  padding: 0 0 1.5rem;
}

/* Desktop only */

@media only screen and (min-width: 821px) {
  .container-category .wp-block-columns,
  ul.wp-block-post-template .wp-block-columns {
    flex-direction: row-reverse;
  }

  figure.wp-block-post-featured-image {
    margin: 0 0 0 3rem;
  }

  .recent-articles figure.wp-block-post-featured-image {
    margin: 0;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column:not(:first-child) {
    margin-left: 0;
  }

  body.single-post img.wp-post-image {
    float: right;
    width: 50%;
    margin: 0 0 3rem 3rem;
  }
}

/* Mobile only */

@media only screen and (max-width: 820px) {
  .container-main .wp-block-group,
  .container-main .wp-block-columns {
    display: block;
  }
  .wp-block-table table {
    font-size: 0.75rem;
  }
  .navigation.icons {
    margin: 1.5rem 0 0;
  }
  .container-call-out {
    padding: 0;
  }
  .call-out {
    position: relative;
    top: auto;
    right: auto;
    border-radius: 0;
    width: 100%;
    border-top: 1px dotted #dfdfdf;
    padding: 0.75rem;
  }
  .container-announcement,
  .call-out {
    padding: 0.75rem;
    font-size: 1rem;
  }
  .call-out {
    position: relative;
    top: auto;
    right: auto;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    border-top: 1px dotted #dfdfdf;
    padding: 0.75rem;
  }
  body.home .wp-block-media-text.alignwide.has-media-on-the-right img {
    margin: 0;
    max-width: inherit;
    width: inherit;
  }
  .navigation.icons {
    margin: 3rem 0 0;
  }
  .navigation.icons .wp-block-column {
    margin: 1.5rem 0 3rem;
  }
  .navigation.icons h2 {
    margin: 0.375rem 0 0.75rem 0;
  }
  .wp-block-columns.visitor-type {
    margin: 0;
    gap: 0;
  }
  .wp-block-columns.visitor-type .wp-block-column {
    margin: 1.5rem 0 0;
  }
  .recent-articles {
    margin-top: 3rem;
  }
  .recent-articles ul.wp-block-post-template {
    margin: 0;
  }
  .recent-articles .wp-container-20.wp-block-group {
    display: block;
  }
  .recent-articles ul.wp-block-post-template li img {
    margin-top: -1.5rem;
    width: inherit;
    max-width: inherit;
  }
  .entry-content > .wp-block-group.has-background {
    margin: 3rem -1.5rem;
    padding: 1.5rem;
  }
  nav#footer-menu {
    margin: -0.1875rem -0.1875rem 3rem;
  }
}

/* Colors */

.icons figure:before,
.wp-block-media-text__content a.wp-block-button__link {
  background: #9ce5d1;
  /* light green */
}

.wp-block-columns.visitor-type .wp-block-column {
  background-color: #4e9e83; /* medium green; not enough color contrast for WCAG */
  background-color: #0c5f83;
  color: #ffffff;
  border-radius: 0.375rem;
  text-align: center;
}

.wp-block-columns.visitor-type .wp-block-group {
  padding: 0 3rem;
}

.wp-block-columns.visitor-type .wp-block-group p {
  color: #ffffff;
}

.wp-block-columns.visitor-type .wp-block-column:last-child {
  background-color: #376072;
  /* dark blue green */
}

.wp-block-columns.visitor-type .wp-block-button__link {
  border-color: #ffffff;
  color: #ffffff;
}

.wp-block-columns.visitor-type .wp-block-column a {
  color: #ffffff;
}

.wp-block-columns.visitor-type .wp-block-column a.wp-block-button__link {
  color: #ffffff !important;
}

a.wp-block-button__link {
  font-weight: 600;
  font-size: 1rem;
}

/* Accordion */

.accordion-toggle {
  cursor: pointer;
  position: relative;
  background: #f2f2f2;
  padding: 0.75rem;
}

.accordion-toggle:after {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 0.75rem;
  color: #555555;
  opacity: 0.75;
  float: left;
  margin: 0.375rem 1.5rem 0 0.75rem;
}

.accordion-toggle.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

details.wp-block-details {
  margin: 1.5rem 0;
  padding: 0 0.75rem;
}
details.wp-block-details > p {
  padding: 1rem;
}
