/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/
.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto !important;
  float: unset !important;
  padding: 20px !important;
}

.mfp-content .avia-button {
	background-color: #ea0017;
}

.mfp-content .avia-button span:hover {
	color: #a0cdd2;
	cursor: pointer;
}

#main {
    background-color: #f1f3f6;
}

.main_color b {
	color: #333333;
}

.main_color a:hover, .main_color h1 a:hover, .main_color h2 a:hover, .main_color h3 a:hover, .main_color h4 a:hover, .main_color h5 a:hover, .main_color h6 a:hover, .main_color .template-search a.news-content:hover, .main_color .wp-playlist-item .wp-playlist-caption:hover {
  color: #a0cdd2 !important;
}

.main_color a, .main_color .widget_first, .main_color strong, .main_color b, .main_color b a, .main_color strong a, .main_color #js_sort_items a:hover, .main_color #js_sort_items a.active_sort, .main_color .av-sort-by-term a.active_sort, .main_color .special_amp, .main_color .taglist a.activeFilter, .main_color #commentform .required, #top .main_color .av-no-color.av-icon-style-border a.av-icon-char, .html_elegant-blog #top .main_color .blog-categories a, .html_elegant-blog #top .main_color .blog-categories a:hover {
  color: #ea0017 !important;
}

a.avia-button {
	color: white !important;
}

a.avia-button.avia-cookie-consent-button-1 {
	color: #333333 !important;
}
@media only screen and (max-width: 1140px) { 
	.av-main-nav > li.menu-item-avia-special {
		display: block;
	}
	.av-main-nav > li.menu-item {
		display: none;
	}
}
.subpage h1, .single-portfolio h1, .single-post h1 {
    /* 
     * adds the underline of the header
     * 
     * background-image: url(/wp-content/uploads/2020/06/afertitle_sbd.png);
     * display: inline-block;
     * padding-bottom: 16px !important;
     * background-repeat: no-repeat;
     * background-position: center bottom; 
     * 
     * 
     * */
    font-size: 34px;
}

h1 b {
    color: #ea0017 !important;
}

h2 {
	font-size: 22px;
}
.av-special-heading.sponsor_head {
	margin-top: 20px !important;
}
.sponsor_head h2 {
	font-weight: 700 !important;

}

/* CONTACT ICONS */

.av_font_icon .av-icon-char {
  font-size: 24px !important;
  line-height: 24px !important;
  color: #ea0017;
}

/* Text size in button */

.avia_iconbox_title {
	font-size: 16px;
}

.register_button .avia_iconbox_title {
	font-size: 26px;
}

.entry-content-wrapper li {
    margin-left: auto;
}

/* red corners for home title */

.red_corners::before, .red_corners::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    border: solid #ea0017;
    border-width: 6px 0 0 6px;
	visibility: visible;
}

.red_corners::before {
    left: 0px;
    top: 0px;
    display: block;
}
.red_corners::after {
	border-width: 0 6px 6px 0;
    bottom: 0px;
    right: 0px;
    display: block;
}

/* red border for active menu and hover */
#top #header .av-main-nav > li.current-menu-item > a {
  border-bottom: #ea0016 2px solid;
}	

.justify_text {
    text-align: justify;
}

/* Logo caption */
.avia-caption-content {
	text-align: right;
	color: black;
	margin-bottom: 25px;
}

.caption_bottom .slideshow_caption {
    width: 100%;
    bottom: 0;
    height: auto;
    position: fixed;
    right: 0px;
}

/* unterster Footer */
#socket, #socket a {
	background-color: #646567;
	height: 60px;
	color: #f0f4ec;
}

.copyright {
	width: 100%;
}

#footer img {
	width: 100%;
}

#footer .transkript {
	max-width: 160px;
	margin-top: 28px;
}

#footer .european-biotechnology {
	max-width: 160px;
	margin-top: 30px;
}

#footer .Swiss-Biotech-Association {
	max-width: 180px;
	margin-top: 18px;
}
#footer .Swiss-Biotech {
	max-width: 160px;
	margin-top: 43px;
}

#footer .after_footer {
	clear: both;
	font-size: 14px;
}

#footer .widget {
  margin: 30px 0 15px 0;
}

@media only screen and (max-width: 767px) {
	#footer a {
		margin: 0 auto;
		display: block;
		max-width: 250px;
	}	
	#footer img {
		margin-top: 20px !important;
		max-width: 250px !important;
	}
	
	#footer .widget {
		margin: 0;
	}
}


/* gravity form */

#top .main_color .input-text, #top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"], #top .main_color textarea, #top .main_color select {
	background: #fff;
	border: 1px solid #c0ccda;
	border-radius: 3px;
	max-width: 100%;
}
/* require star */
#top label span {
    font-weight: normal;
    content: attr(data-required);
    font-size: 1em;
    color: #ff4949;
    text-decoration: none;
    word-wrap: break-all;
    word-wrap: break-word;
    display: inline;
}

/* Address label */
.gfield_label.gfield_label_before_complex {
	font-size: 1.1em !important;
}


body .gform_wrapper {
    background-color: transparent;
}

/* Aufzählung */
.entry-content-wrapper li {
	margin-left: 25px !important;
}

.avia-slideshow-inner li {
	margin-left: 0 !important;
}

/*copyright*/

.avia-copyright {
	display: block !important;	
	position: relative;
	top: -26px;
	right: 2px;
	height: 0;
	color: #ffffff;
	float: right;
}

