/*
Theme Name: PPC Mechanical Seals
Theme URI: 
Description: A child theme for PPC Mechanical Seals based on Twenty Twenty.
Author: Marshall Villanueva
Author URI: https://bloganueva.com/
Template: twentytwenty
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: Lato;
  src: url("/wp-content/themes/ppcmechanicalseals/assets/fonts/Lato/Lato-Regular.ttf");
  font-weight: normal;
}

@font-face {
  font-family: Nunito Sans;
  src: url("/wp-content/themes/ppcmechanicalseals/assets/fonts/Nunito_Sans/NunitoSans-ExtraBold.ttf");
  font-weight: bolder;
}


:target:before {
  content: "";
  display: block;
  height: 100px;
  margin: -100px 0 0;
}

body:not(.overlay-header):not(.post-template-default):not(.blog) .primary-menu > li > a,
body:not(.overlay-header):not(.post-template-default):not(.blog) .primary-menu > li > .icon,
body:not(.overlay-header):not(.page-template-default):not(.blog) .primary-menu > li > a,
body:not(.overlay-header):not(.page-template-default):not(.blog) .primary-menu > li > .icon,
.modal-menu a,
.footer-menu a,
.footer-widgets a,
#site-footer .wp-block-button.is-style-outline,
.wp-block-pullquote:before,
.singular:not(.overlay-header) .entry-header a,
.archive-header a,
.header-footer-group .color-accent,
.header-footer-group .color-accent-hover:hover,
.color-accent,
.color-accent-hover:hover,
.color-accent-hover:focus,
:root .has-accent-color,
.has-drop-cap:not(:focus):first-letter,
.wp-block-button.is-style-outline,
.entry-categories a,
.page-id-1632 a,
.post-template-default.singular:not(.overlay-header) .entry-header .entry-categories a
/* ,
article a:not(.hero__button):not(.wp-block-button__link) */
{
  color: rgba(6, 55, 151, 1);
  /* #063797 */
}

.modal-menu a {
	color: rgba(6, 55, 151, 1) !important;
  /* #063797 */
}

#site-footer{
  background-color: rgba(6, 55, 151, 1) !important;
}

#site-footer *{
  color: white;
}

.page-template-template-cover svg{
  color: black;
}

.page-template-template-cover .wp-block-columns{
  max-width: 120rem !important;
}

.page-template-template-cover .menu-item a {
  text-transform: uppercase;
}

.powered-by-wordpress {
	display: inline-block;
	margin: unset;
}

.search-toggle .toggle-text{
  color: #6d6d6d;
  /* change this for homepage */
}


/* .home .search-toggle .toggle-text{
  color:rgba(6, 55, 151, 1);
} */

.solid-button-center{
  text-align: center;
  width: 100%;
}

input[type="checkbox"]{
  width: auto !important;
}

.flexslider.carousel{
  width: 100% !important;
  border: none !important;
}

.flex-prev,
.flex-next {
  font-size: 0;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next{
  height: 53px;
}

.site-logo img{
  width: 179px;
}

body:not(.overlay-header) .primary-menu > li > a,
.primary-menu ul a{
	text-transform: uppercase;
	/* font-size: 1.6rem; */
}

input.submit,
.error404-content input.search-submit,
.page-id-851 form input#reset{
  background-color: rgba(6, 55, 151, 1) !important;
}

*,
input,
textarea,
button,
.button,
.faux-button,
.faux-button.more-link,
.wp-block-button__link,
.wp-block-file__button,
.has-drop-cap:not(:focus)::first-letter,
.entry-content .wp-block-archives,
.entry-content .wp-block-categories,
.entry-content .wp-block-latest-posts,
.entry-content .wp-block-latest-comments,
.entry-content .wp-block-cover-image p,
.entry-content .wp-block-pullquote,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file,
.widget-content cite,
.widget-content figcaption,
.widget-content .wp-caption-text{
  font-family: "Lato", sans-serif;
}

textarea {
  max-width: 60%;
}

h1.entry-title,
h2.entry-title a,
h2.comment-reply-title,
h2 a,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.001em;
}

.admin-bar .screen-height{
  min-height: unset !important;
}

.home header.entry-header{
  display: none;
}

.cover-header .entry-header{
  position: absolute;
  bottom: 0;
  margin-bottom: 2em;
}

.cover-header{
  height: 250px;
}

.screen-height{
  /* min-height: 100vh; */
  min-height: unset;
}

.to-the-content-wrapper{
  display: none;
}

.cover-color-overlay::before{
  background: none;
}

.page-template-template-cover .cover-color-overlay::before{
  background: rgba(69,69,69,.4);
}

.home .entry-content > .alignfull{
  margin-top: 0;
}

