body {
  background-color: #FFF;
  font-family: Calibri Light, sans-serif;
  margin: 0;
  padding: 0;
  background-image:-webkit-linear-gradient(#FAFFFF, #c4ccd4);
  height: 100%;
}

/*pasek nawigacyjny-----------------------------------------------*/
header {
    display: none;
}
.heaven {
 background: url("grafiki/banner.jpg") no-repeat center -95px;
  background-size: cover;
  width: 100%;
  height: 11.5rem;
  position: fixed;
  display: block;
  z-index: -2;
}

.navbar {
	position: fixed;
	width: 100%;
    z-index: 999;
    top: 0rem;
    left: 0pxrem
}

.sign {
	margin-top: 1.1rem;
	margin-left: 1.1rem;
	height: auto;
    width: 14%;
    max-width: 11.8rem;
	position: fixed;
	z-index: 0;
    display: inline-block;
}

.sign2 {
	margin-top: 1.1rem;
	margin-right: 1.1rem;
	height: auto;
    width: 14.2%;
    max-width: 11.8rem;
	position: absolute;
    right: 0;
	z-index: 0;
    display: inline-block;
}

.navigation {
  text-align: center;
  margin-top: 9.8rem;
  background-color: #11406e;
  color: #fff; 
 }
 
.navigation a:link {
  font-weight: bolder;
  letter-spacing: 0.1rem;
  padding: 1.4rem 1.6rem;
  text-transform: uppercase;
  display: inline-block;
	text-decoration: none;
	color: white;
}

.navigation a:first-child {
    padding-left: 2.5rem;
}

.navigation a:visited {
  font-weight: bolder;
  color: #e0ebeb;
}

.navigation a:hover {
  color: #59b6d9;
  animation: ease;
}

/*grafiki główna------------------------------------------------*/
.banner {
  background-image: url("grafiki/jezus.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 17rem;
  margin-left: 17.5%;
  margin-right: 17%;
  width: 65%;
  height: 35rem;
}

#banner-content {
	position: relative;
  border: 1px solid #FFF;
  top: 26%;
  width: 60%;
  padding: 1.3rem;
  margin: auto;
  position: relative;
}

#banner-content h1 {
	position: relative;
	z-index: 1;
}

#banner-content:before {
	content: open-quote;
	
	display: block;
	
	height: 100%;
	width: 100%;
	
	position: absolute;
	z-index: 0;
	
	top: 0rem;
	left: 0rem;
	
	background-color: #4d4d4d;
	opacity: 0.6;
}

.poster {
    margin-top: 1.5rem;
	margin-left: auto;
	height: auto;
    width: 40%;
	z-index: 0;
    display: inline-block;
}
/*edycja tekstu----------------------------------------------------*/
h1 {
  color: #FFF;
  font-size: 2.7rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0.2rem 0.2em #333333;
}

h2 {
  border: 1px solid #D7263D;
  color: #D7263D;
  font-size: 1.6rem;
  line-height: 3rem;
  padding: 3rem 12%;
  text-align: center;
  text-transform: uppercase;
}

