@charset "UTF-8";
/* Styles  ------------------------------------------------------------------------------------ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap");

.wp-block-cb-carousel .slick-slide{
	padding: 1em;
}

.slick-track {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.post_item .post_image,
.post_thumb .post_image {
  aspect-ratio: 10/6;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.gallery_post_images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery_post_img {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

img.post_img {
  object-fit: contain;
  z-index: 9999;
}

img.post_img_bg {
  filter: blur(16px);
}

img.post_img, img.post_img_bg {
  width: 100%;
  height: 100%;
  position: absolute;
}












/* Default Partials  ------------------------------------------------------------------------------------ */
/* Icons ------------------------------------------------------------------------------------ */
h3.check.icon:before {
  background-image: url("../links/icons/color/check.svg");
}

h3.close.icon:before {
  background-image: url("../links/icons/color/close.svg");
}

h3.contact.icon:before {
  background-image: url("../links/icons/color/contact.svg");
}

h3.doc.icon:before {
  background-image: url("../links/icons/color/doc.svg");
}

h3.down.icon:before {
  background-image: url("../links/icons/color/down.svg");
}

h3.email.icon:before {
  background-image: url("../links/icons/color/email.svg");
}

h3.grid.icon:before {
  background-image: url("../links/icons/color/grid.svg");
}

h3.home.icon:before {
  background-image: url("../links/icons/color/home.svg");
}

h3.list.icon:before {
  background-image: url("../links/icons/color/list.svg");
}

h3.location.icon:before {
  background-image: url("../links/icons/color/location.svg");
}

h3.menu.icon:before {
  background-image: url("../links/icons/color/menu.svg");
}

h3.minus.icon:before {
  background-image: url("../links/icons/color/minus.svg");
}

h3.news.icon:before {
  background-image: url("../links/icons/color/news.svg");
}

h3.next.icon:before {
  background-image: url("../links/icons/color/next.svg");
}

h3.phone.icon:before {
  background-image: url("../links/icons/color/phone.svg");
}

h3.play.icon:before {
  background-image: url("../links/icons/color/play.svg");
}

h3.plus.icon:before {
  background-image: url("../links/icons/color/plus.svg");
}

h3.prev.icon:before {
  background-image: url("../links/icons/color/prev.svg");
}

h3.quote.icon:before {
  background-image: url("../links/icons/color/quote.svg");
}

h3.search.icon:before {
  background-image: url("../links/icons/color/search.svg");
}

h3.settings.icon:before {
  background-image: url("../links/icons/color/settings.svg");
}

h3.up.icon:before {
  background-image: url("../links/icons/color/up.svg");
}

h3.user.icon:before {
  background-image: url("../links/icons/color/user.svg");
}

h3.podcasts.icon:before {
  background-image: url("../links/icons/color/podcasts.svg");
}

a.check.button.icon:before,
.drop_menu a.check.toggle_button:before,
.dark h3.check.icon:before {
  background-image: url("../links/icons/white/check.svg");
}

a.close.button.icon:before,
.drop_menu a.close.toggle_button:before,
.dark h3.close.icon:before {
  background-image: url("../links/icons/white/close.svg");
}

a.contact.button.icon:before,
.drop_menu a.contact.toggle_button:before,
.dark h3.contact.icon:before {
  background-image: url("../links/icons/white/contact.svg");
}

a.doc.button.icon:before,
.drop_menu a.doc.toggle_button:before,
.dark h3.doc.icon:before {
  background-image: url("../links/icons/white/doc.svg");
}

a.down.button.icon:before,
.drop_menu a.down.toggle_button:before,
.dark h3.down.icon:before {
  background-image: url("../links/icons/white/down.svg");
}

a.email.button.icon:before,
.drop_menu a.email.toggle_button:before,
.dark h3.email.icon:before {
  background-image: url("../links/icons/white/email.svg");
}

a.grid.button.icon:before,
.drop_menu a.grid.toggle_button:before,
.dark h3.grid.icon:before {
  background-image: url("../links/icons/white/grid.svg");
}

a.home.button.icon:before,
.drop_menu a.home.toggle_button:before,
.dark h3.home.icon:before {
  background-image: url("../links/icons/white/home.svg");
}

a.list.button.icon:before,
.drop_menu a.list.toggle_button:before,
.dark h3.list.icon:before {
  background-image: url("../links/icons/white/list.svg");
}

a.location.button.icon:before,
.drop_menu a.location.toggle_button:before,
.dark h3.location.icon:before {
  background-image: url("../links/icons/white/location.svg");
}

a.menu.button.icon:before,
.drop_menu a.menu.toggle_button:before,
.dark h3.menu.icon:before {
  background-image: url("../links/icons/white/menu.svg");
}

a.minus.button.icon:before,
.drop_menu a.minus.toggle_button:before,
.dark h3.minus.icon:before {
  background-image: url("../links/icons/white/minus.svg");
}

a.news.button.icon:before,
.drop_menu a.news.toggle_button:before,
.dark h3.news.icon:before {
  background-image: url("../links/icons/white/news.svg");
}

a.next.button.icon:before,
.drop_menu a.next.toggle_button:before,
.dark h3.next.icon:before {
  background-image: url("../links/icons/white/next.svg");
}

a.phone.button.icon:before,
.drop_menu a.phone.toggle_button:before,
.dark h3.phone.icon:before {
  background-image: url("../links/icons/white/phone.svg");
}

a.play.button.icon:before,
.drop_menu a.play.toggle_button:before,
.dark h3.play.icon:before {
  background-image: url("../links/icons/white/play.svg");
}

a.plus.button.icon:before,
.drop_menu a.plus.toggle_button:before,
.dark h3.plus.icon:before {
  background-image: url("../links/icons/white/plus.svg");
}

a.prev.button.icon:before,
.drop_menu a.prev.toggle_button:before,
.dark h3.prev.icon:before {
  background-image: url("../links/icons/white/prev.svg");
}

a.quote.button.icon:before,
.drop_menu a.quote.toggle_button:before,
.dark h3.quote.icon:before {
  background-image: url("../links/icons/white/quote.svg");
}

