/* auto hide client form */
#new_customer:not(:checked) ~ #earlier_user {
  display:block;
}
#new_customer:checked ~ #earlier_user {
  display:none;
}
#new_customer:not(:checked) ~ #new_user {
  display:none;
}
#new_customer:checked ~ #new_user {
  display:block;
}

#detail {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height:100%;
  background-color: rgba(0,0,0,0.33);
  display: none;
}
#detail .product_details,
#detail .order_details,
#detail .person_details {
  position: relative;
  z-index: 1000;
  margin: auto;
  top: 10%;
  max-width: 600px;
  min-width: 308px;
  max-height: 80%;
  overflow: auto;
  padding: 10px;
  border: solid 4px #C39D70;
  background-color: #FFFFFF;
  }
.personalMenu {
  float: right;
  margin: 0;
  padding: 0;
}
.personalMenu li {
  margin-left:10px;
  margin-right:10px;
  float:left;
  white-space: nowrap;
}
#shopping_form {
  float: right;
}
#update, #pay {
  float: right;
}
#cart_amount, #shopping_amount {
  width: 36px;
}
.product {
  float: left;
  width: 138px;
  height: 220px;
  margin : 3px;
  text-align: center;
  font-size: 12px;
}
.product img {
  border: none;
  margin: 5px;
  padding: 0px;
}

.product_shield {
  border: 1px solid #C39D70;
  height: 138px;
  width: 138px;
  padding: 0px;
  margin: 0px;
}

.product_details {
  font-size: 14px;
}

.product_details td {
  font-size: 14px;
}
.product_details .product_image {
  width: 250px;
  margin-right: 10px;
  position: relative;
  height: 250px;
  top: 0px;
  bottom: 0px;
  text-align: center;
  float: left;
  overflow: hidden;
}
.product_details img {
  margin: 0;
}

.product_nav {
  font-size: 12px;
  color: white;
  background-color: #C39D70;
  padding:2px;
  padding-left:5px;
  padding-right:5px;
}

.products_page_nrs {
  clear: both;
  padding-top: 10px;
  font-size: 12px;
  text-align: center;
}
.products_page_nrs b {
  /* text-decoration: underline; */
  color: white;
  /* background-color: #C39D70; */
  background-color: #702508;
  padding:2px;
  padding-left:5px;
  padding-right:5px;
}
.cart, .order_overview {
  width: 100%;
  margin-bottom: 5px;
}
.cart td, .order_overview td {
  border-bottom: solid 1px #000000;
  padding: 2px;
}
.cart th, .order_overview th {
  text-align: left;
  background-color: #C39D70;
  color:#FFFFFF;
}
table td.right, table th.right {
  text-align: right;
}
.overview {
  background-color: #FCF1DA;
  border-radius: 3px;
  padding: 5px;
}
.small {
  font-size: 11px;
}

.fa-input {
  font-family: 'Font Awesome 5 Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

form .buttons {
  padding-top: 20px;
}
form .styledButton {
  display: inline-block;
  color:#000000;
  background-color:#FFFFFF;
  border: 1px solid #C39D70;
  cursor: pointer;
  text-align: center;
  width: 130px;
  height: 22px;
  padding: 2px;
}

/* Customer form */

label {
  vertical-align: top;
  padding-top: 5px;
}

body .passStrengthify button,
body .passStrengthify button button {
  font-family: 'Font Awesome 5 Pro';
  font-size:14px;
}

/* Overrule the hardcoded z-index of 1 (wonder why they do such a thing?)  */
.ui-datepicker{ z-index: 50 !important; }


/* Navigation in the right column */
#selector {
  padding-left:20px;
}

#selector #settings {
  margin:0px;
  padding: 10px;
    width: 120px;
}

#selector select, #selector input {
  width: 100%;
}

#selector label {
  width: 100%;
  display: inline-block;
  padding-top: 10px;
  font-family: Verdana, Verdana, Geneva, sans-serif,Tahoma,helvetica,geneva,swiss,sunsans-regular;
  font-size: 14px;
}
#selector input {
  font-size: 12px;
}
#selector .selectButton {
  margin-top: 0px;
}
#selector .selectButton a {
  margin:0px;
  margin-left:0px;
  margin-right:0px;
  padding:0px;
  font-size: 16px;
  font-family: Verdana, Verdana, Geneva, sans-serif,Tahoma,helvetica,geneva,swiss,sunsans-regular;
  text-decoration:none;
  font-weight:normal;
  background-color:#FFFFFF;
  border: 1px solid transparent;
  background-repeat: no-repeat;
  background-position: right 5px;
    height: 30px;
  width: 120px;
  display:table-cell;
  vertical-align:middle;
  padding-left:5px;
  padding-right:5px;
  color:#000000;
}
.touch #selector .selectButton a {
  height:45px;
  padding-top: 10px;
}
#selector .selectButton.selected a {
  font-weight: bold;
  background-color:#FFFFFF;
  border: 1px solid transparent;
  color:#000000;
}
#selector .selectButton a:hover {
  color:#000000;
  background-color:#FFFFFF;
  border: 1px solid transparent;
  text-decoration:none;
  }
#selector input.space_above {
  margin-top: 20px;
}

@media only screen and (max-width: 463px) {
  #area_right {
    padding: 0;
    padding-top: 20px;
  }
  #selector .selectButton {
    display:block;
    max-height:none;
    opacity: 1;
    width: 312px;
  }
}

/* Conditions */
#showConditions {
  height:100%;
  overflow: auto;
}
#popupConditions {
  position: fixed;
  z-index: 999999;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  padding: 20px;
  border: solid 1px #000000;
  border-radius: 3px;
  background-color: #FFFFFF;
  background-color: rgba(255,255,255,0.95);
  display:none;
}
#popupCloseBox {
  color: #666666;
  float: right;
  cursor: pointer;
}
#acceptConditions {
  display: block;
  width: fit-content;
  margin: auto;
  margin-top: 30px;
  text-align: center;
  white-space: nowrap;
}
