﻿/* GLOBAL */

* {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  --maincolor: rgb(110, 179, 144);
  --maincolordark: rgb(70, 134, 102);
  --graycolor: #585981;
  --semibold: 600;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: black;
}

html, body {
  font: 14pt Arial;
}

html.modal_popup_opened, html.modal_popup_opened body {
  overflow: hidden;
}

.wrapper {
  max-width: 1920px;
  min-width: 1024px;
  margin: auto;
  padding: 0 32px;
}

/* Заголовки */

.center {
  text-align: center;
}

h1 {
  font-size: 32px;
  color: var(--maincolor);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(60, 59, 59, 0.2);
}

h2 {
  font-size: 20px;
  color: #353738;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* HEADER */

.header .logo img {
  height: 64px;
}

.head-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.head-menu a:hover {
  color: var(--maincolordark);
  text-decoration: underline;
}

.head-language {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 24px;
  margin: 0 24px;
}

.head-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 96px;
}

.head-login {
  padding: 12px 16px;
  border: 1px solid var(--maincolor);
  border-radius: 16px;
}

/* MAIN */

.main-block {
  background-color: rgb(229, 243, 236);
  border-radius: 32px;
  min-height: 256px;
  margin: 16px;
  padding: 16px;
  position: relative;
}

.main-title {
  min-width: 45%;
  margin-top: 48px;
  margin-left: 32px;
}

.main-title h2 {
  font-size: 26pt;
  line-height: 1.2;
  margin-bottom: 16px;
}

.main-title h3 {
  font-size: 16pt;
  line-height: 1.5;
  opacity: 50%;
}

.block-overflow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.block-image {
  position: absolute;
  top: 12px;
  right: 10%;
  width: 30vw;
  display: none;
}