a.search.button.icon:before,
.drop_menu a.search.toggle_button:before,
.dark h3.search.icon:before {
  background-image: url("../links/icons/white/search.svg");
}

a.settings.button.icon:before,
.drop_menu a.settings.toggle_button:before,
.dark h3.settings.icon:before {
  background-image: url("../links/icons/white/settings.svg");
}

a.up.button.icon:before,
.drop_menu a.up.toggle_button:before,
.dark h3.up.icon:before {
  background-image: url("../links/icons/white/up.svg");
}

a.user.button.icon:before,
.drop_menu a.user.toggle_button:before,
.dark h3.user.icon:before {
  background-image: url("../links/icons/white/user.svg");
}

a.podcasts.button.icon:before,
.drop_menu a.podcasts.toggle_button:before,
.dark h3.podcasts.icon:before {
  background-image: url("../links/icons/white/podcasts.svg");
}

/* Social icons  ------------------------------------------------------------------------------------ */
.social li.facebook a:after {
  background-image: url("../links/social/facebook.svg");
}

.social li.twitter a:after {
  background-image: url("../links/social/twitter.svg");
}

.social li.instagram a:after {
  background-image: url("../links/social/instagram.svg");
}

.social li.linkedin a:after {
  background-image: url("../links/social/linkedin.svg");
}

.social li.youtube a:after {
  background-image: url("../links/social/youtube.svg");
}

.social li.snapchat a:after {
  background-image: url("../links/social/snapchat.svg");
}

.social li.google a:after {
  background-image: url("../links/social/google.svg");
}

.social li.untappd a:after {
  background-image: url("../links/social/untappd.svg");
}

/* Images ------------------------------------------------------------------------------------ */
.wp-block-image img,
.wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item figure img,
.wp-block-media-text figure.wp-block-media-text__media img,
figure.wp-block-video video {
  display: block;
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 0.6rem !important;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

.wp-block-image a,
.wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item figure a,
.wp-block-media-text figure.wp-block-media-text__media a {
  display: block;
  position: relative;
}

@media all and (min-device-width: 1025px) {

  .wp-block-image a:after,
  .wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item figure a:after,
  .wp-block-media-text figure.wp-block-media-text__media a:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 25, 41, 0.5);
    background-image: url(../links/button/view.svg);
    background-size: 60px 60px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0.6rem;
    opacity: 0;
    visibility: hidden;
  }

  .wp-block-image a:hover:after,
  .wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item figure a:hover:after,
  .wp-block-media-text figure.wp-block-media-text__media a:hover:after {
    opacity: 1;
    visibility: visible;
  }
}

.wp-block-image figcaption,
.wp-block-gallery figcaption.blocks-gallery-caption,
figure.wp-block-embed figcaption {
  margin: .75rem 0;
  color: #222;
  font-size: .8em;
  font-weight: 700;
  line-height: 1.5em;
  text-align: center;
  opacity: .75;
}

/* Formatting ------------------------------------------------------------------------------------ */
hr.wp-block-separator,
hr {
  display: block;
  max-width: 240px;
  height: 2px;
  margin: 4em auto;
  background-color: #ccc;
  border: none;
  outline: none;
  appearance: none;
  clear: both;
}

/* Buttons  ------------------------------------------------------------------------------------ */
a.wp-block-button__link,
a.button,
.drop_menu a.toggle_button {
  display: inline-block !important;;
  vertical-align: bottom !important;;
  padding: .25em 1em !important;
  font-size: .8em !important;;
  line-height: 2em !important;;
  font-weight: 700 !important;;
  color: #fff !important;
  text-decoration: none !important;;
  background-color: #f16430 !important;;
  border-radius: 0.3rem !important; ;
}

@media screen and (min-device-width: 1025px) {

  a.wp-block-button__link:hover,
  a.button:hover,
  .drop_menu a.toggle_button:hover {
    background-color: #d3603d;
  }
}

a.button.icon,
.drop_menu a.toggle_button {
  position: relative;
  padding-left: 2.5em !important;
}

a.button.icon:before,
.drop_menu a.toggle_button:before,
a.button.icon:after,
.drop_menu a.toggle_button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5em;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

.dark a.wp-block-button__link,
a.button.dark {
  background-color: transparent;
}

@media screen and (min-device-width: 1025px) {

  .dark a.wp-block-button__link:hover,
  a.button.dark:hover {
    background-color: #f16430;
  }
}

@keyframes pulse {
  0% {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: -24px;
    right: -24px;
    bottom: -24px;
    left: -24px;
  }
}

/* Buttons  ------------------------------------------------------------------------------------ */
.wp-block-buttons {
  margin: 1.25rem 0 !important;
}

