



/* Главное окно */

.auth-modal, 
.auth-modal-welcome 
{
  display: none;   
  position: fixed; 
  /*волшебное число для перекрытия слоев шапки */
  z-index: 100060; 
  
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: none; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); 
}




@media screen and (max-width: 720px){
	.auth-modal * {
		box-sizing: border-box;
	}
}

/* Modal Content */
.auth-modal-content, 
.auth-modal-content-welcome 
{
	
		
	
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  
  border-radius: 8px;
  width: 360px;
  height: 496px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.08);
  background-color: white;
  
  padding: 36px 24px 24px 24px ;
  
  overflow: none;
  
  
  border: 1px solid #888;
  
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.5s;
  animation-name: animatetop;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  transition: height 0.5s;
  
}


.auth-modal-content-welcome * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.auth-modal-content-welcome {
	width: 360px;
	height: 392px;
	box-sizing: border-box;	
	-webkit-animation-name: animatetopwelcome;
  	animation-name: animatetopwelcome;	
}

.auth-modal-content.short{
	height: 360px;
}

.auth-modal-content.long{
	height: 460px;
}






@keyframes animatetop {
  from {top:30%; opacity:0}
  to {top:50%; opacity:1}
}

@keyframes animatetopwelcome {
  from {top:30%; opacity:0}
  to {top:50%; opacity:1}
}





/* The Close Button */
.auth-close {
  position: absolute;
  background-image: url('/application/data/images/close.svg');
  height: 60px;
  background-size: contain;
  width: 60px;
  display: block;
  top: -25px;
  right:-30px;
  margin: 0;
  cursor: pointer;
}


.auth-modal-header_mob{
	display: none;
}


.auth-modal-header,
.auth-repeat-send, 
.auth-repeat-template
{
	display: flex;
   	justify-content: flex-start;
   	align-items: center;
	
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: var(--violet);
}

.auth-modal-header{
   	justify-content: space-between;
}

.auth-repeat-send, 
.auth-repeat-template {
	margin-bottom: 16px;
	cursor: pointer;
}

.auth-repeat-template {
	margin-bottom: 10px;
}


.auth-repeat-send > img, 
.auth-repeat-template > img
{
	margin-right: 8px;
}





.auth_header_action{
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	text-align: right;
	cursor: pointer;
}

.auth-modal-enter {
	margin-top: 68px;
}





.auth-modal-footer{
	position: absolute;
	bottom: 20px;
}



.auth-modal-enter p.auth_header, 
.auth-modal-footer p.auth_header 
{
	font-family: Roboto;
	font-weight: 400;
	  font-size: 16px;
	  color: var(--black-50);	
}

.auth-modal-enter p.header.error 
{
	color: var(--red);
}

.auth-modal-enter p.header.green
{
	color: var(--green);
}

.auth-modal-enter p.header.black
{
	color: var(--black);
	margin-top: 8px;
}


.auth-modal-enter p.header.center
{
	text-align: center;
}

.auth-modal-enter a {
	color: var(--violet);
	cursor: pointer;
}



.auth-modal-footer ul{
	list-style-type: none;
  	display: inline;
  	padding: 0;
  	margin: 0;
}
.auth-modal-footer ul li{
  	display: inline-block;
  	margin:  2px 4px 0 0;
  	cursor: pointer;
}

.auth-modal-register_mob{
	display: none;
}




