﻿


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: 27px;
	font-weight: 300;
	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;
	}
	
	
.form {
		position: relative;
		margin:100px auto;
		z-index:999;
		width:380px;
		height:330px;
		padding:40px 20px;
		background-color: rgba(0, 1, 10, 0.93);
		border:1px solid #666666;
		border-radius:4px;
		box-shadow:0 0 2px rgba(0,0,0,0.7);
		z-index:999;
	}

.form .input {
	
	margin-top:35px;
	width:277px;
	height:38px;
	border-radius:4px;
	
	-moz-border-radius: 4px; /*закругляем углы для Mozilla*/  
    -webkit-border-radius: 4px; /*закругляем углы для Chrome, Safari*/ 
	-khtml-border-radius: 4px; /*закругление углов (Safari)	*/
	letter-spacing:1px;
	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;
	
	
	
}





/*Цвет шрифта в окне инпут*/

 ::-webkit-input-placeholder {
              color: #5e6452;
            }
    ::-moz-placeholder { /* Firefox 19+ */
               color: #5e6452;
            }
    :-ms-input-placeholder {
               color: #5e6452;

	}
	



	
input:focus {
	
	background-color:#fffcf9;
	outline-style: auto;
	/*outline-width: 3px;*/
	outline-color: rgb(135, 159, 82);
	outline-offset: 0px;
 

}
		


.popup .popup-text {
	
	margin-top:23px;
	color:white;
	font-size:17px;
	font-weight:300;
	letter-spacing:1px;
	
}




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

		width:310px;
		height:290px;

	}

.popup img {
	
	
	position:absolute;
	right:-16px;
	top:-25px;
	width:25px;
	
	
}
.popup h3 {



	font-size: 21px;
	line-height: 24px;



}
.form .input {
	
	
	width:260px;

	
	
	
}

.popup-button {
	width:260px;
}

#popup-button .button {

	width:260px;
}
#popup-button .popup-text {

	display: none;
}

}