/* Separator  ------------------------------------------------------------------------------------ */
/* Columns  ------------------------------------------------------------------------------------ */
.wp-block-columns {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.wp-block-columns.has-background {
  border-radius: 0.6rem;
}

.wp-block-columns .wp-block-column {
  margin-top: 0;
  margin-bottom: 0;
}

/* Quote  ------------------------------------------------------------------------------------ */
blockquote.wp-block-quote {
  margin: 2rem 0;
  padding-left: 1em;
  border-left: solid 4px #f16430;
}

blockquote.wp-block-quote p {
  font-size: 1rem;
  font-style: normal;
}

blockquote.wp-block-quote cite {
  font-size: .8rem;
  font-weight: 700;
}

blockquote.wp-block-quote.is-style-large {
  margin: 2em 0;
  padding-left: 1em;
  border-left: solid 4px #f16430;
}

blockquote.wp-block-quote.is-style-large p {
  font-size: 1.25rem;
  font-style: normal;
}

blockquote.wp-block-quote.is-style-large cite {
  font-size: 1rem;
  font-weight: 700;
}

/* Pullquote  ------------------------------------------------------------------------------------ */
figure.wp-block-pullquote {
  position: relative;
  font-size: 1em;
  margin: 4rem 0;
  padding: 2em;
  border-top: solid 4px #f16430;
  border-bottom: solid 4px #f16430;
}

figure.wp-block-pullquote blockquote {
  margin: 1em auto;
  padding: 0;
}

figure.wp-block-pullquote blockquote p {
  font-size: 1.25em;
  font-style: normal;
  margin: 1rem 0;
}

figure.wp-block-pullquote blockquote cite {
  font-size: .9rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  margin: 1rem 0;
}

figure.wp-block-pullquote.is-style-solid-color {
  position: relative;
  font-size: 1em;
  margin: 3em 0;
  padding: 2em 1em 1em;
  background-color: #2a3153;
  border: none;
  border-radius: 0.6rem;
}

figure.wp-block-pullquote.is-style-solid-color:after {
  content: '';
  position: absolute;
  top: -2em;
  left: 50%;
  width: 4em;
  height: 4em;
  margin-left: -2em;
  background-color: #f16430;
  background-image: url("../links/icons/white/quote.svg");
  background-size: 3em 3em;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

figure.wp-block-pullquote.is-style-solid-color blockquote {
  max-width: 800px;
  margin: 1em auto;
  padding: 0;
  color: #fff;
}

figure.wp-block-pullquote.is-style-solid-color blockquote p {
  font-size: 1.25em;
  font-style: normal;
  margin: 1rem 0 !important;
}

figure.wp-block-pullquote.is-style-solid-color blockquote cite {
  font-size: 1em;
  font-weight: 700;
  margin: 1rem 0 !important;
  color: #f16430;
}

/* Verse  ------------------------------------------------------------------------------------ */
/* Image  ------------------------------------------------------------------------------------ */
.wp-block-image {
  margin-left: 0;
  margin-right: 0;
}

@media all and (min-width: 720px) {

  .wp-block-image figure.alignright,
  .wp-block-image figure.alignleft {
    max-width: 60%;
  }
}

@media all and (max-width: 720px) {

  .wp-block-image figure.alignright,
  .wp-block-image figure.alignleft {
    float: none !important;
    margin: 0 auto !important;
  }
}

.wp-block-image.is-style-none img {
  border: none;
  border-radius: none;
  box-shadow: none;
}

/* Gallery ------------------------------------------------------------------------------------ */
.wp-block-gallery {
  margin: 2rem 0;
  padding: 0;
}

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

.wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item {
  margin: 0;
  padding: 0;
}

.wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item figure figcaption.blocks-gallery-item__caption {
  width: 100% !important;
  padding: .5em 5% !important;
  margin: 0 !important;
  color: #fff !important;
  background: rgba(21, 25, 41, 0.5) !important;
  border-bottom-left-radius: 0.6rem;
  border-bottom-right-radius: 0.6rem;
  opacity: 1 !important;
  pointer-events: none;
}

/* Media & Text ------------------------------------------------------------------------------------ */
.wp-block-media-text {
  margin: 2rem 0;
  padding: 0;
}

.wp-block-media-text .wp-block-media-text__content p {
  line-height: 1.2;
}

/* Embed ------------------------------------------------------------------------------------ */
figure.wp-block-embed {
  margin: 2rem 0;
  padding: 0;
}

figure.wp-block-embed .wp-block-embed__wrapper {
  margin: 0;
  padding: 0;
  background-color: transparent;
}

figure.wp-block-embed .wp-block-embed__wrapper:before {
  padding-top: 0 !important;
}

figure.wp-block-embed .wp-block-embed__wrapper iframe {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

figure.wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56%;
}

figure.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video Embed ------------------------------------------------------------------------------------ */
figure.wp-block-video video {
  width: 100%;
}

/* Tables ------------------------------------------------------------------------------------ */
.wp-block-table {
  margin: 2rem 0;
  padding: 0;
}

.wp-block-table table {
  border-collapse: collapse;
}

.wp-block-table tbody tr {
  vertical-align: top;
  border-bottom: solid 2px #ccc;
}

.wp-block-table tbody tr td {
  padding: .4em .8em;
}

.wp-block-table thead tr th {
  padding: .4em .8em;
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 2em;
  text-align: left;
  background-color: #f16430;
}

.wp-block-table thead tr th:nth-child(1) {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.wp-block-table thead tr th:nth-last-child(1) {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

/* Body ------------------------------------------------------------------------------------ */
html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ddd;
}

body.dark {
  background-color: #151929;
}

/* Copy ------------------------------------------------------------------------------------ */
html {
  font-size: 20px;
  line-height: 1.75;
}

@media all and (max-width: 1025px) {
  html {
    font-size: 16px;
  }
}

body,
input,
textarea {
  color: #222;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: subpixel-antialiased;
}

.dark,
.dark input,
.dark textarea {
  color: #fff;
}

strong {
  font-weight: 700;
}

sub,
sup {
  font-size: .5em;
  line-height: 0;
}

sub {
  vertical-align: sub;
}

sup {
  vertical-align: super;
}

/* Margins */
p,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1rem 0;
}

/* Links */
a {
  cursor: pointer;
  color: #222;
  text-decoration: underline;
}

a:hover {
  color: #f16430;
}

.dark a {
  color: #fff;
}

.dark a:hover {
  color: #f16430;
}

/* Buttons */
/* Headlines */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4,
h5,
h6 {
  font-weight: 700;
  font-size: 1.25em;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: #fff;
}

/* Icon titles */
h3.icon {
  font-size: 1.5em;
  line-height: 2em;
}

h3.icon:before {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 2.5em;
  height: 2em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5em 1.5em;
}

.dark h3.icon {
  color: #fff;
}

/* Lists */
ul,
ol {
  padding-left: 1.5em;
}

li ul,
li ol {
  margin: 0 0 .25rem;
}

/* Dividers */
hr.clearall {
  max-width: 100%;
  height: 0;
  margin: 0;
  background-color: transparent !important;
}

/* Forms */
input {
  font-size: 1em;
}

textarea {
  font-size: 1em;
  resize: none;
}

/* Transitions */
a,
a *,
:before,
:after,
input,
textarea {
  -webkit-transition: all 200ms;
  transition: all 200ms;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
}

/* Containers ------------------------------------------------------------------------------------ */
.container {
  position: relative;
  max-width: 100vw;
  margin: 0 auto;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.dark .container,
.container.dark {
  background-color: #343e67;
}

.fullwidth {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}

section.content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

.padding {
  padding: 1em;
}

/* Floating ------------------------------------------------------------------------------------ */
.half,
.twothird,
.third,
.quarter,
.threequarter {
  float: left;
  width: 100%;
}

@media all and (min-width: 720px) {
  .half {
    width: 50%;
  }

  .twothird {
    width: 67%;
  }

  .third {
    width: 33%;
  }

  .quarter {
    width: 25%;
  }

  .threequarter {
    width: 75%;
  }
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

/* Grids & Columns ------------------------------------------------------------------------------------ */
@media screen and (min-width: 720px) {
  .halves {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
  }

  .thirds {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1em;
  }

  .quarters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
  }
}

/* Banners ------------------------------------------------------------------------------------ */
.banner_background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center;
  background-repeat: repeat-x;
  background-size: cover;
}

/* Additional CSS  ------------------------------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #3f4a7c;
}

h1 {
  font-size: 1.8em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.4em;
}

h4,
h5,
h6 {
  font-weight: 700;
  font-size: 1.2em;
}

/* Swipebox  ------------------------------------------------------------------------------------ */
#swipebox-overlay {
  background: rgba(21, 25, 41, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

#swipebox-overlay img {
  border-radius: 0.6rem;
}

#swipebox-slider {
  top: 60px;
  height: calc(100% - 70px);
  left: 0;
  width: 100%;
}

#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}

#swipebox-top-bar {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-shadow: none;
  line-height: 60px;
  background: transparent;
}

