.btn.btn-border {
  color: #ee8008;
  border-color: #ee8008;
  border-radius: 0;
  font-size: 16px;
  min-width: 230px;
  padding: 1.18em 1em;
  background: transparent;
}

.btn.btn-border.btn-arr-right {
  padding-left: 3em;
  background: url("../img/icon-arr-btn-orange.svg") no-repeat 8% center;
  text-decoration: none;
}

.btn.btn-border.btn-arr-right:hover {
  padding-left: 3em;
  background: url("../img/icon-arr-btn-orange.svg") no-repeat 8% center
    rgba(238, 128, 8, 0.25);
  min-width: 220px;
  transition: all 0.2s;
}

.btn.btn-border.btn-lg {
  min-width: 220px;
}

.btn.btn-main {
  color: #fff;
  font: 1.6rem/2rem "Montserrat-Regular";
  background: linear-gradient(90deg, #ee8008 0%, #fbd73c 100%);
  background-size: 130%;
  min-width: 220px;
  min-height: 55px;
  margin-right: 20px;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.btn.btn-main:hover {
  background-position-x: 100%;
}

@media (max-width: 768px) {
  body .btn.btn-main {
    min-width: 200px;
  }
}

::placeholder {
  color: #000;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #000;
}

::-moz-placeholder {
  color: #000;
}

:-ms-input-placeholder {
  color: #000;
}

:-moz-placeholder {
  color: #000;
}

#map_contact {
  height: 480px;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .contact-r {
    padding-left: 74px;
  }
}

.form-wrap {
  max-width: 370px;
}

@media (min-width: 767.98px) {
  #map_contact {
    margin-top: 68px;
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .wpcf7-form .btn {
    width: 100%;
  }
}

.wpcf7-form h2 {
  font-weight: bold;
  font-size: 38px;
  margin-bottom: 30px;
}

/* .wpcf7-form p:last-child {
  margin-bottom: 0;
} */

@media (min-width: 992px) {
  .wpcf7-form p:last-child {
    margin-bottom: 0;
  }
}

.wpcf7-form p:first-child {
  margin-top: 0;
}

.wpcf7-form .uploadfieldtrick {
  position: relative;
  padding: 15px 0;
  height: 50px;
  margin-top: 19px;
}

.wpcf7-form #fileuploadfield {
  display: none;
}

.wpcf7-form .uploadfieldtrick {
  padding: 18px 0 10px;
  border: 1px solid #d8d8d8;
  background: url("../img/upload.svg") no-repeat 98% 19px;
  margin-bottom: 28px;
}

.wpcf7-form #uploadtextfield {
  position: absolute;
  top: 0;
  cursor: pointer;
  font-size: 14px;
  padding: 18px 30px 14px;
  line-height: 1;
  width: 100%;
}

.wpcf7-form .form-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-left: 30px;
}
@media only screen and (max-width: 480px) {
  .wpcf7-form .form-line {
    padding-left: 15px;
  }
}

.wpcf7-form .form-line .form-line-inputs {
  display: flex;
  width: 50%;
  justify-content: space-between;
}

.wpcf7-form .form-line .form-line-input {
  width: 42%;
}
@media only screen and (max-width: 375px) {
  .wpcf7-form .form-line .form-line-input {
    width: 46%;
  }
}

.wpcf7-form .form-line p {
  font-weight: 400;
  margin-top: 16px;
}

.wpcf7-form .form-line + p {
  margin-top: 8px;
}

.wpcf7-form br {
  visibility: hidden;
  display: none;
}

.wpcf7-form p,
.wpcf7-form .form-line-input {
  font-size: 16px;
  position: relative;
}

.wpcf7-form p > label,
.wpcf7-form .form-line-input > label {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  font-weight: normal;
  transition: top 0.2s;
  color: #000;
  transition: all 0.2s;
  z-index: 1;
}
@media only screen and (max-width: 375px) {
  .wpcf7-form p > label,
  .wpcf7-form .form-line-input > label {
    left: 15px;
  }
}

.wpcf7-form p > label span,
.wpcf7-form .form-line-input > label span {
  color: #dc151d;
}

