/************************************/
/*! Let's set some default styling  */
/************************************/
.popup-background.popup {

}

.popup-background-light.popup {
	background:rgba(232, 236, 236, 0.7);
}

.popup-background-dark.popup {
	background:rgba(29, 36, 40, 0.8);
}

/*************************************/
/*! MUST HAVE STYLING. DO NOT ALTER  */
/*************************************/

.popup-background {
	position: fixed;
	z-index: 1;
	background: rgba(55, 58, 71, 0.8);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
}

.popup-container {
	color: #404f4f;
	/*
	position: absolute;
	z-index: 99999;
	left:50%;
	top:50%;
	display: none;
	*/
	.title-bar {
		padding:30px 30px 20px;

		h2, h3 {
			color: #1d2428;
			text-align: left;
			width:80%;
			padding:0;
			margin:0;
			line-height: 1;
			font-weight: 300;
		}
	}

	h2, h3, h4, p {
		font-family: "museo-sans",sans-serif;
		-webkit-font-smoothing:antialiased;
		-moz-osx-font-smoothing:grayscale;
	}

	a{
		color: #1d2428;
		text-decoration: none;
	}
	a:hover:not('.button'):not('.nbutton'){
		text-decoration: underline;
	}
}


.popup-close {
	width: 32px;
	height: 32px;
	opacity: 0.3;
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
}.popup-close:hover {opacity: 1;}
.popup-close:before, .popup-close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #333;
}
.popup-close:before {
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.popup-close:after {
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.popup-container .back-to {
	opacity: 0.3;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	position: absolute;
	top: 20px;
	left: 20px
}.popup-container .back-to:hover {opacity: 1;}

.popup-container .back-to .icon {
    font-family: 'icons';
    font-size: 16px;
}

.popup-container.loading {
	height:50px;
	width:50px;
}

.popup-content {
	box-sizing: border-box;
}

.popup-temporary {
	position: absolute;
	left:-999999px;
}

.popup-loader-overlay {
	background: rgba(55, 58, 71, 0.2);
	position:absolute;
	z-index: 999;
	width: 100%;
	height: 100%;
	top: 0;
	display: none;
}

.popup-loader-container {
	position:absolute;
	margin:auto;
	width:122px;
	height:122px;
	top:50%;
	left:50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 999;
}

/************************************/
/*! Styling for the confirm popups  */
/************************************/
.confirm-popup {
	.button-container {
		button {
			min-width:75px;
		}
	}
}

.popup-container-light {
	min-width: 300px;
	min-height: 200px;
	border-radius: 3px;
}


/********************/
/*! CONFIRM WINDOW  */
/********************/
.confirm-popup.popup-container {
	.popup-content {
		max-width:537px;
		line-height:1.8;
	}
}



/* controls the overlay that sits over the top admin bar to bring out the editor slider for the welcome popup */
#page-admin {
	#page-admin-overlay {
		display: none;
	}
}

.dialog {
	-webkit-align-items: flex-start!important;
	align-items: flex-start!important;
	position: absolute!important;
}

.popup-content {
	transition: top 0.2s ease 0s;
}

iframe.height-changed {
    height: 100%;
    display: block;
    border: 0;
    width: 0;
    margin: 0;
    position: absolute;
}

.popup-loader-icon {
	font-size: 10px;
	position: relative;
	z-index: 10000;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(128, 128, 128, 0.9);
	border-right: 1.1em solid rgba(128, 128, 128, 0.9);
	border-bottom: 1.1em solid rgba(128, 128, 128, 0.9);
	border-left: 1.1em solid #ffffff;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}
.popup-loader-icon,
.popup-loader-icon:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}

/**********************************************************************/
/*! PUBLIC + PUBLIC-SHOP (with website design colours) CONTENT POPUP  */
/**********************************************************************/
.popup-container-public, .popup-container-public-shop {
	text-align: center;
	font-family:"museo-sans";
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	line-height: 150%;

	.popup-close {
		z-index: 999;/* needs to be higher than the Cycle wrapper */
	}

	.popup-background {
		background: rgba(234, 235, 237, 0.8);/*override with customer colours*/
	}

	.popup-content {
		padding: 50px;
		max-width: 9999px;
		color: #404f4f;/*override with customer colours*/

		.container {
			width:530px;
		}

		.title-bar {
			padding-bottom: 30px;

          		h2 {
          			font-size: 28px;
          			text-align: center;
          			margin-left: auto;
          			margin-right: auto;
          		}
		}

		p {
			font-size: 16px;
			font-weight: 400;
			line-height: 120%;
			margin-left: auto;
			margin-right: auto;
		}
	}

	.buttons {
		width: 100%;
		margin-top: 40px;
		button {
			height:auto;
			padding:20px 40px;
			line-height: 1;
		}

		button:first-child {
		}
	}
}
