@media screen and (max-width: 1023px) {
  body:not(.authorize-page) {
    padding-top: 49px;
  }
}

@media screen and (max-width: 1023px) {
  .header-container {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
  }
  .header-container .desktop-header {
    display: none;
  }
  .header-container .mobile-header {
    display: block;
  }
  .header-container .mobile-header .header-content {
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 9px 0;
    background-color: #34404c;
  }
  .header-container .mobile-header .header-content .container {
    display: flex;
    width: 100%;
    align-items: center;
  }
  .header-container .mobile-header .open-mobile-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 27px;
    width: 18px;
    height: 12px;
    border: none;
    background-color: transparent;
  }
  .header-container .mobile-header .open-mobile-menu span {
    width: 12px;
    height: 2px;
    background-color: #ffffff;
  }
  .header-container .mobile-header .open-mobile-menu::before,
  .header-container .mobile-header .open-mobile-menu::after {
    position: absolute;
    display: block;
    content: "";
    left: 0;
    height: 2px;
    background-color: #ffffff;
  }
  .header-container .mobile-header .open-mobile-menu::before {
    top: 0;
    width: 18px;
  }
  .header-container .mobile-header .open-mobile-menu::after {
    bottom: 0;
    width: 6px;
  }
  .header-container .mobile-header .logo-block .logo {
    display: block;
    width: 55px;
    height: 31px;
  }
  .header-container .mobile-header .logo-block img {
    max-width: 100%;
    max-height: 100%;
  }
  .header-container .mobile-header .logout-block {
    margin-left: auto;
  }
  .header-container .mobile-header .logout-block .login {
    width: 99px;
    padding: 0.21em 1.2em;
  }
  .header-container .mobile-header .mobile-nav {
    position: fixed;
    display: flex;
    top: 0;
    left: 100%;
    padding-top: 115px;
    padding-top: clamp(65px, 15vh, 115px);
    padding-bottom: 24px;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    transition: left 0.1s linear;
  }
  .header-container .mobile-header .mobile-nav .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
  .header-container .mobile-header.nav-opened .mobile-nav {
    left: 0;
  }
  .header-container .mobile-header .menu-block {
    flex-grow: 1;
    overflow: auto;
  }
  .header-container .mobile-header .menu-block li {
    margin-bottom: 24px;
    list-style: none;
  }
  .header-container .mobile-header .menu-block li:last-child {
    margin-bottom: 0;
  }
  .header-container .mobile-header .menu-block li.active a {
    font-weight: 600;
  }
  .header-container .mobile-header .menu-block a {
    display: flex;
    text-decoration: none;
  }
  .header-container .mobile-header .mobile-nav-policy {
    padding-top: 4px;
    border-top: 1px solid #18a763;
  }
  .header-container .mobile-header .mobile-nav-policy p {
    text-align: center;
  }
  .header-container .link-counter {
    background-color: rgba(52, 64, 76, 0.3);
  }
}

@media screen and (max-width: 1023px) {
  .breadcrumbs {
    margin: 36px 0;
  }
}
@media screen and (max-width: 575px) {
  .breadcrumbs {
    margin: 25px 0;
  }
}

@media screen and (max-width: 1023px) {
  .custom-upload-file.file-uploaded .right-column {
    display: block;
  }
  .custom-upload-file.file-uploaded .right-column .uploaded-file-source {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media screen and (max-width: 575px) {
  .custom-upload-file .uploaded-file-wrap {
    width: 100%;
  }
  .profile-create-apply-completed .object-content{
      grid-gap: 0 0px;
  }
}
@media screen and (max-width: 767px) {
  .custom-upload-file .right-column {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .custom-upload-file .right-column .uploaded-file-source {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media screen and (max-width: 575px) {
  .custom-upload-file .upload-file-button {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  body h1 {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 1023px) {
  .authorize-page .authorize-window {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
  }
  .authorize-page .authorize-window-img {
    display: none;
  }
  .authorize-page .authorize-window-content-wrapper {
    padding: 0 20px;
  }
}

.profile-apply .info-block {
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .profile-apply .info-block {
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 575px) {
  .profile-apply .info-block {
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 767px) {
  .profile-apply h2 {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 767px) {
  .profile-page .votes-item {
    grid-template-columns: 1fr;
    grid-gap: 30px 0;
  }
}
@media screen and (max-width: 575px) {
  .profile-page .votes-item {
    padding: 20px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .objects-list {
    margin-bottom: 35px;
  }
}
@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .object {
    margin-bottom: 25px;
  }
}
@media screen and (max-width: 575px) {
  .profile-create-apply .create-apply-form .object-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px 0;
    padding: 20px;
  }
}
@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .object-delete-object {
    right: 0;
  }
}

@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .object-delete-object span {
    display: none;
  }
}
@media screen and (max-width: 1279px) {
  .profile-create-apply .create-apply-form .map-block .object-map-container {
    max-width: 818px;
  }
}
@media screen and (max-width: 1023px) {
  .profile-create-apply .create-apply-form .map-block .object-map-container {
    max-width: 558px;
  }
}
@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .map-block .object-map-container {
    max-width: 378px;
  }
}
@media screen and (max-width: 575px) {
  .profile-create-apply .create-apply-form .map-block .object-map-container {
    max-width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  .profile-create-apply .create-apply-form .form-footer .save-apply {
    margin-right: auto;
  }
}
@media screen and (max-width: 767px) {
  .profile-create-apply .create-apply-form .form-footer {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    grid-gap: 2em;
    grid-auto-flow: column;
  }
  .profile-create-apply .create-apply-form .form-footer .save-apply {
    margin: 0;
  }
}
@media screen and (max-width: 575px) {
  .profile-create-apply .create-apply-form .form-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}
@media screen and (max-width: 575px) {
  .profile-create-apply .create-apply-form .add-object {
    width: 100%;
    text-align: center;
  }
}
