/* Views/www_webpack/contacts/address/address.css */
#address {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px clamp(20px, 5vw, 10vw);
}
.address_top {
  display: flex;
  justify-content: space-between;
}
[name=allAddress] {
  display: flex;
  align-items: center;
  height: 45px;
  padding: 0 1em;
  background: var(--color-grey);
  border: 2px solid var(--color-border);
  border-radius: 10px;
}
#map {
  position: relative;
  width: 100%;
  height: 600px;
}
.address_list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  align-items: start;
}
.address_list__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-evenly;
  min-height: 422px;
  padding: 20px;
  border: 2px solid var(--color-border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 200ms;
}
.address_list__item * {
  cursor: pointer;
}
.address_list__item:hover {
  box-shadow: 0 2px 4px 0 rgb(14 30 37 / 12%), 0 2px 16px 0 rgb(14 30 37 / 32%);
}
.address_list__item button {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  color: var(--color-green);
  font-weight: bold;
}
.address_list__item button::before {
  content: "Подробнее";
}
.address_list__item.active {
  border: 2px solid var(--color-green);
  box-shadow: 0 2px 4px 0 rgb(14 30 37 / 12%), 0 2px 16px 0 rgb(14 30 37 / 32%);
}
.address_list__item.active button::before {
  content: "Свернуть";
}
.address_list__item .chevron {
  --color: var(--color-green);
}
.address_list__item a {
  font-size: 1.1em;
}
.address_list__item a:hover {
  text-decoration: underline;
}
.address_list__item ul {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}
.address_list__item li {
  display: flex;
  flex-direction: column;
}
.address_list__item_title {
  font-size: 1.3em;
}
.address_hidden {
  position: absolute;
  top: 442px;
  left: 0;
  z-index: +1;
  display: none;
  gap: 60px;
  width: 100%;
  height: auto;
  padding: 40px;
  background: var(--color-grey);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  transition: all 200ms;
}
.address_hidden.active {
  display: flex;
  height: auto;
  padding: 40px;
  border: 2px solid var(--color-border);
  visibility: visible;
}
.address_hidden.active [data-edit-file-text] {
  font-size: 0.8em;
}
.address_hidden__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.address_hidden__left a {
  position: relative;
  display: flex;
  gap: 1em;
  align-items: center;
  height: 49px;
  padding: 0 20px;
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
  background-image: linear-gradient(90deg, #0eae57, #0c7475 41%, #0eae57 120%);
  background-size: 200% auto;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.address_hidden__left a:hover {
  background-position: 100%;
}
.address_hidden__left a .icon {
  width: 40px;
  height: 30px;
  fill: var(--color-white);
}
.address_hidden__img {
  width: 232px;
  height: 232px;
}
.address_hidden__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.address_hidden__right_body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.address_hidden__right_item {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 300px;
}
.address_hidden__right_item a:hover {
  text-decoration: underline;
}
.address_hidden__right_item [target=_blank] {
  display: inherit;
  color: var(--color-green);
  font-size: 1.05em;
}
.address_hidden__right_item ul {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}
.address_hidden__right_title {
  font-weight: bold;
  font-size: 1.3em;
  line-height: 1;
}
