/* fonts */
/* //fonts */
/* colors */
/* //colors */
/* shadows */
/* //shadows */
.dealer {
  position: absolute;
  width: 100%;
  max-width: 615px;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: #fff;
  display: none;
}

.dealer__close {
  width: 40px;
  height: 72px;
  position: absolute;
  background-color: #fff;
  left: -41px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
}

.dealer__close_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.dealer__img {
  height: 100px;
}

.dealer__logo {
  margin-bottom: 16px;
}

.dealer__wrapper {
  overflow-y: auto;
}

.dealer__info {
  padding: 32px 24px;
}

.dealer__info-top {
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.dealer__info-top_date {
  margin-right: 16px;
}

.dealer__info h3 {
  max-width: 440px;
  margin-bottom: 16px;
}

.dealer__items {
  margin-bottom: 40px;
}

.dealer .dealers__advantage_title {
  font-size: 14px;
}

@media screen and (max-width: 1440px) {
  .dealer {
    max-width: 544px;
  }
}

@media screen and (max-width: 1199px) {
  .dealer {
    font-size: 14px;
    max-width: 394px;
  }
  .dealer__info {
    padding: 16px 20px;
  }
  .dealer__items {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 991px) {
  .dealer h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .dealer .dealers__advantage {
    width: 50%;
    margin: 0 0 8px;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .dealer .dealers__advantage_title {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .dealer__close {
    height: 40px;
    left: auto;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    right: 0;
    top: 0;
  }
  .dealer__logo {
    max-width: 27px;
    margin-bottom: 8px;
  }
}

/* Правки после скрытия карты */

#section-contacts-map .dealer{
  max-width: 100%;
  position: relative;
  padding-top: 60px;
}
#section-contacts-map{
  padding: 0 !important;
}
#section-contacts.contact__wrapper-container{
  flex-wrap: wrap;
}
#section-contacts-map .dealer__info{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
#section-contacts-map .dealer__items{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#section-contacts-map .dealers__right_item{
  margin: 0 10px !important;
  max-width: 215px;
}
#section-contacts-map .dealers__right_item.text-center{
  text-align: center;
}
#section-contacts-map .dealer__info h3{
  margin: 0 10px 0 20px;
}
#section-contacts-map .dealer__logo{
  margin-bottom: 0;
}
#section-contacts-map .dealer__logo-container{
  display: flex;
  align-items: center;
}
#section-contacts-map .dealers__right_item .link-w100{
  width: 100%;
  display: block;
  margin-top: 5px;
}
#section-contacts-map .dealer__close_icon{
  display: none;
}
@media(max-width: 1499.98px){
  #section-contacts-map .dealer__logo-container{
    width: 100%;
  }
  #section-contacts-map .dealer__logo-container{
    justify-content: center;
    margin-bottom: 20px;
  }
}
@media(max-width: 1199.98px){
  #section-contacts-map .dealer__info{
    max-width: 100% !important;
  }
  #section-contacts-map{
    height: auto !important;
  }
  /* .dealers__right_item{
    max-width: 50%;
    width: calc(50% - 20px);
  } */
}
@media(max-width: 991.98px){
  #section-contacts-map .dealers__right_item{
    max-width: 100%;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 10px !important;
  }
  #section-contacts-map .dealers__right_item-flex{
    justify-content: center;
  }
  #section-contacts-map .dealers__right_item a{
    text-align: center;
    justify-content: center;
  }
  #section-contacts-map .dealer__logo-container{
    flex-wrap: wrap;
    margin-bottom: 15px;
  }
  #section-contacts-map .dealer__info h3{
    width: 100%;
    margin-bottom: 0 !important;
    text-align: center;
    margin-top: 10px !important;
    max-width: 100% !important;
  }
}

/* Правки для корректной работы */

/* #section-dealers .dealers__right_item{
  margin: 0 !important;
  max-width: 100%;
}
#section-dealers-map{
  padding: 20% !important;
}
#section-dealers-map .dealer {
  position: absolute;
  width: 100%;
  max-width: 615px;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: #fff;
  display: none;
} */
#section-contacts-map .dealer-full-width{
  padding-top: 0;
}
#section-contacts-map .dealer-full-width .dealers__right_item{
  max-width: 250px;
}
#section-contacts-map .dealer-full-width .dealer__logo-container{
  max-width: 45%;
  margin-right: 50px;
}
#section-contacts-map .dealer-full-width .contact__items{
  flex: 1 0;
  justify-content: space-between;
}
#section-contacts-map .dealer-full-width .dealer__close{
  display: none;
}
@media(max-width: 991.98px){
  #section-contacts-map .dealer-full-width .dealer__info{
    padding: 15px 0;
    background: rgba(95, 195, 225, 0.2);
  }
  #section-contacts-map .dealer-full-width .dealer__logo-container{
    max-width: 100%;
    margin-right: 0;
  }
  #section-contacts-map .dealer-full-width .contact__items{
    flex: unset;
    justify-content: center;
  }
  #section-contacts-map .dealer-full-width .dealers__right_item{
    max-width: 100%;
  }
}