/* fonts */
@import url("https://fonts.googleapis.com/css?family=Almendra&display=swap");
@import url("https://fonts.googleapis.com/css?family=Forum&display=swap");
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:300,400,500,700&display=swap");
@font-face {
  font-family: "Gadugi", serif;
  src: url("/wp-content/themes/graphedia-base-theme/assets/fonts/Gadugi-Bold.ttf")
    format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Gadugi", serif;
  src: url("/wp-content/themes/graphedia-base-theme/assets/fonts/Gadugi.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "OneTrickTony";
  src: url("/wp-content/themes/graphedia-base-theme/assets/fonts/OTTTRIAL.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px !important;
  }
}

.page-heading {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
img {
  /* width: 100%; */
  height: auto;
}
.no-padding {
  padding: 0;
}

.bold {
  font-weight: 800;
}

.npr {
  padding-right: 0;
}

.npl {
  padding-left: 0;
}

/*
header
 */
.header-wrapper {
  width: 100%;
}
.header-inner {
  /* margin-top: 4px; */
}
.site-branding {
}

.site-branding img.site-logo {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.site-branding img.sticky-logo {
  visibility: hidden;
  height: 0;
  transition: 0.2s;
}

/* .is-sticky .site-branding img.site-logo {
    visibility: hidden;
    height: 0;
} */

/* .is-sticky .site-branding img.sticky-logo {
    visibility: visible;
    width: 70%;
    height: auto;

}

.is-sticky .site-header {
    box-shadow: -1px 9px 5px -4px rgba(0, 0, 0, 0.49);
} */

.main-title {
  background: #eee;
  padding: 20px;
  margin-bottom: 20px;
}
.main-title.white {
  background: white;
}

.main-title h1.page-title {
}

.breadcrumb {
  background-color: #eee;
  margin-top: 20px;
  margin-left: 0;
  padding-left: 0;
}

.home-content {
  padding-top: 40px;
  padding-bottom: 40px;
}

.home-blog {
  padding-top: 80px;
  padding-bottom: 80px;
  background-size: cover;
  background-repeat: no-repeat;
  /* color: #fff; */
  background: #f3f3f3;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-blog h1,
.home-blog p {
  /* color: #fff; */
}

.home-section {
  background-color: #eeeeee;
  padding-top: 40px;
  padding-bottom: 40px;
}

/*
Bx Banner
 */
.home-banner {
  padding: 0;
  margin: 0;
}

.slider-wrapper {
  width: 100%;
  position: relative;
}

.banner-content {
  position: absolute;
  width: 100%;
  left: 0;
  top: 30%;
  z-index: 99;
  height: 100%;
  display: block;
  animation: fadein 0.5s ease-in-out;
}

.video-overlay {
  background-image: url("../images/gridtile.png");
  background-repeat: repeat;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  overflow: hidden;
}

.slider-wrapper .bx-wrapper {
  padding: 0;
  margin: 0;
}

.slider-wrapper .bx-wrapper img.main-img {
  width: 100%;
  height: auto;
}

.slider-wrapper .bx-pager {
  position: absolute;
  width: 100%;
  bottom: 50px;
}

.slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a.active,
.slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a:focus,
.slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a:hover {
  background: #1074bc;
}

/*
Cards
 */

.card {
}

.card .card-inner,
.voucher-card .card-inner {
  box-shadow: 0px 3px 17px 7px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin-bottom: 15px;
}

.card .card-inner .entry,
.voucher-card .card-inner .entry {
  margin-bottom: 20px;
}

.card .card-inner.entry-thumb,
.card .card-inner .entry-text,
.voucher-card .card-inner.entry-thumb,
.voucher-card .card-inner .entry-text {
}

.card .card-inner .entry-thumb,
.voucher-card .card-inner .entry-thumb {
  position: relative;
  overflow: hidden;
}

.card .card-inner .entry-thumb .thumb-link img,
.voucher .card-inner .entry-thumb .thumb-link img {
  vertical-align: bottom;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.card .card-inner .entry-thumb .thumb-link::before,
.voucher-card .card-inner .entry-thumb .thumb-link::before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.card .card-inner .entry-thumb .thumb-link::after,
.voucher-card .card-inner .entry-thumb .thumb-link::after {
  content: "...";
  font-size: 4.5rem;
  z-index: 1;
  display: block;
  height: 90px;
  width: 90px;
  letter-spacing: -2.6px;
  line-height: 90px;
  margin-left: -45px;
  margin-top: -45px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}

.card .card-inner .entry-thumb:hover .thumb-link::before,
.voucher-card .card-inner .entry-thumb:hover .thumb-link::before {
  opacity: 1;
  visibility: visible;
}

.card .card-inner .entry-thumb:hover .thumb-link::after,
.voucher-card .card-inner .entry-thumb:hover .thumb-link::after {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.card .card-inner .entry-thumb:hover .thumb-link img,
.voucher-card .card-inner .entry-thumb:hover .thumb-link img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.card .card-inner .entry-text,
.voucher-card .card-inner .entry-text {
  padding: 9px;
  background-color: white;
}

.card .card-inner .entry-header .entry-title,
.voucher-card .card-inner .entry-header .entry-title {
  font-size: 20px;
  line-height: 1.32;
  margin-bottom: 1.8rem;
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card .entry-excerpt,
.voucher-card .entry-excerpt {
  min-height: 90px;
}

.card .card-inner.entry-header .entry-meta,
.voucher-card .card-inner.entry-header .entry-meta {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.card .event-date,
.vouchercard .event-date {
  position: absolute;
  top: 5px;
  left: 15px;
  width: 80px;
  background: #fff;
  z-index: 55;
}

.card .event-date .day,
.voucher-card .event-date .day {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  display: block;
  color: #053762;
}

.card .event-date .day sup,
.voucher-card .event-date .day sup {
  font-size: 15px;
}

.card .event-date .month,
.voucher-card .event-date .month {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: block;
  color: #053762;
}

/*Back to top*/
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 30px;
  background: #007cba;
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  opacity: 0;
}

#back-to-top:hover {
  background: #e9ebec;
}

#back-to-top.show {
  opacity: 1;
}

footer.site-footer .widget h2.widget-title {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 30px;
}

/*
Widgets
 */
#secondary .widget ul,
#colophon .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/*
Content
 */

/*
News Widget
 */

.latest-news .blog-img {
  padding: 0;
}

.latest-news .post-title h3 {
  margin-top: 0;
}

.latest-news .date {
  font-size: 12px;
}

.latest-news .date::before {
  font-family: FontAwesome;
  content: "\f073";
  margin-right: 8px;
}

/* ===================================================================
 *  Blog
 *
 * ------------------------------------------------------------------- */
.posted-on time::before {
  font-family: FontAwesome;
  content: "\f073";
  margin-right: 3px;
}

body.blog .content-area {
  background: #eee;
}

body.greyscale {
  filter: grayscale(1);
}

#bricks {
  padding-top: 4.2rem;
}

#bricks .masonry {
  max-width: 1200px;
}

#bricks .pagination {
  margin-top: 6rem;
}

#bricks.with-top-sep {
  position: relative;
}

#bricks.with-top-sep::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -100px;
  width: 200px;
  height: 1px;
  background-color: #d1d1d1;
}

.bricks-wrapper:before,
.bricks-wrapper:after {
  content: "";
  display: table;
}

.bricks-wrapper:after {
  clear: both;
}

.bricks-wrapper .grid-sizer,
.bricks-wrapper .brick {
  width: 33.33333%;
}

.bricks-wrapper .brick {
  float: left;
  padding: 0 20px;
}

.bricks-wrapper .featured-grid {
  width: 50%;
}

.bricks-wrapper .featured-grid .entry-content {
  width: 100%;
  background: #151515;
}

@media only screen and (max-width: 1280px) {
  .bricks-wrapper .grid-sizer,
  .bricks-wrapper .brick {
    width: 33.33333%;
  }

  .bricks-wrapper .featured-grid {
    width: 66.66667%;
  }
}

@media only screen and (max-width: 1024px) {
  .bricks-wrapper .brick {
    padding: 0 18px;
  }
}

@media only screen and (max-width: 960px) {
  .bricks-wrapper .grid-sizer,
  .bricks-wrapper .brick {
    width: 50%;
  }

  .bricks-wrapper .featured-grid {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .bricks-wrapper .brick {
    padding: 0 15px;
  }
}

@media only screen and (max-width: 600px) {
  #bricks .row {
    max-width: 460px;
  }

  .bricks-wrapper .grid-sizer,
  .bricks-wrapper .brick {
    width: 100%;
    padding: 0 10px;
    clear: both;
  }
}

