
.popup-button {
	margin-bottom: 60px;
	display: none;
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: auto;
	max-width: 630px; */
	/* min-width: 940px; */
	/* width: 50%; */
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	/* background: #fff url("../images/ribon.png") no-repeat scroll 0 0; */
}
.modal:before {
	background: rgba(255, 255, 255, 0) url("../images/ribon.png") no-repeat scroll -11px -9px;
	content: "";
	height: 215px;
	position: absolute;
	width: 215px;
	z-index: 1;
}

.show {
	visibility: visible;
}

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.show ~ .overlay {
	opacity: 1;
	visibility: visible;
}

.popup-content {
	background: #fff none repeat scroll 0 0;
	color: #fff;
	margin: 0 auto;
	padding: 1.5%;
	position: relative;
	z-index: 2;
}

.popup-content .image {
	height: auto;
	width: 100%;
}

.popup-content > div {
	padding: 0px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}

.popup-content > div p {
	margin: 0;
	padding: 10px 0;
}

.popup-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.popup-content > div ul li {
	padding: 5px 0;
}

.popup-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}
.popup-content button {
	background: rgba(223, 87, 1, 1) none repeat scroll 0 0;
	border: medium none;
	bottom: 60px;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	left: 50%;
	margin: 0 0 0 -30%;
	padding: 10px;
	position: fixed;
	text-transform: uppercase;
	width: 60%;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.close {
	background: rgba(19, 46, 68, 1) url("../images/close.png") no-repeat scroll center center;
	cursor: pointer;
	height: 25px;
	opacity: 1;
	padding: 20px;
	position: absolute;
	right: 7px;
	top: 7px;
	width: 25px;
	z-index: 3;
	
	-webkit-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
	transition: all ease-in-out 0.3s;
}

.close:hover {
	background-color: rgba(19, 46, 68, 0.7);
}

/* Effet blur */
.show.blur-effect ~ .overlay {
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
}

.show.blur-effect ~ .container, .show.blur-effect ~ .bgall{
	-webkit-filter: blur(30px);
	-moz-filter: blur(30px);
	filter: blur(30px);
}

.blur-effect .popup-content {
	-webkit-transform: translateY(-5%);
	-moz-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
}

.show.blur-effect ~ .container,
.blur-effect .popup-content, .show.blur-effect ~ .bgall {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.show.blur-effect .popup-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

/* Media queries */

@media(max-width: 1230px) {

	.popup-content h3:before {
		display: none;
	}	

}

@media only screen and (max-width: 940px) {

	.popup-content button {
		font-size: 15px;
		padding: 1.3%;
	}	
	.modal {
		/* min-width: 680px; */
	}
}

@media(max-width: 680px) {

	h1 {
		font-size: 42px;
	}
	.modal {
		min-width: 480px;
	}
	.popup-content button {
		bottom: 35px;
	}
	
}

@media(max-width: 480px) {

	h1 {
		font-size: 32px;
	}

	.popup-content h3 {
		font-size: 2em;
	}

	.close {
		right: 1px;
		top: 1px;
	}
	.modal {
		min-width: 100%;
	}
	.modal::before {
		background: none;
	}
	.popup-content button {
		font-size: 12px;
	}

}
