
/* default styles use the following variables */
:root {
  --color-bg-0: #fff;
  --color-bg-1: #ddd;
  --color-bg-2: #bbb;

  --color-text: #333;

  /* buttons etc */
  --color-accent-0: #000;
  --color-accent-1: #333;
  --color-accent-2: #6e6e6e;
}


*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
outline: none;
}

body{
  padding: 0;
  margin: 0;
}

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}


.huge{
  font-size: 2.1em;
  padding: .5em
}

  
.large{
  font-size: 1.2em;
}

.small, a.small{
  font-size: .8em;
}

input{
  font-size: inherit;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: var(--color-accent-0);
  font-weight: normal;
}

.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.middle{
  display: grid;
  align-items:center;
}

.left{
  text-align: left;
}

.right{
  text-align: right;
}

.top{
  vertical-align: top;
}

.zero{
  margin: 0;
  padding: 0;
}

.table{
  display: table;
}

.table-cell, .table-cell-middle{
  display: table-cell;
}

.table-cell-middle{
  vertical-align: middle;
}

.table-top, .flex-table.table-top > *{
  vertical-align: top;
}

input, button, textarea, select {
  outline: none;
  padding: 0.25rem 0.5rem;
  margin: 0.25rem 0;

  font-weight: inherit;
  font-family: inherit;
  font-size: inherit;

  border: 1px solid rgba(0,0,0,.25);
  border-radius: 0.2rem;
  box-shadow: inset 0px 0px 5px 0px rgba(54,54,54,0.07);
  background-color: #ffffff;
  accent-color: var(--color-accent-2);
  transition: .25s;
}

input:hover, textarea:hover{
   border-color: rgba(0,0,0,.4);
}

input:focus, input:active,
textarea:focus, textarea:active,
button:focus{
   border-color: rgba(0,0,0,.7);
}


input:user-invalid {
  border-color: orangered;
  color: red;
}

.shadow{
	box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}

