.clearfix:before,
.clearfix:after {
    content:"";
    display: table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}
::-webkit-input-placeholder {color:#473F46; opacity:1;}
::-moz-placeholder          {color:#473F46; opacity:1;}
:-moz-placeholder           {color:#473F46; opacity:1;}
:-ms-input-placeholder      {color:#473F46; opacity:1;}
ul, li{
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.container{
	max-width: 1160px;
	height: 100%;
	margin: 0 auto;
}
button, input, select{
	outline: none;
}
h1{
	font-size: 54px;
	font-weight: 900;
	color: #383838;
	margin: 0;
	margin-top: 172px;
}
input[type=text]{
	border: 1px solid #edeef4;
	border-left: 1px solid #e3e5eb;
	border-top: 1px solid #e3e5eb;
	border-radius: 3px;
	background: #edeef4;
	height: 40px;
	padding: 5px 10px;
	font-size: 16px;
	font-weight: 300;
	color: #454545;
}
select{
	border: 1px solid #dbdde9;
	border-radius: 3px;
	height: 40px;
	padding: 5px 10px;
	font-size: 14px;
	font-weight: 300;
	color: #454545;
}
a{
	color: #151515;
	text-decoration: none;
	margin: 0;
	margin-bottom: 14px;
	font-size: 16px;
	font-weight: 300;
}
a:hover{
	color: #005085;
}
input[type=submit]{
	border-radius: 3px;
	border: none;
	color: #fff;
	background: #005085;
	cursor: pointer;
	max-width: 188px;
	width: 100%;
	height: 42px;
}
a.button{
	border-radius: 3px;
	border: none;
	color: #fff;
	background: #005085;
	cursor: pointer;
	max-width: 188px;
	width: 100%;
	height: 42px;
    line-height: 42px;
    text-align: center;
}
a.button:hover{
	color: #fff;
}
p.block__title{
	color: #005085;
	font-size: 16px;
	font-weight: 700;
	margin: 0;
	margin-bottom: 22px;
}
.ui-widget.ui-widget-content{
	font-size: 14px;
}
/*Main Block*/
.main{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin-top: 42px;
	margin-bottom: 170px;
}
.main .main__block{
	max-width: 829px;
	width: 100%;
	min-height: 40px;
	background: #fff;
	padding: 36px;
	position: relative;
	box-shadow:1px 1px 51px 10px rgba(29,53,100,0.1);
	-webkit-box-shadow:1px 1px 51px 10px rgba(29,53,100,0.1);
	-moz-box-shadow:1px 1px 51px 10px rgba(29,53,100,0.1);
}

/*First Stage*/
.avto__mark-my label{
	color: #005085;
	font-size: 16px;
	font-weight: 700;
	display: block;
	margin-bottom: 24px;
}
.avto__mark-my input{
	max-width: 378px;
	width: 100%;
	display: inline-block;
}
.search__button{
	margin-left: 20px;
	margin-top: 0.7em;
	position: absolute;
}
.search__button img{
	width: 18px;
	height: 18px;
}
.avto__mark-my__items{
	margin-top: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	max-height: 200px;
	height: 120px;
	width: 100%;
}
.avto__mark-my__items a{
	cursor: pointer;
}
.avto__model{
	margin-top: 48px;
}
.avto__model label{
	color: #005085;
	font-size: 16px;
	font-weight: 700;
	display: block;
	margin-bottom: 24px;
}
.avto__model input{
	max-width: 378px;
	width: 100%;
	display: inline-block;
}
.avto__model__items{
	margin-top: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	max-height: 160px;
	height: 80px;
	width: 100%;
}
.avto__model__items a{
	cursor: pointer;
}
.spec__container{
	max-width: 360px;
	margin-top: 54px;
}
.spec__item{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 24px;
}
.spec__item label{
	color: #005085;
	font-size: 16px;
	font-weight: 700;
}
.spec__item select{
	max-width: 200px;
	width: 100%;
}
.spec__item input{
	max-width: 200px;
}
.spec__item__color{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 33px;
}
.spec__item__color p{
	font-size: 16px;
	font-weight: 700;
	color: #005085;
	margin: 0;
}
.spec__item__colors{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	margin-left: 67px;
}
.spec__item__colors input[type=radio]{
	display: none;
	opacity: 0; 
	z-index: -1;
}
.spec__item__colors label{
	width: 32px;
	height: 32px;
	background: #000;
	border-radius: 3px;
	border: 1px solid #e1e1e1;
	cursor: pointer;
	margin-right: 4px;
}
.spec__item__colors input[type=radio]:checked + label{
	box-shadow:1px 1px 4px 0px rgba(0,33,74,0.35);
	-webkit-box-shadow:1px 1px 4px 0px rgba(0,33,74,0.35);
	-moz-box-shadow:1px 1px 4px 0px rgba(0,33,74,0.35);
}
.button__cont{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-top: 50px;
}
/*Second Stage*/
.nameofcar{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.nameofcar p{
	font-size: 24px;
	font-weight: 700;
	color: #005085;
	margin-right: 5px;
    margin-top: 0;
    margin-bottom: 15px;
}
form .photos{
	margin-top: 48px;
}
form .photos .photos__block{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
form .photos .photos__block img{
	border-radius: 3px;
	margin: 0;
	margin-right: 20px;
	width: 120px;
}
.thumb {
    height: 120px;
    border-radius: 3px;
    margin: 0;
    margin-right: 20px;
  }
form .photos .photos__block label{
	border-radius: 3px;
	background: #f5f6f9 url(../img/add_photo.svg) no-repeat;
	background-position: center;
	background-size: 40px;
	width: 120px;
	height: 120px;
	margin: 0;
	border-radius: 3px;
	text-align: center;
	color: #908686;
	font-size: 13px;
	font-weight: 500;
	padding: 80px 20px 0 20px;
	cursor: pointer;
}
form .photos .photos__block input[type=file]{
	opacity: 0; 
	z-index: -1;
}
form .video{
	margin-top: 36px;
}
form .description{
	font-weight: 300;
	font-size: 14px;
	color: #454545;
	line-height: 1.5em;
	max-width: 498px;
}
.video__link__block{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: 35px;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	max-width: 530px;
	width: 100%;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.video__link__block label{
	font-weight: 700;
	font-size: 14px;
	color: #005085;
}
.video__link__block input{
	background: #fff;
	margin-left: 20px;
	width: 74%;
}
/*Third Stage*/
.main__block__third__stage .block__title{
	margin-top: 55px;
}
.main__block__first__stage__form textarea{
	width: 100%;
	height: 314px;
	outline: none;
	border-radius: 3px;
	background: #edeef4;
	border: 1px solid #edeef4;
	border-top: 1px solid #e3e5eb;
	border-left: 1px solid #e3e5eb;
	resize: none;
	font-size: 14px;
	font-weight: 300;
	padding: 10px;

}
/*Main Stages*/
.main .main__stages{
	max-width: 290px;
	background: #fff;
	width: 100%;
	min-height: 40px;
	padding-top: 76px;
}
.main__stages__form__item{
	margin-left: 42px;
}
.main__stages__form__item input[type=radio] {
    display: none; 
}
.main__stages__form__item label{
	color: #c5c5c5;
    font-size: 24px;
    font-weight: 900;
}
.main__stages__form__item input[type=radio]:checked + label{
	color: #005085;
}
.main__stages__form__item label.stage__ok{
	color: #7fa8c3;
}
.main__stages__form__item p{
	margin-top: 10px;
	margin-bottom: 22px;
	color: #454545;
	font-size: 14px;
}
.main__stages .main__stages__ads{
	background:#ebebeb;
	height: 344px;
	width: 100%;
}
@media all and (max-width: 1160px){
	.container{
		margin-left: 20px;
		margin-right: 20px;
	}
}
@media all and (max-width: 992px){
	.main{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.main__block{
		max-width: 100% !important;
	}
	.main__stages__form__item{
		display: inline-block;
	}
	.main .main__stages{
		max-width: 100% !important;
		padding-top: 20px;
	}
	h1{
		font-size: 40px;
	}
	.spec__item__colors {
		display: block;
	}
	.spec__item__colors label {
		display: inline-block !important;
	}
}
@media all and (max-width: 754px){
	h1{
		margin-top: 40px;
	}
}
@media all and (max-width: 668px){
	form .photos .photos__block img{
		margin-bottom: 20px;
	}
}
@media all and (max-width: 645px){
	.avto__mark-my__items, .avto__model__items{
		-ms-flex-flow: wrap;
		    flex-flow: wrap;
		max-height: 100%;
		display: none;
	}
	.avto__mark-my__items a, .avto__model__items a{
		margin-right: 20px;
	}
	.nameofcar p{
		font-size: 16px;
	}
	.main .main__block{
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media all and (max-width: 541px){
	.avto__mark-my input, .avto__model input{
		width: 200px;
	}
	h1{
		font-size: 30px;
	}
	.main__stages__form__item{
		margin-left: 0;
		margin-right: 20px;
	}
}
@media all and (max-width: 480px){
	.spec__item, .spec__item__color{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: start;
		    -ms-flex-align: start;
		        align-items: flex-start;
	}
	.spec__item label, .spec__item__color p{
		margin-bottom: 10px;
	}
	.spec__item__colors{
		margin-left: 0;
	}
}
@media all and (max-width: 420px){
	form .photos .photos__block img{
		width: 40%;
		height: auto;
	}
	form .photos .photos__block a{
		width: 100%;
    	height: 73px;
    	padding-top: 54px;
	}
}
@media all and (max-width: 368px){
	.avto__mark-my input, .avto__model input{
		width: 150px;
	}
	form .photos .photos__block img{
		margin-bottom: 10px;
		margin-right: 10px;
	}
	.nameofcar p{
		font-size: 14px;
		line-height: 10px;
	}
	.container{
		margin-left: 5px;
		margin-right: 5px;
	}
	.main__stages__form{
		padding-left: 5px;
	}
}