@charset "utf-8";

 :root
{
	--nav-bar-height: 70px;
	--primary-color: #bbbbbb;
	--bg-color: 0, 0, 0;
	--heading-color: #292922;
	--input-color: white;
	--input-bg-color: #666666;
	--link-color: lightblue;
	--link-visited-color: #9999ff;
	--cancelled-color: #555555;
	--shadow-color: gray;
}

[data-theme="light"]
{
	--primary-color: #002b36;
	--bg-color: 238, 232, 213;
	--heading-color: #073642;
	--input-color: #073642;
	--input-bg-color: #fdf6e3;
	--link-color: #268bd2;
	--link-visited-color: #6c71c4;
	--cancelled-color: #657b83;
	--shadow-color: #002b36;
}

html, body
{
	scroll-padding-top: var(--nav-bar-height);
	padding: 0px;
	margin: 3rem 0px 0px 0px;
	text-align: left;
	font-size: 1.0em;
	background: rgba(var(--bg-color));
	color: var(--primary-color);
}

a, button
{
	text-decoration:  none;
	color: var(--link-color);
}
a:visited
{
	color: var(--link-visited-color);
}

/* Make buttons look like links */
button {
	align-items: normal;
	background-color: rgba(0,0,0,0);
	border-style: none;
	box-sizing: content-box;
	cursor: pointer;
	display: inline;
	font: inherit;
	height: auto;
	padding: 0;
	perspective-origin: 0 0;
	text-align: start;
	transform-origin: 0 0;
	width: auto;
	-moz-appearance: none;
	-webkit-logical-height: 1em; /* Chrome ignores auto, so we have to use this hack to set the correct height  */
	-webkit-logical-width: auto; /* Chrome ignores auto, but here for completeness */
  }
  
  /* Mozilla uses a pseudo-element to show focus on buttons, */
  /* but anchors are highlighted via the focus pseudo-class. */
  
  @supports (-moz-appearance:none) { /* Mozilla-only */
	button::-moz-focus-inner { /* reset any predefined properties */ 
	  border: none;
	  padding: 0;
	}
	button:focus { /* add outline to focus pseudo-class */
	  outline-style: dotted;
	  outline-width: 1px;
	}
  }

.navi
{
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--nav-bar-height);
	padding-left: 1rem;
	padding-right: 1rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	z-index: 10;
	background-color: rgba(var(--bg-color), 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0px -2px 10px 1px var(--shadow-color);
}

/* Approximate backdrop-filter support in Firefox with a higher background-color
   opacity. Firefox supports backdrop-filter since v70 but it is disabled by
   default. Remove this section when support is enabled by default. */
@-moz-document url-prefix()
{
	.navi
	{
		background-color: rgba(var(--bg-color), 0.85);
	}
}

.navi.signedout
{
	justify-content: flex-end;
}

.navi_item
{
	height: var(--nav-bar-height);
	line-height: var(--nav-bar-height);
	min-height: 1em;
	min-width: 2em;
	text-align: center;
}

.forgot_password
{
	position: absolute;
	right: 1%;
	font-size: 1rem;
}

table
{
	border-spacing: 0px;
	margin: 10px 10px;
}

td, th
{
	vertical-align: top;
}

th.account_label
{
	vertical-align: middle;
	width: 15rem;
}

.link_chain
{
font-size: 1.4em;
font-weight: normal;
max-width: 90%;
}


pre {
	width: 90%;
	overflow-x: auto;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
 }

 .view_image
 {
	max-width: 90%;
	min-width: 600px;
 }

 .view_image_container
 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px;
	min-width: 600px;
	min-height: 600px;
 }

 .view_image_navigation_overlay_link_left
 {
	position: absolute;
	display: inline-block;
	z-index: 1;
	top: 0;
	left: 0;
	right: 50%;
	height: 100%;
 }

 .view_image_navigation_overlay_link_right
 {
	position: absolute;
	display: inline-block;
	z-index: 1;
	top: 0;
	right: 0;
	left: 50%;
	height: 100%;
 }

 .view_image_navigation_overlay_arrows
 {
	z-index: 2;
	margin: 20px;
 }

 .thumbnail_img
 {
	 width: 100%;
 }

.photo_list_object
{
	position: relative;
	float:left;
	border: gray ridge 5px;
	width: 353px;
	height: 461px;
	overflow: hidden;
}

.photo_list_object .thumbnail_img
{
	width: 311px;
	height: 311px;
}

.photo_list_object .photo_owner, .photo_list_object .photo_time
{
	white-space: nowrap;
}

.photo_comment_balloon
{
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
	text-shadow: -2px 4px 8px var(--shadow-color);
}

 .post_textcontent
 {
	width: 90%;
	height: 6em;
 }

.event_participation_guests
{
	width: 2em;
}

.event_card_container
{
	margin: 0.25rem 0.25rem 0.25rem 0.25rem;
	padding: 0.8rem 0.8rem 0.8rem 0.8rem;
	border-radius: 5px;
	box-shadow: 0px 1px 5px 1px var(--shadow-color);
}

.event_card_container:hover
{
	box-shadow: 0px 2px 10px 2px var(--shadow-color);
}

.event_card_container h2 {
	font-size: 1.33em;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.event_card_container p
{
	margin-top: 0.1rem;
	margin-bottom: 0.1rem;
	/* Inside cards only the event title <h2> should look like a link, i.e. make <p>s look like regular text */
	color: var(--primary-color);
}

fieldset
{
	border: none;
	margin: 0px;
	padding: 0px;
}

 input[type=submit], input[type=button]
 {
	 min-width: 8em;
	 min-height: 1.8em;
 }

 input, textarea, select
 {
	 background: var(--input-bg-color);
	 color: var(--input-color);
	 font-size: 1.4em;
 }

.password_input_container
{
	display: inline-block;
	position: relative;
}

/* 🙈🙊 */
.password_visibility_toggle
{
	position: absolute;
	top: 50%;
	margin-top: -0.6em;
	right: 1%;
	/* Make the toggle not selectable */
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.password_custom_field
{
	/* one letter padding on the right would ensure that password content doesn't overlap with 🙈🙊 but it changes the width of the input area */
	padding-right: 0em;
}

input[type=checkbox].email_subscription
{
	min-width:  1rem;
	min-height: 1rem;
}

span.email_subscription_pending
{
	font-style: italic;
}

.status_cancelled, .status_cancelled *
{
	text-decoration: line-through !important;
	color: var(--cancelled-color) !important;

}

.market_runners_table
{
	border: solid 1px white;
}
.attention
{
	color: red;
}

.nowrap
{
	white-space: nowrap;
}

.analytics_table td
{
	border: solid 1px #666666;
	padding-left: 6px;
	padding-right: 6px;
}

.winning * {
	background: #005500;
}

.losing * {
	background: #550000;
}

.even * {
	background: #000055;
}

.competition-filters-box {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid var(--primary-color);
}

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

}
