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: 180%;
	/*padding-top: 20px;*/
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
}

@media screen and (max-width: 1170px) {
  h1 {
	font-size: 160%;
	font-weight: 700;
	font-family: 'Roboto Condensed', sans-serif;
  }
}

h2 {
	font-size: 140%;
	padding-bottom: 10px;
}

h3 {
	font-weight: 500;
	font-size: 100%;
	padding-bottom: 5px;
}

@media screen and (max-width: 700px) {
  h2 {
	font-size: 120%;
	font-family: 'Roboto Condensed', sans-serif;
  }
}

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

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

b {
	font-weight: 500;
}

.menu {
  text-align:center;
	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);*/
	margin-left: 15px;
	color: #474747;
}

.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.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;  
}

.rub_index { 
	line-height: 4px;
	width: 0.4em;
	border-bottom: 1px solid;
	display: inline-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: 75px;
    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;
  }
  
}

.header {
	background-image: url(../images/background_header.jpg);
	padding: 20px 60px;
	margin-bottom: 25px;	
}

.logo a {
	border-bottom: none;
}

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

.logo img {
	width: 130px;
}

.call {
	text-align: right;
	font-size: 80%;
}

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

.wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.content {
	display: flex;
	flex: 1 0 auto;
	max-width: 1280px;
	margin: 0 auto;
	font-weight: 400;
	justify-content: space-between;

}

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

.container {
	padding: 0 60px;
	font-weight: 300;
    font-size: 110%;
	padding-bottom: 20px;
}


.footer {
	flex: 0 0 auto;
	background-image: url(../images/background_slide_1.jpg);
	padding: 20px 60px;
	margin-top: 20px;
}

.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;
  }
}

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

.menu__other {
	padding-bottom: 25px;
	font-weight: 400;
	font-size: 80%;

}

.menu__other li {
	display:inline-block;
}


.menu__other-item {
	margin-right: 25px;
	line-height: 2;
}
.menu__other-item-active {
	margin-right: 25px;
	line-height: 1.8;
	background: #479dff;
	padding: 0 8px;
	color: #fff;
	border-radius: 4px;
}

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

.dotted {
	border-bottom: 1px dashed #6394ca;
}

.dotted:hover {
	border-bottom: 1px dashed #a9d2ff;
}

.menu__other-active {
	color: #fff;
	margin-right: 15px;
	background: #0063d2;
	border-radius: 5px;
	padding: 5px 10px;
}

.list__style-doc {
	list-style-image: url("../images/down.png");
	list-style-position: inside;
	line-height: 1.8em;
	margin-bottom: 25px;
}

.table__auto {
	color:#333333;
	width:100%;
	border-width: 1px;
	border-color: #eee;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.table__auto th {background-color: #479dff;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #d2d2d2;
	text-align:left;
	font-weight: 500;
}
.table__auto tr {
	background-color:#fff;
}
.table__auto td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #d2d2d2;
}
.table__auto tr:hover {
	background-color:#fff2e5;
}

.title__h2 {
	margin-bottom: 20px;
	border: solid 1px #c0c0c0;
	border-radius: 4px;
	font-family: 'Roboto Condensed', sans-serif;
	color: #ff7e00;
	border: solid 1px #ff7e00;
	line-height: 1.4;
	width: max-content;
	background-repeat: no-repeat;
	background-position: 10px 50%;
}

.title__h2-class {
	padding: 0 10px 0 48px;
	background-image: url('../images/class.png');
}

.title__h2-auto {
	padding: 0 10px 0 48px;
	background-image: url('../images/auto.png');
}

.title__h2-rul {
	padding: 0 10px 0 42px;
	background-image: url('../images/rul.png');
}

.title__h2-moto {
	padding: 0 10px 0 45px;
	background-image: url('../images/moto.png');
}

.autopark__list {
	display: flex;
	justify-content: flex-start;
	flex-flow: row wrap;
}

.autopark__list-block {
	margin-right: 20px;

}

.autopark__list-block p img {
	height: 200px;
	padding: 10px;
	box-shadow: -1px 0px 14px 1px #e0e0e0;
	margin-top: 3px;
}

.autoschool__page {
	display: flex;
	justify-content: flex-start;
	flex-flow: row wrap;
}

.autoschool__page-block {
	display: flex;
	margin-right: 30px;
}

.autoschool__page-block img {
	padding: 10px;
	box-shadow: -1px 0px 14px 1px #e0e0e0;
	margin: 3px 20px 30px 0;
	height: 300px;
}

.autoschool__page-block a {
	border-bottom: none !important;
}

.autopark__list-block a {
	border-bottom: none !important;
}

.autoschool__page-block p {
	width: 300px;
	font-size: 90%;
}

.autoschool__page-block span {
	font-weight: 600;
	display: inline-block;
	margin-bottom: 10px;
}

.autoschool__page-block p>img {
	height: 15px;
}

.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;
}

/*Модальное окно*/
#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;}

@media screen and (max-width: 700px) {
  .autoschool__page {
	width: 100;
	}
	.autoschool__page-block p {
		width: 300px !important;
	}	
}

@media screen and (max-width: 1280px) {
	.autoschool__page-block p {
		width: 100%;
	}
	.autoschool__page-block img {
		height: 250px;
	}
	.autopark__list-block p img {
		height: 300px;
	}
}

.autoschool__page-block-icon img {
	height: 15px;
	padding: 0;
	box-shadow: 0px 0px 0px 0px #e0e0e0;
	margin: 0;
}

.about__category {
	padding: 20px;
}

.table-wrap {
	text-align: center;
	display: inline-block;
	background-color: #fff;
	padding-top: 14px;
	color: #000;
}

table {
	border: 1px solid #ccc;
	width: 100%;
	margin:0;
	padding:0;
	border-collapse: collapse;
	border-spacing: 0;
}

table tr {
	border: 1px solid #ddd;
	padding: 5px;
}

table th, table td {
	padding: 10px;
	/*text-align: center;*/
	border-right: 1px solid #ddd;
}

table th {
	color: #fff;
	background-color: #479dff;
	letter-spacing: 1px;
	text-align: center;
	font-weight: 500;
}


@media screen and (max-width: 600px) {
table {
	border: 0;
}
table thead {
	display: none;
}
table tr {
	margin-bottom: 10px;
	display: block;
	border-bottom: 2px solid #ddd;
}
table td {
	display: block;
	text-align: right;
	font-size: 13px;
	border-bottom: 1px dotted #ccc;
	border-right: 1px solid transparent;
}
table td:last-child {
	border-bottom: 0;
}
table td:before {
	content: attr(data-label);
	float: left;
	text-transform: uppercase;
	font-weight: bold;
}
}

