img[src="http://www.intem-pena.ru/images/redactor/771a934d9d5a4da8944957e31291ad32.jpg"] {
    clear: both;
}

.table-contact td:first-child {
    width: 40%;
}

.table-contact td:last-child {
    width: 60%;
}

.header-mobile {
    display: none;
}

.toggle-wrap {
    display: none;
}

.table-wrap {
    overflow-x: auto;
}


@media screen and (max-width: 997px) {
    .admin-panel {
        display: none;
    }

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

    .faq-menu li a span,
    .materials-post-menu li a span {
        line-height: 1.4;
        display: block;
        padding-top: 11px;
        padding-left: 3px;
        padding-right: 3px;
    }

    ul.materials-post-menu .materials-post-list li:hover {
        background-color: #dfdfdf;
    }

    .info-messages {
        margin: 0;
    }

    .info-messages .message-more-link {
        line-height: 25px;
    }

    ul#materials-posts-menu {
        display: block;
        background-color: transparent;
        margin-bottom: 30px;
    }

    ul#materials-posts-menu li {
        height: auto;
        padding: 9px 5px;
        line-height: 12px;
        margin: 0 0 1px 0;
        text-align: center;
        border: 0;
        background-color: #dfdfdf;
    }

    #materials-posts-menu li a {
        padding: 0;
        margin: 0;
        border: 0;
    }

    ymaps[style*="width: 559"] {
        width: 95% !important;
        height: 500px !important;
    }

    #header .cabinet {
        padding-right: 15px;
        width: auto;
        float: right;
    }

    #wr-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-center {
        margin-left: 0;
    }

    .form-center div[style*="margin-left"] {
        margin-left: 0 !important;
    }

    .form.form-center {
        margin-left: 0;
        padding-left: 0;
    }

    #wr-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    #header {
        display: none;
    }

    .header-mobile {
        display: block;
        height: 176px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
        background-color: #fff;
        z-index: 1000;
        margin-bottom: 10px;
    }

    .header-mobile .top-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 95px;
    }

    .header-mobile .top-block .logo {
        background-color: #fe7400;
        width: 50%;
        height: 95px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-mobile .top-block .logo a {
        display: block;
        width: 160px;
        height: 77px;
        background: url(http://www.intem-pena.ru/images/sys/icons/Logo.svg) center no-repeat;
        background-size: contain;
    }

    .header-mobile .top-block ul {
        margin: 0;
        padding: 0;
        width: 50%;
        text-align: center;
        position: relative;
    }

    .header-mobile .top-block ul li {
        list-style-type: none;
        display: block;
        font-size: 14px;
        padding-left: 22px;
        position: relative;
        float: left;
        clear: left;
        margin-left: 15%;

    }

    .header-mobile .top-block ul li.links {
        position: absolute;
        top: 50%;
        margin-top: -20px;
        right: 15%;
        padding-left: 0;
        margin-left: 0;
    }

    .header-mobile .top-block ul .city-phone,
    .header-mobile .top-block ul li.beeline,
    .header-mobile .top-block ul li.mts {
        background: url("http://www.intem-pena.ru/images/sys/icons/beeline-logo_25.png") left center no-repeat;
        background-size: 16px;
    }

    .header-mobile .top-block ul li.mts {
        background-image: url("http://www.intem-pena.ru/images/sys/icons/mts-logo_25.png");
    }

    .header-mobile .top-block ul li.city-phone {
        background-image: url("http://www.intem-pena.ru/images/sys/icons/phone_25.png");
    }

    .header-mobile .top-block ul li.links ul {
        margin: 0;
        width: auto;
    }

    .header-mobile .top-block ul li.links ul li {
        display: block;
        vertical-align: top;
        padding-left: 0;
        text-align: right;
        float: none;
        margin-left: 0;
    }

    .header-mobile .cart {
        height: 40px;
        font-size: 14px;
        margin-right: 10px;
    }

    .header-mobile .cart span {
        text-decoration: none;
        color: white;
        display: inline-block;
        line-height: 40px;
        vertical-align: middle;
        background: url(http://www.intem-pena.ru/images/sys/icons/cart_25_mobile.png) left center no-repeat;
        -webkit-background-size: 20px;
        background-size: 20px;
        padding-left: 30px;
    }

    .header-mobile .cart.active {
        background-color: transparent;
    }

    .header-mobile .cart.active a span {
        background: url("../images/cart_25_mobile_active.png") left center no-repeat;
        -webkit-background-size: 20px;
        background-size: 20px;
        color: #ffcb3e;
    }

    .header-mobile .cart.active a,
    .cart_total.active {
        color: white;
    }

    .header-mobile .bottom-block {
        text-align: center;
    }

    .header-mobile .bottom-block address,
    .header-mobile .bottom-block p {
        margin-bottom: 0;
    }

    .header-mobile .bottom-block address img {
        max-width: 12px;
        margin-right: 3px;
    }

    .header-mobile .bottom-block p {
        padding-right: 105px;
        background: url(http://www.intem-pena.ru/images/sys/icons/work_graphik.svg) right center no-repeat;
        -webkit-background-size: 50px;
        background-size: 100px;
        display: inline-block;
    }

    .header-mobile .close-button {
        height: 40px;
        position: fixed;
        top: -40px;
        width: 100%;
        left: 0;
        transition: all 0.2s ease;
        background-color: #343a41;
        z-index: 1001;
    }

    .header-mobile .close-button.active {
        top: 0;
    }

    .header-mobile .close-button button {
        padding: 0 10px;
        background-color: transparent;
        height: 40px;
        border: 0;
        outline: none;
        cursor: pointer;
    }

    .header-mobile .close-button span {
        width: 30px;
        height: 2px;
        display: block;
        background-color: #fff;
    }

    .header-mobile .close-button span:first-child {
        transform: skewY(42deg);
        position: relative;
        top: 2px;
    }

    .header-mobile .close-button span + span {
        transform: skewY(-42deg);
        margin: 0;
    }

    .toggle-wrap {
        display: block;
        height: 40px;
        background-color: #343a41;
        z-index: 1000;
        position: relative;
        display: flex;
        justify-content: space-between;
    }

    .toggle-wrap.fix {
        position: fixed;
        top: 0;
        width: 100%;
    }

    .toggle-wrap > button {
        border: 0;
        outline: none;
        cursor: pointer;
        color: white;
        background-color: transparent;
        height: 40px;
        text-transform: uppercase;
        padding: 0 10px;
    }

    .toggle-wrap > button.toggle-menu > span {
        background-color: #fff;
        width: 30px;
        height: 2px;
        display: block;
        transition: all 0.2s ease;
    }

    .toggle-wrap > button.toggle-menu > span + span {
        margin-top: 4px;
    }

    .toggle-wrap > button.toggle-category {
        display: inline-block;
    }

    .toggle-wrap > button.toggle-category > span {
        display: inline-block;
        background-color: #fff;
        height: 2px;
        width: 10px;
        position: relative;
        top: -4px;
        transition: all 0.2s ease;
    }

    .toggle-wrap > button.toggle-category > span:first-child {
        transform: skewY(42deg);
        left: 0;
    }

    .toggle-wrap > button.toggle-category > span:last-child {
        transform: skewY(-42deg);
        right: 0;
    }

    #main-menu li ul {
        display: block;
        overflow-y: auto;
    }

    #main-menu,
    .left-menu-wrap {
        position: fixed;
        top: 40px;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: 1000;
        background-color: #454c54;
        transition: all 0.2s ease;
    }

    #main-menu.show-menu {
        left: 0;
    }

    .left-menu-wrap {
        left: auto;
        right: -100%;
        background-color: #dfdfdf;
    }

    .left-menu-wrap.show-menu {
        right: 0;
    }

    ul.main-menu-list {
        cursor: default;
    }

    ul.main-menu-list li,
    .main-menu-list a {
        display: block;
        float: none;
        padding: 0;
        margin: 0;
        width: auto;
        height: auto;
    }

    .main-menu-list a {
        text-align: left;
        padding: 8px 10px;
        font-size: 14px;
    }

    .main-menu-list li span {
        margin: 0;
        text-align: left;
    }

    .menu-margin-top {
        margin: 0 !important;
    }

    .last-li {
        width: auto !important;
    }

    .main-menu-list a br {
        display: none;
    }

    #left-menu {
        overflow-y: auto;
        width: auto;
        float: none;
    }

    #left-menu .block-menu {
        margin: 0;
    }

    ul.block-menu li {
        display: block;
        height: auto;
    }

    #main-menu li ul li a {
        width: auto;
        height: auto;
        display: block;
        padding: 8px;
        text-align: left;
        color: #343a41;
        border-bottom: 1px solid white;
    }

    #main-menu > ul > li > a {
        width: auto;
        height: auto;
        display: block;
        padding: 8px;
        text-align: left;
        color: #fff;
        border-bottom: none;
    }

    #main-menu > ul > li.active > a {
        color: #343a41;
    }

    #main-menu li ul li a span {
        padding: 0 !important;
        margin: 0;
    }

    #second_menu {
        display: none;
    }

    #site-search-block {
        display: none;
    }

    #header .address-time {
        display: none;
    }

    #wrapper {
        width: auto;
    }

    #wr-content {
        width: auto;
    }

    #footer {
        width: 100%;
    }

    #header .phones-block .phone-list {
        margin-left: 40px;
    }

    #toTop {
        left: 0;
        margin-left: 0;
    }

    #content {
        float: none;
        width: auto;
    }

    .breadcrumbs {
        height: auto;
        padding-left: 5px;
        padding-right: 5px;
    }

    .table-contact td:first-child {
        width: 50%;
    }

    .table-contact td:last-child {
        width: 50%;
    }

    #materials-category-menu {
        height: auto;
        background-color: transparent;
        display: flex;
        justify-content: center;
    }

    #materials-category-menu li {
        width: 33%;
        height: auto;
        float: none;
        display: inline-block;
        vertical-align: top;
        line-height: 1;
        margin-bottom: 4px;
        border-right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #materials-category-menu li + li {
        margin-left: 1px;
    }

    #materials-category-menu li a {
        width: auto;
        height: auto;
        padding: 8px;
    }

    #materials-category-menu li:last-child {
        width: 32%;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }

    #product-filter-block {
        width: 100%;
    }

    #product-filter-block input.product-filter {
        width: 50%;
    }

    /* Дополнительное меню для вопросов-ответов и Областей применения */
    .post-menu {
        display: none;
        background-color: #dfdfdf;
    }

    .post-menu.active {
        display: block;
        position: fixed;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        top: 40px;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1005;
        background-color: white;
    }

    .post-menu .block-menu {
        margin-bottom: 0;
        background-color: white;
    }

    .show-post-list-button {
        display: block;
        text-align: center;
        position: fixed;
        right: 0;
        bottom: 44px;
        opacity: 0.6;
    }

    .show-post-list-button img {
        width: 60px;
        height: 60px;
    }

    .show-post-list-button.hide {
        display: none;
    }

    .hide-post-list-button {
        display: block;
        background-color: #343a41;
        border-bottom: 1px solid #343a41;
        padding-right: 20px;
        text-align: right;
        line-height: 40px;
        font-size: 14px;
        height: 40px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1005;
    }

    .show-post-list-button,
    .show-post-list-button:visited,
    .show-post-list-button:focus,
    .show-post-list-button:hover,
    .hide-post-list-button,
    .hide-post-list-button:visited,
    .hide-post-list-button:focus,
    .hide-post-list-button:hover {
        text-decoration: none;
    }

    .hide-post-list-button {
        padding: 0 10px;
        height: 40px;
        border: 0;
        outline: none;
        cursor: pointer;
    }

    .hide-post-list-button span {
        width: 30px;
        height: 2px;
        display: block;
        background-color: #fff;
    }

    .hide-post-list-button span:first-child {
        transform: skewY(42deg);
        -webkit-transform: skewY(42deg); /* Safari & Chrome */
        -moz-transform: skewY(42deg); /* Firefox */
        -ms-transform: skewY(42deg); /* Internet Explorer */
        -o-transform: skewY(42deg); /* Opera */
        position: relative;
        top: 18px;
    }

    .hide-post-list-button span + span {
        transform: skewY(-42deg);
        -webkit-transform: skewY(-42deg); /* Safari & Chrome */
        -moz-transform: skewY(-42deg); /* Firefox */
        -ms-transform: skewY(-42deg); /* Internet Explorer */
        -o-transform: skewY(-42deg); /* Opera */
        margin: 0;
        position: relative;
        top: 16px;
    }

    .info-messages:visited .alert-info,
    .info-messages:active .alert-info,
    .info-messages:focus .alert-info,
    .info-messages:hover .alert-info {
        background-color: rgba(0, 0, 255, 0.5);
        border-color: rgba(0, 0, 255, 0.5);
    }

    .info-messages:visited .alert-success,
    .info-messages:active .alert-success,
    .info-messages:focus .alert-success,
    .info-messages:hover .alert-success {
        background-color: #ADFF2F;
        border-color: #ADFF2F;
    }

    .info-messages:visited .alert-warning,
    .info-messages:active .alert-warning,
    .info-messages:focus .alert-warning,
    .info-messages:hover .alert-warning {
        background-color: orange;
        border-color: orange;
    }

    .info-messages:visited .alert-danger,
    .info-messages:active .alert-danger,
    .info-messages:focus .alert-danger,
    .info-messages:hover .alert-danger {
        background-color: red;
        border-color: red;
    }

    .info-messages:visited .alert-default,
    .info-messages:active .alert-default,
    .info-messages:focus .alert-default,
    .info-messages:hover .alert-default {
        background-color: white;
        border-color: #ffcb3e;
    }

    .info-messages:visited .alert-gold,
    .info-messages:active .alert-gold,
    .info-messages:focus .alert-gold,
    .info-messages:hover .alert-gold {
        background-color: #FFD700;
        border-color: #FFD700;
    }

    .info-messages:visited .alert-yellow,
    .info-messages:active .alert-yellow,
    .info-messages:focus .alert-yellow,
    .info-messages:hover .alert-yellow {
        background-color: #FFFF00;
        border-color: #FFFF00;
    }

    .info-messages:visited .alert-green-yellow,
    .info-messages:active .alert-green-yellow,
    .info-messages:focus .alert-green-yellow,
    .info-messages:hover .alert-green-yellow {
        background-color: #ADFF2F;
        border-color: #ADFF2F;
    }

    .info-messages:visited .alert-orange,
    .info-messages:active .alert-orange,
    .info-messages:focus .alert-orange,
    .info-messages:hover .alert-orange {
        background-color: #FFA500;
        border-color: #FFA500;
    }

    .info-messages:visited .alert-lime,
    .info-messages:active .alert-lime,
    .info-messages:focus .alert-lime,
    .info-messages:hover .alert-lime {
        background-color: #00FF00;
        border-color: #00FF00;
    }

    .info-messages:visited .alert-turquoise,
    .info-messages:active .alert-turquoise,
    .info-messages:focus .alert-turquoise,
    .info-messages:hover .alert-turquoise {
        background-color: #40E0D0;
        border-color: #40E0D0;
    }

    .info-messages:visited .alert-sea-wave,
    .info-messages:active .alert-sea-wave,
    .info-messages:focus .alert-sea-wave,
    .info-messages:hover .alert-sea-wave {
        background-color: #00FFFF;
        border-color: #00FFFF;
    }

    .info-messages:visited .alert-magenta,
    .info-messages:active .alert-magenta,
    .info-messages:focus .alert-magenta,
    .info-messages:hover .alert-magenta {
        background-color: #FF00FF;
        border-color: #FF00FF;
    }

    .info-messages:visited .alert-lightgreen,
    .info-messages:active .alert-lightgreen,
    .info-messages:focus .alert-lightgreen,
    .info-messages:hover .alert-lightgreen {
        background-color: #90EE90;
        border-color: #90EE90;
    }

    .info-messages:visited .alert-palegreen,
    .info-messages:active .alert-palegreen,
    .info-messages:focus .alert-palegreen,
    .info-messages:hover .alert-palegreen {
        background-color: #98FB98;
        border-color: #98FB98;
    }

    .info-messages:visited .alert-aquamarine,
    .info-messages:active .alert-aquamarine,
    .info-messages:focus .alert-aquamarine,
    .info-messages:hover .alert-aquamarine {
        background-color: #7FFFD4;
        border-color: #7FFFD4;
    }

    .info-messages:visited .alert-paleturquoise,
    .info-messages:active .alert-paleturquoise,
    .info-messages:focus .alert-paleturquoise,
    .info-messages:hover .alert-paleturquoise {
        background-color: #AFEEEE;
        border-color: #AFEEEE;
    }

    .info-messages:visited .alert-sky-lightblue,
    .info-messages:active .alert-sky-lightblue,
    .info-messages:focus .alert-sky-lightblue,
    .info-messages:hover .alert-sky-lightblue {
        background-color: #87CEFA;
        border-color: #87CEFA;
    }

    .info-messages:visited .alert-still-lightblue,
    .info-messages:active .alert-still-lightblue,
    .info-messages:focus .alert-still-lightblue,
    .info-messages:hover .alert-still-lightblue {
        background-color: #B0C4DE;
        border-color: #B0C4DE;
    }

    .info-messages:visited .alert-light-plum,
    .info-messages:active .alert-light-plum,
    .info-messages:focus .alert-light-plum,
    .info-messages:hover .alert-light-plum {
        background-color: #DDA0DD;
        border-color: #DDA0DD;
    }

    .info-messages:visited .alert-pink-purple,
    .info-messages:active .alert-pink-purple,
    .info-messages:focus .alert-pink-purple,
    .info-messages:hover .alert-pink-purple {
        background-color: #EE82EE;
        border-color: #EE82EE;
    }

    .info-messages:visited .alert-pink,
    .info-messages:active .alert-pink,
    .info-messages:focus .alert-pink,
    .info-messages:hover .alert-pink {
        background-color: #FFC0CB;
        border-color: #FFC0CB;
    }

    .info-messages:visited .alert-lightpink,
    .info-messages:active .alert-lightpink,
    .info-messages:focus .alert-lightpink,
    .info-messages:hover .alert-lightpink {
        background-color: #FFB6C1;
        border-color: #FFB6C1;
    }

    .info-messages:visited .alert-lightgray,
    .info-messages:active .alert-lightgray,
    .info-messages:focus .alert-lightgray,
    .info-messages:hover .alert-lightgray {
        background-color: #D3D3D3;
        border-color: #D3D3D3;
    }

    .info-messages:visited .alert-gainsborough,
    .info-messages:active .alert-gainsborough,
    .info-messages:focus .alert-gainsborough,
    .info-messages:hover .alert-gainsborough {
        background-color: #DCDCDC;
        border-color: #DCDCDC;
    }

    .info-messages:visited .alert-white-smoke,
    .info-messages:active .alert-white-smoke,
    .info-messages:focus .alert-white-smoke,
    .info-messages:hover .alert-white-smoke {
        background-color: #F5F5F5;
        border-color: #F5F5F5;
    }

}

