/* Popup */
.popup
{
	visibility: hidden;
	opacity: 0;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(32, 35, 38, .7);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	z-index: 3000;
}

.popup.show
{
	visibility: visible;
	opacity: 1;
}

/* Popup In */
.popup-in
{
	background-color: #fff;
	border-radius: 8px;
	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .1);
	box-shadow: 0 3px 5px rgba(0, 0, 0, .1);
	-webkit-transform: scale(.5);
	transform: scale(.5);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	text-align: justify;
	overflow: hidden;
}

.popup.landing .popup-in
{
	color: #fff;
	background-color: #330f33;
}

.popup.show .popup-in
{
	-webkit-transform: scale(1);
	transform: scale(1);
}

/* Window */
.popup-window { padding: 0 20px 20px 20px; }
.popup-window > *:last-child { margin-bottom: 0; }

/* Title */
.popup h3
{
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 0 20px;
	color: #3498db;
}

.popup.landing h3 { color: #fff; }

/* Strong */
.popup strong { color: #f4511e; }

/* Line */
.popup-line
{
	padding-right: 20px;
	padding-left: 20px;
}

.popup-line hr { border: 1px solid #f4511e; }

/* Close */
.popup-close
{
	width: 30px;
	position: absolute;
	top: 10px;
	left: 10px;
	line-height: 30px;
	text-align: center;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	z-index: 1;
}

.popup-close:hover
{
	cursor: pointer;
	color: #dd0000;
}

/* Input */
.popup input
{
	margin-bottom: 8px;
	padding: 0 8px;
	line-height: 36px;
	color: #a1a1a1;
	background-color: #f5f5f5;
	border: 1px solid transparent;
	border-radius: 8px;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}

.popup input:focus
{
	color: #000;
	background-color: #fff;
	border: 1px solid #ddd;
}

.popup input:invalid
{
	-webkit-box-shadow: none;
	box-shadow: none;
}

.popup input[required].change:valid { border: 1px solid #2ecc71; }
.popup input[required].change:invalid { border: 1px solid #d00; }

/* Button */
.popup .btn
{
	line-height: 36px;
	border-radius: 8px;
}

/* Captcha */
.popup .captcha-field
{
	margin: 0;
	padding: 0;
	border: 0;
}

.popup .captcha-field label, .popup .captcha-field .max-length { display: none; }

.popup .captcha-field .captcha-image
{
	margin-bottom: -3px;
	border-radius: 8px;
	overflow: hidden;
}

/* List */
.popup ul
{
	margin: 0;
	padding: 0;
}

.popup li
{
	width: 100%;
	float: left;
	list-style-type: none;
}

#user-menu.popup li { border-bottom: 1px solid #ddd; }
#user-menu.popup li:last-child { border-bottom: 0; }

.popup li:last-child
{
	line-height: 48px;
	color: #3498db;
	background-color: #ebebeb;
}

.popup li a, .popup li a:visited
{
	cursor: pointer;
	display: inline-block;
	width: 100%;
	line-height: 36px;
	color: #3498db;
	text-align: center;
}

.popup li a span
{
	position: relative;
	top: 3px;
}

/* Messages */
.popup .message {}

/* Rotate */
.rotate
{
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-bottom: -11px;
	position: relative;
	line-height: 30px;
}

.rotate span
{
	width: 24px;
	height: 24px;
	line-height: 24px;
	position: absolute;
	top: 3px;
	left: 3px;
	text-align: center;
	-webkit-animation: rotate .5s linear 0s infinite;
	animation: rotate .5s linear 0s infinite;
}

/* Login Form Submit */
.login-form-submit { margin-bottom: 20px; }

/* Popup Box */
.popup-box
{
	cursor: default;
	margin-top: 20px;
	margin-bottom: 15px;
}

.popup-box-item
{
	margin-bottom: 5px;
	padding: 0 10px;
	font-size: .8em;
	line-height: 30px;
	border: 2px solid #ddd;
	border-radius: 5px;
}

.popup-box-item span
{
	display: inline-block;
	min-width: 24px;
	position: relative;
	top: 3px;
	font-size: 1.5em;
	color: #f4511e;
}

@-webkit-keyframes rotate { from { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } to { -webkit-transform: rotate(0deg); transform: rotate(0deg); } }
@keyframes rotate { from { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); } to { -webkit-transform: rotate(0deg); transform: rotate(0deg); } }