

.flexcontainer
{
	display: flex;
}

.nopadding
{
	padding: 0 !important;
}

.link_pointer
{
	cursor: pointer;
}

.nomargin_bottom
{
	margin-bottom: 0 !important;
}

.nomargin_top
{
	margin-top: 0 !important;
}

.padding1em
{
	padding: 1em;
}

.fig_with_border
{
	padding: 0.4em;
}

.margin_top_1em
{
	margin-top: 1em !important;
}

.margin_top_2em
{
	margin-top: 2em !important;
}


/* Custom adjustments on banner */
#banner article
{
	padding: 2rem; 
	padding-left: 0; 
	padding-right: 0; 
	background-image:url('../../images/blog_background_new2.jpg') !important;
}

#banner .inner
{
	height: 100%;
	max-height: 100%;
}

#banner .features
{       
	vertical-align: center;
	max-height: 100%; 
	height: 100%;
}

#banner .features div
{
	height: 100%; 
	vertical-align: middle; 
	padding: 2rem 0 2rem;
}

#banner .features div a
{
	display: inline-block; 
	height: 100%;
}

#banner #starimage
{
	display: inline-block; 
	height: 100%;
	max-width: 100%;
}


.margintop25rem
{
	margin-top: 2.5rem;
}



.post_list_item
{
	text-align: left;
/*	font-size: 1.0rem; */
}

.post_list_item .content
{
	overflow: hidden;
}


/*.MathJax_Display
{
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}
*/

/*
#content table tr
{
	background: none;
	border: 0px;
}

#content tr, #content td, #content tbody, #content thead, #content table
{
	border: 0px !important;
}

*/


.box
{
	background: #dbdff2 !important;
	border: 0px !important;
}

.box .box_hl
{
	color: #132a70 !important;
}




.article_link_headline
{
	margin-bottom: 0.5em; 
	font-weight: 400;
	color: #132a70;
}

.blog_category_list
{
	list-style: none;
	padding: 0;
	text-align: left;
}

.blog_category_list li
{
	display: inline;
	white-space: nowrap !important;
	padding-left: 0;
	padding-right: 0;
	line-height: 2.3em;
	
}

.pagination
{
	list-style: none;
	display: -ms-flexbox;

	display: flex;
	padding-left: 0;
	list-style: none;
	border-radius: .25rem;
}

.page-link
{
        position: relative;
        display: block;
        padding: .5rem .75rem;
        margin-left: -1px;
        line-height: 1.25;
	background-color: white;
	box-shadow: inset 0 0 0 1px #e0e0e0;
	color: #171717 !important;
	text-decoration: none;
}    

.page-item.active .page-link
{
	background-color: #132a70;
	color: #fff !important;
	z-index: 3;
}

.page-link:hover, .page-item a:hover
{
	background-color: rgba(55, 55, 55, 0.1);
}


.pagination .disabled a:hover
{
        background-color: #fff !important;
}



.article_link_headline a, .article_link_headline a:link, .article_link_headline a:visited, .article_link_headline a:hover
{
	text-decoration: none;
}

.image.fit
{
	margin-bottom: 1rem;
}




	.mini-posts .image.fit
	{
		width: 30%;
		min-width: 30%;
		height: auto !important;
	}



@media screen and (max-width: 736px) 
{
	#sidebar .mini-posts
	{
		width: 100%;
	}

	.mini-posts .image.fit
        {   
                width: 30%;
                max-width: 30%;
                height: auto !important;
        }   


}

.image.fit img
{
	object-fit: cover; 
	aspect-ratio: 16/11;
	height: 100%;
}

#sidebar .mini-posts .image.fit img
{
	aspect-ratio: 16/12;
	width: 100%;
	max-width: 100%;
}

#sidebar .mini-posts article .timestamp
{
	margin-top: 0.5rem;
}

#sidebar .mini-posts article
{
        align-items: flex-start;
}

#sidebar .mini-posts .image.fit
{
	margin-top: 5px;
	padding-left: 2px;
}

#sidebar .mini-posts
{
	padding-top: 0.5rem;
}