@media screen and (max-width: 672px) {

    ul.footer-list-menu li {
        padding-left: 10px;
    }

    .footer-right {
        padding-right: 10px;
    }

    .footer-right .date {
        margin-left: 5px;
    }

    table.product td.article-margin,
    table.product tr td:nth-child(4) {
        display: none;
    }

    .category-price {
        height: auto;
        padding: 5px;
        line-height: 1.2;
    }

    .last-price-data {
        float: none;
        margin: 10px 0 0;
    }

    .content-menu .price-left,
    .price-left li,
    .content-menu .menu-color-grey {
        float: none;
    }

    .content-menu .price-left li {
        display: inline-block;
        vertical-align: top;
    }

    .content-menu .price-right li {
        width: auto;
    }

    .content-menu .menu-color-grey {
        background-color: transparent;
    }

    .content-menu ul.menu-color-grey {
        background-color: transparent;
        display: flex;
        justify-content: center;
    }

    .content-menu .menu-color-grey li {
        display: block;
        float: none;
        margin-bottom: 1px;
        background-color: #dfdfdf;
        width: 33%;
        margin-right: 0;
    }

    .content-menu .menu-color-grey li + li {
        margin-left: 1px;
    }

    .content-menu .menu-color-grey li.active {
        background-color: #ffcb3e;
    }

    .content-menu .menu-color-grey a {
        height: auto;
        display: block;
        vertical-align: top;
        padding: 10px;
        line-height: 1;
        text-align: center;
    }

    #materials-posts-menu {
        margin-bottom: 15px;
    }

    #materials-posts-menu li a {
        width: auto;
    }

    .cart-total-margin {
        margin-left: 0;
    }

    .totalPrice1,
    .totalPrice {
        float: none;
        text-align: left;
    }

    .choose-payment-type-block {
        padding-left: 0;
    }

    .total-opt {
        padding-right: 0;
    }

    .form-horizontal .control-label {
        float: none;
        width: auto;
        text-align: left;
        padding-top: 0;
    }

    .form-horizontal .controls {
        margin-left: 0;
    }

    .form-horizontal .controls input,
    .form-horizontal .controls select {
        height: 30px;
    }

    .form-horizontal .controls input,
    .form-horizontal .controls select,
    .form-horizontal .form-actions .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .form-horizontal .form-actions {
        padding: 0 !important;
        width: auto !important;
        padding-top: 10px !important;
        float: none;
    }

    .form-center div[style*="text-align"] {
        text-align: left !important;
        padding-top: 0 !important;
    }

    .form-center div[style="text-align: right; padding-top: 40px"] {
        text-align: center !important;
    }

    .table-contact td:first-child,
    .table-contact td:last-child {
        width: auto;
    }

    .table-contact,
    .table-contact tbody,
    .table-contact tr,
    .table-contact td {
        display: block;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }

    #product-filter-block.fixed {
        width: 100%;
    }

    #product-filter-block.fixed input.product-filter {
        width: 50%;
    }

}