table, td, tr {
    font-size: 16px !important;
}

body .column-top-margin {
    margin-top: 50px;
}

a {
 color: #ea0017;
}

/* Programm */
#top .toggler {
	font-size: 0.8em;
	background-color: #fff !important;
}

#top .toggler:hover {
	background-color: #ea0017 !important;
	color: #fff !important;
}

#top .toggle_wrap {
	border: 1px solid #aaaaaa !important;
	margin-top: 12px;
	width: calc(100% - 1px);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-bottom: 12px;
}

#top .togglecontainer .toggle_wrap .toggle_content {
	color: #333333 !important;
	background-color: #fff !important;
	margin: 0px;
	border-color: #fff !important;
}

.toggle_icon, .vert_icon, .hor_icon {
	border-color: #333333 !important;
}

.mobileProgramMargin {
	bottom: 23px !important;
}

/* Programm 2023 */

#top.page-id-5916 .toggle_wrap {
	background-color: #fff;
}

/* desktop / from 990px */
@media (min-width: 990px) {
	#top.page-id-5916 .av_one_fifth .toggle_wrap {
		min-height: 666px;
	}
}

#top.page-id-5916 .toggle_content {
	font-size: 0.8em !important;
}

#top.page-id-5916 .toggle_content img {
	max-height: 35px !important;
	width: auto !important;
}


/* Posts company profiles  */

.hg_flex_content {
	display: flex;
	color: #ea0017;
}

.hg_flex_content p {
	margin-left: 10px;
}

.hg_exhibitor_table td {
	color: #333333 !important;
	border-color: #333333;
}

.av-special-heading {
  display: inline-block !important;
}

.hg_company_presentation_table td {
	color: #333333 !important;
	border-color: #FFFFFF;
	text-align: left !important;
}
.hg_company_presentation_table td.avia-highlight-col {
	color: #ea0017 !important;
	border-color: #FFFFFF;
	text-align: left !important;
	font-weight: 600;
	background-color: #FFF !important;
	max-width: 200px;
	width: 155px;
}

#av_section_map {
	background-color: #FFFFFF;
  }

.post-entry h2 {
	font-size: 25px !important;
}

.post-entry .av_textblock_section {
  width: 100%;
  overflow: hidden;
}

/*hide category in post grid*/
.entry-content-header .blog-categories.minor-meta {
  display: none !important;
}

.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
	display: flex !important;
}

.slide-image img {
	margin: auto auto auto auto !important;
	height: auto !important;
	width: auto !important;
	max-width: 100% !important;
	max-height: 100px !important;
}


.slide-image {
  border-radius: 10px !important;
  padding: 10px 10px 10px 10px !important;
  min-height: 220px !important;
}


@media only screen and (max-width: 767px) {
	.post-entry .flex_column_table img {
		margin: 30px auto;
	}
	.slide-image img {
		max-height: 120px !important;
	}
}

@media only screen and (max-width: 867px) {
	.flex_column.av_one_full.flex_column_div {
		padding: 0px;
	}
	.responsive #top #wrap_all .flex_column {
		margin-bottom: 20px !important;
	}
	.avia-content-slider .slide-entry-wrap {
		margin-bottom: 0px;
	}
}

/* change  full button style */
#top .avia-button-fullwidth {
	padding: 10px;
}

body div .avia-button {
	line-height: 1;
}
#top .avia-button-fullwidth {
	margin: 5px 0;
	width: 210px;
}


.center_content a {
	margin: auto !important;
}

td {
	background-color: #ffffff;
	color: black;
	font-size: 0.8em !important;
	line-height: 16px;
}


/* 2024, add sbd-sponsors class to 2023 page */
.sbd-sponsors .slide-image {
	border-radius: 10px !important;
	padding: 10px 10px 10px 10px !important;
	min-height: 120px !important;
}
/* make sponsors not clickable */
.page-id-9012 .sbd-sponsors .slide-image {
	pointer-events: none;
}
/* except "more sponsors" and "main sponsors" */
#sbd24-more-sponsors .slide-image, #sbd24-main-sponsors .slide-image {
	pointer-events: auto;
}

.page-id-5648 .slide-content {
	display: none;
}

.page-id-5648 .slide-image {
  border-radius: 10px !important;
  padding: 10px 10px 10px 10px !important;
  min-height: 120px !important;
}


/* Registration */

.gform_legacy_markup_wrapper .gf_progressbar_percentage.percentbar_blue {
	background-color: #919191 !important;
}

.gform_legacy_markup_wrapper li.hidden_label input {
	margin-top: 2px !important;
}

.gform_legacy_markup_wrapper ul.gfield_checkbox li label {
	font-size: 1em !important;
	font-weight: bold !important;
}

.partnering_disclaimer {
	font-style: italic;
	font-size: 0.85em;
}

#payment_container {
	border: solid 1px;
	border-radius: 20px;
	padding: 10px 10px;
	margin: 0 72px;
	background-color: white;
}

#payment_container td {
	border: 0;
}

#companies2024 span {
	font-weight: bold;
	font-size: 24px;
}

/* attendees 2024, targets country column */
.sbd24attendees td:nth-child(2) {
	text-align: center;
	max-width: 60px;
}

/* targets the "member of Swiss Biotech Association" row of attendee tables of Attendees 2024 */
.sbd24attendees td:nth-child(3) {
	text-align: center;
	max-width: 45px;
}