#swipebox-close {
  top: 5px;
  right: 5px;
  border-radius: 50%;
  background-color: #f16430;
}

#swipebox-close:hover {
  background-color: #d3603d;
}

#swipebox-bottom-bar {
  bottom: 50%;
  margin-bottom: -50px;
  background: transparent;
}

#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, -25px, 0);
  transform: translate3d(0, -25px, 0);
}

#swipebox-arrows {
  width: 100% !important;
  max-width: 100% !important;
}

#swipebox-prev,
#swipebox-next {
  width: 50px;
  height: 50px;
  background-color: #3f4a7c;
  border-radius: 0.3rem;
}

#swipebox-prev:hover,
#swipebox-next:hover {
  background-color: #343e67;
}

/* Partials  ------------------------------------------------------------------------------------ */
/* Dots  ------------------------------------------------------------------------------------ */
.owl-dots {
  display: none;
  position: absolute;
  bottom: .5em;
  left: 0;
  width: 100%;
  min-width: 100%;
  text-align: center;
}

@media all and (min-width: 720px) {
  .owl-dots {
    display: block;
  }
}

.owl-dots .owl-dot {
  display: inline-block;
  width: .5em;
  height: .5em;
  margin: .125em;
  border: solid 2px #fff;
  border-radius: 50%;
}

.owl-dots .owl-dot.active {
  background-color: #fff;
}

@media all and (min-device-width: 1025px) {
  .owl-dots {
    bottom: 0;
    opacity: 0;
  }

  .owl-carousel:hover .owl-dots {
    bottom: .5em;
    opacity: 1;
  }
}

/* Arrows  ------------------------------------------------------------------------------------ */
.owl-nav {
  display: none;
}

@media all and (min-device-width: 1025px) {
  .owl-nav {
    display: block;
  }
}

.owl-prev,
.owl-next {
  display: block;
  position: absolute;
  z-index: 90;
  top: 50%;
  width: 40px;
  height: 80px;
  margin-top: -40px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-color: #3f4a7c;
  border-radius: 0.3rem;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

@media all and (min-device-width: 1025px) {

  .owl-prev:hover,
  .owl-next:hover {
    background-color: #343e67;
  }
}

.owl-prev {
  left: 10px;
  background-image: url(../links/icons/white/prev.svg);
}

.owl-next {
  right: 10px;
  background-image: url(../links/icons/white/next.svg);
}

@media all and (min-width: 1025px) {
  .owl-prev {
    left: 0;
    opacity: 0;
  }

  .owl-carousel:hover .owl-prev {
    left: 10px;
    opacity: 1;
  }

  .owl-next {
    right: 0;
    opacity: 0;
  }

  .owl-carousel:hover .owl-next {
    right: 10px;
    opacity: 1;
  }
}

/* Transitions  ------------------------------------------------------------------------------------ */
.owl-dots,
.owl-dot,
.owl-prev,
.owl-next {
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

/* Post items ------------------------------------------------------------------------------------ */
.post_item .post_image,
.post_thumb .post_image {
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0.6rem;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

.post_item .post_image a,
.post_thumb .post_image a {
  display: block;
  padding-top: 60%;
}

@media screen and (min-device-width: 1025px) {

  .post_item .post_image a:before,
  .post_thumb .post_image a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2a3153;
    border-radius: 0.6rem;
    opacity: 0;
  }

  .post_item .post_image a:hover:before,
  .post_thumb .post_image a:hover:before {
    opacity: .6;
  }

  .post_item .post_image a:after,
  .post_thumb .post_image a:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4em;
    height: 4em;
    margin-top: -2em;
    margin-left: -2em;
    background-image: url("../links/icons/white/next.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 3em 3em;
    opacity: 0;
    transform: scale(0.8, 0.8);
    visibility: hidden;
  }

  .post_item .post_image a:hover:after,
  .post_thumb .post_image a:hover:after {
    opacity: 1;
    transform: scale(1, 1);
    visibility: visible;
  }
}

.post_item {
  display: block;
  position: relative;
  margin: 2rem auto;
  text-decoration: none !important;
}

.post_item h2.post_title {
  font-size: 1.4em;
}

.post_item p.post_date {
  font-size: .8em;
}

.post_item p.post_excerpt {
  font-size: .8em;
}

@media screen and (min-width: 720px) {
  .post_item.has_thumbnail h2.post_title {
    float: left;
    width: 50%;
    margin-bottom: 0;
    padding-right: 2%;
  }

  .post_item.has_thumbnail .post_info {
    float: right;
    width: 50%;
    padding-right: 2%;
  }

  .post_item.has_thumbnail .post_image {
    float: right;
    width: 48%;
  }
}

/*
 * DISABLE BY NICH IN FAVOR OF THE DISPLAY GRID. MAY NEED TO BE REENABLED BASED ON HOW IT EFFECTS OTHER PAGES
.post_thumb {
  position: relative;
  vertical-align: top;
  margin: .5rem;
}*/

@media screen and (min-device-width: 1025px) {
  .post_thumb .post_image a:after {
    background-image: url("../links/icons/white/search.svg");
  }
}

.post_thumb .post_title {
  margin: .5rem;
  font-size: .8em;
  font-weight: 700;
  text-align: center;
}

/* Testimonials ------------------------------------------------------------------------------------ */
.testimonial_card {
  position: relative;
  font-size: .75em;
}

.testimonial_card p.testimonial {
  position: relative;
  font-style: italic;
}

.testimonial_card p.testimonial:before {
  content: "";
  position: relative;
  float: left;
  top: 0;
  left: 0;
  width: 3.5em;
  height: 3.5em;
  background-image: url("../links/icons/color/quote.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 3em 3em;
}

.testimonial_card p.client span {
  opacity: 50%;
}

.testimonial_card .logo {
  position: relative;
  float: left;
  width: 5.25em;
  height: 3.5em;
  margin-right: 1em;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Logos  ------------------------------------------------------------------------------------ */
.logo_card {
  margin: 0;
  padding-top: 67%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Banner Slider  ------------------------------------------------------------------------------------ */
.banner-slider {
  border-radius: 0.6rem;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
  overflow: hidden;
}

.banner-slider .banner_container {
  padding-top: 60%;
}

.banner-slider .banner_container section.content {
  width: 80%;
  padding-right: 10%;
  padding-left: 10%;
  text-align: center;
}

/* Services  ------------------------------------------------------------------------------------ */
ul#services {
  margin: 0;
  padding: 0;
}

ul#services li {
  display: block;
  margin: 1em auto;
}

ul#services li a {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 100% 0 0;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.25em;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 8em 4em;
  border-radius: inherit;
  text-decoration: none;
}

ul#services li a div {
  position: absolute;
  top: 1em;
  left: 1em;
  width: calc(100% - 2em);
  padding-top: calc(100% - 2.5em);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

ul#services li a div:after {
  content: '';
  position: absolute;
  top: -.3em;
  right: -.3em;
  bottom: -.3em;
  left: -.3em;
  border: solid 0.6em #3f4a7c;
  border-radius: 50%;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

ul#services li a:hover div {
  transform: scale(1.05, 1.05);
}

ul#services li a:hover div:after {
  top: -.7em;
  right: -.7em;
  bottom: -.7em;
  left: -.7em;
  border: solid 0.8em #f16430;
}

