﻿/* Main positioning styles*/
html {
  overflow-y: scroll;
}

.noscript {
  text-align: center;
  font-weight: bold;
  color: #f00;
}

.bigger-font {
  font-size: 1.2em;
  font-weight: bold;
}

.underline {
  border-bottom: #ddd 1px solid;
}

.overline {
  border-top: #ddd 1px solid;
}

.sidelines {
  border-left: #ddd 1px solid;
  border-right: #ddd 1px solid;
}

.underpadding {
  padding-bottom: 5px;
}

.overpadding {
  padding-top: 5px;
}

.fullpadding {
  padding-top: 5px;
  padding-bottom: 5px;
}

.sidepadding {
  padding-left: 5px;
  padding-right: 5px;
}

.boxpadding {
  padding: 15px;
}

.navbar {
  font-size: 0.85rem;
}

.navbar-brand {
  height: 50px;
  width: 45px;
  padding: 0;
}

.btn-bar {
  margin: 10px;
}
.btn-bar.pull-right {
  margin-right: 0;
}
.btn-bar.pull-left {
  margin-left: 0;
}

.checkbox-list input {
  margin-right: 5px;
}
.checkbox-list label {
  margin-right: 15px;
}

a,
a:link,
a:visited,
a:active {
  cursor: pointer;
}

/* required so that you don't zoom on iOS */
/* #region Credit Card Icons */
.cc-icon {
  display: inline-block;
  background: url("/images/s-payment.svg?v=") no-repeat;
  position: relative;
  vertical-align: bottom;
}
.cc-icon.cc-icon-30 {
  height: 30px;
  width: 45px;
  background-size: 180px;
}
.cc-icon.cc-icon-30.cc-icon-visa {
  background-position: 0px 0;
}
.cc-icon.cc-icon-30.cc-icon-mc {
  background-position: -45px 0;
}
.cc-icon.cc-icon-30.cc-icon-amex {
  background-position: -90px 0;
}
.cc-icon.cc-icon-30.cc-icon-disc {
  background-position: -135px 0;
}
.cc-icon.cc-icon-30.cc-icon-blank {
  background-position: 45px 0;
}

/* #endregion */
/* #region edit categories */
#editCategories {
  list-style: none;
  font-weight: bold;
  color: #282828;
}

#editCategories li {
  margin-bottom: 10px;
}

#editCategories li ul {
  list-style-type: none;
  list-style-image: none;
  margin-top: 6px;
  color: #be1e24;
}

#editCategories li ul li {
  margin-bottom: 5px;
}

.categoryName {
  font-size: 1.3em;
  width: 500px;
  height: 56px;
  padding: 10px;
  border: solid 1px #777;
  background-color: #fff;
  position: relative;
}

.categoryName div {
  float: left;
  margin: 5px 5px 0px 5px;
}

.categoryName h2 {
  margin-top: -3px;
  margin-bottom: 0;
  margin-left: 5px;
}

.subcategoryInner {
  border: solid 1px #ccc;
  background-color: #eee;
  padding: 5px;
  width: 470px;
  height: 33px;
}

.subcategoryInner div {
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}

.catname,
.caturl {
  width: 200px;
}

.categoryName .url,
.subcategoryInner .url {
  font-weight: normal;
  color: #999;
  float: right;
  max-width: 230px;
  height: 15px;
  overflow: hidden;
}

/* #endregion */
/* #region item summary */
.itemSummary {
  padding-top: 20px;
  margin-bottom: 20px;
}
.itemSummary:hover {
  opacity: 0.8;
}

.itemSummaryGroup:last-of-type {
  border-bottom: #ddd 1px solid;
}

.itemSummaryThumb {
  max-width: 300px;
  width: 90%;
  overflow-y: hidden;
  margin: auto;
}

.soldout {
  text-transform: uppercase;
  font-weight: bold;
}

.regprice {
  text-decoration: line-through;
  font-weight: normal;
}

.newprice {
  color: #d00;
}

/* #endregion */
/* #region Item Details */
#itemDetailsTop {
  border-bottom: #ddd 1px solid;
  margin-bottom: 10px;
  padding-bottom: 5px;
  position: relative;
}

#itemDetails .discount {
  font-size: 0.9em;
}

.attributes {
  border-bottom: #ddd 1px solid;
  border-top: #ddd 1px solid;
  padding: 15px 0;
  margin: 0 0 10px;
  position: relative;
}

.attributes h2 {
  margin-top: 0;
}

.shirtCount {
  font-weight: bold;
  color: Green;
}

.shirtCount.under {
  color: Red;
}

.shirtCount.over {
  color: inherit;
}

.showMember {
  padding: 25px 0;
  border-bottom: #ddd 1px solid;
}

@media (min-width: 1200px) {
  .showMember {
    padding: 5px 0 0;
    border: none;
  }
}
/* #endregion */
/* Cart */
.upslogo {
  float: left;
  margin: 0 20px 0 10px;
}

.upslegal {
  margin: 20px;
  text-align: center;
  font-size: 0.8em;
  color: #999;
}

