*{padding:0;margin:0;border:0;}
html {
	position: relative;
	min-height: 100%;
	height: 100%;
}
body{
	font-size:17px;
	line-height:1.5em;
	height: 100%;
}
h1{font-size:36px;line-height:2em;}
h1.ogolne{margin-left: 0px;}
h2{font-size:30px;}
h3{font-size:24px;}

#belka_menu{display: inline-block;height: 30px;}
#belka_menu > ol{font-size:20px;}

.img-thumbnail {
    border: none;
}
#belka {
    box-shadow: none;
	 border-bottom: 1px solid #e1e1e1;
}
a.menu{
	color: #333;
}
a.menu:hover{
	color: #999;
}
p {
    text-align: justify;
}

div.tresc {
	padding: 1.5rem;
	font-size:19px;
	text-align: justify;
	/*min-height: 600px;*/
}

ul, ol {
	margin-left: 20px;
}
ul.navbar-nav{
	margin-left: 0;
}

.dropdown-item{
	padding: .25rem 1rem;
}
ul.podmenu-boczne{
	margin-left: 1.5rem;
}

a.navbar-brand  { max-width: 70%; min-width: 120px;}

tr.tabela {
    background: #efefef;
}
td.tabela {
    padding: 8px 18px 8px 4px;
}

td {border: 1px solid #cdcdcd !important; padding: 6px;}
th{ padding: 6px; text-align: right;}
/*
div.tabela {
    overflow-y: auto;
}
*/

td.tabela1 {
    padding: 10px;
}

div.tabela {
    overflow-y: auto;
	transform: rotateX(180deg);
	-ms-transform: rotateX(180deg);
	-webkit-transform: rotateX(180deg);
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,.125);
	border-radius: .45rem;
	margin-top: 20px;
	padding: 5px;
}

table.tabela {
	transform: rotateX(180deg);
	-ms-transform: rotateX(180deg);
	-webkit-transform: rotateX(180deg);
}

.szukaj-wyniki {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: .2rem;
}

.nav-link {
    display: block;
    padding: 0;
        padding-right: 1rem;
        padding-left: 1rem;
}

div.logo {
    display: inline-block;
    //vertical-align: top;
    //margin: 40px 0 0 5px;
    text-align: center;
}

div.logo > a {
	width: 100%;
	text-align: left;
	margin-top: 35px;
}
//#menu  {margin-top: 10px;}
//#menu > li >  {margin-top: 10px;}

.obrazek-opis {line-height:1.5em;margin-bottom: 30px;border-bottom: solid 1px #efefef;}

#poprzedni-nastepny{margin-top:80px;}

#belka-srodek{max-width: 1300px;margin: auto auto;}

#logo{font-size: 22px;}

#menu_boczne > li , #menu_boczne > li:first-child  {
    border-bottom: none;
	 }
img.img-powiekszenie{
display: block;
margin: auto;
width: 100%;
}
div.div-powiekszenie{
width: 100%;
max-width: 900px;
display: block;
margin: auto;
}

#menu > li > a, ol > li > a {
    padding: 0 10px 0 10px;
}

#zajawki {
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    border-width: .2rem;
    background: #fff;
}


/*-------------------------------*/

/* kolory*/

.navbar-tlo {
    background-color: rgb(11, 60, 156);
}


.list-group-item {
    /*background-color: #949495; !important;*/
	 background-color: transparent;  !important;
	 color: #fff;
}

.m-pion-calosc {
    background-image: url("/img/m-pion-tlo-foto1.jpg");
	 background-position:  bottom center;
	 background-repeat: no-repeat;
	 background-color: #959595;
}
.m-pion {
    /*background-color: #949495;*/
    background-image: url("/img/m-pion-tlo1.png");
	 background-position: bottom center;
	 padding-bottom: 160px;
}

.active a.list-group-item:hover  { background-color: #333; }

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23cdcdcd' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23cdcdcd' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{ color: #fff;  }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}


/* banery*/
.carousel p.image {
	height: 350px;
}

#carouselCardIndicators {
    margin: 50px auto;
    padding: 0 70px;
}

#prev {
	width: 5%;
}
#next {
	width: 5%;
}

.carousel-indicators li {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    margin-left: 8px;
    text-indent: -999px;
    cursor: pointer;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
    border-radius: 100%;
	 border: none;
	 box-shadow:0 0 6px black;
}

img.logo {
	max-height: 50px;
}
.w-100 {
    margin: auto;
}


div.bloki_stopka {
    padding: 1%;
        padding-bottom: 1%;
    min-height: 70px;
    display: inline-block;
    width: 16%;
    min-width: 230px;
    vertical-align: text-top;
    padding-bottom: 10px;
}


.sidenav {
  transition: 0.5s;
	list-style: none;
}

.sidenav a:hover {
  color: #000;
}

.sidenav a {
  font-size: 16px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sticky-top {
  position: sticky;
  position: -webkit-sticky;
  top: 0; /* required */
  transition: 0.3s;
}

.navbar-top-fix {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
   padding-top: 0.1rem;
   padding-bottom: 0.1rem;
	bottom: auto;
  transition: 0.3s;
}

/*   menu  */


@media (max-width: 990px) {
	.dropdown-menu {
	    display: block;
		 padding: 0;
		 margin: 0 0 5px 0;
		 color: rgba(255,255,255,.5);
		 background-color: transparent;
		 border: none;
	}
	.dropdown-item {
		color: rgba(255,255,255,.5);;
	}

	.navbar-top-fix {
	position: relative;
	}
}

.card-loga {
	display: -ms-flexbox;
	display: flex;
	background: #ccc;
	/*
margin-top: 10px;
margin-left: auto;
display: grid;
--n: 12;
grid-template-columns: repeat(auto-fill,minmax(max(100px,100%/var(--n)),1fr));
grid-template-columns: --repeat(auto-fit, minmax(280px, 1fr));
grid-gap: .5rem;*/
}

.card-logo {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;

}

.card-logo > img {
max-width: 120px;
/*min-width: 50px;*/
}

.card-deck{
    margin-top: 10px;
    margin-left: auto;
    display: grid;
  --n:5; /* the max number of columns */

	 grid-template-columns:repeat(auto-fill,minmax(max(200px,100%/var(--n)),1fr));



    /*grid-template-columns: --repeat(auto-fit, minmax(280px, 1fr));*/


    grid-gap: .5rem;
}

.card-group > .card {
	-ms-flex: 1 0 0%;
	flex: 1 0 0%;
	margin-right: 15px;
	margin-bottom: 0;
	margin-left: 15px;
}

.card-deck > .galeria {
    flex: 1 0 0%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.card-deck > .galeria > .card-body {
	 flex: 1 1 auto;
	padding: 1rem;
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: #fff;
    border-top: none;
}

/* footer */

.footer {
	background: #322B2D;

}

.jumbotron {
    padding: 2rem 1rem;
}

#page-content {
  flex: 1 0 auto;
}