@media (min-width: 480px) and (max-width: 768px) {
}

@media (min-width: 768px) and (max-width: 992px) {
}

@media (min-width: 992px) and (max-width: 1200px) {
}

@media (min-width: 641px) {
    .hours-sales-online,
    .address,
    .phone-numbers {
        display: block;
        padding-left: 50px;
        position: relative;
    }

    #show_contacts {
        display: none !important;
    }
}

@media (min-width: 992px) {
    body,
    .dj-offcanvas-wrapper,
    .dj-offcanvas-pusher,
    .dj-offcanvas-pusher-in,
    .all-wrapper {
        min-height: 100%;
        min-height: 100vh !important;
    }
}

@media (min-width: 1140px ) {
}

@media (min-width: 1200px ) {
}

@media (min-width: 1366px ) {
}

@media (min-width: 1400px ) {
    .container {
        width: 1366px;
    }

    #slider .caption {
        padding: 0 30px;
    }

    #products .list_products_params .display_params {
        margin-left: auto;
    }
}

@media screen and (min-width: 1730px) {
    #slider h1, #slider h2, #slider .h1, #slider .h2, #slider a {
        font-size: 62px;
    }
    #slider .caption > * {
        max-width: 40%;
    }
}

@media (max-width: 1400px ) {
    .catalog.grid {
        grid-template-columns: repeat(3,minmax(180px, 1fr));
    }


    .category_view .sub_categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1366px ) {
}

@media (max-width: 1200px ) {
    .header-middle .info {
        flex-wrap: wrap;
        line-height: 1.1;
    }

    .header-middle .info .phone-numbers {
        margin: 0;
        min-width: 50%;
        order: 1;
    }

    .header-middle .info .address {
        margin: 0;
        min-width: 50%;
        order: 2;
    }

    .contact-info .hours-sales-online {
        margin: 15px 0 0 0 !important;
        min-width: 100%;
        order: 3;
    }

    .contact-info .hours-sales-online .val {
        display: flex;
        justify-content: space-between;
    }

    .contact-info .hours-sales-online .val div + div {
        padding-left: 10px;
    }

    .catalog .sub_category_info {
        flex-direction: column;
    }

    .contact-info .hours-sales-online .val {
        flex-direction: column;
    }
    .contact-info .hours-sales-online .val div + div {
        padding-left: 0px;
    }

    .catalog.grid,
    .category_view .sub_categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1140px ) {

}

@media (max-width: 992px ) {
    footer .footer_col1 {
        width: 100%;
    }

    footer .row {
        flex-wrap: wrap;
        gap: 15px 15px;
    }

    footer .footer_col4 {
        display: flex;
        justify-content: center;
    }

    footer .contact-info {
        display: flex;
        padding-top: 15px;
    }

    footer .h3 {
        font-size: 18px;
        margin: 0 0 8px;
        padding: 0;
    }

    .contact-info .address,
    .contact-info .hours-sales-online {
        margin: 5px 0 0 0 !important;
    }

    .header-middle .row {
        flex-wrap: wrap;
    }

    .header-middle .row {
        padding: 5px 0 15px;
    }

    .header-middle .logo {
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .catalog.grid {
        grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
    }




    #products .list_products_params #search-anything,
    #products .list_products_params .display_params {
        margin: 0 auto;
    }

    #products .button-bar .button-bar-items .btn.char,
    #products .button-bar .button-bar-items .btn.gallery {
        padding: 0 2px;
    }

    #products .button-bar .button-bar-items .btn.char span,
    #products .button-bar .button-bar-items .btn.gallery span {
        display: none;
    }

    #products .button-bar .button-bar-items .btn.char:before,
    #products .button-bar .button-bar-items .btn.gallery:before {
        margin: 0;
    }

    .container {
        width: 100%;
    }

    #slider .caption > * {
        max-width: 100%;
    }

    #slider .caption {
        flex-direction: column-reverse;
        padding-top: 15px;
    }

    #slider .caption_image {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;

    }
    #slider .caption_image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    #slider .caption .caption_content {
        padding:  15px;
        align-items: center;
        max-width: 100%;
    }
    #slider h1, #slider h2, #slider .h1, #slider .h2, #slider a {
        font-size: 32px;
    }
    #slider .caption p {
        font-size: 26px;
    }

    .catalog_transformatorov .categories,
    .catalog_transformatorov .products,
    .advantages .category_articles__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog.grid,
    .category_view .sub_categories {
        grid-template-columns: repeat(3, 1fr);
    }
    .catalog.grid.owl-carousel {
        grid-template-columns: repeat(3,minmax(180px, 1fr));
        grid-template-rows: 1fr;
    }
    .catalog.grid.owl-carousel  > *:nth-child(n+4) {
        display: none;
    }

}

