/*
Whenever there's an update to this .css file, update the version number
Example: styleBooks_1.0.css -> styleBooks_1.1.css
Updating the file name forces the "internet" to get our new style changes
because CSS files can be cached.
*/

body {
	/*Todo: This change was changed to indicate the test site*/
	/*background-color: #ffc9c9; */
	font-size: 11px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	padding-top: 0;
	margin: 0;
	text-align: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", sans-serif;
}

h1 {
	font-size: 24pt;
	font-weight: normal;
	text-align: left;
	margin-top: 30px;
	margin-bottom: 30px;
}

h2 {
	font-size: 18pt;
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 5px 0;
	border-bottom: 3px solid #ffdb81;
}
h3 {
	font-size: 14pt;
	margin-bottom: 0;
	padding-bottom: 5px;
	margin-top: 6px;
}
h4 {
	font-size: 12pt;
	margin-bottom: 0;
	padding-bottom: 5px;
	margin-top: 6px;
	font-weight: normal;
}

a {
	color: #1c487e;
	text-decoration: none;
}
a:hover, a:focus {
	text-decoration: underline;
}

#topBanner {
    background: #ffffff;
    height: auto; /* Let the content determine the height */
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0px;
}

#topBanner a {
    color: black; /* Set the color of the link text to black */
}

.content-wrapper {
    display: flex;
    align-items: center;
	padding: 0px;
}

#topBanner img {
	height: auto;
	width: 100%;
}

#topBanner .contact_info {
    width: 150px;
    height: 75px;
	color: black;
    display: flex;
    align-items: center;
    justify-content: center;
	padding-right: 10px;
}

#topBanner.scoreboard_offset {
		margin-top: 50px;
}

#book_h1_style {
	all:unset;
	font-size: 20pt;
	font-weight: bold;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

#generic_h1_style {
	all:unset;
	font-size: 20pt;
	font-weight: bold;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

.listing_item_row {
	cursor: pointer;
}

.contentbody{
	display: flex;
	/*flex-direction:row;*/
	flex-wrap: wrap;
	
}

#leftnavi2 {
	width: 168px;
	float: left;
	font-size: 10px;
	padding: 8px;
}

#leftnavi {
	width: 168px;
	float: left;
	font-size: 12px;
	padding: 8px;
}

.centernavi {
	font-size: 12px;
	text-align: center;
	background-color: #EEEEEE;
	padding-top: 4px;
	padding-bottom: 6px;
	border-top: 1px solid #dbdbdb;
	border-bottom: 1px solid #dbdbdb;
	margin: 0px;
	clear: both;
}

#searchbox {
	width: 154px;
	background-color: #1c487e;
	border-radius: 6px 6px;
	-webkit-border-radius: 6px 6px;
	-moz-border-radius: 6px 6px;
	text-align: center;
	padding: 4px;
	margin-top: 10px;
	color: #FFFFFF;
	margin-bottom: 10px;
	height: 100px;
}

#searchbox2 {
	width: 154px;
	background-color: #1c487e;
	border-radius: 6px 6px;
	-webkit-border-radius: 6px 6px;
	-moz-border-radius: 6px 6px;
	text-align: center;
	padding: 4px;
	margin-top: 10px;
	color: #FFFFFF;
	margin-bottom: 10px;
	height: 100px;
}

#bodytext2 {
	border-left: 1px dotted #dbdbdb;
	text-align: left;
	margin: 2px 2px 2px 2px;
	padding-right: 10px;
	padding-left: 10px;
}

.item_title {
	font-size: 24pt;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 15px;
	padding: 5px 0;
	border-bottom: 3px solid #ffdb81;
	text-align: center;
}

.item_product {
	display: flex;
	font-size: 30px;
	margin-top: 15px;
	flex-direction: row;
	align-items: flex-start;
}

.item_image {
	font-size: 14px;
	height: 15%;
}

.item_image_image {
	object-fit: cover;
	height: auto;
	width: 350px;
}

.item_image_notice {
	text-align: center;
}

.item_image_column {
	margin-right: 20px;
	display: flex; 
	flex-direction: column;
	height: auto;
	width: 350px;
}

