@media (min-width: 1211px) {
    .footer-events-img {
        object-fit: contain;
        height: 165px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
        width: 100%;
    }

    .container-narrow {
        max-width: 1100px;
    }

    .site-login, .site-signup {
        margin: 0 auto;
        max-width: 86%;
    }
}

@media (min-width: 992px) {
    .acco.collapse.active {
        display: block;
    }

    .no-pointer-events {
        pointer-events: none;
    }

    .main-menu li:hover ul {
        display: block !important;
    }

    .main-menu li.dropdown > a {
        pointer-events: none;
    }

    .main-menu li:hover ul {
        display: block;
    }

    .header .logo-container:after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 188px; /*170px NY*/
        width: 165px;
        height: 34px;
        background: url(../img/slogan-x2.png) 0 0 no-repeat;
        background-size: 100%;
    }
}

@media (max-width: 1210px) and (min-width: 992px) {
    .contact-info span {
        white-space: normal;
    }

    .bx-pager {
        display: none;
    }

    .copy br {
        display: none;
    }

    .footer-events-img {
        object-fit: cover;
        height: 130px;
    }

    .contact-info {
        margin-top: 21px;
    }

    .contact-info.town {
        margin-left: 45px;
    }

    .contact-info.adress {
        margin-left: 35px;
    }

    .contact-info.cart {
        margin-left: 0;
    }

    .contact-info.adress .region {
        display: none;
    }

    .contact-info.cart span.products-number {
        display: none;
    }

    .contact-info .dvizh-cart-cost-formatted {
        padding-top: 12px;
        display: block !important;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .product-table > tbody > tr > td {
        padding: 10px 15px;
    }

    .product-table .text-left {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .top-nav li {
        margin-right: 10px;
    }

    .top-menu-user .reg {
        padding: 0 0 0 10px;
    }

    .top-menu-user .log-in {
        padding: 0 10px 0 20px;
    }

    .order-form .cart-nav .nav-btn {
        width: auto;
    }

    .header .logo-img {
        margin-bottom: 20px;
    }

    .contact-info.adress:before {
        top: 10px;
        left: 11px;
    }

    .header .logo {
        margin-left: -170px;
    }

    .header .logo:after {
        content: '';
        position: absolute;
        bottom: 26px;
        right: 202px;
        width: 165px;
        height: 34px;
        background: url(../img/slogan-x2.png) 0 0 no-repeat;
        background-size: 100%;
    }
}

@media (min-width: 768px) {
    #docModal .modal-dialog {
        width: 80% !important;
    }
    .product-block {
        margin-bottom: 30px;
        padding-top: 10px;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .product-wrap .item .name {
        font-size: 1.3em;
    }
}

@media (max-width: 991px) {
    .log-in {
        padding-right: 5px;
    }

    .header .reg {
        margin-left: 5px;
    }

    .head-mdl {
        text-align: center;
    }

    .header .logo {
        display: inline-block;
    }

    .contact-info {
        padding-left: 50px;
    }

    .contact-info:after {
        width: 40px;
        height: 40px;
    }

    .contact-info:before {
        left: 14px;
        top: 23px;
    }

    .contact-info.town:before {
        top: 12px;
    }

    .contact-info.cart:before {
        left: 12px;
        top: 12px;
    }

    .contact-info span {
        white-space: normal;
    }

    .sl-title {
        font-size: 30px;
        line-height: 30px;
    }

    .sl-title br {
        display: none;
    }

    .bx-controls {
        bottom: 25px;
    }

    .bx-pager {
        margin-bottom: -50px;
        margin-left: 15px;
    }

    .product-wrap .item {
        padding: 10px;
    }

    .product-wrap .item .name {
        font-size: 1em;
    }

    .footer {
        padding: 30px 0;
    }

    .copy {
        padding-left: 0;
    }

    .product-table p {
        margin-top: 5px;
    }

    .cart-nav .nav-btn {
        width: 100%;
        margin-bottom: 5px;
        margin-right: 0;
    }

    .cart-nav .total {
        margin-top: 30px;
    }

    .map {
        height: 250px;
    }

    .order-success iframe {
        width: 500px;
        max-width: 100%;
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    h1, h2 {
        white-space: normal;
    }

    .container {
        padding: 0 15px;
    }

    .main-slider .container,
    .widget.container,
    .orders-wrap > .row > div[class*="col-"],
    .orders-wrap > .row > form > div[class*="col-"] {
        padding: 0!important;
    }

    .top-menu-user .log-in {
        padding-right: 15px;
    }

    .top-menu-user .reg {
        padding: 0 0 0 15px;
    }

    .head-top .text-right {
        text-align: center;
    }

    .head-mdl-mobile {
        padding: 10px 0;
        border-bottom: 1px solid #DFE2E9; 
    }

    .city-container-mobile {
        border-right: 1px #ccc dashed;
    }

    .head-mdl {
        padding: 10px 0;
        box-shadow: none;
    }

    .logo-container {
        width: 110px;
        float: left;
        padding-top: 8px;
    }

    .city:after {
        top: 8px;
    }

    .contact-info {
        margin-top: 10px;
        margin-bottom: 12px;
    }

    .contact-info.cart {
        padding-top: 7px;
    }

    .contact-info.cart a {
        display: inline-block;
        font-size: 15px;
    }

    .main-menu li > a:hover,
    .main-menu li > a:focus,
    .main-menu li.active > a,
    .main-menu li:hover > a,
    .main-menu li.open > a {
        background: #f7f7f7 !important;
        color: #666 !important;
    }

    /*.main-menu li ul li a:hover {
        color: #666!important;
        background-color: #fff !important;
    }*/
    .search {
        padding: 4px 0 5px 0;
        margin: 0 -6px;
    }

    .search .form-control {
        border-radius: 1px;
    }

    .head-btm {
        background: #EFF2F7;
    }

    .proposal-wrap {
        margin-top: 20px;
    }

    .main-block-slider .container {
        padding: 0;
        margin: 0;
    }

    .main-slider {
        top: 5px;
    }

    .sl-title {
        font-size: 15px;
        line-height: 15px;
        margin-bottom: 10px;
    }

    .sl-title br {
        display: block;
    }

    .bx-controls-direction {
        display: none;
    }

    .bx-controls {
        bottom: 20px;
        text-align: center !important;
        left: 0;
        right: 0;
    }

    .headline,
    .side-headline,
    h1 {
        font-size: 1.3em;
        line-height: 25px;
        padding: 0 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    .headline:after,
    .side-headline:after {
        top: 12px;
    }

    div.content p {
        line-height: 1.5em;
    }

    .content table td {
        font-size: 15px;
    }

    .proposal-wrap .item {
        margin-bottom: 25px;
    }

    .proposal-wrap .item img {
        max-width: 100%;
    }

    .proposal-wrap .item .hdl {
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    .events-wrap {
        padding: 20px 0;
    }

    .events-wrap img {
        margin-bottom: 10px;
    }

    .main-menu li a {
        padding: 10px 0 10px 20px;
        margin-bottom: 0;
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
        border-color: #eee;
    }

    .main-menu li ul li {
        border-bottom: none;
    }

    .main-menu li ul li a {
        padding: 8px 30px;
        white-space: normal;
    }

    .main-menu li ul li:last-child a {
        border-bottom: 0;
    }

    .date {
        margin-bottom: 5px;
    }

    .events-wrap .hdl {
        margin-bottom: 10px;
    }

    .sort-wrap {
        text-align: left;
    }

    .form-wrap {
        padding: 15px;
    }

    .header .logo {
        max-width: 100px;
        float: left;
    }

    .main-menu li ul {
        position: relative;
        width: 100%;
        box-shadow: none;
        border: #eeeeee 1px solid;
        margin-top: -2px;
        margin-bottom: 10px;
    }

    #dropdownMenuMobile ul {
        position: relative;
        width: initial;
        box-shadow: none;
        border: #eeeeee 1px solid;
        margin: 5px 15px;
    }

    #dropdownMenuMobile .main-menu li a {
        text-align: left;
        font-weight: 400;
        padding: 8px 30px;
        font-size: 15px;
        text-transform: none;
    }

    .slider-product-image .bx-controls-direction {
        display: none;
    }

    .tab-wrap .nav-tabs li {
        margin-right: 0;
        width: 100%;
    }

    #product-table thead {
        display: none;
    }

    #product-table tbody td {
        display: block;
        padding: .6rem;
        min-width: 100px;
    }

    #product-table tbody tr td:first-child {
        background: #D1E0EC;
        color: #333;
    }

    .table.harakteristick tbody td {
        display: block;
        padding: .6rem;
        min-width: 280px;
    }

    .table.harakteristick tbody td:first-child {
        border-bottom: 0;
    }

    .title {
        display: block;
        margin-bottom: 10px;
        margin-top: 10px;
        padding-left: 55px;
    }

    .payment-methods .title {
       margin: 0;
    }

    #product-table.cart-table tbody tr td:first-child {
        background: #9EB4CB;
    }

    .product-table > tbody > tr > td a {
        color: #ffffff;
    }

    .product-table > tbody > tr > td a.name {
        color: #214F8B;
    }

    .product-table .custom-field-price {
        width: 60%;
        float: left;
        padding: 14px !important;
    }

    .product-table .custom-field-quantity {
        width: 60%;
        float: left;
    }

    .product-table .actions {
        width: 40%;
        float: left;
        padding: 0 !important;
    }

    .product-table .custom-field-quantity {
        display: none !important;
    }

    .product-wrap .item {
        min-height: 120px;
        overflow: hidden;
    }

    .labels-block {
        left: 0;
        top: 0;
        width: fit-content;
    }

    .product-photo {
        min-height: initial;
        width: 30%;
        height: 105px;
        float: left;
        padding: 15px 20px;
    }

    .product-info {
        width: 70%;
        float: left;
        text-align: left;
    }

    .product-wrap .item .name {
        height: initial;
        margin-top: 15px;
        padding: 0 10px 0 0;
        min-height: 40px;
    }

    .product-buttons {
        width: 50px;
        position: absolute;
        right: 10px;
        top: 80px; /*bottom: 15px;*/
    }

    .product-buttons .buy-btn {
        font-size: 0;
        height: 30px;
        border-radius: 3px;
    }

    .product-buttons .buy-btn:before {
        margin-top: -7px;
        left: 17px;
    }

    .product-table .add-cart, .product-table .add-cart:visited,
    .wishlist-button, .wishlist-button:visited {
        padding: 15px 15px 15px 35px;
        text-align: center;
        height: 30px;
    }

    .wishlist-button span {
        display: none!important;
    }

    .wishlist-button:after {
        left: 11px;
    }

    #add-to-cart-success {
        width: 40%;
        height: 60%;
        left: 40%;
    }

    .details-btn:after,
    .buy-btn:after {
        content: none;
    }

    .edit-cart-link {
        display: none;
    }

    .footer .back-btn {
        margin-bottom: 20px;
    }

    .footer .social-icons {
        margin-bottom: 15px;
    }

    .f-menu {
        margin: 0 0 10px 0;
    }
    .f-menu li {
        margin-bottom: 5px;
    }
    .f-menu li a {
        padding: 0;
    }
    .footer h6 {
        margin-top: 5px;
    }

    .back-btn {
        font-size: 13px;
    }

    .copy {
        padding: 20px 0 10px 0;
        flex-flow: column;
    }

    .map {
        height: 200px;
    }

    #mainModal .close {
        margin-top: -33px;
    }

    #mainModal .modal-dialog {
        width: 90%;
    }
}

@media (max-width: 400px) {
    .contact-info.cart a {
        font-size: 13px;
    }

    .product-wrap .item {
        padding: 5px;
    }

    .buy-btn {
        padding: 9px;
    }

    .pagination li a {
        width: 35px;
        height: 35px;
        line-height: 33px;
    }

    .pagination li.prev a {
        margin-right: 2px;
    }

    .pagination li.next a {
        margin-left: 2px;
    }

    .faq-text table td img {
        max-width: 100%!important;
    }

    #product-table .add-cart {
        min-height: 49px;
    }

    #product-table .add-cart:before {
        font-family: FontAwesome;
        content: "\f07a";
        position: absolute;
        top: calc(50% - 12px);
        left: calc(50% - 8px);
        font-size: 16px;
        font-weight: 300;
    }

    #product-table .add-cart span {
        display: none;
    }

    #product-table .wishlist-button {
        color: transparent;
    }
    #product-table .wishlist-button:after {
        content: '';
        position: absolute;
        width: 20px;
        height: 18px;
        top: 50%;
        left: calc(50% - 9px);
        background: url(../img/icons.png) 0 -20px no-repeat;
    }
}