/* zmiana koloru dla podlinkowanego diva "informacje o koszyku, który znajduje się w prawym górnym rogu" */
div.menu_basket_list > a {
    background: #e85a0a !important;
    color: #ffffff !important;
}

/* EFEKT HOVER: Zmiana napisu i ikon na niebieski/granatowy (#2f2483) */
div.menu_basket_list:hover > a,
div.menu_basket_list:hover > a *,
div.menu_basket_list:hover > a::before,
div.menu_basket_list:hover > a::after,
div.menu_basket_list > a:hover,
div.menu_basket_list > a:hover *,
div.menu_basket_list > a:hover::before,
div.menu_basket_list > a:hover::after {
    color: #2f2483 !important;
    fill: #2f2483 !important;
}

/* odstęp między banerami strefy drugiej od elementu pod nim */
#menu_banners2 {
    margin-bottom: 40px !important;
}

/* zmiana koloru hover dla podlinkowanego diva "informacje o koszyku, który znajduje się w prawym górnym rogu" */
div.menu_basket_list:hover>a {
    background: #e85a0a !important;
}

/* zmiana koloru ikonki dla linku moje rabaty w sekcji "Moje konto" */
.icon-scissors-cut:before {
    color: blue !important;
}

/* ukrycie linku moje rabaty w sekcji "Moje konto" */
#account_rebates {
    display: none!important;
}

/* usunięcie obramowania dla diva "Moje zamówienie" oraz "Moje konto" */
#menu_orders,
#menu_account {
    border: none !important;
}

/* nadanie koloru dla ramek w sekcji "Moje zamówienie" */
#menu_orders {
    border-top-color: none!important;  
    border-left-color: none !important;   
    border-bottom-color: none !important;
}

/* nadanie koloru dla ramek w sekcji "Moje konto" */
#menu_account {
    border-top-color: none!important;    
    border-left-color: none !important;   
    border-bottom-color: none !important;
}

/* --- WERSJA DLA KOMPUTERÓW (DESKTOP - od 768px) --- */
@media (min-width: 768px) {
/* ustawienie górnego paddingu nad etykietami "Moje zamówienie", "Moje konto", "Regulaminy", "Informacje" */
#footer_links #menu_orders,
#footer_links #menu_account,
#footer_links #menu_regulations,
#footer_links #links_footer_1 {
    padding-top: 0px !important;
}

#footer_links #menu_regulations,
#footer_links #links_footer_1 {
    padding-left: 150px !important;
}

#footer_links #menu_client {
    flex:0 0 50%;
    max-width:50%;
    margin: 0px;
    display:flex;
    box-shadow:0 0 10px rgba(0,0,0,.20);
}

#menu_client > #menu_orders,
#menu_client > #menu_account {
    flex:0 0 50%;
    max-width:50%;
    width:50%;
}

#footer_links.four_elements > .footer_links {
    flex:0 0 25% !important;
    max-width:25% !important;
    width:25% !important;
}
}

/* nadanie koloru dla tytułów w sekcjach "Moje zamówienie" "Moje konto", "Regulaminy", "Informacje" */
#menu_orders .footer_links_label,
#menu_account .footer_links_label,
#menu_regulations .footer_links_label,
#links_footer_1 .footer_links_label {
    color: #e85a0a !important;
}


