/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}



html,
body {
  	height: 100%;
}

img {
	display: block;
    max-width: 100%;
    height: auto;
}

a:hover {
	text-decoration: none;
}

.search-results .views-row:after,
.views-field-view-node:after,
.page-header:after,
#block-dpuzyny-site-branding:after,
header.page-header:after,
.region-branding:after {
     clear: both;
    content: "";
    display: block;
}

html {
  scroll-behavior: smooth;
}

ul.footnotes li {
  margin : 10px 0 10px 50px;
}



.obrazek-over,
.overlay-popupu,
.os-overlay {
	position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
}

.systemowe-messages {
	clear: both;
	border: 2px solid #8bc43f; /* zielony */
	padding: 20px;
	width: 50%;
	    margin: 0 auto;
}

#block-dpuzyny-primary-local-tasks {
	padding: 20px 0;
}
#block-dpuzyny-primary-local-tasks ul li {
	display: inline-block;
}
#block-dpuzyny-primary-local-tasks ul li a {
	display: block;
	padding: 4px;
	margin: 4px;
	border: 1px solid #838383;
}
 


.klasa-ilustracja  { /*zdjęcie główne artykułu  - całość */
    padding: 10px 0 20px 0;
}
.klasa-ilustracja div div:last-child { /*zdjęcie główne artykułu  - podpis */
    padding: 15px 0 0 0;
 }

figure[role="group"] { /* zdjęcie w treści - całość */
    padding: 20px 0 20px 0; 
}
figcaption { /* zdjęcie w treści - podpis */
    padding: 15px 0 0 0;
}


blockquote {
    padding:  45px 20px 30px 90px;
    position: relative;
}
blockquote:before {
    content: "";
    background-image: url(../images/cytat.png);
    width: 52px;
    height: 49px;
    display: block;
    position: absolute;
    top: 25px;
    left: 25px;
}

@media (min-width: 1025px) {

     
}





/* STRONICOWANIE */

nav.pager {
    text-align: center;
}
.pager > ul {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 0;
}
.pager li {
  display: inline-block;
}
.pager li > a  {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #86a05c;
    text-decoration: none;
    background-color: #f9f9f8;
    border: 1px solid #f9f9f8;
}

/* LOCAL TASKS  */

#block-karandasz-primary-local-tasks {
    padding: 20px 0;
}
#block-karandasz-primary-local-tasks ul li {
    display: inline-block;
}
#block-karandasz-primary-local-tasks ul li a {
    display: block;
    padding: 4px;
    margin: 4px;
    border: 1px solid #838383;
}


/* BREADCRUMBS */

#block-karandasz-breadcrumbs ol {
    list-style: none;
    text-align: center;
}
#block-karandasz-breadcrumbs ol li {
    display: inline-block;
}
#block-karandasz-breadcrumbs ol li:after {
    content: "/";
    display: inline-block;
    padding: 0 4px;
}
#block-karandasz-breadcrumbs ol li:last-child:after {
    display: none;
}




/* MOBILE MENU */






@media (min-width: 1280px) {
    article div.siatka-tekstu {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 50px;
        grid-row-gap: 20px;
        
    }
}