/*Theme name: Taxi*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@font-face{
	font-family: 'Lato'; 
	font-weight: 900; 
	font-style: normal; 
    src: 
       url('fonts/latoblack.woff') format('woff'),
       url('fonts/latoblack.ttf') format('ttf');
}

@font-face{
	font-family: 'Bebas'; 
	font-weight: bold; 
	font-style: normal; 
    src: 
       url('fonts/BebasNeueBold.otf') format('otf'),
       url('fonts/BebasNeueBold.ttf') format('ttf'),
       url('fonts/BebasNeueBold.eot') format('eot'),
       url('fonts/BebasNeueBold.woff') format('woff');
}

* {
	margin: 0;
	text-decoration: none;
 	position: relative;
}

a,input[type=submit] {
	color: #000;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}
input[type=submit] { color: #fff;  }
input[type=submit]:active, a:active { 
	-webkit-transform: scale(0.96,0.96);
	-ms-transform: scale(0.96,0.96);
	-o-transform: scale(0.96,0.96);
	transform: scale(0.96,0.96);
}

html, body {
	background: #000;
	font-family: 'Lato', sans-serif;
	font-weight: 900;
	height: 100vh;
	width: 100vw;
	overflow-x:  hidden;
}

div.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;


	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
    justify-content: space-around;


    background-color: rgba(255,198,26,1);
    background-color: rgba(0,0,0,0.8);
    z-index: 30;
}


.menu > a {
	margin: 30px 0;
	font-size: 30px;
    color: #fff;
    font-weight: 800;
    font-family: 'Bebas';
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.menu > a em {
	font-style: normal;
	color: yellow;
}

 .menu ul {
 	display: -webkit-flex;
 	display: -moz-flex;
 	display: -ms-flex;
 	display: -o-flex;
 	display: flex;

 	list-style: none;
 	box-sizing: border-box;
 }

 .menu ul li {
      margin: 25px 20px;
    padding: 10px 15px 5px;

 	border-radius: 20px;

 	-webkit-transition: all .5s;
 	-o-transition: all .5s;
 	transition: all .5s;
 }

 .menu ul li:hover{
     background: #ffc61a;
 }

 .menu ul li a {
 	color: #eee;
 }

 .menu ul li:hover a {
 	color: #000;
 }

 /*--------------------------------------header-------------------------------------------------------------------*/
 /*--------------------------------------header-------------------------------------------------------------------*/
 /*--------------------------------------header-------------------------------------------------------------------*/
 /*--------------------------------------header-------------------------------------------------------------------*/



 header {
 	display: -webkit-flex;
 	display: -moz-flex;
 	display: -ms-flex;
 	display: -o-flex;
 	display: flex;
 	-webkit-flex-wrap: wrap;
 	-moz-flex-wrap: wrap;
 	-ms-flex-wrap: wrap;
 	-o-flex-wrap: wrap;
 	flex-wrap: wrap;
 	justify-content: center;
 	align-items: flex-start;

 	text-align: center;
 	width: 100%;
 	float: left;
 	width: 100%;
    background-color: #fff;
    /*background: url('img/bg_b1.jpg') left top no-repeat / cover;*/
 }

header h1 {
	color: #ffc61a;
	font-size: 2.2em;
	display: block;
	width: 100%;

    line-height: 70px;

/*	margin-top: 150px;
	margin-bottom: 340px; */
	text-transform: uppercase;
	
	
	margin-top: 250px;
    margin-bottom: 87px;
	
	
	
	
	
	
	
}

 header em {
 	font-size: 2.2em;
 	color: #000;
 	font-style: normal;
 }
 header em:nth-of-type(2) {
 	text-transform: uppercase;
 	font-size: 0.6em;
 	letter-spacing: 15px;
 }

header img {
	position: absolute;
	top: 380px;
	width: 50%;
	/*min-width: 700px;*/
	max-width: 800px;
	margin-top: -278px;
	z-index: 2;
	WIDTH: 125px;
}


