@import 'menu.css';
@import 'https://fonts.googleapis.com/css?family=Playfair+Display';


body {
	background-color: #FFFFFF;
	margin: 0px;
	font-family: Playfair Display, Georgia, Times New Roman, serif;
	position: relative; 	
}


a{
	text-decoration: none;
}
img {
	border: 0;
	max-width: 100%; 
	height: auto;
	max-height: 100%; 
}
input, textarea, select {
	font-family: Open Sans, sans-serif, Arial, Sans;
	font-size: 15px;
	border-radius: 5px;
	padding: 7px;
	border: 2px solid #666;
	background-color: #fff;
	max-width: 80vw;
} 
a[href^="mailto:"]
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
table{
	border-collapse: collapse;	
}
td {
	vertical-align: top;
	padding: 0 8px 8px 0;
}

h1 {
	font-size: 40px;
	font-style: italic;
	font-weight: normal;
	line-height: 50px; 

}
h2 {
	font-size: 24px;
	font-weight: normal;

}
h3 {
	font-size: 20px;
	font-weight: normal;

}

.logo {
	padding: 10px; 
	max-width: 1200px; 
	margin: auto; 
}
.logo > div {
	text-align: right; 
	max-width: 160px;
	margin: 0 0 0 auto;
	padding: 20px; 
	background-color: rgb(99, 122, 147);

}
.logo img {
	width: 160px; 
}
.page{
	background-position:center center;
	background-size: cover;
	background-attachment:scroll;
	background-repeat: no-repeat;
	position:relative; 
	height: 600px; 
	display: flex;
	align-items: center;
	max-height: 60vh;


}
.page > div {
	width: 800px;
	text-align: center; 
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%; 

}
.page img {
	max-width: 400px;
}
.smaller{
	background-attachment:scroll; 
	min-height: 500px; 
}
.page > div h1{
	font-size: 40px;
	color: rgba(255,255,255,0.8); 
	margin: 0; 
	padding: 3vw 1vw;
	letter-spacing: 10px; 
	font-weight:normal;
	text-align: center; 

}
.maintext {
	max-width: 1000px;
	padding: 5px 10vw 30px 10vw;
	font-size: 16px;
	color: #444;
	margin: auto; 
	line-height: 170%; 
}
.maintext a{
	color: #444;
	text-decoration: none; 
	border-bottom: 1px dashed #aaa;
}
.front {
	padding: 30px 10vw;
}
.title {
	max-width: 1000px;
	padding: 10px 10vw;
	font-size: 17px;
	color: #444;
	margin: auto; 
	line-height: 170%; 
}
.productheader h1 {
	font-size: 60px;
	font-style: italic;
	font-weight: normal;
	margin: 5px 0 30px 0;
	line-height: 60px; 
} 



.search2 table{
	table-layout: fixed;
	width: 100%;
	border: 15px solid #ddd;
}
.search2 td {
	padding: 5px 15px ; 
}
.contact td {
	padding: 20px 30px ; 
}
.search2 tr:nth-child(odd){
    background-color: #fff !important;
}
.search2 tr:nth-child(even) {
    background-color: #f0f0f0 !important;

}
#form  tr:nth-child(odd){
    background-color: #fff !important;
}
#form  tr:nth-child(even){
    background-color: #f0f0f0 !important;
}
#form  {
	width: 100%; 
}
#form td {
	padding: 10px; 
}
.search2 input[type="text"] {
	font-size: 20px;
	border: 2px solid #aaa;
	color: #333;
	padding: 6px 13px; 
	margin: 10px; 
	width: 270px; 
}
.search2 input[type="submit"] {
	width: 300px; 
	font-size: 20px;
	border: 2px solid #aaa;
	color: #333;
	padding: 6px 13px; 
	margin: 10px; 
}
.search2 select{
	font-size: 20px;
	border: 2px solid #aaa;
	color: #333;
	padding: 6px 13px; 
	margin: 10px; 
	width: 300px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none; 
}

.adminform table{
	table-layout: auto;
	width: 100%;
}
.adminform td {
	padding: 2px ; 
}
.adminform  input[type="text"], 
.adminform  input[type="submit"], 
.adminform  select{
	margin: 0; 
	padding: 10px;
} 
.adminform .titleform {
	width: 500px !important; 
	max-width: 100%; 
}