.header-inner{
  width: 100%;
  position: fixed;
}

.menu-modal{
  z-index: 100;
}

article,
.error404-content,
.search header header,
.page-template-template-full-width article .entry-header-inner{
  margin-top: 6.86111em;
}
.search article,
.page-template-template-full-width article{
  margin-top: 0;
}

.entry-categories{
  margin-top: .145em;
}

.archive header:not(#site-header){
  margin-top: 6.7125em;
}
.archive article,
.archive article header.entry-header{
  margin-top: 0 !important;
}

.home article{
  margin-top: 0;
}

.hero__button{
  border-radius: 0 !important;
}

.metaslider:not(#metaslider-id-423) .caption-wrap{
  padding: 1em;
  margin: auto;
  top: 15%;
  top: calc(100% - 175px);
  background: none !important;
  opacity: 1 !important;
  bottom: 0;
}

#metaslider-id-1444,
#metaslider-id-1490{
  max-width: 58rem;
  width: calc(100% - 4rem) !important;
}

.metaslider#metaslider-id-423 .caption-wrap{
  background: none !important;
  opacity: 1 !important;
  text-align: center;
  font-weight: 900;
  top: 40%;
  bottom: unset;
}

.metaslider#metaslider-id-423 .caption-wrap a{
  color: white !important;
  text-decoration: none;
}

.metaslider:not(#metaslider-id-423) .caption-wrap a.hero__button{
  padding: .55em .8em;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  font-size: .9em;
  background-color: #063797;
  color: #ffffff;
}

.metaslider#metaslider-id-1555 .caption-wrap {
	top: unset;
	bottom: -33px;
	color: black;
	text-align: center;
	font-weight: bolder;
}

.entry-content .metaslider:not(#metaslider-id-423) .caption-wrap h2{
  font-size: 1.1em;
}

.checkboxes span{
  display: inline-block;
  /* margin-right: 1em; */
}

.checkboxes span label{
  font-size: .75em;
  font-weight: 900;
  display: inline-block;
  margin-right: .5em;
}
.checkboxes span:last-child label{
  /* margin-right: 0; */
}

/* body[class*="314"] .wp-block-column{
  border: 3px solid black;
} */

hr::before,
hr::after{
  display: none !important;
}

.entry-content hr,
.search hr{
  width: 100% !important;
  background: black !important;
  background-color: unset !important;
  background-color: black !important;
  overflow: unset !important;
  height: 3px;
  max-width: 120rem !important;
}

.checkboxes span:last-child{
  margin-right: 0;
}

/* body[class*="314"] .wp-block-column{
  flex-basis: unset !important;
  flex-grow: 1;
}

body[class*="314"] .wp-block-column:nth-child(2n){
  margin-left: 0;
} */

.modal-menu > li > .ancestor-wrapper > a{
  letter-spacing: .5px;
}

.three-items.wp-block-column:first-child figure{
  margin-top: 0 !important;
}

.three-items.wp-block-column:first-child figure img{
  /* width: 100px; */
  margin: auto;
}

.three-items.wp-block-column:first-child figure figcaption{
  text-align: center;
}

.page-id-851 #my-ajax-filter-search form{
  display: block;
  max-width: 58rem;
  width: calc(100% - 4rem);
  margin: auto;
  margin-bottom: 2em;
}
.page-id-851 #my-ajax-filter-search form input#submit,
.page-id-851 form input#reset{
  position: relative;
  top: -1px;
}
.page-id-851 #my-ajax-filter-search figure{
  position: relative;
  border-bottom: 2px solid black;
  padding-bottom: 1em;
}
/* .page-id-851 #my-ajax-filter-search figure:last-child{
  border-bottom: none;
  padding-bottom: unset;
} */
.page-id-851 #my-ajax-filter-search figure span{
  position: absolute;
  top: -3px;
  left: -3px;
  background: #063797;
  color: white;
  padding: 1rem;
  box-shadow: 0px 3px 10px black;
}
.page-id-851 #my-ajax-filter-search form input{
  display: inline-block !important;
}
.page-id-851 #my-ajax-filter-search form input:first-child{
  width: 70%;
}
.post-inner{
  padding-top: 0;
}

.search-submit {
  background-color:rgba(6, 55, 151, 1) !important;
}

.search main header.archive-header {
  margin-top: 8em;
}

