.urlshorten {
    display: inline-block;
    width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.social-icons {
    margin: 10px;
    width: 100%;
    text-align: center;
    font-size: 200%;
}
.social-icons a {
    margin: 5px;
    opacity: .9;
    filter:alpha(opacity=90); /* For IE8 and earlier */
}
.social-icons a:hover {
    opacity: .7;
    filter:alpha(opacity=70); /* For IE8 and earlier */
}

#map-canvas { height: 200px; }

.footer {
    border-top: 5px inset #aaa;
    background-color: black;
    margin-top: 50px;
    padding-top: 30px;
    color: #aaa;
    min-height: 600px;
}

.footer a {
    color: #ccc;
}

.footer .nav a:hover {
    color: black;
}

.swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #333;
}

.theme-header, .theme-header-demo {
    position: relative;
    height: 200px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 1138px 142px;
    height: 194px;
}

.theme-header .theme-heading, .theme-header-demo .theme-heading {
    text-align: center;
    padding-top: 40px;
    margin-top: 10px;
    font-size: 500%;
    font-weight: 100;
    overflow: hidden;
    white-space: nowrap;
}

.theme-header .theme-heading a, .theme-header-demo .theme-heading a {
    color: white;
    text-decoration: none;
}

.theme-header-link {
    display: block;
    height: 150px;
    width: 100%;
}

.theme-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100%;
    z-index: 1050;
}

.theme-container {
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.theme-description {
    font-size: 115%;
    font-weight: 200;
}

.help-block {
 color: #4F4F4F;
}

.datetimepicker {
    color: black;
}

@media screen and (max-width:1200px) {
    .theme-header {
        background-size: 938px 117px;
        height: 169px;
    }
    .theme-header .theme-heading {
        padding-top: 20px;
        margin-top: 0;
    }
}
@media screen and (max-width:992px) {
    .theme-header {
        background-size: 718px 90px;
        height: 142px;
    }
    .theme-header .theme-heading {
        padding: 10px;
        margin: 0;
	font-size: 430%;
    }
}
@media screen and (max-width:768px) {
    .theme-header {
        background-size: 100% 90px; /* width: 721px */
        height: 142px;
    }
    .theme-header .theme-heading {
	padding-top: 20px;
        margin: 0;
	font-size: 400%;
    }
}
@media screen and (max-width:650px) {
    .theme-header {
        background-size: 100% 77px; /* width: 615px */
        height: 129px;
    }
    .theme-header .theme-heading {
	padding-top: 15px;
        margin: 0;
	font-size: 350%;
    }
}
@media screen and (max-width:575px) {
    .theme-header {
        background-size: 100% 68px; /* width: 542px */
        height: 120px;
    }
    .theme-header .theme-heading {
	padding-top: 10px;
        margin: 0;
	font-size: 300%;
    }
}
@media screen and (max-width:500px) {
    .theme-header {
        background-size: 100% 48px; /* width: 382px */
        height: 100px;
    }
    .theme-header .theme-heading {
	padding-top: 10px;
        margin: 0;
	font-size: 220%;
    }
}

/*  bootstrap overrides */

.table .table {
    background: none;
}

.table caption {
  color: black;
  font-weight: 200;
}

tr.success, tr.danger, tr.warning {
    color: black;
}

tr.success a, tr.danger a, tr.warning a {
    color: black;
    text-decoration: underline;
}

.badge {
  background-color: #595959;
}

h1 {
    margin-top: 0;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #000;
    border-color: #000;
}

.pagination>.active>a {
  color: white;
}

.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
  color: #595959;
}


.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

.well { color: black; }

.btn-success {
 background-color: #4A5D27;
 border-color: #4A5D27;
}
.btn-success:hover {
 border-color: #6b8237;
 background-color: #6b8237;
}

.btn-info {
 background-color: #1D5E72;
 border-color: #1D5E72;
}
.btn-info.active {
  color: black;
}
.btn-info:hover {
 border-color: #68cdf0;
 background-color: #68cdf0;
}

.btn-danger {
 background-color: #cb2026;
 border-color: #cb2026;
}
.btn-danger:hover {
 border-color: #f27079;
 background-color: #f27079;
}

.alert a.btn {
 color: white;
}

.alert a.btn:link {
 text-decoration: none;
}

.btn-primary {
 background-color: black;
 border-color: #222222;
}

.btn-primary:hover {
 border-color: #444;
 background-color: #444;
}

.btn-warning {
 background-color: #d18828;
 border-color: #d18828;
 color: black;
}
.btn-warning.active {
  color: black;
}
.btn-warning:hover {
 border-color: #F6B650;
 background-color: #F6B650;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
 background-color: #444;
}

.alert a, .alert A:link, .theme-container .alert A:link,  #livepreview .theme-container .alert A:link {
    text-decoration: underline;
  color: black;
}