/* Dropdown menus ------------------------------------------------------------------------------------ */
#sidebar a.button,
.drop_menu a.toggle_button {
  display: block;
  font-size: 1em;
  background-color: #2a3153;
}

@media screen and (min-width: 720px) {

  #sidebar a.button,
  .drop_menu a.toggle_button {
    display: inline-block;
    background-color: transparent;
  }
}

#sidebar a.ispage.button,
.drop_menu a.ispage.toggle_button {
  background-color: #f16430;
}

@media screen and (min-device-width: 1025px) {

  #sidebar a.button:hover,
  .drop_menu a.toggle_button:hover {
    background-color: #d3603d;
  }
}

#sidebar {
  z-index: 500;
  position: relative;
  text-align: center;
  font-size: .8em;
  padding: 1rem;
  background-color: #343e67;
}

@media screen and (max-width: 720px) {
  #sidebar a.button {
    display: block !important;
    margin: 4px 0;
  }
}

.drop_menu {
  display: block;
  position: relative;
  z-index: 500;
  overflow: visible;
}

.drop_menu a.toggle_button:before {
  background-image: url("../links/icons/white/down.svg");
  display: block;
}

.drop_menu a.toggle_button:after {
  background-image: url("../links/icons/white/close.svg");
  display: none;
}

.drop_menu.active a.toggle_button {
  background-color: #f16430;
}

.drop_menu.active a.toggle_button:before {
  display: none;
}

.drop_menu.active a.toggle_button:after {
  display: block;
}

@media screen and (max-width: 720px) {
  .drop_menu {
    margin: 4px 0;
    border-radius: 0.3rem;
  }

  .drop_menu.active {
    background-color: #d3603d;
  }

  .drop_menu ul {
    display: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .drop_menu ul li {
    display: block;
    margin: 0;
    padding: 0;
  }

  .drop_menu ul li a {
    display: block;
    padding: .5em 1em;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
  }

  .drop_menu ul li.current-cat a {
    background-color: rgba(63, 74, 124, 0.2);
  }
}

@media screen and (min-width: 720px) {
  .drop_menu {
    display: inline-block;
    vertical-align: bottom;
  }

  .drop_menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 16em;
    margin: 0;
    padding: 4px 0 0;
    text-align: left;
    box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
    transform: translateX(-50%);
  }

  .drop_menu ul li {
    display: block;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
    background-color: #d3603d;
    overflow: hidden;
  }

  .drop_menu ul li a {
    display: block;
    position: relative;
    padding: .5em 1em;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
  }
}

@media screen and (min-width: 720px) and (min-device-width: 1025px) {
  .drop_menu ul li a:hover {
    background-color: rgba(63, 74, 124, 0.3) !important;
  }
}

@media screen and (min-width: 720px) {
  .drop_menu ul li.current-cat a {
    background-color: rgba(63, 74, 124, 0.2);
  }

  .drop_menu ul li:first-child {
    border-top-right-radius: 0.3rem;
    border-top-left-radius: 0.3rem;
  }

  .drop_menu ul li:last-child {
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
  }
}

.drop_menu.active {
  z-index: 501;
}

.drop_menu.active ul {
  display: block;
}

