body {
font-family: arial;
color: #202020;
font-size:16px;
/*background: radial-gradient(circle farthest-corner at 500px 50px, #120A8F, #ff6501);}*/
/*background: radial-gradient(circle farthest-corner at 500px 50px, #121212, #505050);*/
background: url(images/asfalt.png);
}
h1 {
display: inline-block;
text-transform: uppercase;
border: solid 1px #000;
padding:2px;
}
h1 a {
color: #095d82;
text-decoration: none;
}
#layout {
padding-top:70px;
}
#main {
width: 80%;
margin: 0 auto;
border: solid 0px red;
}
#header {
display:flex;
  flex-wrap: wrap;
  justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height:70px;
border: solid 1px #000;
background-color: #444;
margin: 0;
z-index: 9;
background: url(images/texture.png) repeat-x;
}

#nav a {
color: #f27f06;
}

#nav a:hover {
color: #ffffff;
}

.logo {
margin: 0 auto;
float: left;
	min-width: 225px;
	max-width: 100%;
	flex: 1 0 20%;
}
.phones {
min-width: 186px;
max-width: 19%;
float: left;
flex: 1 0 15%;
}
.mphone {
	height: 30px;
	margin-top:6px;
	padding-right: 5px;
	float: left;
}

.callback, .callback2 {
	color: #fff;
	font-size: 14px;
    margin: 15px 0 0 3px;
    padding: 5px;
    min-width: 60px;
    max-width: 100px;
    height: 34px;
    float: left;
    flex: 1 0 10%;
    border: solid 1px white;
    border-radius: 15px;
    background-color: #f27f06; /*rgb(67 66 66 / 66%);*/
}
.callback:hover {
    background-color: #f27f06a3;
	text-decoration: underline;
	cursor: hand;
}

.callback img {
		margin: 0 5px 0 0;
}
.ham {
display: none;
}
#nav {
    display: block;
    margin: 15px auto;
    line-height: 20px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
text-align: center;
min-width: 463px;
max-width: 100%;
flex: 1 0 45%;
}

#nav_lvl2 {
width: 50%;
height:30px;
border: solid 1px blue;
text-align: center;
margin: 50px auto 0;
}

#description {
font-size: 16px;
color: #000;
text-align: center;
}

#recoms {
	font-weight: bold;
    font-size: 1.2em;
}

#recoms img {
    border: 0;
}

.contacts {
	width: 100%;
	font-size: 24px;
	text-align:center;
	border: solid 0px red;
	margin: 0 auto;
}
.contacts2 {
	
	min-width: 225px;
	max-width: 100%;
	flex: 1 0 50%;
}

.contacts a {
    font-size: 36px;
	 /*-webkit-text-stroke: 1px #888;*/
}

.contacts img {
	
}


a {
color: #ff6501;
text-decoration: none;
}
a:hover {
color: #fff;
text-decoration: none;
}

a.active {
text-decoration:underline;
}

a.tel {
font-size:120%;
color: #ddd;
text-decoration: none;
}
a.tel:hover {
color: #ff6501;
text-decoration: none;
}

.content {
margin: 1px auto;
padding: 0.3em;
text-align:center;
background-color: rgb(67 66 66 / 66%);
color: #ccc;
}
.content-dark {
margin: 1px auto;
padding: 0.3em;
text-align:center;
background-color: #202020;
color: #ddd;
font-weight: bold;
text-shadow: 3px 3px 10px #101010;
}
.content-light {
margin: 1px auto;
padding: 0.3em;
text-align:center;
background-color: #dfdfdf;
}
.content-light-c {
margin: 1px auto;
padding: 0.3em;
text-align:center;
background-color: #dfdfdf;
background: url(images/bgcontacts3.png) center;

}

.content-light img {
max-width: 80%;
}

.content-light h2 {
	font-size: 27px;
    color: #000000;
    text-shadow: 3px 3px 10px #8d8781;
    font-weight: 200;

}