.main-filters {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.main-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-tabs>li {
  padding: 4px 8px;
  background-color: white;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.main-tabs>li.Active {
  background-color: var(--maincolordark);
  color: white;
}

.main-nav {
  background-color: rgba(255, 255, 255, 0.7);
  min-height: 64px;
  position: relative;
  border-radius: 0 24px 24px 24px;
  display: flex;
  padding: 20px 12px;
}

/* FILTERS */

.filters-block {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.filters-block>li {
  height: 32px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.filters-block>li::after {
  content: '';
  display: block;
  height: 40px;
  width: 1px;
  background: #bbb;
  position: relative;
  left: 14px;
}

.filters-block .Filter {
  width: 100%;
  display: block;
  padding-right: 24px;
  font-weight: var(--semibold);
  font-size: 12pt;
  text-align: center;
}

.filters-block i {
  right: -4px;
  top: 10px;
  display: block;
  position: absolute;
  border: 8px solid transparent;
  border-top-color: #666;
  width: 16px;
  height: 16px;
}

.filters-block center {
  font-weight: normal;
  color: #669;
}

.filters-search {
  width: 64px;
  background-color: var(--maincolor);
  margin: auto;
  text-align: center;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  padding: 14px 12px;
  border-radius: 16px;
  font-size: 16pt;
  color: white;
  font-weight: normal;
}

.filters-search:hover {
  color: black;
}

.Filter.Opened .filters-drop {
  display: flex;
}

.filters-drop {
  text-align: left;
  display: none;
  position: absolute;
  left: 0;
  top: 0px;
  background-color: white;
  flex-direction: column;
  border: 1px solid #999;
  z-index: 2;
  min-width: 105%;
  border-radius: 0 0 12px 12px;
  padding: 4px;
}

.filters-drop>li {
  padding: 4px;
  min-width: max-content;
  width: 100%;
}

.filters-drop b {
  margin-right: 6px;
}

.filters-drop>li:hover {
  background-color: #eee;
  cursor: pointer;
}

.Region.fa-circle+span+ul {
  display: none;
}

.filters-district {
  border-left: 1px solid #bbb;
  padding-left: 8px;
  margin-left: 8px;
  padding-top: 6px;
}

.filters-district>li {
  padding: 2px 4px;
  width: 100%;
}

.filters-district>li:hover {
  background-color: #ced;
}

/* block-cards */

.cards-logotext {
  text-align: center;
  margin: 50px auto;
  font-size: 26pt;
}

.cards-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 350px;
}

.cards-container>div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  border-radius: 30px;
  text-align: center;
  padding: 32px 8px;
  height: 400px;
  min-width: 0;
}

.cards-container>div:hover {
  box-shadow: 0px 5px 10px 2px rgba(103, 177, 140, 0.2);
}

.card1, .card3 {
  background-color: #FDF6E6;
}

.card2 {
  border: 1px solid #E5EDF6;
}

.card4 {
  background-color: #E5EDF6;
}

.cards-container h3 {
  font-size: 20pt;
  font-weight: bold;
  width: 250px;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  display: flex;
}

.cards-container h4 {
  font-weight: normal;
  font-size: 14px;
  color: #8F90A6;
}

.card-logo {
  width: 160px;
  height: 45px;
}

.card-button {
  background-color: var(--maincolor);
  padding: 16px 24px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 10pt;
  max-width: 150px;
  border: 1px solid #E5EDF6;
  margin-top: 48px;
}

.card-button:hover {
  background: white;
  color: black;
}

/* block-surprise */

.block-surprise {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1600px;
  background-color: #E5F3EC;
  margin: 0 auto;
  margin-top: 80px;
  border-radius: 50px;
  padding: 0 48px;
}

.surprise-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 50%;
}

.text-surprise {
  font-size: 38px;
}

.surprise-button {
  background-color: #D4BD84;
  padding: 20px;
  border-radius: 10px;
  color: white;
  width: 236px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

.surprise-button:hover {
  background-color: #f2dda9;
}

/* block-owner */

.block-owner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  max-width: 830px;
  text-align: center;
}

.text-owner {
  font-size: 38px;
}

.secondtext-owner {
  font-size: 24px;
  margin-top: 24px;
  font-weight: 300;
  color: var(--graycolor);
}

.project-button {
  background-color: var(--maincolor);
  padding: 20px 0;
  border-radius: 16px;
  color: white;
  font-weight: bold;
  font-size: 14pt;
  width: 200px;
  border: 1px solid #E5EDF6;
  text-align: center;
}

.project-button:hover {
  background: #E5F3EC;
  color: black;
}

.block-maps {
  margin: 0 auto;
  text-align: center;
}

.block-maps>img {
  width: 100%;
}

/*block-callback*/

.block-callback {
  display: flex;
  justify-content: space-evenly;
  margin: 80px auto;
}

.callback-container {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  width: 360px;
}

.text-callback {
  font-size: 34px;
  font-weight: var(--semibold);
  max-width: 400px;
}

.secondtext-callback {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 300;
  color: var(--graycolor);
  max-width: 500px;
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 480px;
}

.callback-input {
  height: 55px;
  border-radius: 15px;
  border: 1px solid #d6dde5;
  padding: 12px;
  max-width: 500px;
}

.callback-textarea {
  resize: none;
  padding: 12px;
  border: 1px solid #d6dde5;
  max-width: 500px;
  border-radius: 15px;
}

/* FOOTER */

.footer {
  padding-bottom: 150px;
  margin-top: 64px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
}

.footer .logo img {
  height: 128px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  font-size: 14px;
  color: #d6dde5;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.footer-menu p {
  font-weight: 700;
}

.footer-icons {
  margin-top: 50px;
  margin-left: 150px;
}

.footer-text {
  display: flex;
  justify-content: space-evenly;
  margin-top: 64px;
  color: #8F90A6;
  font-size: 13px;
}

.footer a:hover {
  color: var(--maincolordark);
  text-decoration: underline;
}

/* slider*/

.mainCarousel {
  width: 520px;
  margin: 0 auto 1rem auto;
  --carousel-button-color: #170724;
  --carousel-button-bg: #fff;
  --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%),
    0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  --carousel-button-svg-stroke-width: 2.5;
}

.mainCarousel .carousel__slide {
  width: 100%;
  padding: 0;
}

.mainCarousel .carousel__button.is-prev {
  left: -1.5rem;
}

.mainCarousel .carousel__button.is-next {
  right: -1.5rem;
}

.mainCarousel .carousel__button:focus {
  outline: none;
  box-shadow: 0 0 0 4px #A78BFA;
}

.thumbCarousel {
  max-width: 26rem;
  margin: auto;
}

.thumbCarousel .carousel__slide {
  opacity: 0.5;
  padding: 0;
  margin: 0.25rem;
  width: 96px;
  height: 64px;
  overflow: hidden;
}

.thumbCarousel .carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.thumbCarousel .carousel__slide.is-nav-selected {
  opacity: 1;
}

.carousel__slide>img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 0 0;
  transition: none;
  touch-action: none;
  user-select: none;
  border-radius: 6px;
}

.carousel__slide {
  overflow: hidden;
}

/* card search */
.cardsearch_container {
  display: flex;
  gap: 16px;
  width: 100%;
}