header img.line {
	width: 100%;
	position: absolute;
	top: 560px;
	left: 0;
	display: none;
}

 /*--------------------------------------block1-------------------------------------------------------------------*/
 /*--------------------------------------block1-------------------------------------------------------------------*/
 /*--------------------------------------block1-------------------------------------------------------------------*/
 /*--------------------------------------block1-------------------------------------------------------------------*/

 .block1 {
 	background-image: url('img/bl2_phone.png');
 	-webkit-background-size: 30%;
 	background-size: 500px;
 	background-repeat: no-repeat;
 	background-position: calc(1000px + 20vw) 108%;
 	background-color: #ffc61a;
 	color: #fff;
 	display: -webkit-flex;
 	display: -moz-flex;
 	display: -ms-flex;
 	display: -o-flex;
 	display: flex;
 	-webkit-flex-wrap: wrap;
 	-moz-flex-wrap: wrap;
 	-ms-flex-wrap: wrap;
 	-o-flex-wrap: wrap;
 	flex-wrap: wrap;
 	float: left;
 	width: 100%;
 }

.block1 > h2,
.block1 > p {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 30px;
}

.block1 h2 {
	margin-top: 60px;
}

.block1 p {
   
}

.b1Ins {
	margin-top: 40px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}

.b1Ins h4, 
.b1Ins h3 {
    text-transform: uppercase;
    color: #000;
    margin-left: 200px;
    font-size: 2.9em;
}

.b1Ins h3 {
	margin-top: 160px;
	color: #fff;
	font-size: 2.2em;
	text-shadow: 3px 5px 3px rgba(0,0,0,0.7);
}

.b1Ins p {
	font-size: 1em;
	color: #000;
	margin-top: 30px;
    margin-left: 200px;
    width: 550px;
}



.b1Add .button{
	color: #fff;
	font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 0.1px;
  
    background: #000;
    padding: 20px 30px;
    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
    
    display: inline-block;
	margin-top: 40px;
    margin-left: 200px;
    margin-bottom: 100px;

    font-family: 'Bebas';
  }

.block1 img.line {
	display: none;
	width: 100%;
	position: absolute;
	top: -10vw;
	left: 0;
}

 /*--------------------------------------block2-------------------------------------------------------------------*/
 /*--------------------------------------block2-------------------------------------------------------------------*/
 /*--------------------------------------block2-------------------------------------------------------------------*/
 /*--------------------------------------block2-------------------------------------------------------------------*/

 .block2 {
 	/*background-image: url('img/bg_b2.jpg');*/
 	-webkit-background-size: cover;
 	background-size: cover;
 	background-repeat: no-repeat;
 	background-color: #fff;

 	padding-bottom: 20px;
 	float: left;
 	width: 100%;

	border-top-color: #d5d5d5;
    border-top-width: 5px;
    border-top-style: solid;
 }


 .block2 h3 {
 	text-align: center;
 	display: block;
 	margin: 50px;
 	color: #ffc61a;
 	font-size: 2.3em;
 	text-transform: uppercase;
 }

 .block2 h3 em {
 	color: #000;
 	font-size: 1.2em;
 	font-style: normal;
 }

 .b2Ins {
 	width: 100%;
 	display: block;
 	display: -webkit-flex;
 	display: -moz-flex;
 	display: -ms-flex;
 	display: -o-flex;
 	display: flex;
 	justify-content: center;
 	-webkit-flex-wrap: wrap;
 	-moz-flex-wrap: wrap;
 	-ms-flex-wrap: wrap;
 	-o-flex-wrap: wrap;
 	flex-wrap: wrap;
 	align-items: flex-start;
 }

 .b2Add {
    width: 50%;
    box-sizing: border-box;
    padding: 30px 0 30px 190px;
    color: #ffc61a;
    /*background-image: url('img/b2_ic1.png');*/
    -webkit-background-size: 90px;
    background-size: 90px;
    background-repeat: no-repeat;
    background-position: 60px 40px;
 }

