.mmenu {
    height: 16px; width: 25px; text-align: left; 
    position: absolute;
    top: 13px;
    left: 15px;
}
.mmenu:after, .mmenu:before, .mmenu div {
    background: #fff; 
    content: ''; position: absolute; height: 2px; width: 100%; border-radius: 5px;
}
.mmenu:after{bottom:0;}.mmenu:before{top:0;}.mmenu div{top:0;bottom:0;margin:auto;}.active .mmenu:after,.active .mmenu:before{top:0;bottom:0;margin:auto;}.active .mmenu:after{-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg);}.active .mmenu:before{-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg);}.active .mmenu div{display:none;}
.mwrap {
    display: none;
}

html {-webkit-text-size-adjust:100%;}
html, body {
    min-width: 320px;
}

#htel a {
    text-decoration: none;
    color: rgb(255, 0, 51);
}

@media screen and (min-width: 1041px) {
    #mainmenu > ul {
        padding-bottom: 0 !important;
    }
}
@media screen and (max-width: 1040px) {
    #wrapper, #top_menu, #header, #mainmenu, #main, #content.full_width {
        width: auto;
    }
    #wrapper {
        padding: 0 15px;
    }
    #header {
        height: 155px;
    }
    #logo {
        top: 34px;
        left: 0;
    }
    #htel {
        left: 220px;
    }
    #hmenu {
        top: auto;
        left: auto;
        bottom: 11px;
        right: 0;
    }
    #hmenu li {
        display: inline-block;
        margin-left: 10px;
    }
    #hlogin {
        left: auto;
        right: 180px;
    }
    #hsearch {
        left: auto;
        right: 145px;
    }
    #hbasket {
        width: auto;
    }
    #mainmenu {
        background-size: 100% 227%;
        height: auto !important;
    }
    #mainmenu > ul {
        display: block;
        height: auto;
        margin-right: 0;
        padding: 5px;
        padding-bottom: 76px;
    }
    #mainmenu > ul > li {
        height: auto;
        margin: 5px 10px;
        width: auto !important;
    }
    #mainmenu > ul > li > a {
        height: auto;
        line-height: 1.2;
        padding: 0 !important;
    }
    #mainmenu > ul > li > ul {
        width: auto;
        height: auto;
        top: auto;
        right: 0;
        bottom: 0;
        padding: 5px 10px;
    }
    #mainmenu > ul > li > ul > li {
        height: auto;
        margin: 5px 0;
    }
    #mainmenu > ul > li > ul > li > a {
        height: auto;
        line-height: 1.2;
    }
    #mainmenu > ul > li > ul > li.has_child > a {
        background-position: right 8px;
    }
    #mainmenu > ul > li > ul > li.has_child.active > a, #mainmenu > ul > li > ul > li.has_child:hover > a {
        background-position: right -42px;
    }
    #mainmenu > ul > li > ul > li.right {
        position: static;
        margin-left: 10px;
        margin-bottom: 0;
        margin-top: 3px;
    }
    #mainmenu > ul > li > ul > li.right span {
        height: auto;
        line-height: 14px;
        padding: 5px;
    }
    #mainmenu > ul > li > ul > li.right a {
        margin: 5px;
    }
    #mainmenu > ul > li > ul > li > ul {
        z-index: 1;
        top: 18px;
        padding-top: 10px;
    }
    #mainmenu > ul > li > ul > li > ul > li > a {
        text-align: left;
    }
    #content {
        width: 72%;
    }
    #right {
        width: 25%;
        margin-left: 0;
        margin-right: 0;
        float: right;
    }
    #right .block {
        float: none;
        width: auto;
    }
    #main img {
        max-width: 100%;
        height: auto;
    }
    #slider {
        float: none;
        width: auto;
        height: auto;
    }
    .product_list .item, .product_list.wide_list .item {
        width: 33%;
        height: auto;
        margin-left: -2px;
        margin-right: -2px;
        padding: 0 10px;
        box-sizing: border-box;
        float: none;
        display: inline-block;
        vertical-align: top;
    }
    .product_list .item .item_img, .product_list.wide_list .item .item_img {
        float: none;
        width: auto;
        height: auto;
    }
    .product_list .item h4 {
        font-size: 15px;
        line-height: 1.3;
    }
    .product_list .item .price span {
        font-size: 22px;
    }
    .product_list .item p {
        height: auto;
    }
    #fmenu ul {
        float: none;
        display: flex;
        justify-content: space-between;
    }
    #fmenu li {
        float: none;
        padding: 0;
        margin-right: 10px;
        margin-bottom: 10px;
    }
    #footer > div[style*="left"] {
        margin-right: 15px;
        margin-bottom: 20px;
    }
    #content #banner_panel {
        width: auto;
        height: auto;
    }
    #content #banner_panel a {
        margin: 0 !important;
        width: 49%;
    }
    #content #banner_panel a:last-child {
        float: right;
    }
    #content #banner_panel img.banner_main_long {
        width: 100% !important;
        height: auto;
    }
    #right #banner_panel {
        width: auto;
    }
    #right #banner_panel img.banner_right_long {
        height: auto;
    }
    .full_item_left {
        width: 62%;
    }
    .full_item_right {
        width: 36%;
    }
    #content.full_width {
        display: block;
    }
    .full_item_left a.all {
        margin-top: 2px;
        margin-left: 5px;
    }
    .full_item_price_block > div:first-child {
        overflow: hidden;
    }
    #main .product-page-link ~ div[style*="float"] {
        width: 49%;
    }
    .full_item_right a.button4 {
        padding: 0 10px;
        text-align: center;
        box-sizing: border-box;
        width: 100%;
    }
    button.b1c {width: 49%;}
    .flower_addition {
        float: none;
        width: auto;
    }
    .flower_addition_control {
        width: 20%;
        box-sizing: border-box;
    }
    .flower_addition_items {
        width: 80%;
    }
    .flower_addition_control a {
        width: 100%;
    }
    .flower_addition_items .item {
        float: none;
        display: inline-block;
        vertical-align: top;
        margin-left: -2px;
        margin-right: -2px;
        width: 25%;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        height: auto;
    }
    .flower_addition_items .item .item_img, .flower_addition_items .item .item_title, .flower_addition_items .item .item_price {
        float: none;
        width: auto;
        height: auto;
    }
    #content:first-child:last-child {
        width: 100%;
    }
    #order_info_fly table td {
        font-size: 11px;
    }
    #order_info_fly table td .red {
        float: left;
        margin-right: 3px;
    }    
    #order_info_fly table td span[style*="18px"] {
        font-size: 14px !important;
    }
    #order_info_fly {
        float: none;
        padding: 10px 15px;
        width: auto;
        position: static !important;
    }
    .order_list1, .order_list2 {
        width: auto;
        float: none;
    }
    .order_list4 {
        width: auto;
        float: none;
    }
    .order_list textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    #content #content {
        width: auto;
    }
    #partners_panel {
        width: 100%;
    }
    #page_registration_form table.adress_table {
        width: 100% !important;
    }
    #partners_panel.partners td div {
        width: auto;
    }
    .carusel {
        width: auto;
        float: none;
        overflow: hidden;
    }
    .carusel .jcarousel-container, .carusel .jcarousel-clip {
        width: auto;
        height: auto;
    }
    #content > table img {
        min-width: 70px;
    }
}
@media screen and (max-width: 900px) {
    #logo {
        top: 10px;
    }
    #htel {
        right: 130px;
        top: 10px;
        text-align: center;
    }
    #htel > p:nth-child(2) {
        height: 11px;
    }
    #hmenu {
        bottom: 8px;
    }
    #hlogin {
        right: 0;
        top: auto;
        bottom: 32px;
        width: auto;
    }
    #hlogin br {
        display: none;
    }
    #hlogin a.tg_callme, #hlogin a.tg_logout {
        margin-left: 10px;
    }
    #hsearch {
        right: auto;
        top: auto;
        bottom: 8px;        
    }
    #hbasket {
        top: 10px;
    }
}
@media screen and (max-width: 768px) {
    #top_menu ul {
        float: none;
        display: table;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-spacing: 2px;
        table-layout: fixed;
    }
    #top_menu ul li.active {
        box-shadow: none;
        height: auto;
        float: none;
    }
    #top_menu ul li {
        float: none;
        display: table-cell;
        vertical-align: middle;
        width: 33%;
        box-sizing: border-box;
        text-align: center;
        line-height: 1.3;
        padding: 5px 15px;
        border-bottom: 1px solid #dedbd9;
        border-radius: 5px;
    }
    #top_menu, #top_menu ul, #top_menu ul li {
        height: auto;
    }
    #top_menu_back {
        display: none;
    }
    #hsearch {
        width: 162px;
    }
    #hsearch input[type="text"] {
        width: 115px;
        font-size: 11px;
    }
    #hmenu li {
        margin-left: 6px;
    }
    #hlogin a.tg_callme {
        margin-left: 6px;
    }
    #htel {
        left: 200px;
    }
    #htel strong {
        font-size: 21px !important;
    }
    #htel > p:nth-child(4) {
        height: 8px;
    }
    .mwrap {
        display: block;
        position: relative;
        text-align: center;
        color: #fff;
        line-height: 40px;
        font-size: 20px;
        cursor: pointer;
    }
    #mainmenu > ul > li {
        display: block;
        margin-bottom: 15px;
    }
    #mainmenu > ul > li > a {
        font-size: 18px;
    }
    #mainmenu > ul {
        display: none;
        text-align: center;
        padding-bottom: 0 !important;
        overflow: hidden;
    }
    #mainmenu > .mwrap.active + ul {
        display: block;
    }
    #mainmenu > ul > li > ul {
        position: static;
        overflow: hidden;
        margin-top: 10px;
    }
    #mainmenu > ul > li > ul > li, #mainmenu > ul > li > ul > li > a {
        float: none;
    }
    #mainmenu > ul > li > ul > li {
        margin-bottom: 15px;
    }
    #mainmenu > ul > li > ul > li > a, #mainmenu > ul > li > ul > li.right span {
        font-size: 17px;
    }
    #mainmenu > ul > li > ul > li > ul {
        display: none !important;
        position: static;
        width: auto;
        height: auto !important;
        padding: 0;
    }
    #mainmenu > ul > li > ul > li.has_child > a.active ~ ul {
        display: block !important;
    }
    #mainmenu > ul > li > ul > li > ul > li {
        float: none;
        width: auto;
        padding: 0;
    }
    #mainmenu > ul > li > ul > li > ul > li:first-child {
        border-top: 1px solid #a5de65;
    }
    #mainmenu > ul > li > ul > li > ul:last-child > li:last-child {
        border-bottom: 1px solid #a5de65;
    }
    #mainmenu > ul > li > ul > li > ul > li > a {
        float: none;
        display: block;
        padding: 10px 0;
        font-size: 12px;
        text-align: center;
    }
    #mainmenu > ul > li > ul > li.has_child > a {
        margin-bottom: 7px;
    }
    #mainmenu > ul > li > ul > li.right {
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 0;
    }
    #mainmenu > ul > li > ul > li.right span, #mainmenu > ul > li > ul > li.right a {
        float: none;
        display: inline-block;
    }
    #mainmenu > ul > li > a:hover, #mainmenu > ul > li.active > a {
        color: #fff;
        text-decoration: none;
        text-shadow: none;
    }
    #mainmenu > ul > li.selected > a {
        text-decoration: none;
        color: #f8ff2e;
        text-shadow: 0 1px 0 #5a8d15;
    }
    #content, #right {
        display: block;
        float: none;
        width: auto;
    }    
    h2.hearts {
        font-size: 16px;
    }
    .sub_main {
        padding-left: 0;
        padding-right: 0;
    }
    #fmenu ul {
        display: block;
    }
    #fmenu li {
        display: inline-block;
    }
    #right {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .pagination.top {
        margin-top: 0;
    }
    .pagination {
        margin-bottom: 25px;
        text-align: center;
    }
    .sorting {
        padding-bottom: 25px !important;
        text-align: center;
    }
    .sorting a {
        margin-bottom: 5px;
    }
    h1.hearts {
        font-size: 16px;
        float: none !important;
        display: block !important;
    }
    #right #banner_panel {
        margin-bottom: 10px;
    }
    #right #banner_panel img.banner_right_long {
        margin-right: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .full_item_left, .full_item_right {
        width: 100%;
    }
    .full_item_price_block {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    .flower_addition_control, .flower_addition_items {
        width: 100%;
    }
    .flower_addition_control {
        margin-bottom: 20px;
    }
    .flower_addition_items .item .item_price {
        text-align: center;
    }
    .flower_addition_items .item .item_price b {
        font-size: 20px;
    }
    .popup, #popup_flower_addition_items {
        top: 50%; left: 50%;
        -ms-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        margin: 0 !important;
        max-width: 95%;
        min-width: 300px;
        box-sizing: border-box;
        max-height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #feedback_popup_form input[type="text"], #feedback_popup_form textarea {
        box-sizing: border-box;
        max-width: 100%;
    }
    .popup_close {
        right: 2px;
        top: 2px;
    }
    #content ul.content_menu {
        padding-left: 0;
        padding-right: 20px;
        margin-bottom: 0;
    }
    #content ul.content_menu + .divider {
        margin-top: 20px;
        float: left;
        width: 100%;
        margin-bottom: 20px;
    }
    .popup p > input {
        max-width: 100%;
        box-sizing: border-box;
    }
    #order_info_fly h5 {
        font-size: 16px;
    }
    #order_info_fly table td {
        font-size: 13px;
    }
    #order_info_fly table td span[style*="18px"] {
        font-size: 16px !important;
    }
    .order_list2 select {
        max-width: 100%;
    }
    .order_list {
        padding-left: 20px;
    }
    .confirm_info {
        height: auto;
        overflow: hidden;
    }
    #partners_panel {
        margin-bottom: 30px;
    }
    #partners_panel + div {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 30px;
    }
    #uniteller_security_popup {
        width: auto !important;
    }
    .fancybox-next {
        right: -74px !important;
    }
    .fancybox-prev {
        left: -64px !important;
    }
    #fancybox-thumbs ul li a {
        width: 70px !important;
        height: 70px !important;
    }
    #fancybox-thumbs ul li img {
        max-width: 100%;
        height: auto !important;
    }
    h1 {
        font-size: 16px;
    }
    #content ul.list2 {
        padding-left: 0;
    }
    div.sub_service_text table, div.promo table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #content .carusel ul li {
        width: 100px;
        height: 100px;
        margin: 0 10px;
    }
    .jcarousel-next, .jcarousel-prev {
        top: 0;
        bottom: 0;
        margin: auto;
    }
}
@media screen and (max-width: 640px) {
    #header {
        height: auto;
        text-align: center;
    }
    #logo, #htel, #hmenu, #hlogin, #hsearch, #hbasket {
        position: static;
        display: inline-block;
        vertical-align: middle;
        margin: 6px;
    }
    #hsearch {
        position: relative;
        bottom: auto;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        background: none;
    }
    #hsearch input[type="text"] {
        float: left;
        position: static;
        margin-right: 5px;
        background: #F1F1F1;
        width: 160px;
    }
    #hsearch a {
        float: left;
    }
    #hsearch form {
        display: inline-block;
    }
    #hbasket a, #hbasket div.text, #hbasket div.text span {
        display: inline-block;
        vertical-align: top;
    }
    #hbasket > a, #hbasket div.text {
        margin: 5px;
    }
    #hbasket div.text br {
        display: none;
    }
    #hmenu li {
        margin: 4px 5px;
    }
    #hlogin {
        background: none;
    }
    #hlogin a {
        display: inline-block;
        margin: 4px 5px;
        float: none;
    }
    #hlogin a.tg_login:before, #hlogin a:first-child:before {
        content: '';
        display: inline-block;
        vertical-align: top;
        width: 12px;
        height: 15px;
        background: url("../images/hlogin.png") no-repeat;
        margin-right: 10px;
        margin-top: 1px;
    }
    .product_list .item h4 {
        font-size: 13px;
    }
    .product_list .item .price span {
        font-size: 20px;
    }
    .full_item_left a.all {
        float: none;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 10px;
    }
    a[name="additional"] + div {
        height: auto !important;
    }
    .flower_addition_paginator {
        float: none !important;
        clear: left !important;
        display: block;
        text-align: center !important;
        margin-bottom: 5px;
        padding-top: 5px;
    }
    .basket td {
        padding: 5px 0;
        font-size: 11px;
    }
    .basket td:first-child {
        padding-right: 5px;
    }
    .basket th {
        padding: 5px 4px;
        font-size: 11px;
    }
    .basket td .button3.shop-count-edit {
        display: block;
        width: 10px;
        margin: 4px auto;
    }
    .basket td input[type="text"] {
        width: 12px;
    }
    #order_form .order_block > .basket:first-child tr:not(:last-child) td:nth-child(3), #order_form .order_block > .basket:first-child th:nth-child(3) {
        display: none;
    }    
    .form-reg-type > div {
        float: none !important;
    }
    .checkout {
        margin-top: 10px;
    }
    .order_block .button6 {
        margin-top: 5px;
        margin-left: 0 !important;
        margin-right: 5px;
    }
    #partners_panel.partners, #partners_panel.partners tbody, #partners_panel.partners tr, #partners_panel.partners td {
        display: block;
        width: auto;
    }
    #content.full_width > div[style*="50%"], #content.full_width > div[style*="45%"] {
        float: none !important;
        width: auto !important;
        margin-left: 0 !important;
    }
    #content.full_width > div[style*="50%"] {
        margin-bottom: 20px;
    }
    div.sub_service_text table td,  div.promo table td {
        font-size: 12px;
        line-height: 1.2;
        font-size: 11px;
        line-height: 1.2;
        padding: 5px;
    }
    .ask_question_form textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 480px) {
    #top_menu {
        margin-left: -10px;
        margin-right: -10px;
    }
    #top_menu ul li {
        padding: 4px;
    }
    #top_menu ul li a {
        font-size: 11px;
    }
    .product_list {
        text-align: center;
    }
    .product_list .item, .product_list.wide_list .item {
        width: auto;
        float: none;
        display: block;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .product_list .item .price {
        float: none;
        text-align: center;
    }
    .product_list .item h4 {
        font-size: 14px;
    }
    .product_list .item .price span {
        font-size: 21px;
    }
    #content #banner_panel {
        margin-top: -15px;
    }
    #content #banner_panel a {
        width: 100%;
        margin-bottom: 5px !important;
    }
    .flower_addition_items .item {
        width: 50%;
    }
    .order_block .order_fio span > input {
        float: none;
        display: block;
        margin-left: 0;
        margin-top: 5px;
        margin-right: 0;
    }
    table.orders_tels, table.orders_tels tbody, table.orders_tels tr, table.orders_tels td {
        display: block;
        width: auto;
    }
    #content ul.content_menu.order li {
        float: none;
        margin-right: 0;
    }
    table.adress_table, table.adress_table tbody, table.adress_table tr, table.adress_table td {
        display: block;
        width: auto !important;
    }
    table.adress_table td input {
        margin-left: 0;
    }
    .order_list input[style*="float"] {
        float: none !important;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}