.searchlogotext_container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 400px;
  max-width: 800px;
  margin-left: 16px;
  position: relative;
  margin-right: auto;
}

.searchlogotext_container p {
  max-height: 208px;
  overflow-y: hidden;
  text-align: justify;
}

.searchlogotext_container p::before {
  content: '';
  width: 100%;
  background-color: white;
  height: 20px;
  display: block;
  position: absolute;
  bottom: -8px;
  box-shadow: 0px -24px 24px white, 0px -16px 16px white, 0px -12px 12px white, 0px -8px 8px white;
}

.card_searchlogotext {
  font-size: 24px;
  font-weight: var(--semibold);
}

.cardsearch_pricecontainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-style: 24px;
  font-weight: var(--semibold);
  gap: 24px;
}

.card_searchsectext {
  display: flex;
  gap: 6px;
  font-size: 18px;
  font-weight: 300;
}

.cardsearch_container p {
  color: var(--graycolor);
}

.cardsearch_image {
  width: 384px;
  height: 256px;
  flex-grow: 0;
  flex-shrink: 0;
}

.cardsearch_image>img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  display: none;
  cursor: pointer;
  border: 1px solid white;
}

.cardsearch_image>img:first-child {
  display: inline-block;
}

.cardsearch_image>img:hover {
  border-color: var(--maincolor);
}

/* card opened */

.cardopened_title {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.tel_icon img {
  max-width: 100%;
  flex: 1;
  padding: 0 10px;
}

.cardopened_owner {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-around;
}

.cardopened_owner>div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card_priceflex {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
}

.cardopened_container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 24px auto;
}

.card_openlogotext {
  font-size: 38px;
  font-weight: var(--semibold);
}

.logotext_container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card_pricetext {
  white-space: nowrap;
  font-size: 28pt;
  font-weight: var(--semibold);
  color: var(--maincolor);
}

.card_price {
  white-space: nowrap;
  font-weight: var(--semibold);
}

.card_openedsectext {
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 300;
}

.card_pricecontainer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  flex-shrink: 0;
  flex-grow: 0;
  width: 260px;
  align-items: flex-end;
  text-align: right;
}

.tel_icon {
  width: 54px;
  height: 54px;
  margin-left: 16px;
}

.metroicon_colortext {
  color: #389FCB;
}

.metro_colortext {
  color: var(--graycolor);
  font-size: 14px;
}

.card_openedinfo {
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-grow: 1;
  gap: 16px;
  max-width: 640px;
  min-width: 0;
  font-size: 18px;
}

.cardopenedinfo_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info__type {
  color: var(--graycolor);
  white-space: pre;
}

.info__text {
  font-weight: var(--semibold);
}

.info__desc {
  text-align: justify;
  line-height: 1.6;
}

.cardopenedmap {
  text-align: center;
  margin-bottom: 16px;
}

.cardopened_orienting {
  text-align: center;
}

.cardopenedmap_container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 200px;
}

.search_results {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 30px;
}

.search_results>div {
  padding-bottom: 12px;
  border-bottom: solid 2px #dcdceb;
}

.search_results>div:last-child {
  border: 0;
}

.search_count b {
  color: var(--maincolor);
}

.profile-rent-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
}

.profile-rent-container>* {
  margin: 0;
}

div.search_mode {
  display: flex;
  justify-content: space-between;
  border: 0;
  max-width: 1200px;
  min-width: 0;
  padding: 0 16px;
  margin: 32px auto;
}

.search_mode button {
  padding: 8px 16px;
  color: #bbb;
  border-radius: 16px;
  border: 0;
  background: white;
  font-weight: bold;
  font-size: 10pt;
  letter-spacing: 1px;
}

.search_mode button.ActiveMode {
  background: #E5EDF6;
  border: 1px solid #dcdceb;
  color: var(--maincolor);
}

/* breadcrumbs */

.ul-breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 10pt;
  margin-top: 24px;
  margin-bottom: 16px;
}

.ul-breadcrumbs>li a {
  color: var(--graycolor);
}

.ul-breadcrumbs>li:after {
  content: '\00b7';
  /* &middot; */
  margin-left: 8px;
  font-weight: bold;
}

.ul-breadcrumbs>li:last-child a {
  color: var(--maincolor);
}

.ul-breadcrumbs>li:last-child:after {
  content: '';
}

/* add-filters */

.add-filters-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-filters-title button {
  background-color: var(--maincolor);
  padding: 12px 16px;
  border-radius: 16px;
  color: white;
  font-weight: bold;
  font-size: 14pt;
  border: 1px solid #E5EDF6;
  cursor: pointer;
}

