.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;
}