body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
ol,ul {
    list-style: none;
}
caption,th {
    text-align: left;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}

html,body {
	width: 100%;
	height: 100%;
	font-size: 110%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-family: 'Roboto', sans-serif;
}

a {
	text-decoration: none;
	color: #0063d2;
	border-bottom: 1px solid #6394ca;
}

a:hover {
	text-decoration: none;
	color: #479dff;
	border-bottom: 1px solid #a9d2ff;
}

a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

p {
	padding-bottom: 20px;
	line-height: 1.4;
}

h1 {
	font-size: 220%;
	font-weight: 500;
}

@media screen and (max-width: 1170px) {
  h1 {
	font-size: 160%;
	font-weight: 900;
  }
}

h2 {
	font-size: 180%;
	font-family: 'Roboto Condensed', sans-serif;
}

@media screen and (max-width: 700px) {
  h2 {
	font-size: 130%;
  }
}

img {
	width: 100%;
	height: auto;
}

hr {
	background-image: url('../assets/templates/sernurauto/images/hr.png');
	border: none;
	height: 9px;
}

.menu {
    text-align:center;
	width: 60%;
	padding-top: 10px;
}

@media screen and (max-width: 700px) {
  .menu {
	width: 15%;
  }
}

.menu__icon {
   display: none;
   width: 45px;
   height: 35px;
   position: relative;
   cursor: pointer;
}

.menu__icon span {
  display: block;
  position: absolute;
  height: 9px;
  width: 100%;
  background: #333333;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu__icon span:nth-child(1) {
  top: 0px;
}

.menu__icon span:nth-child(2), .menu__icon span:nth-child(3) {
  top: 13px;
}

.menu__icon span:nth-child(4) {
  top: 26px;
 }

 .menu__links-item a {
	text-align: center;
	padding-top: 1%;
	font-size: 100%;
	font-weight: 500;
	color: #000;
	margin-left: 15px;
	border-bottom: 1px solid #b0b0b0;
}

.menu__links li {
	display:inline-block;
}


.menu__links-item a:hover {
	color: #e57d00;
	border-bottom: 1px solid #d9b284;
}