.add-filters-title button:hover {
  background: #E5F3EC;
  color: black;
}

.add-filters-title button[disabled] {
  background: #aaa;
  color: #333;
  cursor: not-allowed;
}

.add-filters-wrapper {
  display: flex;
  justify-content: center;
}

.add-filters-wrapper>div {
  margin: 16px;
  width: 48%;
}

.add-filters-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.add-filters-elem {
  text-align: center;
}

.add-filters-elem input, .add-filters-elem select, .add-filters-elem textarea {
  border: 1px solid var(--graycolor);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-size: 12pt;
}

.add-filters-elem input:focus, .add-filters-elem select:focus, .add-filters-elem textarea:focus {
  outline: 1px solid black;
}

.add-filters-elem ::placeholder {
  color: var(--graycolor);
}

.add-filters-elem .nice-select {
  border: 1px solid var(--graycolor);
  border-radius: 8px;
  width: 100%;
  font-size: 12pt;
  color: var(--graycolor);
}

.add-filters-elem .nice-select.Chosen, .add-filters-elem .nice-select-dropdown * {
  color: black;
}

.add-filters-elem .nice-select ul>li:first-child {
  display: none;
}

.add-filters-elem .nice-select ul {
  overflow: visible;
  overflow-y: visible;
}

.add-filters-elem .nice-select-dropdown {
  overflow: auto;
}

.add-filters-elem .nice-select.open {
  outline: 1px solid black;
}

.add-filters-elem .nice-select-dropdown {
  width: 100%;
  box-shadow: none;
  border: 1px solid var(--graycolor);
}

.add-filters-elem textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 128px;
}

.add-filters-elem h6 {
  font-weight: bold;
  color: #999;
  margin: 6px;
  text-align: left;
}

.add-filters-image {
  background-color: white;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--maincolor);
  font-weight: bold;
  font-size: 14pt;
  border: 1px solid var(--maincolor);
  cursor: pointer;
}

.add-filters-image:hover {
  background: #E5F3EC;
  color: black;
}

.add-filters-label {
  text-align: center;
  margin-top: 24px;
  display: inline-block;
}

.add-filters-wrapper .ErrorEmpty {
  border-color: red;
  outline-color: red;
  background-color: rgb(255, 128, 0, 0.1);
}

.add-filters-wrapper div.disabled {
  display: none;
}

/* PAGE DEVELOPERS */

.developers-title {
  display: flex;
  justify-content: space-between;
}

.title-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 48%;
}

.title-right {
  width: 48%;
}

.developers-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.developers-quantity {
  background-color: #EFEFF3;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 15px;
  color: var(--graycolor);
}

.developers-text {
  font-size: 18px;
  color: var(--graycolor);
}

.develpoper-sectext {
  margin-top: 64px;
}

.developers-card {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 48px;
  margin: 32px auto;
}

.developers_cards-img {
  position: relative;
}

.developers-mark, .developers-mark2, .developers-mark3 {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: white;
}

.developers-mark {
  background-color: #B1A167;
}

.developers-mark2 {
  background-color: #3B3B3B;
}

.developers-mark3 {
  background-color: #389FCB;
}

.developers_card-containter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}

.developers-cardlogotext {
  font-size: 18px;
  font-weight: bold;
  max-width: 200px;
}

.develop-metro {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.metroicon-text {
  font-size: 12px;
  color: #389FCB;
}

.develop_adress-text {
  font-size: 12px;
  color: var(--graycolor);
  font-weight: 300;
}

.developer-hr {
  background-color: #DCDCEB;
}

.develop_rooms-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.develop_rooms-amount {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.amount-text {
  color: var(--graycolor)
}

.amount-count {
  font-weight: bold;
}

.developbutton-container {
  display: flex;
  justify-content: flex-start;
}

.developcard-button {
  align-self: baseline;
  background-color: var(--maincolor);
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 10pt;
  border: 1px solid #E5EDF6;
  letter-spacing: 2px;
}

.developcard-button:hover {
  background: #E5F3EC;
  color: black;
}

/* photo_preview */

#photo_preview {
  padding: 20px;
  margin: 8px;
  min-height: 276px;
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#photo_preview>div {
  padding: 8px;
  background-color: var(--maincolor);
  border-radius: 12px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st0%7Bfill:%23FFFFFF;%7D%3C/style%3E%3Cpath class='st0' d='M149.1,64.8L138.7,96H64c-35.3,0-64,28.7-64,64v256c0,35.3,28.7,64,64,64h384c35.3,0,64-28.7,64-64V160 c0-35.3-28.7-64-64-64h-74.7l-10.4-31.2C356.4,45.2,338.1,32,317.4,32H194.6C173.9,32,155.6,45.2,149.1,64.8z M256,384 c-53,0-96-43-96-96s43-96,96-96s96,43,96,96S309,384,256,384z'/%3E%3C/svg%3E");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

#photo_preview>div, #photo_preview label, #photo_preview a {
  width: 192px;
  height: 192px;
}

#photo_preview>div img, #photo_preview>div div {
  object-fit: cover;
  border: 1px solid black;
  height: 100%;
  width: 100%;
}

