


/* ------------------------------------- Begin "List of contents" ------------------------------------- */



/*
  1. banners
  2. Files
  3. gfh
  4. main-layout-container
  5. meal-day
  6. nawigacja w news
  7. Pełne
  8. Szczęśliwy numerek
  9. Szcześliwy numerek mini
  10. tiles
  11. tło
*/


/* -------------------------------------- End "List of contents" -------------------------------------- */




/* ------------------------------------------ Begin "banners" ----------------------------------------- */

.banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.banners a {
  display: block;
  margin: 15px;
  width: 110px;
  height: 110px;
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
}


.banners div {
  display: block;
  width: 110px;
  height: 110px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.banners a:hover {
  box-shadow: rgba(65, 65, 65, 0.3) 0px 3px 5px 0px;
}


/* ------------------------------------------- End "banners" ------------------------------------------ */




/* ------------------------------------------- Begin "Files" ------------------------------------------ */

.files {
  margin: 20px 0;
  padding: 0;
}

.files li {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  display: block;
}

.files a {
  border-radius: 7px;
  padding: 15px 30px;
  font-weight: bold;
  border: 2px solid rgb(23,100,162);
  display: block;  
}

.files a:hover {
  background: rgb(23,100,162);
  color: #fff;
}




/* -------------------------------------------- End "Files" ------------------------------------------- */




/* -------------------------------------------- Begin "gfh" ------------------------------------------- */




/* --------------------------------------------- End "gfh" -------------------------------------------- */




/* ----------------------------------- Begin "main-layout-container" ---------------------------------- */

.main-layout-container
{
    display: grid;
    grid-template-columns: 160px 1fr 160px; /* Szerokości kolumn */
    gap: 20px; /* Odstępy między elementami */
    max-width: 1550px;
    margin: 0 auto 0 auto; /* Wycentrowanie na stronie */
}

/* Styl dla lewej kolumny */
.main-layout-left
{
  padding: 30px 0 ;
  background: rgba(23,100,162, 0.1);
}

/* Styl dla środkowej kolumny */
.main-layout-center
{
  padding-bottom: 80px;
}

/* Styl dla prawej kolumny */
.main-layout-right
{
  padding: 30px 0;
  background: rgba(23,100,162, 0.1);  
}

/* Responsywność */
@media (max-width: 1550px)
{
  
  article {
    border-bottom: 3px solid rgba(23,100,162,0.3); 
  }
  
  


  
    .main-layout-container
    {
           gap: 0; 
      
        grid-template-columns: 1fr; /* Jedna kolumna */
        grid-template-rows: auto auto auto; /* Trzy rzędy */
    }

    /* Opcjonalna zmiana kolejności */
    .main-layout-center
    {
        order: 1; /* Na górze */
    }

    .main-layout-left
    {
        order: 2; /* Środkowy element */
        padding: 5px 0;
    }

    .main-layout-right
    {
        padding: 5px 0;
        order: 3; /* Na dole */
    }
}


/* ------------------------------------ End "main-layout-container" ----------------------------------- */




/* ----------------------------------------- Begin "meal-day" ----------------------------------------- */

.meal-day
{
  border-radius: 30px;
  background: green;
  padding: 25px 30px 30px 30px; /* zwiększyłem padding-top żeby był odstęp na grafikę */
  max-width: 800px;
  margin: 60px auto 10px auto;
  position: relative; /* potrzebne do absolutnego pozycjonowania ::after */
}

.meal-day::after
{
  content: "";
  position: absolute;
  top: -40px; /* ustaw wysokość, żeby grafika nachodziła na box */
  left: 50%;
  transform: translateX(-50%);
  width: 200px;  /* szerokość dopasuj do wielkości svg */
  height: 80px;  /* wysokość dopasuj do svg */
  background: url("../images/meal_menu.svg") no-repeat center;
  background-size: contain; /* skalowanie w proporcjach */
  pointer-events: none; /* żeby nie przeszkadzało w klikaniu */
}


.meal-day h3 {
  text-align: center;
  color: #fff;
  margin: 20px 0 20px 0;
}

.meal-content {
  background: rgba(255,255,255,0.9); 
  border-radius: 30px;
  padding: 10px 20px;
}

.meal-day li p {
  margin: 0; 
}

.meal-separator {
  padding: 20px 0; 
  max-width: 250px;
  margin: 0 auto;
}


/* ------------------------------------------ End "meal-day" ------------------------------------------ */




/* ------------------------------------- Begin "nawigacja w news" ------------------------------------- */

.news_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.news_nav li {
  margin: 5px;
}

.news_nav a {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 20px;
  background: rgba(23,100,162, 0.1);
  text-decoration: none;
  color: #1764a2;
  font-size: 12px;
  transition: all 0.3s ease;
}

.news_nav a:hover {
  background: rgba(23,100,162, 1);
  color: #fff;
}

.news_nav .active {
  background: rgba(23,100,162, 0.8);
  color: #fff;
}



/* -------------------------------------- End "nawigacja w news" -------------------------------------- */




/* ------------------------------------------ Begin "Pełne" ------------------------------------------ */

html, body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 21px;
  line-height: 1.8;
  color: rgb(15, 26, 69);
  color: #222;

}