.wpcf7-form p {
  margin-top: 19px;
}

.wpcf7-form input.wpcf7-text {
  padding: 15px 30px;
  border: 1px solid #d8d8d8;
  width: 100%;
  font-size: 14px;
  border-radius: 0;
}
@media only screen and (max-width: 375px) {
  .wpcf7-form input.wpcf7-text {
    padding: 15px;
  }
}

.wpcf7-form input.wpcf7-text.wpcf7-not-valid {
  border-color: #dc151d;
}

.wpcf7-form label.has-value {
  left: 5px;
  top: 0;
  font-size: 12px;
  background: #fff;
  z-index: 1;
}

.wpcf7-form label.error {
  color: #ee8008;
}

.wpcf7-form h4 {
  font: 21px/27px "Montserrat-SemiBold";
  margin-bottom: 42px;
  min-height: 27px;
}

.form-wrap {
  padding: 30px;
  background: #f3f3f3;
  /* margin-top: 13px; */
}

@media (min-width: 1200px) {
  .form-wrap {
    margin-left: 89px;
    padding: 31px 65px 34px;
  }
}

.form-wrap h2 {
  font-size: 30px;
  line-height: 35px;
  margin-bottom: 28px;
}

@media only screen and (max-width: 767px) {
  .form-wrap h2 {
    font-size: 22px;
    line-height: 1.5;
  }
}
.form-wrap p {
  margin-top: 13px;
}

.form-block {
  margin-bottom: 50px;
}

.anketa .btn {
  font-weight: bold;
}

span.wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7 .wpcf7-list-item {
  display: block;
  margin-bottom: 5px;
}

.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-acceptance label {
  position: relative !important;
  cursor: pointer;
}

.wpcf7-checkbox input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"] {
  position: absolute;
  visibility: hidden;
}

.wpcf7-checkbox input[type="checkbox"] + span:before,
.wpcf7-acceptance input[type="checkbox"] + span:before {
  display: block;
  position: absolute;
  content: "";
  border-radius: 0;
  height: 18px;
  width: 18px;
  top: 0;
  left: 0;
  border: 1px solid #c8c8c9;
  background: #fff;
  bottom: 0;
  margin: auto;
}