@media only screen and (max-width: 400px) {
  .bricks-wrapper .brick {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
}

.js .animate-this {
  opacity: 0;
}

.oldie .animate-this .no-cssanimations .animate-this {
  opacity: 1;
}

.bricks-wrapper .entry {
  margin-bottom: 40px;
}

.bricks-wrapper .entry-thumb,
.bricks-wrapper .entry-text {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

.bricks-wrapper .entry-thumb {
  position: relative;
  overflow: hidden;
}

.bricks-wrapper .entry-thumb .thumb-link img {
  vertical-align: bottom;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.bricks-wrapper .entry-thumb .thumb-link::before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.bricks-wrapper .entry-thumb .thumb-link::after {
  content: "...";
  font-size: 4.5rem;
  z-index: 1;
  display: block;
  height: 90px;
  width: 90px;
  letter-spacing: -2.6px;
  line-height: 90px;
  margin-left: -45px;
  margin-top: -45px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}

.bricks-wrapper .entry-thumb:hover .thumb-link::before {
  opacity: 1;
  visibility: visible;
}

.bricks-wrapper .entry-thumb:hover .thumb-link::after {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.bricks-wrapper .entry-thumb:hover .thumb-link img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.bricks-wrapper .entry-text {
  padding: 1.8rem 2.8rem 3.6rem;
  background-color: white;
}

.bricks-wrapper .entry-header .entry-title {
  font-size: 2.5rem;
  line-height: 1.32;
  margin-bottom: 1.8rem;
}

.bricks-wrapper .entry-header .entry-title a,
.bricks-wrapper .entry-header .entry-title a:visited {
  color: #000000;
}

.bricks-wrapper .entry-header .entry-meta {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.bricks-wrapper .entry-header .entry-meta a,
.bricks-wrapper .entry-header .entry-meta a:visited {
  color: #000000;
}

.bricks-wrapper .entry-header .cat-links a:last-child::after {
  display: none;
}

.bricks-wrapper .entry-excerpt {
  font-size: 1.5rem;
  line-height: 2.7rem;
  color: #999999;
}

.blog-single .post-thumb img {
  width: 100%;
  height: auto;
}
.blog-single .entry-meta {
  font-size: 1.5rem;
  list-style: none;
  margin-left: 0;
  margin-bottom: 8px;
  margin-top: 8px;
  color: #999999;
}

.blog-single .entry-meta a,
.blog-single .entry-meta a:visited {
  color: #000000;
}

.blog-single .entry-meta li {
  display: inline-block;
  padding-left: 0;
}

.blog-single .entry-meta .date {
  margin-right: 1rem;
}

.blog-single .entry-meta .cat a {
  margin-right: 5px;
}

.blog-single .entry-meta .cat a:last-child {
  margin-right: 0;
}

.blog-single .entry-meta .cat a::after {
  content: ",";
}

.blog-single .entry-meta .cat a:last-child::after {
  content: none;
}

.blog-single .tags {
  margin: 6rem 0 4.2rem;
}

.blog-single .tags span {
  color: #151515;
  margin-right: 1rem;
  font-size: 1.5rem;
}

.blog-single .tags a {
  color: #999999;
  margin-right: 1rem;
}

.blog-single .author-profile {
  margin-top: 9rem;
  padding-left: 9rem;
  position: relative;
}

.blog-single .author-profile a,
.blog-single .author-profile a:visited {
  color: #000000;
}

.blog-single .author-profile img {
  margin: 0.6rem 0 0 0 !important;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
}

.blog-single .author-profile p {
  margin-bottom: 1.2rem;
}

.blog-single .author-profile .author-social {
  list-style: none;
  margin-left: 0;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.blog-single .author-profile .author-social li {
  display: inline-block;
  margin-right: 0.8rem;
  padding-left: 0;
}

.blog-single .author-profile .author-social a {
  color: #999999;
}

.blog-single .pagenav {
  padding-top: 1.5rem;
  margin: 12rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-single .pagenav div {
  padding-top: 1.5rem;
  float: left;
  width: 50%;
}

.blog-single .pagenav a {
  font-size: 2.1rem;
  line-height: 1.571;
  border: none;
  color: #000000;
}

.blog-single .pagenav a span {
  font-size: 1.5rem;
  line-height: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  color: #999999;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.blog-single .pagenav a:hover span {
  color: #000000;
}

@media only screen and (max-width: 768px) {
  .blog-single .entry-meta {
    font-size: 1.5rem;
  }

  .blog-single .pagenav div {
    float: none;
    width: 100%;
  }

  .blog-single .pagenav div:first-child {
    margin-bottom: 0.9rem;
  }
}

@media only screen and (max-width: 600px) {
  .blog-single .author-profile {
    padding-left: 0;
    text-align: center;
  }

  .blog-single .author-profile img {
    position: static;
    width: 6.6rem;
    height: 6.6rem;
    margin: 0 0 0.6rem 0 !important;
  }

  .blog-single .pagenav {
    text-align: center;
  }
}

/*
Social Menu Top Nav
 */
ul#menu-social {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
}

ul#menu-social li {
  display: inline-block;
}

ul#menu-social li a span {
  display: none;
}

ul#menu-social li a::before {
  font-family: FontAwesome;
  color: #fff;
  display: inline-block;
  font-size: 21px;
  margin-left: 5px;
  margin-right: 0;
  line-height: 32px;
}

ul#menu-social li.fb a::before {
  content: "\f230";
}

ul#menu-social li.twitter a::before {
  content: "\f081";
}

ul#menu-social li.yt a::before {
  content: "\f166";
}

ul#menu-social li.email a::before {
  content: "\f199";
}

ul#menu-social li.tel a::before {
  content: "\f098";
}

/*
menu
*/
/* Main Navigation */

ul#primary-menu {
  margin: 0;
  padding: 0;
  width: 100%;
  display: inline-block;
}

ul#primary-menu > li {
  float: left;
  padding: 0;
  list-style: none;
  list-style-image: none;
  display: inline-block;
  position: relative;
}

ul#primary-menu li a {
  background: #cc1920;
  color: #ffffff;
  display: block;
  font-size: 25px;
  line-height: 30px;
  padding: 8px 0px;
  text-align: left;
  text-decoration: none;
  font-family: "Alegreya Sans SC", sans-serif;
  font-style: normal;
}

ul#primary-menu .sub-menu li a {
  /* font-size: 16px;
    padding: 0px;
    margin: 0; */
  font-size: 25px;
  line-height: 30px;
  padding: 8px 0px;
}

ul#primary-menu li.menu-item-has-children:hover ul.sub-menu {
  /* display: block;
    padding-left: 15px;
    background: rgb(7, 121, 183);
    position: absolute;
    left: 0;
    width: 0;
    opacity: 0;
    top: 0;
    transition: 1.3s; */
}
/* ul#primary-menu li.menu-item-has-children:hover ul.sub-menu {
    display: block;
    padding-left: 15px;
    background: rgb(7, 121, 183);
    position: absolute;
    left: 65%;
    width: 100%;
    opacity: 1;
    top: 0;
} */

ul#primary-menu > li.menu-item-has-children:hover {
  /* background-color: #0679b7; */
}
/* @media (min-width:992px) {
  ul#primary-menu > li.menu-item-has-children:hover .sub-menu:before {
    content: "\f054";
    font-family: FontAwesome;
    position: absolute;
    left: -15px;
    top: 10px;
    font-size: 17px;
    color: white;
    animation: animationIn 2s infinite;
  }
} */

ul#primary-menu li.menu-item-has-children:hover ul.sub-menu li {
  /* padding: 6px; */
}

ul#primary-menu > li.menu-item-has-children:after {
  /* content: "\f067";
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  top: 6px;
  color: white; */
}

@media (max-width: 992px) {
  ul#primary-menu > li.menu-item-has-children:after {
    /* content: "\f067";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 0;
    color: #047dba;
    height: 47px;
    width: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 2px solid #047dba;
    z-index: 20000; */
  }
  ul#primary-menu li.menu-item-has-children:hover ul.sub-menu {
    left: 0;
    position: relative;
  }
}

@keyframes animationIn {
  0% {
    left: -15px;
  }
  50% {
    left: -31px;
  }
  100% {
    left: -15px;
  }
}

/*
ul#primary-menu li.menu-item-has-children:hover ul.sub-menu {
    display: block;
    padding-left: 15px;
    position: absolute;
    left: 50%;
    top: 0;
} */

ul#primary-menu li.current-menu-item a,
ul#primary-menu li a:hover {
  background: #58585a;
}

ul#primary-menu > li.menu-item-has-children > a > span::after {
  /* font-family: FontAwesome;
    content: "\f0d7";
    display: block;
    float: right;
    position: absolute;
    right: 8px;
    top: 29%; */
}

ul#primary-menu > li a span {
  display: block;
}

.is-drilldown-submenu {
  visibility: hidden;
  transition: 0.3s;
  transform: translateX(100%);
}

.is-drilldown-submenu li,
.is-drilldown-submenu li a {
  display: none !important;
  visibility: hidden !important;
  transition: 0.3s;
}
.is-drilldown-submenu.is-active li,
.is-drilldown-submenu.is-active li a {
  display: block !important;
  visibility: visible !important;
}
.is-drilldown-submenu.is-active {
  visibility: visible;
}
@media (min-width: 992px) {
  .is-drilldown-submenu.is-active {
    left: 200%;
  }
  ul#primary-menu.active,
  .is-drilldown {
    overflow: visible !important;
  }
}

ul#primary-menu li ul.sub-menu {
  /* background: #007cba; */
  background: rgba(0, 124, 186, 0);
  padding: 0px 20px 10px;
}

/* ul#primary-menu li ul.sub-menu {
    display: none;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
    left: 0;
    width: 200px;
    z-index:10;
}

ul#primary-menu li.menu-item-has-children:hover ul.sub-menu {
    display: block;
} */

/*
Menu
 */
ul#primary-menu {
  /* position: absolute; */
  left: 0;
  z-index: 10;
  visibility: hidden;
  height: 0;
}
ul#primary-menu.active {
  visibility: visible;
  height: auto;
}
@media (min-width: 992px) {
  ul#primary-menu.active {
    visibility: visible;
    height: auto;
    overflow: hidden;
  }
  /* ul#primary-menu li.menu-item-has-children:hover ul.sub-menu li {
        padding: 6px;
        width: 36%;
      } */
}
ul#primary-menu > li {
  width: 100%;
}

ul#primary-menu li ul.sub-menu {
  /* position: relative;
        width: 100%; */
}
ul#primary-menu li ul.sub-menu li a span {
  margin-left: 10px;
}

.site-branding img.site-logo {
  width: 80%;
}