body {
  position: relative;
}

.realizacje {
  overflow: hidden;

}

#banner-fade {
  border-top: 5px solid rgb(23,100,162); 
}

.realizacje div {
  padding: 15px 0;
}

.realizacje > div > a {
  overflow: hidden;
}

.realizacje > div > a > div {
  border-radius: 200px;
  width: 150px;
  height: 150px;
  border: 3px solid #ddd;
  padding: 3px;
  float: left;
}

.realizacje a {
 overflow: hidden;
  color: #222;
  display: block;
  clear: both;
}


.tabs_nav {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0;
  overflow: hidden;
}

.tabs_nav li {
  float: left;
  margin: 0 20px 20px 0;
  background: #e9e9e9;
  border-radius: 15px 15px 0 0;
  
   border-radius: 15px;
  
  padding: 8px 30px;
  text-align: center;

    background: #e9e9e9; 
    
      color: rgb(15, 26, 69);
      
  
}

.tabs_nav li:hover, .tabs_nav li.active {  
  background:  rgb(25, 54, 114); 
  cursor: pointer;
  color: #fff;
}


@media only screen and (max-width: 590px) {
  .tabs_nav li {
    padding: 0 10px;
    margin: 0 10px 10px 0;
    background: none;
    border-color: rgb(25, 54, 114); 
    border-style: solid;
    border-width: 0 0 2px 5px;
    color: rgb(25, 54, 114); 
    border-radius: 0;

  }
  
  .tabs_nav li:hover, .tabs_nav li.active {
    border-color: rgb(64,142,224);
    background: none;
    color: rgb(64,142,224);
    
  }
  
}

.tabs > div {
  display: none;
  min-height: 250px;
}

.tabs > div.active {
  display: block !important;
  
    -webkit-animation-name: slideInLeft; /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
 
  animation-name: slideInLeft;
  animation-duration: 1s;
  
}


.tabs > div:first-child {
  display: block;
}


.tabs > div {
   border-radius: 15px;
  padding: 30px;
  border: 2px solid rgb(25, 54, 114);
}

.tabs h2 {
  margin-top: 0;
}


@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-15%, 0, 0);
    transform: translate3d(-15%,0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-15%, 0, 0);
    transform: translate3d( -15%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}







*::selection {
	background: rgba(62,142,224,0.6);
	color:#fff
}
*::-moz-selection {
	background: rgba(62,142,224,0.6);
	color:#fff
}


.calendar {
  margin: 0 0 50px 0;
}


.calendar p {
  margin: 20px 0;
}

.calendar h2 {
  margin: 75px 0 20px 0;
}

.calendar a, .calendar p > span {
  display: block;
  border: 2px solid rgba(25, 54, 114,0.5);
  border-radius: 3px;
  padding: 13px 70px 13px 25px;
  color: rgb(15, 26, 69);;
  /*
  font-size: 13px;
  */
  transition: padding 0.5s;
}

.calendar span.link {
  color: rgb(64,142,224);
}

.calendar p > a > span.date, .calendar p > span > span.date {
  background: url('../images/calendar.black.png') no-repeat left 2px center;
  padding-left: 28px;/*
  font-size: 10px;*/
}

.calendar p > a:hover > span {
  background-image: url('../images/calendar.white.png')
}

.calendar p > a:hover span.link {
  background-image: none !important;
}

.calendar a {
  background: url('../images/arrow-point-to-right.svg') no-repeat right 10px center;
  background-size: 32px 32px;
}