@media (min-width: 541px) and (max-width: 992px) {
    .nav.nav-tabs {
        margin: 0 -2px;
    }

    .nav.nav-tabs li {
        max-width: none;
        overflow: hidden;
        padding: 0 1px 2px;
        width: 50%;
    }

    .nav.nav-tabs li a {
        border: 1px solid #ddd !important;
        margin: 0;
    }

    .nav.nav-tabs li.active a {
        border: 1px solid #000 !important;
    }

    .nav.nav-tabs li.active:after {
        display: none;
    }
}

@media (max-width: 800px ) {
}

@media (max-width: 767px ) {
    .logo span {
        font-size: 34px;
    }

    .aboutus .item {
        flex-direction: column;
    }

    .aboutus .item .item_image {
        margin: 0 0 15px 0;
        min-width: 320px;
        text-align: center;
    }


    .catalog.grid {
        grid-template-columns: repeat(2,minmax(180px, 1fr));
    }

    .header-middle .logo {
        border-bottom: 1px solid #C5C7CB;
    }

    .modal .modal-dialog {
        width: calc(100% - 20px);
    }

    #search-anything {
        flex-direction: column;
        margin: 0 0 10px 0;
        width: 100%;
    }

    #search-anything .control-group {
        width: 100%;
    }

    #search-anything .controls,
    #search-anything .controls #search_field {
        flex-grow: 2;
    }

    #products .list_products_params .display_params {
        margin: 0 0;
        width: 100%;
    }

    .category_order .controls{
        flex-grow: 2;
        margin-left: 0;
    }

    #products .list_products_params .display_params .category_order {
        flex-grow: 2;
    }

    .category_view .sub_categories {
        flex-direction: column;
    }

    .category_view .sub_categories li .image {
        height: 34px;
        margin-right: 15px;
        width: 34px;
    }


    .category_view .sub_categories .category_name a {
        display: block;
        line-height: 1.1;
    }

    .category_view .box_products_sorting .controls,
    .category_view .box_products_sorting #order {
        flex-grow: 2;
        margin-left: 0 !important;
    }

    .blog .item .item-image {
        float: none !important;
        margin-bottom: 15px;
        text-align: center;
    }

    #products .catalog .info .description {
        margin: 0 15px 15px;
    }

    .catalog .list_sub_categories {
        grid-template-columns: repeat(1, 1fr);
    }

    .catalog .sub_category_info {
        flex-direction: row;
    }

    footer .footer_col2, footer .footer_col3 {
        display: flex;
        justify-content: flex-start;
    }
}