.wpcf7-checkbox input[type="checkbox"] + span:after,
.wpcf7-acceptance input[type="checkbox"] + span:after {
  position: absolute;
  content: "";
  visibility: hidden;
  left: 6px;
  top: 0;
  bottom: 4px;
  margin: auto;
  width: 7px;
  height: 12px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.wpcf7-checkbox input[type="checkbox"]:checked + span:after,
.wpcf7-acceptance input[type="checkbox"]:checked + span:after {
  visibility: visible;
}

.wpcf7-list-item-label {
  margin-left: 30px;
  display: inline-block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wpcf7-acceptance {
  font: 14px/1 "Montserrat-Regular";
  height: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 33px;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin-bottom: 0;
}
div.wpcf7 .wpcf7-submit {
  width: 100%;
}

.wpcf7-acceptance a {
  font-weight: 700;
  border-bottom: 1px solid #ee8008;
  color: #ee8008;
  transition: all 0.2s;
}

.wpcf7-acceptance a:hover {
  border-color: transparent;
}

.textarea-wrap {
  height: 100%;
}

.textarea-wrap textarea {
  border: 1px solid #d8d8d8;
  background: transparent;
  resize: none;
  font-size: 14px;
  padding-top: 12px;
  padding-left: 30px;
  height: 100%;
  border-radius: 0;
}

.map-modal-lg .modal-content > div {
  min-height: 600px;
}
@media (max-width: 992px) {
  .map-modal-lg .modal-content > div {
    min-height: unset;
  }
  .map-modal-lg .modal-dialog {
    height: 100%;
    max-width: unset;
  }
  .map-modal-lg .modal-content {
    padding: 30px 75px 45px;
  }
}
@media (max-width: 768px) {
  .map-modal-lg .modal-content {
    padding: 60px 0 30px;
  }
}

.modal-content {
  padding: 50px 100px 80px;
}
@media (max-width: 992px) {
  .modal-content {
    height: 100%;
    padding: 30px 75px 45px;
  }
}
@media (max-width: 767px) {
  .modal-content {
    padding: 30px 30px 45px;
  }
}

.modal-content .close {
  position: absolute;
  right: 17px;
  top: 22px;
  background: url("../img/close-btn-black.svg") no-repeat;
  width: 17px;
  height: 17px;
}

.modal-content h2 {
  font-size: 28px;
  line-height: 33px;
  margin-bottom: 30px;
  text-align: center;
}

.modal-content .ui-selectmenu-button.ui-button {
  max-width: unset;
}

.ajax-loader {
  position: absolute;
  right: 230px;
}

.wpcf7-response-output {
  display: none !important;
}

@media (min-width: 768px) {
  .form-box {
    display: flex;
    margin-bottom: 88px;
  }

  .form-box-col {
    /*max-width: 450px;*/
    width: calc((100% - 80px) / 2);
  }

  .form-box-col:first-child {
    margin-right: 58px;
  }
}
.form-line {
  margin-bottom: 20px;
}
.form-sub {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .wpcf7-form h4 {
    min-height: auto;
    font-size: 18px;
    margin-bottom: 27px;
  }
  .form-sub {
    display: block;
  }
}

.form-box .btn-border {
  font-weight: 700;
}

.form-box .btn-wrap,
.form-wrap .btn-wrap,
.modal-content .btn-wrap {
  position: relative;
}

select {
  font-size: 14px;
  width: 100%;
  border: none;
  /* height: 46px; */
  padding: 15px 30px;
  background: transparent;
  border: 1px solid #d8d8d8;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("../img/icon-arrow.svg") no-repeat 95% center;
}

picture {
  display: inline-block;
}

img {
  max-width: 100%;
  height: auto;
}

.news-list__sales-item {
  margin-bottom: 52px;
}

.news-list__item {
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-height: 313px;
  margin-bottom: 78px;
  transition: all 0.15s ease-in;
}
@media only screen and (max-width: 480px) {
  .news-list__item {
    min-height: auto;
  }
}

.news-list__item-title {
  font-family: "Montserrat-Bold";
  font-size: 16px;
  line-height: 1.2;
  overflow: hidden;
  transition: all 0.2s;
}

.page-template-page-sales .news-list__item-title {
  height: 48px;
  overflow: hidden;
}

.news-list__item-image {
  max-height: 396px;
  overflow: hidden;
  display: block;
}

.news-list__item-image img {
  width: 100%;
  height: auto;
  transition: all 0.2s;
}

.page-template-page-news .news-list__item-image {
  position: relative;
  display: block;
  height: 0;
  padding-bottom: 61.875%;
}

.page-template-page-news .news-list__item-image img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s;
}

.p-news .news-list__item-title {
  padding-right: 80px;
  font-weight: bold;
  font-size: 22px;
  line-height: 30px;
  font-family: "Montserrat-Bold";
}
@media (max-width: 768px) {
  .p-news .news-list__item-title {
    font-size: 16px;
    line-height: 1.2;
  }
}

.news-list__item-date {
  font-weight: normal;
  font-size: 13px;
  line-height: 23px;
  text-align: right;
  color: #fbd73c;
  position: absolute;
  right: 0;
  top: 31px;
  font-family: "Montserrat-Regular";
}

.news-list__item-inner {
  padding: 18px 0 0;
  position: relative;
}

.p-news .news-list__item-inner {
  padding: 25px 0;
}

.news-list__item-text {
  font-size: 13px;
  line-height: 23px;
  margin-top: 5px;
}

.news-list__item-img {
  transition: all 0.2s;
}

.news-list__item:hover img {
  opacity: 0.7;
}

.news-list__item:hover .news-list__item-title {
  color: #ee8008;
}

/* .news-list__item:hover .news-list__item-img {
  opacity: 0.7;
} */

/* h1 {
    font: 700 50px/1 "Montserrat-Regular"
} */

*:focus {
  outline: none;
}

input,
select {
  border-radius: 0;
}

input[type="search"] {
  -webkit-appearance: none;
}

.error404 main,
.page-template-page-thanks main {
  min-height: calc(100vh - 183px);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 1920px) and (min-width: 1050px) {
  .page-template-page-thanks main {
    min-height: calc((100vh - 183px) * 1.4);
  }
}
.page-template-page-thanks footer {
  display: none;
}

/* @media (min-width: 992px) {
  .error404 .wrapper,
  .page-template-page-thanks .wrapper {
    min-height: calc(100vh - 27px);
  }

  .error404 main,
  .page-template-page-thanks main {
    min-height: calc(100vh - 276px);
  }
} */

.error404 p,
.page-template-page-thanks p {
  font: 400 16px/30px "Montserrat-Regular";
  margin-bottom: 30px;
}
.page-template-page-thanks .btn {
  color: #fff;
  border: 0;
  background: linear-gradient(90deg, #ee8008 0%, #fbd73c 100%);
  background-size: 130%;
  transition: all 0.2s;
}
.page-template-page-thanks .btn:hover {
  background-position-x: 100%;
}

/* @media (min-width: 768px) {
  .error404 p,
  .page-template-page-thanks p {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .error404 p,
  .page-template-page-thanks p {
    font-size: 30px;
  }
} */

@media (max-width: 767.98px) {
  .error404 .error,
  .page-template-page-thanks .error {
    margin: 50px 15px;
  }
}

.error404 .error-inner,
.page-template-page-thanks .error-inner {
  text-align: center;
}

.error404 .error .btn-border,
.page-template-page-thanks .error .btn-border {
  padding: 0.88em;
  margin-top: 65px;
}

.error404 h1 {
  font: 700 125px/1 "Montserrat-Bold";
  margin: 0;
}

@media (min-width: 768px) {
  .error404 h1 {
    font-size: 200px;
  }
}

@media (min-width: 992px) {
  .error404 h1 {
    font-size: 250px;
  }
}

.page-template-page-contacts .contacts__info-list {
  margin-bottom: 22px;
}
.page-template-page-contacts .contacts-info__btn .btn {
  background: #FFB319;
}

.page-template-page-contacts .contacts-info__btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: unset;
  margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
  .page-template-page-contacts .contacts-info__btn a {
    width: auto;
    min-width: 184px;
    margin-right: 10px;
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 480px) {
  .page-template-page-contacts .contacts-info__btn a {
    min-width: auto;
    flex-grow: 1;
  }
}
@media only screen and (max-width: 370px) {
  .page-template-page-contacts .contacts-info__btn a {
    font-size: 13px;
  }
}
@media only screen and (max-width: 768px) {
  .page-template-page-contacts .contacts-info__btn a:last-child {
    margin-right: 0;
  }
}
/* .page-template-page-contacts #g-map {
  margin: 50px 0;
} */

.page-template-page-contacts form .col-lg-7,
.page-template-page-contacts form .col-lg-5,
.page-template-page-contacts form .col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.page-template-page-contacts form input[type="submit"] {
  width: 220px;
  margin-top: 5px;
  margin-right: auto;
  background-color: #fff !important;
  opacity: 1 !important;
}

.page-template-page-contacts .wpcf7-form p > label {
  z-index: 1;
}

.page-template-page-contacts form textarea {
  max-height: 165px;
}

.page-template-page-contacts form input,
.page-template-page-contacts form textarea {
  background-color: #fff;
}

.page-template-page-contacts footer {
  display: none;
}

.page-template-page-contacts .ui-selectmenu-button {
  max-width: unset;
}

.contacts {
  margin-bottom: 200px;
}

.contacts-info {
  margin-top: 0;
}

.contacts__info-item {
  font-weight: normal;
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 29px;
}

.contacts__info-item img {
  margin-right: 17px;
}

.contacts-info__item {
  font-size: 20px;
  padding-left: 40px;
}

.contacts-info__btn {
  max-width: 250px;
  margin-bottom: 40px;
}

.contacts-info-address {
  display: none;
  margin-top: 20px;
  margin-bottom: 48px;
  background: url("../img/location-black.svg") no-repeat;
}

.contacts-info__metro {
  display: block;
  padding-left: 30px;
  background: url("../img/metro.svg") no-repeat center left;
  background-size: 22px 16px;
  margin-top: 8px;
}

.contacts-info-time {
  display: none;
  margin-bottom: 62px;
  background: url("../img/clock-black.svg") no-repeat;
}

@media (max-width: 767.98px) {
  .page-template-page-contacts .footer__buttons,
  .page-template-page-contacts .footer__info-logo {
    display: none !important;
  }
}

.pagination {
  text-align: center;
  justify-content: center;
  padding: 50px 0;
}

.pagination li a,
.pagination li span {
  padding: 4px 10px;
  margin: 0 5px;
  display: inline-block;
  border: 1px solid rgba(237, 28, 36, 0.2);
  color: #dc151d;
}

.pagination li a:hover,
.pagination li a.current,
.pagination li span:hover,
.pagination li span.current {
  background: #dc151d;
  border-color: #dc151d;
  color: #fff;
}

#breadcrumbs {
  color: #000;
  padding: 0;
  margin: 0;
  margin-top: 20px;
  /* padding: 10px 0 10px 12px;
  margin: 18px 0 0 -8px; */
}
.page-template-page-contacts #breadcrumbs {
  margin-top: 35px;
}
#breadcrumbs span > span > a {
  padding-left: 0;
}

