.mm-modal {
    display: none;
    max-width: 640px;
    max-height: calc(100vh - 100px);
    padding: 26px;
    background: #fff;
    border-radius: 16px;
    position: fixed;
    margin-left: 25px;
    margin-right: 25px;
    top: 70px;
    z-index: 100000;
    border: 1px solid #C5CAD1;
    box-shadow: 0 8px 16px rgba(18, 42, 69, 0.25);
    overflow-y: auto;
}

.mm-solo-page {
    display: block;
    max-width: unset;
    margin: 0;
    top: unset;
    z-index: unset;
    box-shadow: unset;
    overflow-y: unset;
    position: unset;
    max-height: unset;
}

.mm-modal.active {
    display: block;
}

.mm-subheader-wrapper {
    margin-top: 24px;
    margin-bottom: 16px;
}

.mm-subheader-wrapper.first {
    margin-top: 0;
}

.mm-subheader {
    color: #747D8A;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.mm-main-card-wrapper {
    margin: -8px;
    display: flex;
    flex-wrap: wrap;
}

.mm-else-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 8px -8px -8px;
}

.mm-card {
    position: relative;
    cursor: pointer;
    transition: .1s ease-in;
    background: rgba(242, 244, 247, 1);
    border-radius: 8px;
    padding: 12px;
    margin: 8px;
    width: calc(33% - 16px);
}

.mm-card-badge {
    position: absolute;
    background: #3687FF;
    top: 0;
    right: 0;
    color: #fff;
    padding: 5px 10px;
    font-size: 10px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.mm-card .icon {
    margin-bottom: 8px;
}

.mm-card .title {
    color: rgba(41, 46, 54, 1);
    font-weight: 600;
}

.mm-card .subtitle {
    font-size: 11px;
    color: rgba(116, 125, 138, 1);
}

.mm-card .subtitle-mobile {
    display: none;
}

.mm-else-card {
    display: flex;
    align-items: center;
}

.mm-else-card .icon {
    margin-right: 8px;
    margin-bottom: 0;
}

.mm-items-wrapper, .mm-contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: -6px;
}

.mm-item {
    transition: .1s ease-in;
    display: flex;
    align-items: center;
    margin: 6px;
    width: calc(50% - 12px);
    font-weight: 500;
    color: rgba(64, 70, 81, 1);
}

.mm-item:hover {
    opacity: .7;
    color: rgba(64, 70, 81, 1);
}

.mm-item .icon, .mm-contact .icon {
    display: flex;
    align-items: center;
    margin-right: 4px;
}

.mm-contact {
    cursor: pointer;
    transition: .1s ease-in;
    display: flex;
    align-items: center;
    margin: 6px;
    background: rgba(242, 244, 247, 1);
    padding: 4px 8px;
    border-radius: 28px;
    color: rgba(64, 70, 81, 1);
}

.mm-card:hover, .mm-contact:hover, .mm-card.active {
    background: rgba(221, 226, 235, 1);
}

.mm-contact:hover {
    color: rgba(64, 70, 81, 1);
}

@media (max-width: 576px) {
    .mm-card {
        width: calc(50% - 16px);
    }

    .mm-else-card {
        width: 100%;
    }

    .mm-item {
        width: 100%;
    }

    .mm-modal {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 390px) {
    .hide-mobile {
        display: none;
    }

    .subtitle-mobile {
        display: block !important;
    }
}

/** WTF **/
.mob_menu_link {

    width: 56px;
    height: 60px;
    background: #2C343F;

    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;

    font-size: 24px;
    color: #fff;
    cursor: pointer;
    border: none;
}

.th_menu_service_name {
    color: #545454;
    font: 700 14px 'Open Sans';

    position: relative;
    min-width: 24px;
    height: 34px;

    cursor: pointer;
    transition: border .2s linear;
    letter-spacing: -.04em;
    text-transform: uppercase;

    border: none;
    background: none;
}

.top_menu {
    align-items: stretch;
    align-content: stretch;
    flex-wrap: nowrap;
}

.flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}