@media screen and (min-width: 720px) {
  .drop_menu.active .overlay {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Pagination ------------------------------------------------------------------------------------ */
.page_numbers {
  position: relative;
  font-size: 0;
  font-weight: 700;
  text-align: center;
}

.page_numbers>* {
  display: inline-block;
  margin: 1rem 0;
  padding: 1em;
  font-size: .75rem;
  line-height: 1em;
  background-color: #ddd;
}

.page_numbers a {
  color: #222;
  text-decoration: none;
}

.page_numbers a:hover {
  color: #fff;
  background-color: #f16430;
}

.page_numbers .current {
  background-color: #ccc;
}

.page_numbers *:first-child {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.page_numbers *:last-child {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

/* Dark */
.dark .page_numbers>* {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark .page_numbers a {
  color: #fff;
}

.dark .page_numbers a:hover {
  color: #fff;
  background-color: #f16430;
}

.dark .page_numbers .current {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Social buttons  ------------------------------------------------------------------------------------ */
.social ul {
  display: block;
  margin: 0;
  padding: 0;
}

.social ul li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding: 0 2px;
}

.social ul li a {
  display: block;
  position: relative;
  font-size: 40px;
  height: .5em;
  padding: .25em 0 .25em 1em;
  border-radius: 0.3rem;
}

.social ul li a:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  background-size: 1em 1em;
  background-repeat: no-repeat;
  background-position: center;
}

.social ul li a span {
  display: none;
  color: #222;
  font-size: 14px;
  line-height: 1.42em;
  font-weight: 700;
  padding-right: 1em;
}

@media all and (min-device-width: 1025px) {
  .social ul li a:hover {
    background-color: #f16430;
  }
}

/* Styling ------------------------------------------------------------------------------------ */
input,
.ninja-forms-field {
  outline: 0 none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  width: calc(100% - 4px) !important;
  margin: 0 auto !important;
  padding: .5em 0;
  color: #222 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 1em;
  line-height: 1.5;
  font-weight: 400;
  text-indent: .5em;
  background-color: #ddd;
  border-color: transparent;
  border-style: solid;
  border-width: 2px !important;
  border-radius: 0.3rem;
}

input[type=submit],
.submit-wrap .ninja-forms-field {
  padding: .75em 0;
  cursor: pointer;
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  text-indent: 0;
  background-color: #f16430;
  border-color: transparent;
}

input[type=submit]:hover,
.submit-wrap .ninja-forms-field:hover {
  background-color: #d3603d;
}

/* All Forms ------------------------------------------------------------------------------------ */
/* Ninja Forms ------------------------------------------------------------------------------------ */
.nf-field-container {
  margin: .5rem 0 !important;
  color: #222;
}

.nf-field-container p {
  font-size: .8em;
}

.nf-form-fields-required {
  display: none;
}

.ninja-forms-req-symbol {
  color: #f16430 !important;
}

.nf-before-field {
  font-size: .8em;
}

.nf-after-field {
  font-size: .8em;
}

.nf-field-label {
  margin: 0 !important;
  color: #222;
  font-size: .9em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.dark label,
.dark .nf-field-label {
  color: #fff;
}

::-webkit-input-placeholder {
  color: rgba(34, 34, 34, 0.5);
}

:-moz-placeholder {
  color: rgba(34, 34, 34, 0.5);
}

::-moz-placeholder {
  color: rgba(34, 34, 34, 0.5);
}

:-ms-input-placeholder {
  color: rgba(34, 34, 34, 0.5);
}

.number-wrap .ninja-forms-field {
  max-width: 200px;
}

select {
  background-image: url("../links/icons/color/down.svg");
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: right 10px center;
}

input[type=checkbox],
input[type=radio] {
  /* Hide the OS/Browser checkboxes/radio buttons */
  visibility: hidden !important;
  margin: 0 !important;
  width: 0 !important;
}

input[type=checkbox]+label,
input[type=radio]+label {
  visibility: visible;
  position: relative;
  margin: .5rem 0 !important;
  padding-left: 50px;
  font-size: .9em;
  line-height: 24px;
  cursor: pointer;
}

input[type=checkbox]+label:before,
input[type=radio]+label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 24px;
  border: none;
  border-radius: 12px;
  background: #ccc;
  transition: all 0.3s ease;
}

input[type=checkbox]+label:after,
input[type=radio]+label:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

input[type=checkbox]:checked+label:before,
input[type=radio]:checked+label:before {
  background: #f16430;
}

input[type=checkbox]:checked+label:after,
input[type=radio]:checked+label:after {
  left: 19px;
}

/* Search form ------------------------------------------------------------------------------------ */
#searchform {
  max-width: 600px;
  margin: 1rem auto;
}

#searchform input[type=text] {
  width: calc(100% - 3em) !important;
}

#searchform input[type=submit] {
  padding: 0;
  width: 2.5em !important;
  height: 2.5em;
  color: transparent !important;
  background-image: url("../links/icons/white/search.svg");
  background-size: 2em 2em;
  background-position: center;
  background-repeat: no-repeat;
}

/* Containers ------------------------------------------------------------------------------------ */
.container {
  z-index: 10;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media all and (min-device-width: 1025px) {
  .container {
    background-attachment: fixed;
  }
}

/* Top ------------------------------------------------------------------------------------ */
#top {
  z-index: 200;
  text-align: center;
  background-color: #3f4a7c;
}

#top h1 {
  position: relative;
  margin: 0;
  padding: 2em 1em;
  font-size: 2.5em;
}

#top h1 span {
  display: block;
  font-size: 1.5rem;
  opacity: .5;
}

/* Banners  ------------------------------------------------------------------------------------ */
.banner_container {
  position: relative;
  overflow: hidden;
}

.banner_container .banner_background {
  opacity: .5;
}

.banner_container .banner_blur {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.banner_container section.content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 2em);
  max-width: 800px !important;
  font-size: 20px;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
}

.banner_container section.content .banner_title {
  font-size: 2.5em;
  line-height: 1.2em;
  font-weight: 700;
}

.banner_container section.content .banner_headline {
  font-size: 2.5em;
  line-height: 1.2em;
  font-weight: 700;
}

@media all and (max-width: 720px) {
  .banner_container section.content .banner_headline {
    font-size: 2em;
  }
}

.banner_container section.content .banner_subhead {
  margin: .5rem 0;
  font-size: 2em;
  line-height: 1.2em;
  font-weight: 700;
}

@media all and (max-width: 720px) {
  .banner_container section.content .banner_subhead {
    font-size: 1.5em;
  }
}

.banner_container section.content .banner_caption {
  margin: .5rem 0;
  font-weight: 700;
}