.calendar p > span:hover {
  padding: 13px 60px 13px 35px;
}

.calendar a:hover {
  padding: 13px 60px 13px 35px;
  background-color: rgb(64,142,224);
  background-image: url('../images/right.white.png');
  border-color: rgb(64,142,224);
  text-decoration: none;
  color: #fff;
}


.calendar a:hover span.link {
  color: #fff;
}






blockquote {
  background: url('../images/quotation.png') no-repeat 10px center;
  color: rgb(166,166,166);
  padding-left: 60px;
  font-style: italic;
  margin: 0;
}


span.green {
  color: rgb(56, 145, 96);
}

span.red {
  color: rgb(156,44,51);
}

a {
  text-decoration: none;
  color: rgb(64,142,224);
  
  color: rgb(23,100,162);
}

a:hover {
  text-decoration: none;

  color: rgba(23,100,162, 0.8);
  
  
  
}







header {
  display: block; 
  padding: 20px 0; 
  max-width: 1140px;
  margin: 0 auto;  
  overflow: hidden;
  display: table;
  width: 100%;
}

header  div {
  display: table-cell;
  padding: 0 ;
  vertical-align: middle;
    line-height: 1;
}

header  > div {
  padding: 0 35px 0 10px;
}


header div a {
  display: inline-block;
  
}

header div a img {
  display: block;
  max-width: 370px;
  width: 100%;
}

header div a span {
  display: block;
  line-height: 22px; 
  font-size: 18px;
  font-weight: normal;/*
  color: rgb(64,142,224);*/
}



header .contact {
  text-align: right;
  
}

header  a {
  color:   rgb(15, 26, 69);
  font-weight: bold;
  
  

  
  
    font-size: 25px;
  line-height: 30px;
  padding: 3px 0;
  font-weight: 600;
  
  display: inline-block;
  
}


header #logo {

  
    padding-left: 80px;
  background-image: url('../images/nasza_szkola.png');
  background-size: 60px;
  background-position: left center;
  background-repeat: no-repeat;
}



header div a span {
  display: block;
  line-height: 22px; 
  font-size: 18px;
  font-weight: normal;
}










header .contact {
  text-align: right;
}



header a:hover {
  color: rgb(64,142,224);
}









#navbar  {

    width: 100%; /* Full width */
     background: rgb(23,100,162);
  
  background: rgb(23,100,162);
  
  background: rgb(23,100,162);
  
  
      z-index: 1000;
}

nav {
  max-width: 1100px;
  height: 65px;

 margin: 0 auto;



}



#show_menu {
  display: none;
}

#show_menu {
  padding: 0 25px 0 55px;
  display: none;
  background: rgb(23,100,162) url('../images/show.menu.png') no-repeat 25px center;
  background-size: 16px ;
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  margin: 0;  
  
  line-height: 65px;

}

#show_menu:hover {
  background-color: rgba(23,100,162,0.9); 
  color: #fff;
  cursor: pointer;
}

#show_menu .cancel {
  background-image: url('../images/hide.menu.png') !important;
}








#top {
  overflow: hidden;
  border-color: rgb(23,100,162); 
  border-width: 0px 0 7px 0;
  border-style: solid;  
  position: relative;
}

#top img {
  width: 100%;
  display: block;
  margin: 0;
  max-height: 400px;
}

/*
#top:before {
width: 100%;
height: 100%;
content: "";
display: block;
position: absolute;
z-index: 1;
top: 0;
left: 0;
background: rgba(0, 80, 140, 0.55);

}
*/

#main_menu {
  width: 100%;
  z-index: 300;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  

  
  
  
  font-weight: normal;
}


  #main_menu > li {
  float: left;
  position: relative;
}
  
  
  #main_menu > li a {/*
  font-weight: bold;*/
  padding: 0 20px;
  line-height: 65px; 
  display: block; 
}

#main_menu > li:hover > a, .open {
  background: rgb(64,142,224);
}

#main_menu a, #main_menu a:hover {
  color: #fff;
}



#main_menu > li > ul {
  display: none;
  position: absolute;
  z-index: 200;
  top: 65px;
  left: 0;
  list-style: none;
  background: rgb(23,100,162);

  padding: 0;
  overflow: hidden;
  
  
}

