div#block-sitebranding-2 {
    margin-bottom: 0;
}

img.site-logo {
    margin: 5px 10px 5px 0;
    float: left !important;
}

.site-name {
    text-transform: uppercase;
    padding-top: 16px;
    display: inline-block;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: small;
}

.site-slogan a, .site-name a {
    color: #fff;
    text-decoration: none;
}

/*div#block-bootstrap-barrio-subtheme-fejlecafronton, div#block-bootstrap-barrio-subtheme-fejlecafrontonen {
    width: 50%;
}*/

.site-name a{
    color: #fff;
}

.site-slogan {
    text-transform: uppercase;
    color: #fff !important;
    font-family: 'Merriweather Sans',sans-serif;
    line-height: 1.3em;
    margin-top: 4px;
    font-size: small;
}

.site-slogan a {
    color: #fff;
}

a.site-logo {
    margin: 0px 10px 0px 0;
    float: left !important;
}

.site-logo{
    float: left !important;
}

@media screen and (max-width: 650px){
a.site-logo img {
    width: 70%;
    height: 70%;
}

.site-name {
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 1px solid #fff;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 10px;
    padding:unset;
    padding-top:10px;
}

.site-slogan {
    text-transform: uppercase;
    color: #fff !important;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.3em;
    font-size: 10px;
    margin-top:unset;
}

a.site-logo {
    float: left !important;
    margin:unset;
    margin-right: -5%;
}
}

@media (min-width: 64em) {
    .slide__caption {
        top: 10%;
        left: 0;
        padding: 20px;
        top: unset !important;
        left: unset !important;
        padding: unset !important;
    }
}

/*Info Link Box */

li.list-group-item {
    border: none;
}
.info-link a {
    text-decoration: none;
    color: #780101;
}
.info-link-box-container {
    border: 1px solid #ced4da;
    padding: 10px;
}
.btn-primary {
    background-color: #1d84c3;
    border-color: #1d84c3;
    color: #fff;
}
@media (max-width: 991px) {
	.slider-szoveg {font-size: 0.5em; padding: 20px 5px 5px;}
	.slider-szoveg a.btn.btn-secondary {font-size: 0.5em;}
	.search-block-form div, #block-bootstrap-barrio-subtheme-legordulogyorslinkek{display:none;}
}

@media (max-width: 1366px) {
	  .search-block-form {display:none;}
	
}
.sidebar .block {
    background-color: #f6f6f2;
    border-color: #f9f9f9;
    background: unset;
    border-color: transparent;
    padding: 0;
}
.sidebar h2 {
    margin: 0;
    border-bottom: unset;
}
.site-footer .block {
    border: none;
}
.site-footer {
    background: #780101;
}

.featured-top {
    background: #eff1f3;
    margin-top: 20px;
    margin-bottom: 20px;
    
}
nav#block-bootstrap-barrio-subtheme-gyorslinkek .nav-link {
    padding: 1px 10px;
    font-size: 0.8em;
}
.is-b-loading {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    min-height: 20px;
}
.hir-doboz {
    background: #fff;
    padding: 20px 20px 10px;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
.hir-doboz { min-height: 140px;}
}
h6.hir-cim {
    padding-top: 10px;
    color: #333;
}
h6.hir-cim a {
    text-decoration: none;
}
input#edit-keys {
    border-radius: unset;
}

#search-block-form{
	margin-left: 20px;
}
.js-form-item.js-form-type-search.form-type-search.js-form-item-keys.form-item-keys.form-no-label.mb-3 {
    padding-right: 5px;
}
@media screen and (min-width: 992px) {
    .language-menuitem {
        border-radius: 10px;
        background: #780101;
        margin-left: 50px;
    }
    nav#block-bootstrap-barrio-subtheme-fomenuhu-2, nav#block-bootstrap-barrio-subtheme-fomenuen {margin-right: 10px;}
}

.hir-datum i {
    color: #1d84c3;
}

.info-link-box-container h6 {
    color: #780101;
}
.fc-icon {
    color: #780101;
    font-weight: 600;
}
.info-title {
    background: #eff1f3;
    padding: 6px;
}