/* .side-callout styling */
.side-callout {
  height: 100% !important;
  /* padding: 1em; */
  /* background-color:rgba(6, 55, 151, 1); */
}
/* .side-callout p:first-child, */
.side-callout p:nth-child(odd)
/* ,
.side-callout p:nth-child(5),
.side-callout p:nth-child(7) */
{
  /* color: white !important;
  text-decoration: underline; */
  padding: 0.95em 0.95em 0.95em 0.95em;
  background-color: white !important;
  color: rgba(6, 55, 151, 1);
  border: 1px solid rgba(6, 55, 151, 1);
  border-bottom: none;
  margin-bottom: 0;
}
/* .side-callout p:nth-child(2),
.side-callout p:nth-child(4) */
.side-callout p:nth-child(even)
{
  padding: 1em;
  background-color:rgba(6, 55, 151, 1);
}
.side-callout p a,
.side-callout p:nth-child(even) {
  color: white !important;
  text-decoration: none;
}
.side-callout p a:hover,
.side-callout p a:focus,
.side-callout p a:active {
  text-decoration: underline !important;
}

.page-id-851 .post-inner a{
  color: #063797 !important;
  text-decoration: none !important;
}

.page-id-851 .post-inner a:hover,
.page-id-851 .post-inner a:active,
.page-id-851 .post-inner a:focus {
  text-decoration: underline !important;
}

@media not all and (min-resolution:.001dpcm) {
  html{
    /* position: fixed; */
    /* overflow: hidden; */
  }
  body{
    /* width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; */
    /* position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll; */
    -webkit-overflow-scrolling: touch;
  }
  .home article{
    margin-top: -3.33333em;
  }
}

body:not(.overlay-header) .primary-menu ul{
  background-color: rgba(6, 55, 151, 1) !important;
}

body:not(.overlay-header) .primary-menu > li > ul:after{
  border-bottom-color: rgba(6, 55, 151, 1);
}

body:not(.overlay-header) .primary-menu ul ul:after,
.page-template-template-cover .primary-menu ul ul::after{
  border-right-color: white !important;
  border-left-color: transparent !important;
  right: 23rem;
  top: 2.3rem;
}
body:not(.overlay-header) .primary-menu ul ul:after{
  border-right-color: rgba(6, 55, 151, 1) !important;
}

.primary-menu ul{
  border-radius: 0;
}

.primary-menu ul li.menu-item-has-children .icon{
  transform: rotate(225deg);
}

.primary-menu ul{
  top: calc(100% + 4.5rem);
}

.primary-menu:first-child{
  cursor: default;
}

.primary-menu ul li.menu-item-has-children .icon{
  right: 1.75rem;
  top: calc(30%);
}

.maximum-width{
  max-width: 58rem !important;
}

.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a,
.modal-menu ul li a{
  text-transform: uppercase;
}
.metaslider .slides img{
  position: relative;
}

.flexslider .slides img{
  opacity: 1;
}

.bg-overlay{
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, .3);
  z-index: 0;
}
.bg-attachment-fixed{
  background-attachment: unset;
}
/* .flexslider .slides img:before{
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, .3);
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  opacity: 999999;
} */

/* .post-613 p {
  font-family: "Nanum Gothic", sans-serif;
}

.post-334 p {
  font-family: "Rokkitt", serif;
}

.post-362 p{
  font-family: "Open Sans", sans-serif;
}

.post-357 p{
  font-family: "Roboto", sans-serif;
}

.post-350 p{
  font-family: 'Oswald', sans-serif;
}

.post-616 p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 500;
}

.post-586 p{
  font-family: 'Cabin', sans-serif;
} */

/* .page-id-445.singular .entry-header{
  padding-top: 1em !important;
  padding-bottom: 0 !important;
} */

#wp-admin-bar-root-default li ul{
  background: #1d2327 !important;
}
#wp-admin-bar-root-default li ul li a{
  color: #c3c4c7;
}

.page-template-template-cover main article div.post-inner .entry-content > p:first-child{
  margin-top: 3.8em;
}

.page-template-template-cover .post-inner .entry-content ul li{
  margin-left: 2.25rem;
}

.wp-block-media-text .wp-block-buttons .wp-block-button:first-of-type{
  margin-top: .5em;
}

.wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(2),
.wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3){
  margin-top: 0;
}

.wp-block-media-text .wp-block-buttons + p {
  margin-top: .5em;
}

.wp-block-media-text .wp-block-buttons + p a{
  text-decoration: none;
}

.wp-block-media-text .wp-block-buttons + p a:hover,
.wp-block-media-text .wp-block-buttons + p a:focus{
  text-decoration: underline;
}

.wp-block-columns + .wp-block-columns figure {
  margin-bottom: 0 !important;
}

.wp-block-columns + .wp-block-columns figure figcaption {
  font-size: 1em !important;
}

.wp-block-columns + .wp-block-columns .wp-block-button {
  margin-top: 1em !important;
}

.three-buttons a {
  width: 270px !important;
}

@media screen and (max-width: 599px){
  .home .wp-block-image img{
    width: 50%;
    margin: auto;
  }
}

