html,
body {
    min-width: 240px;
}
.wrapper, .DEF .wrapper {
    min-width:240px;
    max-width:10000px;
}
.title-page-pseudo-reg-form {
    min-width: 320px;
}
.topline__mobile-link {
    display: none!important;
}
@media all and (max-width: 1370px) {
    .footer__bottom-line {
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }
    .footer__bottom-line-2 {
        display: grid;
        grid-template-columns: 50% 50%;
        background: linear-gradient(to right, transparent, transparent 45%, #fff 45%, transparent calc(45% + 2px));
        white-space: normal;
        margin-bottom: 1em;
    }
    .footer__bottom-line-item, .footer__bottom-line-item:first-child {
        padding: 0;
    }
    .footer__bottom-line-item {
        border-right: none;
    }
    .footer__bottom-line-item {

    }
}
@media all and (max-width: 1100px) {
    .container.container--footer {
        grid-template-areas:
            "social"
            "menus"
            "social-2"
            "midline"
            "legal";
        grid-template-columns: 100%;
    }
    .footer {
        padding-top: 20px!important;
        font-size: 13px;
        line-height: 1.4
    }
    .footer__logo-img {
        width: 135px;
    }
    .footer__social {
        padding: 0 2ex;
        align-items: center;
    }
    .footer__follow-us {
        justify-content: center;
    }
    .footer__menus {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
        gap: 1em;
        text-align: left;
        margin-left: 5vw;
        width: calc(100% - 5vw);
    }
    .footer__menu-title {
        font-size: 1.2em;
        margin-bottom: 1em;
    }
    .footer__menu-contents-wrap {
        flex-direction: column;
        gap: 1em;
        align-items: flex-start;
    }
    .footer__legal {
        grid-template-columns: 100px 1fr;
        margin: 0 auto;
        gap: 20px;
        grid-template-areas:
            "cards company1"
            "cards company2";
    }
    .footer__legal-company {
        text-align: left;
        font-size: 15px;
        border-left: none!important;
        padding-left: 0;
    }
    .footer__legal-company-name {
        font-size: 1.01em;
        margin-bottom: 0.5em
    }
    .footer__menu-title-chevron {
        display: inline-block;
        margin-left: 2ex;
    }
    .footer__mid-line {
        flex-direction: column;
        font-size: 16px;
        align-items: center;
    }
    .footer__bottom-line {
        font-size: 12px;
        gap: 0;
    }
    .footer__bottom-line-ccbill {
        text-align: center
    }
}
@media all and (max-width: 1000px) {
    .wrapper, .DEF .wrapper {
        width: auto;
    }
    .topline {
        padding-left: 3%;
        padding-right: 3%;
    }

    .reg-advantages-list li {
        box-sizing: border-box;
        margin-right: 0;
        width: 50%;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
        vertical-align: top;
    }

    .reg-5-reasons {
        font-size: 1.6em;
    }

    /*Lady*/
    .mainContent {
        box-sizing: border-box;
        padding-left: 25px;
    }

    .DEF .mainContent {
        width: 100%;
        padding-left: 0;
    }

    .aside {
        width: 25%;
        box-sizing: border-box;
    }
    .form input[type="text"], .form input[type="password"] {
        width: 100%;
        box-sizing: border-box;
    }
    .menu2 a, .menu2 strong {
        padding-left: 20px;
    }
    .ladies-catalogue-list li.ladies-catalogue-list-item {
        width: 50%;
        float: none;
        display: inline-block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin-right: 0;
    }
    .ladies-catalogue-list-item .brief {
        margin: 0 0 1em 0;
    }
    .ladies-catalogue-item-preview em.chat-now {
        bottom: 0;
        right: 0;
        left: 0;
        position: relative;
        font-size: 13px;
    }
    .mainContent {
        padding-bottom: 0;
    }
    .menu--buttons .hold {
        display: block;
    }
    .menu--buttons a, .menu--buttons strong {
        margin: 0 3px 3px 0;
    }
    .footer__follow-us-item {
        flex-basis: 45px;
        height: 41px;
        padding: 8px;
    }
}

@media all and (max-width: 1000px) {
    .header-girls {
        display: none;
    }
}

@media all and (max-width: 760px) {
    .mobile-block {
        display: block!important;
    }
    .mobile-inline-block {
        display: inline-block!important;
    }
    .mobile-hide {
        display: none!important;
    }

    .aside {
        display: none;
        width: 0;
        overflow: hidden;
    }

    .container {
        width: 100%;
    }

    .mainContent {
        width: 100%;
        padding-left: 0;
    }

    .content {
        margin-top: 1em;
    }

    .mobile-menu-trigger-wrapper {
        display: block;
        margin: 0;
    }

    .mobile-menu-trigger {
        display: inline-block;
    }

    .aside:target {
        display: block;
    }
    .aside:target .menu2 {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 99;
        margin-top: 0;
        box-sizing: border-box;
        background-color: #f6f6f6;
        overflow: auto;
    }

    .menu2 > ul {
        margin-top: 0;
    }

    .menu2 .comparable {
        width: 100%;
        width: calc(100% + 10px);
    }
    .catalog-register-today {
        margin-left: 0;
        display: block;
        text-align: center;
        padding: 10px;
    }
    .interview-list-item-q, .interview-list-item-a {
        display: block;
    }
    .interview-list-item-a {
        line-height: 1.5;
        margin-bottom: 10px;
    }
}

@media all and (max-width: 640px) {
    .topline-slogan {
        display: block;
        text-align:left;
        line-height: 1.2em;
    }
    .topline {
        height: 86px;
    }
    .topline-login {
        position: absolute;
        right: 2%;
        top: 35px;
        line-height: 1;
    }
    .topline-login--registration {
        display: none;
    }
    .DEF .reg-form {
        width: 100%;
        margin-top: 0;
    }
    .featured-ladies {
        margin: 15px 0 0;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
    .featured-ladies ul {
        position: relative;
        height: auto;
        width: 100%;
        right: 0;
    }
    .featured-ladies ul li {
        width: 144px;
        margin-right: 10px;
    }
    .reg-advantages {
        padding: 2em 0;
        margin-top: 3em;
    }
    .reg-advantages-list li {
        width: 100%;
    }
    .reg-testimonial-content {
        padding: 1em 2em;
    }
    .reg-testimonial-content-quote::before {
        left: 7px;
    }
    .reg-testimonial-content-quote::after {
        right: 8px;
    }
    .reg-testimonials-slider .flex-direction-nav {
        display: none;
    }
    .reg-testimonials {
        padding: 1em 0;
    }
    .reg-testimonials-wrapper {
        padding: 0 10px;
    }
    .reg-testimonials-slider ul {
        width: 100%;
    }
    .reg-testimonials-slider .flex-control-nav {
        left: 0;
    }
    .reg-testimonial-author {
        line-height: 31px;
    }
    .reg-5-reasons-link {
        display: block;
        margin: 1em auto 0px;
        width: 60%;
    }
    .badge-confirmed-profile-aside {
        display: none;
    }
    .sp_menu__arrows {
        display: none;
    }
    .badge-confirmed-profile-above {
        display: inline-block;
        margin-top: 1em;
    }
    .sp_menu_birthday_block {
        float: none;
        margin-left: 0;
        clear: both;
        text-align: center;
        margin-bottom: 1em;
    }
    .reg-advantages-title, .reg-testimonials-title {
        margin: 0 0 1em;
    }
    .reg-advantages-list__item-title {
        margin-bottom: 10px;
    }
    .mobile-show {
        display: block;
    }
    .mobile-hide {
        display: none;
    }
    .quick-search > div {
        height: auto;
    }
    .quick-search > div br {
        display: none;
    }
}

@media all and (max-width: 480px) {
    .topline-slogan {
        text-align: center;
        line-height: 1.2em;
    }
    .sp_menu_name_block {
        width: auto;
    }
    .lady-profile-nav {
        overflow: auto;
    }
    ul.tabs {
        white-space: nowrap;
    }
    .sp_menu_birthday_block {
        text-align: left;
    }
    .chat_link {
        clear: both;
        margin-left: 0;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    ul.tabs li {
        box-sizing: border-box;
        padding: 0.5em 0;
        width: 31%;
        min-width: 0;
    }
    .profile-photo {
        float: none !important;
        width: 100%;
        max-width: 480px;
        margin: 1em auto!important;
        min-height: 0!important;
        line-height: 1!important;
    }
    #tbl_ {
        width: 100%;
        display: inline-table;
        float: none;
    }

    .quick-search {
        display: block;
    }
    .quick-search > div {
        height:auto;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        margin: 0 0 1em!important;
    }
    .simple-block {
        padding: 20px 10px;
    }
    .simple-block-middle-form {
        width:auto;
    }
    .simple-block-middle-form .label-input-container {
        text-align: left;
        width: 100%;
        display: inline-block;
        padding-right: 0;
    }
    .simple-block-middle-form .label-input-container:empty {
        display: none;
    }
    .simple-block-middle-form .input-container {
        width: 100%;
    }
    .simple-block-middle-form button[type="submit"] {
        margin: 1em auto;
    }
    .ladies-catalogue-list li.ladies-catalogue-list-item {
        width: 100%;
        margin: 0 auto 10px;
        display: block;
    }
    .ladies-catalogue-nav li.page-ref {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .giftdelivery-cat-list-item {
        width: 100%;
    }
    .gift img.preview {
        float: none!important;
        display: block!important;
        margin: 0 auto!important;
    }
    .giftdelivery-top-form-login, .giftdelivery-top-form-reg {
        width: 100%;
        display: block;
        text-align: left;
        line-height: 2.5em;
    }
    .flowersdelivery-bouquet-list-item {
        width: 49%;
    }
    .flowersdelivery-details-image {
        float: none;
        margin: 1em 0;
        width: 100%;
        text-align: center;
        clear: both;
    }

    .what-is-live-chat-links {
        float: none;
    }
    .social-reg-form {
        margin-left: auto!important;
        margin-right: auto!important;
        margin-bottom: 10px!important;
        width: 180px;
    }
    article img.left, article img.f-l, article img.f-r, article img.right {
        display: block;
        float: none;
        margin: 1em auto;
    }
}

/* LOTW */
@media (max-width: 1000px) {
    .gotw-intro-standart-inf, .gotw-photo-img {
        float: none;
        margin-bottom: 1em;
    }

    .gotw-intro-standart-inf:after {
        content: "";
        display: block;
        clear: both;
    }

    .gotw-content > div {
        height: auto!important;
    }

    .gotw-photo {
        float: none!important;
        height: auto!important;
        position: static!important;
        text-align: center!important;
    }

    .gotw-photo img, .gotw-photo-img, .gotw-photo-img img {
        max-width: 100%;
        width:auto!important;
        height:auto!important;
        position: static!important;
        margin: 1em 0!important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .photo-descr td {
        padding-top: 0!important;
        height: auto!important;
    }
}