#photo_preview>div img {
  background-color: #ccc;
}

#photo_preview>div input {
  display: none;
}

#photo_preview>div label {
  cursor: pointer;
}

#photo_preview .photo_preview-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 8px;
  font-size: 20pt;
  padding: 4px 10px;
  cursor: pointer;
  text-align: center;
  color: white;
  text-shadow: 0px 0px 8px black, 0px 0px 8px black;
}

#photo_preview>div:hover .photo_preview-close {
  display: block;
}

#photo_preview .photo_preview-close:hover {
  color: black;
  text-shadow: 0px 0px 8px white, 0px 0px 8px white;
}

#photo_preview .photo_preview-Uploading+.photo_preview-close {
  display: block;
  padding: 16px 0;
  font-size: 32pt;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#photo_preview .photo_preview-Uploading img {
  opacity: 50%;
  width: 100%;
  height: 100%;
}

#photo_preview a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: black;
}

/*Personal area*/
.profile_img {
  max-width: 128px;
}

.profile_img>img {
  width: 100%;
  border-radius: 50%;
  border: 1px solid rgb(65, 178, 65);
  box-shadow: 2px 2px 20px 0px rgba(78, 206, 139, 0.75);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile_img>img[data-fancybox] {
  cursor: zoom-in;
}

.profile_small {
  max-width: 64px;
}

.profile_img>img {
  box-shadow: none;
}

.profilemain_container {
  display: flex;
  justify-content: center;
  gap: 40px;
  min-width: 800px;
  max-width: 80%;
  margin: auto;
}

.profile_titlecontainer {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.title_left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile_name {
  display: flex;
  flex-wrap: wrap;
}

.profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background-color: var(--maincolor);
  padding: 16px 12px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-size: 10pt;
  max-width: 150px;
  border: 1px solid #E5EDF6;
  text-align: center;
}

.profile-button:hover {
  background: rgb(31, 147, 52);
}

.profile-quantity {
  background-color: #EFEFF3;
  padding: 12px 24px;
  border-radius: 15px;
  color: var(--graycolor);
  margin-top: 16px;
}

.title_left2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  max-width: 800px;
  min-width: 600px;
  margin: auto;
}

.profile_textcontent {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile_info {
  color: #585981;
}

.profile_meaning {
  color: black;
  text-align: right;
  min-width: 128px;
  max-width: 640px;
}

.title_right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert_img {
  text-align: center;
  max-width: 198px;

}

.cert_img>img {
  width: 100%;
  object-fit: contain;
}

.cert_img>img[data-fancybox] {
  cursor: zoom-in;
}

/* Personal area change */

.change_logotext {
  display: flex;
  justify-content: space-between;
}

.change_container {
  margin-top: 48px;
  display: flex;
  gap: 16px;
}

.changeprofile_img {
  position: relative;
}

.changeprofile_img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 64px;
  padding: 12px;
  background-image: url(./images/Subtract.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--maincolor);
  border-radius: 16px;
}