.tag-btn
{
	color: #fff !important;
        background-color: #132a70 !important;
        border: 1px solid #132a70 !important;
	text-decoration: none !important;
	padding: 0.1rem 0.6rem;
	border-radius: 0.2em;
	margin-right: 0.4em;
}

.tag-btn:hover
{
	background: #2b3f87 !important;
        border: 1px solid #2b3f87 !important;

	-webkit-transition: all .2s ease-in-out;
	-moz-transition:    all .2s ease-in-out;
	-o-transition:      all .2s ease-in-out;
	-ms-transition:     all .2s ease-in-out;
	transition: all 0.2s ease-in-out;
}





/* Figure counter */
body 
{
	counter-reset: figure;
}

.content-img
{
        text-align: center;
}

.content-img.bgfilled
{
	background-color: #dbdff2;

}

.content-img:not(.nocounter) figcaption::before, figure:not(.nocounter) .caption::before, .multi_caption::before
{
	counter-increment: figure;                 /* Increment the value of section counter by 1 */
	content: "Fig. " counter(figure) ": ";  /* Display counter value in default style (decimal) */
	font-weight: bold;
	margin-right: 0.1em;
}

.dummycounter
{
	counter-increment: figure;
}

.content-multifig
{
        display: flex;
	flex-wrap: wrap;
        gap: 1em;
	margin-top: 2em;
	margin-bottom: 2em;
}

.content-multifig figure
{
        text-align: left !important;
	margin-top: 0;
	margin-bottom: 0;
}

.content-table, .content-table_no_caption
{
	text-align: center;
	margin-top: 1.7em;
	margin-bottom: 1.7em;
}



.content-img
{
	margin-top: 1.7em;
	margin-bottom: 2em;
}

/*.print-fig figcaption::before
{
	counter-increment: none !important;
	content: "Fig. " counter(figure) ": ";  
        font-weight: bold;
        margin-right: 0.1em;
}
*/

.subfigures
{
        counter-reset: subfigure;
}

code
{
	border: 0px !important;
}


.subfigures .caption::before
{
	counter-increment: subfigure !important;
	content: "(" counter(subfigure, lower-alpha) ") " !important;
	font-weight: normal !important;
}



#content figure img
{
	max-width: 100%;
}

.subfigures
{
	width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
        gap: 1em;
	margin-bottom: 0.5em !important;
}

.subfigures_full
{
	width: 100%;
}

.subfigures_half
{
	width: calc(49.9% - 0.5em); /* 1em split on two elements -> 0.5em */
}

.subfigures_third
{
	width: calc(33.332% - 0.6667em); /* 2 x 1em gaps divided by three elments -> 0.06666em */
}

.subfigures_quarter
{
	width: calc(25% - 0.75em);
}

.subfigures figure
{
        margin-top: 0 !important;
        margin-bottom: 0em !important;
}



.subfigures img
{
	width: 100%;
	display: block;
}


figure.small caption, figure.small figcaption, figure.small .caption
{
	font-size: 87% !important;
}

figure.small, figure .small
{
	padding: 0;
	margin: 0;
}

.literature
{
	font-size: 87%;
}

figure a
{
	margin: 0;
	padding: 0;
}


.floatfig.left
{
	float:left; 
	margin-right: 1.6em;
	margin-bottom: 1rem !important;
}

.floatfig.right
{
	float: right;
	margin-left: 1.6em;
	margin-right: 0;
	margin-bottom: 1rem !important;
}


.floatfig figure
{
	margin: 0 !important;
}

@media screen and (max-width: 600px) 
{
	.floatfig
	{
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.floatfig figure
	{
		width: 100% !important;
		max-width: 100% !important;
	}
}



/*
#content ul {
  list-style: none; 
}

#content ul li::before {
  content: "\25CF"; 
  color: #132a70; 
  font-weight: bold;
  display: inline-block;
  width: 1.2em; 
  margin-left: -1em;
}
*/


/* Dropdown Content (Hidden by Default) */
#custom-search-results {
  display: none;
  position: absolute;
  
  background-color: #f1f1f1;
  min-width: 50vw;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 104;
  padding: 2em;
  background-color: #fff;
}

