/* jQuery Popup
****************************/

/* Outer */
/*.popup {
	width:100%;
	height:100%;
	display:none;
	position:fixed;
	top:0px;
	left:0px;
	z-index: 1000;
	background:rgba(128, 128, 128, 0.75);
}*/



  .popup, .cookie-bar {
    --color-background: #2b506e;
    --color-text: #ffffff;
    --color-link: #ffffff;
	--color-link-hover: #b6cee2;
    --font-family: "Lato", sans-serif;
  }


/* Inner */
  .visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    block-size: 1px;
    margin: -1px !important;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    inline-size: 1px;
  }

  /**
  * Flex
  * =============== */
  .flex {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
  }
  .flex--inline {
    display: -ms-inline-flexbox;
    display: -webkit-inline-box;
    display: inline-flex;
  }
  .flex--horizontal {
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    flex-direction: row;
  }
  .flex--horizontal-reverse {
    -ms-flex-direction: row-reverse;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
  }
  .flex--vertical {
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
  .flex--vertical-reverse {
    -ms-flex-direction: column-reverse;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    flex-direction: column-reverse;
  }
  .flex--wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .flex--no-wrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .flex--wrap-reverse {
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
  }
  .flex--auto {
    -ms-flex: 1 1 auto;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
  }
  .flex--none {
    -ms-flex: none;
    -webkit-box-flex: 0;
    flex: none;
  }
  /* alignment in cross axis */
  .flex--align-start {
    -ms-flex-align: start;
    -webkit-box-align: start;
    align-items: flex-start;
  }
  .flex--align-center {
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
  }
  .flex--align-end {
    -ms-flex-align: end;
    -webkit-box-align: end;
    align-items: flex-end;
  }
  .flex--align-stretch {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  /* alignment in main axis */
  .flex--justify {
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
  }
  .flex--justify-start {
    -ms-flex-pack: start;
    -webkit-box-pack: start;
    justify-content: start;
  }
  .flex--justify-center {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
  }
  .flex--justify-end {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: end;
  }
  .flex--justify-around {
    -ms-flex-pack: around;
    justify-content: space-around;
  }
  /* self alignment */
  .self-start {
    -ms-align-self: flex-start;
    -webkit-align-self: flex-start;
    -ms-flex-item-align: start;
    align-self: flex-start;
  }
  .self-center {
    -ms-align-self: center;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
  .self-end {
    -ms-align-self: flex-end;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
  }
  .self-stretch {
    -ms-align-self: stretch;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
  }
  .flex--gap-std {
    gap: var(--half-gutter);
  }
  .flex--gap-lrg {
    gap: var(--page-gutter);
  }
  .col {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .col--lrg {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 calc(60% - var(--page-gutter, 40px) / 2);
    flex: 1 0 calc(60% - var(--page-gutter, 40px) / 2);
  }
  .col--sml {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 calc(40% - var(--page-gutter, 40px) / 2);
    flex: 1 0 calc(40% - var(--page-gutter, 40px) / 2);
  }

  /**
  * Containers
  * =============== */
  .pb-container {
    --content-max-width: 1200px;
    --padding-inline: 40px;

    inline-size: min(
      var(--content-max-width),
      100% - (var(--padding-inline) * 2)
    );
    margin-inline: auto;
  }
  .pb-container--full {
    --content-max-width: 100%;
  }
  .pb-container--1920 {
    --content-max-width: 1920px;
  }
  .pb-container--1600 {
    --content-max-width: 1600px;
  }
  .pb-container--1440 {
    --content-max-width: 1400px;
  }
  .pb-container--960 {
    --content-max-width: 960px;
  }



  .cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    font-size: 0.875rem;
    background-color: var(--color-background);
    -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 0.5);
    box-shadow: 0 0 8px rgb(0 0 0 / 0.5);
    /* inactive state */
    pointer-events: none;
    visibility: none;
    opacity: 0;
	color: var(--color-text);
    -webkit-transition: visibility 0s linear 300ms, opacity 300ms;
    -o-transition: visibility 0s linear 300ms, opacity 300ms;
    transition: visibility 0s linear 300ms, opacity 300ms;
  }
  .cookie-bar.--active {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    -webkit-transition: visibility 0s linear 0s, opacity 300ms;
    -o-transition: visibility 0s linear 0s, opacity 300ms;
    transition: visibility 0s linear 0s, opacity 300ms;
  }
  .no-js .cookie-bar {
    display: none;
  }

  .cookie-bar__content {
    min-width: 200px;
    -webkit-box-flex: 1;
    -ms-flex: 1 0;
    flex: 1 0;
  }

  .cookie-bar p {
    line-height: 1.2;
    margin: 0;
    max-width: 100%;
  }

  .cookie-bar a {
    font-weight: 600;
  }

  .popup {
    display: none;
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 100;
	font-family: var(--font-family);
    color: var(--color-text);
    opacity: 0;
    animation: 1s fade-in-up 3s forwards;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    background-color: var(--color-background);
  }

  .popup.--active {
    display: block;
  }

  .popup__inner {
    max-width: 450px;
    padding: 2.5rem 1.25rem 1.25rem;
    text-align: center;
  }

  .popup__heading {
	display: block;
	margin-bottom: 1em;
	font-size: 1.25rem;
	line-height: 1.2;
	text-transform: uppercase;
  }

  .popup__logo {
    max-width: 200px;
  }

  .popup__title {
    font-size: 2rem;
    font-weight: 900;
  }

  .popup h3 {
    margin: 1rem 0;
  }

  .popup__image {
    display: block;
    max-width: 300px;
    margin: 0 auto 1.25rem;
  }

  .popup__image img {
    border-radius: 12px;
  }

  .popup__end-date {
    font-size: 0.875rem;
    font-style: italic;
  }

  /* Close btn */
  .popup__close {
    width: 40px; /* 42px / 16px */
    height: 40px; /* 42px / 16px */
    display: block;
    padding: 0;
    position: absolute;
    top: 0px;
    right: 0px;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    text-align: center;
    vertical-align: middle;
    line-height: 2.625rem; /* 42px / 16px */
    color: currentColor;
    text-shadow: none;
  }

  .popup__close:hover {
    color: currentColor;
	background-color: transparent;
    text-decoration: none;
    cursor: pointer;
  }

  .icon-close:before {
    margin: 0;
    font-size: 1.25rem;
  }

  .popup p,
  .popup .gform_confirmation_wrapper {
    font-size: 0.875rem; /* 21px / 16px */
    font-weight: 700;
    text-align: center;
    width: auto;
    border: 0px none rgb(255, 255, 255);
    border-radius: 0 0 0 0;
    margin: 0px 0px 22px;
    /*text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);*/
    margin-top: 20px;
  }

  .popup .validation_error {
    display: none !important;
  }

  .popup .gform_confirmation_message {
    font-family: var(--font-family);
    font-size: 1.25rem;
    color: var(--color-text);
  }

  .popup__close .icon {
    display: inline-block;
    width: 0.75em;
  }

  .popup__close .svg-close {
    fill: currentColor;
  }

  .popup input[type="submit"] {
	display: block !important;
	width: fit-content !important;;
	margin-top: 1em !important;;
	margin-inline: auto !important;;
  }

  .popup input[type]:not([type="submit"]) {
	padding: 0.5em 1em;
	width: 70% !important;
	background: var(--color-link);
	color: var(--color-background);
	font-family: var(--font-family);
	font-size: 1rem;
	line-height: 1;
	outline-style: none;
	outline: none;
	border: none;
	box-sizing: border-box;
  }

  .popup input[type]:not([type="submit"])::placeholder {
	color: var(--color-background);
  }

  .popup input[type="submit"],
  .cookie-bar .btn {
	border: 2px solid currentColor;
    background: transparent;
	font-family: var(--font-family);
    font-weight: normal;
    color: var(--color-link);
	font-size: .8666rem;
    line-height: 1;
    letter-spacing: 1.5px;
    outline-style: none;
    padding: 1em 1.923em;
    transition: .3s;
    text-decoration: none;
    text-transform: uppercase;
	text-decoration: none;
  }

  .popup input[type="submit"]:hover,
  .cookie-bar .btn:hover {
	border-color: var(--color-link-hover);
    background-color: var(--color-link-hover);
    color: #1d3549;
    text-decoration: none;
	cursor: pointer;
  }

  .gfield--type-honeypot,
  .gfield_label,
  .gform_required_legend
   {
	border: 0;
    clip: rect(0 0 0 0);
    block-size: 1px;
    margin: -1px !important;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    inline-size: 1px;
  }

  @keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media only screen and (max-width: 568px) {
    .popup {
      right: 25px;
    }

    .popup__inner {
      max-width: 100%;
      /*width: calc(100% - (25px * 2));*/
    }
  }
