* {
	font-family: 'Libre Baskerville'; font-size: 14px; letter-spacing: 1px;
	margin:0;
  padding:0;
	-webkit-text-size-adjust:none;
	-ms-text-size-adjust:none;
	-moz-text-size-adjust:none;
	text-size-adjust:none;
}
html {
	scroll-behavior: smooth;
}
body {
	overflow-x: hidden;
}

.round_button {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50%;
  background-color: #AAA;
  color: #000;
}

.round_button:hover {
  text-decoration: none;
  background-color: #ddd;
  color: black;
}

.round_button_disabled {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50%;
  background-color: #555;
  color: #000;
}

.round_button_disabled:hover {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50%;
  background-color: #555;
  color: #000;
}

.rating {
	float:left;
	display: inline-block;
	vertical-align: middle;
}
.rating span { float:right; position:relative; }
.rating span input {
	position:absolute;
	top:0px;
	left:0px;
	opacity:0;
}
.rating span label {
	display:inline-block;
	width:32px;
	height:32px;
	text-align:center;
	font-size:32px;
	margin-right:2px;
	line-height:32px;
	transition-duration: 300ms;
	background-image: url(./assets/images/star_n.png);
	
}
.rating span:hover ~ span label,
.rating span:hover label,
.rating span.checked label,
.rating span.checked ~ span label {
	transition-duration: 300ms;
	background-image: url(./assets/images/star_y.png);
}

.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 25px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

.imgshadow {
		box-shadow: 0 0 25px #000;
		background-color: #FFFFFF;
}

