:root {
  --lila: #6f1a84;
  --piros: #bf062a;
  --zold: #00a636;
  --kek: #2f4886;
  --szurke: #8d8d95;
  --vszurke: #e7e7e8;
  --stszurke: #323337;
  --bs-body-font-size: 1.1rem;
}

* {
  --bs-primary: #f05d0f !important;
  --bs-primary-rgb: 240, 93, 15 !important;
  --bs-navbar-active-color: #f05d0f;
  --bs-navbar-color: #2f4886;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  font-family: "Roboto", sans-serif;
}

html {
  min-height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  background: white;
  min-height: 100vh;
  display: grid;
  font-family: 'Roboto', sans-serif;
}

fieldset {
  margin-bottom: 5px !important;
  margin-top: 5px !important;
  padding: 10px !important;
  border: 1px solid var(--bs-primary) !important;
  border-radius: 10px !important;
}
legend {
  border-radius: 10px !important;
  background-color: var(--bs-primary) !important;
  color: white !important;
  padding: 4px 20px !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  float: inherit !important;
  width: auto !important;
}

.nav-item a {color: var(--kek);font-weight: 500;}

.navbar-nav {
  display: flex;
  align-items: center;
}

.footer {background-color: var(--stszurke);}

.text-primary {
  color: var(--bs-primary);
}

.text-stszurke {
  color: var(--stszurke);
}

.text-stszurke-i {
  color: var(--stszurke) !important;
}

.text-szurke {
  color: var(--szurke);
}

.text-vszurke {
  color: var(--vszurke);
}

.text-kek {
  color: var(--kek);
}

.text-kek-i {
  color: var(--kek) !important;
}


.pointer {
  cursor: pointer;
}

.bg-vszurke {
  background-color: var(--vszurke);
}

.bg-szurke {
  background-color: var(--szurke);
}
.bg-stszurke {
  background-color: var(--stszurke);
}

.bg-green {
  background-color: var(--zold);
  background-image: url(../img/zoldsav.jpg);
  background-repeat: no-repeat;
  background-position: center;
}

.bg-f7 {
  background-color: #f7f7f7;
}

.br-transparent {
  border: transparent;
}

.beljebb {
  padding-inline: 12%;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
  color: var(--bs-primary);
}

.filter-piros {
  filter: brightness(50%) sepia(100) saturate(100) hue-rotate(25deg);
}

a {
  text-decoration: none !important;
}

/* #region input */
.input {
  border: 1px solid var(--stszurke);
  background-color: transparent;
  border-radius: 5px;
  padding: 5px;
  color: var(--stszurke);
  outline: none;
}

/* #endregion */

/* #region  Gombok */

.gomb {
  cursor: pointer;
  width: fit-content;
  border: 0px;
  border-radius: 20px;
  padding-inline: 35px;
  color: white;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  align-content: center;
}

.gomb-zold {
  background: #00a636;
  color: white !important;
}

.gomb-fzold {
  background: #00a636;
  border: 1px solid white;
  font-weight: bold;
  color: white;
}
.gomb-fzold:hover {
  background: white;
  color: var(--zold);
  border: 1px solid white;
}

.gomb-zold:hover {
  background: #017929;
}

.gomb-sarga {
  background: #d2ac33;
  color: white !important;
}

.gomb-sarga:hover {
  background: #d28f27;
}

.gomb-feher {
  color: var(--bs-primary);
  font-weight: bold;
  background-color: white;
  transition: all 0.2s;
  border: 2px solid white;
}

.gomb-feher:hover {
  color: white;
  background-color: var(--bs-primary);
}

.gomb-piros {
  background-color: var(--bs-primary);
  font-weight: bold;
  color: white;
  transition: all 0.2s;
  border: 2px solid var(--bs-primary);
}

.gomb-piros:hover {
  color: var(--bs-primary);
  background-color: white;
}

