/*
Welcome to Custom CSS!
To learn how this works, see http://wp.me/PEmnE-Bt
*/
/* Hides footer credit because of a bug | IO #1414978-zen */
.site-footer .site-info .wrap {
	visibility: hidden;
}


/* ===== GŁÓWNE MENU ===== */
/* Zwykły tekst głównych pozycji menu */
#top-menu > li > a {
    font-size: 0.8rem !important;
}
/* Pogrubiony tekst głównych pozycji menu, np. „Aktualności” */
#top-menu > li > a > b {
    font-size: 0.83rem !important;
}

/* ===== PODMENU ===== */
/* Zwykły tekst pozycji rozwijanego podmenu */
#top-menu .sub-menu a {
    font-size: 0.85rem !important;
}
/* Pogrubiony tekst pozycji rozwijanego podmenu, np. „Zapisy!” */
#top-menu .sub-menu a b {
    font-size: 0.87rem !important;
}


.test-fa {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

.entry-content a img, .widget a img {
	background: rgba(0,0,0,0);
	box-shadow: 0 0 0 0 #fff;
}

.entry-content a:not([class^="button"]), .page-content a:not([class^="button"]) {
	border-bottom: none;
}

/* Remove shadow from footer image */
.site-footer .widget-area a img {
	box-shadow: none;
}

a.no-border, a.no-border:hover, a.no-border:visited, a.no-border:active, a.no-border:focus {
	border: none;
	transition: none;
}

/* Change slideshow title color - #26348493-hc - aj */
.wp-block-newspack-blocks-carousel .entry-title a {
	color: #fff !important;
}

table {
	border-collapse: collapse;
}

th {
	color: #fff;
	background-color: black;
	padding-top: 12px;
	padding-bottom: 12px;
}

/* Menu wg lat */
#text-67:link {
}

#custom_html-5 {
}


/* Harmonogram Dojo Osikowa */
.harmonogram-osikowa th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #fff !important;
    vertical-align: middle!important;
    text-align: center !important;
    min-width: 170px;
    padding: 8px;
    white-space: nowrap;
}

.harmonogram-osikowa td {
    vertical-align: top;
    min-width: 170px;
    padding: 8px;
    text-align: left !important;	
}

/* DRUKOWANIE Harmonogramu Dojo Osikowa */

@page {
    size: A4 landscape;
    margin: 10mm;
}

@media print {

    /* Ukryj wszystkie elementy strony */
    body * {
        display: none !important;
    }

    /* Przywróć elementy będące rodzicami harmonogramu */
    body *:has(.harmonogram-osikowa) {
        display: revert !important;
    }

    /* Pokaż harmonogram i jego zawartość */
    .harmonogram-osikowa,
    .harmonogram-osikowa * {
        display: revert !important;
    }

    /* Tabela */
    .harmonogram-osikowa {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .harmonogram-osikowa table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    /* Nagłówki dni */
    .harmonogram-osikowa th {
        vertical-align: middle !important;
        text-align: center !important;
    }

    /* Zwykłe komórki */
    .harmonogram-osikowa td {
        vertical-align: top !important;
    }
}