.flag_img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.flag_txt {
  transition: .5s ease;
  opacity: 0;
  position: relative;
  bottom: 130px;
  text-align: center;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

.flag_container:hover .flag_img {
  opacity: 0.3;
}

.flag_container:hover .flag_txt {
  opacity: 1;
}

.cr {
		background-color: #F00;
}
.cdb {
		background-color: #00F;
		color: #FFF;
}
.clb {
		background-color: #4BF;
}
.cp {
		background-color: #C0C;
		color: #FFF;
}
.co {
		background-color: #F80;
}
.cy {
		background-color: #FF0;
}
.cg {
		background-color: #0F0;
}
.cw {
		background-color: #FFF;
}

.clr {
		background-color: #F66;
}
.cldb {
		background-color: #66F;
}
.cllb {
		background-color: #7DF;
}
.clp {
		background-color: #F6F;
}
.clo {
		background-color: #F86;
}
.cly {
		background-color: #FF6;
}
.clg {
		background-color: #6F6;
}
.clw {
		background-color: #FFF;
}

.btt {
		border-top-width: 2px;
}

cdb{
	color: #00F;
}
cp{
	color: #C0C;
}

td {
    border: 1px solid black;
		border-right-width: 2px;
		border-collapse: collapse;
		padding: 5px;
		text-align: center;
}
table,th {
    border: 2px solid black;
		border-collapse: collapse;
		padding: 8px;
		text-align: center;
		font-size: 16px;
}
.lineless {
    border: none;
		border-collapse: collapse;
		padding: 0px;
		text-align: left;
		font-size: 16px;
}
a {
  color: #36B;
  text-decoration: none;
}
a:hover {
  color: #36B;
  text-decoration: underline;
}
progress {
	display:inline-block;
	width:190px;
	height:20px;
	padding:15px 0 0 0;
	margin:0;
	background:none;
	border: 0;
	border-radius: 15px;
	text-align: left;
	position:relative;
}
progress:after {
	margin:-26px 0 0 -7px;
	padding:0;
	display:inline-block;
	float:left;
}
video {
    width: 100%;
    height: auto;
}
.blog_post {
		background-color: #CCCCCC;
		float: left;
		width:800px;		
		margin-left: 100px;
		margin-right: 100px;
		margin-top: 50px;
		box-shadow: 0 0 25px #000;
		border-radius: 25px;
		padding-bottom: 40px;
		padding-top: 20px;
		
		transition: height 500ms;
		overflow: hidden;
}
.blog_post:not(:hover) {
		height: 44px !important;
		transition: height 500ms;
		overflow: hidden;
}

.imghover {
	padding-top: 5px;
	opacity: 1;
	transition: opacity 500ms;
}
.imghover:hover {
	padding-top: 5px;
	opacity: 0.5;
	transition: opacity 500ms;
}
.gifshadow {
		width: 800px;
		box-shadow: 0 0 25px #000;
		-webkit-transition: width 500ms;
		-moz-transition: width 500ms;
		transition: width 500ms;
		background-color: #FFFFFF;
}

.gifshadow:hover {
		width: 100%;
		background-color: #FFFFFF;
}

.gifshadow2 {
		width: 320px;
		box-shadow: 0 0 25px #000;
		-webkit-transition: width 500ms;
		-moz-transition: width 500ms;
		transition: width 500ms;
		background-color: #F0E0E0;
}

.gifshadow2:hover {
		width: 100%;		
		background-color: #F0E0E0;
}

.gifshadow3 {
		width: 600px;
		box-shadow: 0 0 25px #000;
		-webkit-transition: width 500ms;
		-moz-transition: width 500ms;
		transition: width 500ms;
		background-color: #FFFFFF;
}

.gifshadow3:hover {
		width: 100%;
		background-color: #FFFFFF;
}

.p1 {
		width: 440px;
}
.ul1 {
		width: 440px;
		margin-left:0;		
		list-style-position: outside;
		padding-left: 60px;
		line-height: 28px;;
}
.ul2 {
		width: 900px;
		margin-left:0;		
		list-style-position: outside;
		padding-left: 60px;
		line-height: 28px;;
}
.ul3 {
		float: left;
		margin-left:0;		
		list-style-position: outside;
		padding-left: 60px;
		padding-right: 20px;
		line-height: 28px;;
}
.ul3 li > ul {
		padding-left: 30px;
}
.ul4 {
		float: left;
		margin-left:0;		
		list-style-position: outside;
		padding-left: 60px;
		padding-right: 20px;
		line-height: 28px;
		width:100%;
}

p {
		padding-left: 40px;		
		padding-right: 40px;	
		line-height: 28px;
		
}
h1,.h1 {
    padding-top: 40px;
		padding-left: 40px;
		padding-right: 40px;
		padding-bottom: 10px;
		font-size: 22px;
		font-weight: normal;
		letter-spacing: 3px;
}
h2 {
    padding-top: 80px;
		padding-bottom: 30px;
		padding-left: 40px;
		padding-right: 40px;
		font-size: 28px;
		font-weight: bold;
		letter-spacing: 3px;
}
h3 {
    padding-top: 40px;
		padding-left: 40px;
		padding-right: 40px;
		padding-bottom: 10px;
		font-size: 24px;
		font-weight: bold;
		letter-spacing: 3px;
}
h4 {
    padding-top: 5px;
		padding-left: 40px;
		padding-right: 40px;
		padding-bottom: 10px;
		font-size: 16px;
		font-weight: bold;
		letter-spacing: 3px;
}
.button{
	width:400px;
	padding:10px;
}

#container {
    width: 1000px;
    margin: 0 auto;	
		background-color: #000000;
}
#header {
		background-color: #000000;
		color: #FFFFFF;
		text-align: center;		
		width:100%;		
		top:0;
		left:0;
}
#notice {
	width: 1000px;
	margin: auto;
	text-align: center;
	background-color:#EE0000;
	color:#FFFFFF;
	padding-top: 8px;
	padding-bottom: 8px;
}

.code_block {
	font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}