.site-branding .btn-mobile-toggle {
  float: right;
  top: 10px;
  position: absolute;
  right: 10px;
  border-radius: 0;
}
.site-branding .btn-mobile-toggle span:after {
  font-family: FontAwesome;
  content: "\f0c9";
}
.site-branding .btn-mobile-toggle.active span:after {
  font-family: FontAwesome;
  content: "\f00d";
}
@media (min-width: 993px) and (max-width: 1200px) {
  ul#primary-menu .sub-menu li a,
  ul#primary-menu li a {
    font-size: 20px;
  }
}
/* -------------------
  Theme
  -- STYLES
 ------------------- */
/* Global */
.container {
  position: relative;
  z-index: 1;
}

.global-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.entry-content img {
  display: inline-block;
  width: 100%;
  height: auto;
}

.site-main .entry-content ul {
  font-size: 16px;
  line-height: 30px;
  font-family: "Raleway", sans-serif;
}

.centered {
  text-align: center;
  margin: 0 auto;
}

h1,
.h1 {
  font-family: "Alegreya Sans SC", sans-serif;
  /* font-weight: bold; */
  font-size: 34px;
  color: #017cba;
}

h2,
.h2 {
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: normal;
  font-size: 26px;
  color: #017cba;
}

h3,
h4,
h5,
h6,
p {
  font-family: "Raleway", sans-serif;
}

h1.scribe,
h2.scribe,
h3.scribe,
h4.scribe,
h5.scribe,
h6.scribe,
p.scribe {
  font-family: "OneTrickTony", sans-serif;
}

h1.green,
.h1.green,
h2.green,
.h2.green,
h1.green a,
.h1.green a,
h2.green a,
.h2.green a {
  color: #017cba;
}

h1.green.dark-green,
h1.dark-green,
.dark-green,
.h1.dark-green a {
  color: #005e30 !important;
}

.word-list {
  font-size: 39.89px;
}
.word-list .smaller {
  font-size: 28.18px;
}

.text-beside {
  display: inline-block;
}
.text-beside.green {
  /* color: #009639; */
  color: #005e30;
}

@media (min-width: 1024px) {
  .text-beside-homepage {
    float: right;
  }
}

.padding-right-60 {
  padding-right: 60px;
}

.site-main p {
  font-size: 16px;
  line-height: 30px;
}
.site-main p span {
  font-family: "Raleway", sans-serif !important;
}

div#page {
  overflow: hidden;
}

/* Header */
ul#primary-menu li.current-menu-item a,
ul#primary-menu li a:hover {
  background: none;
  /* border-bottom: 3px solid #00c237; */
}
ul#primary-menu li a {
  background: none;
  transition: 0.3s;
  /* border-bottom: 3px solid rgba(#00c237,0); */
}

ul#primary-menu li a:hover {
  color: #8dd6f1;
}
@media (min-width: 769px) {
  ul#primary-menu li a:hover {
    color: #8dd6f1;
    /* transform: scale(1.3); */
    /* padding-left: 63px; */
  }
  ul#primary-menu li .sub-menu li a:hover {
    color: #8dd6f1;
    /* transform: scale(1.2); */
    /* padding-left: 8px; */
  }
}

.flex-content li,
.page-space li {
  font-size: 16px;
  line-height: 30px;
  font-family: "Raleway", sans-serif;
}

.unique-font-size-24 {
  font-size: 24px;
}

header#masthead {
  background: url("/wp-content/themes/graphedia-base-theme/assets/images/top-banner-background.png");
  background-position: left top;
  background-size: 110% 94px;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  header#masthead {
    background-size: cover;
  }
}

.header-wrapper {
  position: fixed;
  width: 100%;
  z-index: 99;
}

/* Global */
@media (max-width: 768px) {
  .wpcf7-form input,
  .wpcf7-form textarea {
    width: 100% !important;
  }
}

.no-bottom {
  padding-bottom: 0 !important;
}

.header-search-form {
  height: 0;
  overflow: 0;
  z-index: -1;
  position: fixed;
  width: 100%;
  transition: 0.3s;
}

.header-search-form .form-group {
  opacity: 0;
  transition: 0.3s;
}

.header-search-form.active .form-group {
  opacity: 1;
}

.wish-container {
  display: none;
}
.header-search-form.active .wish-container {
  display: block;
}

.header-search-form.active {
  height: 150px;
  z-index: 999;
  background: rgba(6, 125, 186, 0.9);
  padding: 50px;
}

.header-search-form.wishlist .favorites-list {
  display: none;
}
.header-search-form.active.wishlist .favorites-list {
  display: block;
  column-count: 4;
}
.header-search-form.weather.active .col-md-4 {
  display: block;
}
.header-search-form.weather .col-md-4 {
  display: none;
}
@media (max-width: 992px) and (min-width: 769px) {
  .header-search-form.active.wishlist .favorites-list {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .header-search-form.active.wishlist .favorites-list {
    column-count: 1;
  }
  .header-search-form.active {
    height: 50vh;
  }
}
.header-search-form.active.language {
  background: rgba(6, 125, 186, 0.9);
  padding: 20px;
}

.header-search-form.active.wishlist {
  height: 100%;
}
@media (max-width: 992px) {
  .header-search-form.active.weather {
    height: 100%;
  }
}
.header-search-form.active.wishlist .favorites-list a {
  color: white;
}

.header-search-form.active.wishlist button.simplefavorites-clear,
.link-back-to-wishlist {
  border-radius: 50px;
  padding: 10px 30px;
  font-size: 16px;
  background: #007cba;
  color: white;
  border: 1px solid;
}

.header-search-form .input-group {
  max-width: 1200px;
  margin: 0 auto;
}

.header-search-form input#s {
  height: 50px;
  font-size: 18px;
  border-right: 0px;
  border: 2px solid #909090;
}

.header-search-form input#searchsubmit {
  padding: 10.5px 40px;
  background: #909090;
  border: none;
  font-size: 18px;
  border: 2px solid #909090;
  border-left: 0px;
}

input.wpcf7-form-control {
  padding: 10px;
  border-radius: 5px;
  border: 0;
}

nav#site-navigation {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(6, 125, 186, 0.9);
  z-index: 999;
  transition: 0.3s;
  /* height: auto; */
  padding: 100px 0px;
  overflow: scroll;
  top: 0;
  left: 0;
}

nav#site-navigation.static {
  height: 0;
  opacity: 0;
  z-index: -1;
  padding: 0;
}
nav#site-navigation .exit-menu {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10000;
}

#site-navigation:before,
.grey-block:before {
  content: "";
  background-image: url(/wp-content/themes/graphedia-base-theme/assets/images/nav-background.png);
  background-size: contain;
  background-position: left center;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute;
  background-repeat: no-repeat;
  /* filter: grayscale(1); */
}

.grey-block.pos-top-left:before {
  background-position: left top;
}

.grey-block.no-before:before {
  display: none;
}

.grey-block {
  background-color: #eeeeee;
  padding: 100px 0px;
  overflow: hidden;
  position: relative;
}
.grey-block.hidden-before:before {
  background: none;
  width: 0;
  height: 0;
}

body:not(.home) .grey-block:before {
  width: 50%;
  top: 0;
  height: 50%;
  min-height: 700px;
}

.grey-block.nopad {
  padding: 0;
}

.white-block {
  background-color: white;
  padding: 50px 0px;
}

.exit-menu {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  transition: 0.3s;
  cursor: pointer;
}
.exit-menu.search {
  right: 10px;
  top: 10px;
}
.exit-menu:hover {
  opacity: 1;
}
nav#site-navigation .exit-menu:hover {
  opacity: 1;
  right: 20px;
}
.exit-menu:before,
.exit-menu:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: white;
}
.exit-menu:before {
  transform: rotate(45deg);
  transition: 0.3s;
}
.exit-menu:after {
  transform: rotate(-45deg);
  transition: 0.3s;
}

.exit-menu:hover:before,
.exit-menu:hover:after {
  width: 10px;
  height: 50px;
}
.exit-menu:focus:before,
.exit-menu:focus-within:before {
  transform: rotate(65deg);
}
.exit-menu:focus:after,
.exit-menu:focus-within:after {
  transform: rotate(-65deg);
}

.menu-burger .bun {
  height: 5px;
  width: 43px;
  border-radius: 20px;
  background: white;
  margin: 2px 0px;
}

nav#site-navigation .container {
  position: relative;
  overflow: hidden;
}

.nav-tab-wrapper {
  display: flex;
  justify-content: flex-end;
}
.nav-tab {
  padding: 15px 5px;
  padding-bottom: 0px;
  text-align: center;
  min-width: 70px;
  color: #017cba;
  transition: 0.3s;
  cursor: pointer;
}

.nav-tab a {
  color: #017cba;
}
.nav-tab a:hover,
.nav-tab a:focus {
  text-decoration: none;
}

.nav-tab.language {
  /* background: #017cba; */
  transition: 0.3s;
}
.nav-tab.language:hover {
  color: #017cba;
}
.nav-tab.wishlist {
  /* background: #017cba; */
  transition: 0.3s;
}
.nav-tab.wishlist:hover {
  color: #017cba;
}
.nav-tab.wishlist:hover a {
  color: #017cba;
}
.nav-tab.search {
  /* background: #017cba; */
  transition: 0.3s;
}
.nav-tab.search:hover {
  color: #017cba;
}
.nav-tab.menu {
  /* background: #017cba; */
  transition: 0.3s;
}
.nav-tab.menu:hover {
  color: #017cba;
}
.nav-tab i.fa {
  font-size: 25px;
}

.nav-tab:hover {
  background: white;
  border-radius: 20px;
}
.nav-tab i {
  transition: 0.3s;
}
.nav-tab:hover i {
  transform: scale(1.5);
}

.gr-cloud {
  position: relative;
  height: 21px;
}
.gr-cloud svg {
  fill: #007cba;
  height: 50px;
  position: absolute;
  top: -12px;
  left: -21px;
}

