html {
    background-color: bisque;
    font-family: sans-serif;
    font-size: 1.5vw;
}

body {
    margin: 0;
}

#headerImg {
    width: 100%;
}

#btnsDiv {
    display: flex;
    flex-direction: row;
    background-color: peru;
    padding: 0 5vw 0 5vw;
    font-size: 1.3vw;
}

.btnA {
    display: inline-block;
    position: relative;
    margin: 2vw auto 2vw auto;
    font-size: 1.5vw;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.btnA:after {
    position: absolute;
    content: '';
    width: 100%;
    transform: scaleX(0);
    height: .2vw;
    bottom: 0;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.btnA:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.subMenuDiv {
    margin: auto 2vw auto 2vw;
    text-align: center;
}

.subMenuHide {
    position: absolute;
    display: none;
    background-color: peru;
    font-size: 1.1vw;
    min-width: 0;
    margin: 0;
    border-right: .2vw solid white;
    border-bottom: .2vw solid white;
    border-left: .2vw solid white;
}

.subMenuShow {
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: peru;
    font-size: 1.1vw;
    min-width: 11vw;
    margin: 0 0 0 -.2vw;
    border-right: .2vw solid white;
    border-bottom: .2vw solid white;
    border-left: .2vw solid white;
}

.subMenuItem {
    color: white;
    background-color: peru;
    padding: 1vw .5vw 1vw .5vw;
    border-top: .2vw solid white;
    text-decoration: none;
    font-weight: bold;
}

.subMenuItem:hover {
    text-decoration: underline;
}

#mainDiv {
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: 2vw auto 3.5vw auto;
}

h1 {
    font-size: 2.2vw;
    text-align: center;
    margin-bottom: 2.5vw;
}

h3 {
    font-size: 2.5vw;
    text-align: center;
    margin: 0 auto 1vw auto;
}

h4 {
    margin-bottom: 0;
    font-size: 1.7vw;
}

h8 {
    font-size: 5.2vw;
    text-align: center;
    margin-top: 0.1vw;
    margin-bottom: 0.1vw;
}


h12 {
  color: #c28202;
  text-align: center;
  position: middle;
  font-size: 70px;
  font-weight: 600;
  text-shadow: 0px 0px 5px #fabf48, 0px 0px 10px #fabf48, 0px 0px 10px #fabf48,
    0px 0px 20px #fabf48;
  margin-bottom: 2.5vw;
  margin-top: 2.5vw;
}

p {
    text-align: justify;
    margin-top: 0;
}


/* karbantartas */

#maintenanceGif {
    width: 70%;
    margin: auto;
}


/* index */

#tableTitle {
    margin: 0;
    font-size: 1.5vw;
    font-weight: bold;
    text-align: left;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    border: .1vw solid black;
    padding: .4vw;
}

td {
    font-size: 1.3vw;
    border: .1vw solid black;
    padding: .3vw;
}

#newsTitle {
    margin: 4vw 0 0 0;
    text-align: left;
    font-size: 1.5vw;
    font-weight: bold;
}

#newsDiv {
    margin-top: 0;
    display: inline;
}

.newsLine {
    margin: 0;
}

img {
    margin: 1vw auto 1vw auto;
    max-width: 100%;
}


/* magunkrol */

#aboutDiv {
    display: flex;
    flex-direction: column;
    margin: auto;
    font-size: 1.5vw;
}

.aboutLineDiv {
    display: flex;
    flex-direction: row;
    margin: 0 auto 0 0;
}

.aboutIcon {
    width: 3vw;
    height: auto;
}

.aboutP {
    margin: auto 0 auto 2vw;
}

#openTimesP {
    margin: .5vw auto auto auto;
}

.aTag {
    margin: auto 0 auto .3vw;
}

.aTagWhite {
    margin: auto 0 auto .3vw;
    color: white;
    text-decoration: none;
}

#aboutTable {
    margin: auto;
    width: 65%;
    line-height: 2.5vw;
}

#aboutTable td {
    border: 0;
    font-size: 1.5vw;
}

.bigMapResponsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.bigMapResponsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.priestDiv {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 2vw auto 2vw auto;
}

.priestImg {
    display: block;
    margin: auto;
    width: 70%;
}

.priestP {
    text-align: center;
    font-size: 1.8vw;
    font-weight: bold;
    margin: .5vw auto .1vw auto;
}

.priestP1 {
    text-align: center;
    margin: 0 auto 0 auto;
    width: 70%;
}

/* szent_monika_kor */
.signature {
    margin: 0;
    text-align: right;
    font-style: italic;
}


/* footer */

#footer {
    display: flex;
    flex-direction: row;
    background-color: peru;
    padding: 2.3vw 1.3vw 1.5vw 1.3vw;
}

.imgDiv {
    font-size: 1.1vw;
    margin: auto;
}

#churchImg {
    display: flex;
    width: 16.5vw;
    height: auto;
    margin: 0 auto 0 auto;
    border-radius: 1vw;
}

.linkDiv {
    font-family: "Book Antiqua", BookAntiqua;
    font-size: 1.1vw;
    width: 27vw;
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: auto auto auto 1.5vw;
}

.infDiv {
    font-family: "Book Antiqua", BookAntiqua;
    font-size: 1.1vw;
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: 0 auto auto 2vw;
    line-height: 2.5vw;
}