#main_menu > li > ul li {
  float: left;
  margin: 0;
  padding: 0;

}

#main_menu > li > ul li a {
  width: 250px;
  padding: 15px 20px;
  display: block;
  line-height: 1.3;
  font-weight: normal;
  background: rgb(23,100,162);
}

#main_menu > li > ul li a:hover {
  background: rgb(64,142,224);  
}














.content_nav {
  padding: 20px 0 20px 0;
  overflow: hidden;
  text-align: center;
}

.content_nav li {
  display: inline-block;
  width: 31%;
  margin: 1%;
  list-style: none;
  padding: 0;
  float: left;
  
   display: table;
 overflow: hidden;
  
}

.content_nav a {

  display: block;

  display: table-cell;
  vertical-align: middle;

  background: rgb(23,100,162);

  text-align: center;
  border-radius: 5px;
  color: #fff;
  
  padding: 19px 20px 21px 20px;
  
  line-height: 1.2;
  height: 52px;
  overflow: hidden;
}


.content_nav a:hover {

  background: rgb(64,142,224);
  
}
  
.button {
  display: block;
  text-align: center;
  margin: 20px auto;

  background: rgb(23,100,162);

  border-radius: 30px;
  color: #fff;
  
  padding: 20px;
  
  line-height: 1.2;
  max-width: 350px;
}

.button:hover {

  background: rgb(64,142,224);
  color: #fff;
  
}

hr {
  border: 0;
  background: #ddd;
  height: 1px;
  width: 100%;
  margin: 50px 0;
}


#banner-fade {
  padding: 0;
  margin: 0;
}

#banner-fade img {
  margin: 0;
  width: 100%;
}    
    
ul.bjqs{position:relative;list-style:none;padding:0;margin:0;overflow:hidden; display:none;}
  
li.bjqs-slide{position:absolute; display:none;}

ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999;}

ul.bjqs-controls.v-centered li.bjqs-next a{right:0;border-radius: 50px 0 0 50px;}
ul.bjqs-controls.v-centered li.bjqs-prev a{left:0;border-radius: 0 50px 50px 0;}

ul.bjqs-controls.v-centered li a{
position:absolute;
	display:block;
	padding:10px;
	background: transparent;
	color:#FFF;
	text-decoration: none;
	z-index: 500;
}

ul.bjqs-controls.v-centered li a:hover{
	background:#FFF;
	color:#222;
}

article {
  max-width: 1150px;
  padding: 20px 20px 20px 20px;
  margin: 0 auto;
  min-height: 400px;
}

h1 {
  font-size: 40px;
  padding: 0 0px 20px 0px;
  border-bottom: 2px solid rgb(23,100,162);
  margin-bottom: 10px;
  line-height: 1.3;
}

.breadcrumbs {
  color: #999;
  font-size: 15px;
  margin: 10px 0 30px 0;
}

h2 {
  font-size: 30px;
  line-height: 1.3;
}

h3 {
  font-size: 25px;
  line-height: 1.3;
}

article img {
  max-width: 100%;
  display: block;
  margin: 20px auto;
}


@media only screen and (min-width: 340px) {
  article img.small {
    max-width: 300px;
  }
}


@media only screen and (min-width: 640px) {
  article img.medium {
    max-width: 600px;
  }
}




/*
article strong, article b {
  color: rgb(46,105,73);
 color: rgb(56, 145, 96);
}*/

.move {
  overflow-x:auto;
}

table {
  border-collapse: collapse;
  font-size: 21px;
  max-width: 100%;
  width: 100%;
  margin: 20px 0;
  overflow: auto;
}

td, th {
  padding: 18px 25px;
  text-align: left;
  border-width: 1px 0;
  border-color: rgb(230,230,230);
  border-color: rgb(25, 54, 114);
  border-color: #222;
  border-style: solid;
}

.center td, .center th {
  text-align: center;
}

tr:hover td {
  background: #eeeeee;
}

.iframe_container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
	z-index:10;
	}

.iframe_container iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border: 0;
	}
	
.iframe {
	margin: 0 auto;
	padding: 15px 10px;
	max-width: 1200px;
}	

.partners {
  text-align: center;
  padding: 40px 0;
}

.partners a {
  padding: 35px;
  margin: 15px;
  border: 1px solid #bbb;
  display: inline-block;
  width: 200px;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-origin: content-box;
  background-color: #fff;
  border-radius: 15px;
}

