﻿


body {
	margin:0;
	
}

body button {
	cursor:pointer;
		
	}



.popup {
	position: fixed;
	height:100%;
	width:100%;
	top:0;
	left:0;
	display:none;
	text-align:center;
	z-index:999;
}

.popup h3 {


	text-align: center;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 28px;
	font-weight: 600;
	letter-spacing: 0px;	
	color:white;
	
	


}

.popup img {
	position:absolute;
	right:-21px;
	top:-21px;
	width:25px;
	z-index:999;
}


.popup a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
  cursor:pointer;
  z-index:999;
}



.popup_bg {
		background:rgba(0,0,0,0.8);
		position:absolute;
		height:100%;
		width:100%;
		z-index:999;
	}
	
	
.popup-form {
		position: relative;
		margin:70px auto;
		z-index:999;
		width:380px;
		padding:50px 20px;
		padding-bottom: 40px;
		background:rgba(65,123,159,0.9);
		border:1px solid #666666;
		border-top-left-radius: 15px;
		border-bottom-right-radius: 15px;
		box-shadow:0 0 2px rgba(0,0,0,0.7);
		z-index:999;
	}

.input-popup input {
	
	margin-top:35px;
	width:320px;
	height:38px;
	border-radius:6px;
	
	-moz-border-radius: 4px; /*закругляем углы для Mozilla*/  
    -webkit-border-radius: 4px; /*закругляем углы для Chrome, Safari*/ 
	-khtml-border-radius: 4px; /*закругление углов (Safari)	*/
	letter-spacing:0px;
	border:none;
	
	-webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.1) inset;
    box-shadow:2px 2px 3px rgba(0, 0, 0, 0.1) inset;
	
	
	padding-left: 25px; /*отступ слева от ввода, чтобы текст не был на картинке(выбирать по размеру картинки)*/  
    font-size: 18px; /*размер шрифта*/
	box-sizing:border-box;
	color: #6f533d;
	
	
	
}



	



.check-1 {
	
	margin: 0 auto;
	margin-top: 15px;
	width: 350px;
	font-size: 12px;
}
.check-2 {

	margin: 0 auto;
	margin-top: 8px;
	width: 350px;
	font-size: 12px;
}
.check-text {

	color:#e4e4e4;
	font-size: 10px;
	line-height: 15px;
	
	
}

.check-text a {

	color:#e4e4e4;
	font-size: 10px;
	text-decoration: underline;
	line-height: 15px;
}

.popup-description {

	color:white;
	margin-top: 26px;
	font-size: 17px;
	line-height: 20px;
}

/*Настройки кнопки*/


.button {
  
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: .8em 2.5em;
  outline: none;
  border-width: 1px 0;
  border-style: solid none;
  border: #c41517;
  border-radius: 77px;
  letter-spacing: 1px;
  background: #c41517;
  transition: 0.2s;
  font-size: 17px;
  text-transform: uppercase;
  margin-top: 28px;
  font-weight: 400;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	
}



.popup-button {
  
 display: inline-block;
  color: white;
  text-decoration: none;
  padding: .9em 2.5em;
  outline: none;
  border-width: 1px 0;
  border-style: solid none;
  border: #c41517;
  border-radius: 77px;
  letter-spacing: 1px;
  background: #1c3f75;
  transition: 0.2s;
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  
  
}

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


.button i {

	display: none;
}

}


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

.button {


  padding: .7em 1.7em;
  font-weight: 500;
  letter-spacing: 0px;
  font-size: 15px;
  
  

	}

.popup-button {


  padding: .7em 1.7em;
  font-weight: 500;
  letter-spacing: 0px;
  font-size: 15px;
  
  

}


}




.popup-button:hover {
   
    background: #bd2e30;
    cursor:pointer;

}


.popup-button:active {

   background: #512bcd;
}



.button:hover {
    background: #bd2e30;
    cursor:pointer;


}

.button:active {

    background: #bd3a3b;
}



button:active, button:focus {
  outline: none;
}
button::-moz-focus-inner {
  border: 0;
}





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


.popup-form {
		
		margin:30px auto;
	
		width:330px;
		padding:30px 20px;
		
	}

.popup-form h3 {

	font-size: 21px;
}



.input-popup input {
	
	
	width:265px;

	
}

.popup-button {
	width:265px;
}




.check-1 {

	margin-top: 15px;
	width: 255px;
}
.check-2 {
	
	margin-top: 8px;
	width: 255px;
}


}

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


.popup-form {
		
		margin:30px auto;
		width:290px;
		padding:30px 15px;
		
	}

.popup-form h3 {

	font-size: 20px;

}



.input-popup input {
	
	width:255px;

}

.popup-button {

	width:255px;

}

.popup img
{
	right: 0;
	top: 0;
}


}