/* --- FIX DLA MOBILE (Ekran poniżej 768px) --- dla komponentu "moje menu, konto, regulaminy, informacje" */
@media (max-width: 767px) {
    /* Ustawienie głównego kontenera client na pełną szerokość */
    #footer_links #menu_client {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important; /* dopisane */
        /* flex-direction: column !important; /* Zamiana na układ pionowy */
        box-shadow: none !important;
        padding: 0 !important; /* dopisane */
        margin: 0 !important; /* dopisane */
        /* margin-bottom: 15px !important; */
    }

    /* Sekcje "Moje zamówienie" oraz "Moje konto" na pełną szerokość */
    #menu_client > #menu_orders,
    #menu_client > #menu_account,
    #footer_links #menu_regulations, /* dopisane */
    #footer_links #links_footer_1, /* dopisane */
    #footer_links.four_elements > .footer_links /* dopisane */
    {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important; /* dopisane */
        padding-top: 0 !important; /* dopisane */
        padding-bottom: 0 !important; /* dopisane */
        margin-left: 0 !important; /* dopisane */
        margin-right: 0 !important; /* dopisane */
        margin-top: 0 !important; /* dopisane */
        margin-bottom: 15px !important; /* Jednakowy odstęp pod każdym blokiem */ /* dopisane */
        text-align: center !important; /* Wyśrodkowanie tekstu */ /* dopisane */
    }

    /* Pozostałe sekcje (Regulaminy, Informacje) na pełną szerokość */
    #footer_links.four_elements > .footer_links,
    #footer_links #menu_regulations,
    #footer_links #links_footer_1 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important; /* Usunięcie przemieszczenia 150px */
        margin-bottom: 15px !important;
    }
    
    /* Standaryzacja marginesów samych nagłówków h2 / a.footer_links_label */
    #footer_links .footer_links_label {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: inline-block !important;
    }
}

/* nadanie efektu dla etykiet w menu górnym, poziomym */
#menu_categories3 .nav-item[data-name="Promocje"] a,
#menu_categories3 .nav-item[data-name="Bestsellery"] a,
#menu_categories3 .nav-item[data-name="Nowości"] a,
#menu_categories3 .nav-item[data-name="Strefa marek"] a,
#menu_categories3 .nav-item[data-name="Blog"] a,
#menu_categories3 .nav-item[data-name="Aktualności"] a,
#menu_categories3 .nav-item[data-name="Katalog Osaa"] a {
   /* color: #e85a0a !important; */
    transition: transform 0.1s ease, color 0.1s ease;
    display: inline-block;
}

/* nadanie koloru dla etykiety "Katalog Osaa" w menu górnym, poziomym */
#menu_categories3 .nav-item[data-name="Katalog Osaa"] a {
    color: #e85a0a !important; 
}

/* nadanie efektu "hover" dla etykiet w menu górnym, poziomym */
#menu_categories3 .nav-item[data-name="Promocje"] a:hover,
#menu_categories3 .nav-item[data-name="Bestsellery"] a:hover,
#menu_categories3 .nav-item[data-name="Nowości"] a:hover,
#menu_categories3 .nav-item[data-name="Strefa marek"] a:hover,
#menu_categories3 .nav-item[data-name="Blog"] a:hover,
#menu_categories3 .nav-item[data-name="Aktualności"] a:hover,
#menu_categories3 .nav-item[data-name="Katalog Osaa"] a:hover
{
    transform: scale(1.2);
    color: #ff7b22 !important;
}

/* nadanie koloru i pogrubienia dla kategorii "Katalog OSAA" w kategoriach głównych */
a[href="/pl/menu/katalog-osaa-471"] {
    font-weight: bold !important;
    color: #e85a0a !important;
}

/* nadanie koloru dla etykiety "Aktualności" w menu górnym, poziomym (dotyczy każdej etykiety "Aktualności" na stronie */
/* a[href="/pl/news"] { */
    /* font-weight: bold !important; */ 
    /* color: #e85a0a !important;
} */


a[href="/login.php?operation=logout"] {
    font-size: 12px !important; 
}

/* umieszczenie "wyloguj" po prawej stronie w menu górnym, poziomym 
.nav-item[data-name="wyloguj"] {
    font-size: 12px !important;
    margin-left: auto;
    margin-right: 10px; 
} */

/* nadanie koloru dla etykiety "Twoje konto" oraz "Zaloguj się" i "Zarejestruj się" na górze strony */
#menu_additional .account_link {
    color: #e85a0a !important;
}

/* nadanie koloru dla etykiety "wyloguj" na górze strony */
#menu_additional a[href*="logout"] {
    color: #b7b6bb !important;
}

/* nadanie koloru dla etykiety "lista zakupowa" na górze strony */
#menu_additional a[href*="shoppinglist"] {
    color: #e85a0a !important;
}

