﻿@font-face {
	font-family: "OpenSans";
	src: url("../fonts/OpenSans.eot?#iefix");
	src: url("../fonts/OpenSans.eot?#iefix") format("eot"),url("../fonts/OpenSans.woff") format("woff"),url("../fonts/OpenSans.ttf") format("truetype");
}

body {
  font-family: OpenSans, Trebuchet MS;
  font-size: 11px;
  color: #333333;
  margin: 0px;
  background-image: url(../gfx/bodybg_checkered.png);
  background-repeat: repeat-x;
  background-color: #ffffff;
}

a, a:active, a:hover, a:visited {
	color: #242840;
}

.mainTable {
	background-color: #ffffff;
	width: 980px;
}
.topCell {
	height: 100px;
	border-bottom: solid 2px #666666;
	/*background-image: url(../gfx/searchbg.gif);
	background-repeat: repeat-x;
	background-color: #FBFD73;*/
	background-color: #ffffff;
}
.leftCell {
  width: 200px;
  vertical-align: top;
  background-color: #EDEDEF;
  background-image: url(../gfx/linkbox_bg_grey.png);
  background-repeat: repeat-x;
  color: #FFFFFF;
}
.mainCell {
	vertical-align: top;
}
.rightCell {
	vertical-align: top;
	width: 200px;
  background-color: #EDEDEF;
  background-image: url(../gfx/linkbox_bg_grey.png);
  background-repeat: repeat-x;
  color: #FFFFFF;
}
.bottomCell {
	text-align: center;
	height: 50px;
	border-bottom: solid 2px #666666;
}
.topshadow {
	height: 10px;
	font-size: 1px;
	background-image: url(../gfx/top_shadow.png);
	background-position:top;
	background-repeat: repeat-x;
}
.boxPad {
	padding: 5px 5px 5px 5px;
}

.List {
  width: 270px;
  min-height: 200px;
  display: block;
  border: solid 1px #aaaaaa;
}
.myItemsList {
	background-image: url(../gfx/myitems_bg.png);
	background-position: 238px 0px;
	background-repeat: no-repeat;
}
.shopList {
	background-image: url(../gfx/shoplist_bg.png);
	background-position: 238px 0px;
	background-repeat: no-repeat;
}

.itemSearch {
  width: 270px;
}

input {
  height: 20px;
  border: solid 1px #aaaaaa;
}
.boxInput {
	width: 150px;
	border: solid 1px #ffffff;
	background-color: #666666;
	color: #ffffff;
	height: 16px;
	font-size: 10px;
}

#mobWrapper input {
	height: 30px;
	font-size: 15px;
	border: solid 1px #555;
	padding-left: 5px;
	background: linear-gradient(to left,#eee,#aaa);
}

.shoppingHeadline {
	font-size: 18px;
	border-bottom: solid 2px #666666;
	padding-left: 3px;
}

.perItem, .curItem {
  height: 16px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0px 0px 0px 2px;
  cursor: pointer;
}

.perItem:hover {
  height: 16px;
  background-color: #eeeeee;
  background-image: url(../gfx/item_copy_bg.png);
  background-repeat: no-repeat;
  background-position: right;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0px 0px 0px 2px;
  cursor: pointer;
}

.curItem:hover {
  height: 16px;
  background-color: #eeeeee;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0px 0px 0px 2px;
  cursor: pointer;
}

