* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
}

*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

a:active {
	color: inherit;
}

html {
	height: 100%;
	width: 100%;
}

body {
  height: auto;
  background-color: #fff;
  padding: 8px 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 12px;
	margin: 0 10px;
}

.cookies_wrp {
	width: 50%;
	height: auto;
	position: fixed;
	bottom: 0;
	right: 0;
	background-color: #FBF3E1;
	padding: 22px;
	z-index: 999;
}

.cookies_ttl {
	font-size: 20px;
	text-align: left;
	margin-bottom: 16px;
}

.cookies_txt {
	font-size: 14px;
	text-align: left;
	margin-bottom: 20px;
}

.cookies_btn {
	display: inline-block;
	border-radius: 2px;
	color: #fff;
	background-color: #FF6600;
	font-size: 14px;
	padding: 8px 16px;
	margin-bottom: 4px;
	cursor: pointer;
}

.change_btn {
	color: #111;
	background-color: #eaeaea;
}

header, .wrapper {
  max-width: 1010px;
  min-width: 305px;
}

header {
  height: auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  margin: 18px auto;
}

.head_wpr {
  height: auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.head_wpr_1 {
  margin-right: 5px;
  gap: 7px 17px;
}

.head_wpr_2 {
  margin-right: 25px;
  justify-content: flex-end !important;
  gap: 7px 27px;
}

.logo {
  width: 199px;
  height: 34px;
  display: block;
  background: url("../img/bazos.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
	resize: none;
}

.head_simp_a, .head_btn_a {
  display: block;
  color: #000;
}

.head_simp_a:hover, .head_btn_a:hover {
  color: #CC3333;
  text-decoration: underline;
}

.head_btn_a {
  background-color: #FFD9BF;
  border: 1px solid #E4C2AB;
  padding: 5px;
  border-radius: 3px;
}

.wrapper {
  height: auto;
  margin: 24px auto 16px;
  display: flex;
  flex-flow: column nowrap;
}

.search_form {
  width: 100%;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  background-color: #FF6600;
  border: 1px solid #BF4C00;
  border-radius: 3px;
  padding: 4px 10px 4px 1px;
	row-gap: 4px;
}

.form_stn {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.form_stn input {
  border-radius: 3px;
  border: 1px solid #393939;
  padding: 3px;
  color: #000000;
}

.form_stn b {
  color: #fff;
  margin: 0 9px;
}

.price_stn_b_1 { margin: 0 !important; }
.price_stn_b_3 { margin-right: 0 !important; }

.what_ipt {
  width: 156px;
  height: 23px;
}

.search_form select {
  border-radius: 3px;
  border: 1px solid #393939;
  padding: 3px;
  margin-left: 10px;
  color: #000000;
}

.location_ipt {
  width: 65px;
  height: 23px;
}

.zone_ipt {
  width: 33px;
  height: 23px;
}

.price_ipt {
  width: 72px;
  height: 23px;
}

.form_btn {
  width: 55px;
  height: 23px;
  border-radius: 3px;
  border: 1px solid #393939;
  padding: 3px;
  color: #000000;
  background-color: #dddddd;
}

.categories_wpr {
	width: auto;
  height: auto;
	position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
	margin-top: 18px;
}

.category_wpr {
	width: 250px;
	height: 140px;
	display: flex;
	flex-flow: column nowrap;
	align-content: flex-start;
	align-items: center;
	border-right: 1px dashed #dddddd;
	padding: 7px 0 0;
}

.category_wpr:nth-child(4n) { border-right: none; }

.category_ttl {
	font-size: 14px;
  color: #000000;
	line-height: 20px;
}

.category_ttl:hover { text-decoration: underline; }

.category_wpr p a { color: #000000; }

.category_wpr p a:hover {
	color: #CC3333;
  text-decoration: underline;
}

.category_img {
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-top: 11px;
}

.pets_img {
	width: 54px;;
	height: 60px;
	background-image: url("../img/pets.svg");
}

.kids_img {
	width: 60px;
	height: 60px;
	background-image: url("../img/kids.svg");
}

.realty_img {
	width: 65px;
	height: 60px;
	background-image: url("../img/realty.svg");
}

.office_img {
	width: 65px;
	height: 46px;
	background-image: url("../img/office.svg");
}

.car_img {
	width: 65px;
	height: 44px;
	background-image: url("../img/car.svg");
}

.moto_img {
	width: 65px;
	height: 34px;
	background-image: url("../img/moto.svg");
}

.parts_img {
	width: 65px;
	height: 47px;
	background-image: url("../img/parts.svg");
}

.garden_img {
	width: 65px;
	height: 54px;
	background-image: url("../img/garden.svg");
}

.pc_img {
	width: 65px;
	height: 60px;
	background-image: url("../img/pc.svg");
}

.mobiles_img {
	width: 46px;
	height: 60px;
	background-image: url("../img/mobiles.svg");
}

.camera_img {
	width: 65px;
	height: 46px;
	background-image: url("../img/camera.svg");
}

.electronics_img {
	width: 43px;
	height: 59px;
	background-image: url("../img/electronics.svg");
}

.sport_img {
	width: 65px;
	height: 40px;
	background-image: url("../img/sport.svg");
}

.music_img {
	width: 65px;
	height: 56px;
	background-image: url("../img/music.svg");
}

.tickets_img {
	width: 65px;
	height: 55px;
	background-image: url("../img/tickets.svg");
}

.books_img {
	width: 43px;
	height: 60px;
	background-image: url("../img/books.svg");
}

.home_img {
	width: 65px;
	height: 60px;
	background-image: url("../img/home.svg");
}

.clothes_img {
	width: 53px;
	height: 60px;
	background-image: url("../img/clothes.svg");
}

.work_img {
	width: 40px;
	height: 60px;
	background-image: url("../img/work.svg");
}

.other_img {
	width: 44px;
	height: 60px;
	background-image: url("../img/other.svg");
}

footer {
	width: calc(100% - 20px);
	height: auto;
	margin: 0 -3px;
}

footer a { color: #000; }

footer a:hover {
  color: #CC3333;
  text-decoration: underline;
}



@media (max-width: 1040px) {
	.search_form { padding: 4px 10px; }
}

@media (max-width: 1034px) {
	.category_wpr:nth-child(4n) { border-right: 1px dashed #dddddd; }
  .category_wpr:nth-child(3n), .category_wpr:last-child { border-right: none; }
}

@media (max-width: 802px) {
	.head_wpr { flex-flow: column nowrap; }
	.head_wpr_1 { align-items: flex-start; }
	.head_wpr_2 {
		margin-right: 0;
		align-items: flex-end;
	}
}

@media (max-width: 784px) {
	.category_wpr:nth-child(3n) { border-right: 1px dashed #dddddd; }
  .category_wpr:nth-child(2n) { border-right: none; }
}

@media (max-width: 634px) {
	.cookies_wrp { width: 86%; }
}

@media (max-width: 534px) {
	.logo { width: 180px; }
	.price_stn_b_3 { margin-left: 4px !important; }
  .category_wpr { border-right: none !important; }
}

@media (max-width: 420px) {
	body { margin: 0 5px; }
}
