body{
    margin: 0px;
    font-family: 'tahoma', sans-serif;
    color: #ffffff;
    background-color: #f9fade;
padding: 0px;
}
h3{
    color: white;
}

h5{
    color: #004b70;
}

h1{
  color: #510906;
  font-size: 40px;
  font-weight: 800;
  text-shadow:1px 1px 4px #510906;
}
h2{
  color: #510906;
  font-size: 25px;
}
img{
  width: 100%;
}
.margin-top5{
  margin-top: 5rem;
}

h2 a{
  color: #510906;
  font-size: 25px;
  margin-left: 0px;
}
h2 a:hover{
  color: #510906;
  font-size: 25px;
}

.side-bar{
  background-color: #f9fade;
  backdrop-filter: blur(15px);
  width: 300px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -200%;
  overflow-y: auto;
  transition: 0.6s ease;
  transition-property:left ;
  z-index: 1;
}

.side-bar.active{
  left: 0;

}

.side-bar .menu{
  width: 100%;
  margin-top: 80px;

}

.side-bar .menu .item{
  position: relative;
  cursor:pointer;

}
.side-bar .menu .item i{
margin-right: 15px;
transition: 0.3s;
}


.side-bar .menu .item a{
color: #0074ad;
  font-size: 13px;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  line-height: 60px;
}


.side-bar .menu .item a:hover{
  color: #005580;
  background-color: #fdffc1;
transition: 0.3s ease;
  }


  .side-bar .menu .item a .dropdown{
position: absolute;
right: 0;
margin: 20px;
transition: 0.3 ease;
      }
  
      .side-bar .menu .item .sub-menu .sub-item{
margin: 0px;
padding-left: 25px;              
}

  .side-bar .menu .item .sub-menu{
display: none;
      }
  .side-bar .menu .item .sub-menu a{
padding-left: 10px;                   }
             
.side-bar .menu .item .sub-btn{
margin: 0;    
padding-left: 15px;    }
.rotate{
  transform: rotate(90deg);
  transition: 0.3s ease;
  
}

.close-btn{
  position: absolute;
  color: #004b70;
  font-size: 20px;
  right: 0;
  margin: 25px;
  cursor: pointer;
}


.menu-btn{
  position: absolute;
  color: rgb(0, 0, 0);
  font-size: 17px;
margin: 25px;
margin-right: -25px;
  cursor: pointer;
  position: relative;
  float: right;
  z-index: 4;

}
.menumobilne{
  background-image: url(/templates/zsgrabkowo2/img/header6.png);
  width: 100%;
  height: 200px;
  margin-top: 100px;
  background-size: cover;
  background-position: center;
  position:static;

}
.szkola{
  background-image: url(/templates/zsgrabkowo2/img/tloszkola.png);
  width: 100%;
  height: 900px;
  background-size: cover;
  background-position: center;
  position: static;
  top: 100px;
}

.logo{
  width: 120px;
padding-bottom: 20px;
margin-top: -20px;
display: block;
margin-left: auto;
margin-right: auto;
}

.menu{
margin-top: -600px;
}

.szkola1{
  margin-top: -90px;
  width: 400px;
  left: 100px;
  display: block;
  position: relative;
}
.szkola2{
  margin-top: -90px;
  width: 400px;
left: -50px;
position: relative;
display: block;
}
.Lmenu{
    background-color: #fff170f1;
    box-shadow: 0 0 0.5em rgb(0, 0, 0,0.1);
    margin-right:15px;
    max-height: min-content;
    overflow: hidden;
    height: 100%;
}
.Smenu{
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0.5em rgb(0, 0, 0,0.2);
    overflow: hidden; 
    padding: 0;
    margin: 0;
}
.container-smenu{
  width:95%;
  margin-left: auto;
  margin-right: auto;
}
.Pmenu{
    background-color: #fff170f1;
    box-shadow: 0 0 0.5em rgb(0, 0, 0,0.1);
    margin-left: 15px;
    max-height: min-content;
    overflow: hidden;
    height: 100%;

}