/* zmniejszenie pola edycyjnego do wpisywani szukanego produktu 
#menu_search {
    width: 500px !important;
} */

@media screen and (min-width: 768px) {
    #menu_search {
        width: 500px !important;
    }
}

@media screen and (max-width: 767px) {
    #menu_search {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ukrycie lewego bocznego menu dla sekcji Blog 
#menu_blog {
    display: none !important;
} */

/* ukrycie tła dla drugiego menu 2 */
div#menu_categories2::before{
    display: none !important;
}

/* odległość w pionie między banerami głównymi a 4 banerami pod nimi*/
.mb-5 {
margin-bottom: 13px !important;    
}

/* odległość w pionie między strona główna strefa pierwsza a element pod nim (hotspot)*/
#main_cms {
margin-bottom: 2px;    
}

/* ustawienie koloru nagłówka "Aktualności" oraz paska przed nim na odpowiedni format i kolor */
#main_news .headline {
    color: #e85a0a !important;
    border-left: 7px solid #e85a0a !important;
}

/* Aktualności – ustawienie zdjęcie pod datą i tytułem */
#main_news .article__item {
    display: flex !important;
    flex-direction: column !important;
}

/* 1. Ustawienie daty i tytułu */
#main_news .article__date_name {
    order: 1 !important;
    margin-bottom: 0 !important;
    align-items: flex-start !important;
}

/* 2. Ustawienie zdjęcia */
#main_news .article__image_wrapper {
    order: 2 !important;
    float: none !important;
    clear: both !important;
    width: calc(100% - 50px) !important;
    max-width: none !important;
    margin: 10px 0 15px 50px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Zachowanie prawidłowych proporcji zdjęcia */
#main_news .article__image {
    display: block !important;
    max-width: 100% !important;
    height: 100% !important;
}

/* 3. Opis aktualności */
#main_news .article__text {
    order: 3 !important;
}

/* zmniejszenie szerokości komponentu "Aktualności" do 45 procent */
#main_news {
    width: 47% !important;
    max-width: 47% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    box-sizing: border-box;    
}

/* Tylko dla komputerów i tabletów ustawienie wyglądu komponentu "Aktualności" */
@media (min-width: 757px) {
    #main_news .article__image_wrapper {
        width: calc(100% - 50px) !important;
        margin-left: 50px !important;
    }
}

/* Tylko dla telefonów ustawienie wyglądu komponentu "Aktualności" */
@media (max-width: 756px) {
    #main_news .article__image_wrapper {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* sformatowanie diva z datą dla komponentu "Aktualności" */
.datasquare {
    color: #e85a0a !important;
    border-right: 1px solid #e85a0a!important;
}

/* zmniejszenie szerokości komponentu "Blog" do 45 procent */
#main_blog {
    width: 47% !important;
    max-width: 47% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    box-sizing: border-box;    
}

/* ustawienie treści nagłówka "Blog" oraz paska przed nim na odpowiednie formaty */
#main_blog .headline {
    color: #e85a0a !important;
    border-left: 7px solid #e85a0a !important;
}

/* Blog – ustawienie zdjęcie pod tytułem */
#main_blog .article__item {
    display: flex !important;
    flex-direction: column !important;
}

/* 2. Ustawienie zdjęcia dla komponentu "Blog" */
#main_blog .article__image_wrapper {
    order: 2 !important;
    float: none !important;
    clear: both !important;
    width: calc(100% - 50px) !important;
    max-width: none !important;
    margin: 0px 0 15px 50px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Zachowanie prawidłowych proporcji zdjęcia dla komponentu "Blog" */
#main_blog .article__image {
    display: block !important;
    max-width: 100% !important;
    height: 100% !important;
}

/* 3. Opis blog */
#main_blog .article__text {
    order: 3 !important;
}

/* Aktualności i Blog obok siebie */
@media (min-width: 979px) {

    #main_news,
    #main_blog {
        display: inline-block !important;
        width: calc(50% - 20px) !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

    #main_news {
        margin-right: 30px !important;
    }

    #main_blog {
        float: right !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 4px;
    }
}