.letters {
	background-color: #f0f0f0;
	min-height: 30px; 
	line-height: 40px;
	text-align: center; 
	color: #444;
	padding: 10px; 
}
.letters a{
	color: #444;
	padding: 2px 5px;  
	transition: 0.5s;
}
.letters a:hover{
	color: #fff; 
	background-color: #000; 
}
.search {
	background-color: #444;
	min-height: 70px; 
	line-height: 70px;
	text-align: center; 
	color: #fff;
	padding: 10px; 
}
.search input {
	font-size: 20px;
	border: 0;
	color: #333;
	padding: 6px 13px; 
	margin: 10px; 
}

.footer {
	background-color:#44586F;
	color: #fff;
	display: flex; 
	flex-flow: row wrap;
	align-items: flex-start;

}
.footer > div {
	max-width: 1000px;
	padding: 50px; 
	margin: auto; 
	line-height: 180%; 
  align-self: flex-start;
	min-height: 400px; 
}
.footer a{
	color: #fff;
	text-decoration: none; 
}
.footer a:hover{
	text-decoration:underline;
}
.iw {
	font-size: 12px;
	padding: 10px 100px;
	background-color:#444;


} 
.iw a{
	color: #ddd;
	text-decoration: none;
}
.social {
	background-color:#333;
	text-align:center;
}
.social img{
	height: 50px; 
	margin: 10px; 
}
.prodbox{
	display: flex; 
	flex-flow: row wrap;
	justify-content: center;
	margin: auto; 	
	padding: 0; 
}

.prodbox > div {
	height: 250px;
	margin: 0;
/*	border: 5px solid #d01212; */
	background-color: #333; 
	max-width: 250px; 
	flex: 1 1 8vw; 
}
.prodimage {
	height: 100%;
	background-size: cover; 
	background-repeat: no-repeat;
	background-position: center center; 
}
.itempage{
	background-color: #fff;
}
.itempage > div{
	padding	: 10px; 
	background-color: #fff;
	flex: 1 1 270px;
	height: 400px ;
	max-width: 270px; 
}
.likethis{
	background-color: #f0f0f0;
}
.likethis > div {
	max-width: 1000px;
	margin: auto; 
}
.likethis .prodbox2 > div{
	flex-flow: row wrap;
}
.onebook{
	background-color: #f0f0f0;
}
.onebook > div {
	max-width: 1000px;
	margin: auto; 
}
.prodbox2{
	display: flex; 
	flex-flow: row wrap;
	justify-content: center;
	margin: auto; 	
	padding: 10px; 
	background-color: #f0f0f0;
}
.prodbox2 > div {
	padding: 10px; 
	min-height: 250px;
	margin: 10px;
	background-color: #fff; 
	flex: 1 1 380px; 
	display: flex; 

}
.onebook .prodbox2 > div{
	flex-flow: row wrap;
}
.prodbox2 .bookpic {
	width: 150px; 
	min-height: 250px; 
	min-width: 150px; 
	text-align:center; 
}
.prodbox2 .bookpic img{
	object-fit: fill; 
	height: 250px; 
	width: 100%; 
}
.prodbox2 .txtbox {
	padding: 2px 20px;
	line-height: 120%;
	font-size: 15px; 
	color: #444;
}
.prodbox2 .txtbox a{
	border-bottom: 1px dashed #aaa; 
}
.prodbox2 .txtbox a:hover{
	border-bottom: 1px solid #444; 
}
.onebook .prodbox2 .textboxes .txtbox{
	flex: 1 1 100px;
	line-height: 24px; 
	font-size: 16px; 

}
.textboxes {
	display: flex; 
	flex-flow: row wrap;
	flex: 1 1 200px;
} 
.likethis .prodbox2 .txtbox{
	flex: 1 1 200px;
	line-height: 24px; 
	font-size: 16px; 
}
.prodbox2 a{
	color: #444;
}
.prodbox2 h4 {
	font-size: 20px; 
	font-weight: normal; 
	margin	: 0; 
	line-height: 24px;
	color: #44586F; 
}
.prodbox2 h4 a{
	color: #44586F;
}
.onebook h4, .onebook p{
	margin	: 20px 0 20px 0; 
}
.onebook h4 {
	font-size: 24px; 
}
.bgauto{
	background-size: auto; 
}
.contain{
	background-size: contain; 
}
.prodimage img {
	height: 100%;
	width: 100%; 
}
.prodbox > div .div {
	position: absolute; 
	bottom: 0;
	height: calc(100% - 20px ); 
/*	background-color: rgba(208, 18, 18,0.8);*/
	background-color: rgba(0,0,0,0.3);
	color: #fff;	
	width:calc(100% - 20px ); 
	z-index: 2; 
	padding: 10px 10px; 
	text-align: center; 
	backdrop-filter:  blur(4px);
	line-height: 25px; 
	font-weight: bold; 
	font-size: 16px; 
	display: none;
	transition: 1s; 
	overflow: hidden;
} 
.prodbox > div:hover .div {
	display: flex;
	justify-content: center;
	align-items: center;

} 
.prodbox > div:hover .div a{
	color: #fff; 
	padding: 30px 5px; 
}	
.prodbox a:hover{
	color: #ccc; 
	text-decoration: none; 
}
.prodimage {
	filter:  grayscale(0%);
}
.prodimage:hover{
	filter:  grayscale(100%);
}
.item {
	position: relative; 
}

