* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 1.2;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 1400px;
  min-width: 320px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background-color: #FCFCFC;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #030001;
  margin: 0 auto;
}

footer,
header,
nav,
section {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

ul {
  padding-left: 20px;
}

p {
	margin-bottom: 10px;
	
}

a {
  color: #030001;
  text-decoration: none;
  transition: all 0.5s linear;
}

a:hover {
  color: #ff9d46;
}

#header {
  width: 100%;
  min-height: 550px;
  background-image: url(/images/main-img.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#header-wrapper {
  width: 100%;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 110;
  padding: 15px;
  color: #FCFCFC;
  background-color: #444240;
}

#nav-container ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

#nav-container ul a {
  color: #FCFCFC;
  text-decoration: none;
  padding: 5px 15px;
}

#lang-container {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #444240;
  position: absolute;
  top: 100%;
  right: 0;
  padding: 5px;
  border-radius: 3px;
}

#lang-container a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#lang-container a,
#lang .lang-button {
  color: #FCFCFC;
  text-decoration: none;
  padding: 5px;
}

#lang .lang-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
}

#lang .lang-button img,
#lang-container img {
  display: inline-block;
  margin-right: 5px;
}

#lang-container .cur_ {
  color: #ff9d46;
}

#content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 15px;
}

#items {
  max-width: 1290px;
  padding: 30px 15px;
  margin: 0 auto;
}

#items h2 {
  text-align: center;
}

#items .pager {
  width: 100%;
  display: flex;
  justify-content: center;
}

#items .pager > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 5px; 
  background-color: rgba(68, 66, 64, 0.1);
  margin-right: 5px;
  margin-left: 5px;
  border-radius: 5px;
}

#items .pager .cur_ {
  color: #ff9d46;
}

#items .pager:first-child {
  margin-bottom: 15px;
}

#items .pager:last-child {
  margin-top: 30px;
}

.ad-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.ad.group {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  background-color: rgba(68, 66, 64, 0.1);
  margin: 15px 7.5px 0;
}

.ad.group:hover {
  color: inherit;
  transform: scale(1.05);
}

.ad .ad-preview {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  overflow: hidden;
}

.ad .ad-preview.no-img {
  background-image: url(/images/no-image.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ad .ad-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad .ad-content {
  padding-top: 15px;
}

.ad .ad-content .ad-title {
  font-weight: 600;
  text-align: center;
}

.ad .ad-content .ad-cat {
  text-align: center;
  margin: 5px 0 15px;
}

.ad .ad-content .ad-price {
  font-weight: 600;
  color: #ff9d46;
  text-align: center;
}

#item-content {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 30px 15px;
}

#item-slider {
  width: 50%;
  padding-right: 30px;
}

#item-content.no-img #item-slider {
  height: auto;
  background-image: url(/images/no-image.svg);
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

#item-slider .lightSlider,
#item-slider .lightSlider ul,
#item-slider .lightSlider li {
  width: 100%;
  height: 100% !important;
}

#item-slider img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
}

#item-description h1,
#item-description h2 {
  margin-bottom: 15px;
}

#item-description p:not(:last-child) {
  margin-bottom: 5px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 30px;
}

#contact-form h2 {
  text-align: center;
  margin-bottom: 15px;
}

#search-tools {
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px;
  background-color: rgba(3, 0, 1, 0.2);
}

#search-tools form,
#contact-form form {
  width: 389px;
  margin: 0 auto;
  padding-bottom: 0;
}

#search-tools .submit-field {
  align-items: center;
}

#search-tools .submit-field,
#contact-form .contact-field {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#search-tools .search-field:not(:last-child),
#contact-form .contact-field:not(:last-child) {
  margin-bottom: 15px;
}

#search-tools .search-field label,
#contact-form .contact-field label {
  display: block;
  margin-bottom: 5px;
}

#search-tools .search-field input,
#search-tools .search-field-inputs input,
#contact-form .contact-field input,
#contact-form .contact-field textarea {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 14px;
  color: #030001;
  border: none;
  outline: none;
  padding: 5px 15px;
  background-color: rgba(68, 66, 64, 0.1);
  border-radius: 5px;
  transition: all .5s linear;
}