#main_blog {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Na tabletach i telefonach jeden pod drugim */
@media (max-width: 978px) {

    #main_news,
    #main_blog {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

#main_blog .article__date_name {
    align-items: flex-start !important;
}

#main_news .article__name_wrapper,
#main_blog .article__name_wrapper {
    align-items: flex-start !important;
    align-self: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

#main_news .article__name,
#main_blog .article__name {
    display: block !important;
    font-size: 1.3rem !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    padding: 0 0 5px 0 !important;
}

/* ustawienie etykiety "> Zobacz wszystkie" w "aktualnościach" i "blogu" do prawej strony */
#main_news .headline__after,
#main_blog .headline__after {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    text-align: right !important;
    padding-right: 5px !important;
}


/* --- RESPONSYWNOŚĆ (RWD) --- dla komponentów "Aktualności" oraz "Blog" */

/* 1. KOMPUTERY I TABLETY (Sąsiadujące bloki) */
@media (min-width: 979px) {
    #main_news,
    #main_blog {
        display: inline-block !important;
        width: calc(50% - 15px) !important;
        max-width: 50% !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #main_news {
        margin-right: 25px !important;
        margin-left: 0 !important;
    }

    #main_blog {
        float: right !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Wcięcie zdjęcia tylko na dużych ekranach */
    #main_news .article__image_wrapper,
    #main_blog .article__image_wrapper {
        width: calc(100% - 50px) !important;
        margin-left: 50px !important;
    }
}

/* 2. TELEFONY (Siatka 100% szerokości, jeden pod drugim) dla komponentów "Aktualności" oraz "Blog" */
@media (max-width: 978px) {
    #main_news,
    #main_blog {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    #main_news .article__image_wrapper,
    #main_blog .article__image_wrapper {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/*-----------------------------------------------------------------------------------------------*/
/* ustawienie hotspotu "Bestsellery" i "Promocja" dla tabletów i pc na 47 procent szerokości oraz ustawienie do lewej strony */
@media (min-width: 979px) {
    #main_hotspot_zone3,
    #main_hotspot_zone2,
    #main_hotspot_zone1,
    #main_hotspot_zone4 {
        width: 47% !important;
        max-width: 47% !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
    
    /* ustawienie dla hotspotu "Bestsellery" i "Promocja" wyświetlenia 4 produktów w 2 wierszach */
    #main_hotspot_zone3 .products > .product,
    #main_hotspot_zone2, .products > .product,
    #main_hotspot_zone1, .products > .product,
    #main_hotspot_zone4, .products > .product {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        box-sizing: border-box;
    }
    
    /* ustwienie konteneru zdjęcia w hotspot "Bestsellery" i "Promocja" */ 
    #main_hotspot_zone3 a.product__icon,
    #main_hotspot_zone2 a.product__icon,
    #main_hotspot_zone1 a.product__icon, 
    #main_hotspot_zone4 a.product__icon {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* usunięcie z hotspot "Bestsellery" i "Promocja" dodatkowych informacji o omnibusie */
#main_hotspot_zone3 .omnibus_price,
#main_hotspot_zone3 .price[class~="--max"],
#main_hotspot_zone2 .omnibus_price,
#main_hotspot_zone2 .price[class~="--max"],
#main_hotspot_zone1 .omnibus_price,
#main_hotspot_zone1 .price[class~="--max"],
#main_hotspot_zone4 .omnibus_price,
#main_hotspot_zone4 .price[class~="--max"] {
    display: none !important;
}

/* usunięcie z hotspot "Bestsellery" i "Promocja" dodatkowych informacji o omnibusie */
#main_hotspot_zone3 .product__prices,
#main_hotspot_zone2 .product__prices,
#main_hotspot_zone1 .product__prices,
#main_hotspot_zone4 .product__prices
{
    min-height: 0 !important;
}

