/*
    Theme Name: POZ-Wieliszewo
    Theme URI:
    Description: Theme designed for Dreampire
    Version: 1.0.1
    License:
    License URI:
    Tags: 
*/

/* --------------------------------------------------------------------------------------------------------- */
/* PRZYCISK DO BLOGA NA STRONIE GŁÓWNEJ */
.news__more {
    width: 100%;
    text-align: center;
    margin: 50px auto 20px auto; /* Wycentruj na stronie */
}

.btn-more-posts {
    background-color: #00a0e3; /* Niebieski kolor */
    color: #fff; /* Biały tekst */
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
	font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn-more-posts:hover {
    background-color: #008cbf; /* Ciemniejszy niebieski przy hover */
}

/* --------------------------------------------------------------------------------------------------------- */
/* ANKIETA POP-UP */
/* Styl dla przycisku Sticky Ankieta */
#sticky-contact-btn {
	font-family: 'Poppins', sans-serif !important;
    background-color: #0073e6 !important;  /* Kolor tła */
    color: white !important;  /* Kolor tekstu */
    padding: 10px 20px !important;
    font-size: 16px !important;
    border-radius: 10px !important;  /* Zaokrąglone rogi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    position: fixed !important;
    top: 410px !important;
    right: 0px !important;
    z-index: 100 !important;
    transition: background-color 0.3s ease !important;
}

#sticky-contact-btn:hover {
    background-color: #005bb5 !important;  /* Zmiana koloru na ciemniejszy przy najechaniu */
}

/* Popup ankiety */
/* Styl dla całego pop-upu */
.survey-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);  /* Półprzezroczyste tło */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;  /* Ukryte na początku */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    font-family: 'Poppins', sans-serif !important;  /* Dodanie czcionki Poppins */
}

/* Zapytanie dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
    /* Zmiana szerokości formularza na urządzeniach mobilnych */
	.survey-popup {
        top: 80px !important;  /* Dodajemy 10px przestrzeni pod przyciskiem accessibility (przykładowo 60px dla przycisku) */
    }
	
    .survey-popup__content {
        width: 90% !important;  /* Maksymalna szerokość formularza na urządzeniach mobilnych */
		max-width: 100% !important;    /* Nie wychodzi poza ekran */
        margin: 0 auto !important;     /* Wyśrodkowanie */
    }

    /* Przeniesienie przycisku wyżej */
    #sticky-contact-btn {
        position: fixed;
        top: 160px !important;  /* Umieść przycisk 10px od góry ekranu */
    }
}

/* Styl ukrywania pop-upu */
.survey-popup.hidden {
    visibility: hidden;
    opacity: 0;
}

/* Styl dla zawartości pop-upu */
.survey-popup__content {
    background-color: white;
    padding: 2rem;
    max-width: 1140px !important;
    max-height: 75vh !important;
    overflow-y: auto;  /* Umożliwia przewijanie, jeśli zawartość jest za duża */
    border-radius: 10px;
    position: relative;
    font-family: 'Poppins', sans-serif !important;  /* Dodanie czcionki Poppins */
}

/* Styl przycisku zamknięcia */
.survey-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif !important;  /* Dodanie czcionki Poppins */
}

/* Styl dla przycisku zamknięcia po najechaniu */
.survey-popup__close:hover {
    color: #0073e6;
}

