/** ConfTool Custom CSS File **/

/** CSS variables for navbar colours **/
:root {
	--navbar-bg: #000;
	--navbar-bg-hover: #000;
	--navbar-text: #ffffff;
	--navbar-text-hover: #ffffff;
	--navbar-main-border: none;
	--navbar-border: #ffffff;
	--header-bg: transparent;
	--header-height: 190px;
}

/** Main Background **/
body {
	margin: 0; /**/
	padding: 0; /**/
    min-height: 100vh; /* stretch bg to full height of window. /**/
/*	background: #ffffff url(background.png) repeat-x; /**/
 	background: linear-gradient(180deg,
		var(--header-bg) 0px, 
		var(--header-bg) var(--header-height), 
		var(--navbar-bg) var(--header-height), 
		var(--navbar-bg) calc(var(--header-height) + 40px), 
		#ffffff calc(var(--header-height) + 40px), 
		#ffffff 100%) repeat-x, url(header-bg.png) no-repeat center top; /**/
	background-size: auto, 970px; /**/
	background-attachment: scroll, scroll; /**/
}

@media only screen and (min-width: 970px) {
	body {
		background-size: auto, 100%;  
	}
}/**/
/** Link Colors **/
	a:link, .link_button_logout {color: #CC9600;}
	a:visited {color: #886400;}
	a:active  {color: #000;}
	a:hover   {color: #000;}
/**/

/** Navigation Bars **/

.cthead_a, .link_button_logout, .navbar_item {color: var(--navbar-text) !important;}
.navbar { 
    background: var(--navbar-bg); border: 0; 
    width: 900px;
    color: var(--navbar-text);
}

.navbar_elements {
    background-image: linear-gradient(#FBBA00, #FBBA00); /* Always apply the image */
    background-position: left bottom; /* Start background from the left */
    background-repeat: no-repeat; /* Do not repeat the background image */
    background-size: 0% 2px; /* Initially set size to 0% width (hidden) and 2px height */
    transition: background-size 0.3s ease-in-out; /* Smooth transition on hover */
}

.navbar_elements_hover:hover {
	background-color: var(--navbar-bg-hover);
	background-image: linear-gradient(#FBBA00, #FBBA00);
	background-position: left bottom; /* Keep the background positioned at the left */
	background-repeat: no-repeat; /* Do not repeat the background image */
	background-size: 100% 2px; /* On hover, expand the background to full width */
}

.navbar_elements:hover .cthead_a, 
.navbar_elements:hover .link_button_logout, 
.navbar_elements:hover .navbar_item { 
    color: var(--navbar-text-hover); !important; /* Change text color on hover */
}

.navbar_elements, .navbar_elements_td { 
    border-right: 1px solid #ccc; 
}

.navbar_elements_right { 
    border-right: 0; 
    border-left: 1px solid #ccc; 
}

/** Effect must be defined separately for Navigation Bar Sessions **/
.navbar_sessions_table { margin: 0 !important; border-radius: 0 !important; padding: 0 !important; border: 1px solid var(--navbar-border) !important; width: 100%; }
.navbar_sessions_table .navbar_elements, .navbar_sessions_table .navbar_elements_td {border-right: 1px solid var(--navbar-border);}
.navbar_sessions_table .navbar_elements_right {border-left: 1px solid var(--navbar-border);}
.navbar_sessions {  }

.navbar_elements_td {padding-top: 1px !important; height: 29px !important; 
    background-color: var(--navbar-bg); 
    background-image: linear-gradient(#FBBA00, #FBBA00);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease-in-out; }
	
.navbar_elements_td:hover {margin-top: 0 !important; padding-top: 1px !important; border-bottom: none !important;
	background-color: var(--navbar-bg-hover);
	background-image: linear-gradient(#FBBA00, #FBBA00);
	background-position: left bottom; 
	background-repeat: no-repeat; 
	background-size: 100% 2px; }
	
#session_search_wrapper {margin-top: 1px; margin-right: 3px;} /* */

/* Define borders of admin navbar independently of main navbar */
.navbar_adminSessions { background: var(--navbar-bg); !important; margin: 0 !important; padding-top: 0 !important; border: 1px solid var(--navbar-border) !important; width: 100% !important; }
.navbar_adminSessions .cthead_a {color: var(--navbar-text);}
.navbar_adminSessions .navbar_elements, .navbar_adminSessions .navbar_elements_td { border-right: 1px solid var(--navbar-border); border-left: 0;}
.navbar_adminSessions .navbar_elements_right { border-left: 1px solid var(--navbar-border); }
.navbar_adminSessions td {padding-top: 5px !important; height: 29px !important;
    background-color: var(--navbar-bg); 
    background-image: linear-gradient(#FBBA00, #FBBA00);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease-in-out;  }
.navbar_adminSessions .navbar_elements_hover:hover {border-bottom: none !important;
	background-color: var(--navbar-bg-hover); !important;
	background-image: linear-gradient(#FBBA00, #FBBA00) !important;
	background-position: left bottom !important; 
	background-repeat: no-repeat !important; 
	background-size: 100% 2px !important;}
.navbar_adminSessions td:last-child { border-right: 1px solid var(--navbar-border);} /* */


/** Footer navigation bar /**/
/* .navbar_footer {
    border: 1px solid #d2d2d2;
    background: #fafafa;
    border-radius: 2px;
} /**/

/** Login Page **/
/*	.tbldialog {background: #fcfcfc;} /**/
/*	.td_dlg_title {background: #FBBA00;} /**/
/*	.td_dlg_title h3 {color: #ffffff;} /**/
/*	.login_main_div {width: 770px;} /* min 770px /**/

/* Image above login title /**/
/*.login_title {
	padding: 0 !important;
} /**/

/* .login_title_image, .login_title_image:before {
/*	content:url(bg-login.jpg); /**/
/*	width: 100%; /**/
/*	padding-bottom: 10px; /**/
/*	width: 250px; /**/ 
/*	margin: 15px 0 25px calc(50% - 125px); /**/
/*	} /**/

/* If you want to hide it on small screens /**/
/*	@media only screen and (max-width: 750px) {
	.login_title_image, 	
	.login_title_image:before {
	content: none}
} /**/

/** Colours for Lists and Details Pages. Please do NOT use Gray or Red. /**/

.oddrow {background-color: #fdfaf3;}
.evenrow {background-color: #f8f0db;}
.oddrow_highlight {background-color: #fefefe;}
.evenrow_highlight {background-color: #fefefe;}
/**/

/** Color of Form Separator /**/
/*	.form_td_separator_gradient, .infoview_sep {background: #104853;} /**/
/*	.form_separator_label {color: #ffffff;} /**/

/** Buttons: Please remember to change all background colour definitions. Please do NOT use gray or red. **/
 input.button, button.button, .smallbutton, .tinybutton, .fakeButton {
	color: #ffffff !important;
	background: #CC9600;
	border-color: #f8f8f8 #999999 #999999 #f8f8f8 !important;
	box-shadow: none!important;
} /* */

 input.button:hover, button.button:hover, .smallbutton:hover, .tinybutton:hover, .fakeButton:hover {
background: #000;
	box-shadow: none!important;
}
/** If you change the border above, also remember to change the border of the buttons below /**/
/* .button_clear, .waitbutton {
	border: 0;
	border-radius: 12px;
} /**/

/** Create an alternative GRAY cancel button if the normal button is not too colorful /**/
/* .button_cancel {
	background: #777 !important;
	background: linear-gradient(to bottom, #999 0%, #666 100%) !important;
} /**/


/** With of centered outer content area including the padding /**/
.main {width: 920px;} /* 900 + 10 + 10 (padding of #main_box) +2 auto padding of #below_siteheader */

/** Outer box for CSS border and padding. /**/
#main_box {
 /*	background: #ffffff; /**/
 /* background: none; /**/
 /* margin: 0; /**/
 padding: 0 10px 10px 10px;
 /* border: 1px solid #cccccc; /**/
 /* border-radius: 8px; /**/
 /* box-shadow: 0 1px 6px #999999; /**/
}

/* inner box, usually do not change this /**/
/* .main_elements {width: auto;} /**/

/* Inner area from #main_box w/o padding /**/
.mainbg {
	background: none;
}

/* below_siteheader: a box with all elements below the siteheader /**/
#below_siteheader {
/*	background: #ffffff; /**/
/*	padding: 0 10px 10px; /**/
/*	margin-left: -10px; /**/
}

/* Content area: All that belongs to the page without upper and lower navigation bars /**/
/* #inner_content {background: #ffffff;} /**/


/* Main div for siteheader */
#siteheader {
	height: var(--header-height); /**/
	display: flex;
	align-items: center; 
	background: none;
	width: 100%;
}
#siteheader #left {
	display: block; /* falls links kein Bild ist auf none stellen /**/
	width: 250px;
	padding-right: 20px;
	text-align: left;
}
#siteheader #left img {
	width: 250px;
}
#siteheader #center { /* der center-container nimmt den verfügbaren Platz ein /**/
	width: auto;
	flex-grow: 3;
	text-align: center;
	font-family: Roboto, Helvetica, sans-serif;
}
#siteheader #center .title {
	margin: 0 0 5px;
	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;    
}
#siteheader #center .title a {
	color: #ffffff;
text-shadow: #000 1px 0 5px;	
}
#siteheader #center .subtitle, #siteheader #center .subtitle a  {
	display: block;
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 400;
	color: #333333;
}
#siteheader #center .subtitle2, #siteheader #center .subtitle2 a {
	display: block;
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 400;
	color: #333333;
}
#siteheader #right {
	display: none; /* falls rechts kein Bild ist auf none stellen /**/
	width: 140px;
	padding-left: 20px;
	text-align: right;
}
#siteheader #right img{
	width: 140px;
}

/* Falls es nur ein headerbild gibt, siteheader-image.inc.php verwenden /**/
#siteheaderimage {
	height: var(--header-height); /**/
/*	text-align: center; /**/
}
#siteheaderimage img {
/*	width: auto; /**/
	max-width: 100%; /**/
/*	height: 150px; /**/
}

/* CSS for sitefooter /**/
#sitefooter {
/*	height: auto; /**/
/*	text-align: center; /**/
/*	margin-top: 20px; /**/
/*	padding-top: 10px; /**/
/*	border-top: 1px solid #d2d2d2; /**/
}
#sitefooter img {
/*	max-width: 60%; /**/
}
/* #sitefooter img:nth-of-type(2n) {
/*	margin-top: 20px; /**/
/*	padding-top: 10px; /**/
/* } /**/


/* Some experts settings, block can usually be deleted ---------------------------------------------- */

/* Highlight links on "submissions" page /**/
/* a.link_newpaper{text-decoration: underline;} /**/

/* Show Checkboxes of submission form (topics) in 2 columns /**/
/* @media screen and (min-width: 600px){
  form[name=submission] #submission_topics .form_checkboxes_div fieldset { or
  form[name=submission] #submission_topic_group_1 .form_checkboxes_div fieldset {
      column-count: 2;
}
} /**/

/* Booking text blocks of statements and invoices /**/
/* .bookings_eventtype {display: inline-block; padding-top: 4px;} /**/
/* .bookings_event {} /**/
/* .bookings_date {} /**/
/* .bookings_date_personal {} /**/
/* .bookings_location {} /**/
/* .bookings_info {color: #555555;} /**/
/* .bookings_stay {} /**/
/* .bookings_hint {} /**/

/** Colours for the registration form
#participate_eventtype3 tr td:first-child {border-left: 5px solid #6688ff;}
#participate_eventtype3 tr td {box-shadow: inset 0 0 5000px rgba(102,136,255,0.15);} /**/

/** Modify size of Logos for Invoice and Fax Statement /**/
/*
.invoice_logo{
  max-width: 640px;
  max-height: 80px;
}
/**/