/* ustawienie treści nagłówka "Bestsellery" i "Promocje" oraz paska przed nim na odpowiednie formaty */
#main_hotspot_zone3 .headline,
#main_hotspot_zone2 .headline,
#main_hotspot_zone1 .headline,
#main_hotspot_zone4 .headline {
    color: #e85a0a !important;
    border-left: 7px solid #e85a0a !important;
}

/* ustawienie etykiety "> Zobacz wszystkie" w "Bestsellery" i "Promocja" do prawej strony */
#main_hotspot_zone3 .headline__after,
#main_hotspot_zone2 .headline__after, 
#main_hotspot_zone1 .headline__after,
#main_hotspot_zone4 .headline__after {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    padding-right: 15px !important;
    padding-bottom: 20px;
}

/* ustawienie etykiety "> Zobacz wszystkie" w "Bestsellery" i "Promocja" do prawej strony */   
#main_hotspot_zone3 h2,
#main_hotspot_zone2 h2, 
#main_hotspot_zone1 h2,
#main_hotspot_zone4 h2 {
    width:100%;
}    
   
 /* Ustawienie komponentów "Bestsellery" oraz "Promocje" obok siebie */
@media (min-width: 979px) {
    #main_hotspot_zone3,
    #main_hotspot_zone2 {
        display: inline-block !important;
        width: calc(50% - 20px) !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

     #main_hotspot_zone2 {
        float: right !important;
        /* margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 4px; */
    } 
}

 /* Ustawienie komponentów "Ostatnio oglądane" oraz "Nowości" obok siebie */
@media (min-width: 979px) {
    #main_hotspot_zone1,
    #main_hotspot_zone4 {
        display: inline-block !important;
        width: calc(50% - 20px) !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

     #main_hotspot_zone4 {
        float: right !important;
        /* margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 4px; */
    } 
}

/* Wyświetlanie tylko jednej linii nazwy produktu dla hotspot "Bestsellery" oraz "Promocja" */
#main_hotspot_zone2 .product__name,
#main_hotspot_zone3 .product__name, 
#main_hotspot_zone1 .product__name,
#main_hotspot_zone4 .product__name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* wyświetlenie ceny oraz "/ szt." w odpowiednim kolorze dla hotspot "Bestsellery" oraz "Promocja" */
#main_hotspot_zone3 .product__prices,
#main_hotspot_zone2 .product__prices,
#main_hotspot_zone3 .price_sellby,
#main_hotspot_zone2 .price_sellby,
#main_hotspot_zone1 .product__prices,
#main_hotspot_zone4 .product__prices,
#main_hotspot_zone1 .price_sellby,
#main_hotspot_zone4 .price_sellby {
    color: #e85a0a !important;
}

/* Zmiana koloru tekstu dla przycisków w panelu klienta na czerwony */
a.btn[href*="shoppinglist"],
a.btn[href*="products-bought"],
a.btn[href*="products-requests"],
a.btn[href*="client-rebate"],
a.btn[href*="client-orders.html?display=opened"],
a.btn[href*="loginedit.html?operation=edit"],
a.btn[href*="rma-open.html"],
a.btn[href*="rma-list.html"],
a.btn[href*="client-new.html?associated"] {
    color: #2f2483 !important;
    border-color: #2f2483 !important;
}

/* Zmiana koloru tekstu dla przycisków dla efektu hover w panelu klienta na pomarańczowy */
a.btn[href*="shoppinglist"]:hover,
a.btn[href*="products-bought"]:hover,
a.btn[href*="products-requests"]:hover,
a.btn[href*="client-rebate"]:hover,
a.btn[href*="client-orders.html?display=opened"]:hover,
a.btn[href*="loginedit.html?operation=edit"]:hover,
a.btn[href*="rma-open.html"]:hover,
a.btn[href*="rma-list.html"]:hover,
a.btn[href*="client-new.html?associated"]:hover {
    color: #e85a0a !important;
    border-color: #e85a0a !important;
}

/* Ukrycie samego przycisku "Jak zbierać punkty" */
a[href*="Pozyskiwanie-i-wymiana-punktow"] {
    display: none !important;
}

img.blog_image {
    display: none !important;
}