/* ============================================================================
  LAYOUT
============================================================================ */

html, body {
  background: url("/images/main_bg.png") repeat fixed 0 0 #FFFFFF;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Verdana, Helvetica, Arial;
}

a[name~=top] {
  height: 1px;
  width: 1px;
  display: block;
}

#show_error_link {
  color: white;
  text-decoration: none;
}

#show_error_link:hover {
  text-decoration: underline;
}

.controller_error {
  display: none;
  text-align: left;
  margin: auto;
  margin-top: 1em;
}

.controller_error pre {
  font-size: 1em;
}

a[accesskey]:after, button[accesskey]:after, input[accesskey]:after, label[accesskey]:after, legend[accesskey]:after, textarea[accesskey]:after {
  margin-left: .5em;
  content: "[" attr(accesskey) "]";
  display: none; /*CM*/
}

h3 a[accesskey]:after {
  margin-left: .5em;
}

span.button a {
  display: inline-block;
  background-color: #333333;
  border-radius: 4px;
  margin: 0 .5em;
  padding: .25em .5em;
}

span.button a:link, span.button a:visited, span.button a:active {
  color: white;
}

span.button a:hover {
  color: yellow;
}

span.button a span.key {
  margin-left: .5em;
  font-size: 1em;
  font-weight: normal;
  display: none;
}

span.button a:hover {
  text-decoration: underline;
}

a[accesskey] {
  text-decoration: none;
  font-size: .75em;
  font-weight: normal;
  margin-left: 0px;
  color: white;
  display: none; /*CM*/
}

a[accesskey]:hover {
  color: yellow;
}

header {
  margin: 1em 0;
}

header > * {
  display: inline-block;
  vertical-align: top;
  max-width: 45%;
}

header #logo img {
  width: 100%;
}

header .store_select {
  color: white;
  font-size: 1em;
  padding: .5em;
  font-weight: bold;
  border-style: solid;
  border-width: .25em;
}

@media screen and (min-width: 500px) {
  header .store_select {
    position: absolute;
    right: 1em;
    top: 1em;
  }
}

header .store_select select {
  margin: .25em 0;
}

header .store_select :first-child {
  margin-top: 0;
}

header .store_select :last-child {
  margin-bottom: 0;
}

header .store_select label {
  padding-right: .75em;
}


header table th {
  text-align: right;
  padding-right: .75em;
}

main {
  text-align: center;
  padding: .5em;
}

.box, .notice, .alert {
  display: block;
  margin: 0 .5em;
}

.box {
  color: white;
  min-height: 250px;
  border-style: solid;
  border-width: .5em;
}

.alert {
  background-color: #EA5D64;
  border: 4px solid #EB1C23;
  padding: 15px 14px 15px 14px;
  margin-top: 10px;
  margin-bottom: 15px;
  color: white;
  font-weight: bold;
}

.notice {
  background-color: #FFA24F;
  border: 4px solid #F79239;
  padding: 15px 14px 15px 14px;
  margin-top: 10px;
  margin-bottom: 15px;
  color: white;
  font-weight: bold;
}

main .actions {
  font-size: .9em;
  text-align: center;
  margin-right: auto;
  margin-left: auto; 
}

footer {
  display: block;
  text-align: center;
  font-size: 9pt;
  padding: 10px;
}

footer .contents {
  color: #5D54A6;
  background-color: #FEFFBF;
  border: 8px solid #5D54A6;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

footer .contents .clear {
	clear: both;
}

footer .contents a.map_it {
  color: #5D54A6;
}

footer .header {
  font-weight: bold;
  text-transform: uppercase;
  vertical-align: top;
  width: 100%;
  height: 25px;
  margin-left: auto;
  margin-right: auto;
}

footer .store_last_updated {
  padding: 0px 10px 0px 10px;
  border-bottom: 1px solid #746BBF;
  text-align: left;
  vertical-align: top;
  display: inline-block;
  width: 300px;
  margin: auto;
}

@media screen and (max-width: 800px) {
  footer.store_last_updated {
    display: block;
  }
}

footer .store_last_updated .store_last_updated_header {
  text-align: center;
  vertical-align: top;
  font-weight: bold;
  margin-right: 10px;
  width: 100px;
  float: left;
}

footer .store_last_updated .store_last_updated_info {
  text-align: left;
  vertical-align: top;
  width: 190px;
  float: left;
}

footer .store_last_updated .since {
  color: #EB1C23;
}

form.simple {
  width: 95%;
  text-align: left;
  margin: auto;
}
form.simple input, form.simple select {
  font-size: 1em;
  width: 100%;
}
form.input#search {
  margin-bottom: 1em;
}
form.simple input.radio {
  cursor: pointer;
  width: 20px;
  margin: 0px;
}

