@import url('https://fonts.googleapis.com/css?family=Roboto+Slab&subset=cyrillic');
@font-face {
	font-family: 'BebasNeue Book';
	src: url('fonts/Bebas Neue Book.eot');
	src: local('☺'), url('fonts/Bebas Neue Book.woff') format('woff'), url('fonts/Bebas Neue Book.ttf') format('truetype'), url('fonts/Bebas Neue Book.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

*{
-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;}

html, body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
	background:url(/img/bg-new-min.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position:relative;
  font-family: "Roboto Slab", serif;
}
.btn{
background: transparent;
    border: 1px solid #fef9a9;
    color: #e18b48;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 3rem;
    padding: 0 3rem;
    cursor: pointer;
    outline: none;
    font-family: "Roboto Slab", serif;
    position: absolute;
    letter-spacing: .2rem;
    top: 53%;
    right: 49.5%;
	transition:.3s;
	border-radius:2px;
	width:14em;
}
.btn.gallery{margin-top:calc(2em + 35px);margin-right}

.btn:hover{
color:#fff;
border-color:#fff;}

.form_wrapper{
position:fixed;
display:table;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
font-family: 'BebasNeue Book',serif;
color:#fff;
visibility:hidden;
opacity:0;
transition:.3s;
z-index:+9;
}

.form_wrapper.visible{
visibility:visible;
opacity:1;}

.form-inner{
text-align: center;
    vertical-align: middle;
	display:table-cell;
	}
.tac{
text-align:center;}
a.close{
  color: #fff;
    text-decoration: none;
    font-size: 4rem;
    transform: rotate(45deg);
    display: inline-block;
    top: 0.5rem;
    left: 2rem;
    position: absolute;
    font-weight: bold;
	transition:.3s;}
	a.close:hover{
		opacity:0.8;
	}
	form{
	width:50%;
	margin:auto;
	overflow:hidden;
overflow-y:auto;
max-height:100%;
font-size: 1.5rem;
    font-family: 'BebasNeue Book',serif;
    letter-spacing: 0.25rem;
    line-height: 3rem;}
	form p{margin:10px 0 0;}
	
	form input[type="text"],
	form input[type="number"],
	form input[type="email"],
	form textarea{
	width:100%;
	border:0;
	border-bottom:0.2rem solid #fff;
	background:transparent;
	outline:none;
	font-size:1.5rem;
	padding:0;
	font-family: 'BebasNeue Book',serif;
	    letter-spacing: 0.25rem;
		line-height:3rem;
		margin:0.5rem 0;
		color:#fff;
		-webkit-appearance: none;
		border-radius:2px;}
		
		form textarea{
		height:10rem;}
		
		form input[type="text"]:focus,
		form input[type="number"]:focus,
	form input[type="email"]:focus,
	form textarea:focus{
	border-bottom-color:yellow}
		
		input[type="submit"]{
			background:transparent;
	outline:none;
	font-size:1.5rem;
	font-family: 'BebasNeue Book',serif;
	    letter-spacing: 0.25rem;
		line-height:3rem;
		color:#fff;
			display:inline-block;
			width:auto;
			border:0.1rem solid #fff;
			padding:0 4rem;
			line-height:4rem;
			margin:2rem auto;
			font-weight:bold;
			cursor:pointer;
			transition:.3s;
			-webkit-appearance: none;
			border-radius:2px;
		}
		
		input[type="submit"]:hover{
			background:#fff;
			color:#000;
		}
	
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
::-moz-placeholder { /* Firefox 19+ */
   color: #fff;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
:-moz-placeholder { /* Firefox 18- */
   color: #fff;
}

.col-2{
width:48% !important;
float:left;}

.col-2.last{
float:right;}

.info {    position: absolute;
    bottom: 0;
    padding: 2em 2em 1em;
    left: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
line-height:1.3;
    font-family: 'BebasNeue Book',serif;
    letter-spacing: 0.25rem;}
	.info p{margin: 0 0 1em;}
.copyright{    
font-size: 1rem;line-height:1.3;
    font-family: 'BebasNeue Book',serif;
    letter-spacing: 0.25rem;
	position:absolute;right:2em;
	bottom:2em;
	text-align:center;
	color:#fff;
	text-decoration:none;
	}
	.copyright a{color:#fff;
	text-decoration:none;}
.copyright a:hover{text-decoration:underline;}
.copyright a img{width:30px;height:auto;transition:.3s}
.gallery-images{display:none;}
@media  only screen and (min-width:2500px) and (max-width: 981px) and (-webkit-min-device-pixel-ratio: 2),   
            only screen  (min-resolution: 192dpi) {  
   .copyright img{width:auto;}
}
@media (min-width:1900px){
	.btn{
	    font-size: 1.5rem;
    line-height: 3.5rem;
    padding: 0 3.5rem;
    letter-spacing: 0.32rem;
    top: 55%;
	width:13em;
	}
	.info,.copyright{    font-size: 1.5rem;}
}


 
 @media only screen and (max-width:668px) {
 body{
 background-image:url(/img/bg-mobile-top.jpg);
 padding-bottom:70px;
 }
.btn{
       font-size: 0.8em;
    line-height: 2em;
    padding: 0 1.5em;
    letter-spacing: 0.2em;
    right: 50%;
    margin-right: -6em;
    width: 12em;
    top: 36%;
	}
	.btn.gallery{margin-top:calc(2em + 15px);}
	
	a.close{
	left:0px;
	top:-5px;}
	
	form{
	width:80%;}
	
	form input[type="text"],
	form input[type="number"],
	form input[type="email"],
	form textarea{
	border-bottom:2px solid #fff;
	font-size:18px;
	    letter-spacing: 0.25em;
		line-height:28px;
		margin:10px 0;
		border-radius:2px;}
form p{font-size:18px;
	    letter-spacing: 0.25em;
		line-height:28px;}
		
		form textarea{
		height:100px;}
		
		input[type="submit"]{
			font-size:20px;
			line-height:40px;
			padding:0 30px;
		}
		.info{        text-align: center;
    font-size: .8rem;
    width: 100%;
    margin-top: 0;
    padding: 15px;
    margin-bottom: 50px;
    text-transform: none;
    overflow: auto;}
.info br{display:none;} 
		.copyright{bottom:15px;right:50%;margin-right:-78px;font-size:.8rem}
		.copyright img{width:26px;}
 }
@media only screen and (max-height:668px) and (orientation : landscape) {
.btn{
	    font-size: 0.8em;
    line-height: 2em;
    padding: 0 1.5em;
    letter-spacing: 0.2em;
top:35%;
right:51%;
margin:0;
	}
	
	.btn.gallery {
    right:iherhit;
margin-top:0;left:51%
}
.info{font-size:.7rem}

 }
  @media only screen and (max-width:321px) and (orientation : portrait) {
.info{font-size:.7rem;margin-bottom:60px;}
}
 @media only screen and (min-width:576px) and (orientation : portrait) {
 body{
 background-image:url(/img/bg-mobile-min.jpg);
 }
.btn{
    top: inherit;
    right: 50%;
    bottom: 29%;
    margin-right: -108px;
	}
	.btn.gallery{    bottom: 23%;
    margin-top: 0;}
	
	form{width:80%;}
	
	.copyright{
		right:50%;
		margin-right:-83px;
		bottom:15px;
	}
	.info{
		    bottom: 80px;
    text-align: center;
    padding: 15px;
    width: 100%;
	margin-top:5vh;
	    font-size: 0.8rem;
	}
 }