.item_details {
	display: flex;
	flex: auto;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

.item_title_again {
	width: 100%;
	font-size: 20pt;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 3px solid #ffdb81;
}

.item_manufacturer,
.item_models {
	font-size: 16px;
	margin-top: 5px;
	margin-bottom: 10px;
	display: flex;
}

.booktable {
	width: 100%;
	padding: 1px;
	border: 2px solid #DBDBDB;
	overflow: auto;
	}
.booktable th {
	color: #FFFFFF;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	background-color: #1c487e;
	padding-top: 4px;
	padding-right: 6px;
	padding-bottom: 4px;
	padding-left: 6px;
	font-size: 11px;
	}
.booktable th a {
	color: #FFF;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #1C487E;
}
.booktable th a:hover {
	color: #FFF;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
}
.booktable th.quantitycolumn {
	width: 80px;
}
.quantitylabel {
	display:  inline;
}
.quanlabel {
	display: none;
}

.booktable tr {
	background-color: #EEEEEE;
	}
.booktable tr:hover  {
	background-color: #feda81;
}
.booktable td {
	padding-right: 6px;
	padding-left: 6px;
	padding-top: 2px;
	padding-bottom: 2px;
	overflow: auto;
	font-size: 10pt;
	line-height: 12pt;
}

td.add2cart {
	min-width: 150px;
	padding: 0;
}
button {
	border: none;
	background: none;
	cursor: pointer;
	}
	#prioritymail button {
		border: 1px solid #000;
		border-radius: 4px;
		background-color: white;
		margin: 8px;
	}
button.addtocart {
	cursor: pointer;
	text-transform: uppercase;
	font-size: 12pt;
	line-height: 12pt;
	color: #024981;
	font-weight: 700;
	padding: 5px 4px;
	width:  100%;
	height:  100%;
}
button.addtocart:hover {
	background-color: #1c487e;
color: #f1cf7a;
	/* color:  white; */
}
.addtocart img {
	vertical-align: -6px;
	margin-right: 3px;
}

@media screen and (max-width: 1040px) {

	#container {
		border: 0px;
		width: 100%;
	}
	#contentbody {
		display: flex;
        justify-content: center; /* Center children horizontally */
        align-items: center; /* Center children vertically */
		flex-direction: column;
    }

	#searchbox2 {
		display:  block;
		

		height: 65px;
		margin: 10px auto;	
	}
	#searchbox2 h2{
		margin-top: 0px;
		margin-bottom: 0px;
	}

	#leftnavi2{
		/*width: 95%;
		align-items: center;
		padding: 0px;*/
		display: none;
	}
	#bodytext2{
		margin-top: 0px;
		
	}
	.item_product{
		width: 100%;
		display: flex;
		margin-top: 0px;
		flex-direction: column;
		align-items: center;
	}
	.item_image{
		width: 100%;
		margin-right: 0px;
		
	}
	.item_image_image{
		width: 100%;
		height: auto;
		
	}
	.item_details{
		display: flex;
		width: 100%;
	}

	.item_title_again{
		margin-top: 6px;
		border: 3px solid #ffdb81;
		padding: 10px;
		width: 95%;
	}

	.item_id,
	.item_years,
	.item_manufacturer,
	.item_models,
	.item_price_amount,
	button.addtocart2 {
		padding-left: 13px;
		padding-right: 13px;
	} 

}

/*new section here, maybe delete*/
.item_single_row {
	flex-direction: row;
	display: flex;
	flex: auto;
	justify-content: center;
	align-items: center;
}

.item_id,
.item_years {
	font-size: 16px;
	margin-top: 5px;
	margin-bottom: 10px;
	display: flex;
}

.item_description {
	font-size: 24px;
	border: 3px solid #ffdb81;
	padding: 10px;
	height: 100%;
	margin-bottom: 0px;
}

.item_id strong,
.item_years strong,
.item_manufacturer strong,
.item_models strong {
	font-weight: bold;
}

.item_price_amount {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
	margin-right: 0;
}


.special_orders_form {
	font-size: 12px;
	min-width: 200px;
	min-height: 50px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items:normal;
}


button.addtocart2 {
	cursor: pointer;
	text-transform: uppercase;
	font-size: 14pt;
	line-height: 14pt;
	background-color: #f1cf7a;
	color: #024981;
	font-weight: 700;
	padding: 5px 4px;
	width: 100%;
	height: 100%;
}

button.addtocart2:hover {
	background-color: #1c487e;
	color: #f1cf7a;
	/* color:  white; */
}

.addtocart2 img {
	vertical-align: -6px;
	margin-right: 3px;
}

.item_add_to_cart_button {

	min-width: 200px;
	min-height: 50px;
	/*margin-bottom: 15px;
	margin-top: 15px;*/
	display: flex;
	align-items: center;
}

.item_more {
	display: flex;
	flex-direction: column;
	padding: 5px;
	margin-bottom: 20px;
}

.item_more_title {
	display: flex;
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
	font-style: italic;
	padding: 5px;
	padding-top: 10px;
	border-top: 2px solid #777777;
}

.item_interested_area {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0px;
}

.item_interested {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	justify-content: center;
	align-items: center;
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
	border: 3px solid #ffdb81;
	padding: 5px;
}

.item_interested_picture {
	display: flex;
	justify-content: center;
	align-items: center;
}

.item_interested_picture_image {
	display: flex;
	height: 270px;
	width: 192px;
}

.item_interested_text {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 144px;
	font-weight: bold;
}