#search-tools .search-field input,
#search-tools .search-field-inputs input {
  background-color: #FCFCFC;
}

#contact-form .contact-field textarea {
  resize: none;
}

#search-tools .search-field-inputs input {
  max-width: 189px;
}

#search-tools .search-field-inputs,
#search-tools .search-field label {
  color: #FCFCFC;
}

#search-tools .search-field input::placeholder,
#search-tools .search-field-inputs input::placeholder,
#contact-form .contact-field input::placeholder,
#contact-form .contact-field textarea::placeholder {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 14px;
  color: rgba(3, 0, 1, 0.3);
}

#search-tools .custom-select select {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #030001;
  border: none;
  outline: none;
  padding: 5px 10px;
  background-color: #FCFCFC;
  border-radius: 5px;
  transition: all .5s linear;
}

#contact-form .contact-submit {
  margin: 0 auto;
}

#search-tools .submit-field input,
#contact-form .contact-submit input {
  transition: all 0.5s ease;
  border: none;
  outline: none;
  width: 190px;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  padding: 10px 15px;
  text-align: center;
  background-color: #ff9d46;
  color: #FCFCFC;
  cursor: pointer;
  border-radius: 5px;
}

#offers-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px 30px;
  order: 1;
}

#offers-text p:not(:last-child) {
  margin-bottom: 5px;
}

#footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px;
  margin-top: auto;
  color: #FCFCFC;
  background-color: #444240;
  position: relative;
  order: 1;
}

.lSSlideOuter,
.lSSlideWrapper,
.lightSlider {
  height: 100%;
}

.lSSlideOuter .lSPager.lSpg > li:hover a, 
.lSSlideOuter .lSPager.lSpg > li.active a {
  background-color: #ff9d46 !important;
}

#lang {
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#lang .lang-button {
  cursor: pointer;
}

#lang:hover #lang-container {
  display: flex;
}