.header-search-form.access.active a {
  color: white;
}

.header-search-form.access.active {
  font-size: 16px;
  color: white;
}

.header-search-form h2.widgettitle {
  color: white;
}

.site-branding {
  padding: 8px 20px;
  padding-bottom: 20px;
}

@media (min-width: 992px) {
  .site-branding {
    padding-left: 0;
  }
}
/* Contact form */

input.wpcf7-form-control {
  padding: 10px;
  border-radius: 5px;
  border: 0;
  font-weight: 400;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-weight: 400;
}

/* @media (min-width:769px) {
  input.wpcf7-form-control:not(.wpcf7-submit), textarea.wpcf7-form-control.wpcf7-textarea {
    width: 330px;
  }
} */
input.wpcf7-form-control,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
}

#site-navigation input.wpcf7-form-control::-webkit-input-placeholder,
textarea.wpcf7-form-control.wpcf7-textarea::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #1185bf;
}
#site-navigation input.wpcf7-form-control::-moz-placeholder,
textarea.wpcf7-form-control.wpcf7-textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: #1185bf;
}
#site-navigation input.wpcf7-form-control:-ms-input-placeholder,
textarea.wpcf7-form-control.wpcf7-textarea:-ms-input-placeholder {
  /* IE 10+ */
  color: #1185bf;
}
#site-navigation input.wpcf7-form-control:-moz-placeholder,
textarea.wpcf7-form-control.wpcf7-textarea:-moz-placeholder {
  /* Firefox 18- */
  color: #1185bf;
}

input.wpcf7-form-control.wpcf7-submit {
  background: #5a5a5a;
  padding: 10px 40px;
  color: white;
  font-size: 18px;
  transition: 0.3s;
  width: auto;
  float: right;
}
input.wpcf7-form-control.wpcf7-submit:hover {
  background: white;
  color: #5a5a5a;
  padding-left: 80px;
  /* border-radius: 100% 20px 20px 100%; */
}

#site-navigation .fa-paper-plane {
  position: absolute;
  right: 130px;
  font-size: 25px;
  top: 10px;
  color: #5a5a5a;
}
#site-navigation form p {
  position: relative;
}

.contact-header-p {
  font-size: 18px;
  color: white;
  padding: 32px 0px 0px 0px;
}

.site-navigation .wpcf7-form p {
  margin: 0;
}

#site-navigation .wpcf7-form label {
  margin: 6px 0px;
  width: 100%;
}

@media (max-width: 768px) {
  #site-navigation .wpcf7-form label {
    padding-right: 15px;
  }
}

.main-navigation .wpcf7-form p:last-child {
  position: relative;
}
.main-navigation .wpcf7-form p:last-child::before {
  content: "\f1d8";
  font-family: FontAwesome;
  font-size: 25px;
  position: absolute;
}

.bottom-tear,
.top-tear {
  position: relative;
  overflow: hidden;
}