@media (max-width: 680px ) {
    .titleStyled .modtitle .h3 {
        font-size: 32px;
        margin: 0 0 15px;
    }
    .catalog_transformatorov .categories, .catalog_transformatorov .products, .advantages .category_articles__items {
        grid-column-gap: 15px;
        grid-row-gap: 15px;

    }
    .catalog_transformatorov .categories .item_image img,
    .catalog_transformatorov .products .item_image img {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 640px ) {
    .header-middle-left {
        width: 50%;
    }

    .header-middle-right {
        padding-left: 0;
        padding-right: 0;
        width: 50%;
    }

    .header-middle-right .phones{
        text-align: center;
    }

    .header-middle .logo {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .catalog.grid {
        grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
    }

    #products .h2 {
        font-size: 18px;
        margin: 0 0 15px;
    }

    .advantages .item h3,
    .catalog_transformatorov .block_item .item_name {
        font-size: 18px;
        line-height: 1.1;
    }

    .titleStyled .modtitle h2, .titleStyled .modtitle .h3 {
        font-size: 32px;
    }

    .mod.block + .mod.block {
        margin-top: 40px;
    }
    .catalog_transformatorov {
        padding: 40px 0;
    }

    .contact_info .row {
    flex-wrap: wrap;
        gap:15px 15px;
    }
    .catalog.grid.owl-carousel {
        grid-template-columns: repeat(2,minmax(180px, 1fr));
        grid-template-rows: 2fr;
    }
    .catalog.grid.owl-carousel  > *:nth-child(n+3) {
        display: none;
    }


}

@media (max-width: 600px ) {
}

@media (max-width: 540px ) {
    .nav.nav-tabs li {
        width: auto;
    }

    .nav.nav-tabs li span {
        display: none;
    }


    .catalog_transformatorov .nav.nav-tabs {
        gap: 10px 10px;
        margin-bottom: 10px;
    }
    .catalog_transformatorov .nav.nav-tabs li {
        min-width: 100%;
    }
    .catalog_transformatorov .nav.nav-tabs li span{
        min-height: 40px;
    }

}

@media (max-width: 480px ) {
    .header-middle .row {
        padding: 5px 0 5px;
    }

    .header-menu {
        padding: 5px 10px;
        height: 48px;
    }
    .header-menu .row{
        margin: 0;
    }

    .header-menu .container{
        padding: 0;
    }

    .header-menu div[class*=col-] {
        width: auto !important;
        padding: 0;
    }

    .header-menu .navigation_left{
        min-width: 40px;
    }
    .header-menu  .menu {
        margin: 0;
    }
    .header-middle .logo {
        margin-bottom: 0px;
        margin-left: 0;
    }

    .header-middle .info {

        justify-content: center;
    }

    .header-middle .info .phone-numbers,
    .contact-info .hours-sales-online {
        min-width: 275px;
    }

    .header-middle .row {
        flex-direction: column;
    }

    .header-middle-left,
    .header-middle-right {
        justify-content: center;
        width: 100%;
    }
    #content {
        padding-top: 15px;
    }

    footer .contact-info {
        flex-direction: column;
    }

    footer .contact-info > div {
        margin: 5px 0 0;
    }

    #slider .caption {
        bottom: 5px;
    }

    #slider .item .h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    #list_products.list .item .row.flex {
        flex-direction: column;
    }

    #list_products.list .item .product_image {
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }

    #list_products.list .item .product-overview {
        width: 100%;
    }

    .header-middle .info .phone-numbers {
        margin: 0 auto;
    }

    .contact-info .hours-sales-online .val {
        flex-direction: column;
    }

    .contact-info .hours-sales-online .val div + div {
        padding-left: 0;
    }

    .contact-info .ttl {
        margin: 0 0 5px;
    }

    .header-middle .info .address {
        margin-bottom: 5px !important;
    }

    .header-middle .info .address {
    }

    .extra_fields .row {
        display: flex;
        flex-wrap: wrap;
    }

    .extra_fields .row div[class*=col-] {
        width: auto !important;
    }

    .extra_fields .row .val {
        margin-left: auto;
    }

    footer .footer_col2 {
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    footer .footer_col3 {
        display: block;
        justify-content: flex-start;
    }



    h1.page-title {
        font-size: 26px;
        line-height: 1.1;
        max-width: 100%;
        overflow: hidden;
    }



    .modal .modal-body {
        padding: 0 15px 15px;
    }

    .modal .modal-header {
        padding: 15px 15px 15px;
    }

    .loginform .buttons .controls {
        display: flex;
        overflow: hidden;
    }

    .blog .item .item-header .h2 {
        font-size: 18px;
    }

    .catalog.grid {
        grid-template-columns: minmax(180px, 1fr);
    }

    .catalog .sub_category_info {
        flex-direction: column;
    }

    .shophead h1 {
        font-size: 36px;
        margin-bottom: 40px;
        text-align: center;
    }

    .catalog .list_categories .category + .category {
        margin-top: 40px;
    }

    .advantages .category_articles__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .advantages .item h3, .catalog_transformatorov .block_item .item_name {
        font-size: 16px;

    }
    #slider .caption_image {
        position: absolute;
        top:15px;
        z-index: 1;
        opacity: 0.2;
    }
    #slider .caption {
        padding: 15px 0;
       /* justify-content: center;*/
    }
    #slider .caption .caption_content {
        text-align: center;
        position: relative;
        z-index: 2;
    }
    #slider .readmore > *{
        min-width: 100%;
    }
    #slider .icons-row {
        justify-content: center;
    }

    .category_view .sub_categories .h2, .category_view .sub_categories h2{
        font-size: 14px;
    }

    .contacts_nav ul li{
        flex-basis: 48%;
        text-align: center;
    }

    .contacts_nav ul li:nth-child(2n){
        flex-basis: 100%;
        order:-1;
    }

    .category_view .sub_categories {
        grid-template-columns: repeat(2,minmax(120px, 1fr));
    }
	
	 .header-middle .info .phone-numbers {
        padding-left:62px;
    }

}