@media screen and (max-width: 500px) and (min-width: 200px) {
  .home .metaslider .slides img{
    width: 115%;
  }
}

@media screen and (min-width: 500px){
  .site-logo img{
    width: 200px;
  }
  .search-toggle .toggle-icon{
    height: 2.35rem;
  }
  .metaslider:not(#metaslider-id-423) .caption-wrap{
    padding: 1em;
    top: calc(100% - 275px);
  }
  .metaslider#metaslider-id-1555 .caption-wrap {
	top: unset;
}
  
  .metaslider:not(#metaslider-id-423) .caption-wrap a.hero__button{
    padding: .75em 1em;
    font-size: 1.5em;
  }
  
  .entry-content .metaslider:not(#metaslider-id-423) .caption-wrap h2{
    font-size: 2em;
  }
}

@media screen and (min-width: 533px){
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(2),
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3){
    margin-top: .5em;
  }
  .three-buttons .wp-block-button:not(:first-child) {
    margin-top: 0 !important;
  }
}

@media screen and (min-width: 600px){
  .checkboxes span{
    display: block;
  }
  .brochures h2,
  .installation-guides h2,
  .api-plans h2,
  .case-studies h2{
    margin-top: 0;
  }
  .brochures,
  .installation-guides,
  .api-plans,
  .case-studies{
    margin-bottom: 1.5em;
  }
  .page-id-756 .entry-content,
  .page-id-851 .entry-content{
    /* width: 50% !important; */
    display: flex;
    flex-wrap: wrap;
    padding-left: 1em;
    padding-right: 1em;
  }
  .page-id-756 figure,
  .page-id-851 #my-ajax-filter-search figure{
    /* flex-grow: 1; */
    /* width: 50% !important; */
    width: 48% !important;
    margin: 0 0 1.5em 0;
    position: relative;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(odd){
    /* padding-right: .5em; */
    margin-right: 2%;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(even){
    /* padding-left: .5em; */
    margin-left: 2%;
  }
  .page-id-756 figure:last-child
  /* ,
  .page-id-851 #my-ajax-filter-search figure:last-child */
  {
    margin: 0;
    /* width: 50% !important; */
  }
  .page-id-851 .post-inner{
    max-width: 1000px;
    margin: auto;
  }
  /* .page-id-851 #my-ajax-filter-search figure:last-child,
  .page-id-851 #my-ajax-filter-search figure:nth-last-of-type(-n+2){
    margin-bottom: 0;
    border-bottom: 2px solid black;
  } */
  .page-id-851 #my-ajax-filter-search form{
    width: 100%;
    max-width: unset;
    padding-left: 1em;
    padding-right: 1em;
  }
  .cover-header{
    height: 325px;
  }
  .top-intro .wp-block-column:not(:only-child) {
    flex-basis: 55% !important;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 35% !important
  }
}

@media screen and (min-width: 700px){
  .powered-by-wordpress{
    margin: 0 0 0 2.4rem;
  }
  .footer-credits {
    display: block;
  }
  .footer-credits p,
	.footer-credits p + p {
		display: inline-block;
	}
  .cover-header{
    height: 425px;
  }
  .entry-content .wp-block-columns .brochures h2,
  .entry-content .wp-block-columns .installation-guides h2,
  .entry-content .wp-block-columns .api-plans h2,
  .entry-content .wp-block-columns .case-studies h2{
    margin-top: 0;
  }
  .entry-content .wp-block-columns .brochures,
  .entry-content .wp-block-columns .installation-guides,
  .entry-content .wp-block-columns .api-plans,
  .entry-content .wp-block-columns .case-studies{
    margin-bottom: 1.5em;
  }
  .flexslider.carousel{
    width: calc(100% - 8rem) !important;
    margin: auto !important;
  }
  .flexslider.carousel .alignwide{
    margin: 0;
  }
  article,
  .error404-content,
  .search header header,
  .page-template-template-full-width article .entry-header-inner{
    margin-top: 8.0444em;
  }
  .entry-categories{
    margin-top: .425em;
  }
  .archive header:not(#site-header){
    margin-top: 7.6em;
  }
  .metaslider:not(#metaslider-id-423):not(#metaslider-id-1555) .caption-wrap{
    top: 25%;
  }
  .metaslider:not(#metaslider-id-423) .caption-wrap .caption{
    max-width: 700px;
    margin: auto;
  }
  .checkboxes span label{
    font-size: inherit !important;
  }
  .page-template-template-cover .wp-block-columns:not(.wp-block-column .wp-block-columns){
    width: calc(100% - 8rem) !important;
  }
  .no-max-width{
    max-width: 120rem !important;
    width: calc(100% - 8rem) !important;
  }
  .page-template-template-cover .post-inner .entry-content p,
  .page-template-template-cover .post-inner .entry-content ul {
    max-width: 120rem !important;
    width: calc(100% - 8rem) !important;
  }
  .page-template-template-cover .post-inner .entry-content .wp-block-media-text p{
    width: 100% !important;
  }
  .site-logo img{
    width: 225px;
  }
  .home article{
    /* margin-top: -3.3em; */
    margin-top: -3.30677777em;
  }
  /* .page-id-534 .entry-content > .alignwide{
    max-width: 1367px;
    width: 100%;
  } */
  .entry-content ol {
    max-width: 120rem !important;
    width: calc(100% - 8rem) !important;
  }
  #metaslider-id-1444 ul,
  #metaslider-id-1490 ul{
    width: unset !important;
  }

  .wp-block-media-text .wp-block-buttons .wp-block-button:first-of-type .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3) .wp-block-button__link {
    font-size: 1.5rem;
  }

  .page-template-template-cover .post-inner .entry-content .wp-block-media-text .wp-block-buttons + p {
    width: 100% !important;
    max-width: none !important;
  }
  .wp-block-media-text .wp-block-buttons + p a {
    font-size: 1.75rem;
  }

  .page-template-template-cover .post-inner .entry-content .top-intro p {
    width: 100% !important;
    max-width: unset !important;
  }
  .page-template-template-cover .top-intro .wp-block-columns {
    width: 100% !important;
    max-width: none !important;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 38% !important;
  }
  figure.size-full.full-size {
    max-width: 120rem !important;
    width: calc(100% - 8rem) !important;
  }
}

