@media (min-width: 768px) {
  .navbar-nav {
    margin-left: auto;
  }
}

* {
  box-sizing: border-box;
}

.navbar .justify-content-end {
	justify-content: center !important;
}

.navbar-brand .d-inline-block {
	vertical-align: middle !important; 
}

.navbar-brand {
	font-size: x-large;
  	padding-left: 40px;
    width: 100%;
    min-width: 300px;
  	color: transparent;
    max-width: 600px;  
}

.navbar-brand:link,
.navbar-brand:visited,
.navbar-brand:hover,
.navbar-brand:active {
    color: transparent;
}

#navbar-top {
    background-image: url(/sites/default/files/inline-images/elo_header_picture_0.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #cccccc;
}

#navbar-main {
	padding: 0px; 
}

.region-secondary-menu {
    display: inline-flex;
    line-height: 54px;
    width: 50%;
}

.rolunkImg {
	width: 60%; 
  	height: auto;
    padding-bottom: 20px;
}

.img60 {
	width: 60%; 
  	height: auto;
}

.imgH500 {
	width: auto; 
  	height: 500px;
}

.letoltesiSegedlet {
    height: 500px; 
    width: auto;
}

.qrCodeImg {
    height: 200px; 
    width: auto;  
}

@media screen and (max-width: 740px) {
 header #search-block-form {
    padding: 5px;
    width: max-content;
    height: 50px;
 } 
  
 .js-form-type-search > .form-search {
   	font-size: 0.5rem;
  }
  .form-actions > .btn {
    --bs-btn-font-size: 0.5rem;
  }
  
  .navbar > .ms-auto {
    padding-left: 20px !important;
  }
  
  .container-inline div  {
  	height: 30px; 
  }
  
  .rolunkImg {
	width: 100%; 
  }
	
  .img60 {
	width: 100%; 
  	height: auto;
  }
  
  .imgH500 {
	width: 100%; 
  	height: auto;
  }  
}

@media screen and (max-width: 740px) {
  .menu--fomenu > .nav {
  	display: block; 
  }
}

.region-secondary-menu a img {
    margin-right: 10px; /* adjust the right margin to offset the padding on the text */
}

.navbar-toggler-icon {
    filter: invert(1); /* This will invert the colors, making black turn to white */
}

/* Select only the direct children of the .nav list and make their text bold */
.nav > .nav-item > .nav-link {
    font-weight: bold;
  	font-size: 18px;
}

.title {
	font-size: 1.5rem;
	padding-top: 15px;   
}

.imageColumn {
  float: left;
  width: 33.33%;
  padding: 10px;
}

.imageColumn2 {
  float: left;
  width: 50%;
  padding: 10px;
}

.imageColumn2_75 {
  float: left;
  width: 75%;
  padding: 10px;
}

.imageColumn2_25 {
  float: left;
  width: 25%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px; 
}

.imageColumn3 {
  float: left;
  width: 33%;
  padding: 10px;
}

.imageColumn5 {
  float: left;
  width: 20%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.imageRow::after {
  content: "";
  clear: both;
  display: table;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 740px) {
  .imageColumn {
    width: 100%;
  }
  
  .imageColumn2 {
    width: 100%;
  }
  
  .imageColumn2_75 {
    width: 100%;
  }

  .imageColumn2_25 {
    width: 100%;
  }
  
  .imageColumn3 {
    width: 100%;
  }
  
   .imageColumn5 {
    width: 100%;
  }
  }

@media screen and (min-width: 741px) {
#video-container1  {
  height: 405px;
  }
#video-player1 {
   height: 405px;
  }  
  
#video-container2  {
  height: 600px;
  width: 300px;
  }

  #video-player2 {
  height: 600px;
  width: 300px;  
  }   
  
}  

@media screen and (max-width: 740px) {
#video-container1  {
  height: calc((100vw - 46px) * 0.5625);
  }
  
#video-player1 {
      height: calc((100vw - 46px) * 0.5625);
  }
  
#video-container2  {
  height: calc((100vw - 46px) * 1.5625);
  width: calc((100vw - 46px) * 0.8);
  }
  
#video-player2 {
      height: calc((100vw - 46px) * 1.5625);
  }  
  
.hideOnPhone {
  display: none;
  }
  