.b2Add:nth-of-type(odd) {
    padding: 30px 0 30px 20%;
    background-position: 25% 40px;

}

 .b2Add h5{
 	font-size: 1.5em;
 	display: inline-block;
 	margin-bottom: 20px;
 	text-transform: uppercase;
 }

 .b2Add p {
 	color: #000;
 	width: 100%;
 	max-width: 400px;
 	min-width: 300px;
    font-family: 'Open Sans';
 }

 .b2Add img {
 	display: block;
 	margin: 10px auto;
 }

 .block2 a.button {
 	font-family: 'Bebas';
 	display: inline-block;
 	font-size: 1.8em;
 	padding:10px;
 	line-height: 40px;
 	color: #000;
 	background-color: #ffc61a;
 	border-radius: 10px;
 	font-weight: bold;
 	margin: 50px 0;
 }

 /*--------------------------------------block3-------------------------------------------------------------------*/
 /*--------------------------------------block3-------------------------------------------------------------------*/
 /*--------------------------------------block3-------------------------------------------------------------------*/
 /*--------------------------------------block3-------------------------------------------------------------------*/

 .block3 {
 	background-color: #fff;
 	
 	color: #000;
 	padding-bottom: 100px;
 	float: left;
 	width: 100%;
 }

.block3 h2,
.block3 p {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 30px;
}

.block3 h2 {
	padding-top: 100px;
	color: #ffc61a;
	font-size: 2.3em;
}

.block3 .b3Ins  p {
   font-size: 1.3em;
   width: 90%;
   margin: 30px auto;
}

.b3Ins {
	margin-top: 40px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	z-index: 4;
}

.block3 .line {
      position: absolute;
    width: 100%;
    top: calc(100% - 10vw);
    z-index: 3;
    display: none;
}

 /*--------------------------------------block4-------------------------------------------------------------------*/
 /*--------------------------------------block4-------------------------------------------------------------------*/
 /*--------------------------------------block4-------------------------------------------------------------------*/
 /*--------------------------------------block4-------------------------------------------------------------------*/
.block4 {
	border-top-color: #d5d5d5;
    border-top-width: 5px;
    border-top-style: solid;
	float: left;
	width: 100%;
	background: #ffc61a;
}

.block4 b,
.block4 p {
	display: block;
	margin-top: 70px;
	font-size: 2.1em;
	text-align: center;
	text-transform: uppercase;
}

.block4 b {
	margin-top: 20px;
	margin-bottom: 70px;
	font-size: 5em;
}

.block4 b a{ color: #000; }

 /*--------------------------------------footer-------------------------------------------------------------------*/
 /*--------------------------------------footer-------------------------------------------------------------------*/
 /*--------------------------------------footer-------------------------------------------------------------------*/
 /*--------------------------------------footer-------------------------------------------------------------------*/

footer {
 	float: left;
 	width: 100%;
	background-color: #fff;
	color: #000;
	/*background-image: url('img/bg_foot.jpg');*/
	-webkit-background-size: cover;
	background-size: cover;
	
}

.footIns {
	box-sizing: border-box;
	width: 65%;
	float: left;
	padding: 50px 0 0;
	margin-bottom: 60px;
}

.footIns1 {
    padding-left: 10%;
}

.footIns2 {
	padding: 0;
	padding-top: 50px;
	width: 25%;
}

.footIns h5 {
	font-size: 1.4em;
	display: inline-block;
	width: 300px;
	text-transform: uppercase;
	padding-bottom: 30px;
	border-bottom: 8px solid #ffc61a;
}

.footIns h5 em {
	font-style: normal;
	color: #ffc61a;
}

.footIns ul {
	display: block;
	padding: 0;
	margin-top: 30px;
    font-family: 'Open Sans';
	list-style: none;
}

.footIns ul li {
	display: block;
	width: 90%;
	padding: 10px 0;
}

.footIns1 ul li em {
	color: #ffc61a;
	font-style: normal;
}

.footIns2 ul li:nth-of-type(n) {
	padding-left: 40px;
	background-image: url('img/foot_ic1.png');
	background-position: left center;
	background-repeat: no-repeat;
}

.footIns2 ul li:nth-of-type(2) {background-image: url('img/foot_ic2.png');}
.footIns2 ul li:nth-of-type(3) {background-image: url('img/foot_ic3.png');}
.footIns2 ul li:nth-of-type(4) {background-image: url('img/foot_ic4.png');}


footer > p {
	text-align: center;
	display: block;
	width: 100%;
	color: #fff;
	background-color: #000;
	float: left;
	font-size: 0.8em;
	padding: 20px 0;
}


 /*--------------------------------------modal-------------------------------------------------------------------*/
 /*--------------------------------------modal-------------------------------------------------------------------*/
 /*--------------------------------------modal-------------------------------------------------------------------*/
 /*--------------------------------------modal-------------------------------------------------------------------*/

.modal,a.close {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 100;
	top: 0;left: 0;
    
    overflow-y: scroll;
	background-color: rgba(0,0,0,0.8);
	display: none;
}

.doki img {
	height: 90%;
	display: block;
	margin: auto;
	margin-top: 2.5%;
	border: 1px solid orange;
	box-shadow: 0 0 20px orange;
}

a.close {
	z-index: 2;
	cursor: pointer;
	display: block;
	background-color: transparent;
}


 /*--------------------------------------zayavka-------------------------------------------------------------------*/
 /*--------------------------------------zayavka-------------------------------------------------------------------*/
 /*--------------------------------------zayavka-------------------------------------------------------------------*/
 /*--------------------------------------zayavka-------------------------------------------------------------------*/


#zayavka {
	width: 400px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: auto;
	margin-top: 5vw;
	z-index: 3;
	background-color: #fff;
	font-family: 'Bebas';
	margin-bottom: 100px;
}