/* Order Summary */
.orderShipped {
  display: inline-block;
  padding: 10px;
  color: #3a87ad;
  background-color: #d9edf7;
  border: #bce8f1 1px solid;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Attributes */
#attributes {
  margin: 0;
  padding: 0;
}

#attributes li {
  list-style: none;
}

#attributes ul {
  padding-left: 20px;
}

/* Backend stuff */
#pageButtons button {
  background-image: url("buttonRepeat.jpg");
  background-repeat: repeat-x;
}

.pageButtons {
  position: absolute;
  top: 23px;
  right: 35px;
}

/* tables */
.table-no-border {
  border: none;
}
.table-no-border > thead > tr,
.table-no-border > tbody > tr,
.table-no-border > tfoot > tr {
  border: none;
}
.table-no-border > thead > tr > td,
.table-no-border > thead > tr > th,
.table-no-border > tbody > tr > td,
.table-no-border > tbody > tr > th,
.table-no-border > tfoot > tr > td,
.table-no-border > tfoot > tr > th {
  border: none;
}

tr.selected {
  background-color: #FCFBD0;
}

tr.refunded td,
tr.refunded td a,
tr.refunded td a:link,
tr.refunded td a:visited {
  color: #f00;
}

div.recordcount {
  float: left;
  width: 200px;
  font-style: italic;
  margin-bottom: 3px;
}

div.recordcount span {
  font-style: normal;
}

/* custom classes */
.product {
  float: left;
  width: 200px;
  height: 210px;
  text-align: center;
  margin-right: 15px;
  margin-bottom: 10px;
}

.error,
.validate {
  color: #FF0000;
  font-weight: normal;
}

.info {
  color: #008000;
}

.help {
  color: #000000;
  font-style: italic;
}

.question {
  text-align: right;
}

ul.simplelist {
  margin: 0;
  padding: 0;
}

ul.simplelist li {
  list-style: none;
  position: relative;
}

.tdcenter,
tr.tdcenter td {
  text-align: center;
}

.tdright {
  text-align: right;
}

.clear {
  clear: both;
}

.photoleft {
  float: left;
  padding-right: 10px;
  padding-bottom: 10px;
}

.photoright {
  float: right;
  padding-left: 10px;
  padding-bottom: 10px;
}

.norecords {
  color: Red;
  text-align: center;
}

/* products */
.result {
  margin-top: 0px;
  margin-left: 160px;
  width: 250px;
  height: 100px;
  border: dashed 2px #000000;
  background-color: #FFFFFF;
  padding: 8px;
  text-align: center;
  z-index: 20;
}

ul.resources {
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0;
}

ul.resources li {
  display: inline;
  padding-right: 5px;
}

/* Download */
#ajax-download {
  padding: 5px 10px;
  border-bottom: solid 1px #A3D7FF;
  border-right: solid 1px #A3D7FF;
  border-left: solid 1px #A3D7FF;
  background: #EDEDED;
  display: none;
  position: absolute;
  top: 0px;
  right: 150px;
}

.editfield {
  cursor: pointer;
}

#searchForm input.form-control {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
#searchForm .input-group-text {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.translucent {
  opacity: 0.25;
}

.panel.panel-delete {
  background-color: #f2dede;
  border: #ebccd1 1px solid;
}

/* AJAX spinner */
@-moz-keyframes css-spinner {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes css-spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes css-spinner {
  0% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.css-spinner-sm,
.css-spinner {
  -moz-animation: css-spinner 2500ms infinite linear;
  -webkit-animation: css-spinner 2500ms infinite linear;
  animation: css-spinner 2500ms infinite linear;
  border-radius: 0.75em;
  display: inline-block;
  font-size: 0.2em;
  margin: 1.5em;
  overflow: hidden;
  text-indent: 100%;
}

.css-spinner {
  width: 1em;
  height: 1em;
  box-shadow: #AAA7A9 1.5em 0 0 0, #AAA7A9 1.1em 1.1em 0 0, #AAA7A9 0 1.5em 0 0, #AAA7A9 -1.1em 1.1em 0 0, #AAA7A9 -1.5em 0 0 0, #AAA7A9 -1.1em -1.1em 0 0, #AAA7A9 0 -1.5em 0 0, #AAA7A9 1.1em -1.1em 0 0;
}

.css-spinner-sm {
  width: 1.5em;
  height: 1.5em;
  box-shadow: #AAA7A9 1.5em 0 0 0, #AAA7A9 0 1.5em 0 0, #AAA7A9 -1.5em 0 0 0, #AAA7A9 0 -1.5em 0 0;
}

.btn-bar .css-spinner,
.btn-bar .css-spinner-sm,
.form-inline .css-spinner,
.form-inline .css-spinner-sm {
  margin: 0 1.5em;
  font-size: 0.4em;
}

.spinner-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 1051;
}
.spinner-mask .css-spinner {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 40%;
  font-size: 1em;
  height: 1em;
  width: 1em;
}