.gomb-kek {
  background-color: var(--kek);
  font-weight: bold;
  color: white;
  transition: all 0.2s;
  border: 2px solid var(--kek);
}

.gomb-kek:hover {
  color: var(--kek);
  background-color: white;
}

.gomb-szurke {
  background-color: var(--szurke);
  border: 2px solid vaR(--szurke);
  color: white;
}

.gomb-szurke:hover {
  background-color: transparent;
  color: var(--szurke);
}

/* #endregion */

.btn-admin-aktivitas {
  transition: all 0.2s;
}

.adminaktiv:checked + .btn-admin-aktivitas:before {
  content: "Jelenleg aktív, megjelenik";
}

.adminaktiv:not(:checked) + .btn-admin-aktivitas:before {
  content: "Jelenleg inaktív";
}

.adminaktiv:not(:checked) + .btn-admin-aktivitas {
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
}

.adminaktiv:not(:checked) + .btn-admin-aktivitas:hover {
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  color: white;
}

.ketfele * {
  flex: 0 0 calc(100% / 2 - 10px);
}

.haromba * {
  flex: 0 0 calc(100% / 2 - 10px);
}

.f-full {
  flex: 0 0 100%;
}

.content {
  color: var(--stszurke);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding-bottom: auto;
  flex-direction: column;
}

.content p {
  color: var(--kek);
}

.content img {
  max-width: 100%;
}

.text-error {
  color: var(--piros) !important;
}
.text-ok {
  color: var(--zold) !important;
}

/*#region GALLÉRIA */

.gallery {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  overflow: hidden;
}

.g-egy {
  grid-template-columns: 100%;
}

.g-ketto {
  grid-template-columns: 50% 50%;
}

.g-tobb {
  grid-template-columns: 33% 33% 33%;
}

.gallery a {
  overflow: hidden;
  cursor: zoom-in;
}

.galleryModal {
  visibility: collapse;
  display: block;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  pointer-events: initial;
}

.galleryModal .gm-felsosav {
  position: absolute;
  top: 0;
  width: 100%;
  padding-inline: 1%;
  display: flex;
  justify-content: space-between;
  padding-top: 1%;
}

.galleryModal .gm-felsosav .gmf-jobb {
  display: flex;
  flex-direction: row;
  color: white;
  cursor: pointer;
  user-select: none;
}

.galleryModal .gm-felsosav .gmf-jobb * {
  margin-left: 10px;
  transition: all 0.2s;
}
.galleryModal .gm-felsosav .gmf-jobb *:hover {
  color: var(--bs-primary);
}

.galleryModal .gm-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: -1;
  top: 0;
}

.galleryModal .gm-content .gmc-slide {
  max-width: 80%;
}

.galleryModal .gm-content .gmc-slide img {
  max-width: 100%;
}

.galleryModal .gm-content .gmc-slide .gmcs-felirat {
  position: absolute;
  color: white;
  transform: translateY(-100%);
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.75);
}

.galleryModal .gm-controls {
  user-select: none;
  color: white;
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 50%;
  padding-inline: 1%;
  cursor: pointer;
}

.galleryModal .gm-controls * {
  transition: all 0.2s;
}

.galleryModal .gm-controls *:hover {
  color: var(--bs-primary);
}

.px-7 {
  padding-inline: 80px;
}

.mw-8 {
  max-width: 80%;
}

.kerek {
  border-radius: 100%;
  overflow: hidden;
}

/*#endregion*/

.login {
  width: fit-content;
  background-color: var(--vszurke);
  border-radius: 20px;
  padding: 20px;
}

@media only screen and (min-width: 993px) {
  body {
    grid-template-rows: 85px auto min-content 300px;
  }
}

@media screen and (max-width: 767px) {
  .beljebb {
    margin-inline: 50px;
  }
  .ketfele * {
    flex: 0 0 calc(100%);
  }
}

@media screen and (max-width: 400px) {
  .beljebb {
    margin-inline: 1%;
  }
}