.mobileItem {
	height: 30px;
	margin-bottom: 5px;
	padding: 1px 0 0 3px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	border: solid 1px #fff;
	background: linear-gradient(to left,#1a4ebf,#0e2b69);
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 1px 3px 6px #888;
	position: relative;
}
/*cannot transition as entire list is reloaded/repainted */

	.mobileItem[data-state="Bought"] {
		color: #777;
		border: solid 1px #ccc;
		background: linear-gradient(to left,#0e2b69,#091b43);
	}

	.mobileItem > .moveHandle {
		width: 20px;
		height: 24px;
		top: 1px;
		right: 0px;
		margin: 1px 2px 0 0;
		border: solid 1px #aaa;
		background-color: #fff;
		background-image: url(../gfx/drag_updown.svg);
		background-size: 16px 16px;
		background-repeat: no-repeat;
		background-position: center center;
		box-sizing: border-box;
		z-index: 2;
		position: absolute;
		touch-action: none;
		overscroll-behavior: none;
	}

.Item:hover {
  height: 16px;
  background-color: #ffffff;
  background-image: url(../gfx/item_delete_bg.png);
  background-repeat: no-repeat;
  background-position: right;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0px 0px 0px 2px;
  cursor: pointer;
}

.Item_draghover {
  height: 16px;
  background-color: #ffffff;
  border-top: solid 2px #ddeeff;
  border-bottom: solid 2px #ffffff;
  padding: 0px 0px 0px 2px;
}

.dragItem {
  border-left: solid 2px #444444;
  border-top: solid 2px #ffffff;
  border-bottom: solid 2px #ffffff;
  color: #000000;
  opacity: 0.5;
  filter: alpha(opacity=50);
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: hidden;
}

.perItemArrow {
	background-image:url(../gfx/permitemadd.png);
	background-repeat: no-repeat;
	background-position: 120px 1px;
	height: 32px;
}
.tempItemArrow {
	background-image:url(../gfx/tempitemadd.png);
	background-repeat: no-repeat;
	background-position: 100px 1px;
	height: 32px;
}

.contextmenu {
	z-index: 10;
  width: 185px;
  background-color: #ffffff;
  /*opacity: 0.9;
  filter: alpha(opacity=90);*/
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: hidden;
  border: solid 1px #aaaaaa;
}
.MenuHeadding {
	font-weight: bold;
	height: 18px;
	border-bottom: solid 1px #aaaaaa;
}
.menuLeft {
	width: 25px;
	font-size: 1px;
	background-image: url(../gfx/menu_leftbg.png);
	background-repeat: repeat-y;
	text-align: center;
}
.menuItem {
  background-color: #F0F0F0;
  cursor: pointer;
  height: 22px;
}
.menuItem:hover {
  /*background-image: url(../gfx/menu_hoverbg.png);*/
  background-color: #E3E7F8;
  cursor: pointer;
}
.menuSplit {
	height: 1px;
	font-size: 1px;
	background-color: #F0F0F0;
	border-bottom: solid 1px #aaaaaa;
}
.menuText {
	background-color: #F0F0F0;
}

.searchDiv {
	z-index: 2;
  width: 233px;
  background-color: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: hidden;
  border: solid 1px #aaa;
}
#mobWrapper .searchDiv {
	width: calc(100% - 20px);
	margin-left: 10px;
	box-sizing: border-box;
	border: none;
}

#mobWrapper #tblSearch td {
	height: 30px;
}
#mobWrapper .searchBoxHeader {
	background: linear-gradient(to left,#bf1a2d,#690e19);
	color: #fff;
	padding: 5px 2px;
}
	#mobWrapper .searchBoxHeader > div {
		width: 20px;
		height: 20px;
		background-image: url(../gfx/icon_close.svg);
		margin-right: 3px;
	}

#mobWrapper .searchOverflowdiv {
	border: solid 1px #aaa;
	border-top: none;
}

.searchOverflowdiv {
}
.searchBoxHeader {
	background-color: #E3E7F8;
	cursor: pointer;
	padding: 2px;
}
	.searchBoxHeader > div {
		width: 16px;
		height: 16px;
		background-image: url(../gfx/icon_close_black.svg);
		background-size: 80% 80%;
		background-position: center center;
		background-repeat: no-repeat;
		float: right;
	}

.searchButton {
	width: 80px;
	height: 24px;
	vertical-align: top;
}

.googlesearch {
	width: 300px;
	background-image: url(../gfx/google_search_bg.png);
	background-repeat: no-repeat;
	background-position: 0px 3px;
}
.googlesearch_h {
	width: 300px;
}
.googleResults {
	position: absolute;
	width: 980px;
	top: 118px;
	left: 50%;
	margin-left: -490px;
	z-index: 2;
	background-color: #ffffff;
	visibility: hidden;
}

.wikiSearch {
	width: 200px;
}
.wikiLang {
	width: 80px;
	height: 24px;
	vertical-align: top;
}

.Link {
	width: 190px;
	height: 28px;
	cursor: pointer;
	background-image: url(../gfx/linkbtn_grey24.png);
	background-repeat: no-repeat;
}
.LinkText {
	padding: 5px 0px 0px 6px;
	color: #ffffff;
}

.whiteLink, .whiteLink:visited, .whiteLink:active, .whiteLink:hover {
	color: #ffffff;
}

.newsDiv {
	margin-bottom: 5px;
	overflow: auto;
	overflow-x: hidden;
	color: #242840;
	/*
	scrollbar-face-color:#004A78;
	scrollbar-arrow-color:#FFFFFF;
	scrollbar-track-color:#1E6A91;
	scrollbar-shadow-color:#004A78;
	scrollbar-highlight-color:#004A78;
	scrollbar-3dlight-color:#0074BC;
	scrollbar-darkshadow-Color:#00385B;
	*/
}

.backgroundOverlay {
	width: 100%;
	height: 100%;
	background-color: #333333;
	z-index: 2;
  opacity: 0.7;
  filter: alpha(opacity=70);
  position: absolute;
  top: 0px;
  left: 0px;
}

.startInfo {
	width: 500px;
	height: 600px;
	background-color: #ffffff;
	border: 2px solid #333333;
	z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -250px;
  margin-top: -300px;
}

.helperBG {
	background-color: #333333;
	z-index: 2;
  opacity: 0.7;
  filter: alpha(opacity=70);
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: hidden;
}
.helperContent {
	background-color: #ffffdd;
	border: 2px solid #333333;
	z-index: 3;
  position: absolute;
  top: 0px;
  left: 0px;
  visibility: hidden;
  width: 300px;
  padding: 3px;
}

.MobileLinkDiv {
	width: 300px;
	height: 470px;
	background-color: #ffffff;
	border: 2px solid #333333;
	z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -150px;
  margin-top: -235px;
  padding-left: 10px;
  font-size: 13px;
  visibility: hidden;
}