.w {
border: solid 1px black;
width: 30em;
}

.p27, h2 {
font-size: 27px;
color: #f27f06;
-webkit-text-stroke: 0.1px #000;
text-shadow: 3px 3px 10px #101010;
font-weight: 200;
}

.content h3 {
font-size: 22px;
color: #f27f06;
-webkit-text-stroke: 0.1px #000;
text-shadow: 3px 3px 10px #101010;
font-weight: 200;
text-align: left;
margin-left: 5%;
}

.p13 {
font-size: 13pt;
color: #6C6969;
line-height: 115%;
}

.p150 {
	font-size:150%;
}

.content img:not(.contacts img, li img) {
border: solid 1px #000;
max-width: 80%;
}

img.noborder {
border: 0;
}

ul {
text-align: left;
}

a img {
border: 0;}

.p-left {
/*color: #000;*/
text-align:left;
max-width: 800px;
margin: 0 auto;
padding: 0 2px;
}

.call_btn {
margin: 0 auto;
height: 50px;
width: max-content;
}

.call_btn .callback2 {
    margin: 0;
    min-width: 200px;
    max-width: 200px;
    padding: 10px 0 0 0px;
    font-size: 18px;
    font-weight: 600;
    border-color: #ddd;
	color: #fff;
}
.callback2:hover {
    background-color: #f27f06a3;
	cursor: hand;
}


/*------------------------*/
body {
    margin: 0;
    padding: 0;
}

#block-for-slider {
    width: 100%;
    margin: 0 auto;
    margin-top: 0px;
}

#viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    text-align: center;
}

#slidewrapper {
    position: relative;
    width: calc(100% * 4);
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-transition-timing-function: cubic-bezier(.67,.01,.23,1);
    -o-transition-timing-function: cubic-bezier(.67,.01,.23,1);
    transition-timing-function: cubic-bezier(.67,.01,.23,1);
}

#slidewrapper, #slidewrapper ul, #slidewrapper li {
    margin: 0;
    padding: 0;
}

.slide {
    width: calc(100%/4);
    list-style: none;
    display: inline;
    float: left;
}

.slide-img {
    width: 100%;
	max-height: 500px;
	filter: blur(2px);
}

.slide-text {
	position: absolute;
    width: 300px;
    top: 3em;
    left: 5em;
    color: #efefefd1;
    z-index: 2;
    border: solid 0px #626262;
    padding: 10px;
    font-size: xx-large;
    text-transform: uppercase;
    text-align: left;
}

#prev-btn, #next-btn {
	display: none;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    top: calc(50% - 25px);
}

#prev-btn:hover, #next-btn:hover {
    cursor: pointer;
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

#nav-btns {
	display: none;
    position: absolute;
    width: 100%;
    bottom: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
}

.slide-nav-btn {
    position: relative;
    display: inline-block;
    list-style: none;
    width: 20px;
    height: 20px;
    background-color: #555;
    border-radius: 50%;
    margin: 3px;
}

.slide-nav-btn:hover {
    cursor: pointer;
}

td {
text-align: center;
}

#nav-mobile {
	display: none;
}
/*-----------------------------------------------------------------заявка*/
/* Контейнер */
.modal {

/* Слой перекрытия */
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;

/* Трансформации прозрачности при открытии  */
-webkit-transition: opacity 500ms ease-in;
-moz-transition: opacity 500ms ease-in;
transition: opacity 500ms ease-in;

/* Скрываем изначально */
opacity: 0;
pointer-events: none;
}

/* Показываем модальное окно */
.modal:target {
opacity: 1;
pointer-events: auto;
}

/* Содержание */
.modal > div {
width: 300px;
background: #ffffff;
position: relative;
margin: 10% auto;

/* По умолчанию минимизируем анимацию */
-webkit-animation: minimise 500ms linear;

/* Придаем хороший вид */
padding: 30px;
-moz-border-radius: 7px;
border-radius: 7px;
-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
-moz-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
box-shadow: 0 3px 20px rgba(0,0,0,0.9);
text-shadow: 0 1px 0 #fff;
}