@media screen and (max-width: 610px) {
    .header-mobile .top-block ul li {
        margin-left: 10%;
    }

    .header-mobile .top-block ul li.links {
        right: 10%;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }
}

@media screen and (max-width: 545px) {
    .header-mobile .top-block ul li {
        margin-left: 6%;
    }

    .header-mobile .top-block ul li.links {
        right: 6%;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {
    .header-mobile .top-block ul,
    .header-mobile .top-block ul li.links {
        position: static;
    }

    .header-mobile .top-block ul li.links {
        margin: 0;
    }

    .header-mobile .top-block ul li.links ul li {
        display: inline-block;
    }

    .header-mobile .top-block ul li {
        margin: 0;
        display: inline-block;
        float: none;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }
}

@media screen and (max-width: 380px) {
    #footer {
        height: 72px;
        text-align: center;
    }

    #footer > .left,
    .footer-right {
        float: none;
    }

    ul.footer-list-menu li {
        float: none;
        height: auto;
        padding: 10px 0;
    }

    .footer-right {
        padding: 0 0 10px;
        height: auto;
    }

    #wr-content {
        padding-bottom: 110px;
    }

    img[src="http://www.intem-pena.ru/images/redactor/4a27c2258a4d51661435565462e838cc.jpg"] {
        float: none !important;
        margin: 10px !important;
    }

    #order-link-block .btn-success,
    #order-link-block a.btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .cart-total-margin .left {
        width: 70%;
    }

    form#login-form input {
        width: 100%;
        height: 30px;
        box-sizing: border-box;
    }

    ul#materials-category-menu li a {
        padding: 3px;
    }

    .main-page-categories .category-item {
        float: none;
        display: inline-block;
    }
}
