#modal-window, #payment-window {
	overflow: hidden;
}
#modal-window .modal-dialog, #payment-window .modal-dialog {
    background: white;
	border-radius: 40px;
	color: #6600FF;
	position: absolute;
	top: 20%;
	left: 20%;
	width: 25%;
	height: 55%;
	min-width: 380px;
	min-height: 425px;
}
#payment-window .modal-dialog {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#modal-window .modal-content, #payment-window .modal-content {
	background-color: transparent;
	height: 100%;
	padding-top: 15%;
	border-radius: 40px;
}
.logo { 
	background: #6600FF;
	position: fixed;
	width: 75%;
	height: 30%;
	min-width: 285px;
	min-height: 140px;
	top: -16%;
	left: 14%;
	border-radius: 60%;
}
.logo img {
	position: relative;
	left: -30px;
	top: 40px;
	width: 115%;
}
a#btn-back, a#btn-login, a#btn-register, a#btn-reset-password {
	background: transparent;
	font-size: 18px;
	font-weight: bold;
	color: #6600FF;
	text-decoration: none;
}
a#btn-back:hover, a#btn-login:hover, a#btn-register:hover, a#btn-reset-password:hover {
	text-decoration: none;
}
#modal-window .reset-pass {
	position: absolute;
	right: 40px;
	width: 25%;
	height: 6vh;
	min-height: 35px;
	text-align: center;
	line-height: 6vh;
}
#modal-window input {
	width: 90%;
	height: 6vh;
	min-height: 35px;
	font-weight: 700;
	color: #6600FF;
	padding: 6px 20px;
	border-radius: 10px;
	border: 2px solid #6600FF;
}
#modal-window input::-webkit-input-placeholder {
    color: #6600FF;
	font-weight: 900;
} 
#modal-window input::-moz-placeholder {
    color: #6600FF;
	font-weight: 900;
}
#modal-window .has-error .help-block {
	background: white;
	position: fixed;
	left: 50%;
	z-index: 1;
	width: 200px;
	border: 1.9px solid #60F;
	border-radius: 10px;
	padding: 10px;
	color: red;
}
button#btn-play, button#btn-next, #btn-send {
	background: #5cd417;
	width: 90%;
	height: 6vh;
	min-height: 35px;
	border: none;
	border-radius: 10px;
	color: white;
	font-size: 18px;
	font-weight: bold;
}
.field-registerform-agree, .field-loginform-rememberme {
	max-width: 100%;
	margin-top: 7%;
	margin-left: 5%;
}
.field-registerform-agree label {
	display: inline-block;
	font-size: 13px;
	width: 100%;
}
.field-registerform-agree a {
	color: #5390fe;
	text-decoration: none;
}
input#registerform-agree, input#loginform-rememberme { /* прячем стандартный чекбокс */
	position: absolute;
	z-index: -1;
	opacity: 0;
}
input#registerform-agree + label, input#loginform-rememberme + label { /* расположение кастомного чекбокса */
    position: relative;
    padding-left: 35px;
    cursor: pointer;
}
input#registerform-agree + label:before, input#loginform-rememberme + label:before { /* неактивный чекбокс */ 
	content: "";
    position: absolute;
    left: 0px;
    top: -3px;
    width: 25px;
    height: 25px;
    border: 2px solid #6600FF;
	border-radius: 8px;
}
input#registerform-agree:checked + label:before, input#loginform-rememberme:checked + label:before { /* активный чекбокс */
	background-color: #6600FF;
	background-image: url(/images/auth/checkmark-icon.png);
	background-repeat: no-repeat;
	background-size: 15px;
	background-position: center;
}
input#registerform-agree:not(:checked) + label:after, input#loginform-rememberme:not(:checked) + label:after { /* скрываем галочку */
	opacity: 0;
}
input#registerform-agree:checked + label:after, input#loginform-rememberme:checked + label:after { /* показываем галочку */
	opacity: 1;
}
#modal-window .login_via {
	position: fixed;
	bottom: 4%;
	left: 0;
	width: 100%;
	margin-top: 5%;
}
#modal-window .login_via .auth-clients {
	margin-top: 6%;
}
#modal-window .login_via li {
	width: 30%;
}
#modal-window .google.auth-link {
	display: block;
	height: 6vh;
	border-radius: 10px;
	background: #5390fe;
}
#modal-window .facebook.auth-link {
	display: block;
	height: 6vh;
	border-radius: 10px;
	background: #3b5998;
}
#modal-window .auth-icon.google {
	background: url(/images/auth/google-logo.png) center no-repeat;
	height: 100%;
}
#modal-window .auth-icon.facebook {
	background: url(/images/auth/facebook-logo.png) center no-repeat;
	height: 100%;
}
#modal-window .registerform-btn-back, #modal-window .resetform-btn-back {
	width: 100%;
	position: fixed;
	bottom: 4%;
	left: 0;
}
#payment-window #stripe-payment-checkout, #payment-window h4 {
	font-weight: bold;
	color: #6600FF;
}
#payment-window .price_info { 
	background: #e7deff;
	width: 95%;
	border-radius: 10px;
	padding: 15px 0 15px 0;
	margin-top: 3%;
}
#payment-window p.description { 
	margin-bottom: 0;
	font-size: 18px;
	font-weight: 800;
}
#payment-window p.price {  
	margin: 3px 0 3px 0;
	font-size: 30px;
	font-weight: 800;
	color: #4B0082;
}
#payment-window p.info {
	margin: 3px 0 3px 0; 
	padding: 0 10px 0 10px;
	font-size: 13px;
	font-weight: 600;
}
#payment-window .payment_method {
	margin: 10%;
}
#payment-window a.btn-payment {
	font-size: 25px;
	color: #6600FF;
	text-decoration: none;
}
#payment-window .office_info {
	position: fixed;
	bottom: 4%;
	font-size: 13px;
}
#payment-window .address {
	width: 85%;
}