form.simple label {
  cursor: pointer;
  line-height: 1.75em;
}
@media screen and (max-width: 600px) {
  form.simple label {
    font-size: .6em;
    font-weight: bold;
  }
}
form.simple div.actions {
  margin-top: 15px;
}

.button.right {
  float: right;
  margin: 1em;
}

form.main {
  font-size: 150%;
}

ul.help {
  font-size: .5em;
  text-align: left;
  display: block;
  overflow: hidden;
  margin-top: .5em;
}

form.simple ul.help {
  margin-top: 10px;
  font-size: 10pt;
}

input.error {
  border: 2px solid #EB1C23;
}

label.error {
  color: yellow;
  font-weight: bold;
}

.wall_id_location {
  float: right;
  font-size: .8em;
}

.pagination {
  font-size: 1em;
  color: #FEFFBF;
  margin-bottom: .75em;
}

.pagination a {
  color: white;
}

.out_of_stock {
  font-size: .8em;
  text-align: center;
}

.on_order {
  font-size: .75em;
  text-align: center;
}

a.map_it:link, a.map_it:visited, a.map_it:active {
  color: white;
  text-decoration: none;
}
a.map_it:hover {
  color: yellow;
  text-decoration: underline;
}
span.button.map_it a {
  display: inline-block;
  background: #333333;
  border-radius: 4px;
  padding: .25em .5em;
  margin: 0 .5em;
}

/* ============================================================================
  LOGIN/LOGOUT
============================================================================ */

#employee_name {
  text-transform: uppercase;
}

/* ============================================================================
  ITEM/SEARCH_RESULTS
============================================================================ */

table.item_information {
  text-align: left;
}
table.item_information tr th {
  padding-right: .25em;
  white-space: nowrap;
  text-align: left;
  font-size: .75em;
}
table.item_information tr td {
  font-size: .65em;
  vertical-align: bottom;
}
@media screen and (max-width: 600px) {
  table.item_information * {
    display: block;
  }
}
@media screen and (max-width: 1000px) {
  table.item_inventory.desktop {
    display: none;
  }
}
@media screen and (min-width: 1001px) {
  table.item_inventory.mobile {
    display: none;
  }
}
table.item_inventory {
  width: 95% !important;
  margin: 1em auto !important;
  border: .12em solid #F79239;
  border-collapse: collapse;
}
table.item_inventory th, table.item_inventory td {
  border: 1px solid #F79239;
  padding: .5em;
}
table.item_inventory .not_selectable *, table.item_inventory.not_selectable * {
  font-style: italic;
  color: #C6C3DF;
}
table.item_inventory.desktop thead tr, table.item_inventory.mobile tr:first-of-type * {
  background-color: #FFA24F !important;
  color: white !important;
  font-weight: bold;
}
table.item_inventory.desktop thead tr {
  font-size: .7em;
  vertical-align: top;
}
table.item_inventory.desktop tr th:nth-child(2),
table.item_inventory.desktop tr th:nth-child(3),
table.item_inventory.desktop tr th:nth-child(4),
table.item_inventory.desktop tr td:nth-child(2),
table.item_inventory.desktop tr td:nth-child(3),
table.item_inventory.desktop tr td:nth-child(4) {
  font-size: 1.2em;
}
table .smaller {
  font-size: .75em;
  display: block;
  font-weight: normal;
  margin-bottom: .5em;
}
table.item_inventory.mobile tr:first-child {
  font-size: .9em;
}
table.item_inventory.mobile tr td:first-child {
  text-align: left;
}
table.item_inventory.mobile tr:first-of-type td {
  text-align: center;
}
table.item_inventory.mobile tr:nth-of-type(2) td,
table.item_inventory.mobile tr:nth-of-type(3) td {
  font-size: 1.25em;
  font-weight: bold;
}
table.item_inventory tbody tr {
  text-align: right;
  background-color: white;
  font-size: .6em;
}

