/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
    Remodal's default mobile first theme
========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
	-webkit-filter: blur(3px);
	        filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
	background: rgba(222, 222, 222, .8);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
	-webkit-animation-duration: .3s;
	        animation-duration: .3s;

	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
	-webkit-animation-name: remodal-overlay-opening-keyframes;
	        animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
	-webkit-animation-name: remodal-overlay-closing-keyframes;
	        animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
	padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */

.remodal {
	box-sizing: border-box;
	margin-bottom: 10px;
	max-width: 480px;
	width: 90%;
	background: #f7f7f7;
	color: #6a6463;
	-webkit-transform: translate3d(0, 0, 0);
	        transform: translate3d(0, 0, 0);
}


.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
	-webkit-animation-duration: .5s;
	        animation-duration: .5s;

	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
	-webkit-animation-name: remodal-opening-keyframes;
	        animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
	-webkit-animation-name: remodal-closing-keyframes;
	        animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
	vertical-align: middle;
}


/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
	from {
		opacity: 0;
		-webkit-transform: scale(1.05);
		        transform: scale(1.05);
	}

	to {
		opacity: 1;
		-webkit-filter: blur(0);
		        filter: blur(0);
		-webkit-transform: none;
		        transform: none;
	}
}

@keyframes remodal-opening-keyframes {
	from {
		opacity: 0;
		-webkit-transform: scale(1.05);
		        transform: scale(1.05);
	}

	to {
		opacity: 1;
		-webkit-filter: blur(0);
		        filter: blur(0);
		-webkit-transform: none;
		        transform: none;
	}
}

@-webkit-keyframes remodal-closing-keyframes {
	from {
		opacity: 1;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}

	to {
		opacity: 0;
		-webkit-filter: blur(0);
		        filter: blur(0);
		-webkit-transform: scale(.95);
		        transform: scale(.95);
	}
}

@keyframes remodal-closing-keyframes {
	from {
		opacity: 1;
		-webkit-transform: scale(1);
		        transform: scale(1);
	}

	to {
		opacity: 0;
		-webkit-filter: blur(0);
		        filter: blur(0);
		-webkit-transform: scale(.95);
		        transform: scale(.95);
	}
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes remodal-overlay-opening-keyframes {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes remodal-overlay-closing-keyframes {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}


/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
	background: #2b2e38;
}

.lt-ie9 .remodal {
	width: 700px;
}

/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
	/*  overflow: hidden;*/
	-ms-touch-action: none;
	    touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
	display: none;
}

/* Necessary styles of the overlay */
.remodal-overlay {
	position: fixed;
	top: -5000px;
	right: -5000px;
	bottom: -5000px;
	left: -5000px;
	z-index: 9999;
	display: none;
}

/* Necessary styles of the wrapper */
.remodal-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10000;
	display: none;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	text-align: center;
}

.remodal-wrapper:after {
	display: inline-block;
	margin-left: -.05em;
	height: 100%;
	content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
	position: relative;
	padding: 40px 24px 0;
	outline: none;

	-webkit-text-size-adjust: 100%;
	    -ms-text-size-adjust: 100%;
	        text-size-adjust: 100%;
}

.remodal-is-initialized {
	/* Disable Anti-FOUC */
	display: inline-block;
}


/* CUSTOM */

.remodal .msesse {
	margin: auto;
	width: 98%;
	text-align: left;
	font-size: 1.4rem;
}

.remodal .btn_area {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
	margin: 40px auto;
	width: 100%;
}

.remodal .sub_btn_area {
	display: flex;
	flex-flow: row nowrap;
	margin: 20px auto 40px;
	width: 100%;
}

.remodal hr {
	width: 100%;
	height: 0;
	border: none;
	border-top: 1px dotted #d6d6d6;
}

.remodal .btn.primary {
	padding: 16px;
	width: 100%;
	border-radius: 60px;
	font-size: 1.8rem;
}

.remodal .btn.move {
	min-width: 150px;
	width: calc(100% / 2 - 1rem);
}

.remodal .btn.move.large {
	max-width: 400px;
	width: 90%;
}

@media only screen and (max-width: 768px) {
	.remodal {
		padding: 20px 8px 0;
		width: 100%;
	}
	.remodal .btn.move {
		min-width: 100px;
	}
	.remodal .sub_btn_area {
		margin: 20px auto;
	}
}