#custom-search-results ol
{
	margin: 0;
}

.search_dropdown
{
  position: relative;
  width: 100%;
  display: inline-block;
}

@media screen and (min-width: 801px) {
	#custom-search-results
	{
		right: 0;
	}
}

@media screen and (max-width: 801px) {

	.search_dropdown
	{
		position: static;
		
	}
}

.metadata_string
{
	color: #777;
	text-align: left !important;
}

.separator
{
	color: #000 !important;
}


.about_author img
{
	margin: 0;
	padding: 0;
	display: inline;
	height: 126px;
	/* max-width: 20vw; */
}

.about_author .author_img
{
	margin-bottom: 0;
	margin-right: 1.5em;
	border: 0;
	display: inline-block;
	padding-top: 0.3rem;
}

.about_author
{
	padding-left: 1.5em;
	padding-top: 1.2em !important;
	/*border-left: 2px solid #132a70 !important;*/
}

.about_author .author_columns
{
	display: flex;
	text-align: left;
}


.about_author .author_columns
{
	margin-top: 1em;
}

.about_author .author_columns:nth-of-type(1)
{
	margin-top: 0em;
}

.about_author p
{
	margin: 0 0 1em 0;
	display: block;
	overflow: hidden;
}

.author_pics
{
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}


.author_pics .col
{
	aspect-ratio: 0.736;
	flex: 25%;
	flex-grow: 0;
	flex-shrink: 0;
	padding-right: 20px;
	padding-bottom: 20px;
}

.author_pics .col img
{
	height: 100%;
	width: 100%;
	max-width: 100%;
	max-height: 100%;
}

.author_pics .col figcaption
{
	margin-bottom: 1em;
	text-align: left;
}

@media screen and (max-width: 600px) {

        .author_pics .col
	{
		flex: 50%;
	}

	.subfigures_half
	{
		width: 100%; /* 1em split on two elements -> 0.5em */
	}


        .about_author .author_columns
        {
                display: block;
        }

	.about_author p
	{
		overflow: clip;
	}

	.author_img
	{
		float: left;
	}


}



.post_list_miniature_img
{
	width: 100px; 
	height: 100px; 
	object-fit: cover;
}


.authorpic_figure
{
	flex-grow: 0; 
	flex-shrink: 0; 
	width: 200px !important; 
	max-width: 30% !important;
	padding: 0 1.5rem 2rem 0 !important;
	margin: 0 !important;
	top: 0 !important;
}

@media screen and (max-width: 600px) 
{

	.authorpic_right_wrap_div
	{
		width: 70%;
		max-width: 70%;
	}

}

.authorpic_figure figcaption
{
	margin-top: 0.5em;
}

.outreachcommitee_favicon
{
	border-left: 2px solid #424f74; 
	margin: 0 0 2rem 0; 
	padding: 0.5rem 0.5rem 0.5rem 1rem; 
	background-color: #eef0f5;
}

.outreachcommitee_favicon img
{
	height: 1.2em;
	vertical-align: middle;
	padding: 0;
	margin-bottom: 0.2em;
}

.posts_headline
{
	margin-bottom: 0.5em;
	font-size: 1.4rem;
}



.changedirection 
{
	unicode-bidi: bidi-override;
	direction: rtl;
	text-align:left;
}

.content_exercise, .content_license_text, .infotext
{
	/*border-left: 2px solid #132a70;*/
	margin: 0 0 2rem 0;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	background-color: #dbdff2;
}

.content_exercise::before
{
	color: #132a70;
	content: 'Exercise: ';
	font-weight: bold;
}

.infobox
{
        /*border-left: 2px solid #132a70;*/
        margin: 0 0 2rem 0;
        padding: 1.5rem 1.7rem 1.7rem 1.7rem;
        background-color: #dbdff2;
	clear: both;
}

.infobox > :last-child,
.infobox > :last-child > :last-child,
.infobox > :last-child > :last-child > :last-child
{
	margin-bottom: 0em !important;
}

.infobox h3
{
        display: inline !important;
        width: 100%;
        margin: 0;
}