/* ---- Inline code (use the <code> tag anywhere for consistent formatting) ---- */
code {
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 1em;
	background: #d9d9d9;
	border: 1px solid #bfbfbf;
	padding: 1px 5px;
	border-radius: 3px;
}
/* ---- Code block (reusable, e.g. skin.xml examples) ---- */
.em-code-wrap {
	margin: 8px 40px 0 40px;
	border: 1.5px solid #d0d7de;
	overflow: hidden;
}
.em-code-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #2d333b;
	color: #8b949e;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1.5px;
	font-family: Consolas, Monaco, 'Courier New', monospace;
	padding: 8px 16px;
}
.em-code-toggle {
	background: none;
	border: none;
	color: #8b949e;
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
	transition: color 200ms;
}
.em-code-toggle:hover { color: #ffffff; }
pre.em-code-body {
	background: #f6f8fa;
	margin: 0;
	padding: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 12.5px;
	line-height: 20px;
	white-space: pre;
	border: none !important;
	box-shadow: none !important;
	transition: max-height 0.35s ease, padding 0.35s ease;
}
/* Prettify wraps tokens in spans; the global * rule would otherwise reset their font */
pre.em-code-body * {
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 12.5px;
}
.em-code-wrap.collapsed pre.em-code-body {
	padding-top: 0;
	padding-bottom: 0;
}
/* GitHub-style syntax highlighting overrides for prettify */
pre.em-code-body .tag { color: #22863a; }
pre.em-code-body .atn { color: #005cc5; }
pre.em-code-body .atv { color: #032f62; }
pre.em-code-body .pun { color: #24292e; }
pre.em-code-body .pln { color: #24292e; }
pre.em-code-body .dec { color: #6f42c1; }
pre.em-code-body .com { color: #6a737d; font-style: italic; }

/* ---- Order confirmation page (order_complete_page.pl / template_message.html) ---- */
.em-order-table {
	width: 100%;
	max-width: 560px;
	margin: 20px auto 0;
	background: #FFFFFF;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	border-collapse: collapse;
}
.em-order-table th,
.em-order-table td {
	border: 1px solid #DADADA;
	padding: 10px 14px;
	font-size: 14px;
}
.em-order-table th {
	background: #2d333b;
	color: #FFFFFF;
	text-align: right;
	white-space: nowrap;
	width: 150px;
	letter-spacing: 0.5px;
}
.em-order-table td {
	text-align: left;
}
.em-order-note {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	letter-spacing: 0;
	color: #777777;
	font-weight: normal;
}

#column {
    float: left;
    width: 500px;
}
#column3 {
    float: left;
    width: 333px;
}
#column_full {
    float: left;
    width: 1000px;
}
#content {
    float: left;
    width: 1000px;
		background-color: #E8E8E8;
		box-shadow: 0px 25px 50px;
		padding-bottom: 20px;
		min-height: 900px;
}
/* Clearfix - lets #content auto-size to its floated .column children instead of needing a hardcoded inline height */
#content::after {
	content: "";
	display: table;
	clear: both;
}
#footer {
		background-color: #000000;
		color: #FFFFFF;
		text-align: center;
		float: left;
		width:100%;
		position: relative;
		bottom:0;
		left:0;
		padding:20px;
}
#all {
    clear: both;
		background-color: #E8E8E8;
		margin:0;
		padding:0;
}

/* ---- EMSpy (PC app) menu/path reference ---- */
.em-path-ref {
	font-family: 'Courier New', Courier, monospace;
	font-size: 1em;
	font-weight: bold;
	color: #ffffff;
	background: #444444;
	border-radius: 3px;
	padding: 2px 10px;
	white-space: nowrap;
}
.em-path-ref a { font-family: inherit; font-size: inherit; color: inherit; }
/* ---- Device (OLED) menu/path reference ---- */
.dev-path-ref {
	font-family: 'Courier New', Courier, monospace;
	font-size: 1em;
	font-weight: bold;
	color: #32c8ff;
	background: #111111;
	border-radius: 3px;
	padding: 2px 10px;
	white-space: nowrap;
}
.dev-path-ref a { font-family: inherit; font-size: inherit; color: inherit; }
.dev-path-ref .path-sep { color: #ffdc00; }
/* ---- Variant notes ---- */
.vnote {
	margin: 20px 40px 8px 40px;
	padding: 8px 14px;
	border-left: 4px solid #CCC;
	background: #DFDFDF;
	font-size: 13px;
	line-height: 22px;
	transition: opacity 0.25s;
}
.vnote-wii { border-color: #9b59b6; }
.vnote-n64 { border-color: #c0392b; }
.vnote-gc  { border-color: #2471a3; }
.vnote-wiimote { border-color: #28b463; }
.vnote-important { border-color: #d98a00; background: #fdf4e3; }
/* Split bar for notes that apply to two adapter types (half / half) */
.vnote-n64-gc, .vnote-wii-gc, .vnote-wii-wiimote {
	border-left-color: transparent;
	background-repeat: no-repeat;
	background-size: 4px 100%;
	background-position: left top;
	background-origin: border-box;
}
.vnote-n64-gc { background-image: linear-gradient(to bottom, #c0392b 50%, #2471a3 50%); }
.vnote-wii-gc { background-image: linear-gradient(to bottom, #9b59b6 50%, #2471a3 50%); }
.vnote-wii-wiimote { background-image: linear-gradient(to bottom, #9b59b6 50%, #28b463 50%); }
.vnote.vn-na, li.vn-na, tr.vn-na { opacity: 0.3; pointer-events: none; }

/* ---- Compatibility box (adapter pages: input controllers vs output consoles, port-tagged) ---- */
.compat-box {
	margin: 20px 40px 8px 40px;
	background: #FFFFFF;
	border: 1px solid #BBBBBB;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.compat-box-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #3a3a3a;
	color: #FFFFFF;
	padding: 9px 20px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 3px;
	text-transform: uppercase;
	cursor: pointer;
}
.compat-grid {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	transition: max-height 0.35s ease;
}
.compat-box.collapsed .compat-grid {
	max-height: 0;
}
.compat-box-title-right {
	display: flex;
	align-items: center;
	gap: 12px;
}
.compat-col {
	flex: 1 1 300px;
	padding: 16px 24px 20px 24px;
}
.compat-col + .compat-col {
	border-left: 1px solid #DDDDDD;
}
.compat-col h4 {
	padding: 0 0 8px 0;
	margin: 0;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1.5px;
	color: #555555;
	text-transform: uppercase;
}
.compat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.compat-list li {
	display: flex;
	align-items: center;
	padding: 6px 0;
	font-size: 14px;
	line-height: 20px;
	border-bottom: 1px solid #EEEEEE;
}
.compat-list li:last-child { border-bottom: none; }
.compat-tag {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #FFFFFF;
	border-radius: 2px;
	padding: 3px 0;
	margin-right: 10px;
}
.compat-tag-gc  { background: #1a5276; }
.compat-tag-n64 { background: #a93226; }
.compat-tag-wii { background: #7d3c98; }
.compat-tag-all { background: #7a7a7a; }

/* ---- Info tooltip icon (hover / focus "?" popup) ---- */
.def-info {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: 14px;
	width: 18px;
	height: 18px;
	color: #aaaaaa;
	cursor: help;
	outline: none;
}
.def-info:hover, .def-info:focus { color: #ffffff; }
.def-info svg { display: block; width: 18px; height: 18px; }
.def-popup {
	position: absolute;
	bottom: calc(100% + 9px);
	right: -4px;
	z-index: 400;
	min-width: 200px;
	max-width: 320px;
	padding: 10px 13px 12px;
	background: #ffffff;
	border: 1px solid #b9b9b9;
	border-radius: 6px;
	box-shadow: 0 5px 18px rgba(0,0,0,0.20);
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	font-weight: normal;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.def-info:hover .def-popup, .def-info:focus .def-popup, .def-info:focus-within .def-popup {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.def-popup::before {
	content: "";
	position: absolute;
	bottom: -6px;
	right: 6px;
	width: 10px;
	height: 10px;
	background: #ffffff;
	border-right: 1px solid #b9b9b9;
	border-bottom: 1px solid #b9b9b9;
	transform: rotate(45deg);
}
.def-popup-title {
	display: block;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 6px;
	white-space: nowrap;
}
.def-popup-body {
	display: block;
	font-size: 12px;
	font-weight: normal;
	color: #444;
	line-height: 18px;
	white-space: normal;
}
.def-popup-body a { font-size: inherit; }
.def-popup-body p {
	padding-left: 0;
	padding-right: 0;
	margin: 0;
	line-height: inherit;
}
.def-popup-body p + p {
	margin-top: 10px;
}

#paypal-button-container {
	width: 600px;
}
/* ---- Product price ----
   The number itself is stamped in by build_prices.py from PRICES in
   order_settings.js - do not edit the figure in the HTML by hand.
   Sits above the buy button on each product page. styles.css opens with
   a "* { font-size: 14px }" rule that matches elements directly, so the
   span re-states its size rather than inheriting it. */
.product-price {
	padding: 0 0 14px 0;
	font-size: 15px;
	letter-spacing: 1px;
	color: #333333;
}
.product-price span[data-price] {
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #000000;
}

/* ---- Combination page price ----
   Pinned into the top-right corner of the adapter diagram, which is why
   .adapter-diagram-wrap is position:relative. It sits in the WRAP rather than
   inside .adapter-diagram, because the diagram's JS clears that element - so
   this price stays in the static HTML where search engines read it without
   running any JavaScript. The figure is stamped by build_prices.py from
   PRICES in order_settings.js - do not edit it in the HTML by hand. */
.combo_price {
	position: absolute;
	top: 14px;
	right: 20px;
	z-index: 5;
	font-size: 16px;
	letter-spacing: 1px;
	color: #222222;
}
.combo_price span[data-price] {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #222222;
}