button.auth-blue, 
button.auth-white 
 {

	width: 312px;
  	height: 40px;
  	border-radius: 4px;
  	border: none;
    background-image: linear-gradient(to left, #4f0ed0, var(--violet));
    display: inline-block;
    
	font-family: 'Fira Sans';
	font-weight: 300;
	font-size: 18px;
	text-align: center;
	color: white;
	margin-bottom: 8px;
	padding-top: 1px;
	transition: background-image 0.5s;
	cursor: pointer;
}
button.auth-blue:hover{
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(to left, #4f0ed0, var(--violet));
}

button.auth-blue.mobile{
	display: none;
}


button.auth-white 
 {
	font-weight: 400;
	font-family: Roboto;
}



.mar_top_1px{
	margin-top: 1px;
}	

.mar_top_91px{
	margin-top: 91px;
}



button.auth-white 
 {
	background-image: none;
    background-color: white;
    border: solid 1px var(--violet);
	color: var(--violet);
}

.auth-modal-enter input{
	width: 310px;
  	height: 40px;
  	box-sizing: border-box;
  	
	border-radius: 4px;
  	border: solid 1px #c6cad8;
  	background-color: var(--white);
    margin-bottom: 8px;
    margin-top: 1px;
  	padding: 0;
  	padding-top: 1px;
  	padding-left: 8px; 
  	
    
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  
  
}








.auth-modal-enter input.error{
	border: solid 1px var(--red);
}


.auth-modal-enter input:focus{
  border: solid 1px var(--violet);
  outline:0;
}





.auth-modal-enter input::placeholder{
	padding-left: 0px; 	
	padding-top: 1px;
	color: var(--black-50);
}

.auth-eye{
	position: absolute; 
	top: 8px; 
	right: 8px;
	cursor: pointer;
	background-image: url("/application/data/images/icon_eye.svg");	
	background-size: contain;
	width: 24px;
	height: 24px;
}

.auth-eye.closed{
	background-image: url("/application/data/images/icon_eye_closed.svg");
}

.auth-icon-clear{
	position: absolute; 
	top: 12px; 
	right: 8px;
	cursor: pointer;
	background-image: url("/application/data/images/auth_icon_clear.svg");	
	width: 20px;
	height: 20px;
}

.auth-email-ok{
	display: none;
	position: absolute; 
	top: 12px; 
	right: 8px;
	cursor: pointer;
	background-image: url("/application/data/images/auth_email_ok.svg");	

	width: 20px;
	height: 20px;
	
	
}

.auth-remember-me
{
	display: flex;
   	align-items: center;
   	justify-content: space-between;
   	
   	margin-top: 19px;
   	margin-bottom: 32px;
   	font-family: Roboto;
   	font-weight: 400;
}

.auth-allow-use-data .checkbox, 
.auth-allow-send-spam .checkbox
{
	display: flex;
   	justify-content: flex-start;
   	cursor: pointer;
   	margin-top: 8px;
   	outline: none; 
}

.auth-allow-use-data{
	margin-top: 16px;
	outline: none; 
}

.auth-remember-me .message, 
.auth-not-remember-pass a
{
   	font-family: Roboto;
   	font-weight: 400;
}


.auth-allow-use-data .message, 
.auth-allow-send-spam .message
{
	font-family: Roboto;
  	font-weight: 500;
	font-size: 14px;
  	line-height: 1.71;
  	color: var(--black-50);
  	outline: none; 
}


.auth-allow-use-data .message.error{
	color: var(--red);
}





.auth-remember-me .checkbox{
	display: flex;
   	align-items: center;
   	flex-flow: row nowrap;
   	cursor: pointer;
   	outline: none; 
}

.divider_24px{
	height: 24px;
}

.divider_12px{
	height: 12px;
}



.auth-not-remember-pass  a{
	text-decoration: none;
	font-family: Roboto;
  	font-size: 16px;
  	text-align: right;
  	cursor: pointer;
 
  	color: var(--violet);
}


.auth-modal div.tick{
	
	background-image: url("/application/data/images/auth-checkbox-unchecked.svg");	
	background-size: contain;
	
	margin-right: 8px;
	max-width: initial;
	width: 20px;
	height: 20px;
}



.auth-modal div.tick.checked{
	background-image: url("/application/data/images/auth-checkbox-checked.svg");	
	background-size: contain;
}

.auth-modal div.tick.error{
	background-image: url("/application/data/images/auth_checkbox_error.svg");	
	background-size: contain;
}





.auth_link_sent{
	display: block;
	margin: 32px auto 40px auto;
}

#auth_slide_restore_pass_sent .auth-modal-header p,  
#auth_slide_restore_pass_bad_link .auth-modal-header p, 
#auth_slide_reg_email_success .auth-modal-header p, 
#auth_slide_common_error .auth-modal-header p,
#auth_slide_alreadyregistered_mobile .auth-modal-enter p, 
#auth_slide_welcometookko_mobile .auth-modal-enter p.header

{
	font-family: Fira Sans;
  	font-size: 24px;
  	font-weight: 500;
  	line-height: 1.33;
  	color: var(--black);	
  	margin: 0 auto 0 auto;
  	text-align: center;
}

#auth_slide_welcometookko_mobile .auth-modal-enter p.header{
	
}

#auth_slide_welcometookko_mobile .auth-modal-enter p
{
	font-family: Roboto;
  	font-size: 16px;
  	line-height: 1.5;
  	color: var(--black-50);
  	margin-left: 4px;
}




#auth_slide_restore_pass_sent .auth-modal-enter, 
#auth_slide_restore_pass_bad_link .auth-modal-enter, 
#auth_slide_reg_email_success .auth-modal-enter, 
#auth_slide_common_error .auth-modal-enter

{
	margin: 0;
}




#auth_slide_restore_pass_success .auth-modal-enter .status{
	display: block;
	margin: auto;
	margin-top: 88px;
	margin-bottom: 16px;
}