/* Изменяем анимацию при открытии модального окна*/
.modal:target > div {
-webkit-animation-name: bounce;
}

.modal h2 {
font-size: 36px;
padding: 0 0 20px;
}

@-webkit-keyframes bounce {
  0% {
   -webkit-transform: scale3d(0.1,0.1,1);
   -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
   -webkit-transform: scale3d(1.08,1.08,1);
   -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
   -webkit-transform: scale3d(0.95,0.95,1);
   -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
   -webkit-transform: scale3d(1,1,1);
   -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-webkit-keyframes minimise {
  0% {
   -webkit-transform: scale3d(1,1,1);
  }
  100% {
   -webkit-transform: scale3d(0.1,0.1,1);
  }
}

/* Ссылка на кнопку Закрыть */
.modal a[href="#close"] {
position: absolute;
right: 0;
top: 0;
color: transparent;
}

/* Сбрасываем изменения */
.modal a[href="#close"]:focus {
outline: none;
}

/* Создаем кнопку Закрыть */
.modal a[href="#close"]:after {
content: 'X';
display: block;

/* Позиционируем */
position: absolute;
right: -10px;
top: -10px;
width: 20px;
padding: 1px 1px 1px 2px;

/* Стили */
text-decoration: none;
text-shadow: none;
text-align: center;
font-weight: bold;
background: #000;
color: #ffffff;
border: 3px solid #ffffff;
-moz-border-radius: 20px;
border-radius: 20px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal a[href="#close"]:focus:after,
.modal a[href="#close"]:hover:after {
-webkit-transform: scale(1.1,1.1);
-moz-transform: scale(1.1,1.1);
}

.modal a[href="#close"]:focus:after {
outline: 0px solid #000;
}

/* Открываем модальное окно */
a.openModal {

}

a.openModal:hover,
a.openModal:focus {
}

.modal .modal_title {
  display: block;
  text-align: center;
  font-size: 22pt;
}
  

/*-----------------------------------------------------------------заявка*/
.modal {
    background-color: rgb(67 66 66 / 66%);
}

.modal h3 {
    font-size: 27px;
    color: #000000;
    text-shadow: 3px 3px 10px #8d8781;
    font-weight: 200;
}


/*-----------------------------fffffffffffffffffffffffffffffffffff-*/
/*-----------------------------------------------------------------заявка*/
/* Контейнер */
.modal2 {

/* Слой перекрытия */
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;

/* Трансформации прозрачности при открытии  */
-webkit-transition: opacity 500ms ease-in;
-moz-transition: opacity 500ms ease-in;
transition: opacity 500ms ease-in;

/* Скрываем изначально */
opacity: 0;
pointer-events: none;
}

/* Показываем модальное окно */
.modal2:target {
opacity: 1;
pointer-events: auto;
}

/* Содержание */
.modal2 > div {
width: 300px;
background: #ffffff;
position: relative;
margin: 10% auto;

/* По умолчанию минимизируем анимацию */
-webkit-animation: minimise 500ms linear;

/* Придаем хороший вид */
padding: 30px;
-moz-border-radius: 7px;
border-radius: 7px;
-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
-moz-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
box-shadow: 0 3px 20px rgba(0,0,0,0.9);
text-shadow: 0 1px 0 #fff;
}

/* Изменяем анимацию при открытии модального окна*/
.modal2:target > div {
-webkit-animation-name: bounce;
}

.modal2 h2 {
font-size: 36px;
padding: 0 0 20px;
}

@-webkit-keyframes bounce {
  0% {
   -webkit-transform: scale3d(0.1,0.1,1);
   -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
   -webkit-transform: scale3d(1.08,1.08,1);
   -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
   -webkit-transform: scale3d(0.95,0.95,1);
   -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
   -webkit-transform: scale3d(1,1,1);
   -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-webkit-keyframes minimise {
  0% {
   -webkit-transform: scale3d(1,1,1);
  }
  100% {
   -webkit-transform: scale3d(0.1,0.1,1);
  }
}

/* Ссылка на кнопку Закрыть */
.modal2 a[href="#close"] {
position: absolute;
right: 0;
top: 0;
color: transparent;
}

/* Сбрасываем изменения */
.modal2 a[href="#close"]:focus {
outline: none;
}

/* Создаем кнопку Закрыть */
.modal2 a[href="#close"]:after {
content: 'X';
display: block;

/* Позиционируем */
position: absolute;
right: -10px;
top: -10px;
width: 20px;
padding: 1px 1px 1px 2px;

/* Стили */
text-decoration: none;
text-shadow: none;
text-align: center;
font-weight: bold;
background: #000;
color: #ffffff;
border: 3px solid #ffffff;
-moz-border-radius: 20px;
border-radius: 20px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal2 a[href="#close"]:focus:after,
.modal2 a[href="#close"]:hover:after {
-webkit-transform: scale(1.1,1.1);
-moz-transform: scale(1.1,1.1);
}

.modal2 a[href="#close"]:focus:after {
outline: 0px solid #000;
}

/* Открываем модальное окно */
a.openModal {

}

a.openModal:hover,
a.openModal:focus {
}

.modal2 .modal_title {
  display: block;
  text-align: center;
  font-size: 22pt;
}
  

/*-----------------------------------------------------------------заявка*/
.modal2 {
    background-color: rgb(67 66 66 / 66%);
}

.modal2 h3 {
    font-size: 27px;
    color: #000000;
    text-shadow: 3px 3px 10px #8d8781;
    font-weight: 200;
}








.m1-form input {
    margin: 10px auto;
    font-size: 23px;
}

.m1-form button {
    font-size: 18px;
    color: white;
    background-color: #ffa330;
    border: solid 1px #ccc;
    border-radius: 6px;
    padding: 10px;
    cursor: hand;
}
.m1-form button:hover {
    font-size: 18px;
    color: white;
    background-color: #fdc23c;;
    border: solid 1px #ccc;
    border-radius: 6px;
    padding: 10px;
    cursor: hand;
}

.button  {
    font-size: 20px;
    text-decoration: underline;
}


@media screen and (max-width: 942px){
#nav {
margin: 0 auto;
}
.slide-text {
    top: 2em;
    left: 3em;
	font-size: x-large;
}
}
@media screen and (max-width: 526px){
	.callback {
		min-width:30px;
	}
	.obz {
		display: none;
	}
}


@media screen and (max-width: 520px){
#nav {
font-size: 15px;
}

}

@media screen and (max-width: 500px){
#main {
width: 100%;
}	
.content p {
	max-width: 100%;
}
.content img {
	max-width: 100%;
}
.slide-text {
position: absolute;
top: 0em;
left: 0em;
padding: 10px;
font-size: large;
}
#nav { 	
	display: none;
}
#nav-mobile {
	text-align: center;
	position: relative;
	top: 0px;
	display: none;
	width: 100%;
	background: rgb(50,50,50, 0.9);
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: solid 1px gray;
}
#nav-mobile ul {
	text-align: center;
	line-height: 50px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#nav-mobile li {
	height: 50px;
	width: 100%;
	background-color: rgb(100,100,100, 0.8);
	border-bottom: solid 1px gray;
}
#nav-mobile li:hover {
	background-color: rgb(100,100,100, 0.8);
}

.phones {
min-width: 30px;
max-width: 30px;
padding-left: 0;
}
.mphone {
	margin-top:4px;
}
.callback {
border: 0;
background: none;
margin: 14px 0 0 0px;
}

.tels {
display:none;
}
.ham {
display: block;
padding: 15px 5px 0 0;
}

.slide-text {
    top: 1em;
    left: 1em;
	font-size: large;}
/*---------------------------------------------------*/

/*---------------------------------------------------*/



}




