.avgrund-cover{position:absolute;width:100%;height:100%;top:0;left:0;z-index:1;visibility:hidden;opacity:0;background:rgba(0,0,0,.5)}.avgrund-active .avgrund-cover{visibility:visible;opacity:1}.avgrund-contents{position:relative;padding:20px;max-width:400px;height:100%;margin:auto}.avgrund-active .avgrund-contents{-webkit-filter:blur(1px);-moz-filter:blur(1px);-ms-filter:blur(1px);-o-filter:blur(1px);filter:blur(1px)}.avgrund-popup{position:absolute;width:340px;height:180px;left:50%;top:50%;margin:-100px 0 0 -230px;visibility:hidden;opacity:0;z-index:2;padding:20px;background:#fff;box-shadow:0 0 20px rgba(0,0,0,.6);border-radius:3px}.avgrund-active .avgrund-popup-animate{visibility:visible;opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.avgrund-popup.stack{-webkit-transform:scale(1.5);-moz-transform:scale(1.5);-ms-transform:scale(1.5);-o-transform:scale(1.5);transform:scale(1.5)}.avgrund-active .avgrund-popup.stack{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.avgrund-ready .avgrund-contents,.avgrund-ready .avgrund-cover,.avgrund-ready .avgrund-popup,.avgrund-ready body{-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transition:.3s all cubic-bezier(0.25,.46,.45,.94);-moz-transition:.3s all cubic-bezier(0.25,.46,.45,.94);-ms-transition:.3s all cubic-bezier(0.25,.46,.45,.94);-o-transition:.3s all cubic-bezier(0.25,.46,.45,.94);transition:.3s all cubic-bezier(0.25,.46,.45,.94)}

/*!
 * avgrund 0.1
 * http://lab.hakim.se/avgrund
 * MIT licensed
 *
 * Created by Hakim El Hattab, http://hakim.se
 */

.avgrund-cover {
	position: fixed; /*bugfix -joedf */
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	background: rgba( 0, 0, 0, 0.5 );
}
	.avgrund-active .avgrund-cover {
		visibility: visible;
		opacity: 1;
	}

.avgrund-contents {
	position: relative;
	padding: 5px;
	max-width: 500px;
	height: 100%;
	margin: 5px;
}
	.avgrund-active .avgrund-contents {
		-webkit-filter: blur(1px);
		   -moz-filter: blur(1px);
		    -ms-filter: blur(1px);
		     -o-filter: blur(1px);
		        filter: blur(1px);
	}

.avgrund-popup {
	position: absolute;
	width: 600px;
	height: 400px;
	/* width: 450px;
	height: 300px; */
	left: 50%;
	top: 50%;
	margin: -200px 0 0 -320px;
	/* margin: -100px 0 0 -230px; */
	visibility: hidden;
	opacity: 0;
	z-index: 2;
	padding: 0px 20px 20px 20px;

	background: white;
	box-shadow: 0px 0px 20px rgba( 0, 0, 0, 0.6 );
	border-radius: 3px;
}
	.avgrund-active .avgrund-popup-animate {
		visibility: visible;
		opacity: 1;

		-webkit-transform: scale( 1 );
		   -moz-transform: scale( 1 );
		    -ms-transform: scale( 1 );
		     -o-transform: scale( 1 );
		        transform: scale( 1 );
	}
	.avgrund-popup.stack {
		-webkit-transform: scale( 1.5 );
		   -moz-transform: scale( 1.5 );
		    -ms-transform: scale( 1.5 );
		     -o-transform: scale( 1.5 );
		        transform: scale( 1.5 );
	}
	.avgrund-active .avgrund-popup.stack {
		-webkit-transform: scale( 1 );
		   -moz-transform: scale( 1 );
		    -ms-transform: scale( 1 );
		     -o-transform: scale( 1 );
		        transform: scale( 1 );
	}


.avgrund-ready body,
.avgrund-ready .avgrund-contents,
.avgrund-ready .avgrund-popup,
.avgrund-ready .avgrund-cover {
	-webkit-transform-origin: 50% 50%;
	   -moz-transform-origin: 50% 50%;
	    -ms-transform-origin: 50% 50%;
	     -o-transform-origin: 50% 50%;
	        transform-origin: 50% 50%;
	-webkit-transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
	   -moz-transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
	    -ms-transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
	     -o-transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
	        transition: 0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940);
}