@media all and (min-width: 720px) {
  .banner_container section.content.textleft {
    width: calc(50% - 1em);
    padding-right: 50%;
    text-align: left;
  }

  .banner_container section.content.textcenter {
    text-align: center;
  }

  .banner_container section.content.textright {
    width: calc(50% - 1em);
    padding-left: 50%;
    text-align: left;
  }
}

#page_banner {
  z-index: 200;
  background-color: #151929;
}

#page_banner .banner_container {
    height: 70vh;
    min-height: 380px;
    max-height: 60vw;
}

#post_banner {
  z-index: 200;
  background-color: #151929;
}

#post_banner .banner_container {
  height: 60vh;
  min-height: 480px;
  max-height: 120vw;
}

#sub_banner {
  padding: 2em 0;
  text-align: center;
  background-color: #3f4a7c;
}

#page_banner.post-2 section.content .banner_headline {
  font-size: 2.5em;
}

@media all and (max-width: 720px) {
  #page_banner.post-2 section.content .banner_headline {
    font-size: 6.5vw;
  }
}

#page_banner.post-2 section.content .banner_subhead {
  margin: 0;
  font-size: 2.5em;
}

@media all and (max-width: 720px) {
  #page_banner.post-2 section.content .banner_subhead {
    font-size: 6.5vw;
  }
}

/* Masonry ------------------------------------------------------------------------------------ */
/*STLYE ADDED BY NICH TO REPLACE THE PREVIOUSLY USED JQUERY METHOD*/
#masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 1em;
}

/* STYLE DISABLED BY NICH IN FAVOR OF A DISPLAY GRID
 * MORE FLEXIBLE OPTION AND KEEPS ELEMENTS EVENLY ALIGNED EVEN IF THEY HAVE LONGER TITLES.
 * 
#masonry .grid_item {
  float: left;
  width: 100%; }

@media all and (min-width: 480px) {
  #masonry .grid_item {
    width: 50%; } }
@media all and (min-width: 1025px) {
  #masonry .grid_item {
    width: 33.3%; } }
*/



/* Projects ------------------------------------------------------------------------------------ */
#projects {
  padding: .5em 0;
}

/* Widgets ------------------------------------------------------------------------------------ */
#services-slider {
  padding: 3rem 0;
}

#services-slider section.content {
  padding-left: 0;
  padding-right: 0;
}

#testimonials-widget {
  padding: 4rem 0;
}

#testimonials-widget section.content {
  max-width: 1025px;
}

#testimonials-widget #testimonial-slider {
  padding-top: 60px;
}

#testimonials-widget #testimonial-slider:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  height: 60px;
  margin-left: -100px;
  background-image: url("../links/star.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 40px 40px;
}

/* Footers ------------------------------------------------------------------------------------ */
#contact-footer {
  padding: 4rem 0;
  font-size: .75em;
}

@media screen and (min-width: 720px) {
  #contact-footer section.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4em;
  }
}

#contact-footer .contact-info img {
  max-width: 180px;
  margin-top: .5rem;
  margin-bottom: .5rem;
  border-radius: 0.3rem !important;
}

#contact-footer .contact-info img.flag {
  display: block;
  width: 90px;
  height: auto;
  border-radius: 0.3rem;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

#menu-footer ul#footer-menu {
  margin: 1rem 0;
  padding: 0;
  font-size: .9em;
}

#menu-footer ul#footer-menu li {
  display: block;
  margin: .5em;
  padding: 0;
}

#menu-footer ul#footer-menu li a {
  text-decoration: none;
}

@media screen and (min-width: 720px) {
  #menu-footer ul#footer-menu li {
    display: inline-block;
  }
}

#footer {
  position: relative;
  z-index: 80;
  font-size: .75em;
  background-color: #3f4a7c;
}

@media all and (min-width: 1025px) {
  #footer p.copyright {
    padding-right: 200px;
  }

  #footer p.copyright span:nth-child(1):after {
    content: " •";
  }

  #footer p.privacy {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
  }
}

@media all and (max-width: 1025px) {
  #footer {
    text-align: center;
  }

  #footer p span {
    display: block;
  }
}

/* Post title ------------------------------------------------------------------------------------ */
#post_title {
  padding: 1rem 0;
}

#post_title p {
  opacity: .40;
}

/* Attachment page ------------------------------------------------------------------------------------ */
.attachment_image {
  text-align: center;
}

.attachment_image img {
  display: block;
  position: relative;
  vertical-align: bottom;
  max-width: 100%;
  max-height: 600px;
  margin: 1em auto;
  border-radius: 0.6rem;
  box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
}

/* The Navigation ------------------------------------------------------------------------------------ */
#nav {
  position: fixed;
  z-index: 1000;
  width: 100%;
}

#nav section.content {
  max-width: 100vw;
  padding: 0;
}

#nav a {
  text-decoration: none !important;
}

#nav.active {
  background-color: #3f4a7c;
  box-shadow: 0 0 12px rgba(21, 25, 41, 0.5);
}

#nav,
#nav * {
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

