body
{ font: 12px/1.2 Verdana, Arial, Helvetica, sans-serif;
  background-color: whitesmoke;
  padding:0;
  margin:0;
}

input[type='checkbox'], input[type='radio'] 
{ vertical-align:-2px; }

.clear { clear:both; height:0; width:0; margin:0; padding:0; }

Header
{ width: 1200px;
  margin:0 auto;
}

.Logo
{ height: 60px;
  margin: 5px;
}

.Contacts
{ float: right;
  margin-right:10px;
  font-size:14px;
  color: Coral;
  line-height:24px;
  color: MidnightBlue;
}

nav
{ background-color: lightblue;
  width: 1200px;
/*  height:30px;*/
  margin:0 auto;
}

nav a 
{ padding:0px 15px;
  display: inline-block; 
  font-size:18px;
  text-decoration: none;
  color: black;
  line-height:30px;
}

nav a:hover { color: Blue; background-color: PapayaWhip;}


.Controls
{ float: left;
  width: 255px;
  background-color: #eee;
  height: 100%;
  padding-bottom:10px;
/*  position: absolute;
  top: 151px;
  bottom: 0px;*/
}

.Controls h1
{ margin:5px 0 0 0;
  padding:3px 0;
  font-size: 24px;
  text-align:center;
  border-bottom: 1px solid grey;
}

.Controls .Search
{ margin: 5px 0 10px 0;
  padding: 0;
}

.Controls .Search input
{ margin: 0 0 0 5px;
  padding: 7px;
  font-size: 12px;
  border:1px solid #aaa;
  border-radius: 5px 0 0 5px;
  width:197px;
  float:left;
}

.Controls .Search button
{ margin: 0 0 0 -2px;
  border:1px solid #aaa;
  border-radius: 0 5px 5px 0;
  width:31px;
  height: 31px;
  float:left;
  background-color: #ddd;
  cursor: pointer;
  background-image: url("/images/Icon-Search.png");
  background-size: 20px auto;
  background-position: center center;
  background-repeat: no-repeat;
}

.Controls .Search button:hover
{ background-color: #ccc; }

.Controls h2
{ margin: 10px 5px 0 5px;
  font-size:15px;
  color: Coral;
  padding:0px;
  font-weight:bold;
}

.Controls label
{ display:block;
  margin-left: 20px;
}

.Controls label.TwoCols
{ float:left;
  width:100px;
}

.Controls label.TwoCols:nth-child(even)
{ margin-left:10px; }

.Controls .Items
{ margin-left: 20px; }

/*******************************************************/

.Content
{ width: 1200px;
  margin: 5px auto;
}

.Content h1.GroupName
{ width: 100%;
  padding: 5px 5px 5px 15px;
  margin:0;
  box-sizing:border-box;
  font-style: italic;
}

.FirstPageText
{ font-size: 18px;
  text-align:center;
}
/*******************************************************/

.ProdBox
{ width:222px;
  height:300px;
  float: left;
  margin:8px;
  border:1px solid grey;
  position: relative;
  border-radius:5px;
}

.ProdBox:hover
{ background-color: #ddd; }

.ProdBox h1
{ height: 40px;
  line-height: 40px;
  background-color: RoyalBlue;
  color: white;
  margin:0; padding:0;
  text-align: center;
  font-size: 16px;
  padding:3px 0;
}

.ProdBox h1 span
{ line-height: normal;
  display: inline-block;
  vertical-align:middle;
  margin-top:-4px;
}
/*
.ProdBox div.Image
{ position: absolute;
  top: 30px;
  width:100%
}*/

.ProdBox div.Image
{ width:100%;
  height: 170px;
  overflow: hidden;
  text-align:center;
  line-height:200px;
  margin-top: 10px;
}

.ProdBox img
{ width:100%;
  height:100%;
  object-fit:contain;
}

.ProdBox p.Remark
{ margin:5px 0;
  height:34px;
  padding:0;
  color:RoyalBlue;
  font-size:14px;
  text-align: center;
  font-weight: bold;
}

.ProdBox p.BarCode
{ position: absolute;
  left: 5px;
  bottom: 5px;
  color:black;
  font-weight:bold;
  margin:0; padding:0;
  font-size:10px;
}

/***********************************************************/
.Detailed
{ background-color: whitesmoke; }

.Detailed h1
{ width: 100%;
  height: 28px;
  margin:0;
  padding:2px 10px;
  background-color: RoyalBlue;
  color: white;
  text-align: left;
  font-size:19px;
  box-sizing: border-box;
}

.Detailed .Image
{ Width:400px;
  height:350px;
  line-height:350px;
  border:1px solid grey;
  margin:0px;
  border-radius: 10px;
  overflow:hidden;
  Text-align:center;
  box-shadow: 3px 3px 10px black;
  float: left;
}

.Detailed .Image img
{ vertical-align:middle;
  width:90%;
  height:90%;
  object-fit:contain;
}

.Detailed .Description
{ width: 750px;
  margin:5px 0 0 30px;
  float: left;
}

.Detailed .Description h2
{ margin:5px 0 0 0;
  padding: 0 0 5px 10px;
  border-bottom: 1px solid blue;
}

.Detailed .Description p
{ margin:10px 0 0 0;
  padding: 0px;
  font-size:14px;
  line-height:150%
}

.Detailed .Remark
{ font-size: 12px;
  font-weight: bold;
  text-align:center;
  margin-top: 0px; 
}

.Detailed .Price
{ font-size: 20px;
  font-weight: bold;
  color: darkred;
  text-align:center;
  margin-top: 20px; 
}