.alert-info {
  color: #014F53;
  background-color: #68cdf0;
  border-color: #68cdf0;
}

.alert-warning {
  color: #955B00;
  background-color: #F6B650;
  border-color: #F6B650;
}

.alert-success {
  color: #728500;
  background-color: #b2c977;
  border-color: #b2c977;
}

.alert-danger {
  color: #801100;
  background-color: #f27079;
  border-color: #f27079;
}

.label-success {
  color: black;
}

.label-warning {
  color: black;
}

#sitenav .navbar-brand {
 padding: 5px;
}

.navbar-default .navbar-brand, .navbar-default .navbar-nav>li>a {
 color: #555;
}

.product {
  max-width: 230px;
  height: 330px;
  overflow: hidden;
  position: relative;
}

.product a:hover {
  text-decoration: none;
}

.product-buy {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.product-name {
  font-weight: bold;
  height: 20px;
  padding: 0;
  margin-top: 0;
}

.product-desc {
  height: 55px;
  padding-bottom: 20px;
  overflow: hidden;
  font-size: 90%;
}

.product-img {
  max-width: 230px;
  max-height: 200px;
  overflow: hidden;
}

.supply {
  max-width: 230px;
  height: 330px;
  overflow: hidden;
  position: relative;
}

.supply a.supply-link {
  color: #000000;
}

.supply a:hover {
  text-decoration: none;
}

.supply-buy {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Non-interactive version of .supply-buy. */
.supply-price {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Turn off Bootstrap .btn effect. */
  cursor: auto !important;
}

.supply-name {
  font-weight: bold;
  padding: 0;
  margin-top: 0;
}

.supply-desc {
  height: 55px;
  padding-top: 5px;
  padding-bottom: 20px;
  overflow: hidden;
  font-size: 90%;
}

.supply-img {
  max-width: 230px;
  max-height: 200px;
  overflow: hidden;
}

.supply-select-badgetype {
  padding: 3px;
}

/* Privacy Prefs Popups */

.privacy-popup {
  --privacy-popup-padding-lg: 16px;
  --privacy-popup-padding-sm: var(--privacy-popup-padding-lg);

  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100dvh - 50px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.4;
  z-index: 999;
  box-shadow: 0px -1px 40px 0px rgba(0, 0, 0, 0.20);
  overflow: auto;
  overscroll-behavior-y: contain;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .privacy-popup {
    --privacy-popup-padding-lg: 34px;
    --privacy-popup-padding-sm: 20px;
  }
}

.privacy_prefs__inner {
  padding: var(--privacy-popup-padding-lg);
  padding-bottom: 0;
  background-color: #fff;
  color: #333;
  max-width: 1500px;
  margin: 0 auto;
}

.privacy_prefs_overview {
  display: grid;
  padding: var(--privacy-popup-padding-lg);
  gap: var( --privacy-popup-padding-sm);
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .privacy_prefs_overview {
    grid-template-columns: 1fr max-content;
  }
}

.privacy_prefs__quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: var(--privacy-popup-padding-lg);
  border-top: 1px solid #E1E3E5;
  flex-direction: row-reverse;
  justify-content: space-between;
}

@media screen and (min-width: 768px) {
  .privacy_prefs__quick-actions {
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 var(--privacy-popup-padding-lg);
    border-top: 0;
    border-left: 1px solid #E1E3E5;
  }
}

.privacy_prefs__inner h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 .25em 0;
}

.privacy_prefs__inner h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 .25em 0;
}

.privacy_prefs__inner p {
  font-size: 14px;
  margin: 0;
}

.privacy-popup .btn {
  padding-left: 14px;
  padding-right: 14px;
}

.privacy_prefs_my_options {
  display: inline;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
  appearance: none;
  color: #337ab7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy_prefs_my_options:hover {
  color: #23527c;
}

.privacy_prefs__grid {
  display: grid;
  gap: 34px;
  padding-top: calc(var(--privacy-popup-padding-lg) / 2);
  padding-bottom: calc(var(--privacy-popup-padding-lg) / 3);
}

@media screen and (min-width: 768px) {
  .privacy_prefs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.privacy_prefs__radio-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 14px;
  line-height: 1;
  margin: 1em 0 0 0;
}

.privacy_prefs__radio-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 500;
  max-width: max-content;
  cursor: pointer;
}

.privacy_prefs__radio-group input {
  margin: 0;
  line-height: inherit;
}

.privacy_prefs__footer {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background-color: #fff;
  margin-top: var(--privacy-popup-padding-sm);
  padding: var(--privacy-popup-padding-sm) 0 var(--privacy-popup-padding-sm) 0;
  border-top: 1px solid #E1E3E5;
}

#privacy_prefs_save {
  margin-left: auto;
}