#zayavka h5 {
	display: block;
	width: 100%;
   color: #fff;
   text-transform: uppercase;
   padding: 20px;
   padding-left: 30px;
   font-size: 1.5em;
   background-color: #000;
}
#zayavka h5:nth-of-type(2) {
	margin-top: 10px;
}

#zayavka h5 em { color: #ffc61a; font-style: normal;}

#zayavka input {
	display: block;
	width: 95%;
	max-width: 350px;
	margin:  20px auto 0;
	padding: 10px;
    border: none;
    border-bottom: 1px solid grey;
    font-family: 'Lato';
}

#zayavka input[type=submit] {
	outline: none;
   background-color: #000;
   color: #fff;

   border-radius: 5px;
   margin: 20px auto 20px;
   cursor: pointer;
}

#zayavka p {
	font-size: 0.91em;
	width: 90%;
	display: block;
	margin: auto;
}

#zayavka p a{
	color: orange;
}

#zayavka input[type=checkbox] {
   display: inline-block;
   width: auto;
}

#zayavka p.x,
.modal p.x {
	z-index: 4;
	display: inline-block;
    font-family: 'Open Sans';
    content: 'X';
    font-weight: lighter;
    border: 2px solid orange;
    border-radius: 100%;
    padding: 0 0.4em;
    font-size: 1em;
    position: absolute;
    right: -10px;
    top: 5px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    cursor: pointer;
    width: 0.6em;
    cursor: pointer;
}

.modal p.x {
	right: 20%;
	top: 30px;
}

