body {
  font-size: 18px;
  /*background-color: #FE992A;*/
  background-color: #999999;
  /*background-image: url("../img/bg_grey.jpg");*/
  overflow-y: hidden;
}

#all_container {
	height: 100vh;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

#header {
	position: relative;
  top: 0vh;
	height: 10vh;
	width: 100%;
	background-color: #FDD84E;
	text-align: center;
	margin-bottom: 0 !important;
	padding: 10px 10px 0 10px;
	-webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#navigator {
	position: relative;
	height: 6vh;
	width: 100%;
	background-color: #795549;
	color: #FFF;
	text-align: left;
	-webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#page_body {
	position: relative;
	height: 84vh;
	width: 100%;
	background-color: #FFF;
	overflow-y: auto;
}

#body_content {
	padding: 20px;
}

.color1 {
  background-color: #FDD84E;
}

.color2 {
  background-color: #FE992A;
}

.color3 {
  background-color: #EE6D20;
}

.color4 {
  background-color: #795549;
}

.color5 {
  background-color: #797979;
}

#header_img {
	padding: 0 !important;
	text-align: left;
}

#logo {
	height: 8vh;
	width: auto;
}

#header_title {
	padding-top: 16px;
	font-size: 30px;
	color: white;
  text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;
}

#navigator div, #navigator a, #navigator i {
	max-height: 6vh;
}

#category_dropdown a,#category_dropdown i {
	max-height: 10vh !important;
}

.lang_selector {
	padding-top: 5px !important;
	border-radius: 10px;
	height: 4vh;
	color: white;
	cursor: pointer;
	-webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.lang_selector:hover {
	border: solid 1px white;
}

.lang_selected {
	background-color: white;
	color: black;
	pointer-events: none;
}

.each_display_book {
	height: 200px;
	max-height: 200px;
	padding: 10px 0 10px 0;
	overflow-y: hidden;
	cursor: pointer;
	-webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.each_display_book:hover {
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.book_display_title {
	font-size: 14px;
	height: 20px;
  line-height: 20px;
  overflow: hidden;
}

nav {
  color: #fff;
  background-color: #795549;
  width: 100%;
  height: 6vh;
  line-height: 6vh;
  text-align: left;
}

#home_tab_selector {
	margin-bottom: 30px;
	text-align: center;
	font-weight: 600;
	font-size: 25px;
}

#new_tab, #pop_tab {
	cursor: pointer;
}

#new_tab:active, #pop_tab:active {
  transform: translateY(4px);
  -webkit-transform: translateY(4px);
}

#bottom_modal,#middle_modal {
	max-height: 90%;
	top: 30% !important;
}

table#book_detail_table td {
	padding: 5px;
	font-size: 24px !important;
}

img.book_img {
	border: solid 1px black;
}

.modal img.book_img {
	height: 300px;
	width: auto;
	max-width: 350px
}

#all_book_div .selected_alphabet {
	background-color: #EE6D20;
}

#all_book_div .alphabet_search {
	width: 50px;
}

#all_book_div #search_navi {
	margin-top: 30px;
}

#all_book_div #book_search_bar {
	text-align: center;
}

#navigator a.sidenav_item {
	font-size: 25px !important;
}

ul.sidenav li {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

iframe#google_map {
	width: 400px;
	height: 300px;
	border: solid 1px black;
}

.select-dropdown {
	text-align: center;
}

@media (max-width: 799px) and (orientation: portrait) {
  #all_container {
		width: 100%;
	}

	#header {
		padding: 0px 10px 0 10px;
	}

	#page_body {
		position: fixed;
	}

	#header_img {
		padding: 0 !important;
		text-align: left;
	}

	#header_title {
		padding-top: 10px;
		font-size: 18px;
		color: white;
	  text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;
	}

	#header_lang {
		padding-top: 6px;
	}

	.lang_selector {
		padding-top: 2px !important;
		border-radius: 10px;
		height: 4vh;
	}

	.each_display_book:hover {
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	.modal img.book_img {
		height: 250px;
	}

	#bottom_modal,#middle_modal {
		top: 20% !important;
	}

	table#book_detail_table td {
		font-size: 18px !important;
	}

	#all_book_div #search_navi {
		margin-top: 0px;
	}

	#navigator div, #navigator a, #navigator i {
		max-height: 5vh;
		line-height: 5vh;
	}

	iframe#google_map {
		width: 289px;
		height: 200px;
	}

}

@media (max-height: 799px) and (orientation: landscape) {
  #all_container {
		width: 100%;
	}

	#header {
		height: 10vh;
		padding: 0px 10px 0 10px;
	}

	#navigator {
		height: 10vh;
	}

	#page_body {
		position: fixed;
		height: 85vh;
	}

	nav {
		height: 10vh;
		line-height: 10vh;
	}

	#navigator div, #navigator a, #navigator i {
		max-height: 9vh;
		line-height: 9vh;
	}

	#header_img {
		padding: 0 !important;
		text-align: left;
	}

	#header_title {
		padding-top: 10px;
		font-size: 18px;
		color: white;
	  text-shadow: rgb(0, 0, 0) 3px 0px 0px, rgb(0, 0, 0) 2.83487px 0.981584px 0px, rgb(0, 0, 0) 2.35766px 1.85511px 0px, rgb(0, 0, 0) 1.62091px 2.52441px 0px, rgb(0, 0, 0) 0.705713px 2.91581px 0px, rgb(0, 0, 0) -0.287171px 2.98622px 0px, rgb(0, 0, 0) -1.24844px 2.72789px 0px, rgb(0, 0, 0) -2.07227px 2.16926px 0px, rgb(0, 0, 0) -2.66798px 1.37182px 0px, rgb(0, 0, 0) -2.96998px 0.42336px 0px, rgb(0, 0, 0) -2.94502px -0.571704px 0px, rgb(0, 0, 0) -2.59586px -1.50383px 0px, rgb(0, 0, 0) -1.96093px -2.27041px 0px, rgb(0, 0, 0) -1.11013px -2.78704px 0px, rgb(0, 0, 0) -0.137119px -2.99686px 0px, rgb(0, 0, 0) 0.850987px -2.87677px 0px, rgb(0, 0, 0) 1.74541px -2.43999px 0px, rgb(0, 0, 0) 2.44769px -1.73459px 0px, rgb(0, 0, 0) 2.88051px -0.838247px 0px;
	}

	#header_lang {
		padding-top: 6px;
	}

	.lang_selector {
		padding-top: 0px !important;
		border-radius: 15px;
		height: 7vh;
		width: 50%;
		float: left;
	}

	.lang_selected {
		
	}

	.each_display_book:hover {
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	#bottom_modal,#middle_modal {
		top: 10% !important;
	}

	.modal img.book_img {
		height: 200px;
	}

	table#book_detail_table td {
		font-size: 14px !important;
	}

	#all_book_div #search_navi {
		margin-top: 0px;
	}

	iframe#google_map {
		width: 300px;
		height: 330px;
	}
}