#breadcrumbs a {
  text-decoration: underline;
  display: inline-block;
  padding: 0 8px;
  font-weight: bold;
}

#breadcrumbs a:hover {
  text-decoration: none;
}

#breadcrumbs span.breadcrumb_last {
  color: #9c9c9c;
  padding: 0 0 0 8px;
}

body.fixed {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.search-main {
  height: 100%;
  width: 100%;
  position: fixed;
  background: #f6f6f6;
  top: 0;
  z-index: 199;
  bottom: 0;
  display: none;
  padding-top: 25px;
}

.search-main__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 30px;
}

@media (min-width: 767.98px) {
  .search-main__header {
    padding: 0 40px 0 65px;
  }
}

.search-main__close {
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-main__close span {
  display: none;
}

@media (min-width: 767.98px) {
  .search-main__close {
    padding-right: 30px;
    width: inherit;
    height: inherit;
  }

  .search-main__close span {
    display: inline-block;
  }
}

.search-main__close:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("../img/close-btn-black.svg");
  right: 0;
}

.search-main__form {
  height: calc(100vh - 65px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-inline {
  transform: translateY(-100%);
}

.search-main.active {
  display: block;
}

.search-field-wrap {
  position: relative;
}

.search-field-wrap #search-field {
  border: none;
  background: transparent;
  border-bottom: 1px solid #000;
  font-size: 18px;
  border-radius: 0;
  color: #000;
  box-shadow: none;
  min-height: 40px;
  width: 300px;
  border-radius: 0;
}

@media (min-width: 767.98px) {
  .search-field-wrap #search-field {
    width: 430px;
  }
}