a {
    text-decoration: none;
}
.hir-datum {
    color: #999a9c;
    font-size: 0.90em;
}
/* Képgaléria */
.portfolio-v2 .content-inner .title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #282828;
    margin-bottom: 10px;
}
.portfolio-v2.isotope-item.margin-bottom-30 .image a {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-v2 .content-inner {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 15px 10px;
    min-height: 130px;
    background: #fff;
}

@media (min-width: 1200px) {
    .col-lg-4 {
        width: 33.33333%;
    }
}

.gallery-image-grid img {
  float: left;
  width: 25%;
  padding: 0 15px 15px 0px;
  height: auto;
}
@media screen and (max-width: 991px){
  .gallery-image-grid img {width: 50%;}
}
ul.sf-menu li a {
  color: #fff;
  background: #1d84c3;
}
ul.sf-menu.sf-horizontal.sf-shadow ul, ul.sf-menu.sf-vertical.sf-shadow ul, ul.sf-menu.sf-navbar.sf-shadow ul ul {
  background: #1d84c3;
}
ul.sf-menu a, ul.sf-menu span.nolink {
  color: #fff;
}
ul.sf-menu .sf-with-ul, span.sf-depth-1.menuparent.nolink.sf-with-ul {
    padding-right: 2em;
}
ul#superfish-fomenu-hu, ul#superfish-fomenu-en  {
    float: right;
}
@media screen and (min-width: 992px){
button.navbar-toggler.collapsed {margin-right: 10px;}
}
.rovat {
    background: #eff1f3;
    padding: 0 6px;
    font-size: small;
    margin-bottom: 5px;
    display: table;
    color: #051d46;
}
.info-link {
    margin-left: 1em;
    text-indent: -1em;
    font-size: clamp(12px, 0.725vw, 16px);
}
@media screen and (max-width: 991px){
	nav#block-bootstrap-barrio-subtheme-gyorslinkek .nav-link {
    padding: 1px 3px;
    font-size: 0.6em;
	}
}

@media screen and (max-width: 625px){
	 .site-name {font-size: 8px; padding-top: 5px}
	 .site-slogan {font-size: 8px}
}
@media (min-width: 992px) {
    .col-md-4.group-left, .col-md-4.group-right {
        width: 33.33333%;
    }
}
@media (min-width: 992px) {
    .col-md-8.group-right, .col-md-8.group-left {
        width: 66.66667%;
    }
}
@media (max-width: 991px) {
    .col-md-4.group-left, .col-md-4.group-right {
        width: 100%;
    }
}
@media (max-width: 991px) {
    .col-md-8.group-right, .col-md-8.group-left {
        width: 100%;
    }
}

#navbar-main {
    background-color: #780101;
}
#navbar-top{
    background-color: #000;
    height:50px;
}


/*@media (min-width: 769px){
	#page {
    max-width: 75%;  
    margin: 0 auto;     
}
}*/

@media (min-width: 1220px) {
#navbar-main,
.highlighted,
.featured-top,
.region-top-header,
.site-footer,
#main-wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 71vw;
  }
  
  #navbar-top{
	padding: 0 14vw;
}
}

#navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#navbar-top .menu--gyorslinkek .nav {
  display: flex;
  flex-wrap: nowrap;
}

#navbar-top .menu--gyorslinkek li {
  display: flex;
  align-items: center;
}

#navbar-top .menu--gyorslinkek li + li::before {
  content: "|";
  margin: 0;
  color: #999;
}

#navbar-top .menu--gyorslinkek a {
  white-space: nowrap;
}

#block-bootstrap-barrio-subtheme-socialmedia {
  margin-left: auto;
}

#edit-keys{
	height:20px;
}

#search-block-form .mb-3 {
    margin-bottom: 0!important;
}

#search-block-form #edit-submit {
    font-size: 12px !important;  
    padding: 1px 7.5px !important; 
    background-color:#780101;
    border-color:#780101;
}

div:has(> #edit-keys) {
    margin-top:2px;
}

.image-style-info-link-picture{
	width:250px;
	height:150px!important;
	margin-left: 5%;
}

.info-link span{
	margin-left: 5%;
}

#superfish-fekete-gyorslinkek,#superfish-fekete-gyorslinkek-en {
	margin-bottom:0px;
	background-color:black;
	text-transform: uppercase;
}

#superfish-fekete-gyorslinkek li a{
	background-color:black;
	color:white;
	/*height: 35px;*/
	font-size: clamp(10px, 0.725vw, 16px);
}

#superfish-fekete-gyorslinkek-toggle{
	background-color:black;
	color:white;
	width:100%;
	z-index:105;
}

#superfish-fekete-gyorslinkek-en-toggle{
	background-color:black;
	color:white;
	width:100%;
	z-index:105;
}

#superfish-fekete-gyorslinkek-accordion li a, #superfish-fekete-gyorslinkek-en-accordion li a{
	background-color:black;
	color:white;
	text-transform: uppercase;
	
}

.sf-style-default{
	width: 100%;
  background-color: black;
  color:#780101;
}

#block-bootstrap-barrio-subtheme-legordulogyorslinkek{
	width:auto;
}

