/*
Theme Name: Vastcon Child
Theme URI: http://demo.casethemes.net/vastcon
Author: Case-Themes
Author URI: https://casethemes.net/
Description: Vastcon is a stunning, professional and flexible Construction, Building & Renovation Theme based on Strong researches into the field of business, Construction and Handyman Business. It is fully responsive, retina ready and easy to customize. Vastcon has stunning styles and elements to help you make a professional website in no time.
Version: 1.0.1
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: vastcon
Text Domain: vastcon-child
Tags: builder, building, company, construction, constructor, contractor, corporate, electrician, engineering, handyman, industry, painter, plumber, renovation
Requires at least: 5.8 or Higher
Requires PHP: 7.4 or Higher
Tested up to: 6.4.1

Copyright (c) 2025 Case-Themes. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
*/

/* tymczasowe  ukrycie elementów na głównej tylko dla usera */
body:not(.logged-in) #display-none {
    display: none !important;
}


/* ustawienia strzałek dla elementu na głównej */
/* ------------------------------------------- */
/* 1. Ustawienie rodzica */
.pxl-carousel-inner {
    position: relative !important;
}
/* 2. KLUCZOWE: Podnosimy cały kontener ze strzałkami */
.pxl-carousel-inner .pxl-swiper-arrow-wrap {
    position: absolute !important;
    top: 50% !important;        /* Środek wysokości */
    left: 0 !important;
    width: 100% !important;     /* Rozciągnij na całą szerokość */
    transform: translateY(-50%) !important; /* Idealne wycentrowanie w pionie */
    z-index: 100 !important;
    
    /* Ustawiamy strzałki po bokach używając Flexboxa */
    display: flex !important;
    justify-content: space-between !important; /* Jedna w lewo, druga w prawo */
    pointer-events: none; /* Ważne: pozwala klikać w slajdy pod spodem (między strzałkami) */
    
    /* Resetujemy marginesy, żeby pasek nie był przesunięty */
    margin: 0 !important;
    padding: 0 10px !important; /* Mały odstęp od krawędzi ekranu */
}
/* 3. Wygląd i klikalność samych strzałek */
.pxl-carousel-inner .pxl-swiper-arrow {
    pointer-events: auto; /* Przywracamy klikanie tylko dla samych guzików */
    position: static !important; /* Resetujemy pozycjonowanie, bo rodzic (wrap) już to robi */
    
    /* Opcjonalny wygląd (możesz usunąć, jeśli wolisz domyślny) */
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}