@media (max-width: 420px ) {
    .custom-made .item {
        min-height: 320px;
    }

    .contact-info .hours-sales-online .val {
        flex-direction: column;
    }

    .catalog.grid {
        grid-template-columns: minmax(180px, 1fr);
    }

    .box_products_sorting .control-label,
    #search-anything .control-label {
        display: none;
    }

    .category_order,
    .box_products_sorting .controls {
        width: 100%;
    }

    .loginform .buttons .controls,
    .pweb-modal .buttons .controls {
        display: flex;
        flex-direction: column;
    }

    .loginform .buttons .controls .button,
    .pweb-modal .buttons .controls .button {
        box-sizing: border-box;
        margin-left: 0 !important;
        width: 100%;
    }

    .loginform .buttons .controls .button:last-child,
    .pweb-modal .buttons .controls .button:last-child {
        margin-bottom: 0 !important;
    }

    .catalog_transformatorov .categories,
    .catalog_transformatorov .products,
    .advantages .category_articles__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .header-middle .logo img{
        max-height: 62px;
    }

    #sitecontent ul.sigProClassic li.sigProThumb,
    #sitecontent ul.sigProClassic li.sigProThumb img{
        width: 100% !important;
        height: auto !important;
    }

    .catalog.grid.owl-carousel {
        grid-template-columns: repeat(1,minmax(180px, 1fr));
        grid-template-rows: 1fr;
    }
    .catalog.grid.owl-carousel  > *:nth-child(n+2) {
        display: none;
    }

    .products.defaultslider .owl-dots{
        display: none !important;
    }
    .details-page .product_info .price_btns {
        flex-direction: column;
    }
}

@media (max-width: 380px ) {
    .aboutus .item .item_image {
        min-width: 120px;
    }

    .accordionBlocks .accordion-heading a {
        flex-direction: column;
    }

    .guarantees .accordionBlocks .accordion-heading a {
        line-height: 1.1;
        text-align: center;
    }

    #products .list_products_params .display_params {
        flex-direction: column;
    }

    #products .list_products_params .display_params .category_order {
        margin-bottom: 8px;
    }

    #products .list_products_params .display_params .displaymode {
        margin: 0 auto;
    }

}