.partners p {
  font-size: 25px;
  font-weight: bold;
}

.partners a:hover {
  box-shadow: rgba(65, 65, 65, 0.5) 0px 15px 30px 0px;
}

.horizontal_banners {
  text-align: center;
  padding: 30px 0 30px 0;
  background: #f9f9f9;
  margin-top: 30px;
   border-top: 1px solid #eee; 
}

.horizontal_banners div {
  max-width: 1100px;
  margin: 10px auto;
}

.horizontal_banners a {
  padding: 15px;
  margin: 15px;
  border: 1px solid #eee;
  display: inline-block;
  width: 120px;
  height: 100px;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-origin: content-box;
  background-color: #fff;
}

.horizontal_banners p {
  font-weight: bold;
}

.horizontal_banners a:hover {
  box-shadow: rgba(65, 65, 65, 0.5) 0px 15px 30px 0px;
}

footer {
  padding: 50px 30px 50px 30px;
  min-height: 150px;
  font-size: 16px;
  background: rgb(23,100,162);
}

footer p {
  max-width: 1150px;
  padding: 15px;
  margin: 0 auto;
}

footer p:last-child {
  border-top: 2px solid rgb(64,142,224);
}

footer a {
  color: rgba(255,255,255,0.8);
}
footer a:hover {
  color: rgba(255,255,255,0.6);
}

#gotop {
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 32px;
  height: 32px;
  background-color: rgb(230,230,230);
  background-color: rgba(200,200,200,0.5);
  background-image: url('../images/gotop.png');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  display: none;
  border-radius: 2px;
}

#gotop:hover {
  background-color: rgb(64,142,224);
}

.cookies {
  position: fixed;
  display: none;
  right: 40px;
  bottom: 40px;
  min-width: 150px;
  max-width: 400px;
  font-size: 12px;
  padding: 15px 50px 15px 55px;
  background-color: #000;
  background-color: rgba(30,30,30,0.9);
  background-image: url('../images/cookie.png');
  background-repeat: no-repeat;
  background-position: left 10px center;
  color: #fff;
  min-height: 20px;
  z-index: 100;
  cursor: pointer;
}
.cookies:after {
  display: block;
  content:"";
  width: 40px;
  height: 100%;
  background: orange url('../images/close_cookies.png') no-repeat center;
  position: absolute;
  right: 0;
  top: 0;
}

.cookies:hover:after {
  background-color: rgb(255,140,0);
}






@media only screen and (max-width: 1300px) {
.no_index .school_name a {
  font-size: 30px;
}



.content_nav {
  margin: 0;
  padding: 20px 0.5;
  overflow: hidden;
  text-align: center;
}

}


@media only screen and (max-width: 1100px) {

.content_nav {
  padding: 20px 0;
}

.content_nav li {
  width: 48%;
  margin: 1%;
}



}





@media only screen and (min-width: 1001px) {  
  #main_menu {
    display: block !important;
  }

}


@media only screen and (max-width: 1000px) {


h1 {
  font-size: 40px;
}

article {
  padding: 40px 20px 50px 20px;

}


#navbar  {
    position: static;
    background: #fff;
}

nav {
  height: auto;

  border-bottom: none;
  background: none;
overflow: visible;






}

nav.black {
  background: none;
}

.school_name {
  position: static;
}

.school_name a {
  color: rgb(15, 26, 69);
  display: block;
  padding: 20px;
  font-size: 30px;
}



  #show_menu {
    display: block;
  }

  header {
    max-height: none !important;
  }
 
  header:before {
    display: none;
  }
  
  header:after {
    display: none;
  }


#main_menu {
  
  position: static;
  
  width: auto;
  
  z-index: 300;
  list-style: none;
  padding: 0;
  font-size: 18px;
  
  margin: 5px;
  
display: none;
  
  
}




#main_menu > li {
  float: none;
  position: static;
  padding: 2px 0;
}




#main_menu > li > a {
  font-weight: bold;
  padding: 0 20px;
  line-height: 65px; 
  display: block; 
  


  background: rgb(240,240,240);
  color: #222;
  font-size: 21px;
  font-weight: normal;  
  
}


#main_menu > li > ul > li > a {
  font-weight: bold;
  padding: 0 15px;
  line-height: 40px; 
  display: block; 
  color: #222;
  font-size: 21px;
  font-weight: normal;  
  
}