.search-field-wrap .search-btn {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url("../img/icon-phone.svg") no-repeat center center;
  border: none;
}

.search-results .page-header {
  margin-bottom: 40px;
}

.search-results .page-header p {
  font: 20px/1 "Montserrat-Regular";
}

.search-results .page-header p span {
  font-weight: 700;
  display: inline-block;
  padding-left: 25px;
}

.page h1 {
  margin-top: 18px;
}

.page-title {
  margin-top: 18px;
}

.page-template-page-contacts .form-wrap p {
  margin-bottom: 17px;
}
.page-template-page-contacts .form-wrap .wpcf7-acceptance {
  margin-bottom: 38px;
}
.page-template-page-contacts .form-wrap .mt-5 {
  margin-top: 4px !important;
}
.page-template-page-contacts .form-wrap h2 {
  margin-top: 48px;
  margin-bottom: 22px;
}
.page-template-page-contacts .page-title {
  margin-bottom: 27px;
  margin-top: 23px;
}
.btn-rules-wrap {
  margin: 35px 0;
}
@media only screen and (max-width: 767px) {
  .page-template-page-contacts .page-title {
    margin-bottom: 47px;
  }
  .wpcf7-acceptance a {
    font-size: 13px;
    font-weight: 400;
  }
  .contacts {
    margin-bottom: 100px;
  }
}