.infobox > div
{
        margin-top: 1.2rem;
}


article figcaption
{
/*	font-size: 87%; */
	line-height: 1.5em;
	margin-top: 3px;
}

article figcaption, .content-img .caption 
{
	font-size: 90%;
}

.bgfilled  figcaption, .content-img.bgfilled .caption
{
	background-color: #dbdff2;
	font-size: 90%;
	padding: 0 1em 0.5em 1em;
}

.bgfilled.fig_with_border figcaption, .content-img.bgfilled.fig_with_border .caption
{
	padding: 0 0.6em 0.5em 0.6em;
}

figure.padding1em figcaption, figure.padding1em .caption
{
        padding: 0 !important;
}


.img_with_margin img
{
	padding: 1em 1em 0 1em;
}


.content_license_text::before, .infobox::before, .infosign::before
{
	content: '\f05a ';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: #132a70;
	padding-right: 7px;

}


#content, section
{
	hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
}

#search .content a:link, #search .content a:visited, #search .content a:active
{
	text-decoration: none;
/*	font-weight: 400; */
}

#search .content a:hover
{
	text-decoration: underline;
}

.span_gt
{
	color: #777;
}

.print-fig
{
	display: none !important;
}


@media print
{
        .squeeze_img
        {
                width: 100%;
		display: block !important;
                height: 450px;
                object-fit: cover;
        }

	.noprint
	{
		display: none !important;
	}

	.print-fig
	{
		display: block !important;
	}
}


.display_invisible
{
	display :none;
}

.getintouch
{
	min-width: 400px !important;
}

.btm_logo_container
{
	display: flex;
}

.btm_logo_img
{
	display: flex; 
	align-items: center;
}

.btm_logo_img img
{
	height: 6.5rem; 
	padding-right: 1rem;
}

.btm_logo_addr
{
	border-left: 1px solid gray;
	padding: 1rem;
}

.paginator-btm-container
{
	text-align: center !important;
}

.paginator-btm
{
	display: inline-block;
}

.tag_list
{
	text-align: left;
	line-height: 1.8;
}

.tag_list a
{
	white-space: nowrap;
	line-height: 2.3em;
}

.partner_icon
{
	width: 2.5rem;
	vertical-align: middle;
}

.partner_link
{
	vertical-align: middle;
}

.partner_link span
{
	margin-left: 0.5em;
}

mjx-container
{
	max-width: 100%;
	overflow: scroll;
}

@media (max-width: 600px) 
{



	mjx-container svg
	{
/*		transform: scale(0.65);*/
		transform-origin: left top;
	}
}


.nb_quot
{
	white-space:nowrap;
}

.valign_middle, .valign-middle
{
	vertical-align: middle;
}

.align_center, .align-center
{
	text-align: center;
}



.fw600
{
	font-weight: 600;
}




.smalltable
{
	width: 100%;
        max-width: 570px;
}

.smalltable td, .smalltable tr
{       
        padding: 0px 0px 0px 1em;
}

.darkbluetable td, .darkbluetable tr
{
	border: 0px solid #132a70;
	
}

.darkbluetable tr:nth-child(odd)
{
	background-color: #132a70 !important;
	color: #fff !important;
}

.darkbluetable tr:nth-child(even)
{
	background-color: #465492 !important;
        color: #fff !important;
}

.darkbluetable td strong
{
	color: #fff !important;
}


.darkbluetable_border_right
{
	border-right: 2px solid #dbdff2 !important;
}

.darkbluetable_border_top
{
	border-top: 2px solid #dbdff2 !important;
}

.darkbluetable
{
	border-collapse:collapse !important;
}





/* Slider Container */
.slider-container {
}

/* Slider Container */
.slider-container {
  /* Add any container-specific styles here */
}

/* Base Range Input Styles */
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 12px;
  background: transparent;
  outline: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s;
}