@media screen and (max-width: 781px) and (min-width: 200px) {
  .three-items figure.wp-block-image img{
    margin-left: 0 !important;
    max-width: 100px !important;
  }
  .three-items p + figure.wp-block-image img{
    max-width: 100% !important;
  }
  .three-items figure figcaption{
    text-align: left !important;
  }
  .three-items div.wp-block-column:first-child{
    flex-basis: 15% !important;
    flex-grow: 1;
    margin-right: .5em;
  }
  .three-items div.wp-block-column:nth-child(2){
    flex-basis: 30% !important;
    flex-grow: 1;
    margin-left: .35em;
    margin-right: .35em;
  }
  .three-items div.wp-block-column:nth-child(3){
    flex-basis: 20% !important;
    flex-grow: 1;
    margin-left: .5em;
  }
  .page-template-template-cover .three-items .wp-block-columns{
    width: 100% !important;
  }
}

@media screen and (min-width: 782px){
  .checkboxes span label{
    font-size: .62em !important;
  }
  /* body[class*="314"] .wp-block-columns{
    flex-wrap: wrap !important;
  }

  body[class*="314"] .wp-block-column{
    flex-basis: unset !important;
    flex-grow: 1;
    margin-bottom: 3.2rem;
  }
  
  body[class*="314"] .wp-block-column:nth-child(2n){
    margin-left: 0 !important;
  } */
  .page-id-756 figure,
  .page-id-851 #my-ajax-filter-search figure{
    /* flex-grow: 1; */
    width: 31% !important;
  }
  .page-id-756 figure:last-child
  /* ,
  .page-id-851 #my-ajax-filter-search figure:last-child */
  {
    margin: 0;
    /* width: 33.333% !important; */
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(even){
    padding-left: unset;
    margin-left: 0;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(odd){
    padding-right: unset;
    margin-right: 0;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(3n + 1){
    /* padding-right: .5em; */
    margin-right: 2%;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(3n + 2){
    /* padding-right: .25em;
    padding-left: .25em; */
    margin-right: 1.5%;
    margin-left: 1.5%;
  }
  .page-id-851 #my-ajax-filter-search figure:nth-child(3n + 3){
    /* padding-left: .5em; */
    margin-left: 2%;
  }
}

@media screen and (min-width: 800px){
  .top-intro .wp-block-column:not(:only-child) {
    flex-basis: 75% !important;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 38% !important;
  }
}

@media screen and (min-width: 850px){
  .checkboxes span label{
    font-size: .69em !important;
  }
}

@media screen and (min-width: 900px){
  .checkboxes span label{
    font-size: .75em !important;
  }
  .three-items figure.wp-block-image img{
    max-width: 125px !important;
  }
  .three-items p + figure.wp-block-image img{
    max-width: 100% !important;
  }
  .three-items .wp-block-column + .wp-block-column figure.wp-block-image img{
    max-width: 100% !important;
  }
}

@media screen and (min-width: 1000px){
	.search-modal.active .search-modal-inner .section-inner{
		width: 95%;
		float: left;
	}
	
.is-form-style input.is-search-input {
	height: -webkit-fill-available;
}
  nav > ul.primary-menu > li > a + span + ul.sub-menu{
    border: 1px rgba(6, 55, 151, 1) solid;
  }
  .search header#site-header,
  .error404 header#site-header {
    background-color: rgba(255,255,255,1);
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 50%, #ffffff 50%);
  }
  .search .header-inner,
  .error404 .header-inner{
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 65%, #ffffff 100%);
    height: 8em;
  }
  .search .header-inner .primary-menu > li > a,
  .search .header-inner .primary-menu > li > .icon,
  .post-template-default .header-inner .primary-menu > li > a,
  .post-template-default .header-inner .primary-menu > li > .icon,
  .page-template-default .header-inner .primary-menu > li > a,
  .page-template-default .header-inner .primary-menu > li > .icon,
  .blog .header-inner .primary-menu > li > a,
  .blog .header-inner .primary-menu > li > .icon,
  .error404 .header-inner .primary-menu > li > a,
  .error404 .header-inner .search-toggle .svg-icon{
    color: white !important;
  }
  body.search .primary-menu ul,
  body.error404 .primary-menu ul {
    background-color: white !important;
  }
  body.search .primary-menu ul.sub-menu > li > a,
  body.error404 .primary-menu ul.sub-menu > li > a {
    color:rgba(6, 55, 151, 1);
  }
  .search-modal-inner{
    width: 30%;
    float: right;
    height: 8em;
  }
  /* .page-id-445 figure:first-of-type{
    position: fixed;
    float: left;
    width: 30% !important;
    margin-top: .5em !important;
    margin-bottom: 0 !important;
  }
  .page-id-445 p{
    float: right;
    width: 67% !important;
    padding-right: 3em;
  }
  .page-id-445 p:first-of-type{
    margin-top: .5em;
  }
  .page-id-445 header{
    padding-bottom: 1em !important;
  } */
  .cover-header{
    height: 600px;
  }
  .page-template-template-cover .primary-menu ul li.menu-item-has-children .icon{
    color: rgba(6, 55, 151, 1);
  }
  .checkboxes span label{
    font-size: .86em !important;
  }
  .primary-menu .icon::before, .primary-menu .icon::after{
    bottom: calc(80% - 0.1rem);
  }
  nav > ul.primary-menu > li > a + span + ul.sub-menu{
    margin-top: -1.5em;
  }
  /* .primary-menu .sub-menu{
    z-index: 0;
  } */
  .primary-menu .sub-menu ul.sub-menu{
    right: 0;
    /* left: 12.75em; */
    left: 14.25em;
    /* z-index: 99999; */
  }
  /* body[class*="314"] .wp-block-columns{
    flex-wrap: nowrap !important;
  }

  body[class*="314"] .wp-block-column{
    flex-basis: 50% !important;
    flex-grow: 0;
  }
  
  body[class*="314"] .wp-block-column:nth-child(2n){
    margin-left: 32px !important;
  }

  body[class*="314"] .wp-block-column h4{
    font-size: 1.15em;
  }

  body[class*="314"] .wp-block-column p{
    font-size: .8em;
  }

  body[class*="314"] .wp-block-column a{
    font-size: .65em;
    padding: 1em;
  } */

  body:not(.overlay-header) .primary-menu > li > a{
    font-size: 1.25rem;
  }
  .primary-menu ul a,
  .page-template-template-cover .menu-item a{
    font-size: 1.35rem;
  }
  .page-template-template-cover .primary-menu ul,
  .page-template-template-full-width .primary-menu ul,
  .page-template-template-resources .primary-menu ul,
  .post-template-default .primary-menu ul,
  .page-template-default .primary-menu ul,
  .blog .primary-menu ul{
    background: white;
  }
  article,
  .error404-content,
  .search header header,
  .page-template-template-full-width article .entry-header-inner{
    /* margin-top: 6.9333em; */
    margin-top: 8em;
  }
  .entry-categories{
    margin-top: .625em;
  }
  .archive header:not(#site-header){
    margin-top: 6.53em;
  }
  .header-inner{
    width: 100%;
    padding-left: 2.2325em;
    padding-right: 2.2325em;
    height: 8em;
  }
  .metaslider:not(#metaslider-id-423) .caption-wrap a.hero__button{
    padding: .75em 1em;
    font-size: 2em;
  }
  .entry-content .metaslider:not(#metaslider-id-423) .caption-wrap h2{
    font-size: 2.5em;
  }

  .page-template-template-cover .primary-menu a,
  .page-template-template-cover .primary-menu a + span{
    /* color: rgba(6, 55, 151, 1); */
  }
  .page-template-template-cover .primary-menu ul::after,
  .page-template-template-full-width .primary-menu ul::after,
  .page-template-template-resources .primary-menu ul::after,
  .post-template-default .primary-menu ul::after,
  .page-template-default .primary-menu ul::after,
  .blog .primary-menu ul::after{
    /* border-bottom-color: rgba(6, 55, 151, 1) !important; */
    border-bottom-color: white !important;
  }
  .home.page-template-template-full-width .primary-menu ul::after{
    border-bottom-color: rgba(6, 55, 151, 1) !important;
  }
  .page-template-template-cover .primary-menu ul ul::after,
  .page-template-template-full-width .primary-menu ul ul::after,
  .page-template-template-resources .primary-menu ul ul::after{
    border-bottom-color: rgba(0,0,0,0) !important;
    border-left-color: rgba(6, 55, 151, 1) !important;
  }
  .post-template-default .primary-menu ul::after,
  .page-template-default .primary-menu ul::after,
  .blog .primary-menu ul::after{
    border-left-color: rgba(6, 55, 151, 1) !important;
  }
  .page-template-template-cover .primary-menu ul li a,
  .page-template-template-full-width .primary-menu ul li a,
  .page-template-template-resources .primary-menu ul li a,
  .post-template-default .primary-menu ul li a,
  .page-template-default .primary-menu ul li a,
  .blog .primary-menu ul li a{
    color: rgba(6, 55, 151, 1) !important;
  }
  .home .primary-menu a{
    /* font-weight: 900; */
    /* letter-spacing: .44px; */
  }
  .home .primary-menu li:first-child{
    margin-left: 0;
  }
  .home article{
    /* margin-top: -4.3777em; */
    margin-top: -4.417666em;
  }
  .overlay-header .header-inner,
  .page-template-template-full-width .header-inner,
  .page-template-template-resources .header-inner,
  .post-template-default .header-inner,
  .page-template-default .header-inner,
  .blog .primary-menu .header-inner{
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 65%, #ffffff 100%);
    /* must change this for homepage */
    height: 8em;
  }

  .home.page-template-template-full-width .header-inner{
    background: unset;
  }
  
  .page-template-template-cover svg,
  .search-toggle .toggle-text,
  .page-template-template-full-width svg,
  .page-template-template-resources svg,
  .post-template-default svg,
  .page-template-default svg,
  .blog svg,
  .page-template-template-full-width .search-toggle .toggle-text,
  body:not(.overlay-header).page-template-template-full-width .primary-menu > li > a,
  body:not(.overlay-header).page-template-template-full-width .primary-menu > li > .icon,
  body:not(.overlay-header).page-template-template-resources .primary-menu > li > a,
  body:not(.overlay-header).page-template-template-resources .primary-menu > li > .icon{
    color: white !important;
    /*must change this for the homepage and search icon*/
  }
  body.home.page-template-template-full-width .primary-menu > li > a,
  body.home.page-template-template-full-width .primary-menu > li > .icon,
  .home.page-template-template-full-width svg,
  .home .search-toggle .toggle-text{
    color:rgba(6, 55, 151, 1) !important;
  }
  body:not(.overlay-header).page-template-template-full-width ul ul,
  body:not(.overlay-header).page-template-template-resources ul ul,
  body:not(.overlay-header).post-template-default ul ul,
  body:not(.overlay-header).page-template-default ul ul,
  body:not(.overlay-header).blog ul ul{
    background: white !important;
  }
  #wp-admin-bar-site-name-default,
  #wp-admin-bar-appearance{
    background: unset !important;
  }
  .page-template-template-full-width .header-inner .toggle-wrapper::before,
  .page-template-template-cover .header-inner .toggle-wrapper::before{
    background-color: #dbdbdb !important;
    opacity: 1;
  }
  .page-template-template-cover button.close-search-toggle svg,
  .page-template-template-full-width button.close-search-toggle svg,
  .page-template-default button.close-search-toggle svg,
  .page-template-template-resources button.close-search-toggle svg,
  .post-template-default button.close-search-toggle svg,
  .page-template-default button.close-search-toggle svg,
  .blog button.close-search-toggle svg{
    color: black !important;
  }
  .primary-menu .sub-menu{
    width: 23rem;
  }
  .search .header-inner .toggle.search-toggle svg{
    color: white;
  }
  #metaslider-id-1444,
  #metaslider-id-1490{
    max-width: 80rem;
  }
  .wp-block-media-text .wp-block-buttons .wp-block-button:first-of-type .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3) .wp-block-button__link{
    font-size: 1.24rem;
  }
  .top-intro .wp-block-column:not(:only-child) {
    flex-basis: 80% !important;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 30% !important;
  }

  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3) {
    margin-top: 0;
  }

  @media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
    .home article{
      margin-top: -4.44444em;
    }
  }
  @media not all and (min-resolution:.001dpcm) {
    .home article{
      margin-top: -4.44444em;
    }
  }
}

