@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,700,700i');

* {
  margin: 0;
  padding: 0;
}

html {
  color: #24272E;
  background: #171717;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.5em;
  font-size: 1.1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 34px;
  /*font-weight: bold;*/
  font-weight: 300 !important;
}

h2 {
  font-size: 22px;
  font-weight: 300;
}

h3 {
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  h1 { font-size: 32px !important; }

  h2 {
    font-size: 24px !important;
    font-weight: bold !important;
  }

  h3 {
    font-size: 16px;
  }

  .header-title {
    margin-left: 0px !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    width: 100% !important;
  }

  .header-title h2{
    font-size: 22px !important;
    font-weight: 300 !important;
  }

  .kicsiszoveg {
    font-size: 16px !important;
  }

}

/* Schedulre and price info*/
.tabla {
  margin: 0 auto;
  padding-bottom: 50px;
  border: none;
}

.tabla ul {
  list-style-position: inside;
}
.tabla a{
  text-decoration: none;
  color: #772430;
  font-weight: bold;
}

.tabla a:hover {
  text-decoration: underline;
}

.tabla tbody tr td {
  padding: 5px 20px 5px 20px;
  line-height: 1.5em;
  text-align: left;
  font-weight: 500;
  vertical-align: top;
}

th {
	text-align: left;
	padding-left: 10px;
	padding-right:10px
}

.tabla tbody td {
  border-bottom: 1px solid #ccc;
}

.tabla thead {
  background-color: rgb(200,200,200)
}

#fees th, #fees td {
  border: 2px solid black;
}

#fees table {
  border-collapse: collapse;
}

@media screen and (max-width: 768px) {
  .tabla tbody tr td {
    display: block;
    padding: 0;
  }

  .tabla thead tr th {
    display: none;
  }
}

.kozepre{
  text-align: center;
}

#pricelist tr:nth-child(even) {
    background-color: : rgb(20,20,20)}
}
.red {
  color: #732030;
}

.green {
  color: #5B972F;
}

/* Menü */
/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */
.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }

  .js .nav-collapse.closed {
    max-height: none;
  }

  .nav-toggle {
    display: none;
  }
}

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0, 0, 0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 40em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}

/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */
.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 10px;
  margin-right: 10px;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  border-top: 1px solid white;
  text-decoration: none;
  padding: 0.7em 1em;
  color: #fff;
  width: 100%;
  float: left;
}

