
* {
    box-sizing: border-box;
}
  
  html, body {
    font-family: Calibri;
    font-size: 20px;
    /* margin: 10px; */
    background: rgb(255, 255, 255);
    /* background: rgb(167, 159, 159); */
    height: 100%;
  }

  hr {
    height:0; 
    border:0; 
    border-top: 1px solid rgba(195, 0, 0, 0.1);
  }

  p {
    color: rgb(23, 27, 39);
    margin-top: 5px;
  }
  
  /* div {
    border: 1px;
    border-style: dotted;
    border-color: lightgray;
  } */

  a {
    text-decoration: none;
  }

  h1 {
    font-weight: normal;
    margin-top: 0;
  }

  h2 {
    color: rgb(195, 0, 0);
    font-family: "Calibri";
    font-weight: lighter;
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: -3px;
    /* border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: rgba(195, 0, 0, 0.5); */
    /* text-shadow: 1px 1px 2px black; */
  }

  .header {
    display: flex;
    width: 100%;
    align-content: center;
    ruby-align: center;
    /* margin: 5px; */
    text-align: center;
    /* background: #696969; */
    /* color: white; */
    height: 165px;
    /* border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 4px; */
  }
  
  .header > div {
    padding: 0px;
    margin: 0px;
    
    /* background: #808080; */
  }
  
  .logo {
    background-image: url("..\\img\\logo.png");
    background-repeat: no-repeat;
    background-position: left top;
    min-width: 350px;
    height: 100%;
  }

  @media screen and (max-width: 1000px) {
    .logo {
      width: 100%;
    }
  }
  
  .tytul {
    /* background-image: url("..\\img\\logo.png");
    background-repeat: no-repeat;
    background-position: left top; */
    /* background-color: green; */
    /* min-width: 350px; */
    margin-left: 100px;
    text-align: left;
    font-family: Calibri;
    font-variant-caps: small-caps;
    font-size: 26px;
    color: black;
    text-shadow:1px 1px 2px rgb(200,200,200); 
    line-height: 27px;  
    /* rgb(201, 164, 218) ; */
    padding: 3px;
  }

  @media screen and (max-width: 550px) {
    .tytul {
      font-size: 22px;
    }
  }
  
  .header > .sidebar {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }
  
  .sentencja {
    text-align: right;
    /* font-family: sans-serif; */
    font-family: calibri, 'Times New Roman';
    font-style: italic;
    font-size: 16px;
    font-weight: bold;
    /* color: rgb(60, 92, 92); */
    color: rgb(195, 0, 0);
    padding-top: 3px;
    padding-right: 10px;
    width: auto;
    /* justify-self: right; */
    align-self: flex-end;
    border-right-width: 2px;
    /* border-right-color:  rgba(60, 92, 92, 0.3); */
    border-right-color: rgba(195, 0 ,0, 0.3);
    border-right-style: solid;
  }
  
  .sentencjaAutor {
    font-style: normal; 
    font-size: 14px;
    font-weight: normal;
    font-family: Calibri, sans-serif, 'Trebuchet MS', 'Gill Sans', 'Gill Sans MT';
    padding-top: 8px;
    text-align: right;
  }

  .miniMenuBox {
    display: flex;
    flex-direction: column;
    visibility: collapse;    
    z-index: 3; 
    margin-top: 20px;
    margin-left: 50px;
    background-color: rgba(0, 0, 0, 0);
    width: 80%;
  }

  .miniMenuBox a{
    font-variant-caps: small-caps;
    font-size: 24px;
    font-weight: normal;
    text-decoration: none;
    text-align: left;
    display: block;
    padding: 4px 20px;
    margin: 2px 5px;
    color: rgb(0, 0, 0);
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.95); 
  }

  .miniMenuBoxItem {
    display: block;
    /* position: relative; */
    z-index: 3;
  }

  .miniMenuBoxItem a {
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.4);
  }

  .miniMenuBoxSubItem {
    display: none;
    padding-left: 20px;
    z-index: 3;
  }

  .miniMenuBoxSubItem a{
    font-size: 22px;
    font-weight: normal;
    font-variant-caps: normal;
    /* font-variant-caps: all-petite-caps; */
    z-index: 3;
    /* border-style: solid;
    border-color: black;
    border-width: 1px; */
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.4);
  }
  
  .header > .sidebar > .mainMenu {
    /* background-color: rgb(115, 106, 136); */
    /* width: 800px; */
    /* height: 30px; */
    display: flex;
    align-self: flex-end;
    flex-direction: row;
    /* border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 4px;
    padding-top: 5px; */
    background-color: rgb(255, 255, 255);
  }
  
  .mainMenu a{
    font-variant-caps: small-caps;
    font-size: 24px;
    font-weight: normal;
    text-decoration: none;
    display: block;
    padding: 0px 8px;
    margin: 8px 5px;
    color: black;  
  }

  .mainMenu div a:hover {
    /* background-color: rgb(221, 221, 233); */
    text-shadow: 2px 2px 2px rgb(228, 228, 228);
  }

  .mainMenu a:visited {
    color: black;
  }

  .mainMenuItem:hover .mainMenuDown {
    display: block;
  }

  .mainMenuItem {
      display: inline-block;
      position: relative;
  }

  .mainMenuDown {
    display: none;
    position: absolute;
    min-width: 300px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.0);
  }

  .mainMenuDown > div {
    text-align: left;
    background-color:rgba(246, 246, 255, 0.95);
    border: 1px;
    border-bottom-style: solid;
    border-bottom-color: gray;
    border-right-style: solid;
    border-right-color: gray;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.4);
    margin: 0px;
    padding: 0px;
  }

  .mainMenuDown > div a {
    font-size: 20px;
    text-transform: initial;    
    display: block;
    height: 30px;
    width: 100%;
    margin: 3px 7px;
    padding: 3px 7px;
    background-color: transparent;
  }

  .mainMenuDown div:hover {
    background-color: rgb(255, 255, 255);
  }

  .mainMenuDown div a:hover {
    text-shadow: none;
  }

  .miniMenuCont {
    height: 50px;
    display: none;
    justify-content: flex-end;    
  }

  .miniMenu {  
    display: flex;  
    flex-flow: column;
    width: 60px;  
    padding-left: 10px;
    padding-right: 10px;
    justify-self: right;
    justify-content: flex-end;
    cursor: pointer;
  }

  .miniMenuBar {
    background-color: rgb(195, 0 , 0); 
    height: 5px;
    margin: 3px;
  }
  
  @media screen and (max-width: 1000px) {
    .miniMenuCont, body > .bannerMenuVert  {   
      display: flex;
    }
    .header > .sidebar {   
      display: none;
    }    
    body > .contentPanel {
      flex-flow: column;
      align-items: center;
    }
  }

  @media screen and (max-width: 960px) {
    /* .banner > .bannerMenuHoriz {   
      display: none;
    } */
    .banner > .bannerMenuHoriz {
      flex-flow: column;
      width: 200px;
    }
  }
  
  /* Baner i menu */
  .banner {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    background-image: url("..\\img\\baner.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 253px;
  }
  
  .bannerMenuHoriz {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    background-color: rgba(0,0,0,0.6);
    list-style-type: none;
    max-width: 850px;    
    margin: 0px; 
    padding: 0px;
  }

  .bannerMenuHoriz > li {
    /* border-width: 1px;
    border-style: dotted;
    border-color: red; */
    float: left;
    height: 40px;
  }

  .bannerMenuHoriz > li a {
    display: block;
    font-size: 22px;
    /* border-color: white;
    border-width: 1px;    
    border-style: dotted; */
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: wheat;
    text-decoration: none;
    padding: 0px 20px;
    margin: 5px 0px;
    height: 25px;
    color: white;
  }

  @media screen and (max-width: 960px) {
    .bannerMenuHoriz > li a {
      border-right-style: none;
    }
  }

  .bannerMenuHoriz > li:last-child a {
    border-right-style: none;
  }

  .bannerMenuHoriz > li:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .bannerMenuVert {
    display: none;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    margin: 5px;
  }
  
  /*** Główny panel z treścią strony ***/
  
  .contentPanel {
    display: flex;
    flex-flow: column;
    width: 100%;
  }
  
  .trescRamka {
    display: flex;
    flex-flow: row;
    align-items: stretch;
    border-width: 1px;
    border-left-style: solid;
    border-left-color: rgba(195, 0, 0, 1);
    padding-left: 20px;
    padding-top: 0px;
    margin-top: 20px;
  }

  .trescRamkaTekst div {
    /* color: rgb(0, 71, 68); */
    color:rgb(0, 70, 70);
    /* margin-right: 20px; */
    /* margin-top: 15px; */
  }

  .trescRamkaSideBarMsze {
    height: 500px;
    width: 300px;
    text-align: center;
    margin-left: 100px;
    margin-top: 10px;
    padding: 0px;
    background-color: rgba(0,70,70,0.05);
    color: rgb(0, 70, 70);
    border-radius: 8px;
    box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.2);
  } 

  .trescRamkaSideBarEvents, .trescRamkaEvents {
    display: block;
    width: 300px;
    text-align: center;
    margin-left: 100px;
    margin-top: 0px;
    margin-bottom: 40px;
    padding: 10px;
    background-color: rgba(70, 48, 0, 0.05);
    color: rgb(0, 70, 70);
    border-radius: 8px;
    box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.2);
  } 

  .trescRamkaEvents {
    margin-left: 0px;
    display: none;
  }

  @media screen and (max-width: 1000px) {
    .trescRamka {
      flex-flow: column;
      align-items: center;
      padding-left: 10px;
    }
    .trescRamkaSideBarMsze {
      margin-left: 0px;
    }
    .trescRamkaSideBarEvents {
      margin-left: 0px;
      display: none;
    }
    .trescRamkaEvents {
      display: block;
    }
  }

  .trescRamkaSideBarMsze div {  
    font-size: 18px;
    width: 300px;
    /* padding-left: 20px; */
  } 

  .trescRamkaSideBarMsze p {
    font-size: 16px;
    color: rgba(0,70,70,0.7);
    margin-left: 20px;
    margin-right: 20px;
  }

  p.trescRamkaSideBarNagl {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px; 
    border-bottom-style: solid; 
    border-width: 1px;
  }

  p.trescRamkaSideBarNagl2 {
    font-size: 18px; 
    color: rgba(0,70,70,0.9);
    margin-bottom: 0px; 
  }

  .trescRamkaSideBar {
    margin-left: 15px;
  }

  .trescNaglowekContainer {
    display: flex;
  }

  .trescNaglowek {
    float: left;
    width: auto;
    padding-right: 5px;
  }

  .trescNaglowekLiniaPozioma {
    overflow: auto;
    width: 100%;
    border-bottom: solid 1px rgba(195, 0, 0, 1);
    margin-bottom: 10px;
  }

  .trescNaglowekLiniaPoziomaMini {
    /* display: none; */
    border-bottom: solid 1px rgba(195, 0, 0, 1);
    margin-bottom: 30px;
    margin-top: 50px;
  }

  .nazwaDnia {
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .nazwaDniaMini {
    /* display: none; */
    width:100%;
    text-align: right;
    color: rgba(195, 0, 0, 1);
  }

  @media screen and (max-width: 1000px) {
    .nazwaDnia {
      display: none;
    }
    /* .nazwaDniaMini {
      display: block;
    }
    .trescNaglowekLiniaPoziomaMini {
      display: block;
    } */
  }

  .trescFirstParagraph::first-letter {
    font-size: larger;
    /* font-family: 'Times New Roman', Times, serif; */
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: rgb(0, 70, 70);
  }

  .intencjeDzien {
    margin-bottom: 50px;
  }

  .intencjeGradientRed {
    /* background-image: linear-gradient(rgba(195,70,70,0.1), white); */
  }

  .intencjeGradient {
    /* background-image: linear-gradient(rgba(0,0,0,0.1), white); */
  }

  .intencjeFirstParagraphRed {
    color: rgb(195, 0, 0);
  }

  .intencjeFirstParagraphRed::first-letter {
    font-size: larger;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: rgb(195, 0, 0);
  }

  .intencjeFirstParagraphBlue {
    color: rgb(0, 0, 195);
  }

  .intencjeFirstParagraphBlue::first-letter {
    font-size: larger;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: rgb(0, 0, 195);
  }

  .intencjeFirstParagraph::first-letter {
    font-size: larger;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: black; 
  }

  div.polaroid {
    width: 300px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
  }

  div.container {
    text-align: center;
    padding: 10px 20px;
    font-size: 16px;
  }

  .kolekta {
    margin-left: 10px; 
    font-size: 20px; 
    margin-top: 20px; 
    margin-bottom: 10px;
  }

  .pilneContainerMedia {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    vertical-align: center;    
    height: auto;
    margin-bottom: 20px;
    width: 50%;
  }

  @media screen and (max-width: 1000px) {
    .pilneContainerMedia {
       width: 100%;
    }
  }

  .pilneContainer {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: top;
    vertical-align: bottom;    
    height: auto;
    margin-bottom: 20px;
    width: 100%;
  }

  .pilneItem {
    margin: 20px;
    /* margin-bottom: 20px; */
    padding: 20px;
    /* min-width: 100px; */
    background-color: rgb(255, 253, 239);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 2px 1px 2px 1px gray;
    text-align: center;
  }

  .ogloszeniaHr {
    margin-bottom: 30px;
    margin-top: 30px;
    margin-bottom: -5px;
  }

  .ogloszeniaHrP {
    font-size: 14px;
    color: rgba(195, 0, 0, 0.8);
    text-align: right;
  }

  .ogloszeniaList > li {
    /* width: 300px; */
    background-color: white;
    /* box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.2), 2px 6px 20px 0 rgba(0, 0, 0, 0.19); */
    /* margin-bottom: 15px; */
    padding: 10px;
    font-size: 20px;
  }

  .intencjeTabela {
    font-size: 18px;
    color: rgb(0, 70, 70);
    margin-top: 15px;    
  }

  .intencjeTabela td {
    vertical-align: top;
    padding-right: 15px;
    padding-top: 10px;
  }

  td.godz {
    text-align: right;
    font-weight: bold;
  }

  .goToDzien {
    font-size: 16px;
    text-align: right;
  }

  .goToDzien a {
    color: rgb(0, 70, 70);
  }

  .goToDzien a:visited {
    color: rgb(0, 70, 70);
  }



  /* ******** POGRZEBY ******** */
  .pogrzebyContainer {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 100px;
  }

  .nekrolog {
    display: flex;
    flex-flow: column;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 20px;
    max-width: 500px;
    border-style: double;
    border-width: 4px;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 2px 1px 2px 1px gray;
  }

  .nekrologImieNazw {
    font-size: 25px;
    font-weight: bold;
  }

  .nekrologOpis {
    font-size: 22px;
  }

  .pogrzebyModlitwa p {
    font-size: 22px;
    color: rgb(195, 0, 0);
    text-align: center;
    max-width: 500px;
    margin-top: 20px;
  }

  .pogrzebyModlitwa p::first-letter {
    font-size: larger;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
  }

  .pogrzeby-arch-link {
     color: gray; 
  }

  .pogrzeby-arch-link a:visited {
     color: gray; 
  }

  .pogrzeby-miesiac-width {
     width: 60px;
  }

  @media screen and (max-width: 1000px) {
    .pogrzeby-miesiac-width {
       width: 0;
    }
  }

  /* ******** STOPKA ******** */

  .footerContainer {
    display: flex;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .footerLeft, .footerRight {
    background-color: rgb(0, 70, 70);
    width: 100%;    
    margin-top: 10px;
    padding: 20px;
  }

  .footerLeft p, .footerRight p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    color: rgb(61, 166, 166);
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 4px;
  }

  .footerLeft p {
    text-align: left;
    margin-left: 100px;
  }

  @media screen and (max-width: 1000px) {
    .footerLeft p {
      margin-left: 0px;
    }
  }

  .footerRight p {
    text-align: left;
  }

  .footerTextLighter {
    color: rgb(42, 195, 195);
  }

  .footerTextLighter::a {
    color: rgb(195, 154, 42);
  }

  .kronikaItems {
    display: flex;
    flex-direction: column;
  }

  .kronikaItem {
    display: flex;
    flex-direction: row;
  }

  .kronikaItem img {
    max-width: 300px;
    height: 80%;
    margin: 10px 0px 10px 10px;
  }

  .kronikaItem p {
    margin: 0px 0px 10px 10px;
  }

  .kronikaItemInfo {
    width: 870px;
  }

  .kronikaItemThumb {
    width: 300px;
    height: 200px;
  }

  .kronikaItemHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .kronikaItemHeader > h3 {
    margin-top: 5px;
    color: rgb(70, 70, 70);
  }

  .kronikaItemHeader > p {
    color: grey;
    margin-top: 5px;
    margin-right: 10px;
  }

  .kronikaWiecej {
    color: rgba(195, 0, 0, 0.933);
    font-size: 16px;
    margin-top: -5px;
    margin-left: 10px;
    font-weight: bold;
  }

  .grid {
    border-collapse: collapse;
  }

  .grid tr:nth-child(even) {
      background-color: #f2f2f2;
  }

  .grid td {
      border: 1px solid #ddd;
      padding: 8px;
  }

  .grid-simple {
    border-collapse: collapse;
  }

  .grid-simple td {
      border: 1px solid #ddd;
      padding: 8px;
  }

  /* GALERIA */

  .galeria {
    display: flex;
    flex-direction: row;
    flex-flow: row; 
    flex-wrap: wrap;   
    justify-content: center; 
    margin-top: 20px;
  }

  .galeria img {
    /* width: 100px;
    height: 100px; */
    border: 0px;
    max-height: 150px;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 0px;
    margin-bottom: 12px;
    /* box-shadow: 2px 1px 2px 1px rgba(0, 0, 0, 0.3); */
    box-shadow: 3px 4px 8px gray;
  }

  .galeriaTrescNaglowek {
    /* margin: 0px;
    text-align: center; */
    position: absolute; 
    bottom: 0; 
    font-size: 30px;
    /* left: 100px; */
    right: 0;
  }

  .galeriaImage {
    border: 1px;
    border-color: black;
    border-style: solid;
    padding: 8px;
    max-width: 1000px;
    max-height: 500px; 
    box-shadow: 3px 4px 8px gray;
  }

  .galeriaImageFrame {
    border: none;
    text-align: center;
    /* max-width: 1000px; */
    max-height: 500px;
  }

  @media screen and (max-width: 1000px) {
    .galeriaImage {
      max-width: 400px; 
      max-height: 300px;
    }
  
    .galeriaImageFrame {
      max-height: 300px;
    }
  }

  a.galeriaNextPrev:link, 
  a.galeriaNextPrev:visited {
    /* color: rgba(195, 0, 0, 0.5); */
    color:rgba(0, 37, 37, 0.5);
    font-family: "Calibri";
    font-weight: normal;
    font-size: 30px;
    text-decoration: none;
  }
  
  @media screen and (max-width: 1000px) {
    a.galeriaNextPrev:link {
      font-size: 16px;
    }
  }

  a.galeriaNextPrev:hover {
    /* color: rgb(195, 0, 0); */
    color:rgba(0, 37, 37, 0.8);
  } 

  a.galeriaNextPrev:link > span, 
  a.galeriaNextPrev:visited > span {
    color: rgba(0, 0, 0, 0);
  }

  a.galeriaNextPrev:hover > span {
    /* color: rgb(195, 0, 0); */
    color:rgb(0, 37, 37);
  } 

/* MESSENGER */

.loginBackground {
  text-align: center;
}

input[type=text], input[type=password] {
  display: inline-block;
  width: 25%;
  padding: 12px 20px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type=submit] {
    width: 40%;
    background-color: rgb(57, 141, 61);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 100;
    margin-bottom: 20px;
}

input[type=submit]:hover {
    background-color: rgb(77, 161, 81);
}