.changeinput {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.change_info {
  color: #8F90A6;
}

.change_input {
  border: 1px solid #D0D0E3;
  color: black;
  border-radius: 15px;
  height: 36px;
  width: 400px;
  padding: 12px;
}

.change-hr {
  background-color: #D0D0E3;
  height: 1px;
  border: none;
  margin: 36px 0;
}

.change-logotext2 {
  margin-bottom: 24px;
}



.popup_password_change {
  width: 480px;
}

.popup_password_change h3 {
  text-align: center;
  margin: auto 16px;
}

.edit-profile-wrap {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.edit-profile-wrap h5 {
  text-align: left;
  font: bold 16pt Arial;
}

.edit-profile-image {
  width: 80%;
  justify-content: center;
  text-align: center;
  margin: auto;
  min-width: 196px;
  max-width: 512px;
  min-height: 196px;
  max-height: 640px;
  position: relative;
}

.edit-profile-image>img {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  min-height: 196px;
  max-height: 640px;
}

.edit-profile-overlay {
  background: #ffffff99;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  cursor: copy;
  border: 4px dashed white;
}

.edit-profile-wall {
  background: #00000099;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 390;
  cursor: not-allowed;
}

.not_drag .edit-profile-overlay, .not_drag .edit-profile-wall {
  display: none;
}

.profile_edit_load {
  display: flex;
  margin: 12px auto;
  margin-top: 32px;
  align-items: center;
  justify-content: space-around;
}

.profile_edit_load button, .profile_edit_load label {
  display: block;
  margin: 0;
}

.profile-ava {
  border-radius: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* FORMS */

[type="text"].form-input, [type="password"].form-input, [type="number"].form-input, textarea.form-input {
  border: 1px solid var(--graycolor);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-size: 12pt;
  vertical-align: bottom;
  transition: 100ms;
  font-family: inherit;
}

[type="submit"].form-input {
  background-color: var(--maincolor);
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 12pt;
  border: 1px solid #E5EDF6;
  letter-spacing: 1px;
  cursor: pointer;
  vertical-align: bottom;
}

[type="submit"].form-center {
  margin: 8px auto;
  display: block;
}

input[type="submit"].form-input:hover {
  background: #E5F3EC;
  color: black;
}

input[type="submit"][disabled].form-input {
  background: #aaa;
  color: #333;
  cursor: not-allowed;
}

input[type="text"][disabled].form-input {
  background: #ccc;
  cursor: not-allowed;
}

input[type="submit"][disabled].form-input:hover {
  background: #aaa;
  color: #333;
}

.form-input.Invalid {
  border-color: red;
  outline-color: red;
  background-color: rgb(255, 128, 0, 0.1);
}

h6.form-input {
  font-weight: bold;
  color: #666;
  margin: 6px;
  text-align: left;
  font-size: 12pt;
}

.form-input.enroll-input {
  width: 256px;
}

.enroll-title {
  font: bold 22pt Arial;
  margin: 16px auto;
}

.enroll-result {
  margin: 16px;
}

.enroll-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form input[type="text"], .login-form input[type="password"] {
  width: 384px;
  margin-bottom: 6px;
}

.action-button {
  background-color: #9aa;
  padding: 10px 10px;
  margin: 6px auto;
  border-radius: 10px;
  color: white;
  border: 1px solid white;
  font-weight: bold;
  font-size: 12pt;
  text-align: center;
  cursor: pointer;
  font: bold 14pt Arial;
  white-space: nowrap;
}

.action-button:hover {
  background-color: #E5F3EC;
  border-color: black;
  color: black;
}

.action-button[disabled], .action-button[disabled]:hover,
.action-button.disabled, .action-button.disabled:hover {
  cursor: not-allowed;
  background: #aaa;
  color: #333;
  border: 1px solid #666;
}

.red-button {
  background-color: crimson;
  color: white;
}

.red-button:hover {
  background-color: lightpink;
  color: black;
}

.green-button {
  background-color: var(--maincolor);
  color: white;
}

.green-button:hover {
  background-color: rgb(168, 236, 180);
  color: black;
}

.brown-button {
  background-color: #D4BD84;
  color: white;
}

.brown-button:hover {
  background-color: #f2dda9;
  color: black;
}

.button-wd {
  width: 198px;
}

.button-big {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
}

.buttons-save-cancel {
  display: flex;
  justify-content: space-evenly;
  margin-top: 16px;
}

.buttons-save-cancel>button {
  width: 150px;
  margin-left: 0;
  margin-right: 0;
}

.buttons-manual-close {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 16px;
}

.buttons-manual-close>button {
  _width: 128px;
  margin-left: 0;
  margin-right: 0;
}

.buttons-manual-close>button:first-child {
  margin-right: auto;
}

.buttons-manual-close>button:last-child {
  margin-left: auto;
}

.SingleImageLoading>img {
  transition: 0.4s linear;
  border: 2px dashed black;
  opacity: 1;
  cursor: not-allowed !important;
}

.SingleImageLoadingPulse>img {
  opacity: 0;
}

/* POPUP */

.modal_popup_back {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #333333aa;
  display: flex;
  z-index: 88;
  transition: 100ms;
  opacity: 0%;
}

.modal_popup_back.transition {
  opacity: 100%;
}

.modal_popup_wrap {
  overflow: auto;
  background: white;
  margin: auto;
  min-width: 256px;
  min-height: 128px;
  border-radius: 16px;
  padding: 12px;
  max-height: 100%;
}

.modal_popup_body {
  padding: 12px;
  overflow: auto;
  height: 100%;
}

/* user list */

.table_users {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #ddd;
  font-size: 16px;
}

.table_users th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.table_users th {
  background-color: #f2f2f2;
  color: #333;
}

.table_users tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table_users tbody tr:hover {
  background-color: #ddd;
}

.table-sort {
  cursor: pointer;
}

.table-sort u {
  border-bottom: 1px dashed gray;
}

.sorting-asc::after, .sorting-desc::after {
  padding-left: 6px;
  color: black;
  font-size: 120%;
  text-decoration: none;
}

.sorting-asc::after {
  content: '↑';

}

.sorting-desc::after {
  content: '↓';
}

/* PAGINATION */

.nav-pagination {
  text-align: center;
  margin: 0 auto;
}

.nav-pagination>ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
  padding: 0;
  padding: 16px;
  display: inline-block;
  border-radius: 6px;
}

.nav-pagination li {
  display: inline-block;
  margin: 4px;
}

.nav-pagination a:hover {
  background-color: black;
  color: white;
}

.nav-pagination li>a {
  font-size: 14pt;
  font-family: monospace;
  color: #000;
  text-decoration: none;
  border: 1px solid black;
  margin: 4px;
  padding: 4px 8px;
}

.nav-pagination li>a.page-selected {
  text-decoration: underline;
  background-color: var(--maincolor);
  color: white;
  font-weight: bold;
}

/* CLAIM */

.popup_claim_user {
  width: 85vw;
}

.popup_claim_user h2 {
  text-align: center;
}

.popup_claim_guest {
  max-width: 600px;
}

.popup_claim_guest h2 {
  text-align: center;
}

.popup-wide {
  width: 800px;
}

/* claim */

.claim-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.buttons {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  outline: none;
  transition: background-color 0.3s ease;
}

/* cardclaim */

.smallcard {
  padding: 15px;
  margin: 12px auto;
  border: 1px solid #ccc;
}

.cardclaim_container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cardclaim_container~.small-card-wrap {
  margin-top: 24px;
}

.cardclaim_image {
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 250px;
  min-width: 128px;
  max-height: 170px;
  min-height: 128px;
}

.cardclaim_image>img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  display: none;
  cursor: pointer;
  border: 1px solid white;
}

.cardclaim_image>img:first-child {
  display: inline-block;
}

.cardclaim_image>img:hover {
  border-color: var(--maincolor);
}

.claimlogotext_container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 200px;
  max-width: 250px;
  margin-left: 16px;
  position: relative;
  margin-right: auto;
}

