@media all   and (max-width: 780px) {

    .mobile {
        display: block;
    }

    header {
        height: 79px;
    }
    header, footer {
        padding: 14px 26px;
    }

    .container {
        width: 100%;
        padding: 0 50px;
    }

    a.logo
    {
        margin-top: 12px;
        width: 126px;
        height: 20px;
        background: url(../templates/frontend/images/logo2x.png) no-repeat;
        background-size: contain;
    }

    h1, h2 {
        font-size: 20px;
    }

    .subheader, .nav a, .langbar a, .button-wrap button,
    .show_once,  .popup-wrap label {
        font-size: 14px;
    }
    .subheader {
        padding-bottom: 24px;
        padding-top: 3px;
    }
    .pass_gen label {
        font-size: 12px;
    }
    .line-row .ib {
        width: 100%;
    }
    #symbolsNumber {
        padding: 8px 12px;
        width: 40px;
        height: 32px;
        font-size: 12px;
    }
    .symbolsNumber-wrap {
        padding-top: 10px;
    }
    .check-top, .check-bottom {
        display: block;
        margin-top: 8px;
    }
    .main-checkboxes {
        display: block;
        float: none;
        width: 100%;
    }

    .pass_gen {
        padding-top: 56px;
        padding-bottom: 30px;
    }

    #result-link {
        width: 80%;
    }
    .sendemail {
        left: 80%;
    }
    .copy-text {
        left: calc(80% + 40px);
    }
    .button-wrap {
        padding-top: 24px;
    }
    .secret-header {
        padding-top: 32px;
    }
    .dark-wrap {
        padding-bottom: 56px;
    }
    .card-body-success {
        width: 100%;
        padding: 191px 50px;
    }
    #final_result {
        color: #aaa;
    }
    .res-expired {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        box-sizing: border-box;
    }
    .expired-img {
        width: 270px;
        height: 213px;
        background-size: contain;
    }
    .expired-wrap {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }
    .expired-hdr {
        font-size: 20px;
    }
    .popup-wrap, .captcha-input-wrap {
        width: 100%;
    }
    .captcha-image {
        margin-bottom: 10px;
    }
    .popup-wrap .line-row {
        margin-top: 10px;
    }
    .popup-wrap {
        padding: 24px 30px;
    }
}

@media all   and (max-height: 800px) {
    .res-expired {
        margin: 30px auto;
    }
}