
*:focus {
	outline: none;
}


#checkout_info {
	float: right;
	padding-right: 50px;
	display:none;
	font-size:20px;
}

#checkout_info td {
	padding:5px;
	text-align:right;
}

#checkout_info #checkout_table input:not([type='button']), #checkout_info #checkout_table select {
	width:250px;
}

body{
	text-align:center;
	display:flex;
	flex-direction:column;
	min-height:100vh;
	padding:0px;
	margin:0px;
}
#main_wrapper{
  flex:1;
}

#cart_icon {
	cursor:pointer;
	height:35px;
	vertical-align: middle;
	width:25px;
	padding-right:5px;
}
#language_dropdown_button {
	width:10px;
}
#lang_choice {
	font-size:18px;
	text-transform: uppercase;
}

#language_dropdown_button {
	width:10px;
}
#language_dropdown {
	z-index: 2;
	position:absolute;
	width:100px;
	height:75px;
	border:1px solid darkgrey;
	line-height: 20px;
	font-size: 14px;
	background-color:white;
/*	bottom: -20px;*/
	right: 0px;
	padding: 0px 15px 0px  0px;
	display:none;
}
#language_dropdown_ul {
	list-style-type:none;
	padding: 0px;
	line-height: 20px;
	font-size: 14px;
}

#language_dropdown_ul > li {
	height: 20px;
	padding: 3px 15px 3px  0px;
	width:100%;
	line-height: 20px;
	cursor:pointer;
}
#language_dropdown_ul > li:hover {
	background-color:lightgrey;
	color:black;
}

#language_dropdown a {
	text-decoration:none;
	color:black;
}
.asterisk {
	color:red;
}

#logo {
	cursor:pointer;
	vertical-align:top;
	height:88px;
	padding:0px;
	margin:0px;
}
#logo:hover {
	opacity:0.7;
}
	#header {
		background: white;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		padding:20px;
		border-bottom: 1px solid darkgrey;
		box-shadow: 1px 0px 5px lightgrey;
	}

	#header > div {
		vertical-align:middle;
	}

	#books_series_flexwrapper, #ebooks_flexwrapper {
		display: flex;
		flex-wrap: nowrap;
		align-items: top;
		justify-content: space-between;
	}
	#books_series_flexwrapper > span, #ebooks_flexwrapper > span {
		flex-basis: 100%;
		text-align:center;
		vertical-align:middle;
	}


	#books_series span, #ebooks span {
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		font-weight: 200;
		text-transform: uppercase;
		cursor:pointer;
		padding:20px 0px;
	}
	#books_series span a, #ebooks span a {
		color:black;
		text-decoration:none;
	}
	#books_series ul li a:hover, #ebooks ul li a:hover {
		color:#908263;
	}

	#books_series ul li:hover, #ebooks ul li:hover {
		color:#908263;
	}

	#shortcuts_wrapper {
		font-size:2.1vw;
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-evenly;
		text-transform: uppercase;
/*		gap:4vw;*/
	}
	#shortcuts_wrapper > span {
		cursor:pointer;
/*		flex-basis: 100%;
		text-align:center;*/
	}
	#shortcuts_wrapper > span:hover {
		color:#908263;
	}
	#shortcuts_wrapper > span:first-child {
/*		text-align:left;*/
	}
	#shortcuts_wrapper > span:last-child {
/*		text-align:right;*/
	}

	#icons {
		position:absolute;
		right:20px;
		text-align:right;
	}

	#search_slideout {
		text-align:center;
		height:155px;
		width:100%;
		border-top:1px solid darkgrey;
		border-bottom:1px solid darkgrey;
/*		position:fixed;
		top:148px;
		left:00px;
		z-index:1;*/
		display:none;
		padding:0px;
		margin:0px;
		box-shadow:1px 0px 5px lightgrey;
	}


	#searchfield[not_yet_clicked] {
		color:#D4D7D6;
	}
	#searchfield {
		font-size:6vw;
		flex-grow:1;
		margin-right:20px;
/*		min-width:500px;*/
		width:100%
		background-color:white;
		color:black;
		padding:15px 20px;
		border-radius: 5px;
		border:1px solid black;
	}
	#searchfield:focus {
		color:black;
	}





	.hundred_pct_wrapper {
		width:100%;
		text-align:center;
	}



		#footer_wrapper {
			background-color:#93A5A0;
			font-family: 'Crimson Text', serif; font-size: 25px;
			font-weight: 600;
			font-size: 18px;
			height:60px;
		}
		#footer {
			list-style: none;
			height: 60px;
			margin: 0px;
		}
		#footer li {
			color:black;
			padding:0px 10px;
			display: inline-block;
			line-height:60px;
			height:60px;
			cursor:pointer;
		}
		#footer li:hover {
			background-color:white;
		}

		#footer a {
			color:black;
			text-decoration:none;
		}

		#top_menu_wrapper {
			position:absolute;
			right:20px;
			text-align:right;
		}

		#top_menu_content_wrapper {
			display:none;
			z-index:5;
			border:1px solid darkgrey;
			box-shadow:1px 0px 5px lightgrey;
			background-color:white;
		}

		#top_menu_content {
			width:200px;
		}
		#top_menu_content td {
			vertical-align:middle;
			padding:4px 10px;
			background-color:white;
			cursor:pointer;
			height:35px;
		}

		#top_menu_content td:hover {
			background-color:lightgrey;
		}


		.show_menu_button {
		  	display: inline-block;
		  	cursor: pointer;
		}

		.bar1, .bar2, .bar3 {
		  	width: 35px;
		  	height: 5px;
		  	background-color: #333;
		  	margin: 6px 0;
		  	transition: 0.4s;
		}

		.change .bar1 {
		  	transform: translate(0, 11px) rotate(-45deg);
		}

		.change .bar2 {
			opacity: 0;
		}

		.change .bar3 {
		  	transform: translate(0, -11px) rotate(45deg);
		}

		li img.del {
			height:14px;
			top: 1px;
			position: relative;
		}

		#collapse_cart_btn {
			position:absolute;
			height:15px;
			left:50%;
			top: 6px;
			cursor:pointer;
		}