.menu__links-active {
	background-image: linear-gradient(148deg,#ffde00,#ff9d27);
	padding: 3px 5px;
    border-radius: 5px;
	
}	

.menu.menu_state_open .menu__icon span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.menu.menu_state_open .menu__icon span:nth-child(2) {
  transform: rotate(45deg);
}

.menu.menu_state_open  .menu__icon span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu.menu_state_open  .menu__icon span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.menu.menu_state_open .menu__links {
  display: block;  
}

@media screen and (max-width: 1170px) {
  .menu__icon{
    display: inline-block;
  }
  
  .menu__links {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    left: 0;
    margin-top: 72px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    overflow: auto;
  }
  
  .menu__links-item {
    /*display: block;*/
    padding: 10px 0;
    text-align: center;
    color: #ffffff;
  }
}


.rub_index { 
	line-height: 12px;
	width: 0.4em;
	border-bottom: 3px solid; 
	display: inline-block;
}

.header_index {
	background: url('../images/background_header.jpg') no-repeat center top;
	padding-top: 20px;
	width: 100%;
	position: relative;
	/*padding-bottom: 580px;*/
	height: 975px;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	font-weight: 400;
	padding: 0 60px;
}

.header_top {
	display: flex;
	width: 100%;
	padding-bottom: 80px;
	justify-content: space-between;
}

.logo {

}

@media screen and (max-width: 1170px) {
  .logo {

  }
}

.logo img {
	width: 130px;
}

.menu_top {
	width: 65%;
	text-align: center;
	padding-top: 1%;
	font-size: 100%;
	font-weight: 500;
}

.menu_top li{
	display:inline-block;
	position:relative;
	padding-right: 30px;
	color: #000;
}

.menu_top li a{
	color: #000;
	border-bottom: 1px solid #a4a4a4;
}

.menu_top li a:hover{
	color: #e57d00;
	border-bottom: 1px solid #d9b284;
	
}

.call {

	text-align: right;
	font-size: 80%;
}

@media screen and (max-width: 700px) {
  .call {

  }
}

.header_center {
	text-align: center;
	/*font-weight: 500;*/
	margin: 0 auto;
}

.btn {
	color: #000;
	padding: 15px 30px;
	display: block;
    width: 50%;
	height: auto;
	width: max-content;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	position: relative;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
	border-radius: 5px;
	font-size: 140%;
	background-color: #ffde00;
    background-image: linear-gradient(148deg,#ffde00,#ff9d27);
    box-shadow: 0 5px 27px 0 rgba(255,222,0,.40), 0 25px 50px 0 rgba(229,125,0,.25);
}

.btn:hover {
    background-image: linear-gradient(148deg,#ff9d27,#ffde00);
    box-shadow: 0 5px 27px 0 rgba(229,125,0,.25), 0 25px 50px 0 rgba(255,222,0,.40);
	transition: all 0.5s ease;	
}

.btn a {
	border-bottom: none;
	color: #000;
}

.center {
	text-align: center;
	margin: 0 auto;
}

.slide_1 {
	background-image: url('../images/background_slide_1.jpg');
}

.slide_1 p {
	margin-top: 50px;
}

.slide_1_name {
	padding-top: 40px;
}

.slide_2 {
	padding: 20px 0;
	background: #fff;
}

.advantages {
	display: flex;
	margin: 20px 0;
}

.advantages_block {
	width: 20%;
	padding: 0 10px;
}

.advantages-list {
    list-style: none;
	padding-top: 20px;
}

.advantages-list li {
    display: inline-block;
    vertical-align: top;
    width: 234px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	padding: 0 20px;
}

.advantages-list p {
	padding-top: 10px;
}

@media screen and (max-width: 1330px) {
.advantages-list li {
	width: 204px;
  }
}

.slide_3 {
	padding: 40px 0;
	color: #fff;
	background-image: url('../images/background_slide_3.jpg');
}

.slide_4 {
	padding: 40px 0;
	background: #fff;
}

.footer {
	background-image: url(../images/background_slide_1.jpg);
}


.footer_top {
	display: flex;
	width: 100%;
	padding: 20px 0;
}

@media screen and (max-width: 1170px) {
  .footer_top {
	font-size: 90%;
  }
}

.copyright {
	width: 55%;
	text-align: right;
}

.made {
	width: 45%;
	text-align: left;
}

.jacks {
	position: relative;
    padding-left: 115px;
    line-height: 1.5;
    margin-left: -60px;
}

.jacks img {
    width: 42px;
    position: absolute;
    left: 62;
    top: 10Px;
    margin-right: 15px;
}

@media screen and (max-width: 700px) {
  .jacks img {
	top: 6px;
  }
}


.about_index {
	text-align: left;
}

.about_index a {
	border: solid 1px;
    border-radius: 4px;
    padding: 10px;
}

.fa, .fas {
    font-size: 240%;
	color: #51970E;
}

.header {
	background: url('../images/background_header.jpg') no-repeat center top;
	padding-top: 25px;
	width: 100%;
	height: 100px;
	position: relative;
	/*padding-bottom: 580px;*/
}

/*Модальное окно*/
#modal_form {
    padding: 29px 20px;
    background-color: #FFF;
    height: 330px;
    background: #fff;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -165px;
    margin-left: -225px;
    display: none;
    opacity: 0;
    z-index: 5;
    border-radius: 15px;
}

#overlay{z-index:3;position:fixed;background-color:#000;opacity:0.8;-moz-opacity:0.8;filter:alpha(opacity=80);width:100%;height:100%;top:0;left:0;cursor:pointer;display:none;}

#modal_form input[type="text"]{
	background-color: #fff;
    border: 1px solid #DFDFDF;
    border-radius: 6px;
    color: #555;
    display: block;
    font-size: 80%;
    height: 35px;
    padding: 5px;
    margin-bottom: 17px;
    width: 95%;
	float: left;
	padding-left: 8px;
}
#modal_form input[type="text"].error{border:1px solid red;}
#modal_form h3{
	text-align: center;
    font-size: 120%;
    text-transform: uppercase;
    color: #000;
    margin: 0;
	font-weight: bold;
}

#modal_form .comment{color:#272727;padding-bottom:15px;font-size:14px;text-align:center;padding-top:10px;}
.exit{   
	background: #d0d0d0;
    display: block !important;
    border-radius: 50%;
    right: -30px;
    top: -25px;
    position: absolute;
    opacity: 1;
    width: 33px;
    height: 33px;
    line-height: 30px;
    font-size: 36px;
    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
	transition: background 0.2s linear;
}
.exit:after{
	display: block;
    font-size: 23px;
    content: "x";
    padding-left: 11px;
    line-height: 28px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    color: #000000;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.exit:hover{background:#EAEAEA;text-decoration:none;}
#modal_form .button{
	color: #000;
	padding: 15px 30px;
	display: block;
    width: 50%;
	height: auto;
	width: max-content;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	position: relative;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
	font-size: 140%;
	background-color: #ffde00;
    background-image: linear-gradient(148deg,#ffde00,#ff9d27);
	box-shadow: 0 5px 27px 0 rgba(255,222,0,.40), 0 25px 50px 0 rgba(229,125,0,.25);
}

#modal_form .button:hover{   background-image: linear-gradient(148deg,#ff9d27,#ffde00);
    box-shadow: 0 5px 27px 0 rgba(229,125,0,.25), 0 25px 50px 0 rgba(255,222,0,.40);
	transition: all 0.5s ease;	}
#modal_form .error{border:1px solid red;}