/**

Theme Name: Custom by Fair Digital

Theme Description: Custom by Fair Digital

*/

@charset "UTF-8";
@font-face {
  font-family: "vernacularbold";
  src: url("fonts/vernacular-bold-webfont.woff2") format("woff2"), url("fonts/vernacular-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "vernacularregular";
  src: url("fonts/vernacular-regular-webfont.woff2") format("woff2"), url("fonts/vernacular-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "vernacularitalic";
  src: url("fonts/vernacular-regularitalic-webfont.woff2") format("woff2"), url("fonts/vernacular-regularitalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "vernacularsemibold";
  src: url("fonts/vernacular-semibold-webfont.woff2") format("woff2"), url("fonts/vernacular-semibold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?qvl4aa");
  src: url("fonts/icomoon.eot?qvl4aa#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?qvl4aa") format("truetype"), url("../fonts/icomoon.woff?qvl4aa") format("woff"), url("../fonts/icomoon.svg?qvl4aa#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
[class^=icon-],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-menu:before {
  content: "";
}

.icon-cross:before {
  content: "";
}

.icon-facebook:before {
  content: "";
}

.icon-twitter:before {
  content: "";
}

.icon-instagram:before {
  background-image: url("https://freepngimg.com/save/62368-computer-instagram-icons-free-photo-png/16x16");
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  padding: 0.2em 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "vernacularregular", Helvetica, Arial, sans-serif;
  margin: 0;
  color: #001020;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

.article-list {
  margin-top: 2rem;
}

.single-article.single-page .article-wrapper .article-details {
}
.single-article .featured-image {
  min-height: 58vh;
  width: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.single-article .article-wrapper {
  max-width: 80vw;
  flex-wrap: wrap;
  word-wrap: break-word;
  width: 100%;
  margin: auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
.single-article .article-wrapper .article-details {
  margin-top: 4rem;
  flex-wrap: wrap;
  word-wrap: break-word;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f2f1f1;
  margin-bottom: 2rem;
}
.single-article .article-wrapper .article-details h1 {
  font-size: 2.275rem;
  margin-bottom: 1rem;
}
.single-article .article-wrapper .article-details p {
  font-size: 0.875rem;
}
.single-article .article-wrapper .article-content {
  padding-bottom: 2rem;
  flex-wrap: wrap;
  word-wrap: break-word;
	
}
.single-article .article-wrapper .article-content ul,
.single-article .article-wrapper .article-content ol {
  padding-left: 0;
  list-style-position: inside;
  padding-left: 20px;
}
.single-article .article-wrapper .article-content ul ul,
.single-article .article-wrapper .article-content ol ol,
.single-article .article-wrapper .article-content ul ol,
.single-article .article-wrapper .article-content ol ul {
  padding-left: 20px;
}
.single-article .article-wrapper .article-content img {
  /*width: 100%;
  height: auto;*/
}
.alignleft {
  float: left;
  margin: .75em 1.5em .75em 0;
}
.alignright {
  float: right;
  margin: .75em 0 .75em 1.5em;
}
.single-article .article-wrapper .article-tags {
  margin-bottom: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #f2f1f1;
}
.single-article .article-wrapper .article-tags .title {
  display: inline;
  font-size: 0.875rem;
}
.single-article .article-wrapper .article-tags a {
  color: #001020;
  font-size: 0.875rem;
  text-decoration: none;
}
.single-article .article-wrapper .article-tags a:hover {
  text-decoration: underline;
}

.contact-page {
  margin: 4rem 0;
  padding: 0 1rem;
}
.contact-page .details p {
  margin-bottom: 0.25rem;
}
.contact-page .details a {
  color: #001020;
  text-decoration: none;
}
.contact-page .details a:hover {
  text-decoration: underline;
}
.contact-page .title {
  width: 84px;
  display: inline-block;
}

.map img {
  width: 100%;
  display: block;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flex-row.justify-normal {
  justify-content: flex-start;
}
.flex-row.align-center {
  align-items: center;
}
.flex-row.flex-end {
  justify-content: flex-end;
}
.flex-row .flex-25 {
  flex: 0 1 24%;
}
.flex-row .flex-30 {
  flex: 0 1 32%;
}
.flex-row .flex-50 {
  flex: 0 1 50%;
	 height: calc(100vh - 108px);
    overflow-y: auto;
}
.flex-row .flex-60 {
  flex: 0 1 66.66%;
}
.flex-row .flex-80 {
  flex: 0 1 80%;
}

.center {
  text-align: center;
}

ul.normalise {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-family: "vernacularsemibold";
}

h1 {
  font-size: 1.685rem;
  line-height: 1.25;
}
h1.title {
  max-width: 568px;
  margin: auto;
  margin-bottom: 1.375rem;
}
h1.small {
  text-transform: uppercase;
  font-size: 1.0625rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

p, li span {
  font-size: 1.0625rem;
  line-height: 1.5;
}
p.large {
  font-size: 1.3125rem;
}

a {
  text-decoration: underline;
  color: #0055aa;
}
a:hover {
  color: #002b55;
}

blockquote {
  margin: 1rem 1rem;
  font-size: 1.25rem;
  position: relative;
  padding-left: 1rem;
}

blockquote:before{
		content: "";
  background-color: #0055aa;
  width: 5px;
  left: -1rem;
  top: 0;
  position: absolute;
	height: 100%;

}

figure.wp-block-pullquote:before {
   display: block;
    content: "\201C";
    font-size: 80px;
    position: relative;
    left: -10px;
    top: -10px;
    color: #7a7a7a;
	}

.wp-block-pullquote:after {
   display: block;
    content: "\201D";
    font-size: 80px;
    position: relative;
    right: -10px;
    bottom: -10px;
    color: #7a7a7a;
	
}

figure.wp-block-pullquote blockquote:before{
	opacity:0;
	background-color: black;
}

.wp-block-pullquote cite {
    color: inherit;
	display: none;
}

figure.wp-block-pullquote {
    padding: 0;
	margin-left: 0;
    margin-right: 0;
    text-align: center;   
	display: inline-flex;
 
}

iframe#paperli-frame-1 {
    height: 100%;
    width: 100%;
}
 
.sign-up-form {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sign-up-form input, .single-article .article-wrapper .article-content input {
  margin: 0;
  padding: 0 1rem;
 /* -webkit-appearance: none;*/
  height: 40px;
  border: 1px solid #f2f1f1;
  display: inline-block;
  font-size: 1.0625rem;
  color: #0055aa;
  transition: ease all 0.2s;
}
.sign-up-form input::placeholder, .single-article .article-wrapper .article-content input::placeholder {
  color: #b3b3b3;
}
.sign-up-form input:focus, .sign-up-form input:active, .single-article .article-wrapper .article-content input:focus {
  border: 1px solid #0055aa;
  outline: none;
}
.sign-up-form button {
  -webkit-appearance: none;
  font-size: inherit;
}

.single-article .article-wrapper .article-content input[type='submit'] {
  background-color: #0055aa;
  color: #fff;
  padding: 0.75rem 1.875rem;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #0055aa;
  transition: ease all 0.2s;
  display: inline-block;
  cursor: pointer;
  line-height: 1;
  font-family: "vernacularsemibold";
}
hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}
.single-article .article-wrapper .article-content input[type='submit']:hover {
  background-color: #002b55;
  color: #fff;
  border: 1px solid #002b55;
}
div#ws-plugin--s2member-profile-saved {
  background: #8de48d;
  padding: 1rem;
}
.contact-form input,
.contact-form textarea {
  margin: 0;
  padding: 0 1rem;
 /* -webkit-appearance: none;*/
  height: 40px;
  border: 1px solid #f2f1f1;
  display: block;
  width: 100%;
  font-size: 1.0625rem;
  color: #0055aa;
  transition: ease all 0.2s;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b3b3b3;
}
.contact-form input:focus, .contact-form input:active,
.contact-form textarea:focus,
.contact-form textarea:active {
  border: 1px solid #0055aa;
  outline: none;
}
.contact-form button {
  float: right;
}
.contact-form textarea {
  height: 150px;
  padding: 1rem;
}
.contact-form button {
  -webkit-appearance: none;
  font-size: inherit;
}
.donate-button {
  display: inline-block;
}
.donate-button .button {
  font-size: 1rem;
	
}

.button {
  background-color: #0055aa;
  color: #fff;
  padding: 0.75rem 1.875rem;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #0055aa;
  transition: ease all 0.2s;
  display: inline-block;
  cursor: pointer;
  line-height: 1;
  font-family: "vernacularsemibold";
}
.button.small {
  padding: 0.75rem 1rem;
	margin-right: 0.25rem;
}
.button:hover {
  background-color: #002b55;
  color: #fff;
  border: 1px solid #002b55;
}
.button.inverse {
  background-color: #fff;
  color: #0055aa;
}
.button.inverse:hover {
  background-color: #002b55;
  color: #fff;
  border: 1px solid #002b55;
}
.button.inverse.no-border {
  border: 1px solid #fff;
}

.filter-toggle {
  margin-left: 1rem;
  font-size: 1.2rem;
  font-family: "vernacularregular";
  position: relative;
  cursor: pointer;
}
.filter-toggle:after {
  content: "+";
  position: absolute;
  right: -20px;
  font-size: 1.5rem;
  font-family: "vernacularsemibold";
  line-height: 1;
  top: 1px;
}
.filter-toggle.active:after {
  content: "";
  width: 10px;
  height: 3px;
  background-color: #001020;
  top: 12px;
  right: -19px;
}

.filter-group {
  display: none;
  margin-top: 2rem;
}
.filter-group .inner {
  padding: 2rem;
  border: 1px dashed #f2f1f1;
}
.filter-group .facetwp-checkbox {
  margin-bottom: 0.5rem;
}
.filter-group .facetwp-checkbox:last-of-type {
  margin-bottom: 0;
}
.filter-group .label {
  font-size: 1.25rem;
  font-family: "vernacularsemibold";
  margin-bottom: 1rem;
}

.button-group {
  display: inline-flex;
  margin-top: 0.5rem;
}
.button-group .button:first-of-type {
    display: inline-flex;
	margin-right: 0.25rem;
}

.navigation {
  height: 108px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f2f1f1;
  position: relative;
  background-color: #fff;
  z-index: 1;
}
.navigation .wrapper {
  align-items: center;
  padding: 0 1rem;
  flex-wrap: nowrap;
}
.navigation .logo {
  width: 200px;
  height: 55px;
}
.navigation .links {
  align-items: center;
}
.navigation .links ul > li {
  margin-right: 2.3rem;
  padding: 5px 0.7rem 5px 0;
}
.navigation .links ul.sub-menu li {
  margin-right: 0;
}
.navigation .links ul li:last-of-type {
  margin-right: 0;
}
.navigation .links ul li.menu-item-has-children {
  position: relative;
  cursor: pointer;
}
.navigation .links ul li.menu-item-has-children:after {
  content: "›";
  position: absolute;
  right: 0;
  top: 5px;
  transform: rotate(90deg);
  font-family: "vernacularsemibold";
}
.navigation .links ul li.menu-item-has-children ul > li.menu-item-has-children:after {
  top: 0;
}
.navigation .links ul li.menu-item-has-children:hover {
  text-decoration: underline;
}
.navigation .links ul li.menu-item-has-children:hover:before {
  content: "";
  height: 30px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 30px;
}
.navigation .links ul li.menu-item-has-children:hover > ul {
  opacity: 1;
  top: 50px;
  pointer-events: all;
}
.navigation .links ul li.menu-item-has-children > ul {
  position: absolute;
  left: 0;
  top: 40px;
  background-color: white;
  width: 220px;
  border: 1px solid #f2f1f1;
  padding: 20px;
  opacity: 0;
  transition: ease all 0.1s;
  pointer-events: none;
  list-style: none;
  margin: 0;
}
.navigation .links ul li.menu-item-has-children > ul li {
  padding: 0;
  margin-bottom: 10px;
}
.navigation .links ul li.menu-item-has-children > ul li:last-of-type {
  margin-bottom: 0;
}
.navigation .links ul li.menu-item-has-children > ul li a {
  font-family: "vernacularregular";
  font-weight: normal;
}


.navigation .links ul li.menu-item-has-children ul > li > ul {
  opacity: 0;
  pointer-events: none;
}

.navigation .links ul li.menu-item-has-children ul > li.menu-item-has-children:hover > ul {
  opacity: 1;
  top: 0;
  pointer-events: all;
  right: calc(-100% - 55px);
  left: auto;
}
.navigation .links ul li.menu-item-has-children > ul > li > ul {
  position: absolute;
  right: calc(-100% - 35px);
  left: auto;
  top: 0;
  background-color: white;
  width: 220px;
  border: 1px solid #f2f1f1;
  padding: 20px;
  opacity: 0;
  transition: ease all 0.1s;
  pointer-events: none;
  list-style: none;
  margin: 0;
}
.navigation .links ul li.menu-item-has-children ul > li.menu-item-has-children:hover > ul:before {
  content: '';
  left: -30px;
  width: 30px;
  height: 100%;
  position: absolute;
  top: 0;
}
.navigation .links ul li.menu-item-has-children ul > li.menu-item-has-children:hover > ul:after {
  content: '';
  left: -30px;
  top: -30px;
  height: 30px;
  position: absolute;
  width: 100%;
}
.navigation .links ul li.menu-item-has-children > ul > li > ul li {
  padding: 0;
  margin-bottom: 10px;
}
.navigation .links ul li.menu-item-has-children > ul > li > ul li:last-of-type {
  margin-bottom: 0;
}




.navigation .links ul a {
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: "vernacularsemibold";
}
.navigation .links ul a:hover {
  text-decoration: underline;
}
.navigation .links .socials {
  margin-left: 2rem;
  display: flex;
  align-items: center;
}
.navigation .links .socials a {
  padding: 0.5rem;
  text-decoration: none;
  color: #001020;
  transition: ease all 0.2s;
  font-size: 1.1rem;
}
.navigation .links .socials a:hover {
  color: #0055aa;
}
.navigation .links .other-links {
  margin-left: 2.4rem;
}
.navigation .links .other-links.button-group {
  margin-top: 0;
}

.mobile-navigation {
  display: none;
  height: 50px;
  padding: 0 1rem;
  box-sizing: border-box;
  border-bottom: 1px solid #f2f1f1;
}
.mobile-navigation .inner {
  align-items: center;
}
.mobile-navigation .logo {
  width: 140px;
  height: 20px;
  /*background-color: #0055aa;*/
}
.mobile-navigation .hamburger {
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin-right: -1rem;
  color: #001020;
}
.mobile-navigation .hamburger.active .icon-menu {
  display: none;
}
.mobile-navigation .hamburger.active .icon-cross {
  display: block;
}
.mobile-navigation .hamburger .icon-menu {
  margin-left: 10px;
  margin-top: 10px;
  font-size: 30px;
}
.mobile-navigation .hamburger .icon-cross {
  display: none;
  margin-left: 13px;
  margin-top: 13px;
  font-size: 24px;
}
.mobile-navigation .menu {
  display: none;
  z-index: 3;
  background: #001020;
  position: absolute;
  width: 100%;
  left: 0;
  top: 50px;
  padding: 2rem;
  box-sizing: border-box;
}
.mobile-navigation .menu a {
  color: #fff;
  text-decoration: none;
  font-family: "vernacularsemibold";
}
.mobile-navigation .menu a:hover {
  text-decoration: underline;
}
.mobile-navigation .menu li {
  width: 100%;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.mobile-navigation .menu li.menu-item-has-children ul {
  padding-left: 2rem;
}
.mobile-navigation .menu li.menu-item-has-children ul li {
  font-size: 1.15rem;
  margin-bottom: 0;
  position: relative;
}
.mobile-navigation .menu li.menu-item-has-children ul li:before {
  content: "";
  width: 10px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: -1.5rem;
  top: 12px;
}
.mobile-navigation .menu li.menu-item-has-children ul li a {
  font-family: "vernacularregular";
}

.mobile-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  left: 0;
  top: 50px;
  height: calc(100% - 50px);
  width: 100%;
  z-index: 2;
  opacity: 0;
  transition: ease all 0.2s;
  pointer-events: none;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.container {
  max-width: 1600px !important;
  width: 100%;
  margin: auto;
  padding: 0 !important;
}

.duel-banner {
  height: calc(100vh - 108px);
  position: relative;
}
.duel-banner .left .inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.duel-banner .left .inner .wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  height: calc(100% - 120px);
  padding: 0 1rem;
}
.duel-banner .left .inner .wrapper .child {
  max-width: 280px;
}

.gallery {
  height: 100%;
}
.gallery .flickity-prev-next-button {
  background-color: #0055aa;
  background-size: 20px 25px;
  background-position: 12px 12px;
  background-image: url("./images/chevron.svg");
  background-repeat: no-repeat;
  border-radius: 0;
  padding: 0;
  height: 42px;
  width: 42px;
  bottom: 99px;
  top: auto;
  transition: ease all 0.2s;
}
.gallery .flickity-prev-next-button:hover {
  background-color: #002b55;
}
.gallery .flickity-prev-next-button.previous {
  left: 0;
  transform: rotate(180deg);
  bottom: 120px;
}
.gallery .flickity-prev-next-button.next {
  right: 0;
}
.gallery .flickity-viewport,
.gallery .flickity-slider {
  height: 100% !important;
}
.gallery ol.flickity-page-dots {
  display: flex;
  justify-content: center;
  height: auto;
  bottom: 60px;
  width: 100%;
}
.gallery ol.flickity-page-dots li.dot {
  width: 7px;
  height: 7px;
  margin-right: 0;
  opacity: 1;
  background-color: transparent;
  border: 1px solid #fff;
}
.gallery ol.flickity-page-dots li.dot.is-selected {
  background-color: #fff;
}
.gallery svg {
  display: none;
}
.gallery .cell {
  width: 100%;
  height: 100%;
  padding: 0 1rem 120px 1rem;
  box-sizing: border-box;
  background-color: #001020;
  background-size: cover;
  background-position: 50% 50%;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
}
.gallery .cell h1 {
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.gallery .cell .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: #0254aa;*/
  background-color: rgb(2, 84, 170, 0.9);
  background-image: url(www.rationalist.com.au/wp-content/uploads/2019/05/picture-overlay.png);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: 50% 50%;
}
.gallery .cell .inner {
  max-width: 380px;
}
.gallery .cell .inner > * {
  position: relative;
}

.grey-background {
  background-color: #f8f8f8;
}

.callout-row {
  padding: 4.6875rem 1rem;
  position: relative;
}

.callout-row.half-width {
  padding: 4.6875rem 1rem;
	max-width: 50%;
  position: relative;
	margin:auto;
	
}
.callout-row.is-last {
  padding-bottom: 1rem;
}
.callout-row.with-top-border:before {
  content: "";
  height: 1px;
  max-width: 620px;
  width: 100%;
  background-color: #f2f1f1;
  position: absolute;
  top: 0;
  left: calc(50% - 310px);
}

.latest-articles,
.archive-wrapper {
  padding: 3.125rem 1rem;
}
.latest-articles .single,
.archive-wrapper .single {
  text-decoration: none;
  color: inherit;
}
.latest-articles .single:hover,
.archive-wrapper .single:hover {
  color: #0055aa;
}

.article-preview .label {
  margin-top: 2rem;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
}
.article-preview .preview {
  margin-bottom: 0.3rem;
}
.article-preview .byline {
  font-size: 0.75rem;
  margin-bottom: 0;
}
.article-preview .image {
  position: relative;
  padding-top: 60%;
  background-color: #001020;
}
.article-preview .image .light-overlay {
  
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  /*background-color: rgb(2, 84, 170, 0.75); 
	background-color: #0254aa; 
	background-image: url(www.rationalist.com.au/wp-content/uploads/2019/05/picture-overlay.png);
  background-blend-mode: multiply;*/
}
.article-preview img {
  width: 100%;
  display: block;
}

.archive-wrapper .single {
  margin-bottom: 3rem;
}
.archive-wrapper .search-wrapper {
  margin-top: 2rem;
}
.archive-wrapper input {
  margin: 0;
  padding: 0 1rem;
  -webkit-appearance: none;
  height: 40px;
  border: 1px solid #f2f1f1;
  display: inline-block;
  font-size: 1.0625rem;
  color: #0055aa;
  transition: ease all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.archive-wrapper input::placeholder {
  color: #b3b3b3;
}
.archive-wrapper input:focus, .archive-wrapper input:active {
  border: 1px solid #0055aa;
  outline: none;
}
.archive-wrapper button {
  -webkit-appearance: none;
  font-size: inherit;
}

.pagination {
  margin: 1rem 2rem;
  padding: 0 1rem;
}
.pagination, .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination .current {
  font-family: "vernacularregular";
  color: #001020;
  text-decoration: none;
  padding: 0.5rem;
}
.pagination a.is-active {
  padding: 0.5rem;
}
.pagination a:last-of-type {
  margin-right: 0;
}
.pagination {
  padding: 0.5rem;
}
.pagination a {
  font-family: "vernacularbold";
  color: #001020;
  text-decoration: none;
  padding: 0.5rem;
}
.pagination a:hover {
  text-decoration: underline;
}

.footer {
  padding: 4.6875rem 1rem;
}
.footer .footer-sitemap {
  max-width: 820px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
.footer .footer-sitemap li {
  margin-bottom: 0.3rem;
}
.footer .footer-sitemap > li > a {
  font-weight: bold;
  margin-bottom: 0.3rem;
  display: block;
}
.footer .footer-sitemap > li > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .sitemap li:first-of-type p {
  margin-bottom: 0;
}
.footer .sitemap li:not(:first-of-type) {
  font-size: 0.9375rem;
}
.footer .footer-sitemap a {
  color: #001020;
  text-decoration: none;
}
.footer .sitemap a:hover {
  text-decoration: underline;
}
.footer .copyright {
  padding-top: 4.6875rem;
  font-size: 0.75rem;
}

@media screen and (max-width: 968px) {
  .navigation .links ul.main-menu > li:last-of-type {
    display: none;
  }

  .navigation .links ul.main-menu > li:nth-last-of-type(2) {
    margin-right: 0;
  }

  .flex-25 {
    flex: 0 1 32%;
  }
}
@media screen and (max-width: 840px) {
  .navigation .links ul.main-menu > li:nth-last-of-type(2) {
    display: none;
  }

  .navigation .links ul.main-menu > li:nth-last-of-type(3) {
    margin-right: 0;
  }
}
@media screen and (min-width: 769px) {
  .mobile-overlay {
    display: none;
  }
  .mobile-overlay.active {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .footer .footer-sitemap > li {
    flex: 0 1 50%;
    width: 50%;
  }

  .footer .footer-sitemap > li > ul {
    margin-bottom: 1rem;
  }

  .footer .footer-sitemap {
    flex-wrap: wrap;
  }

  .navigation {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .flex-row .flex-30,
.flex-row .flex-25 {
    flex: 0 1 48.5%;
  }

  .article-preview {
    margin: 0;
  }
  .article-preview:last-of-type {
    display: none;
  }

  .sitemap .flex-30 {
    flex: 0 1 31%;
  }

  .duel-banner {
	height: 90%;
  }
  .duel-banner .gallery {
    height: calc(100vh - 50px);
   
  }
  .duel-banner .flex-50 {
    flex: 0 1 100%;
	  
  }
  .duel-banner .left {
    order: 2;
    text-align: center;
	     
  }
  .duel-banner .left .inner {
    position: relative;
  }
  .duel-banner .left .inner .wrapper {
    height: auto;
    padding: 4.6875rem 1rem;
    box-sizing: border-box;
  }
  .duel-banner .left .inner .wrapper .child {
    max-width: 100%;
  }
}
@media screen and (max-width: 414px) {
  .sign-up-form input {
    width: 100%;
  }
  .alignright, .alignleft {
    float: none;
    width: 100%;
    margin: 1rem 0;
    height: auto;
  }
  .pagination {
    margin-top: 4rem;
    margin-bottom: 1rem;
  }

  .flex-row .flex-30,
.flex-row .flex-25 {
    flex: 0 1 100%;
  }

  .article-preview {
    margin-bottom: 2rem;
  }
  .article-preview:last-of-type {
    display: block;
    margin-bottom: 0;
  }

  .callout-row {
    padding: 3rem 1rem;
  }

  .footer {
    padding: 2rem 1rem 2rem;
  }
  .footer .sitemap {
    display: none;
  }
  .footer .copyright {
    padding-top: 0;
  }

  .single-article .article-wrapper .article-details h1 {
    font-size: 2rem;
  }

  .single-article .article-wrapper .article-content {
    padding-bottom: 1rem;
  }

  .single-article .article-wrapper .article-content input {
    padding-bottom: 1rem;
  }

  .callout-row.with-top-border:before {
    max-width: 100%;
    width: calc(100% - 2rem);
    left: 1rem;
  }
	
	.callout-row.half-with-top-border {
    max-width: 50%;
    width: calc(100% - 2rem);
    left: 1rem;
  }

  .footer .footer-sitemap {
    display: none;
  }

  .single-article .article-wrapper .article-details {
    margin-top: 2rem;
  }

  .flex-row .flex-50 {
    flex: 0 1 100%;
  }

  .filter-group {
    margin-top: 1rem;
  }

  .filter-toggle {
    margin-top: 1rem;
  }

  .contact-form {
    margin-top: 3rem;
  }

  .contact-page {
    margin-bottom: 3rem;
  }
	
	.masonry {
    margin: 0em 0;
    padding: 0;
    -moz-column-gap: 0em;
    -webkit-column-gap: 0em;
    column-gap: 0em;
    font-size: 0em;
}
.item {
    display: inline-block;
    background: #fff;
    padding: 0px;
    padding: 0;
    margin: 0 0 0 0;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.item:hover {
    background-color: black;
    opacity: 0.2;
}
.item img {
    width: 100%;
    height: auto;
}
.item img.attachment-post-thumbnail {
    width: 100%;
}
@media only screen and (min-width: 400px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}
@media only screen and (min-width: 700px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 900px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1100px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1280px) {
    .wrapper {
        width: 1260px;
    }
}
/* Post Thumbnail Grid */

.gridcontainer h2 a{overflow: hidden; color: #333; font-size: 13px;}
.gridcontainer .griditemleft{overflow: hidden; float: left; max-width: 150px; max-height: 150px; margin: 0 30px 20px 0;}
.gridcontainer .griditemright{overflow: hidden; float: left; max-width: 150px; max-height: 150px}
.gridcontainer .postimage{overflow: hidden; margin: 0 0 5px 0; max-width: 150px; max-height: 150px}
.gridcontainer .postimage-title {text-align: center;}
}