#superfish-legordulo-gyorslinkek{
	margin:0;
}

#block-bootstrap-barrio-subtheme-legordulogyorslinkek li a{
	background-color: black;
  /*height: 35px;*/
  font-size: clamp(0.75rem, 1.5vw, 1rem); 
}

#block-bootstrap-barrio-subtheme-1367logo-2{
	padding-left: 60%;
}

.fbembed{
	margin:0!important;
}

.breadcrumb{
	border-bottom: 2px solid #e3dede;
}

.site-footer__top .row {
	padding-left: 50px;
}

#block-bootstrap-barrio-subtheme-ptelogout, #block-bootstrap-barrio-subtheme-ptelogin{
	margin: 0;
  padding-top: 0;
}

#block-bootstrap-barrio-subtheme-pecsitudomanyegyetem{
	padding-bottom: 0;
  margin-bottom: 0;
}

#block-bootstrap-barrio-subtheme-alsosocialmedia a{
	display: flex !important;
	justify-content: center !important;
	border-bottom:0;
}

#block-bootstrap-barrio-subtheme-pecsitudomanyegyetem * {
  border: none;
  padding:0;
}

/* 1. Alapbeállítások a legfelső szintű linkeknek */
#superfish-fekete-gyorslinkek > li > a , #superfish-fekete-gyorslinkek-en > li > a{
  position: relative;
  display: inline-block;
  /* Biztosítunk elég helyet jobb oldalon a nyílnak ÉS az elválasztónak is */
  padding-right: 28px !important; 
}

/* 2. A Superfish saját nyilacskájának helyretétele, hogy ne ússzon rá a szövegre */
#superfish-fekete-gyorslinkek > li > a .sf-sub-indicator, #superfish-fekete-gyorslinkek-en > li > a .sf-sub-indicator {
  position: absolute;
  right: 15px !important; /* Beljebb hozzuk az elválasztótól */
  top: 50%;
  transform: translateY(-50%);
}

/* 3. Az elválasztó vonal kitolása teljesen a jobb szélre */
#superfish-fekete-gyorslinkek > li > a::after, #superfish-fekete-gyorslinkek-en > li > a::after {
  content: "|";
  position: absolute;
  right: 0; /* Teljesen a link jobb szélére igazítjuk */
  top: 50%;
  transform: translateY(-50%);
  color: #ccc; /* Elválasztó színe */
  font-weight: normal;
  pointer-events: none;
}

/* 4. Az utolsó menüpont (Táncestek) utáni elválasztó és felesleges padding levétele */
#superfish-fekete-gyorslinkek > li.sf-last > a::after ,#superfish-fekete-gyorslinkek-en > li.sf-last > a::after {
  content: none !important;
}
#superfish-fekete-gyorslinkek > li.sf-last > a ,#superfish-fekete-gyorslinkek-en > li.sf-last > a  {
  /* Az utolsónál csak a nyílnak kell a hely (ha van neki), de ha nincs almenüje, akár 0px is lehet */
  padding-right: 15px !important; 
}
/* Ha az utolsónak van nyila, az is maradjon a helyén */
#superfish-fekete-gyorslinkek > li.sf-last > a .sf-sub-indicator, #superfish-fekete-gyorslinkek-en > li.sf-last > a .sf-sub-indicator {
  right: 0 !important; 
}



/* A képek tárolóját flexbox-szá alakítjuk */
.field--name-field-gal-ria-k-p .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Távolság a képek között */
  justify-content: flex-start;
}

/* Az egyes képek konténereinek formázása (alapértelmezetten 4 oszlop) */
.field--name-field-gal-ria-k-p .field__item {
  flex: 1 1 calc(25% - 12px);
  max-width: calc(25% - 12px);
}

/* Biztosítjuk, hogy a linkek és képek kitöltsék a rendelkezésre álló helyet */
.field--name-field-gal-ria-k-p .field__item a,
.field--name-field-gal-ria-k-p .field__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* Ha nem egyforma méretűek, ez vágja őket egyenletesre */
}

/* Mobilnézet (1 oszlop) */
@media (max-width: 480px) {
  .field--name-field-gal-ria-k-p .field__item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Tabletnézet (2 oszlop) */
@media (min-width: 481px) and (max-width: 768px) {
  .field--name-field-gal-ria-k-p .field__item {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

#superfish-fekete-gyorslinkek-en li a{
	background-color:black;
	color:white;
	font-size: clamp(10px, 0.725vw, 16px);
}

#superfish-fekete-gyorslinkek-en{
	margin-bottom:0px;
}

.field--type-daterange{
	font-weight: bold;
}

#page{
	background-color:#780101;
}