.tresc{
font-size: 16px;
}
.zdjecia{
  margin-left: 0px;
}

.tresc_stopka{
font-size: 14px;
color: white;
}
.stopka img{
  width: 10%;
}
.stopka p{
  color: white;
}

.ikona_stopka{
  margin-right: 10px;
}

ul{
    list-style: none;

}
ul li a{
    text-decoration: none;
    list-style: none;

}
ul li{

margin: 0px;
padding: 0px;
padding-top: 5px;
padding-bottom: 5px;
margin-left: -45px;
padding-left: 30px;
width: 120%;

}

li{
  color: #004b70;

}
.col-sm-12{
  width: 100%;
}
span{
  color: #004b70;
}
p{
  color: #004b70;
}

.odstep{
    margin-left: 40px;

}

.podkreslenie{
  border-bottom: 1px solid #e5b30033;
border-bottom-width: 200% ;
display: flex;
flex-direction:row;
justify-content: start;
align-content: center;
align-items: center;

}

 a{
	color: #00639a;
	text-decoration: none;
  font-size: 16px;
}

a.srodek_linki{
  font-size: 16px;
}


.strzalka{
    width: 20px;
    margin-right: 10px;

}
.aktualnoscitekst{

    color: #2b99cd;
}

.zegar{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.carousel {
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.foto{
    border: 2px solid #f15934;
}
.tekstslajd{
    font-size: 15px;
    text-shadow: 1px 1px black;
    color: white;
}


.zalacznik1{
    border-bottom: 2px solid #23232211 ;

}

.zalacznik1 p{
    margin-left: 10px;
}

.stopka{
    background-color: #f15934;
}

.przyciskmenu{
margin-top: -20px;
width: 100%;
margin-left: -30%;
background-color: #f15934;
box-shadow: inset 0 0 0 0 #f15934;
transition: ease-out 0.3;
outline: none;
}
.przyciskmenu:hover{
    box-shadow: inset 108px 0 0 0 #ffffff;
    transition: ease-out 0.3;

}
.bip{
display: block;
margin-left: auto;
margin-right: auto;
width: 20%;
}
.edupolis{
  width: 70%;
}
.imieniny{
    color: #00639a;
    font-size: 15px;
    margin-left: 20px;
}




.calendar {
    margin-top: 100px;
    width:100%;
    height:490px;
    background-color: #510906;
    box-shadow: 10px 10px 1px 22px #510906;
    margin-top: 70px;

  }
  
  .month {
    width: 100%;
    height: 100px;
    background-color: #167e5600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  }
  
  .month i {
    font-size:20px;
    cursor: pointer;
  }
  
  .month h1 {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 5px;
    color: rgb(255, 255, 255);
  }
  
  .month p {
    font-size: 15px;
    color: white;

  }
  
  .weekdays {
    width: 100%;
    height: 35px;
    padding: 0 0.4rem;
    display: flex;
    align-items: center;
  }
  
  .weekdays div {
    font-size: 12px;
    font-weight: 400;
    letter-spacing:1px;
    width: calc(44.2rem / 7);
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  }
  
  .days {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 1px;
  }
  
  .days div {
    font-size: 15px;
    margin: 5px;
    width: calc(75% / 7);
    height: 50px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s;
  }
  
  .days div:hover:not(.today) {
    background-color: #008dd5;
    border: 1px solid #777;
    cursor: pointer;
    color: white;

  }
  
  .prev-date,
  .next-date {
    opacity: 0.5;
  }
  
  .today {
    background-color: #008dd5;
  }
  

  .clock {
    margin-top: 50px;
    width: 101px;
    height: 101px;
    background-image: url(/templates/zsgrabkowo2/img/zegar.png);
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    transform: rotate(180deg) scale(2);
  }
  
  .clock .hours {
    border:2px solid black;
    position: absolute;
    height: 30%;
    border-radius: 2px;
    left: 48px;
    top: 50px;
    
    animation-duration: 43200s;
  }
  
  .clock .minutes {
    border: 0.5px solid black;
    position: absolute;
    top: 50px;
    left: 50px;
    height: 45%;
    
    animation-duration: 3600s;
  }
  
  .clock .seconds {
    border: 1px solid red;
    position: absolute;
    top: 50px;
    left: 50px;
    height: 45%;
    
    animation-duration: 60s;
  }
  
  .animate {
    animation-name: rotate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  
  .hand {
    transform-origin: top center;
  }
  
  
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  @media (max-width:1650px) {

.menumobilne{
      width: 100%;
      height: 180px;
      transition: 1s;
    }
  
  h1{
    font-size: 35px;
  }
  
  .logo{
width: 100px;  }
 
  
  .szkola1{
    margin-top: -95px;
    width: 350px;
    left: 60px;
    position: relative;
    transition: 1s;

  }
  .szkola2{
    margin-top: -95px;
    width: 350px;
  left: -60px;
  position: relative;
  transition: 1s;

  
  }
}
@media (max-width:1400px) {
  ul li a{
      text-decoration: none;
      list-style: none;
      font-size: 14px;
  }
  .menumobilne{
    width: 100%;
    height: 150px;
  }

h1{
  font-size: 35px;
}

.logo{
  width:80px;
}


.days div {
  font-size: 15px;
  margin: 5px;
  width: calc(73% / 7);
  height: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s;
}
.szkola1{
  margin-top: -75px;
  width: 300px;
  left: 60px;
  position: relative;
}
.szkola2{
  margin-top: -75px;
  width: 300px;
left: -60px;
position: relative;

}
}

@media (max-width:1280px) {

.menumobilne{
  width: 100%;
  height: 140px;
}


h1{
font-size: 25px;
}

.logo{
width: 80px;
}


.szkola1{
margin-top: -75px;
width: 300px;
left: 60px;
position: relative;
}
.szkola2{
margin-top: -75px;
width: 300px;
left: -70px;
position: relative;

}


  .calendar {
      width:100%;
      height:400px;
      background-color: #510906;
      box-shadow: 10px 10px 1px 22px #510906;

    }
    
    .month {
      width: 100%;
      height: 70px;
      background-color: #167e5600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 2rem;
      text-align: center;
      text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    }
    
    .month i {
      font-size:15px;
      cursor: pointer;
    }
    
    .month h1 {
      margin-top: 5px;
      font-size: 15px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.2rem;
      margin-bottom: 5px;
    }
    
    .month p {
      font-size: 15px;
    }
    
    .weekdays {
      width: 100%;
      height: 35px;
      padding: 0 0.4rem;
      display: flex;
      align-items: center;
    }
    
    .weekdays div {
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.1rem;
      width: calc(44.2rem / 7);
      display: flex;
      justify-content: center;
      align-items: center;
      text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    }
    
    .days {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      padding: 1px;
    }
    
    .days div {
      font-size: 14px;
      margin: 8px;
      width: calc(140px / 7);
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);

      transition: background-color 0.2s;
    }
    
    .days div:hover:not(.today) {
      background-color: #008dd5;
      border: 1px solid #777;
      cursor: pointer;
    }
    
    .prev-date,
    .next-date {
      opacity: 0.5;
    }
    
    .today {
      background-color: #008dd5;
    }



  
  
}

@media (max-width:1200px) {



        
  .days div {
    font-size: 13px;
    margin: 10px;
    width: calc(68px / 7);
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s;
  }
  a{
    font-size: 13px;
  }
}


@media (max-width:1180px) {

.menumobilne{
  width: 100%;
  height: 120px;
}

h1{
font-size: 22px;
}

.logo{
width: 75px;
}


.szkola1{
margin-top: -75px;
width: 250px;
left: 60px;
position: relative;
}
.szkola2{
margin-top: -75px;
width: 250px;
left: -70px;
position: relative;

}
}

@media (max-width:992px) {

 
    ul li a{
      color: #00a4ff;
      text-decoration: none;
      font-size: 16px;
      margin-left: 0px;
    
    }

    .header{
      width: 0px;
  }
  .Lmenu{
  margin-left: 15px;
  }
  .edupolis{
    width: 40%;
    display: block;
margin-left: 20%;
  }

  .bip{
    width: 15%;
    display: block;
    margin-left: 40%;
  }
  .strzalka{
      width: 20px;
      margin-right: 20px;
      margin-left:6%;
  }
  .designby{
    margin-top: 25px;
  }
  .menu{
    margin-top: -20%;
    }
  .Pmenu{
  margin-left: 0%;
  margin-top: 50px;
  box-shadow: 0 0 0.5em rgb(0, 0, 0,0);

  }
  
  .partnerzy{
      width: 20%;
  }
  .partnerzy_ikony{
      display: inline-block;
      justify-content: center;
      align-content: center;
      align-items: center;
  }
}
@media (max-width:768px) {
 
    ul{
      list-style: none;
      margin-left: 0%;
  
  }
  .Lmenu{

      margin-left: 15px;
      
  }
  
  .Pmenu{

      margin-left: 0px;
margin-top: -60px;
box-shadow: 0px;
  }

  .menu{
    margin-top: -20%;
    }
  

  .menuheader{
display: flex;
justify-content: center;
align-content: center;
align-items: center;
position: relative;
top: -50%;
  }
  .tresc{
    font-size: 13px;
    }
}

@media (max-width:392px) {
 
    .side-bar{
      background-color: #f9fade;
      backdrop-filter: blur(15px);
      width:100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: -200%;
      overflow-y: auto;
      transition: 0.6s ease;
      transition-property:left ;
      z-index: 1;
    }

}
@-webkit-keyframes fadeInRight {
  from {
      opacity:0;
      -webkit-transform: translatex(-100px);
      -moz-transform: translatex(-100px);
      -o-transform: translatex(-100px);
      transform: translatex(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@-moz-keyframes fadeInRight {
  from {
      opacity:0;
      -webkit-transform: translatex(-100px);
      -moz-transform: translatex(-100px);
      -o-transform: translatex(-100px);
      transform: translatex(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@keyframes fadeInRight {
  from {
      opacity:0;
      -webkit-transform: translatex(-100px);
      -moz-transform: translatex(-100px);
      -o-transform: translatex(-100px);
      transform: translatex(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
.in-right {
  -webkit-animation-name: fadeInRight;
  -moz-animation-name: fadeInRight;
  -o-animation-name: fadeInRight;
  animation-name: fadeInRight;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
  animation-delay: 0.5s;

}


/** fadeInLeft **/

@-webkit-keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(-10px);
      -moz-transform: translatex(-10px);
      -o-transform: translatex(-10px);
      transform: translatex(-10px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@-moz-keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(10px);
      -moz-transform: translatex(10px);
      -o-transform: translatex(10px);
      transform: translatex(10px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
@keyframes fadeInLeft {
  from {
      opacity:0;
      -webkit-transform: translatex(100px);
      -moz-transform: translatex(100px);
      -o-transform: translatex(100px);
      transform: translatex(100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatex(0);
      -moz-transform: translatex(0);
      -o-transform: translatex(0);
      transform: translatex(0);
  }
}
.in-left {
  -webkit-animation-name: fadeInLeft;
  -moz-animation-name: fadeInLeft;
  -o-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  -o-animation-duration:2s;
  animation-delay: 0.5s;
}




/** fadeIndown **/

@-webkit-keyframes fadeInDown {
  from {
      opacity:0;
      -webkit-transform: translatey(-100px);
      -moz-transform: translatey(-100px);
      -o-transform: translatey(-100px);
      transform: translatey(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatey(0);
      -moz-transform: translatey(0);
      -o-transform: translatey(0);
      transform: translatey(0);
  }
}
@-moz-keyframes fadeInDown {
  from {
      opacity:0;
      -webkit-transform: translatey(-100px);
      -moz-transform: translatey(-100px);
      -o-transform: translatey(-100px);
      transform: translatey(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatey(0);
      -moz-transform: translatey(0);
      -o-transform: translatey(0);
      transform: translatey(0);
  }
}
@keyframes fadeInDown {
  from {
      opacity:0;
      -webkit-transform: translatey(-100px);
      -moz-transform: translatey(-100px);
      -o-transform: translatey(-100px);
      transform: translatey(-100px);
  }
  to {
      opacity:1;
      -webkit-transform: translatey(0);
      -moz-transform: translatey(0);
      -o-transform: translatey(0);
      transform: translatey(0);
  }
}
.in-down {
  -webkit-animation-name: fadeInDown;
  -moz-animation-name: fadeInDown;
  -o-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  -o-animation-duration:2s;
  animation-delay: 0.5s;
}

a.link_min_news:link {
  color: #FFF;
  font-size: 20px;
  text-decoration: none;
}
a.link_min_news:hover {
  color: #FFF;
  text-decoration: none;
}
a.link_min_news:visited {
  color: #FFF;
  text-decoration: none;
}

a.link_min_news2:link {
  color: #FFF;
  font-size: 16px;
  text-decoration: none;
}
a.link_min_news2:hover {
  color: #FFF;
  text-decoration: none;
}
a.link_min_news2:visited {
  color: #FFF;
  text-decoration: none;
}

div.min_news {
float: left;
width: 100%;
height: 270px;
border-bottom-width: 0px;
cursor: pointer;
background-size: cover;
background-position:center;
transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-webkit-transition: all 1s ease;
-o-transition: all 1s ease;
margin-bottom: 10px;
}

div.min_news.image:hover {
transform: scale(1.5);
-moz-transform: scale(1.5);
-webkit-transform: scale(1.5);
-o-transform: scale(1.5);
-ms-transform: scale(1.5); /* IE 9 */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand')"; /* IE8 */
filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand'); /* IE6 and 7 */ 
} 



div.min_news_content {
float: left;
height: 270px;
width: 100%;
background: url(http://nowa.zs/templates/zsgrabkowo/images/background_bottom_gradient.png);
background-repeat: repeat-x;
background-position: bottom;
bottom: 20px;
font-size: 12px;
color: #FFF;	
overflow:hidden;
}

div.min_news1 {
width: 100%;
height: 200px;
margin-bottom: 20px;
overflow:hidden;
}


.min_news1:hover .min_news,
.min_news1:focus .min_news {
transition: all .5s;
transform: scale(1.2);
}

div.min_news_title  {
padding-left: 15px;
padding-right: 15px;
text-align: center;
color: white;
bottom: 20px;
margin-top: 210px;
width: 100%;
background-color: #f15a34ab;
}
div.min_news_title a {
color: white;
padding: 3px;
}
a.page-link {
  margin: 0px;
  padding: 0px;
}

.col-md-6 p{
  color: #00639a;
}

.img-responsive{
  width: 100%;
}

.pagination{
display: flex;
justify-content:center;
align-items: center;
align-content: center;
margin-left: 25px;
}
.page-link{
  width: 75%;
text-align: center;  
}

.page-link:hover{
width: 75%;
}



@media (max-width:450px) {
  .page-link{
    width: 50%;
  text-align: center;  
  font-size: 12px;
  }
  
  .page-link:hover{
  width: 50%;
  }
  
}
.margin-clear{
  margin: 0;
}

/* .pp_pic_holder {
top: 10vh!important;
} */