/* Lábléc*/

#bmefooter ul {
    display:inline-grid;

    padding-right:16px!important;
    text-align:left;
    width:220px;
    padding-top:8px;
}
#bmefooter{
  width:100%;
  padding-left:4rem;
  text-align:center;
  grid-template-columns: (auto-fill, 220px)
}

@media(max-width:1650px){
  #bmefooter{
    padding-left:0rem;}

}
@media(max-width:767px){
  #bmefooter ul li{
  display:block!important;}

}
@media (max-width:1000px){
 
  #bmefooter{
    font-size:14px;
  }
  .footer-heading a{
    font-size:20px!important;
  }
}

@media (max-width:600px){
   .footer-heading a{
    font-size:24px!important;
  }

  #bmefooter ul{
    min-width:100%!important;
    max-width:100%!important;
  }
}

#footer-main{
 width:100%;
}
@media (max-width:1520px){
 #bmefooter ul li{
   display:none;
  }
      .firstthreerow{
   display:block!important;
  }
  #footer-main{
    padding-left:0px!important;
    padding-top:0px!important;
  }


  #bmefooter{
    font-size:16px;

    padding-left:0rem!important;
  }
   #bmefooter ul{

        padding-left:4px!important;

    padding-bottom:22px;
        padding-right:12px!important;

  }
  .footer-heading{
    padding-top:16px!important;
  }
  
}
#bmefooter ul{
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
  /* margin-right: 2.5rem; valami jobb kell*/
}

#bmefooter ul li{
    color:#931634;
    padding-top:4px;
    padding-bottom:4px;
}
.footer-heading{
  padding-bottom:4px;
}
.footer-heading a{
    color: var(--light-theme-typography-colours-heading, #1A1A1A);
font-feature-settings: 'clig' off, 'liga' off;
/* Desktop Heading/Heading 5 - menube */
font-family: Times New Roman;
font-size: 23px;
font-style: italic;
font-weight: 400;
line-height: 28px; /* 121.739% */
letter-spacing: -0.2px;
padding-bottom:10px;
}

.footer-elerhetoseg {
  text-wrap: nowrap;
}

.bmelogo-fent-balra {
  object-fit:fill;
  height:2.5rem;
  margin-left: -3px;
}

.bme-logo-mobile {
  height: 32px;
  width: 152px;
}


/* Mobil menu workaround, hogy nem lep vissza */
#menu--main-mobile .collapse:not(.show) {
  display: none !important;
}

.offcanvas.offcanvas-end {
  top: 63px;
  left: 0px;
}

.offcanvas-backdrop.show {
  display: none;
}


/* Hírekhez kell csak */
article.node--type-news .field--name-field-paragraphs 
{
  max-width: 940px;
}

.menucelcsoportfooter{
  color: var(--Light-Theme-Interaction-Colours-Interaction-Background, var(--hovermenu, #931634));
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: "Times New Roman";
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.75rem;
}

@media(max-width:768px){
  .mobiletores_footer{
    display:block!important;
    text-align: center;
  }
  .menucelcsoportfooter{
    display: block!important;
    padding-top:4px;
  }
}

@media(max-width:768px){
  #mynav_langnav .is-active{
    display:none!important;
  }
  }
  
  #mynav_langnav > span{
  
  padding-right:8px;
  padding-left:8px;
  padding-top:6px;
  padding-bottom:6px;
  
  }
  #mynav_langnav > span > a {
      font-style: italic;
      
  }
  #mynav_langnav .is-active{
    background-color: var(--bs-primary);
    
    color:white!important;
  }

  /* Szerkesztői nézetben a nyelvválasztónál ne legyen szekesztés ikon */
  #block-bme-bootstrap-languageswitchercontent > div button:first-of-type {
    display: none;
  }

  /* Bejelentketés normális legyen */
  #user-login-form {
    margin: 2rem;
  }

.page-link.active, .active > .page-link {
  background-color: #931634;
  border-color: #931634;
}

.view-karok-nezet-v2 .bme_timeline_card--view {
  background-position: 0px 91px !important;
}

.view-karok-nezet-v2 .bme_timeline_card--view {
  background-size: 100% 88% !important;
}

/* Karok és szervezet */
@media (min-width: 768px) {
  .bme_timeline_card:nth-of-type(1) {
    margin-top: 1rem !important;
  }
  .view-karok-nezet-v2 .bme_timeline_card--view {
    background-position: 0px 91px !important;
    background-size: 100% 77% !important;
  }
}

#footer-side {
  padding-top: 0 !important;
}

#header-top-left {
  font-weight: 600;
  font-size: 24px;
}

#page #header {
  position: sticky; /* fixed */
  top: 0;
  width: 100%;
  z-index: 100;
}

#content {
  /* margin-top: 160px; */
}

@media (max-width: 767px) {
#content {
  /* margin-top: 70px; */
}
}

.hovered-menu-element {
  background-color: rgba(147, 22, 52,0.65);
  color:white!important;

}
.clicked-menu-element {
  background-color: rgba(147, 22, 52,1);
  color:white!important;
}

.fooldal-image-container {
  display: flex;
  justify-content: center;
}

.fooldal-image-container img {
  height: 500px;          /* Fixed height (adjust as needed) */
  width: 100%;            /* Stretch to fill container width */
  max-width: 100vw;       /* Don't overflow the viewport */
  object-fit: cover;      /* Crop if needed to preserve fill */
  display: block;
}

@media (max-width: 767px) {
.fooldal-image-container img {
  height: 300px; 
}
}

.fooldal-image-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* optional */
}

.fooldal-image-container2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bme-site-title {
  font-size: 24px;
  font-weight: 600;
} 
}