.flag {
  width: 16px;
  height: 11px;
  background: #fcfcfc;
  background: url("../source/flags.png") no-repeat;
}
.flag.flag-nl {
  background-position: -32px -55px;
}
.flag.flag-br {
  background-position: -16px -11px;
}
.flag.flag-ax {
  background-position: -80px 0;
}
.flag.flag-md {
  background-position: -96px -44px;
}
.flag.flag-de {
  background-position: -112px -11px;
}
.flag.flag-me {
  background-position: -112px -44px;
}
.flag.flag-om {
  background-position: -64px -55px;
}
.flag.flag-by {
  background-position: -32px -11px;
}
.flag.flag-it {
  background-position: -112px -33px;
}
.flag.flag-at {
  background-position: -64px 0;
}
.flag.flag-be {
  background-position: -128px 0;
}
.flag.flag-sa {
  background-position: -16px -66px;
}
.flag.flag-cz {
  background-position: -96px -11px;
}
.flag.flag-tr {
  background-position: 0 -77px;
}
.flag.flag-lt {
  background-position: -32px -44px;
}
.flag.flag-no {
  background-position: -48px -55px;
}
.flag.flag-uz {
  background-position: -64px -77px;
}
.flag.flag-sm {
  background-position: -96px -66px;
}
.flag.flag-am {
  background-position: -48px 0;
}
.flag.flag-ie {
  background-position: -48px -33px;
}
.flag.flag-id {
  background-position: -32px -33px;
}
.flag.flag-sj {
  background-position: -64px -66px;
}
.flag.flag-my {
  background-position: -16px -55px;
}
.flag.flag-tm {
  background-position: -128px -66px;
}
.flag.flag-az {
  background-position: -96px 0;
}
.flag.flag-is {
  background-position: -96px -33px;
}
.flag.flag-gr {
  background-position: -128px -22px;
}
.flag.flag-fr {
  background-position: -64px -22px;
}
.flag.flag-gg {
  background-position: -96px -22px;
}
.flag.flag-im {
  background-position: -80px -33px;
}
.flag.flag-hr {
  background-position: 0 -33px;
}
.flag.flag-lv {
  background-position: -64px -44px;
}
.flag.flag-ad {
  background-position: 0 0;
}
.flag.flag-lu {
  background-position: -48px -44px;
}
.flag.flag-ru {
  background-position: 0 -66px;
}
.flag.flag-mc {
  background-position: -80px -44px;
}
.flag.flag-gi {
  background-position: -112px -22px;
}
.flag.flag-dk {
  background-position: -128px -11px;
}
.flag.flag-si {
  background-position: -48px -66px;
}
.flag.flag-ro {
  background-position: -112px -55px;
}
.flag.flag-pt {
  background-position: -96px -55px;
}
.flag.flag-ua {
  background-position: -32px -77px;
}
.flag.flag-tw {
  background-position: -16px -77px;
}
.flag.flag-ch {
  background-position: -64px -11px;
}
.flag.flag-xk {
  background-position: -96px -77px;
}
.flag.flag-cn {
  background-position: -80px -11px;
}
.flag.flag-il {
  background-position: -64px -33px;
}
.flag.flag-mk {
  background-position: -128px -44px;
}
.flag.flag-th {
  background-position: -112px -66px;
}
.flag.flag-se {
  background-position: -32px -66px;
}
.flag.flag-gb {
  background-position: -80px -22px;
}
.flag.flag-uk {
  background-position: -80px -22px;
}
.flag.flag-en {
  background-position: -80px -22px;
}
.flag.flag-ca {
  background-position: -48px -11px;
}
.flag.flag-sk {
  background-position: -80px -66px;
}
.flag.flag-us {
  background-position: -48px -77px;
}
.flag.flag-li {
  background-position: -16px -44px;
}
.flag.flag-va {
  background-position: -80px -77px;
}
.flag.flag-ae {
  background-position: -16px 0;
}
.flag.flag-bg {
  background-position: 0 -11px;
}
.flag.flag-al {
  background-position: -32px 0;
}
.flag.flag-fo {
  background-position: -48px -22px;
}
.flag.flag-ba {
  background-position: -112px 0;
}
.flag.flag-fi {
  background-position: -32px -22px;
}
.flag.flag-ee {
  background-position: 0 -22px;
}
.flag.flag-kz {
  background-position: 0 -44px;
}
.flag.flag-es {
  background-position: -16px -22px;
}
.flag.flag-rs {
  background-position: -128px -55px;
}
.flag.flag-mt {
  background-position: 0 -55px;
}
.flag.flag-je {
  background-position: -128px -33px;
}
.flag.flag-hu {
  background-position: -16px -33px;
}
.flag.flag-pl {
  background-position: -80px -55px;
}

@media screen and (max-width: 1290px) {
  #items {
    max-width: 975px;
  }

  #item-content {
    max-width: 975px;
  }
}

@media screen and (max-width: 975px) {
  #items {
    max-width: 660px;
  }

  #item-content {
    max-width: 660px;
    flex-direction: column;
  }

  #item-content.no-img #item-slider {
    height: 200px;
  }

  #item-slider {
    width: 100%;
    padding-right: 0;
    padding-bottom: 15px;
  }

  #content {
    max-width: 660px;
  }

  #offers-text {
    max-width: 660px;
  }
}

@media screen and (max-width: 660px) {
  #header {
	  min-height: 300px;
  }
  #header-wrapper {
    padding: 15px 5px;
  }

  #nav-container ul a {
    padding: 5px 5px;
  }

  #content {
    max-width: 320px;
    padding: 15px;
  }

  #items {
    max-width: 320px;
    padding: 15px;
  }

  #item-content {
    max-width: 100%;
    padding: 15px;
  }

  .ad.group {
    width: 280px;
  }

  #item-slider img {
    max-height: 200px;
  }

  #contact-form {
    padding-bottom: 15px;
  }
  
  #search-tools {
    padding: 15px;
  }

  #search-tools form, 
  #contact-form form {
    width: 290px;
  }

  #search-tools .search-field-inputs input {
    max-width: 139px;
  }

  #offers-text {
    max-width: 320px;
    padding: 0 15px 15px;
  }
}