#auth_slide_init .bottom_space{
	/*расстояние до нижней нажписи= 48 px -  20px*/
	height: 28px;
}

#auth_slide_restore_pass_new_pass .bottom_space{
	height: 8px;
}

#auth_slide_restore_pass_success .bottom_space{
	height: 88px;
}

#auth_slide_phone .bottom_space{
	height: 116px;
}

.auth-nav-pixels.mobile	{
		display: none;
}		


.welcomeheader{
  font-family: 'Fira Sans';
  font-size: 24px;
  font-weight: 500;
  line-height: 1.33;
  text-align: center;
  color: var(--black);
}

.welcometext{
	font-family: Roboto;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: var(--black-50);	
}

.mt-2{
	margin-top: -2px;
}
.pt16{
	padding-top: 16px;
}

.pt24d{
	padding-top: 24px;
}
.pt32{
	padding-top: 32px;
}

.pt35{
	padding-top: 35px;
}

.pt44{
	padding-top: 44px;
}

.welcomeimg{
	display: block;
	margin: auto;
}

.auth_slide_init_error{
	display: none;
	font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    color: red;
}

.enter_4digit_phrase .maintext{
	color: black;
	font-family: Roboto;
	font-weight: 400;
    font-size: 16px;
    margin-top: -22px;
}
.not_reply{
	font-family: Roboto;
  	font-size: 14px;
	color: #c6cad8;
}
.already_calling{
	font-family: Roboto;
  	font-size: 14px;
	color: #c6cad8;
	margin-top: -7px;
}
.change_number{
	display: inline-block;
	font-family: Roboto;
	font-size: 14px;
	color: #4a17c7;
	font-weight: 500;
    margin-left: 13px;
    margin-top: -1px;
    border: 0;
    background-color: transparent;
}
.already_calling_example{
	font-family: Roboto;
	font-size: 14px;
	color: #c6cad8;
    margin-top: 31px;
}
.enter_sms_code_block, 
.enter_sms_code_block span 
{
	font-family: Roboto;
	font-size: 16px;
	color: #000000;
    margin-top: -24px;
    line-height: 1.38;
    margin-bottom: 31px;
}
.enter_sms_code_block .change_number{
		color: #4a17c7;
		font-size: 16px;
	    margin-left: 4px;
	    margin-top: -1px;
	    border: 0;
	    background-color: transparent;
}


.already_calling_example span{
	display: inline-block;
	font-weight: 500;
	color: #4a17c7;
	margin-left: 6px;
	font-family: Roboto;
}


.redirect_send_sms_code{
	
  	margin-bottom: 15px;
  	margin-top: 3px;
}