.menu > p.menumobopen {	
	display: none;      
    position: fixed;
    top: 16px;
    right: 20px;
    width: 30px;
    height: 3px;
    background-color: #ffc61a;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.menu > p.menumobopen:before,	
.menu > p.menumobopen:after {	
	content: '';
	position: fixed;
    top: 32px;
    right: 20px;
    width: 30px;
    height: 3px;
    background-color: #ffc61a;
}	

.menu > p.menumobopen:after {
	top: 24px;
}

.menu > p.menumobopen:active {
}


.menu > p.menumobopen.mopen {
	background-color: transparent;
}

.menu > p.menumobopen.mopen:before,
.menu > p.menumobopen.mopen:after {
	-webkit-transform: rotateZ(45deg);
	 -ms-transform: rotateZ(45deg);
	 -o-transform: rotateZ(45deg);
	 transform: rotateZ(45deg); 
	 background: #fff;
}

.menu > p.menumobopen.mopen:before {
	-webkit-transform: rotateZ(-45deg);
	-ms-transform: rotateZ(-45deg);
	-o-transform: rotateZ(-45deg);
	transform: rotateZ(-45deg);
	top: 25px;
}

 /*--------------------------------------telegram/top-------------------------------------------------------------------*/

.telegram img {
    left: 5vw;
    position: fixed;
    bottom: 5vw;
    width: 80px;
    z-index: 5;	
}

.top img {
    right: 5vw;
    position: fixed;
    bottom: 5vw;
    width: 80px;
    cursor: pointer;
    z-index: 5;	
    display: none;
}


@media screen and (max-width: 968px) {
  
.menu > p.menumobopen {	
  	display: block;
  }	
  

  #zayavka {
   max-width: 90%;
  }

  .menu > a{
  	margin: 13px 0 10px;
  }

  .menu ul{
  	position: fixed;
  	display: block;
  	top: 0;
  	padding-top: 20vh;
    right: -70%;
  	width: 70%;
  	height: 100%;
  	background: #ffc61a;
  	-webkit-transition: all .5s;
  	-o-transition: all .5s;
  	transition: all .5s;
  }

  .menu ul.mob {
  	right: 0;
  }

  .menu ul li{
  	display: block;
  	width: 100%;
  	height: 20px;
  }
  
  .menu ul li a {
  	text-shadow: 1px 1px 1px #000;
  }

 /*----------------------header*/

header h1 {
	margin-top: 94px;
	margin-bottom: 0px;
	font-size: 1.2em;
	line-height: 40px;
}

header em:nth-of-type(2) {
	letter-spacing: 3px;
}

header img {
	/*min-width: 100px;*/
	width: 7%;
	top: 60%;
	margin-top: -47px
}


 /*----------------------block1*/
 .b1Add {
 	width: 100%;
 }

 .b1Add h3,.b1Add h4,.b1Add p{
 	margin-left: 10px;
 	margin-top: 20px;
 	text-align: center;
 	font-size: 0.9em;
 	width: 90%;
 }

 .b1Add h3{
 	margin-top: 23vw;
 	font-size: 2em;
 }

 .b1Add h4 {
 	font-size: 1.5em;
 }

 .b1Add a.button {
 	margin: 30px auto;
 	font-size: 2em;
 	display: block;
 	width: 160px;
 }
 /*----------------------block2*/
 .block2 h3 {
 	font-size: 1.4em;
 }
 .b2Add:nth-of-type(odd),
 .b2Add {
    width: 100%;
    padding: 30px;
    padding-top: 140px;
    text-align: center;
    background-position: center top;
 }


 .b2Add p {
 	display: block;
 	margin: auto;
 }



 /*----------------------block3*/

 .b3Ins {
 	width: 100%;
 }
 /*----------------------block4*/
 .block4 p {
    font-size: 1.1em;
 }

 .block4 b {
    font-size: 2em;
 }

 /*----------------------footer*/
 .footIns {
 	width: 100%;
 	padding-left: 10%;
 }

 .footIns1 ul li em {
 	display: block;
 	text-align: center;
 }

 .modal p.x,
 #zayavka p.x {
    right: 5%;
    font-size: 1.8em;
    background-color: rgba(25,16,0,1);
 }

 .footIns1 li:nth-of-type(n+2) {
 	/*text-align: center;*/
 }

.footIns2 ul li:nth-of-type(n) {
     width: 80%;
}

}

@media screen and (min-width: 520px) and (max-width: 968px) {

   header > img {
	/*min-width: 450px;*/
	width: 7%;
	top: 50%;
	margin-top: -45px;
   }

  header h1 {
  	margin-bottom: -6px;
	    margin-top: 139px;
  }

  .b1Add h3 {
    margin-top: 120px;
  }
  
  .footIns {
  	width: 50%;
  	padding-left: 5%;
  }

  .footIns h5 {
  	width: 200px;
  }
  

  #zayavka {
	width: 70%;
  }
}