h5 {
  color: #660000;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

 h6{
     color: #333;
  font-size: 1.3rem; 
font-weight: 300;
  word-wrap: break-word;
  text-align: left;
  text-justify: inter-word;
 }
 
.invite {
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    text-align: center;
}
/*tabela-----------------------*/
.table {
  height: 20rem;
}

p, td, li {
  color: #333;
  font-size: 1.2rem;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  word-wrap: break-word;
  text-align: left;
  text-justify: inter-word;
}

td {
  vertical-align: middle;
  text-align: left;
  width: 30%;
}


/*span-----------------------*/
span {
	font-family: Calibri; 
    font-size: 1.7rem;
}

/*linki-----------------------*/
a {
  font-weight: bolder;
  letter-spacing: 0.2rem;
  text-decoration: none;
  color: #204060;
  font-size: 1.1rem;
}

a:visited {
  font-weight: bolder;
  letter-spacing: 3px;
  text-decoration: none;
  color: #204060;
}

a:hover {
  color: #59b6d9;
  animation: ease;
}

ol li {
    font-weight: bold;
}

/*content-----------------------*/
.content {
  margin: 0.3rem 17.5%;
  text-align: left;
  display: inline-block;
  width: 65%;
}

.content2 {
  margin: 17rem 0% 0 19.5%;
  text-align: left;
  display: inline-block;
  width: 65%;
  float: left;
  
}


/*galeria------------------------------*/
.container {
  margin-top: 17rem;
  margin-left: 3.3rem;
  text-align: center;
  /*background: url("D:/HTML/Odnowa www/wood.jpg");
  background-repeat: : repeat-y;
  height: 1000px;*/
}
.gallery {
  width: 90%;
  margin: 4rem 10% 1.5rem 11%;
  text-align: center;
  list-style: none;
}

li img {
  height: 10rem;
  width: 18rem;
  border-radius: 0.5rem;
  
}

ul.gallery li a {
  float: left;
  /*padding: 10px 10px 15px 10px;*/
  margin: 17px;
  border: 2px solid #f2f2f2;
  border-radius: 5px;
  box-shadow: 0px 5px 5px #333;
  display: inline-block;
  position: relative;
}

/*mapa----------S---------------------------*/
.map{
  display: inline;
  position: relative;
  float: left;
  width: 50rem;
  height: 50rem;
  margin: 0 1 5 8;
}

/*grafiki boczne------------------------------*/

.picture2 img{
  width: 12%;
  height: 100vh;
  margin: 12% 1px 2px 2%;
  display: inline-block;
  vertical-align: top;
  float: right;
}
.way img{
  width: 12%;
  height: 140vh;
  margin: 12% 1px 2px 2%;
  display: inline-block;
  float: right;
}

div.sheeps {
  background-image: url("grafiki/sheeps.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 121%;
  height: 95vh;
  margin: 12% 1px 2px 2%;
  display: inline-block;
  float: right;
}

/* Dropdown Button */
.dropbtn {
    background-color: rgba(17,64,110,0.1);
    font-family: Calibri Light, sans-serif;
    font-size: 1.1rem;
    font-weight: bolder;
    letter-spacing: 0.1rem;
    padding: 1.4rem 1.6rem;
    text-transform: uppercase;
    display: inline-block;
	color: whitesmoke;
    border: none;
    cursor: pointer;
    
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    color: #59b6d9;
    animation: ease;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(17,64,110,0.9);
    min-width: 10rem;
    max-width: 16rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: darkblue;
    text-decoration: none;
    text-align: left;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/*mobile view-------------------
@media all and (max-width: 390px) {
    
    header {
/*        display: none;
        background: #11406e;
        color: #fff;
        height: 30rem;
        width: auto;
        padding: 10rem;
}


    nav {
        float: right;
}

    nav a {
        text-align: right;
        background: url(grafiki/strzalka.png.png) right no-repeat;
        padding-right: 4rem;
        line-height: 1.5rem;
        margin: 3rem;
    } 
    .menu {
        display: inline-block;
        background-image: url("grafiki/menu.svg");
        background-repeat: no-repeat;
        background-size: contain;
        padding: 1%;
        margin: 0%;
        height: 1.9rem;
        position: fixed;
        width: 1.9rem;
        right: 0;
        z-index: 9999;
    }
    
    .hoverme:hover + header {
        display: block;
    }
    
    .heaven {
     background: url("grafiki/banner.jpg") no-repeat center -20px;
      background-size: cover;
      width: 100%;
      height: 110px;
      position: fixed;
      display: block;
      z-index: -2;
}
    .sign, .navigation{
	display: none;
}
     h5{
        font-size: 16px;
        font-weight: 100px;
    }
    
    p, td, li{
        font-size: 16px;
        line-height: 17px;
    }
    .navigation a:link {
       font-weight: lighter;
      letter-spacing: 1px;
      padding: 10px 10px;
      text-transform: uppercase;
      margin-right: 5px;
      margin-left: 5px;
      display: inline;
}
    .content2 {
  margin-top: 20%;
        margin-left: 5%;
        margin-right: 5%;
        width: 89%;
}
    div.sheeps, .way img, .picture2 img {
        visibility: hidden;
    }
}

/*tablet view-------------------
@media all and (min-width: 391px) and (max-width: 968px) {
        
    .content2 {
            margin-top: 22%;
            margin-left: 9%;
            margin-right: 9%;
            width: 82%;
     }
    h5{
        font-size: 17px;
        font-weight: 500px;
    }
    
    p, td, li{
        font-size: 18px;
        line-height: 22px;
    }
    
    div.sheeps, .way img, .picture2 img {
            display: none;
      }
        header {
        display: none;
        background: #11406e;
        color: #fff;
        height: 30rem;
        width: auto;
        padding: 10rem;
}


    nav {
        float: right;
}

    nav a {
        text-align: right;
        background: url(grafiki/strzalka.png.png) right no-repeat;
        padding-right: 4rem;
        line-height: 1.5rem;
        margin: 3rem;
    } 
    .menu {
        display: inline-flex;
        background-image: url("grafiki/menu.svg");
        background-repeat: no-repeat;
        background-size: contain;
        padding: 0.5rem;
        margin: 0.1rem;
        height: 2.2rem;
        position: fixed;
        width: 2.2rem;
        right: 0;
        z-index: 9999;
    }
    
    header:hover {
        display: block;
    }
    .navigation {
        display: none;
          text-align: right;
          width: 100%;
          float: right;
          margin-top: 100px;
          background-color: #11406e;
          color: #fff; 
        }
    
    .navigation a:link {
      font-weight: bold;
      letter-spacing: 1px;
      padding: 10px 5px;
      margin-right: 10px;
      display: inline-block;
      }

    .navigation a:visited {
      font-weight: bold;
      letter-spacing: 1px;
      padding: 10px 10px;
      margin-right: 10px;
      display: inline-block;
      }
    
    .sign {
        display: none;

    }
    
    .heaven {
      height: 20%;
      position: fixed;
      display: block;
      z-index: -2;
      background-position: center;
      background-size: contain;
      background-size: 150%;
    }
    
    .container {
        margin-left: 0%;
        margin-top: 30%;
    }
    .gallery {
      width: 90%;
      margin-top: 50px;
      text-align: center;
      list-style: none;
    }

    li img {
      height: 90px;
      width: 170px;
      border-radius: 6px;
        }
    
    .map {
        width: 50%;
    }

    #banner-content {
      position: relative;
      border: 1px solid #FFF;
      top: 10%;
      width: 60%;
      padding: 10px 8px;
      margin: auto;
      position: relative;
}

    h1 {
        font-size: 29px;
        font-weight: 300;
    }
#banner-content h1 {
	position: relative;
	z-index: 1;
}

#banner-content:before {
	content: '';
	
	display: block;
	
	height: 100%;
	width: 100%;
	
	position: absolute;
	z-index: 0;
	
	top: 0px;
	left: 0px;
	
	background-color: #4d4d4d;
	opacity: 0.6;
}
}
*/