/* Disabled state styling */
input[type="range"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

/* Track Styling */
input[type="range"]::-webkit-slider-runnable-track { /* Keep for broader support */
  width: 100%;
  height: 12px;
  background: #eff2fb;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

input[type="range"]:disabled::-webkit-slider-runnable-track { /* Keep for broader support */
  background: #f5f5f5;
  box-shadow: none;
}

input[type="range"]::-moz-range-track { /* Keep for broader support */
  width: 100%;
  height: 12px;
  background: #eff2fb;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

input[type="range"]:disabled::-moz-range-track { /* Keep for broader support */
  background: #f5f5f5;
  box-shadow: none;
}

input[type="range"]::slider-runnable-track { /* Standard */
  width: 100%;
  height: 12px;
  background: #eff2fb;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

input[type="range"]:disabled::slider-runnable-track { /* Standard */
  background: #f5f5f5;
  box-shadow: none;
}

/* Thumb Styling */
input[type="range"]::-webkit-slider-thumb { /* Keep for broader support */
  appearance: none; /* Ensure consistency */
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  border: 3px solid #8a92b9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-top: -8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
}

input[type="range"]:disabled::-webkit-slider-thumb { /* Keep for broader support */
  border-color: #cccccc;
  background: #f0f0f0;
  box-shadow: none;
  transform: scale(1);
}

input[type="range"]::-moz-range-thumb { /* Keep for broader support */
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  border: 3px solid #8a92b9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"]:disabled::-moz-range-thumb { /* Keep for broader support */
  border-color: #cccccc;
  background: #f0f0f0;
  box-shadow: none;
  transform: scale(1);
}

input[type="range"]::slider-thumb { /* Standard */
  appearance: none; /* Ensure consistency */
  width: 24px; /* Adjust if needed for consistency */
  height: 24px; /* Adjust if needed for consistency */
  background: white;
  border-radius: 50%;
  border: 3px solid #8a92b9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-top: -8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
}

input[type="range"]:disabled::slider-thumb { /* Standard */
  border-color: #cccccc;
  background: #f0f0f0;
  box-shadow: none;
  transform: scale(1);
}

/* Focus/Active States */
input[type="range"]:focus::-webkit-slider-thumb { /* Keep for broader support */
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

input[type="range"]:active::-webkit-slider-thumb { /* Keep for broader support */
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(74, 144, 226, 0.2);
}

input[type="range"]:focus::slider-thumb { /* Standard */
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

input[type="range"]:active::slider-thumb { /* Standard */
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(74, 144, 226, 0.2);
}

/* Hover Effects */
input[type="range"]::-webkit-slider-thumb:hover { /* Keep for broader support */
  transform: scale(1.05);
}

input[type="range"]::-moz-range-thumb:hover { /* Keep for broader support */
  transform: scale(1.05);
}

input[type="range"]::slider-thumb:hover { /* Standard */
  transform: scale(1.05);
}

/* Track Hover Effect */
input[type="range"]:hover::-webkit-slider-runnable-track { /* Keep for broader support */
  background: #e0e7ff;
}

input[type="range"]:hover::slider-runnable-track { /* Standard */
  background: #e0e7ff;
}

/* Disabled state overrides */
input[type="range"]:disabled:hover::-webkit-slider-runnable-track, /* Keep for broader support */
input[type="range"]:disabled:focus::-webkit-slider-thumb, /* Keep for broader support */
input[type="range"]:disabled:active::-webkit-slider-thumb { /* Keep for broader support */
  background: #f5f5f5;
  box-shadow: none;
  transform: none;
}

input[type="range"]:disabled:hover::slider-runnable-track, /* Standard */
input[type="range"]:disabled:focus::slider-thumb, /* Standard */
input[type="range"]:disabled:active::slider-thumb { /* Standard */
  background: #f5f5f5;
  box-shadow: none;
  transform: none;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  input[type="range"] {
    height: 10px;
  }

  input[type="range"]::-webkit-slider-thumb { /* Keep for broader support */
    width: 24px;
    height: 24px;
  }

  input[type="range"]::slider-thumb { /* Standard */
    width: 24px;
    height: 24px;
  }
}

.image-wrapper {
  position: relative;
  width: 100%;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  pointer-events: none;
}

.loading-overlay.hidden {
  display: none;
}