/***************** CART CSS ********$*/

#cart_wrapper {
	list-style: none;
	display:inline-block;
	color:white;
	height:35px;
	vertical-align: middle;
	cursor:pointer;
	position:relative;
}
#cart_wrapper > li:first-child {
	padding-left:15px;
}
#cart_wrapper > li {
	vertical-align: middle;
	display: inline;
}
#cart_amount {
	color:#949796;
	padding-right:15px;
}
#cart_icon {
	cursor:pointer;
	height:35px;
	vertical-align: middle;
	width:25px;
}
#cart_content {
	height:300px;
	overflow-y:scroll;
	width:100%;
	background-color:white;
	border-top:1px solid darkgrey;
	border-bottom:1px solid darkgrey;
	position:relative;
	z-index:10;
	display:none;
	margin:0px;
	padding:0px;
	box-shadow:1px 0px 5px lightgrey;
	padding-top:25px;
}
#cart_content li[cart_item_id]:hover {
	background-color:darkgrey;
}
#cart_content li[cart_item_id] {
	cursor:pointer;
}
#cart_content li[cart_item_id]:nth-child(even)  {
	background-color:#F3F3F3;

}
#cart_content li {
	padding:5px;
	color:black;
	text-align: left;
	color:#949796;
	padding: 10px 5px;
	line-height: 25px;
	display: flex;
}
#cart_content .left_cart_part {
	flex-grow:1;
}
#cart_content .right_cart_part {
	flex-grow:0;
	flex-basis:50px;
	text-align: right;
}
#cart_content li.wide_line .left_cart_part {
	flex-grow:0;

}
#cart_content li.wide_line .right_cart_part {
	flex-grow:1;
}

#cart_content .right_cart_part select {
	max-width: 250px;
	height:35px;
}

#cart_content .wide_line {
/*
	height:25px;
	padding-right:48px;*/
}


	#search_icon, #search_icon_square {
		cursor:pointer;
		height:35px;
		vertical-align: baseline;
		opacity:1.0;
		position:relative;
		top:10px;
	}
	#search_icon_square, .check {
		height: 18px;
		top: 4px;
		padding-right:12px;
	}
	#top_menu_content #cart_icon {
		height: 30px;
		width: 24px;
		padding-right:10px;
	}
	#search_icon:hover, #cart_icon:hover {
		opacity:0.4;
	}
	#search_icon2 {
		flex-grow:0;
		cursor:pointer;
		height:65px;
		width:65px;
		vertical-align: bottom;
	}
	#search_form {
		display:inline;
	}

	#header > div {
		vertical-align:middle;
	}
	@media (min-width: 800px)	/* WIDE VERSION */
	{
		.cart_counter {
			position: absolute;
			top: -12px;
			right: 9px;
			background-color: #fa3e3e;
			border-radius: 2px;
			color: white;
			padding: 1px 3px;
			font-size: 10px;
			line-height:15px;
		}

		.cart_counter[empty] {
			display:none;
		}

		#searchfield {
			font-size:28px;
		}

		#top_menu_wrapper {
			display:none;
		}
		#icons {
			display:block;
		}

		#header {
			flex-wrap: nowrap;
		}

		#icons {
			top:35px;
		}

		#logo {
			flex-basis:280px;
			flex-shrink: 0;
		}
		#shortcuts {
			flex-basis:100%;
		}
		#filler {
			flex-basis:120px;
			flex-shrink: 0;
		}
		#logo {
			text-align:left;
			width:240px;
		}
	}


	#searchbox, #books_series, #ebooks {
		text-align:center;
/*		height:155px;*/
		width:100%;
		background-color:white;
		border-top:1px solid darkgrey;
		border-bottom:1px solid darkgrey;
/*		position:fixed;
		top:146px;
		left:00px;*/
		z-index:2;
		display:none;
		padding:0px;
		margin:0px;
		box-shadow:1px 0px 5px lightgrey;
	}



	@media (max-width: 800px)	/* SMALL VERSION */
	{
		#searchfield {
			font-size:28px;
			max-width:200px;
		}

		#top_menu_wrapper {
			display:block;
		}
		#icons {
			display:none;
			top:35px;
		}

		#header > div {
			flex-basis: 100%;
		}
		#shortcuts_wrapper {
			padding-top:50px;
			font-size:3.4vw;
		}
		#logo {
			padding-top:20px;
			text-align:center;
		}

		#searchbox, #books_series, #ebooks {
			top:225px; /*146px;*/
		}
		#books_series_flexwrapper, #ebooks_flexwrapper {
			flex-direction: column;
		}


		.cart_counter {
		}

		.cart_counter[empty] {
			display:none;
		}

	}

	.cart_counter.round {
		background-color: #fa3e3e;
		display: block;
		position: absolute;
		border-radius: 25px;
		color: white;
		padding: 3px 3px;
		font-size: 17px;
		line-height: 20px;
		top: 8px;
		right: 42px;
		height: 18px;
		width: 18px;
		text-align: center;
		font-weight: 900;
		vertical-align: bottom;
		font-family: Courier New;
	}
