@import url(http://fonts.googleapis.com/css?family=Open+Sans);

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

body {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-image: url(../img/background.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	background-attachment: fixed;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

header, footer {
	padding: 17px;
	/*text-align: center;*/
}

main {
	/*background-color: #f1f1f1;*/
	/*height: 70%;*/
	flex: 1;
}

footer {
	background-color: #222;
	color: #aaa;
	margin-top: 37px;
	/* same value as main>.content margin-top -bottom + content padding*/
	width: 100%;
}

header h1 {
	color: #f1f1f1;
	font-size: 3.69rem;
	font-weight: bold;
	text-align: center;
}

header .tagline {
	color: #e1e1e1;
	font-size: 1.23rem;
	text-align: center;
}

nav {
	padding-top: 15px;
}

nav div a {
	color: #e1e1e1;
	font-size: 1rem;
	margin-left: 1rem;
}

nav div a:hover {
	color: #e1e1e1;
}

main>.content {
	background-color: rgba(255,255,255,0.83);
	min-height: 37%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 17px auto; /* same value as footer margin-top */
	border: 1px dotted #aaa;
	/*height: 100%;*/
	position: relative;
	padding: 23px;
}

main>.content #searchBox {
	position: relative;
	/*top: 50%;*/
	/*margin-top: -30px;*/
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	text-overflow: ellipsis;
	transition: all 1s ease-in-out;
}

main>.content #searchBox.normalPosition {
	top: 0;
	margin-top: 0;
	width: 100%;
}

main>.content>div {
	width: 100%;
}

main>.content>div>section {
	background-color: white;
}

/****************************************/

.hCenter, .allCenter {
	text-align: center !important;
}

.vCenter, .allCenter {
	vertical-align: middle !important;
}

.hRight {
	text-align: right !important;
}

.textError {
	color: #cc0000;
}

/****************************************/

input.search {
	box-sizing: border-box;
	border: 2px solid #ccc;
	font-size: 16px;
	/*padding-top: 12px;
    padding-bottom: 12px;*/
	height: 45px;
}

input.search[type=text] {
	width: calc(100% - 88px);
	background-color: white;
	background-image: url('/img/search_icon.png');
	background-position: 10px 10px;
	background-repeat: no-repeat;
	padding-left: 40px;
	padding-right: 20px;
	border-radius: 4px 0px 0px 4px;
	/*-webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;*/
}

input.selected, input.search:focus, input.search:focus ~ input.search {
	border: 2px solid #555;
}

input.search[type=submit] {
	width: 90px;
	cursor: pointer;
	border-radius: 0px 4px 4px 0px;
	margin-left: -2px;
}

input.search[type=submit]:hover {
	background-color: #ccc;
}

input:required {
	/* otherwise the rounded corners have a red shadow if input is not valid */
	
}


.highlight {
	color: #a60000 !important;
}

.highlightBgG {
	background-color: #00a600 !important;
	color: #fefefe;
}

/****** */
/* Css Shadow Effect for the prod-box and prod-box-list div */
.shadow {
	-webkit-box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.31);
	-moz-box-shadow: 0px 0px 10px rgba(50, 50, 50, 0.31);
	box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.31);
}

img.image50x50 {
	display: block;
	max-width: 50px;
	max-height: 50px;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

img.imagex50 {
	display: block;
	/*max-width: 50px;*/
	max-height: 50px;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

img.imageWxH {
	display: block;
	max-width: 93px;
    max-height: 37px;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.priceHistory {
	border: 1px solid #ccf;
	background-color: #fefefe;
	width: 300px;
	height: 200px;
	z-index: 999;
	position: absolute;
}

#searchTableContainer, #siteTableContainer {
	padding: 13px;
}

#searchTableContainer .fixed-table-body {
	overflow-y: hidden;
}