.claimlogotext_container p {
  font-size: 12px;
  max-height: 110px;
  overflow-y: hidden;
  text-align: justify;
}

.claimlogotext_container p::before {
  content: '';
  width: 100%;
  background-color: white;
  height: 20px;
  display: block;
  position: absolute;
  bottom: -8px;
  box-shadow: 0px -24px 24px white, 0px -16px 16px white, 0px -12px 12px white, 0px -8px 8px white;
}

.cardclaim_pricecontainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;

}

.card_claimlogotext {
  font-size: 12px;
  font-weight: var(--semibold);
  margin-bottom: 0;
}

.claimcard_price {
  font-size: 12px;
  margin-bottom: 0;
}

.claim-button {
  background-color: var(--maincolor);
  padding: 12px;
  border-radius: 16px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  border: 1px solid #E5EDF6;
  text-align: center;
}

.claim_colortext {
  color: var(--graycolor);
  font-size: 12px;
}

.claim_done {
  border: 1px solid #E5EDF6;
  max-width: 820px;
  margin: 12px auto;
}

/*Tabs*/

.profile-tabs {
  display: flex;
  justify-content: space-between;
  width: 800px;
  margin: 0 auto;
}

.profile-tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-bottom: none;
  background-color: #f1f1f1;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.profile-tab.Active {
  background-color: rgb(110, 179, 144);
  color: #fff;
}

.tab-content {
  padding: 20px;
  border: 1px solid #ccc;
  width: 800px;
  margin: 0 auto;
  margin-top: -1px;
}

/*Стиль карточки заявок*/

.claim_border {
  border: 1px solid black;
  padding: 16px;
  margin: 16px auto;
  max-width: 800px;
}

.DealInfo {
  overflow: hidden;
}

.popup-logo {
  text-align: center;
}