.redirect_send_sms_code a{
	font-size: 14px;
  	color: #63c;
  	font-weight: 400;
  	font-family: Roboto;
}
.send_sms_code_again{
	font-family: Roboto;
  	font-size: 14px;
	color: #c6cad8;
  	margin-top: 5px;
}


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

	
	@keyframes animatetop{
	  	from {left:100%;}
  		to {left:0%;}
	}
	

	
	
	.auth-modal-content{
		top: 0;
		left: 0;
		transform: none;		
		box-shadow: none;
		width: 100%;
  		height: 100%;
  		border: none;
  		border-radius: unset;
  		padding: 6% 5.5% 6% 5.5%;
  		overflow: auto;

	}
	
	.auth-modal-content.long, 
	.auth-modal-content.short
	{
		height: 100%;
	}
	
	.auth-close {
	  display: none;
	}
	
	
	.auth-modal-content-welcome .auth-close{
		display: block;
		top: -16px;
	  	right:-17px;
		
		background-image: url('/application/data/images/close.svg');
		width: 44px;
		height: 48px;
		background-size: contain;
		display: block;
	  	
	  	
	}

	
	
	
	.auth-modal-header{
		display: none;
	}
	
	.auth-modal-header_mob{
		display: flex;
	   	justify-content: space-between;
		align-items: flex-end;

		font-family: 'Roboto', sans-serif;
		font-weight: 400;
		font-size: 16px;
		color: var(--violet);
		margin-top: 3px;
	}
	
	.auth-modal-header_mob > *{
		flex: 1;
		font-family: 'Roboto', sans-serif;
		font-weight: 400;
		
	}
	
	.auth_header_action_close{
		text-align: right;
		font-family: 'Roboto', sans-serif;
		font-weight: 400;
		
	}
	
	
	.auth-modal-enter {
		margin-top: 92px;
	}
	
	#auth_slide_alreadyregistered_mobile .auth-modal-enter {
		margin-top: 107px;	
	}
	
	#auth_slide_welcometookko_mobile .auth-modal-enter {
		margin-top: 75px;
	}
	
	
	
	.auth_arrow_target{
		display: block;
		margin: 0 auto;
	}

	
	
	button.auth-blue, 
	button.auth-white 
	{
		width: 100%;	
		margin-bottom: 16px;
		font-weight: 400;
	}
	
	button.auth-white {
		font-size: 16px;
		padding-top: 4px;
	}
	
	.auth-modal-register_mob{
		display: block;
		position: absolute;
		width: 88%;
		text-align: center;
		bottom: 44px;
		font-family: Fira Sans;
		font-size: 18px;
		color: var(--violet);
	}
	
	.auth-modal-register_mob a.register_link_mob{
		font-weight: 400;
		color: var(--violet);	
	}
	
	
	button.auth-blue.desktop	{
		display: none;
	}
	
	/* для моб версии */
	.auth-modal-footer{
		position: absolute;
/*		display: flex;
		align-items: flex-end;
		flex-flow: column;
*/		bottom: 45px;
	}
	

	/*только для начального слайда  */
	.auth-modal-footer.init{
		position: static;
		bottom: unset;
		margin-top: 42px;
	}

	.auth-modal-enter input{
		width: 100%;
		margin-bottom: 16px;
	}


	.auth-remember-me{
	   	margin-top: 2px;
	}

	
	/*Вставка перед "войдите, если вспомнили"*/
	.mar_top_91px{
		margin-top: 10px;
	}
	
	.margin_top_mob_sms{
		margin-top: 1px !important;	
	}

	.margin_top_mob_sms_button{
		margin-top: 20px;		
	}
	
	.auth-allow-use-data.desktop{
		display: none;
	}

	.auth-allow-send-spam.desktop{
		display: none;
	}
	
	button.auth-blue.mobile{
		display: block;
	}
	
	button.auth-blue.next{
		position: absolute;
		bottom: 24px;
		width: 89%;
	}
	
	.auth-nav-pixels.mobile	{
		display: block;
		position: absolute;
		text-align: center;
		bottom: 60px;
		font-size: 65px;
		color: #f2f2f2;
		left: 0.5%;
		letter-spacing: 0px;
		width: 99%;
	}
	
	.auth-nav-pixels.mobile .violet{
		color: var(--violet);
		letter-spacing: 0px;
	}
	
	.auth_arrow_target{
		margin-top: 32px;
		margin-bottom: 40px;
	}
	
	.auth-modal img.tick{
		margin-right: 16px;
		max-width: initial;
	}

	.auth-modal-content-welcome {
		width: 320px;
  		height: 376px;
  		padding: 24px 20px 24px 20px ;
	}
	
	.pt24d{
		padding-top: 0px;
	}
	
	.pt8m{
		padding-top: 8px;
	}
	.pt24m{
		padding-top: 24px;
	}

	.welcomeheader{
	  font-size: 19.9px;
  		line-height: 1.21;
	}

	#auth_slide_reg_email_and_pass{
		overflow-y: scroll;
	}
	
	.auth-modal div.tick {
    	flex-shrink: 0;
	}

}








/*выбор типа авторизации*/
#auth_slide_init, 

/*вход по email паролю*/
#auth_slide_email, 

/*запрос на восстановление пароль*/
#auth_slide_restore_pass, 

/*запрос на восстановление пароль -- отправлен */
#auth_slide_restore_pass_sent, 

/*запрос на восстановление пароль -- ссылка недействительна */
#auth_slide_restore_pass_bad_link, 

/*запрос на восстановление: ввести новый пароль*/
#auth_slide_restore_pass_new_pass,


/*запрос на восстановление: пароль изменен*/
#auth_slide_restore_pass_success,


/*вход по телефону*/
#auth_slide_phone, 

/*вход по телефону: ввод кода смс*/
#auth_slide_phone_sms, 

/* регистрация1 ввод телефона и кода смс */
#auth_slide_reg_by_phone,

/* регистрация2 ввод email и паролей  */
#auth_slide_reg_email_and_pass,

/*регистрация: email подтвержден */
#auth_slide_reg_email_success,

/*регистрация: окно с ошибкой  */
#auth_slide_common_error, 

/*регистрация: Окно с галками с согласием моб версия */
#auth_slide_alreadyregistered_mobile, 

/*регистрация: Добро пожаловать в КИНО ОККО! */
#auth_slide_welcometookko_mobile


{
	display: none;
}




#auth_slide_init
/*#auth_slide_reg_email_and_pass*/
/*#auth_slide_restore_pass_sent*/
/*#auth_slide_restore_pass_bad_link*/
/*#auth_slide_reg_email_success*/
/*#auth_slide_phone_sms*/
/*#auth_slide_alreadyregistered_mobile*/
{
	display: block;
}