@media screen and (min-width: 1080px){
  body:not(.overlay-header) .primary-menu > li > a{
    font-size: 1.49rem;
  }
  .primary-menu ul a,
  .page-template-template-cover .menu-item a{
    font-size: 1.6rem;
  }
  .primary-menu .icon::before, .primary-menu .icon::after{
    bottom: calc(70% - 0.1rem);
  }
  .checkboxes span label{
    font-size: .9em !important;
  }
  /* .page-id-445 figure:first-of-type{
    position: fixed;
    float: left;
    width: 28% !important;
    margin-top: .5em !important;
    margin-bottom: 0 !important;
  }
  .page-id-445 p{
    float: right;
    width: 69% !important;
    padding-right: 3em;
  }
  .page-id-445 p:first-of-type{
    margin-top: .5em;
  }
  .page-id-445 header{
    padding-bottom: 1em !important;
  } */
}

@media screen and (min-width: 1200px){
  .site-logo img{
    width: 235px;
  }
  article,
  .error404-content,
  .search main header.archive-header{
    /* margin-top: 7.1333em; */
  }
  .checkboxes span label{
    font-size: inherit !important;
  }
  body:not(.overlay-header) .primary-menu > li > a{
    font-size: 1.7rem;
  }
  .primary-menu ul a,
  .page-template-template-cover .menu-item a{
    font-size: 1.8rem;
  }
  /* body[class*="314"] .wp-block-column h4{
    font-size: 3.2rem;
  }

  body[class*="314"] .wp-block-column p{
    font-size: inherit;
  }

  body[class*="314"] .wp-block-column a{
    font-size: 1.7rem;
    padding: 1.1em 1.44em;
  } */
  .cover-header + .post-inner{
    padding-top: 0;
  }
  /* .cover-header{
    height: 625px;
  } */
  .wp-block-media-text .wp-block-buttons .wp-block-button:first-of-type .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link,
  .wp-block-media-text .wp-block-buttons .wp-block-button:nth-child(3) .wp-block-button__link{
    font-size: 1.5rem;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 22% !important;
  }
}