.small-card {
  max-width: 800px;
  margin: 20px auto;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.small-card-wrap {
  padding: 20px;
  border: 1px solid #ccc;
  max-width: 800px;
  margin: auto;
}

.small-card-left, .small-card-right {
  flex-shrink: 0;
}

.small-card-left img {
  width: 96px;
  border-radius: 50%;
  border: 1px solid rgb(65, 178, 65);
  box-shadow: 2px 2px 20px 0px rgba(78, 206, 139, 0.75);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.small-card-right img {
  text-align: center;
  max-width: 120px;
}

.claim-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-claim_text {
  color: var(--graycolor);
  text-align: justify;
  font-size: 12px;
}

.border_none {
  border: none;
  padding: 0 16px;
}

/* popup */

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  overflow: auto;
}

.popup {
  background-color: #fff;
  width: 350px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 auto;
}

.popup h2 {
  margin-bottom: 20px;
}

label {
  /* display: block; */
  margin-bottom: 8px;
}

.hidden-checkbox {
  cursor: pointer;
}

.hidden-checkbox input {
  display: none;
}

.hidden-checkbox>b {
  padding: 0 8px;
  vertical-align: bottom;
}

.hidden-checkbox>b, .hidden-checkbox input:checked~b~b {
  display: none;
}

.hidden-checkbox>b~b, .hidden-checkbox input:checked~b {
  display: initial;
}

/*
input {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
*/

.close-btn {
  margin-top: 20px;
  background-color: #dc3545;
}

button:hover {
  opacity: 0.8;
}

.remove_animate {
  height: 0px !important;
  _margin: 0px !important;
  _opacity: 0;
}

/* table-guest */

.table-guest {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  max-width: 1024px;
  margin: 0 auto;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.table-guest th {
  background-color: var(--maincolor);
  color: white;
}

.table-guest tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table-guest tr:hover {
  background-color: #ddd;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
}

/* DOCS */

.docs-table {
  border-collapse: collapse;
}

.docs-table td, .docs-table th {
  border: 1px solid #ddd;
  padding: 10px;
}

.docs-table td:first-child {
  white-space: nowrap;
}

.docs-table a {
  color: var(--maincolordark);
}

.docs-table a:hover {
  text-decoration: underline;
}

/*Contacts*/

.contact-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  width: 85%;
  max-width: 900px;
  text-align: center;
}


.contact-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-card i {
  font-size: 2em;
  color: rgb(110, 179, 144);
  margin-bottom: 15px;
}

.contact-card p {
  margin: 0;
  color: #555;
  font-size: 1em;
}

.contact-card a {
  color: rgb(110, 179, 144);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: rgb(70, 134, 102);
}

/*partners*/

.partners {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0 auto;
  max-width: 100%;
  padding-bottom: 20px;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: opacity 0.5s ease;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 250px;
}

.partner:hover {
  opacity: 1;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.partner img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.partner img:hover {
  transform: scale(1.1);
}

.partner p {
  font-size: 18px;
  margin-top: 10px;
}

.partner .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--maincolor);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.partner .btn:hover {
  background-color: rgb(50, 100, 76);
}

/* CALLBACK*/

.callback-cards {
  display: flex;
  _flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.callback-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 800px;
  width: 80%;
  position: relative;
}

.callback-card:hover {
  /*transform: translateY(-8px);*/
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.callback-card-header {
  color: rgb(110, 179, 144);
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.callback-card-header::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: rgb(110, 179, 144);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.callback-card p {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 1em;
}

.callback-card p strong {
  font-weight: bold;
  color: #333;
}

.callback-card-message {
  background-color: #eef7f0;
  color: #333;
  border-left: 6px solid rgb(110, 179, 144);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  font-size: 1em;
  position: relative;
}

.callback-card-message::before {
  content: '💬';
  font-size: 1.5em;
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: #fff;
  border-radius: 50%;
  padding: 5px;
}

.callback-processing {
  border: 2px solid rgb(110, 179, 144);
  background-color: #eaf6ef;
}

.callback-processing::before {
  content: '🔒 В обработке';
  color: rgb(110, 179, 144);
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}
/* 404, 403 */
.container404 {
    background: rgb(110, 179, 144);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-in-out;
}

.container404 h1 {
    font-size: 8em;
    margin: 0;
    color: #fff;
}

.container404 p {
    font-size: 1.5em;
    margin: 20px 0;
    color: #fff;
}

.container404 .button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1em;
    color: rgb(110, 179, 144);
    background: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.container404 .button:hover {
    background: #e0e0e0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}




/* EOF */