.bottom-tear:after {
  content: "";
  background-image: url("/wp-content/themes/graphedia-base-theme/assets/images/bottom-tear-0.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  position: absolute;
  bottom: -53px;
  left: 0;
  height: 98px;
  width: 100%;
}

.main-image-wrapper.bottom-tear:after,
.main-image-wrapper .main-image__tear {
  background-size: initial;
  background-position: right bottom;
  background-image: url(/wp-content/themes/graphedia-base-theme/assets/images/banner-tear-hero.png);
  width: 100%;
  right: 0;
  height: 110px;
  left: auto;
  bottom: -22px;
  background-repeat: no-repeat;
}
@media (max-width: 992px) {
  .main-image-wrapper.bottom-tear:after,
  .main-image-wrapper .main-image__tear {
    background-size: contain;
  }
}
.main-image-wrapper.bottom-tear.no-img:after,
.main-image-wrapper .main-image__tear.no-img {
  background-image: url();
}
.main-image-wrapper {
  position: relative;
}
.main-image-wrapper .main-image__tear {
  position: absolute;
}

.main-image-wrapper {
  position: relative;
}

.single .main-image-wrapper {
  background: #909090 !important;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 229px;
  display: flex;
  align-items: flex-end;
  align-content: center;
}

.single .main-image__title {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 40px;
  padding-left: 40px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  /* text-shadow: 2px 2px #505050; */
}
.single .page-heading {
  max-width: 100%;
  padding: 20px;
  background: #909090;
}

.top-tear:before {
  content: "";
  background-image: url("/wp-content/themes/graphedia-base-theme/assets/images/bottom-tear-0.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  position: absolute;
  top: -50px;
  left: 0;
  height: 98px;
  width: 100%;
  z-index: 1;
}

/* Social Wrapper */

.header-social-wrapper {
  display: flex;
  clear: both;
  padding: 20px 0px;
  justify-content: center;
}
.header-social {
  width: 34px;
  height: 34px;
  padding: 5px;
  margin: 7px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  filter: drop-shadow(0px 0px 0px black);
  transition: 0.3s;
}
.header-social:hover {
  opacity: 0.3;
  filter: drop-shadow(2px 4px 6px black);
  transform: scale(0.7);
}

/* Home Banner */

.tp-bgimg {
  background-attachment: fixed;
  background-position: center bottom !important;
}

footer.site-footer {
  padding: 50px 0px;
}

.textwidget ul li a {
  font-size: 12px;
  color: white;
  padding-left: 20px;
}
.textwidget ul li {
  margin-bottom: 6px;
}

footer.site-footer .widget h2.widget-title,
.footer-heading {
  font-size: 18px;
  font-weight: 400;
  color: white;
  margin-bottom: 30px;
  text-align: center;
}

/* PAGE - styles */

.site-main {
  padding: 50px 0px;
}
@media (max-width: 768px) {
  .site-main {
    padding-top: 0;
  }
}

/* Homepage */

/* .quick-linkbox-wrapper {
    column-count: 1;
}

@media (min-width:769px) and (max-width:991px) {
  .quick-linkbox-wrapper {
      column-count: 2;
  }
}
@media (min-width:992px) {
  .quick-linkbox-wrapper {
      column-count: 4;
  }
} */

.quick-linkbox-wrapper {
  padding: 20px 0px;
}

.quick-linkbox .color__green {
  /* color: #017cba !important; */
  /* text-shadow: none !important; */
  text-shadow: 2px 2px 2px #000000;
}

.quick-linkbox:hover .color__green {
  color: white !important;
}

.quick-linkbox-col:first-child .quick-linkbox {
  background-color: #0175af;
}
.quick-linkbox-col:nth-child(2n) .quick-linkbox {
  background-color: #ec2e5f;
}
.quick-linkbox-col:nth-child(3n) .quick-linkbox {
  background-color: #017cba;
}
.quick-linkbox-col:nth-child(4n) .quick-linkbox {
  background-color: #8dd6f1;
}
.quick-linkbox-col:nth-child(5n) .quick-linkbox {
  background-color: #017cba;
}

.quick-linkbox {
  padding: 15px;
  /* box-shadow: 0px 0px 5px 0px rgb(78, 78, 78); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: left;
  height: 275px;
  display: inline-block;
  width: 100%;
  float: left;
  transition: 1s;
  cursor: pointer;
  margin-bottom: 25px;
  position: relative;
}

.quick-linkbox:before {
  content: "";
  background: #0006;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: 0.3s;
  pointer-events: none;
}

.quick-linkbox:hover:before {
  content: "";
  opacity: 0;
}

.quick-linkbox.rounded {
  border-radius: 20px;
}

.quick-linkbox.centered {
  text-align: center;
}

.quick-linkbox.large {
  height: 575px;
}
.quick-linkbox h3 {
  font-family: "Alegreya Sans SC", sans-serif;
  /* font-weight: bold; */
  color: white;
  font-size: 34px;
  text-shadow: 2px 2px 2px #000000;
  padding-bottom: 30px;
  position: relative;
}
@media (max-width: 992px) {
  .quick-linkbox {
    height: 180px;
  }
  .quick-linkbox.large {
    height: 375px;
  }
  .quick-linkbox h3 {
    font-size: 24px;
  }
}

.quick-linkbox.no-shadow {
  box-shadow: none;
}
.quick-linkbox-wrapper a {
  color: #555;
}
.quick-linkbox-wrapper a:hover {
  color: #555;
  text-decoration: none;
}

.quick-linkbox-col.news {
  margin-bottom: 40px;
}

.home .quick-linkbox-col.news {
  margin-bottom: 0px;
}

.quick-linkbox .reveal-paragraph {
  opacity: 0;
  height: 0;
  transition: 0.3s;
}

/* Hover States */
.quick-linkbox:hover {
  /* filter: saturate(0); */
  /* background-image: url('') !important; */
  /* background-position-y: -100vw; */
  /* box-shadow: 0px 0px 10px 3px rgb(78, 78, 78); */
  /* background-size: auto; */
  transform: scale(1.03);
}
.quick-linkbox:hover .reveal-paragraph {
  color: white;
  opacity: 1;
  height: 100%;
}

.quick-linkbox-col.news .reveal-paragraph {
  padding-left: 20px;
}

.large-title {
  padding-bottom: 50px;
}

/* Scribe Box */

.scribe-heading {
  font-size: 83.5px;
  /* font-family: 'OneTrickTony'; */

  font-family: "Alegreya Sans SC", sans-serif;
}

@media (max-width: 768px) {
  .scribe-heading {
    font-size: 63.5px;
  }
}

.scribe-subheading {
  font-size: 29.95px;
  /* font-family: 'OneTrickTony'; */
  font-family: "Alegreya Sans SC", sans-serif;
  margin-bottom: 50px;
}

.scribe-button {
  color: #007cba;
  background: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 21px;
  /* font-family: 'OneTrickTony'; */
  transition: 0.3s;
  font-family: "Alegreya Sans SC", sans-serif;
}

.scribe-button:hover {
  color: white;
  background: #007cba;
  text-decoration: none;
}

.color__white {
  color: white;
}

.color__green {
  color: #017cba;
}

.scribe-box {
  padding: 100px 0px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.scribe-box.large {
  padding: 200px 0px;
}

.scribe-box .black-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scribe-box .scribe-box-content {
  position: relative;
  z-index: 1;
}

/* Archive */

.main-image-wrapper {
  /* padding: 150px 50px 170px 50px; */
  background: #007cba;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-content: center;
}

.archive .main-image-wrapper,
.bg-color-height {
  padding-bottom: 80px;
  height: 68vh;
}

.page-template-page-map .main-image-wrapper,
.bg-color-height {
  height: 80vh;
}

.main-image-wrapper.wishlist {
  background: #017cba;
}

.main-image__title {
  color: white;
  font-size: 40px;
  font-family: "Alegreya Sans SC", sans-serif;
  /* font-weight: bold; */
}

.main-image__title .title-wrap {
  font-family: "Alegreya Sans SC", sans-serif !important;
}

.brush-stroke {
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .brush-stroke.large-title-wrapper {
    background-color: rgba(255, 255, 255, 0) !important;
  }
}

@media (max-width: 768px) {
  .main-image-wrapper {
    min-height: 280px;
  }
  .archive .main-image-wrapper,
  .bg-color-height {
    height: 50vh;
  }
}

.brush-stroke .container {
  display: flex;
  align-items: center;
}

.brush-stroke .before-item {
  width: 32%;
  height: 100%;
  position: absolute;
}

.brush-stroke .before-item.large-title {
  width: 100%;
}

@media (min-width: 768px) {
  .brush-stroke .before-item.large-title {
    width: 50%;
  }
}

.brush-stroke svg:not(:root) {
  position: absolute;
  width: 60%;
}

.brush-stroke svg:not(:root).large-title {
  left: 150px;
  transform: scale(1.5);
  top: 18px;
}

.brush-stroke .main-image__title {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  padding: 10px 0px 25px 0px;
  max-width: 650px;
}

/* .main-image__title .brush-stroke {
  background-image: url("../images/brush-stroke.svg");
} */

/* .main-image__title .brush-stroke svg:not(:root) {
  overflow: hidden;
  position: absolute;
  left: -56px;
  bottom: -7px;
  z-index: 1;
  margin-top: 0;
  width: 60%;
} */
@media (min-width: 992px) and (max-width: 1555px) {
  .brush-stroke svg:not(:root) {
  }
}
@media (min-width: 769px) and (max-width: 992px) {
  .brush-stroke svg:not(:root) {
    transform: scale(1.5);
  }
}
@media (max-width: 768px) {
  .brush-stroke svg:not(:root) {
    transform: scale(3);
  }
}
@media (max-width: 992px) {
  .archive .main-image-wrapper {
    overflow: hidden;
    padding-bottom: 10px;
  }
}

.main-image__title .title-wrap {
  position: relative;
  z-index: 2;
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 500;
  /* font-size: 30px; */
  font-size: 38px;
}

@media (min-width: 768px) {
  .main-image__title .title-wrap {
    font-size: 50px;
  }
}

.family-fun .icon {
  border-left: 1px solid white;
  padding: 6px 12px;
  text-align: center;
}

.family-fun .button span {
  margin-left: 11px;
}

.family-fun .icon .fa {
  color: white;
  padding: 8px 0;
  font-size: 20px;
}

.family-fun .icon .fa:hover {
  color: #848484;
}

.family-fun .box-img img {
  width: 100%;
}

.family-fun .dropdown-menu {
  min-width: 35px;
}

.dropdown.col-xs-2.icon {
  padding-bottom: 9px;
}

.family-fun {
  border: 1px solid #ead9d9;
  float: left;
  box-shadow: 1px 2px 3.5px #00000080;
  margin-bottom: 17px;
  position: relative;
  background: #fff;
  width: 100%;
  min-height: 512px;
}

.family-fun.same:hover .text-area {
  -webkit-transform: translateY(-3.125rem);
  transform: translateY(-3.125rem);
  transition: transform 0.2s cubic-bezier(0.67, 0.35, 0.65, 0.9);
}

.family-fun.same:hover h2 {
  background: white;
  padding-top: 20px;
}

.family-fun .box-img img {
  transition: 0.3s;
  /* border-bottom: 10px solid #848484; */
  max-height: 300px;
  object-fit: cover;
  /* object-position: top center; */
  object-position: center;
  height: 230px;
}

.family-fun .box-img img.default_image {
  padding: 20px;
  background-color: white;
  /* height: 180px; */
  object-fit: contain;
}

.family-fun.same:hover .box-img img {
  /* filter: grayscale(100%) sepia(100%) hue-rotate(170deg); */
  filter: brightness(0.5) grayscale(1);
}

.family-fun.late_news {
  border: 1px solid #ead9d9;
  float: left;
  box-shadow: none;
  margin-bottom: 17px;
}

.family-fun h4 {
  color: #6c2769;
  font-size: 16px;
  text-transform: uppercase;
  margin-left: 0px;

  margin-bottom: 16px;
}

.news .text-area {
  padding-left: 0px;
  padding-right: 0px;
}

.family-fun h3 {
  font-size: 13px;
  color: #009dde;
  font-style: italic;
}

.family-fun .last.clearfix {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #007cba;
  color: white;
}

.family-fun .text-area__encase h2 {
  font-size: 22px;
  color: #4a4a4a;
}

.family-fun .col-xs-8.button {
  padding: 14px;
}

.family-fun .col-xs-8.button a {
  color: white;
  font-size: 16px;
}

.family-fun .col-xs-8.button a:hover {
  color: #848484;
}

.family-fun .text-area {
  background-color: white;
}
.family-fun .text-area__encase {
  padding: 0px 15px;
}

.page-block {
  padding: 40px 0px;
}

.page-block.large-bottom {
  padding-bottom: 90px;
}

.family-fun i.fa {
  font-size: 16px;
  color: #848484;
}

.family-fun .directory-tags a {
  color: #848484;
}

.family-fun .button span {
  transition: 0.3s;
}

.family-fun .button:hover span {
  margin-left: 21px;
}

.wp_numeric_posts_nav {
  clear: both;
  margin: 20px 0px;
}
.wp_numeric_posts_nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.wp_numeric_posts_nav ul li {
  padding: 5px;
}

.wp_numeric_posts_nav ul li a {
  font-size: 16px;
  font-weight: 600;
  border: 2px solid;
  padding: 10px;
  color: #53a8d2;
}
.wp_numeric_posts_nav ul li.active a {
  color: #007cba;
}

/* Favourites */

.simplefavorite-button {
  background: none !important;
  border: none;
  font-size: 20px;
}

.simplefavorite-button i {
  transition: 0.3s;
}

.simplefavorite-button.active {
  opacity: 1 !important;
}

button.simplefavorite-button:hover i:before {
  content: "\f004";
}
button.simplefavorite-button.active i,
button.simplefavorite-button:hover i {
  color: #cecece !important;
  opacity: 1;
}

ul.dropdown-menu li a i {
  color: #848484 !important;
  font-size: 30px !important;
}
.dropdown-menu > li > a {
  transition: 0.3s;
}
.dropdown-menu > li > a:hover {
  background: #007cba;
}

.open > .dropdown-menu {
  top: -66px;
  display: flex !important;
  right: 0;
  left: auto;
}
/* post-block-categories */

/* Card Block */
.content-card__content {
  padding: 40px;
}
@media (min-width: 992px) {
  .content-card.horizontal .row {
    display: flex;
  }
}
.content-card .img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.3s;
}

.content-card.horizontal .img {
  min-height: 220px;
}
.content-card.vertical .img {
  min-height: 450px;
}

.content-card .content {
  background: #0095da;
  transition: 0.3s;
  color: white;
}
.content-card .content h3 {
  color: white;
  font-family: "raleway";
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0px;
}
.content-card .content p {
  font-size: 14px;
  font-weight: 300;
}

/* @media (max-width:992px) { */
.content-card {
  margin-bottom: 30px;
  transition: 0.3s;
  overflow: hidden;
}
.content-card__content p:hover {
  text-decoration: none;
}
/* } */
@media (min-width: 992px) {
  /* .content-card-wrapper .block-1 {
    padding-right: 35px;
  }
  .content-card-wrapper .block-2 {
    padding-left: 35px;
  } */
}
.content-card:hover .content {
  background: #e7b526;
}
.content-card:hover .img {
  transform: scale(1.5);
}
/* What we do */
.category-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.category-list h4 {
  padding: 0px 20px;
}
.category-list h4 a {
  color: #565656;
}

.content-card:hover a {
  text-decoration: none;
}
.content-card.vertical .content-card__content {
  min-height: 165px;
}

/* post-block__item */

.post-block-wrapper {
  column-count: 1;
  column-gap: 0;
}
@media (max-width: 768px) {
  .post-block__item.alt {
    margin-bottom: 20px;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .post-block-wrapper {
    column-count: 2;
  }
}
@media (min-width: 992px) {
  .post-block-wrapper {
    column-count: 4;
  }
}
.post-block__item {
  height: 350px;
  position: relative;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.post-block__item.alt {
  height: 205px;
}

.post-block__item.default {
  background-size: 60%;
  background-color: #c7e8f72e;
  box-shadow: inset 0px 1px 20px 0px rgba(147, 208, 233, 0.15);
}

.gallery-item {
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 20px;
}

@media (min-width: 1250px) {
  .gallery-item {
    width: 20%;
  }
}

.post-block__item .post-block__item__content {
  z-index: 1;
  position: absolute;
  display: block;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
}

.post-block__item-heading {
  /* padding: 0 1em; */
  position: relative;
  color: white;
}
.post-block__item-heading .heading {
  font-size: 22px;
  font-weight: 500;
  font-family: "Alegreya Sans SC", sans-serif;
  /* font-weight: bold; */
}

.post-block__item-heading .author {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  font-family: "Raleway";
}

.post-block__item:before {
  filter: grayscale(1);
  position: absolute;
  content: " ";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.75);
  transition: 0.3s;
}

.post-block__item:hover:before {
  opacity: 0 !important;
}
.post-block__item:hover .post-block__item__content {
  opacity: 1;
  width: 70%;
}

.post-block__item.category {
  transition: 0.3s;
}
.post-block__item.category:hover {
  filter: drop-shadow(0px 0px 3px black);
  transform: scale(1.03);
}
/* category */
.post-block__item.category:hover:before {
  opacity: 1;
  /* top: 31%;
  left: 25%;
  width: 50%;
  height: 36%;
  border-radius: 25%; */
}
.post-block__item.category:before {
  opacity: 1;
  background-color: rgba(236, 45, 95, 0.53);
}

.post-block__item.category:before {
  opacity: 1;
  background-color: rgba(236, 45, 95, 0.53);
}

.post-block__item.category .post-block__item__content {
  opacity: 1;
  width: 70%;
}
.post-block__item.category {
  /* display: inline-block;
  width: 100%;
  height: 350px; */
  display: inline-block;
  width: 23.2%;
  height: 350px;
  margin: 10px;
  float: left;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .post-block__item.category {
    width: 47.8%;
    margin: 10px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .post-block__item.category {
    width: 47.2%;
    margin: 10px;
  }
}

@media (max-width: 768px) {
  .post-block__item.category {
    width: 100%;
  }
}

.post-block__item.category .post-block__item-heading .heading {
  /* text-shadow: 0px 1px 2px #000000; */
  font-size: 28px;
  font-family: "Alegreya Sans SC", sans-serif !important;
}
.post-block__item.category .post-block__item-heading .fa {
  text-shadow: 0px 1px 2px #000000;
  font-size: 4rem;
  position: relative;
}

.post-block__count {
  filter: grayscale(1);
  padding: 14px 17px;
  /* background: #909090; */
  background: #575757;
  color: white;
  position: absolute;
  border-radius: 50px;
  right: 5px;
  bottom: 5px;
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 1px 1px 20px #062835;
  /* margin-top: -25px; */
  /* margin-right: -25px; */
  font-family: "AvantGarde Book";
  font-weight: 700;
  border: 2px solid #493c4e;
  transition: 0.3s;
}
.post-block__item:hover .post-block__count {
  background: #ec2e5f;
  border: 2px solid #ffffff;
}

/* every 2 */
.post-block__item.category:nth-child(2n):before {
  opacity: 1;
  background-color: rgba(0, 124, 186, 0.53);
}
.post-block__item.category:nth-child(2n) .post-block__count {
  background: #007cba;
  border: 2px solid #1674a2;
}
.post-block__item.category:nth-child(2n):hover .post-block__count {
  background: #007cba;
  border: 2px solid #ffffff;
}

/* every 3 */
.post-block__item.category:nth-child(3n):before {
  opacity: 1;
  background-color: rgba(1, 150, 57, 0.54);
}
.post-block__item.category:nth-child(3n) .post-block__count {
  background: #056f2d;
  border: 2px solid #106530;
}
.post-block__item.category:nth-child(3n):hover .post-block__count {
  background: #056f2d;
  border: 2px solid #ffffff;
}

/* 1st and every 4 */
.post-block__item.category:nth-child(4n + 1):before {
  opacity: 1;
  background-color: rgba(236, 45, 95, 0.53);
}
.post-block__item.category:nth-child(4n + 1) .post-block__count {
  background: #993c9b;
  border: 2px solid #863588;
}
.post-block__item.category:nth-child(4n + 1):hover .post-block__count {
  background: #ec2e5f;
  border: 2px solid #ffffff;
}

/* post-block-categories */

.post-block-cateogories {
  /* column-count: 1; */
  clear: both;
  width: 100%;
  display: inline-block;
  padding: 20px 0px;
}
@media (min-width: 769px) and (max-width: 992px) {
  .post-block-cateogories {
    /* column-count: 2; */
  }
}
@media (min-width: 992px) {
  .post-block-cateogories {
    /* column-count: 4; */
  }
}
/* post-card */

.post-card-wrapper {
  position: relative;
}

.post-card-wrapper .post-card {
  position: relative;
  min-height: 405px;
  width: 100%;
  float: left;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .post-card-wrapper {
    /* column-count: 1; */
    column-gap: 0;
    position: relative;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .post-card-wrapper .post-card {
    width: 50%;
    margin-bottom: 0px;
  }
}
@media (min-width: 992px) {
  .post-card-wrapper {
    column-count: 0;
    position: relative;
  }
  .post-card-wrapper .post-card {
    min-height: 405px;
    width: 33.3%;
    float: left;
    margin-bottom: 0px;
  }
}

@media (min-width: 1250px) {
  .gallery-item {
    width: 20%;
  }
}

.post-card__item .post-card__item__content {
  z-index: 1;
  position: absolute;
  display: block;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: 0.3s;
}

.post-card__item-heading {
  /* padding: 0 1em; */
  position: relative;
  color: white;
}
.post-card__item-heading .heading {
  font-size: 22px;
  font-weight: 500;
  font-family: "Raleway";
  text-transform: uppercase;
}

.post-card__item-heading .author {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  font-family: "Raleway";
}

.post-card:before {
  position: absolute;
  content: " ";
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  opacity: 0;
  z-index: 0;
  background-color: rgba(0, 149, 218, 0.37);
  transition: 0.3s;
}

.post-card h3,
.post-card h4 {
  color: white;
  font-family: "Raleway";
  text-transform: uppercase;
  transition: 0.3s;
}
.post-card h4 {
  font-size: 20px;
  font-weight: 300;
}
.post-card__content {
  position: absolute;
  bottom: 0;
  padding: 10px 40px;
  width: 70%;
  text-align: right;
  right: 25px;
  background-color: #0095da;
  transition: 0.3s;
  border-right: 3px solid #0095da;
  border-left: 3px solid #0095da;
  border-top: 3px solid #0095da;
}

.post-card:hover:before {
  opacity: 1;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.post-card:hover .post-card__content {
  background-color: white;
  z-index: 2;
}
.post-card:hover h3,
.post-card:hover h4 {
  color: #0095da;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
}

/* WHAT's ON */

.event-search {
  margin: 40px 0px;
  padding: 20px;
  background: #007cba;
  color: white;
}

div#ui-datepicker-div {
  background: white;
  padding: 10px;
  border: 2px solid;
}
#ui-datepicker-div a {
  font-size: 18px;
  padding: 5px;
  cursor: pointer;
}
.ui-datepicker-title {
  font-size: 24px;
  color: #848484;
}
.event-search i {
  color: #848484;
}
.event-search .btn.btn-blue {
  color: black;
}

/*
Loading Spinner
 */

#loading-backdrop {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}
#loading-spinner {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  display: none;
}
.spinner {
  -webkit-animation: rotator 1.4s linear infinite;
  animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

@keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

/* Single - Directories /Events */

img.single-page__featured-image {
  width: 100%;
  padding: 5px;
  border: 2px solid #e0e0e0;
  margin: 40px 0px;
}

.contact-icons span a,
.contact-icons span button {
  font-size: 25px;
  padding: 20px;
  color: #909090;
  border: 2px solid;
  transition: 0.3s;
}

.contact-icons span a:hover,
.contact-icons span button:hover {
  color: #6b6063;
}

.contact-icons span button {
  padding: 17px;
}

.contact-icons {
  padding: 20px 0px;
}

@media (max-width: 768px) {
  .contact-icons span {
    display: inline-block;
    min-height: 85px;
  }
  .acf-map .contact-icons span {
    display: inline-block;
    min-height: 51px;
  }
}

.single-taxonomies {
  font-size: 20px;
  color: #6b6063;
}

.single-taxonomies a,
.single-taxonomies span {
  color: #909090;
  transition: 0.3s;
}

.single-taxonomies a:hover {
  color: #6b6063;
  text-decoration: none;
}

.single-ratings {
  font-size: 20px;
  color: #909090;
  padding: 10px 0px;
}
.single-ratings i {
  color: #ec2c5f;
}

.blog-content {
  padding: 20px 0px;
}

select#location-filter {
  border: 2px solid #007cba;
  height: 50px;
  font-size: 18px;
}
.ajax-filter.form-inline {
  margin-bottom: 40px;
}

.gallery-cta.alt {
  height: 150px;
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  transition: 0.3s;
}

.gallery-cta.alt:hover {
  filter: grayscale(100%) opacity(0.5);
}

.lightgallery .col-lg-3 {
  padding-right: 7.5px;
  padding-left: 7.5px;
}
.contact-icons span a i,
.contact-icons span button i {
  transition: 0.3s;
}
.contact-icons span a:hover i,
.contact-icons span button:hover i {
  transform: scale(1.5);
}
/* Mobile Fixes */

@media (max-width: 992px) {
  .header-wrapper {
    top: 0;
  }
  div#page {
    padding-top: 148px;
  }
}

/* Events */
.event-box {
  /* position: absolute; */
  /* background: white; */
  /* background: #848484;
  border: 10px solid #007cba; */
  /* border: 10px solid #848484; */
  /* padding: 15px; */
  border: 10px solid #007cba;
  padding-top: 10px;
  background: #007cba;
  right: 0;
  z-index: 10;
  /* text-align: center; */
  border-right: 0;
  border-top: 0;
  transition: 0.3s;
}

.family-fun.same:hover .event-box {
  padding: 10px 15px 23px;
  background: #88a1ba;
}

.event-calendar {
  display: flex;
}
.event-item.month {
  /* border-top: 1px solid; */
  border-top: 1px solid white;
}

.event-item span {
  font-size: 20px;
  padding: 5px;
  /* color: #848484; */
  color: white;
}
.event-item span i {
  font-style: normal;
  font-size: 14px;
  /* color: black; */
  color: white;
}
.event-box i.month-i {
  font-size: 18px;
  font-style: normal;
  /* color: #848484; */
  color: white;
}

.family-fun.same:hover .event-box {
  border: 0px solid #007cba;
}

/* Google translate */
#google_language_translator select.goog-te-combo {
  height: 42px !important;
  width: 100%;
  margin: 0 auto;
}
div#google_language_translator {
  max-width: 1200px;
  margin: 0 auto;
}
#flags {
  width: 165px;
  margin: 0 auto;
  padding: 10px;
}