@media all and (min-width: 1280px) {

  /* Desktop ------------------------------------------------------------------------------------ */
  #nav a#nav_logo {
    display: block;
    position: relative;
    width: 240px;
    height: 100px;
    padding: 20px;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    background-image: url("../links/nav_logo.png");
    background-size: 240px 80px;
    background-repeat: no-repeat;
    background-position: center;
  }

  #nav a#nav_logo:before {
    content: 'Since 2008';
    position: absolute;
    bottom: 0;
    left: 50%;
	font-size: 13px !important;
    transform: translateX(-50%);
    height: 16px;
    padding: 20px;
  }

  #nav a#nav_logo:after {
    pointer-events: none;
    content: 'Expanding Brands for Stronger Exits.' !important;
    position: absolute;
    top: 56% !important;
	font-size: 13px !important;
    left: 100%;
    margin-left: -10px;
    transform: translateY(-50%);
    color: #ffffff !important;
    width: 270px !important;
    height: 32px;
  }

  #nav.active a#nav_logo {
    width: 180px;
    height: 60px;
    background-size: 180px 60px;
  }

  #nav.active a#nav_logo:before {
    opacity: 0;
    visibility: hidden;
  }

  #nav.active a#nav_logo:after {
    opacity: 0;
    visibility: hidden;
  }

  #top {
    padding-top: 140px;
  }

  /* Main menu ------------------------------------------------------------------------------------ */
  #main_menu {
    z-index: 1100;
    position: absolute;
    top: 50%;
    right: 0;
    padding: 0 20px;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
  }

  #main_menu ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  #main_menu ul li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    padding: 0;
  }

  #main_menu ul li a {
    display: block;
    padding: 20px 15px;
    color: #fff;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
  }

  #main_menu ul li.current-menu-item>a,
  #main_menu ul li.current-menu-ancestor>a {
    color: #f16430;
  }

  #main_menu ul li:hover>a {
    color: #f16430;
  }

  #main_menu ul li.menu-item-32 a {
    margin: 10px 5px 10px 20px;
    padding: 10px 12px;
    color: #fff !important;
    background-color: #f16430;
    border-radius: 0.3rem;
  }

  #main_menu ul li.menu-item-32 a:hover {
    background-color: #d3603d;
  }

  #main_menu ul li.menu-item-4946 a {
    width: 20px;
    height: 20px;
    margin: 10px;
    margin-left: 5px;
    padding: 10px;
    color: transparent;
    font-size: 0;
    background-image: url("../links/icons/white/search.svg");
    background-size: 30px 30px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.3rem;
  }

  #main_menu ul li.menu-item-4946 a:hover {
    background-color: #d3603d;
  }

  #main_menu ul li ul {
    display: none;
    position: absolute;
    width: 250px;
    text-align: left;
    background-color: #f16430;
    box-shadow: 0 0 1em rgba(21, 25, 41, 0.2);
    overflow: hidden;
    border-radius: 0.3rem;
    box-shadow: 0 0 12px rgba(21, 25, 41, 0.2);
  }

  #main_menu ul li ul li {
    display: block;
    margin: 0;
    padding: 0;
  }

  #main_menu ul li ul li a {
    color: #fff !important;
    padding: 12px;
    font-size: 15px;
    border-radius: 0;
    text-transform: none;
  }

  #main_menu ul li ul li.current-menu-item>a {
    background-color: #d3603d;
  }

  #main_menu ul li ul li:hover>a {
    background-color: #d3603d;
  }

  #main_menu ul li ul li:first-child a {
    padding-top: 18px;
  }

  #main_menu ul li ul li:last-child a {
    padding-bottom: 18px;
  }

  #main_menu ul li:hover ul {
    display: block;
  }
}

@media all and (max-width: 1280px) {

  /* Mobile ------------------------------------------------------------------------------------ */
  #nav a#nav_logo {
    display: block;
    position: relative;
    width: 180px;
    height: 60px;
    padding: 20px;
    color: #fff;
    background-image: url("../links/nav_logo.png");
    background-size: 180px 60px;
    background-repeat: no-repeat;
    background-position: center;
  }

  #top {
    padding-top: 100px;
  }

  /* Toggle buttons ------------------------------------------------------------------------------------ */
  #nav .add_toggle>.toggle_button {
    display: block;
    position: absolute;
    top: 50%;
    height: 40px;
    margin-top: -20px;
    padding-right: 40px;
    border-radius: 0.3rem;
    cursor: pointer;
  }

  #nav .add_toggle>.toggle_button:before,
  #nav .add_toggle>.toggle_button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
  }

  #nav .add_toggle>.toggle_button:before {
    background-image: url("../links/icons/white/menu.svg");
    opacity: 1;
  }

  #nav .add_toggle>.toggle_button:after {
    background-image: url("../links/icons/white/close.svg");
    opacity: 0;
  }

  #nav .add_toggle.active>.toggle_button {
    z-index: 1200;
    background-color: #f16430;
  }

  #nav .add_toggle.active>.toggle_button:before {
    background-size: 10px 10px;
    opacity: 0;
  }

  #nav .add_toggle.active>.toggle_button:after {
    opacity: 1;
  }

  #nav .add_toggle.active .overlay {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 25, 41, 0.8);
  }

  /* Main menu ------------------------------------------------------------------------------------ */
  #main_menu>.toggle_button {
    right: 20px;
  }

  #main_menu ul.menu {
    display: block;
    position: fixed;
    z-index: 1100;
    top: 0;
    bottom: 0;
    right: -320px;
    width: 280px;
    margin: 0;
    padding: 100px 20px;
    max-width: 100%;
    text-align: left;
    background-color: #3f4a7c;
    overflow-y: auto;
    box-shadow: 0 0 0 rgba(21, 25, 41, 0);
    -webkit-overflow-scrolling: touch;
  }

  #main_menu ul.menu>li {
    display: block;
    position: relative;
    margin: 4px 0;
    padding: 0;
    background-color: #343e67;
    border-radius: 0.3rem;
    overflow: hidden;
  }

  #main_menu ul.menu>li a {
    display: block;
    height: 20px;
    padding: 12px 10px;
    color: #fff;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
  }

  #main_menu ul.menu>li.menu-item-has-children>a {
    padding-right: 45px;
  }

  #main_menu ul.menu>li.menu-item-has-children .toggle_button {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
  }

  #main_menu ul.menu>li.menu-item-has-children .toggle_button:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("../links/icons/white/down.svg");
    background-size: 25px 25px;
    background-repeat: no-repeat;
    background-position: center;
  }

  #main_menu ul.menu>li.menu-item-has-children.active .toggle_button:after {
    transform: rotate(180deg);
  }

  #main_menu ul.menu>li ul {
    display: none;
    margin: 0;
    padding: 0;
    background-color: #d3603d;
  }

  #main_menu ul.menu>li ul li {
    display: block;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
  }

  #main_menu ul.menu>li ul li a {
    font-size: 14px;
    font_weight: 700;
    border-top: solid 2px rgba(21, 25, 41, 0.1);
  }

  #main_menu ul.menu>li.active {
    background-color: #f16430;
  }

  #main_menu ul.menu>li.active ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  #main_menu ul.menu>li.current-menu-item,
  #main_menu ul.menu>li.current-menu-ancestor {
    background-color: #f16430;
  }

  #main_menu.active ul.menu {
    right: 0;
    box-shadow: 0 0 1em rgba(21, 25, 41, 0.5);
  }
}