@font-face {
  font-family: "Moderustic-regular";
  src: url("../fonts/Moderustic-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body {
  background-color: white;
  box-sizing: border-box;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  overflow-x: hidden;
  user-select: none;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Moderustic-regular", Arial, sans-serif;
}

.container {
  margin: 0px auto;

  display: flex;
  /* align-items: center; */
  flex-direction: column;
}

/* ********************************* */

/* header */

header {
  width: 100vw;
}

.mobile-header {
  display: none;
}

/* ***************************************Изменено************************************* */
.desktop-header__container {
  max-width: 1400px;
  width: 81%;
  margin: 0 auto;
  padding: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 30%;
}

.logo__img {
  width: 100%;
}

.logo_for-phone {
  display: none;
}

.streith-contact {
  width: 30%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.streith-contact__text {
  cursor: pointer;

  font-size: calc(14px + (24 - 14) * ((100vw - 320px) / (1920 - 320)));
  text-align: center;
  text-decoration: none;
  font-weight: bold;

  color: #29325a;
}

/* ***************************************Изменено************************************* */

.dialog {
  display: flex;
  justify-content: center;
}

#city_choiser-background {
  display: none;
}
.city-list__background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(41, 50, 90, 0.5);
  z-index: 900;
}

.city-list__view {
  position: fixed;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 900px;
  max-height: 80vh;
  background-color: #ffffff;
  border: 1px solid #ccc;
  display: none;
  flex-direction: column;
  z-index: 1000;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.city-list__menu {
  font-size: 24px;
  font-weight: bold;
  color: #29325a;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.cities {
  overflow-y: auto;
  flex-grow: 1;
  border-top: 1px solid #eaeaea;
  padding-top: 10px;
}

.city {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cities__link {
    padding: 8px 12px;

    flex: 1 1 calc(33.333% - 20px);

    background-color: #f0f0f0;
    color: #29325a;
    cursor: pointer;

    border: 1px solid #ccc;
    
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
    
    transition: background-color 0.3s ease;
}

.cities__link:hover {
  background-color: #d9e0f2;
  color: #000;
  border-color: #29325a;
}

.city-list__info {
  margin-top: 15px;
  text-align: center;
  color: gray;
  font-size: 14px;
}

.city-search {
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}

.city-search__input {
  box-sizing: border-box;
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 16px;
  outline: none;
}

.city-search__input:focus {
  border-color: #29325a;
  box-shadow: 0 0 0 2px rgba(41, 50, 90, 0.1);
}

.city li {
  display: block;
}

.city li.hidden {
  display: none;
}

.location {
  width: 30%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.location__text {
  width: 200px;

  text-align: right;
  font-size: 14px;

  margin-bottom: 3px;
  color: grey;
}

.location__geo-wrapper {
  padding: 3px 8px;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  border-bottom: 1px solid lightgray;
}

.location__geo-wrapper:hover {
  background-color: whitesmoke;
  color: #3f587f;
  transition: 0.3s ease;
}

.geo-icon {
  margin-right: 5px;

  height: calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320)));
}

.location__btn-city {
  padding: 3px;
  border: none;
  background-color: transparent;
  border-radius: 1px;
  color: #3f587f;
  font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320)));
}

.acceptor {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;

  padding: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: white;

  justify-content: center;

  transition: all 0.5s ease;
}

.acceptor--inactive {
  top: -100vh;
}

.acceptor--active {
  top: 50%;
}

.acceptor__inner {
  display: flex;
  padding: 5px;

  align-items: center;
  justify-content: space-between;
  background-color: #3f587f;
}

.acceptor__question,
.acceptor__answer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.acceptor__question p {
  color: #ffffff;
}

.acceptor__answer {
  margin-left: 10px;
  height: 41px;
}

.acceptor__btn-yes,
.acceptor__btn-no {
  padding: 2px 5px;

  color: #29325a;
  background-color: whitesmoke;
  font-weight: bold;
  border-radius: 2px;
  border: none;
}

.acceptor__btn-no:hover {
  background-color: darkgray;
}

.acceptor__btn-yes:hover {
  background-color: darkgray;
}

.location__city {
  padding: 30px;
}

/* header */

/* ------------------------------------------ */