.active_in_submenu:before {
  content: '- ';
}  


/*
#main_menu > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
#main_menu > li:last-child > a {
  border-radius: 0 0 5px 5px;
}*/

#main_menu > li.active > a {
  background-color: rgb(64,142,224);
  
   background-color: rgb(15, 26, 69);
   
   
     background-color: rgb(23,100,162);
     
     background-color: rgb(64,142,224);
     
  text-decoration: none;
  color: #fff;
}

#main_menu > li:hover > a {

  
  background-color: rgb(64,142,224);
  background-color: rgb(64,142,224);
  
  text-decoration: none;
  color: #fff;
}

#main_menu > li > a.expand {
  background-image: url('../images/expand.menu.grey.png');
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 44px;
}

#main_menu > li.active > a.expand, #main_menu > li:hover > a.expand {
  background-image: url('../images/expand.menu.white.png');
}

#main_menu > li > ul {
  border-width: 0 2px 2px 2px;
  border-style: solid;
  border-color: rgb(240,240,240);
  padding: 10px 20px;
  list-style: none;
  display: none;
  position: static;
  background: rgb(250,250,250);
}

#main_menu > li:hover > ul {
  border-color: rgb(64,142,224);
  position: static;
}

#main_menu > li.active > ul {
  border-color: rgb(15, 26, 69);
  border-color: rgba(15, 26, 69,0.8);
  display: block;
  position: static;
}

#main_menu:hover > li.active > ul {
  border-color: rgb(64,142,224);
  border-color: rgba(100,184,71,0.8);
  
}

#main_menu > li > ul > li {
  padding: 5px 0;
  width: 100%;
}

#main_menu > li > ul > li:last-child {
  border: 0;
}

#main_menu > li > ul > li > a {
  color: #222;
  background: rgb(250,250,250) !important; 
  width: auto; 
}

#main_menu > li > ul > li > a:hover {
  text-decoration: underline;
  color: #222;
  background: none;
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #banner-fade {
    border-width: 5px 0;
    border-style: solid;
    border-color: rgb(64,142,224);
  }
  
  
  
  
  
  
  .visible {
    display: block !important;
  }
  
  
  
  #progress_bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgb(240,240,240);
    display: none;
    border-bottom: 3px solid #fff;
    z-index: 150;
  }

  #progress_bar div {
    height: 100%;
    width: 100px;  
    background: rgb(64,142,224);
  }
}






@media only screen and (max-width: 900px) {
.gallery_news a {
  display: inline-block;
  width: 30%;
  padding: 0;
  margin: 0 1%;


}

.contact {
  display: none;
}

#main_menu a, #main_menu li, #show_menu {
  font-size: 18px !important;
  line-height: 55px !important;
}



#contact_top {
  display: none;
}
  
  
}

.content_nav a {
  padding: 10px;
}

@media only screen and (max-width: 730px) {
  
  /*
  .tools {
   	display: none; 
  }*/
}

@media only screen and (max-width: 700px) {

header #logo {
  padding: 65px 0 0 0;
  background-position: center top;
}

header div {
  display: block;
  text-align: center;
  padding: 0 15px;
}

}

@media only screen and (max-width: 590px) {




.content_nav li {
  width: 100%;
  margin: 1% 0;
}


  
.button {
  font-size: 16px;
}


.school_name a {
  font-size: 24px !important;
}


h1 {
  font-size: 24px;
}

h2 {
  font-size: 21px;
}

body {
  font-size: 18px;
}

}


.AlignLeft {
  text-align: left;
}

.AlignCenter {
  text-align: center;
}

.AlignRight {
  text-align: right;
}

.AlignJustify {
  text-align: justify;
}

.popup {
  display: none;
}

.popup_background {
  background: rgba(0,0,0,0.65);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
}

.popup_background > div {
  padding: 15px;
}

.popup_content {
  margin: 50px auto;
  background: #fff;
  border: 8px solid #ddd;
  padding: 40px;
  max-width: 900px;
}

.popup * {
  font-size: 16px;
}

.popup_header {
  font-weight: bold;
  font-size: 26px;
  line-height: 1.2;
  color: rgb(15, 26, 69);
}

