@media (max-width: 820px) {
    header {
        position: static;
    }
    aside {
        position: static;
        width: auto;
    }
    main {
        padding: 25px 0 40px;
        margin-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 568px) {
    main {
        padding: 40px 0;
    }
    aside {
        padding-bottom: 24px;
        border-bottom: 1px solid #adadb0;
    }
    header {
        padding: 12px 16px;
        min-height: 100%;
    }
    .logo {
        display: none;
    }
    .logo--mobile {
        display: block;
    }
    .main--container {
        margin-top: 40px;
    }
    .form__field {
        flex-direction: column;
        align-items: baseline;
    }
    .form__field--label {
        margin-bottom: 8px;
        font-weight: 400;
        font-size: 14px;
        opacity: 1;
    }
    .form__field--label_bold {
        font-size: 17px;
        font-weight: bold;
    }
    .form__field_block {
        margin-bottom: 15px;
    }
    .form__field_default {
        margin-bottom: 12px;
    }
    .input_xl,
    .input_md {
        width: 100%;
    }
    .switch-field {
        background: none;
        flex-direction: column;
    }
    .switch-field label {
        background: none;
        padding: 0;
    }
    .switch-field label:not(:last-child) {
        margin-right: 0;
    }
    .switch-field input {
        position: static;
        clip: auto;
        height: auto;
        width: auto;
        overflow: auto;
    }
    .switch-field input:checked + label {
        background: none;
        color: var(--text-color-dark);
    }
    .switch-field__radio--container {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    input[type="radio"] {
        position: absolute;
        opacity: 0;
    }

    input[type="radio"] + .radio-label:before {
        content: "";
        background: #fff;
        border: 1.2px solid var(--primary-color);
        border-radius: 7.2px;
        display: inline-block;
        width: 24px;
        height: 24px;
        position: relative;
        cursor: pointer;
        transition: all 250ms ease;
        margin-right: 8px;
    }

    input[type="radio"]:checked + .radio-label:before {
        background-color: var(--primary-color);
        box-shadow: inset 0 0 0 3px #fff;
    }

    .radio-label {
        display: flex;
        align-items: center;
    }
    .btn_lg {
        width: 100%;
    }
    .form__file--cadastre,
    .form__file--identity {
        padding: 0;
        width: 100%;
    }
    .form__field--btn-container {
        width: 100%;
    }
    .input_xs {
        width: 100%;
    }
    .form__field--wrap {
        width: 100%;
        flex-wrap: wrap;
    }
    .form__field--col {
        flex: 0 0 48%;
        margin-bottom: 10px;
    }
    .form__file--label {
        font-weight: 400;
        font-size: 14px;
        color: var(--text-color-dark);
        opacity: 1;
    }
    .form__file--desc {
        opacity: 1;
        width: 100%;
        padding: 0;
    }
    .form__file--text {
        opacity: var(--text-opacity);
    }
    .form__file--cadastre {
        display: none;
    }
    .form__file--wrap {
        width: 100%;
    }
    .form__submit {
        margin-top: 30px;
    }
    .form__file--cadastre_mobile {
        display: block;
    }
    .form__file--text {
        display: none;
    }
    .form__file--text_mobile {
        font-weight: 400;
        font-size: 13.0505px;
        color: var(--text-color-dark);
        opacity: var(--text-opacity);
        margin-top: 8px;
    }
    .form__person {
        margin-bottom: 40px;
    }
    .form__field--input-container {
        width: 100%;
    }
    .success--result {
        width: 100%;
    }
    .success--result__title {
        font-weight: 700;
        font-size: 25.2863px;
        color: var(--text-color-dark);
        width: fit-content;
    }
    .success--result__btn {
        position: absolute;
        bottom: 30px;
    }
    .form__location--actions {
        flex-direction: column;
    }
    .form__location--col {
        width: 100%;
    }
    .form__location--col:not(:last-child) {
        margin-bottom: 5px;
    }
    textarea {
        height: 7em;
    }
    .form__label--container {
        margin-bottom: 8px;
    }
    #cadastre_error {
        margin-top: 0;
    }
    .input {
        font-size: 16px;
    }
    .popup__map--container {
        width: 100%;
        height: 85%;
        left: 0;
        bottom: 0px;
        animation: fadeTop 0.3s;
        transform: translate(0);
    }
    .popup {
        background-color: rgba(0, 0, 0, 0.8);
    }
    .popup.is-visible .popup__map--container {
        animation: fadeBottom 0.3s;
    }
    .btn_primary {
        font-size: 16px;
    }
    #search_location {
        width: 300px;
        top: 60px!important;
        left: 10px!important;
    }
    .popup__submit {
        bottom: 30px;
    }
}

@media (max-width: 414px) {
    .form__file strong {
        width: 230px;
    }
}

@media (max-width: 1200px) {
    .logo--mobile {
        display: block;
    }
}
@media (max-width: 768px) {
    html{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    }

    body
    {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    .logo--mobile {
        margin: 15px 0px;
    }

    .header__wrap {
        display: none;
    }
    #sub-menu {
        display: none;
    }
    #menu {
        display: none;
    }
    #mob_more {
        display: none;
    }

    #mob_more {
        display: flex;
    }
    #mob_menu {
        display: flex;
    }
    #mob_menu li:nth-child(7) {
        width: 8rem;
    }
    #mob_menu li:nth-child(15) a svg{
        width: 40px;
    }
    #mob_menu li:nth-child(17) a svg{
        width: 40px;
    }
    #sub-mob_menu {
        display: flex;
    }
    .header__mob {
        display: flex;
        flex-direction: column;
        position: fixed;
        background-color: white;
        z-index: 9;
        padding: 0 20px;
        width: 100%;
    }
    .header__mob .header__menu {
        overflow-x: auto;
    }
    .mobile_menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header {
        padding: 0 !important;
        margin-bottom: 50px;
    }
    .header__menu-list li a {
        width: 100%;
        flex-direction: row;
    }
    .header__menu-list li a svg {
        width: 30px;
        margin-right: 5px;
    }
}