/* Odstępy między kategoriami (nagłówkami) */
h3 {
	margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* Odstępy między pytaniami i odpowiedziami w tabeli */
table {
    width: 100%;  /* Upewnij się, że tabela zajmuje całą szerokość */
    border-collapse: collapse;  /* Usuwa przestrzeń między komórkami */
    margin-bottom: 20px;  /* Odstęp na dole tabeli */
}

th, td {
    padding: 10px !important;  /* Zwiększenie odstępu w komórkach */
    text-align: left;
	vertical-align: top !important;  /* Wyrównanie zawartości komórek do góry */
}

th {
    background-color: #f2f2f2;  /* Kolor tła dla nagłówków tabeli */
    font-weight: bold;
}

td {
    border: 1px solid #ddd;  /* Obramowanie komórek */
}

table tr:nth-child(even) {
    background-color: #f9f9f9;  /* Kolor tła dla parzystych wierszy tabeli */
}

table tr:hover {
    background-color: #f1f1f1;  /* Kolor tła po najechaniu na wiersz */
}

/* Styl dla pola select */
select {
    width: 100% !important;  /* Szerokość na 100% */
    padding: 10px !important;  /* Odstępy wewnętrzne */
    font-size: 1rem !important;  /* Rozmiar czcionki */
    border: 1px solid #ddd !important;  /* Obramowanie */
    border-radius: 5px !important;  /* Zaokrąglone rogi */
    background-color: #f9f9f9 !important;  /* Kolor tła */
    box-sizing: border-box !important;  /* Uwzględnia padding w szerokości */
    margin-bottom: 10px !important;  /* Odstęp poniżej pola */
}

/* Styl dla pola textarea */
textarea {
    width: 100% !important;  /* Szerokość na 100% */
    padding: 10px !important;  /* Odstępy wewnętrzne */
    font-size: 1rem !important;  /* Rozmiar czcionki */
    border: 1px solid #ddd !important;  /* Obramowanie */
    border-radius: 5px !important;  /* Zaokrąglone rogi */
    background-color: #f9f9f9 !important;  /* Kolor tła */
    box-sizing: border-box !important;  /* Uwzględnia padding w szerokości */
	margin-top: 10px;
    margin-bottom: 10px !important;  /* Odstęp poniżej pola */
    min-height: 100px !important;  /* Minimalna wysokość */
    resize: vertical !important;  /* Pozwoli na zmianę wysokości */
}

/* Styl dla przycisku submit */
input[type="submit"] {
    background-color: #0073e6 !important;  /* Kolor tła przycisku */
    color: white !important;  /* Kolor tekstu */
    font-size: 16px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
    padding: 12px 20px !important;  /* Odstępy wewnętrzne */
    border: none !important;  /* Brak obramowania */
    border-radius: 5px !important;  /* Zaokrąglone rogi */
    cursor: pointer !important;  /* Kursor ręki */
    width: 100% !important;  /* Szerokość na 100% */
    transition: background-color 0.3s ease !important;  /* Animacja tła */
    box-sizing: border-box !important;  /* Uwzględnia padding w szerokości */
}

/* Efekt po najechaniu na przycisk submit */
input[type="submit"]:hover {
    background-color: #005bb5 !important;  /* Ciemniejszy kolor przycisku po najechaniu */
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
}

/* Styl dla strony bloga */
body.blog {
    background-color: #f4f4f4;  /* Tło strony bloga */
}

/* Styl dla nagłówka bloga */
body.blog h1 {
    color: #333;  /* Kolor nagłówka na stronie bloga */
    font-size: 36px;
    text-align: center;
}

/* --------------------------------------------------------------------------------------------------------- */
/* PODSTRONA BLOGA */

body {
    font-family: 'Roboto', sans-serif; /* Ustawienie czcionki na całej stronie */
	background-color: #f6faff;
}

.content-area {
    padding-left: 100px;
    padding-right: 100px;
	padding-bottom: 40px;
	padding-top: 20px;
}

@media (max-width: 768px) {
    .content-area {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* napis BLOG */
body h1{
	font-size: 32px;
	padding-bottom: 20px;
	padding-top: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dostosowanie liczby kolumn w zależności od szerokości ekranu */
    gap: 25px;
    margin: 25px 0;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-post {
	display: flex;
    flex-direction: column; /* Ustawienie elementów w kolumnie */
    justify-content: space-between; /* Umożliwia wyrównanie przycisku na dole */
    background-color: #ffffff;
    padding: 40px !important;
    border-radius: 0px;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px); /* Efekt unoszenia przy najechaniu */
}

.blog-post h2 {
    font-size: 20px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif !important;
    margin-bottom: 20px !important;
}

.blog-post .post-date {
    font-size: 16px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif !important;
    color: #467c87;
    margin-bottom: 15px !important; /* Większy odstęp między datą a tytułem */
}

.blog-post .post-excerpt {
	padding-top: 10px !important;
    font-size: 16px !important;
	font-family: 'Poppins', sans-serif !important;
    color: #686f7d;
}

.blog-post a {
    color: #333;
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: none;
}

/* Stylowanie miniaturki */
.blog-post .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* KONIEC BLOGA */
/* --------------------------------------------------------------------------------------------------------- */