@media screen and (min-width: 1220px){
  /* .page-id-445 h1, .page-id-445 .heading-size-1{
    font-size: 6.4rem;
  }
  .page-id-445 header + .post-inner{
    max-width: 1400px;
  }
  .page-id-445 figure:first-of-type{
    position: fixed;
    float: left;
    width: 28% !important;
    margin-top: .5em !important;
    margin-bottom: 0 !important;
    max-width: 341px !important;
  }
  .page-id-445 p{
    float: right;
    width: 75% !important;
    padding-right: 3em;
  }
  .page-id-445 p:first-of-type{
    margin-top: .5em;
  }
  .page-id-445 header{
    padding-bottom: 1em !important;
  } */
}

@media screen and (min-width: 1300px){
  /* body:not(.overlay-header) .primary-menu > li > a{
    font-size: 1.9rem;
  } */
  .primary-menu ul a,
  .page-template-template-cover .menu-item a,
  body:not(.overlay-header) .primary-menu > li > a{
    font-size: 2rem;
  }
  .overlay-header #site-header{
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 50%, #ffffff 50%);;
  }
  .top-intro .wp-block-column:nth-child(2n) {
    flex-basis: 20% !important;
  }
  
}

@media screen and (min-width: 1441px) {
  .cover-header{
    height: 800px;
  }
}

@media screen and (min-width: 1680px){
  header#site-header{
    position: fixed;
    /* height: 128px; */
    height: 8em;
    width: 100%;
    background-color: rgba(255,255,255,1);
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 50%, #ffffff 50%);
  }
  .home header#site-header{
    background: rgba(255,2555,2555,0);
  }
  .page-template-default header#site-header{
/*     background: none; */
  }
  .page-template-template-cover header#site-header{
    position: fixed;
  }
  .header-inner{
    margin-left: calc((100% - 1680px)/2);
    margin-right: calc((100% - 1680px)/2);
  }
	.overlay-header .header-inner,
  .page-template-template-full-width .header-inner,
  .page-template-template-resources .header-inner,
  .post-template-default .header-inner,
  .page-template-default .header-inner,
  .blog .primary-menu .header-inner{
    background: linear-gradient(to left, rgba(6, 55, 151, 1) 65%, #ffffff 100%);
    /* must change this for homepage */
    height: 8em;
  }
  /* .header-inner::after{
    /* content: ""; */
    /* left: 0; */
    /* width: 100%; */
    /* height: 100%; */
    /* position: relative; */
    /* background-color: white; */
  /* } */
}