.nav-collapse a:hover {
  background: #fff;
  color: #000;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}

@media screen and (min-width: 40em) {
  .nav-collapse a {
    text-align: center;
    border-top: 0;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}

/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */
@font-face {
  font-family: "responsivenav";
  src: url("../icons/responsivenav.eot");
  src: url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #fff;
  /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav";
  /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261";
  /* Hamburger icon */
  text-indent: 0;
  /* speak: none; */
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78";
  /* Close icon */
}

.logo {
  float: left;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  padding: 10px 0 0 10px;
}

.logo img {
  width: 200px;
}

.kicsiszoveg {
  font-size: 18px;
}

.header {
  background: #ece8e8;
}

.header_img {
  background: url("../images/Sudanmainimga.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 10px;
  color: #fff;
  height: 900px;
  /* opacity: 0.8;
  filter: alpha(opacity=80); /* For IE8 and earlier */
}

.header-title {
  text-align: center;
  margin: 300px 150px 0 150px;
  height: 900px;
}

.header-title h1 {
  font-size: 48px;
  text-transform: uppercase;
}

.header-title h2 {
  margin-top: 50px;
}

.button_sotet {
  color: white;
  border: 2px solid #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 30px 2px;
  padding: 22px 38px;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.button_sotet:hover {
  background-color: #fff;
  color: #000;
}

.button_vilagos {
  color: #fff;
  background-color: #292C34;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 30px 2px;
  padding: 26px 42px;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.button_vilagos:hover {
  border: 2px solid #292C34;
  background-color: transparent;
  color: #292C34;
  padding: 24px 40px;
}

.container-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto auto 1rem auto;
}

.text-label {
  text-transform: uppercase;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  color: #fff;
}

.arrow-circle-down {
  display: block;
  width: 40px;
  height: 40px;
  margin: 16px 0;
  /*fill: #fff;*/
}

.bounce {
  -webkit-animation: bounce 2s;
  animation: bounce 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {

  0%,
  25%,
  50%,
  75%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  60% {
    -webkit-transform: translateY(-12px);
    transform: translateY(-12px);
  }
}

@keyframes bounce {

  0%,
  25%,
  50%,
  75%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  60% {
    -webkit-transform: translateY(-12px);
    transform: translateY(-12px);
  }
}

/* SZÁLLÁSOK */
.szallasok {
  background: #ece8e8;
}

.szallasok-foszoveg {
  padding-bottom: 30px;
}

.szallasok-foszoveg p {
  text-align: center;
  margin: 10px 50px 10px 50px;
}

.szallasok-foszoveg img {
  width: 100%;
}

.szallasok h2 {
  text-align: center;
  padding: 100px 0 110px 0;
  font-size: 64px;
  font-weight: 100;
}

.row .column .szallasok_tartalom h3 {
  font-size: 28px;
}

.szallasok img {
  margin-bottom: 20px;
}

.row {
  height: 100%;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding-bottom: 30px;
}

.row .column h3 {
  text-align: center;
  margin-top: 30px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .column {
    width: 100%;
  }

  .row {
    display: block;
  }
}

.column h3 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 300;
}

.column img {
  width: 100%;
}

.column tartalom {
  width: 90%;
  padding: 0 10px 0 10px;
  margin: 0 10px 0 10px;
}

/* KÖZÖSSÉGI TEREK */
.kozossegi {
  background: #fff;
}

.kozossegi h2 {
  text-align: center;
  padding: 100px 0 110px 0;
  font-size: 64px;
  font-weight: 100;
}

.row_kozossegi .column_kozossegi .tartalom_kozossegi h3 {
  font-size: 28px;
}

.kozossegi img {
  margin-bottom: 20px;
}

.row_kozossegi {
  height: 100%;

  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

.row_kozossegi .column_kozossegi h3 {
  text-align: center;
  margin-top: 30px;
}

.row_kozossegi:after {
  content: "";
  display: table;
  clear: both;
}

.column_kozossegi {
  float: left;
  width: 33%;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .column_kozossegi {
    width: 100%;
  }

  .row_kozossegi {
    display: block;
  }
}

.column_kozossegi h3 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 300;
}

.column_kozossegi img {
  width: 100%;
}

.column_kozossegi tartalom_kozossegi {
  width: 90%;
  padding: 0 10px 0 10px;
  margin: 0 10px 0 10px;
}

.hajoinfo {
  margin: 20px auto;
  width: 1200px;
  padding: 0 20px; /* Simplified padding */
  display: grid;
  grid-template-columns: 50% 50%;
  /* No need to specify grid-row, it's automatic */
  grid-gap: 10px; /* A shorthand for row and column gap */
  box-sizing: border-box; /* Good practice to include this */
}

.box {
  background-color: #333;
  padding: 20px;
  font-family: sans-serif;
  color: #fff; /* Added for better readability on a dark background */
  
  /* --- FIX STARTS HERE --- */
  
  /* 1. Prevent Text Overflow */
  overflow-wrap: break-word;
  word-wrap: break-word; /* Older browser support */
  word-break: break-word;

  /* 2. Remove flex properties that are causing issues with text content */
  /* We remove display: flex, align-items: center, and justify-content: center */
  /* If you need to center the image, we will do it another way */
}

/* Specific styling for the box with text to ensure good alignment */
.box b {
    display: inline-block;
    margin-right: 5px;
}

.hajoinfo img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block; /* Removes bottom space under image */
}

/* Make sure the image in the first box is centered if needed */
.hajoinfo .box:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 768px) {
  .hajoinfo {
    margin: 20px auto;
    width: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 100%;
    /* grid-row is not needed */
    grid-gap: 20px; /* Use shorthand */
  }

  /* No need to repeat .hajoinfo img here as it's already defined */
}
/* BÚVÁRKODÁS */
.buvarkodas {
  background: url("../images/itineraires_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  color: #fff;
}

.buvarkodas h2 {
  text-align: center;
  padding: 100px 0 110px 0;
  font-size: 64px;
  font-weight: 100;
  color: #fff;
}

.row_buvarkodas .column_buvarkodas .tartalom_buvarkodas h3 {
  font-size: 28px;
  color: #fff;
}

.buvarkodas img {
  margin-bottom: 20px;
  border: 3px solid #fff;
}

.row_buvarkodas {
  height: 100%;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding-bottom: 50px;
}

.row_buvarkodas .column_buvarkodas h3 {
  text-align: center;
  margin-top: 30px;
}

/* Clear floats after the columns */
.row_buvarkodas:after {
  content: "";
  display: table;
  clear: both;
}

.column_buvarkodas {
  float: left;
  width: 25%;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .column_buvarkodas {
    width: 100%;
  }

  .row_buvarkodas {
    display: block;
  }

}

.column_buvarkodas h3 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.column_buvarkodas img {
  width: 100%;
}

.column_buvarkodas tartalom_buvarkodas {
  width: 90%;
  padding: 0 10px 0 10px;
  margin: 0 10px 0 10px;
  color: #fff;
}

/* ÉLŐVILÁG */
.elovilag {
  background: #171717;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  color: #fff;
}

.elovilag h2 {
  text-align: center;
  padding: 100px 0 110px 0;
  font-size: 64px;
  font-weight: 100;
  color: #fff;
}

.row_elovilag .column_elovilag .tartalom_elovilag h3 {
  font-size: 28px;
  color: #fff;
}

.elovilag img {
  margin-bottom: 20px;
  border: 3px solid #fff;
}

.row_elovilag {
  height: 100%;
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

.row_elovilag .column_elovilag h3 {
  text-align: center;
  margin-top: 30px;
}

/* Clear floats after the columns */
.row_elovilag:after {
  content: "";
  display: table;
  clear: both;
}

.column_elovilag {
  float: left;
  width: 25%;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
}

#fun .column_elovilag {
  float: left;
  width: 25%;
  padding: 0 10px 0 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .column_elovilag {
    width: 100%;
  }

  .row_elovilag {
    display: block;
  }

  .column2 {
    float: left;
    width: 100%;
    padding: 50px;
    height: auto;
    box-sizing: border-box;
  }

  /* Clear floats after the columns */
  .row2:after {
    content: "";
    display: table;
    clear: both;
  }
}

.column_elovilag h3 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.column_elovilag img {
  width: 100%;
}

.column_elovilag tartalom_elovilag {
  width: 90%;
  padding: 0 10px 0 10px;
  margin: 0 10px 0 10px;
  color: #fff;
}

/* Create two equal columns that floats next to each other */
.column2 {
  float: left;
  width: 50%;
  padding: 50px;
  height: auto;
  box-sizing: border-box;
}

/* Clear floats after the columns */
.row2:after {
  content: "";
  display: table;
  clear: both;
}

.szoveg_kozossegi2 {
  color: #fff;
}

/* ÁRLISTA */
.arlista {
  background: #ECEFD9;
}

.arlista h2 {
  text-align: center;
  padding: 100px 0 110px 0;
  font-size: 64px;
  font-weight: 100;
}

.row_arlista .column_arlista .tartalom_arlista h3 {
  font-size: 28px;
}

.arlista img {
  margin-bottom: 20px;
}

.row_arlista {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

.row_arlista .column_arlista h3 {
  text-align: center;
  margin-top: 30px;
}

/* Clear floats after the columns */
.row_arlsita:after {
  content: "";
  display: table;
  clear: both;
}

.column_arlista {
  float: left;
  width: 70%;
  padding: 0 10px 0 10px;
}

@media screen and (max-width: 768px) {
  .column_arlista {
    width: 100%;
  }

  .row_kozossegi {
    display: block;
  }
}

.column_arlsita h3 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 300;
}

.column_arlista img {
  width: 100%;
}

.column_arlista tartalom_arlista {
  width: 90%;
  padding: 0 10px 0 10px;
  margin: 0 10px 0 10px;
}

.footerkozep{
  padding-bottom: 40px;
}

.footer {
  text-align: center;
  padding: 80px 0 80px 0;
  background-color: #24272E;
  color: #fff;
}

.tabla a.featured {
	background-color: red;
	color: white;
	border-radius: 4px;
	padding: 0.4em;
}