.lineDiv {
    display: flex;
    resize: both;
    flex-direction: row;
    text-decoration: none;
    margin: auto 0 auto 0;
}

.icon {
    width: 1.75vw;
    height: 1.75vw;
    margin: auto 1.2vw auto .7vw;
}

.dataLineTitle {
    margin: auto 0 auto 0;
}

#map {
    width: 17vw;
    margin: auto;
    font-size: 1.1vw;
}

.mapResponsive {
    overflow: hidden;
    position: relative;
    height: 9.5vw;
    border-radius: 1vw;
    margin: 0;
}

.mapResponsive iframe{
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

 .form-wrapper {
  background-color: #f6f6f6;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eae8e8));
  background-image: -webkit-linear-gradient(top, #f6f6f6, #eae8e8);
  background-image: -moz-linear-gradient(top, #f6f6f6, #eae8e8);
  background-image: -ms-linear-gradient(top, #f6f6f6, #eae8e8);
  background-image: -o-linear-gradient(top, #f6f6f6, #eae8e8);
  background-image: linear-gradient(top, #f6f6f6, #eae8e8);
  border-color: #dedede #bababa #aaa #bababa;
  border-style: solid;
  border-width: 1px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
  -moz-box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
  box-shadow: 0 3px 3px rgba(255,255,255,.1), 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 5px #444;
  margin: 100px auto;
  overflow: hidden;
  padding: 8px;
  width: 450px;
}

.form-wrapper #search {
  border: 1px solid #CCC;
  -webkit-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
  box-shadow: 0 1px 1px #ddd inset, 0 1px 0 #FFF;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #999;
  float: left;
  font: 16px Lucida Sans, Trebuchet MS, Tahoma, sans-serif;
  height: 20px;
  padding: 10px;
  width: 320px;
}

.form-wrapper #search:focus {
  border-color: #aaa;
  -webkit-box-shadow: 0 1px 1px #bbb inset;
  -moz-box-shadow: 0 1px 1px #bbb inset;
  box-shadow: 0 1px 1px #bbb inset;
  outline: 0;
}

.form-wrapper #search:-moz-placeholder,
.form-wrapper #search:-ms-input-placeholder,
.form-wrapper #search::-webkit-input-placeholder {
  color: #999;
  font-weight: normal;
}

.form-wrapper #submit {
  background-color: #0483a0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#31b2c3), to(#0483a0));
  background-image: -webkit-linear-gradient(top, #31b2c3, #0483a0);
  background-image: -moz-linear-gradient(top, #31b2c3, #0483a0);
  background-image: -ms-linear-gradient(top, #31b2c3, #0483a0);
  background-image: -o-linear-gradient(top, #31b2c3, #0483a0);
  background-image: linear-gradient(top, #31b2c3, #0483a0);
  border: 1px solid #00748f;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 #FFF;
  color: #fafafa;
  cursor: pointer;
  height: 42px;
  float: right;
  font: 15px Arial, Helvetica;
  padding: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0 ,0, .3);
  width: 100px;
}

.form-wrapper #submit:hover,
.form-wrapper #submit:focus {
  background-color: #31b2c3;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0483a0), to(#31b2c3));
  background-image: -webkit-linear-gradient(top, #0483a0, #31b2c3);
  background-image: -moz-linear-gradient(top, #0483a0, #31b2c3);
  background-image: -ms-linear-gradient(top, #0483a0, #31b2c3);
  background-image: -o-linear-gradient(top, #0483a0, #31b2c3);
  background-image: linear-gradient(top, #0483a0, #31b2c3);
}

.form-wrapper #submit:active {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
  outline: 0;
}

.form-wrapper #submit::-moz-focus-inner {
  border: 0;
}

.galleri {
    display: flex;
    flex-wrap: wrap;
}

.galleri-item {
    position: relative;
    margin: 10px;
}

.galleri-item img {
    width: 250px;
    height: 200px;
    cursor: pointer;
}

.download-button {
    position: absolute;
    bottom: 10px;
    padding: 5px 10px;
    background-color: #800000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.print-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: #ffa500; /* Narancssárga szín */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}


.download-button {
    right: 10px;
    text-decoration: none;
    text-align: center;
}

.print-button:hover, .download-button:hover {
    background-color: #0056b3;
}

/* Kép számozása */
.image-number {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 16px;
}

/* Modal stílus */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Letöltés gomb a fejlécben */
.download-all-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

.download-all-button:hover {
    background-color: #218838;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px;
}

.nav-button {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #555;
}

.nav-button.left {
    text-align: left;
}

.nav-button.center {
    text-align: center;
    flex-grow: 1;
}

.nav-button.right {
    text-align: right;
}

 .doc-link {
        display: block; /* A blokkszintű elem lehetővé teszi a középre igazítást */
        text-align: center; /* Középre igazítás */
        font-size: 52px; /* Betűméret növelése */
        font-weight: bold; /* Félkövér betű */
        text-decoration: none; /* Aláhúzás eltüntetése */
        color: #007bff; /* Kék szín */
        margin-top: 50px; /* Felső margó (opcionális) */
    }

    .doc-link:hover {
        color: #0056b3; /* Sötétebb kék, ha fölé viszed az egeret */
        text-decoration: underline; /* Hover állapotban aláhúzás */
    }