.popup_close {
  background: rgb(15, 26, 69);
  display: table;
  margin: 10px auto 0 auto;
  color: #fff;
  font-weight: bold;
  padding: 12px 35px;
  cursor: pointer;
}

.popup_close:hover {
  background: rgba(15, 26, 69,0.8);
}

.popup a:hover {
  text-decoration: underline;
}




.sitemap_choose_type {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap_choose_type li {
  cursor: pointer;
  border-radius: 15px;
  display: inline-block;
  background: #eee;
  padding: 8px 40px;
  margin: 0 20px 0 0;
  font-size: 20px;
}

.sitemap_choose_type li.active, .sitemap_choose_type li:hover {
  background: rgb(23,100,162);
  color: #fff;
}

.sitemap_2 {
 	display: none; 
}


@media only screen and (max-width: 590px) {
  
.sitemap_choose_type li {
  padding: 5px 20px;
  margin: 0 10px 10px 0;
  font-size: 18px;
}  

}


.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery > div {
  width: 31.3%;
  padding: 1%;
  text-align: center;
}

.gallery img {
  border-radius: 15px;
  max-width: 100%;
}

@media only screen and (max-width: 700px) {
  .gallery > div {
    width: 48%;
    padding: 1%;
  }
}

@media only screen and (max-width: 500px) {
  .gallery > div {
    width: 100%;
    padding: 1% 0;
  }
}



.tools {
  overflow: hidden;
  position: fixed;
  bottom: 100px;
  left: 0;
  width: 50px;
}

@media only screen and (max-width: 700px) {
  .tools {
    display: none;
  }
}




.tools div {
  padding: 2px 0;
}

.tools a {
  width: 24px;
  height: 24px;
  padding: 7px;
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 24px;
  display: block;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  background-color: rgb(23,100,162); 
  border-width: 1px 1px 1px 0;
  border-style: solid;
  border-color: #fff;
  transition: padding 0.5s;
}

.tools a:hover {
  background-color: rgb(64,142,224);
  
  padding-left: 14px;
}

.tools span {
  display: none;
}

.set_big_text a {
  background-image: url('../images/font-size.svg');
}

.set_contrast a {
  background-image: url('../images/contrast.svg');
}




.footer_nav {
  
  margin: 0 auto;
  padding: 5px 15px;
  max-width: 1150px;
  border-top: 1px solid rgb(62,142,224);
  display: block;
  overflow: hidden;
  color: rgba(255,255,255,0.5);
}

.footer_nav li {
  margin: 10px 30px 0 0;
  padding: 0;
  list-style: none;
  float: left;
  display: inline-block;
}

@media only screen and (max-width: 370px) {
  .footer_nav li {
    width: 100%;
    margin: 10px 0 0 0
  }
}









header div:last-child {
  text-align: right; 
}


.gallery_news {
  overflow: hidden;
  text-align: center;
}

.gallery_news a {
  display: inline-block;
  width: 20%;
  padding: 0;
  margin: 0 10px;
  line-height: 1;
}

.gallery_news img {
  display: block;
  border-radius: 7px;
}


.list_gallery {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.list_gallery div {
  width: 31.3%;
  margin: 1%;
  overflow: hidden;
}

.list_gallery div a {
  width: 100%;
  padding-top: 75%;
  display: block;
  background-size:cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.list_gallery div a span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 10px 20px;
  font-size: 16px;
  display: inline-block;
  min-height: 40px;
  width: 100%;
  color: #fff;
  line-height: 1.2;
  background: rgba(0,0,0,0.5);
}

.list_gallery div a:hover span {
  background: rgb(17, 124, 171);;
}

@media only screen and (max-width: 800px) {
  .list_gallery div {
    width: 48%;
    margin: 1%;
  }
}

@media only screen and (max-width: 550px) {
  .list_gallery div {
    width: 100%;
    margin: 1% 0;
  }
}




body.big_text, body.big_text footer {
  font-size: 27px;
}

body.big_text #main_menu{
 font-size: 21px;
}

body.big_text h2 {
  font-size: 33px;
}

body.big_text_max, body.big_text_max footer {
  font-size: 34px;
}

body.big_text_max #main_menu{
 font-size: 27px;
}

body.big_text_max h2 {
  font-size: 40px;
}


body.contrast {
  background-color: #000;
  color: #fff;
}

@media only screen and (max-width: 1000px) {
  body.contrast .school_name a {
    color: rgb(255, 255, 0);
  }
}
 