.next {
	max-width: 1000px; 
	text-align: right; 
	line-height: 50px; 
	margin: 5px auto;
	padding: 0 50px;  
}
.next a {
	padding: 10px;
	color: #222; 
	border: 1px solid #999;
	margin: 5px; 
}
.next a:hover{
	background-color: #44586F;
	color: #fff; 
}
.container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
	margin: 10px 
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
  border-radius: 50%;
}

.container:hover input ~ .checkmark {
  background-color: #ccc;
}

.container input:checked ~ .checkmark {
  background-color: #44586F;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.container input:checked ~ .checkmark:after {
  display: block;
}
.container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
} 
.grecaptcha-badge {
    visibility: hidden;
}
small {
	font-size: 12px;  
	line-height:12px; 
}



@media only screen and ( max-width: 1440px ) {
.prodbox > div {
	flex: 1 1 10vw; 
}
}
@media only screen and ( max-width: 1300px ) {
.prodbox > div {
	flex: 1 1 15vw; 
}
}
@media only screen and ( max-width: 990px ) {
.prodbox > div {
	flex: 1 1 16vw; 
}
}
@media only screen and ( max-width: 800px ) {
.prodbox > div {
	flex: 1 1 22vw; 
}
}
@media only screen and ( max-width: 500px ) {
.prodbox > div {
	flex: 1 1 200px; 
}
}

@media only screen and ( max-width: 990px ) {
.page{
	background-attachment: scroll; 
}
.page > div {
	width: 100%; 
	text-align: center; 
}
.footer > div {
	min-height: auto; 
	display: block; 
	height: auto; 
	padding: 20px;
}
.footer {
	min-height: auto; 
	display: block; 
	height: auto; 
}
.onebook .prodbox2 .txtbox{
	display: inline-block; 
}
input, textarea, select{
	width: auto; 
}
.search2 table{
	table-layout: auto;
}
}



@media only screen and ( max-width: 640px ) {
.onebook .prodbox2 .textboxes .txtbox, .onebook .prodbox2 .textboxes{ 
	display: block;
	padding: 3px; 
}
.search2 td {
	padding: 5px 15px ; 
	width: 100%; 
	display: block;
	max-width: 100%; 
}
.search2 input[type="text"], .search2 input[type="submit"], .search2 select , .search2 input{
	width: 70%; 
	max-width: 80%; 
}
.search2 table, .search2 tr, .search2, .search2 td{
	max-width: none;
	border	: 0; 
}
.logo {
	background-color: rgb(99, 122, 147);
}
h1, .productheader h1 {
	font-size: 38px;
	line-height: 50px; 

}
}





@media only screen and ( max-width: 400px ) {
.prodbox2 > div {
	display: block !important; 
	height: auto !important;
	object-fit: none !important;
}
.prodbox2  .bookpic, .prodbox2 .txtbox {
	padding: 10px; 
}
}