@media (max-width: 768px) {
  div#google_language_translator {
    max-width: 80%;
    margin: 0;
  }
}

#google_language_translator,
#flags {
  opacity: 0;
  height: 0;
  z-index: -1;
  position: relative;
  transition: 0.3s;
}

.header-search-form.active #google_language_translator,
#flags {
  opacity: 1;
  height: auto;
  z-index: 10;
}
#glt-translate-trigger {
  background: #007cba !important;
}

.gr-weather-widget h3 {
  color: white;
  font-family: "Alegreya Sans SC", sans-serif;
  font-size: 30px;
}

.archive .container.entry-content {
  padding: 50px 0px;
}

@media (max-width: 768px) {
  .archive .container.entry-content {
    padding: 50px 30px;
  }
}

.dark-green {
  color: #005e30;
}

.header-search-form.access .row {
  display: none;
}

.header-search-form.access.active .row {
  display: block;
}

@media (max-width: 768px) {
  .nav-tab p {
    display: none;
  }

  .nav-tab {
    padding: 0;
    min-width: auto;
    padding: 15px;
  }
}

/* CONTACT FORM */

.page-template-page-contact input.wpcf7-form-control,
.page-template-page-contact textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  background: rgba(0, 124, 186, 0.12);
}
.page-template-page-contact input.wpcf7-form-control.wpcf7-submit {
  background: #5a5a5a;
  border: 1px solid #5a5a5a;
  padding: 10px 40px;
  color: white;
  font-size: 18px;
  transition: 0.3s;
  width: auto;
  float: left;
}
.page-template-page-contact input.wpcf7-form-control.wpcf7-submit:hover {
  background: white;
  border: 1px solid #5a5a5a;
  color: #5a5a5a;
  padding: 10px 40px;
}
/* HEADER FIXES */
ul#primary-menu li ul.sub-menu {
  display: none;
}
ul#primary-menu li ul.sub-menu.active {
  display: block;
  list-style: none;
}
ul#primary-menu li.menu-item-has-children:after {
  transition: 0.3s;
}
ul#primary-menu li.menu-item-has-children:after,
ul#primary-menu li.menu-item-has-children.clicked-item:after {
  content: "\f067";
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  top: 0;
  color: #047dba;
  height: 47px;
  width: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: 2px solid white;
  z-index: 20000;
}
ul#primary-menu li.menu-item-has-children.clicked-item:after {
  content: "\f068";
}