body.contrast #banner-fade {
  border-color: rgb(255, 255, 0);
}

body.contrast header:after {
  display: none;
}

body.contrast tr:hover td {
  background: rgba(255,255,255,0.1);
}

body.contrast #navbar nav  {
  background-color: rgb(255, 255, 0); !important;
}

body.contrast #navbar a {
  color: #000; !important;
  background-color: rgb(255, 255, 0); !important;
}

body.contrast #main_menu > li:hover > a {  
  background-color: #000 !important;  
  color: #fff;
  text-decoration: none;
}


body.contrast #main_menu > li ul {
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: red;
}

body.contrast .tools a, body.contrast .tools a:hover {
  background-color: red;
}



body.contrast #main_menu > li > ul li a:hover {
  background-color: #000 !important;  
  color: #fff;
  text-decoration: none;
}


body.contrast #header {
  background: none;
  border-bottom: 3px solid #fff;
  padding-bottom: 12px;
}

body.contrast .button {
  background-color: rgb(255, 255, 0);
  color: #222;
}

body.contrast #navbar {
  background-color: rgb(255, 255, 0);
}


body.contrast .school_name a:hover {
  padding: 15px;
}


body.contrast td, body.contrast th {
  border-color: #fff;
}


body.contrast footer {
  background: #000;
  border-top: 2px solid #fff;
  padding-top: 30px;
}

body.contrast footer ul {
  border-color: #fff;
}


body.contrast #show_menu {
  background-color: #000;
  border: 4px solid rgb(255, 255, 0);
}


body.contrast a {
  color: rgb(255, 255, 0);
}
body.contrast a:hover {
  text-decoration: underline;
}

body.contrast .school_name a {
    display: table;
}


body.contrast .content_nav a, body.contrast .button {
  background: rgb(255, 255, 0);
  color: #000 !important;
}

body.contrast .content_nav a:hover, body.contrast .button:hover {
  background: rgb(255, 255, 0);
  color: #000;
}


/* ------------------------------------------- End "Pełne" ------------------------------------------- */




/* ----------------------------------- Begin "Szczęśliwy numerek" ----------------------------------- */

.lucky_number_area {
  text-align: center; 
}

.lucky_number_area p {
  margin: 5px 0;
}

.lucky_number {
  width: 320px;
  height: 320px;
  line-height: 320px;
  font-size: 90px;
  border-radius: 400px;
  font-weight: bold;
  margin: 20px auto;
  border: 5px solid rgb(23,100,162);
  color: rgb(23,100,162);
}

@media only screen and (max-width: 600px) {
  .lucky_number {
    width: 200px;
    height: 200px;
    line-height: 200px;
  }
}


/* ------------------------------------ End "Szczęśliwy numerek" ------------------------------------ */




/* --------------------------------- Begin "Szcześliwy numerek mini" --------------------------------- */

.lucky_number_area_mini {
  text-align: center; 
}

.lucky_number_area_mini p {
  margin: 0 0;
  font-size: 14px;
  line-height: 16px;
}

.lucky_number_mini {
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 40px;
  border-radius: 400px;
  font-weight: bold;
  margin: 10px auto;
  border: 5px solid rgb(23,100,162);
  color: rgb(23,100,162);
}


/* ---------------------------------- End "Szcześliwy numerek mini" ---------------------------------- */




/* ------------------------------------------- Begin "tiles" ------------------------------------------ */

    .tiles {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin: 0 auto 40px auto;
    }

    .tile {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .tile:hover {
      transform: translateY(-5px);
    }

    .tile img {
      width: 100%;
      display: block;
      margin: 0;
    }

    .tile-content {
      padding: 15px;
    }

    .tile h2 {
      font-size: 18px;
      margin: 0 0 10px 0;
    }

    .tile p {
      font-size: 14px;
      color: #555;
    }


/* -------------------------------------------- End "tiles" ------------------------------------------- */




/* ------------------------------------------- Begin "tło" ------------------------------------------- */

.bjqs {
  background: radial-gradient(900px 600px at 70% 0%, rgba(0, 90, 200, 0.25), transparent 60%), radial-gradient(700px 500px at 10% 80%, rgba(30, 130, 255, 0.18), transparent 60%);
}


/* -------------------------------------------- End "tło" -------------------------------------------- */