.shadow-centered{
	box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.full-width, .full_width{
  width: 100%;
}

img, table  {
  border: 0;
  padding: 0;
  margin: 0;
}

table {
  border-collapse: collapse;
}

td, tr {
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.flex_container{
  display: flex;
}

.flex_direction_reverse{
  flex-direction: row-reverse;
}

.flex_column{
  flex-direction: column;
}

.float_right_600{
  float: right;
  margin-left: 1.5em;
  max-width: 50%;
}

.float_left_600{
  float: left;
  margin-right: 1.5em;
  max-width: 50%;
}

@media screen and (max-width: 600px){
  .flex_wrap_600{
    display: block; /* Fallback for non-flexbox browsers */
    display: flex;
    flex-wrap: wrap;
  }
  .float_right_600, .float_left_600{
    float: none;
    margin: 5%;
    max-width: 90%
  }
}

@media screen and (max-width: 500px){
  .flex_wrap_500{
    flex-wrap: wrap;
    justify-content: center;
  }
}

.flex_able{
  flex-grow: 1;
  flex-shrink: 1;
}

.flex_wrap{
  flex-wrap: wrap;
}

.un_flex_able{
  flex-shrink: 0;
  flex-grow: 0;
}

.half_width, .half-width{
  width: 46%;
}

.one_third_width {
  width: 26%; /* huh?*/
  width: 33%;
}

.two_thirds_width {
  width: 56%;
}

@media screen and (max-width: 600px){
  .two_thirds_width,
  .one_third_width,
  .half_width{
    width: 100%;
  }
}


.float_right {
  float: right;
}

.float_left {
  float: left;
}

.flex_table, .flex-table{
  display: table;
  width: 100%;
}

.flex_table > div, .flex-table > div{
  display: table-cell;
  vertical-align: middle;
  direction: ltr;
  padding: 0 1em;
}

.flex_table:not(.rtl) > div:last-child, .flex-table:not(.rtl) > div:last-child, .flex_table.rtl > div:first-child, .flex-table.rtl > div:first-child{
  padding-right: 0;
}
.flex_table:not(.rtl) > div:first-child, .flex-table:not(.rtl) > div:first-child, .flex_table.rtl > div:last-child, .flex-table.rtl > div:last-child{
  padding-left: 0;
}

.flipflop-table > section:nth-child(even){
  direction: rtl;
}

.flipflop-table > section{
  margin-top: 3em;
  display: table;
  width: 100%;
}

.flipflop-table > section > *{
  display: table-cell;
  vertical-align: middle;
  direction: ltr;
}


@media all and (max-width: 600px){

  .hideable, .hideable-600{
    display: none;
  }

  .flipflop-table > section > *, .flipflop-table > section{
    display: block;
    padding: 0;
    max-width: 100%;
    width: 100%;
    margin: auto;
  }

  .flex_table > div, .flex-table, .flex-table > div{
    display: block;
    padding: .5rem 0;
    direction: ltr;
  }

  .flex_table > div > img, .flex-table > div > img{
    max-width: 100%;
    width: 100%;
    margin: auto;
  }
}

.obvious_link, a.obvious{
  text-decoration: underline;
  font-weight: bold;
  color: #000033;
}

.rtl{
  direction: rtl;
}

input[type="search"]{
 -webkit-appearance: textfield;
 appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.search_form{
  white-space: nowrap;
}

img, video{
  max-width: 100%;
  width: auto;
  height: auto;
}

video{
  display: block;
}

.search_result, .list_item{
  display: table;
  width: 100%;
  margin-bottom: 2em;
}

.search_result img, .list_item img{
  max-width: 150px;
  max-height:150px;
  margin-right: 1.5em;
  max-width: 25vw;
  display: table-cell;
  vertical-align: middle;
}

.search_result div:not(.action-icons), .list_item div:not(.action-icons){
  display: table-cell;
  vertical-align: middle;
  width: 90%; /* Sort of a HACK to get search results with vary little text to align properly.*/
}

.search_result .action-icons, .list_item .action-icons{
  display: table-cell;
  vertical-align: middle;
  padding-right: .2em;
  width: 3em;
  text-align: center;
  opacity: .1;
  transition: 2.5s;
  transition-delay: 1s;
}

.search_result:hover .action-icons, .list_item:hover .action-icons{
  opacity: .8;
  transition-delay: 0s;
  transition: 2s;
}

/* flexable table with as many columns as will fit (min column width 300px in this case */
.auto-grid, .auto-grid-300{
  display: grid;
  place-items: center;
  justify-content: center;
  gap: 2em;
  grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
}

.auto-grid.auto-grid-200{
  grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
}

.grid{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  margin: 7px -7px;
}

.grid_item{
  text-align: center;
  margin: 7px;
  flex-basis: 150px;
  max-width: 200px;
  flex-shrink: 1;
  flex-grow: 1;
}

.grid_item img{
  max-width: 100%;
  max-height: 160px;
  height: auto;
  width: auto;
}

.grid_item a{
  display: block;
}

.grid_item .button{
  max-width: 160px;
  margin: auto;
  box-sizing: border-box;
}

#large_search_div{
  max-width: calc(100vw - 30px);
}

#large_search_div input{
  font-size: 1.5em;
}

button,
.btn,
input[type=submit],
.button {
  font-family: open sans, helvetica, arial;

  background-color: var(--color-accent-2);
  color: var(--color-bg-1);
  border: 1px solid transparent;

 
  padding: 0.25rem 1.5rem;
  font-weight: 600;
  cursor:pointer;
  border-radius: 0.15rem;
  transition: 0.3s;
  display: inline-block;
  margin: .2em 0em;
  white-space: nowrap;
  outline: none;
}


button:hover,
.btn:hover,
input[type=submit]:hover,
.button:hover {

  background-color: var(--color-accent-1);
  border: 1px solid var(--color-accent-1);
}

button:active,
.btn:active,
input[type=submit]:active,
.button:active {
 /* background-image: linear-gradient(var(--color-accent-1), var(--color-accent-0)); */
}

.button_small, .button-small, .button.small{
  font-size: 1em;
  padding: .1em .3em;
  margin: .3em;
  white-space: nowrap;
  min-width: 3.5em;
  text-align: center;
}

.button-subtle{
  background: var(--color-bg-1);
  color: var(--color-text);
  border-color: transparent;
}

.button-subtle:hover, .button-subtle:active{
  background: var(--color-bg-2);
  color: var(--color-text);
  border-color: transparent;
}

.button.submiting, input[type="submit"].submiting{
  background: linear-gradient(270deg, var(--color-bg-2), var(--color-bg-2), var(--color-accent-2), var(--color-bg-2),var(--color-bg-2));
  background-size: 200% 200%;
  animation: backandforth 2s ease infinite;
}


@keyframes backandforth {
   0%{background-position:0% 50%}
   50%{background-position:100% 50%}
   100%{background-position:0% 50%}
}

.cart_icon {
  width: 30px;
  height: 25px;
  background: url('/images/add-to-cart-button.png') -7px -2px no-repeat;
  border: 1px solid #e3d751;
  border-radius: 4px;
  display: inline-block;
  margin: 2px;
}

.pointer{
  cursor: pointer;
}

.transparent{
  opacity: 0;
}

.blur{
  filter: blur(1em);
}

.justify {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-limit-lines: 2;
  hyphenate-limit-chars: 7 3 2;
}

.sticky-sidebar-icons{
  position: fixed;
  left: 10px;
  top: 40%;
  top: calc(50% - 120px);
}


.sticky-sidebar-icons a:after{
  display: block;
  content: '\A';
}

@media all and (max-width: 600px){
  .sticky-sidebar-icons{
    display: none;
  }
}
/* Feature Box Styles */

.feature_box {
  margin: 2em 0;
  padding: 1% 0;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid; /* Firefox*/
  break-inside: avoid;
}

.feature_box image{
  max-width: 100%;
}

.strike_under {
  width: 100%;
  height: 17px;
  border-bottom: 1px solid #c4840d;
  text-align: center;
  margin-bottom: 17px;
}

.strike_under h3{
  font-size: 1.3em;
  font-weight: normal;
  padding: 0px 7px 0px 7px;
  margin: 7px 0px 7px 0px;
  display: inline;
  line-height: 1.5em;
  text-align: center;
  background-color: #fff;
}

.print-only{
  display: none;
}

@media print{
  .no-print, .no-print *{
    display: none !important;
  }
  .print-only{
    display: initial;
  }
  main{
    padding: 0;
  }
  @page{
    size: auto;   /* auto is the initial value */
    /* this affects the margin in the printer settings */
    margin: 10mm 5mm 15mm 5mm;
  }

  body{
      /* this affects the margin on the content before sending to printer */
      margin: 0;
      padding: 0;
  }
}

.loading{
  width: 100%;
  height: 100%;
  position: absolute;
  transition: 1s;
  margin: auto auto;
}

.loader {
  border-radius: 50%;
  font-size: 100%;
  position: relative;
  border: 1.1em solid rgba(237,219,157, 0.2);
  border-left-color: #eddb9d;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: spin 1.1s infinite linear;
  animation: spin 1.1s infinite linear;
  display: block !important;
}

.dot{
  width: .7em;
  height: .7em;
  margin: .1em;
  border-radius: 100%;
  display: inline-block;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  color-adjust: exact !important;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.translucent{
  opacity: .05;
}

.list-style-none{
  list-style: none;
  padding: 0;
}

.email-subscribe-form input, .email-subscribe-form button{
  max-width: 25em;
}

.upper-right-corner{
  position:absolute;
  top:.4em;
  right:.7em;
  display: block;
  cursor: pointer;
}

.cursor-busy, .cursor-busy *{
  cursor: progress !important;
}

.cursor-zoom-in{
  cursor: zoom-in;
}

.share-button{
  font-size: 40px;
}

.hidden{
  display: none;
}

.input-icon {
  right: .5em;
  top: .75em;
  z-index: 2;
  cursor: pointer;
  color: rgba(0,0,0,.25);
  position: absolute;
}

.feedback-close{
  position: absolute;
  top: .1em;
  right: .5em;
  cursor: pointer;
}

.feedback{
  border-radius: 7px 7px 7px 7px;
  box-shadow: 0 0 5px rgba(0,0,0, .1);
  color: #000000;
  font-weight: bold;
  max-width: 900px;
  margin: 1em auto;
  padding: .4em 1.5em;
  text-align: center;
  background-color: rgb(255, 255, 255);
  position:relative;
}

.feedback.error {
  border: 2px solid #DDBB99;
}

.feedback.info {
  border: 2px solid #aabbcc;
  background-color: #ccddee;
}