/* 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);
}*/

/* Inner */

.cookie-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 11;
	padding: 20px 0;
	font-size: 0.875rem;
	background-color: white;
	-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;
	-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;
  }

  .cookie-bar .button {
  	margin-top: 0;
  }


.popup {
	display: none;
  position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 11;
	width: 100%;
	max-width: min(400px, calc(100vw - 25px * 2));
	color: var(--text-primary);
	opacity: 0;
  animation: 1s fade-in-up 3s forwards;
  border-radius: var(--border-radius);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  background-color: var(--bg-cream);
}

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

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

.popup__logo {
	max-width: 200px;
}

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

.popup h3{
	margin: 1rem 0;
}

.popup .heading {
	font-weight: 700;
}

.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 Button */
.popup__close {
	display: grid;
	place-content: center;
	width:2.5rem; /* 42px / 16px */
	height:2.5rem; /* 42px / 16px */
	display:block;
	padding: 0;
	position:absolute;
	top:5px;
	right:5px;
	border: none;
	background: var(--color-button-accent);
	font-size:1.25rem; 
	text-align:center;
	vertical-align: middle;
	border-radius: 900rem;
	color:currentColor;
	text-shadow: none;
}

.popup__close:hover {
	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: 'brother-1816', sans-serif; */
	font-size: 1.25rem;
	color: #3DC1C7;
}

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

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

.popup input[type="email"] {
	background-color: rgba(255, 255, 255, 0.5);
	padding: 0.5em;
	border-bottom: 1px solid var(--color-text-primary);
	text-align: left;
	min-width: 80%;
	width: 100% !important;
}

.popup input[type="email"]::placeholder {
  color: var(--color-text-secondary);
  opacity: 1; /* Firefox */
}

.popup input[type="email"]::-ms-input-placeholder { /* Edge 12 -18 */
  color: var(--color-text-secondary);
}

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

.popup .gform_footer {
	justify-content: center !important;
}

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

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

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