/* navigation */

.tabs-container {
  background-color: #29325a;
  width: 100vw;
}

.tabs {
  max-width: 1400px;
  width: 81%;

  margin: 0px auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-mobile {
  display: none;
}

.tabs__order-btn {
  padding: 15px 0;

  color: #fff;
  border: 0px;
  background: none;

  font-size: calc(10px + (24 - 10) * ((100vw - 320px) / (1920 - 320)));
  text-decoration: none;

  transition: all 0.5s ease;
}

.tabs__order-btn:hover {
  padding: 0;
  font-size: calc(16px + (26 - 16) * ((100vw - 320px) / (1920 - 320)));
}

.tabs__menu {
  display: flex;
  list-style: none;
}

.tabs__menu-buttons {
  position: relative;
}

.tabs__main-link,
.tabs__inner-link {
  padding: 15px 20px;

  font-size: calc(10px + (24 - 10) * ((100vw - 320px) / (1920 - 320)));
  text-decoration: none;

  color: #fff;

  transition: 0.3s ease;
}

.tabs__main-link:hover,
.tabs__inner-link:hover {
  background: #fff;
  color: #29325a;
  transition: 0.3s ease;
}

.tabs__menu-drop-list {
  margin-top: 15px;
  position: absolute;
  top: 71%;
  z-index: 4;
  min-width: 300px;
  display: none;
}

.tabs__menu-buttons {
  display: flex;
  justify-content: space-between;
}

.tabs__inner-link {
  width: 250px;
  margin-top: 5px;
  padding: 5px;
  text-transform: none;
  background: #29325a;
}

.tabs__menu-buttons:hover > .tabs__menu-drop-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tabs__menu-drop-box {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 4;
  min-width: 300px;
  display: none;
}

.tabs__menu-buttons:hover > .tabs__menu-drop-box {
  display: block;
}

.tabs__tb-contacts {
  margin-top: 5px;

  background-color: white;

  background-image: url("/images/Icons/tb-contacts-bckgd-image.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;

  color: #3f587f;
  font-size: 18px;
  border: 5px solid #29325a;
}

.tb-contacts__box {
  padding: 10px 38px;

  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: right;
}

.tb-contacts__box-title {
  padding: 10px;
  align-self: center;

  font-size: 26px;
  text-wrap: nowrap;
}

.tb-contacts__contact-title {
  margin-top: 10px;

  opacity: 0.8;
}

/* .tb-contacts__contact {
} */

.tb-contacts__worktime-box {
  width: 100%;
  margin: 10px 0;
  padding: 10px 0;

  display: flex;
  flex-direction: column;
}

/* .tb-contacts__worktime-title {
}
.tb-contacts__worktime-time {
} */
.tb-contacts__worktime-status {
  width: 50%;
  padding: 10px;

  align-self: flex-end;

  color: green;
  background-color: lightgreen;

  text-align: center;
}

.tb-contacts__socials {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #29325a;

  text-wrap: nowrap;
}

.tb-contacts__socials-item {
  margin: 10px;

  display: flex;
  align-items: center;

  text-decoration: none;
  color: white;
}

.tb-contacts__socials-text {
  font-size: 18px;
}

.tb-contacts__socials-item img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

/* navigation */

/* --------------------------------------------------- */

/* remark */

.remark {
  max-width: 1400px;
  width: 81%;

  margin: 20px auto 0 auto;

  color: #3f587f;

  hyphens: auto;
  cursor: default;
}

.remark__info-block {
  padding: 0 10px;

  border-left: 3px solid #3f587f;
}

.remark__title {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: normal;
}

.remark__info {
  margin-top: 10px;
}

.remark-painted {
  width: 100vw;
  padding: 20px 0 40px 0;
  background-color: #29325a;
}

.pre-contactus {
  padding: 10px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-direction: column;
}

/* remark */

/* ------------------------------------------ */

/* online_valuation */

.online-valuation {
  width: 100vw;
  height: 530px;

  display: flex;

  cursor: default;
  background-image: url("/images/Shared/OnlineValuationBackground.png");
  background-position: center;

  background-repeat: no-repeat;
  background-size: cover;
}

.online-valuation__wrapper {
  max-width: 1400px;
  width: 81%;

  margin: 0 auto;

  display: flex;
  align-items: center;
}

.online-valuation__info-block {
  width: 40%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  text-align: center;

  font-size: 20px;
  color: #29325a;
}

.online-valuation__title {
  font-size: 50px;
}

.online-valuation__info {
  margin: 20px 0;
}

.online-valuation__info--hidden {
  display: none;
}

.online-valuation__button {
  width: fit-content;
  padding: 10px;

  text-decoration: none;

  color: white;
  background-color: #29325a;
}

/* online_valuation */

/* ------------------------------------------ */

/* form */

.feedback {
  margin: 50px 0;
  width: 100vw;
}

.feedback__wrapper {
  max-width: 1400px;
  width: 81%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.feedback__img-wrapper {
  display: flex;
  align-items: center;
  width: 50%;
}

.feedback__img {
  display: flex;
  justify-content: center;
  width: 90%;
}

.feedback__img-first {
  width: 100%;
}

.feedback__form {
  width: 45%;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.form-animation {
  position: relative;
  animation: wipe-enter 1.5s 1;
}

@keyframes wipe-enter {
  0% {
    /* margin-left: 500px; */
    transform: translate(500px, 0);
  }

  50% {
    /* margin-left: 0px; */
    transform: translate(0px, 0);
  }
}

.form__title {
  text-align: center;
  color: #29325a;
}

.form__fields--hidden {
  display: none;
}

.form__top-title {
  font-size: 30px;
  text-transform: uppercase;
  color: #29325a;
}

.form__name {
  margin-top: 15px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form__fields {
  width: 100%;
  margin: 10px 0;
  padding: 15px 0;

  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(128, 128, 128, 0.377);

  resize: none;

  outline: none;
}

.form__fields::placeholder {
  color: gray;
  font-size: 12pt;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.form__location-input-wrapper {
  position: relative;

}
.form__location-input-icon {
  position: absolute;

  cursor: pointer;

  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);

  display: flex;
  justify-content: center;
  align-items: center;
}
.form__location-icon {
  width: 20px;
}

.form__fields:focus {
  border-bottom: 2px solid rgba(66, 66, 66, 0.377);
}

.form__checkbox-wrapper {
  margin: 10px 0;

  color: gray;
  font-size: 12pt;
}

.form__checkbox-wrapper a {
  text-decoration: none;
  color: gray;
  font-weight: bold;
}

.form__button {
  width: 45%;

  padding: 10px;

  font-size: 24px;

  display: flex;
  align-items: center;
  justify-content: space-evenly;
  align-self: flex-end;

  background-color: #29325a;
  color: #fff;

  border: none;
}

.form__button:hover {
  background-color: rgb(226, 226, 226);
  color: #29325a;
}

/* form */

/* ------------------------------------------ */

/* footer */

footer {
  width: 100vw;

  background: linear-gradient(#29325a, black);
}

.footer__wrapper {
  max-width: 1400px;
  width: 81%;
  height: 100%;

  margin: 10px auto;

  display: flex;
  justify-content: space-between;
}

.site-map {
  display: flex;
  justify-content: space-between;

  width: 50%;

  padding-left: 20px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 50%;

  padding-right: 20px;
}

.footer__logo-wrapper {
  height: -webkit-fill-available;

  display: flex;
  align-items: center;
}

.footer__logo {
  width: 70%;
}

.footer__links {
  width: 100%;
  border-bottom: 1px solid white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.footer__contact-text {
  font-size: 16px;
}

.site-map__block {
  display: flex;
  flex-direction: column;
}

.site-map__title {
  margin: 5px 0;

  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;

  color: white;
}

.site-map__link {
  text-decoration: none;
  font-size: 15px;
  color: white;
  margin: 5px 0;
}

.site-map__link:hover {
  text-decoration: underline;
}

.footer__contact-item {
  margin: 15px 0;
  font-size: 24px;

  display: flex;
}

.footer__contact-item img {
  width: 28px;
  height: 28px;

  margin-right: 10px;
}

.footer__copyright {
  max-width: 1400px;
  width: 100%;

  margin: 0 auto;
  padding: 3px;
  color: #fff;
  text-align: center;
}
