:root {
 
  --logo_width: 250px;
  
}

/* funky body BG */
#exhibitor-list-exhibitor-list {
	background: linear-gradient(160deg, #eaf0ff 0%, #ffe8d6 45%, #eae3ff 100%);
  background-attachment: fixed;   /* keep it still */
  background-size: cover;         /* fill the viewport */
  background-repeat: no-repeat;
}


.alphabet_dropdown {
	display: none;	
}

/* alphabet list */
.content nav.alphabet {
	margin-top: 8px;
	margin-bottom: 30px;
	width: 100%;
}
.content nav.alphabet ul {
	display: flex;	
	justify-content: flex-start;
	margin: 0;
}
.content nav.alphabet ul li  {
	flex: 1;
	padding: 0;
	margin: 0;
	text-align: center;
	list-style: none;
	background: none;
}
.content nav.alphabet a {
	display: block;
	background: #fff;
	color: #444;
	line-height: 22px;
	text-decoration: none;
	font-size: 15px;
	margin-right: 2px;
	padding: 0 2px;
	border-radius: 2px;
	font-weight: 400;
}
.content nav.alphabet a:hover {
	background:   var(--pastel_orange);
	color: #fff;
}
.content nav.alphabet a.active {
	background:   var(--pastel_orange);
	color: #fff;
}
.content nav.alphabet a.disabled {
	opacity: 0.2;	
}
.content nav.alphabet a.disabled:hover {
	background: #ececec;
	color: #444;
	cursor: default;
}


/* filters */
.content #exlist_filters .filters {
	display: flex;	
}
.content #exlist_filters p.filter {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
}
.content  #exlist_filters p.category_filter {
	display: block;
	margin-bottom: 20px;	
}
.content #exlist_filters p select {
	font-size: inherit;
}


/* reset link for filters */
.content #exlist_filters a.reset {
	margin-left: 2px;
	display: inline-block;
	width: 24px;
	background-repeat: no-repeat;
	background-image: url(../_shared/_img/dialogue/dialog_error.png);
	background-size: 24px;
	background-position: 0 2px;
	opacity: 0.3;
	text-indent: -4560px;
	transition: opacity 0.2s ease-in-out;
}
.content #exlist_filters a.reset:hover {
	opacity: 0.8;
}


/*  exhibitor list  */
#exhibitor_list div.e {
	background: #fff;
	margin-bottom: 8px;	
	padding: 15px 25px;
	clear: both;
	color: #444;
	position: relative;
	display: grid;
	grid-template-columns: 1fr var(--logo_width);
    gap: 10px; /* Optional: adds some space between columns */
	border-radius: 5px;
	
}
#exhibitor_list div.e p {
	margin: 0; padding: 0;	
}
#exhibitor_list div.e .text {
	font-weight: 400;	
}
#exhibitor_list div.e .text h4 {
	font-weight: 600;
	font-size: 1.3em;	
}


/* small logo */
#exhibitor_list div.e .logo {
	width: var(--logo_width);
	 display: flex;
    justify-content: flex-end; /* Aligns the image to the right */
    align-items: center; /* Vertically centers the image */
    height: 100%; /* Ensure it takes full height of the grid cell */

}
#exhibitor_list div.e .logo img {
	display: block;
	max-width: var(--logo_width);
	max-height: calc(var(--logo_width) / 2);
}

/* buttons */
#exhibitor_list div.buttons {
	clear: both;
	padding-top: 5px;
}
#exhibitor_list div.buttons p {
	clear: left;
	font-size: 14px;
	line-height: 25px;
	text-transform: none;
	display: inline-block;
	margin-right: 5px;
}
#exhibitor_list div.buttons p a {
	display: block;
	background: #a1bdd9;
	color: #fff;
	text-decoration: none;
	padding: 0 9px;
	border-radius: 5px;
	transition: all 0.2s ease-in-out;
	border: 1px solid #fff;
}





#exhibitor_list div.buttons p a.pr { background: #aec477 } /* profile */
#exhibitor_list div.buttons p a.ib { background: #d09fa6 } /* termin vereibarn */
#exhibitor_list div.buttons p a.pb { background: #869db3 } /* brochure */
#exhibitor_list div.buttons p a.vb { background: #d7b075 } /* video */


#exhibitor_list div.buttons p a:hover {
	background-color: #fff;
	border: 1px solid #aaa;
	color: #555;
}

/* try different for "Make an appointment */
#exhibitor_list div.buttons p a.ib { 
	color: #555;
	background-color: #fff;
	text-transform: none;
	background-image: url(../_shared/_img/file-icons/ics.png);
	background-repeat: no-repeat;
	background-position: 3px 2px;
	background-size: 19px auto;
	padding-left: 23px;
	border: 1px solid #fff;

}
#exhibitor_list div.buttons p a.ib:hover { 
	background-color: #fff;
	border: 1px solid #aaa;
}
 /* Your styles for only-ib-button case */
#exhibitor_list div.buttons p:only-child a.ib {
   margin-left: -3px;
}


 p.exlist_totop {
	background-color: inherit;	
	margin-bottom: 40px;
	padding-left: 0;
	text-align: right;
	padding-right: 0;
	padding-top: 14px;
	
}



.content p.totop a, .content p.totop a,
.content p.exlist_totop a, .content p.exlist_totop a {
	display: inline-block;
	background: url(../_shared/_img/icons/totop_arrow_24.png) no-repeat;;
	line-height: 24px;
	padding-left: 32px;
	color: #989898;
	text-decoration: none;
}
.content p.exlist_totop a, .content p.exlist_totop a {
	background-position: right center;	
	padding-right: 32px;
}



@media (max-width: 740px) {
	#exhibitor_list div.e {
		grid-template-columns: 1fr 170px;
	}
	#exhibitor_list div.e .logo {
		width: 170px;
	}
	#exhibitor_list div.e .logo img {
		max-width: 170px;
	}
	
}

@media (max-width: 540px) {
	.alphabet {
		display: none;
	}
	
	#exhibitor_list div.e {
		padding: 10px 10px;
		grid-template-columns: 1fr 100px;
		font-size: 0.9em;
	}
	
	#exhibitor_list div.e .basic b {
		font-size: 1.1em;	
	}

	/* small logo */
	#exhibitor_list div.e .logo {
		width: 100px;
	}
	#exhibitor_list div.e .logo img {
		max-width: 100px;
		max-height: 80px;
	}
}