.price_check {
  text-align: center;
  width: 180px;
  margin-left: 0px;
  padding: 5px;
  font-weight: bold;
  font-style: italic;
  border-style: solid;
  border-width: 4px;
}

.outer_search_result_item {
  text-align: left;
}

.outer_search_result_item, .outer_search_result_costume {
  display: block;
  background-color: white;
  margin-bottom: 1.25em;
  padding: .5em;
  border-style: solid;
  border-width: .25em;
}

.result_image {
  margin-top: 10px;
  margin-right: 10px;
}

.highslide img {
  border-color: white;
}

.highslide-credits {
  position: absolute;
  left: -10000px;
}

.search_result_image {
  width: 120px;
  margin: 0 auto 1em auto;
}

.search_result_image .click_help {
  font-size: .5em;
}

.search_result_item, .search_result_costume {
  /* width: auto;
  width: 550px; 
  min-width: 800px; */
  display: inline-block;
  width: 100%;
}

table.not_selectable, table .not_selectable {
  cursor: default;
}
table .selectable:hover, table.selectable:hover * {
  cursor: pointer;
  color: #FFFFFF !important;
}
table .selected, table.selected * {
  background-color: #FEFFBF !important;
}

#item_select {
  display: inline-block;
  display: table;
  margin: auto;
  /*width: 1000px;*/
}

/* ============================================================================
  ITEM/SELECT
============================================================================ */

#store_order {
  margin: auto;
  display: table;
  display: inline-block;
  width: 100%;
}
#store_order #last_name {
  font-size: 100%;
  text-transform: uppercase;
}
#store_order .single {
  width: 50%;
  margin: auto;
}
#store_order .grid {
  width: 100%;
}
.item_order {
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 10px;
  width: 100%;
  border-style: solid;
  border-width: 2px;
}
.grid-row {
  vertical-align: top;
}

#store_order .warning {
  background-color: red;
  text-decoration: blink;
}

.item_order tr.info {
  vertical-align: top;
  text-align: left;
  padding: 10px;
}
.item_order td.qty_choose {
  background-color: white;
  padding: 10px;
}
.item_order td, .item_order th {
  padding: 0px;
  border: none;
  font-size: 80%;
}
.item_order th {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 70%;
}
.item_order td.qty_choose label, .item_order td.qty_choose input.radio {
  cursor: pointer;
}

/* ============================================================================
  ORDER
============================================================================ */

div.printout {
  width: 82mm;
  margin:5px 2px 5px 2px;
  background-color: white;
  color: black;
  display: table;
  display: inline-block;
  padding: 10px;
  text-align: left;
  border-style: solid;
  border-width: 2px;
  white-space:pre-wrap;
  font-family: monospace;
}

div.printout h3 {
  display: inline;
  font-size: 16pt;
}
div.printout h4 {
  display: inline;
  width: 100%;
  text-align: center;
  text-decoration: underline;
  margin-left: 50px;
}
div.printout h5 {
  display: none;
}

/* ============================================================================
  MAP
============================================================================ */

#map_grid {
  display: table;
  display: inline-block;
}
#map_grid td.directions {
  width: 450px;
}
#map_grid #map {
  margin-left: 10px;
  width: 720px;
  height: 545px;
}
#map_grid #directions {
  font-size: 75%;
}
#map_grid #directions a {
  color: white;
}

#map_grid h4 {
  margin: 10px 0px 10px 0px;
  padding: 2px;
  border-width: 2px;
  border-style: solid;
}

#map_grid h4.location {
  background-color: #FFA24F;
  border-color: #F79239;
}

#map_grid table.directions {
  background-color: white;
  color: #434343;
  width: 450px;
  padding: 5px;
  border-style: solid;
  border-width: 1px;
}
#map_grid table.directions tr {
  vertical-align: top;
}
#map_grid table.directions td {
  text-align: left;
}


