#overlay-popup {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, .75);
    top: 0;
    left: 100%;
    opacity: 0;
    transition: opacity .2s ease-out;
}
#overlay-popup.open {
    opacity: 1;
    left: 0;
		z-index: 9998;
}

#popup {
	position:absolute;
	display: table;
	width: 100%;
	height: 100%;
	z-index:1;
}
#popup.open, #popup.transitioning {
    z-index: 9999;
}
#popup-body {
	position:relative;
	width:50%;
	height:100%;	
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	opacity: 0;
	z-index:3;
}
#popup.open #popup-body {
    opacity: 1;
}
#popup-box {
	position:relative;
	background:rgba(255,255,255,0.9);
	background-repeat:repeat;
	width:60%;
	max-width:750px;
	height:auto;
	max-height:720px;
	overflow:auto;
	margin: auto;
	padding:40px 30px 30px 30px;
	color:#000;
	font-family: "Helvetica CY", Helvetica, sans-serif;
	font-size:18px;
	text-align:center;
}

#popup-cross {	
	position: absolute;
	right:15px;
	top:15px;
	width:30px;
	height:30px;	
	overflow: hidden;
	border: none;
	background: url(../img/close.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
	cursor:pointer;
}

#popup-close, 
#popup-url {
	position:relative;
	display:block;
	text-align:center;
	margin:20px auto 0px auto;
	text-transform: uppercase;
	font-family: 'eurostilebold', Arial, "Helvetica CY", Helvetica, sans-serif;
	font-size: 14px;
	background: #25435b url(../img/pattern/pattern_focus.jpg);
	padding: 8px 30px 6px 30px;
	width:120px;
	cursor: pointer;
	border: transparent 2px solid;
	color: #fff;
	transition: all 0.2s ease;
}

#popup-close:hover, 
#popup-url:hover {
	border-bottom: #6ABDFF 2px solid;
	background: #25435b url(../img/nav/nav_hover.jpg);
	transition: all 0.3s ease;
}

#popup-title {
	font-family: 'eurostilebold', Arial, "Helvetica CY", Helvetica, sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 15px;
}
#popup-content {
	font-size: 13px;
	line-height:18px;
	text-align: left;
}
#popup-content .titre {
	font-family: 'eurostilebold', Arial, "Helvetica CY", Helvetica, sans-serif;
	text-transform:uppercase;
	color: #1f71b2;
}

#popup-content a {
	color: #1f71b2;
	text-decoration: underline;
	transition: all 0.2s ease;
}
#popup-content a:hover {
	text-decoration: none;
	color: #6abdff;
	transition: all 0.3s ease;
}
#popup-content a#popup-url {
	width:180px;
	padding: 8px 20px 6px 20px;
	text-decoration: none;
	color: #fff;
	letter-spacing:0.4px;
	text-decoration:none;
}


/* =============================================================================
   MEDIAQUERIES 
   ========================================================================== */

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

	#popup-body {
		width:80%;
	}
	#popup-box {
		width:100%;
		max-width:300px;
		padding:50px 30px 40px 30px;
	}
	#popup-cross {
		right:10px;
		top:10px;
	}
	#popup-close, 
	#popup-url {
		padding-bottom:20px;
	}
	
}