@media (min-width: 768px) {
  ul#primary-menu li ul.sub-menu {
    position: absolute;
    left: 100%;
    width: 100%;
    top: 0;
  }

  ul#primary-menu li ul.sub-menu {
    display: none;
    /* transform: translateX(100vw); */
    opacity: 0;
  }
  ul#primary-menu li ul.sub-menu.active {
    display: block;
    transform: translateX(0);
    opacity: 1;
    transition: 1.2s;
  }
  ul#primary-menu li.menu-item-has-children:after {
    content: "\f067";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 0;
    color: white;
    height: 47px;
    width: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #047dba;
    border: 2px solid white;
    z-index: 20000;
  }
}

@media (min-width: 992px) {
  .desktop-flex-group {
    display: flex;
    align-items: center;
  }
}

footer a {
  color: white;
}

footer .textwidget {
  text-align: center;
}
.footer-logo li {
  list-style-type: none;
  width: 24%;
  display: inline-block;
}

footer #text-4 .textwidget img {
  filter: grayscale(1) brightness(0.5);
  transition: 0.3s;
}
footer #text-4 .textwidget img:hover {
  filter: grayscale(0) brightness(1);
}

@media (max-width: 768px) {
  footer #text-4 .textwidget img {
    width: 50%;
  }
}

footer div#mc_embed_signup_scroll input {
  padding: 0;
  margin: 0 !important;
  border-radius: 5px !important;
}
#mc_embed_signup label {
  font-weight: 400;
  color: #f7f7f7;
  text-align: center;
}
footer div#mc_embed_signup_scroll {
  display: flex;
  justify-content: center;
}
@media (min-width: 769px) {
  footer div#mc_embed_signup_scroll {
    margin-left: -67px;
  }
  #mc_embed_signup label {
    display: block;
    font-size: 16px;
    padding-bottom: 10px;
    font-weight: 400;
    color: #f7f7f7;
    text-align: center;
    margin-left: -38px;
  }
  footer div#mc_embed_signup_scroll input {
    max-width: 21%;
  }
}

div#flags {
  display: none;
}

.newsletter {
  padding-top: 40px;
  margin-bottom: 40px;
}
.fancy h5 {
  margin: 0;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 20px;
}
.fancy h2 {
  font-size: 48px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 24px;
}

/* Active Campaign Newsletter sub form */
.newsletter .fancy ._form_1 form,
.newsletter .fancy .gr_active_campaign_form form {
  display: flex !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .newsletter .fancy ._form_1 form,
  .newsletter .fancy .gr_active_campaign_form form {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
  }
}

.newsletter .fancy ._form_1 form ._form-content,
.newsletter .fancy .gr_active_campaign_form form ._form-content {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: flex-start;
  align-content: flex-end;
  align-items: flex-end;

  min-width: calc(100vw - 30px) !important;
  width: calc(100vw - 30px) !important;
  max-width: calc(100vw - 30px) !important;
  order: 1;
}

@media (min-width: 768px) {
  .newsletter .fancy ._form_1 form ._form-content,
  .newsletter .fancy .gr_active_campaign_form form ._form-content {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-start;
    align-content: flex-end;
    align-items: flex-end;

    min-width: calc(100% - 130px) !important;
    width: calc(100% - 130px) !important;
    max-width: calc(100% - 130px) !important;
    order: 1;
  }
}

.newsletter .fancy ._form_1 form ._form-content ._form_element,
.newsletter .fancy .gr_active_campaign_form form ._form-content ._form_element {
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 767px) {
  .newsletter .fancy ._form_1 form ._form-content ._form_element,
  .newsletter
    .fancy
    .gr_active_campaign_form
    form
    ._form-content
    ._form_element {
    padding-left: 10px;
  }
}

@media (min-width: 768px) {
  .newsletter .fancy ._form_1 form ._form-content ._form_element,
  .newsletter
    .fancy
    .gr_active_campaign_form
    form
    ._form-content
    ._form_element {
    float: none !important;
    margin: 0 !important;
    width: 40% !important;
    min-width: 40% !important;
    max-width: 40% !important;
    padding-right: 10px;
  }
}

.newsletter .fancy ._form_1 form ._form-content ._form_element input,
.newsletter
  .fancy
  .gr_active_campaign_form
  form
  ._form-content
  ._form_element
  input {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .newsletter .fancy ._form_1 form ._form-content ._button-wrapper,
  .newsletter
    .fancy
    .gr_active_campaign_form
    form
    ._form-content
    ._button-wrapper {
    width: 20% !important;
    min-width: 20% !important;
    max-width: 20% !important;
    margin: 0 !important;
    padding-left: 10px;
  }
}

.newsletter .fancy ._form_1 form ._form-thank-you,
.newsletter .fancy .gr_active_campaign_form form ._form-thank-you {
  display: block !important;
  width: 100% !important;
  order: 3;
}

.newsletter .fancy ._form_1 form ._form-branding,
.newsletter .fancy .gr_active_campaign_form form ._form-branding {
  order: 2;
}

@media (min-width: 768px) {
  .newsletter .fancy ._form_1 form ._form-branding,
  .newsletter .fancy .gr_active_campaign_form form ._form-branding {
    display: block !important;
    width: 130px !important;
    max-width: 130px !important;
    order: 2;
  }
}
/* End of Active Campaign Newsletter sub form */

.acf-map,
.acf-single-map {
  width: 100%;
  height: 600px;
  border: #ccc solid 1px;
  margin: 20px 0;
}
.filter-box {
  padding: 5px 10px;
  border-bottom: 1px solid #e8e8e8;
  margin-right: 10px;
  border-radius: 5px;
}

.filter-box label {
  padding-right: 40px;
}

.marker-filter-heading {
  padding: 5px;
  text-align: center;
}

.marker-filter-heading p {
  font-size: 14px;
}

.marker-filter-heading h4 {
  font-weight: 600;
  border-bottom: 1px solid;
  line-height: 2.5;
  margin-top: 0;
}

.filter-box input {
  text-align: right;
  position: absolute;
  right: 0;
  width: 30px;
  height: 30px;
  transform: scale(1.5);
}

#map-canvas {
  height: 300px;
}

#iw_container .iw_title {
  font-size: 16px;
  font-weight: bold;
}

.iw_content {
  padding: 15px 15px 15px 0;
}

.image_link figcaption {
  font-size: 16px;
  color: black;
  font-weight: 500;
  text-align: center;
  padding: 10px;
}