.hideOnPhone img {
  height: 300px;
  }  
}  

.video_wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */ 
}

iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.virtual_walk_wrapper {
  position: relative;
  height: 0;
  width: 80%;
  padding-bottom: 50.25%;
  margin: 0 auto;
}

.virtual_walk_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.tattami_demo_wrapper {
  position: relative;
  height: 0;
  width: 80%;
  padding-bottom: 76%;
  margin: 0 auto;
}

.tattami_demo_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.sss_wrapper {
  position: relative;
  height: 0;
  width: 80%;
  padding-bottom: 59.25%;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .sss_wrapper {
    width: 100%;
    padding-bottom: 200%;
  }
}


.sss_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.navigation >a {
  color: #ffffff; /* This will set the menu text color to white */
  line-height: 40px;
}

.navigation a:hover {
  color: #DF994E; 
}

.menu .nav-item a:hover {
 color: #25408F;
}

.site-footer {
    padding: 0;
}

.site-footer .block {
	padding-bottom: 0px; 
}

.site-footer .block {
    border: 0px;
}

.site-footer__bottom {
	margin-top: 0px; 
}

.site-footer__bottom .region {
	margin-top: 0px;   
}

.nav-item {
  position: relative;
}

.nav-item .menu {
  display: none;
  position: absolute;
  list-style: none; /* hide the list marks */
  padding: 0;
  top: 100%;
  left: 0;
  z-index: 9999;
  background-color: #7D96E3;
  width: 100%;
  /*color: #25408F;*/
}

li:nth-child(2) .menu {
  width: 144px;
}

li:nth-child(3) .menu {
  width: 200px;
}

li:nth-child(4) .menu {
  width: 180px;
}

.nav-item:hover .menu,
.nav-item.menu-item--expanded:hover .menu,
.nav-item.menu-item--collapsed:hover .menu {
  display: block;
  /*color: #25408F;*/
}

.nav-item.menu-item--expanded a:hover {
	color: #DF994E;
    /* color: #25408F; */
    /*background-color: white;*/
}

.menu-item--active-trail {
    background-color: #7D96E3;
    color: #25408F;
}

/* UJ */

.nav > .nav-item > .nav-link {
  height: 50px; /* adjust this value to match the desired height */
  line-height: 50px; /* adjust this value to vertically center the text within the menu item */
  display: flex;
  align-items: center;
}

/* UJ eddig */

.caption > figcaption {
    caption-side: top;
    padding-left: 15px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  /* width: 100%; 
  height: auto;*/
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

.modal img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
}

.modal:target {
  display: flex;
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.youtubeVideoAiexpo {
	position: relative;
  	width: 246px;
  	height: 496px;
}

.youtubeVideoDipp {
	position: relative;
  	width: 243px;
  	height: 496px;
}

.youtubeVideoDron {
	position: relative;
  	width: 800px;
  	height: 450px;
}

.video-stream {
    width: 246px;
    height: 500px;
    left: 0px;
    top: 0px;
}

/* Hide the caption and counter, as they may interfere with the layout */
.pswp__caption, .pswp__counter {
  display: none !important;
}

/* Adjust the position and size of the close button */
.pswp__button--close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Adjust the position and size of the zoom button */
.pswp__button--zoom {
  position: absolute !important;
  bottom: 15px !important;
  right: 15px !important;
  width: 30px !important;
  height: 30px !important;
  background-color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  text-align: center !important;
  font-size: 24px !important;
  line-height: 30px !important;
  color: #000 !important;
  z-index: 1000 !important;
}

.pswp__bg {
    background-color: #ffffff !important; /* replace with your desired background color */
}

.jatekTipusNev {
    font-weight: bold;
    padding-bottom: 10px;
}

.jatekTipusLeiras {
    padding-bottom: 10px;
}

.jatekTipusForras  {
    font-weight: bold;
}

.jatekPortalColumn1 {
    width: 20%;
}

.jatekPortalColumn2 {
    width: 80%;
}

.jatekPortalColumn1 img {
    padding: 20px;
  	max-width: 100%;
}

@media screen and (max-width: 740px) {
  .jatekPortalColumn1 img {
    padding: 3px;
}
}

/* Hide Italian language from the language selector */
span[hreflang="it"] {
  display: none;
}