.image_link {
  width: 33.3%;
  float: left;
  padding: 10px;
}

@media (max-width: 992px) {
  .image_link {
    width: 100%;
    float: left;
  }
}

img.image_link_image {
  height: 350px;
  object-position: center;
  object-fit: cover;
  transition: 0.3s;
}

.image_link:hover img.image_link_image {
  filter: drop-shadow(0px 0px 4px black);
  transform: scale(1.03);
}

/* Gallery  */
div#insta-gallery-feed-1 {
  position: relative;
}
div#insta-gallery-feed-1:before {
  border-bottom: 10px solid #007cba;
  content: "";
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 5px;
}

/* MAP styles */
.map-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}

.acf-map.cover-map {
  position: fixed !important;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.acf-map .contact-icons {
  padding: 5px 0px;
  text-align: center;
}

.acf-map .contact-icons span button {
  padding: 5px;
}
.acf-map .contact-icons span a,
.acf-map .contact-icons span button {
  font-size: 25px;
  padding: 5px;
  color: #909090;
  border: 2px solid;
  transition: 0.3s;
}

.acf-map button.gm-ui-hover-effect {
  width: 50px !important;
  height: 50px !important;
  font-size: 30px !important;
  background: #007cba !important;
  opacity: 1 !important;
}
.acf-map button.gm-ui-hover-effect img {
  width: 34px !important;
  height: 34px !important;
  margin: 10px 6px !important;
  filter: invert(1);
}

.acf-map .gm-style .gm-style-iw-d {
  min-width: 250px;
  padding: 0px 40px;
}

.marker-filter {
  position: fixed;
  z-index: 99;
  top: 140px;
  left: 20px;
  background: white;
  min-height: 96px;
  font-family: "Alegreya Sans SC", sans-serif;
}

.marker-filter h5,
.marker-filter h4,
.marker-filter p {
  font-family: "Alegreya Sans SC", sans-serif;
}

.filter-box a {
  color: #555;
}
.filter-box a i {
  transition: 0.3s;
}
.filter-box a:hover i {
  transform: scale(1.5);
}
.filter-box a:hover {
  text-decoration: none;
}
.filter-box {
  transition: 0.3s;
  cursor: pointer;
}
.filter-box label {
  cursor: pointer;
}
.filter-box:hover {
  background: rgba(4, 123, 186, 0.25);
}
.filter-box label {
  font-size: 18px;
  width: 100%;
}

@media (max-width: 768px) {
  .filter-box label {
    font-size: 15px;
    width: 100%;
    padding-right: 20px;
  }
  .filter-box input {
    transform: scale(1);
  }
  .filter-box {
    padding: 5px;
    border-bottom: 1px solid #e8e8e8;
    margin-right: 4px;
    border-radius: 5px;
  }
  .marker-filter-heading h4 {
    line-height: 1.5;
  }
  .marker-filter-heading {
    padding: 3px;
    text-align: center;
  }
}
/*  */

.page-template-page-map .newsletter {
  /* position: relative;
  z-index: 11000;
  background: white;
  margin: 0;
  padding-bottom: 40px; */
  display: none;
}

.page-template-page-map footer.site-footer {
  /* background-color: #1e8ac1;
  z-index: 11000;
  position: relative; */
  display: none;
}

.page-template-page-map header#masthead {
  display: none;
}
.page-template-page-map #masthead-sticky-wrapper {
  display: none;
}

.page-template-page-map .header-wrapper {
  display: none;
}

/* MAP FIXES  */

.brush-stroke-map__wrapper {
}
.brush-stroke-map {
  font-size: 15px;
  color: white;
  border-radius: 100%;
  margin: 0px 6px;
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  top: 9px;
}
.brush-stroke-map i {
  position: absolute;
  display: inline-block;
  top: 6px;
  left: 6px;
}

.map-exit a {
  color: #ed008c;
}
.map-exit {
  position: fixed;
  z-index: 99;
  top: 140px;
  right: 20px;
  font-family: "Alegreya Sans SC", sans-serif;
  font-size: 50px;
  color: white;
}

.map-exit.key {
  top: 235px;
}

@media (max-width: 768px) {
  .map-exit {
    font-size: 32px;
  }
  .map-exit.key {
    top: 215px;
  }
}

.map-exit i {
  background: white;
  padding: 15px;
  border-radius: 100%;
  transition: 0.3s;
}
.map-exit:hover i.fa.fa-sign-out {
  transform: rotate(-90deg);
}

.map-exit i {
  background: white;
  padding: 15px;
  border-radius: 100%;
  transition: 0.3s;
}

.map-exit.key.active i {
  padding: 15px 13px;
}

.map-exit.key.active:hover i {
  padding: 15px;
}

.map-exit.key i {
  padding: 15px;
}

.map-exit.key i:before {
  transition: 0.3s;
}
.map-exit.key:hover i:before {
  content: "\f06e";
}
.map-exit.key:focus i:before {
  content: "\f070";
}
.map-exit.key.active i:before {
  content: "\f278";
}
.map-exit.key.active:hover i:before {
  content: "\f070";
}
.map-exit.key.active:focus i:before {
  content: "\f06e";
}

.map-exit span {
  position: absolute;
  left: 0px;
  width: 200px;
  opacity: 0;
  transition: 0.3s;
}

.map-exit:hover span {
  position: absolute;
  left: -201px;
  top: 5px;
  opacity: 1;
  background: white;
  border-radius: 20px;
  padding-left: 14px;
  padding-right: 40px;
  width: 240px;
}

.key-map {
  display: none;
}
.key-map.active {
  display: block;
}

@media (max-width: 768px) {
  .key-map {
    display: block;
  }
  .key-map.active {
    display: none;
  }
  .map-exit.key.active i:before {
    content: "\f279";
  }
  .map-exit.key i:before {
    content: "\f278";
  }
}

/* MAP Loading */

div#loading {
  position: fixed;
  background: white;
  height: 100%;
  width: 100%;
  z-index: 999;
  top: 0;
  left: 0;
}

@keyframes ldio-ei4wj7fv59r-1 {
  0% {
    top: 36px;
    height: 128px;
  }
  50% {
    top: 60px;
    height: 80px;
  }
  100% {
    top: 60px;
    height: 80px;
  }
}
@keyframes ldio-ei4wj7fv59r-2 {
  0% {
    top: 41.99999999999999px;
    height: 116.00000000000001px;
  }
  50% {
    top: 60px;
    height: 80px;
  }
  100% {
    top: 60px;
    height: 80px;
  }
}
@keyframes ldio-ei4wj7fv59r-3 {
  0% {
    top: 48px;
    height: 104px;
  }
  50% {
    top: 60px;
    height: 80px;
  }
  100% {
    top: 60px;
    height: 80px;
  }
}
.ldio-ei4wj7fv59r div {
  position: absolute;
  width: 30px;
}
.ldio-ei4wj7fv59r div:nth-child(1) {
  left: 35px;
  background: #007cba;
  animation: ldio-ei4wj7fv59r-1 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  animation-delay: -0.2s;
}
.ldio-ei4wj7fv59r div:nth-child(2) {
  left: 85px;
  background: #29a658;
  animation: ldio-ei4wj7fv59r-2 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  animation-delay: -0.1s;
}
.ldio-ei4wj7fv59r div:nth-child(3) {
  left: 135px;
  background: #ed3061;
  animation: ldio-ei4wj7fv59r-3 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  animation-delay: undefineds;
}

.loadingio-spinner-pulse-64pwtoq3l1e {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: #ffffff;
}
.ldio-ei4wj7fv59r {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-ei4wj7fv59r div {
  box-sizing: content-box;
}
/* generated by https://loading.io/ */

.loading-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 100%;
}

/* -------------------
  BLOG */

@media (min-width: 992px) {
  /* .news-block__content {
    display: flex;
  } */
}

.news-block .entry-thumb img {
  width: 100%;
}

.entry-excerpt p {
  font-size: 14px;
  line-height: 1.6;
}

.single-post .primary-content .simplefavorite-button {
  display: none;
}

/* Footer Edits */

section#text-4,
section#text-5 {
  position: relative;
}
section#text-4:after,
section#text-5:after {
  content: "";
  width: 90%;
  height: 100%;
  position: absolute;
  top: 9px;
  left: 0;
  border: 1px solid white;
  border-radius: 15px;
  margin: 0 auto;
  right: 0;
  pointer-events: none;
}

img.category-brochure {
  width: 100%;
  transition: 0.3s;
}
img.category-brochure:hover {
  transform: scale(0.9);
  filter: drop-shadow(2px 4px 6px black);
}

.bright-hover,
.invert-hover {
  transition: 0.3s;
}

.invert-hover:hover {
  filter: invert(1);
}

.bright-hover:hover {
  filter: brightness(1.2);
}

/* ReCaptcha */

body:not(.page-template-page-contact) .grecaptcha-badge {
  display: none !important;
}

/* Firefox Fixes */
.hide-for-ff {
  display: block;
}
.show-for-ff {
  display: none;
}
@-moz-document url-prefix() {
  .hide-for-ff {
    display: none;
  }
  .show-for-ff {
    display: block;
  }
}

@media (max-width: 992px) {
  .hide-for-ff {
    display: block;
  }
  .show-for-ff {
    display: none;
  }
  @-moz-document url-prefix() {
    .hide-for-ff {
      display: block;
    }
    .show-for-ff {
      display: none;
    }
  }
}

.home-blog .homepage-blog-button {
  padding-top: 20px;
}

.voucher-btn a {
  transition: 0.3s ease all;
  display: inline-block;
  background-color: #017cba;
  color: white !important;
  padding: 0.7rem 1rem;
  border-radius: 5px;
}

.voucher-btn a:hover {
  background-color: #ed008c;
}
