.sub-header {
  color: #676767 !important;
  display: block;
  font-size: 85%;
  margin-bottom: 10px;
  text-transform: none;
}

.clearfix::before, .clearfix::after, .dl-horizontal dd::before, .dl-horizontal dd::after, .container::before, .container::after, .container-fluid::before, .container-fluid::after, .row::before, .row::after, .form-horizontal .form-group::before, .form-horizontal .form-group::after, .btn-toolbar::before, .btn-toolbar::after, .btn-group-vertical > .btn-group::before, .btn-group-vertical > .btn-group::after, .nav::before, .nav::after, .navbar::before, .navbar::after, .navbar-header::before, .navbar-header::after, .navbar-collapse::before, .navbar-collapse::after, .pager::before, .pager::after, .panel-body::before, .panel-body::after, .modal-footer::before, .modal-footer::after {
    display: block;
}

h1 {
    margin-bottom: 36px;
}


#shop-nav {
  float: left;
  width: 100%;
  margin: 0 0 60px 0;
  height: 60px;
  border-bottom: 1px solid #ddd;
}

#shop-nav > ul {
  margin: 0;
}

#shop-nav li {
  float: left;
  list-style: outside none none;
}

#shop-nav li a {
  border-right: 1px solid #ddd;
  color: #676767;
  display: block;
  font-size: 19px;
  line-height: 60px;
  padding: 0 45px;
}

#shop-nav li a:hover, #shop-nav li.active a {
    background: #eee;
}

.shop-item {
  float: left;
  margin: 0 0 36px;
  overflow: hidden;
  padding: 0 1%;
  text-align: center;
  position: relative;
}

.col4 {
  width: 25%;
}
/*
.col4:nth-of-type(4n+1) {
    clear: both;
}
*/
.col5 {
    width: 20%;
}
/*
.col5:nth-of-type(5n+1) {
    clear: both;
}
*/
.shop-item img {
  margin-bottom: 6px;
  width: auto !important;
}

.shop-item h3 {
    margin-bottom: 10px;
}

.shop-item h4 {
  display: block;
  font-size: 15px;
  height: 44px;
  margin-bottom: 2px;
  overflow: hidden;
  text-transform: none;
  width: 100%;
}

/*
.view-item {
  border: 1px solid #0d577f;
  border-radius: 2px;
  color: #0d577f;
  display: inline-block;
  font-size: 16px;
  line-height: 35px;
  padding: 0;
  position: absolute;
  bottom: 0;
  width: 130px;
  left: 50%;
  margin: 0 0 0 -65px;
}
*/

.view-item {
  border: 1px solid #0d577f;
  border-radius: 2px;
  color: #0d577f;
  display: inline-block;
  line-height: 35px;
  padding: 0 20px;
}

.view-item.view-item-yellow, .yellow {border-color: #d4a700; color: #d4a700;}



.tab-content {
    display: none;
}

.tab-content-active {
    display: block !important;
}

.shop-category-header {
    border-bottom: 3px solid #d1a300;
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}

.shop-category-header h2 {
    margin-bottom: 10px;
}

.shop-category-header h4 {
    margin-bottom: 0;
}

.shop-item-count {
    color: #d1a300;
    font-size: 16px;
}

.shop-item-sort {
    position: absolute;
    right: 0;
    bottom: 15px;
  font-size: 16px;
}

.shop-sort-by {
  color: #999;
  margin-bottom: 10px;
}

.shop-category-sort {
    font-weight: bold;
    color: #000;
}

/** CART **/
.disabled-submitorder {
    opacity:0.4;
    cursor:default
}

.blue {
    color:#337ab7
}

.blue.removeDonation,
.blue.removeSubscription,
.blue.removeItem {
    font-size: 14px;
    font-weight: 400;
}

table.shop-cart, table.cart-summary-table, table.payment-method-table {
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  width: 100%;
}

.shop-cart td, .shop-cart th, .cart-summary-table td, .cart-summary-table th, .payment-method-table td, .payment-method-table th {
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  padding: 10px 15px;
  vertical-align: middle;
}

td.cart-img, td.cart-img img {width: 65px;}
.cart-title, .cart-media-type {font-size: 18px; font-weight: bold;}
.cart-quantity input {text-align: right; border: 1px solid #ddd;}
.cart-total {font-weight: bold; font-size: 16px;}
.cart-summary {width: 100%;float: left; padding-top: 30px;}
table.cart-summary-table {width: 32%; min-width: 280px; float: right;}
.cart-summary-table td {text-align: right;}
.cart-total-row {background: #eee; font-weight: bold; font-size: 17px;}
table.payment-method-table {width: 65%; height: 257px; float: left;}

/** PRODUCT DETAIL **/
.product-img {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  float: left;
  margin: -15px 0 15px -15px;
  padding: 15px 2%;
  text-align: center;
  width: 36%;
}

.product-info {
  float: right;
  width: 62%;
}

.product-info h1, .product-info h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-headline {
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid #bbb;
  border-bottom:  1px solid #bbb;
  margin-top: 10px;
  font-weight: bold;
}

.product-ind-headline {
  margin-bottom: 10px;
  border-bottom: 2px solid #d4a700;
}

.product-desc {
  border-bottom: 1px solid #bbb;
}

.product-price {
  font-size: 22px;
  margin-bottom: 0;
}

.product-status-in-stock {
    color: green;
    font-weight: 600;
}

#product-nav {
    margin-bottom: 15px;
    float: left;
    width: 100%;
}

#product-nav li {
  list-style: none;
  float: left;
  margin-right: 5px;
}

#product-nav li a {
  background: #999 none repeat scroll 0 0;
  color: #fff;
  display: block;
  font-size: 21px;
  line-height: 42px;
  padding: 0 15px;
  width: 250px;
}

#product-nav li.active a {
    background: #d4a700;
}

/** SLIDERS **/
.slide-wrapper .slide-group {border: 1px solid #eee; clear: both; float: left; width: calc(100% - 2px);}
.slide-wrapper h3 {margin-bottom: 1px;}
.slide-wrapper h3 a, .slide-wrapper h3 a:visited {display: block; text-decoration: none !important; padding: 15px 20px; color: #000 !important; background: #ededed; font-size: 15px;}
.slide-wrapper h3 a:hover {background: #d4a700; color: #fff !important;}
.slide-wrapper h3 a.active {background: #125075; color: #fff !important; text-decoration: none !important;}
.slide-wrapper h3.last-slide {margin-bottom: 0 !important;}
.slide-wrapper .slide-content {padding: 15px; width: calc(100% - 30px); float: left;}

/** FORM ELEMENTS **/
label {display: block; margin-bottom: 2px;}
.input-shop {border:1px solid #ddd; height: 32px;}
.input-full {width: calc(100% - 2px)}
.input-half {margin-right: 2%; width: 47%;}

/** MISC **/
.heading-border {padding-bottom: 5px; border-bottom: 1px solid #ddd; margin-bottom: 20px !important;}
.heading-yellow-border {border-bottom: 2px solid #d4a700;}
.simple-clear {clear: both;}

@media all and (max-width: 991px) {
    .shop-item h4 {
        font-size: 13px;
        height: 35px;
    }
    .col5 {
        width: 33%;
    }
}

@media all and (max-width: 959px) {
    .shop-item img {
        height: 150px !important;
    }
}

@media all and (max-width:767px) {
    table {
        max-width: 100% !important;
    }

    .col4, .col5 {
        width: 33%;
    }
    
    .col5:nth-of-type(5n+1) {
        clear: none;
    }
    
    .col-xs-6 {
        width: calc(100% - 30px);
        clear: both;
        margin-bottom: 20px;
    }

    ol.breadcrumb {
        display: none;
    }
    
    #shop-nav {
        height: 45px;
        margin: 0 0 30px;
    }
    
    #shop-nav li {
        width: 25%;
    }
    
#shop-nav li span {
  display: table;
  height: 45px;
  width: 100%;
}

#shop-nav li.active span {
  background: #eee;
}

#shop-nav li a {
  display: table-cell;
  font-size: 14px;
  height: 45px;
  line-height: 15px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
    /*
    #shop-nav li a {
        font-size: 14px;
        line-height: 45px;
        padding: 0;
        text-align: center;
    }
    */
    .shop-table-wrap {
        overflow-x: auto;
    }
    
    table.shop-cart {
        width: 800px;
    }
    
    table.payment-method-table, table.cart-summary-table {
        width: calc(100% - 2px);
    }
    
    .product-img, .product-info {
        width: 95%;
        float: none;
        margin: 0 auto;
        clear: both;
        border: none;
    }
    
    .shop-item-sort {
        bottom: auto;
        font-size: 12px;
        position: relative;
        right: auto;
    }
    
}

@media all and (max-width:480px) {
    .shop-item h4 {
        font-size: 12px;
    }

    .col4, .col5 {
        width: 50%;
    }

    .cart-actions .button {
      float: none !important;
      text-align: center;
      width: 100%;
      margin: 0 0 15px 0;
    }

    #shippingAddresses {
        width: 100% !important;
        padding: 0 !important;
    }

    #step3 .slide-wrapper .slide-content {
        width: 100%;
    }

    #step3 .pull-left {
        margin-bottom: 15px !important;
    }

    #step4 .col-xs-6 {
        width: 100% !important;
        padding: 0 !important;
    }
}

@media all and (max-width:360px) {
    .col4, .col5 {
        width: 100%;
        padding: 0;
    }
}


/*Credit Cards*/
.creditCardNumberContainer {
    height: 45px;
}

.creditCardImages {
    width: 50%;
    float: left;
}

.card_number_input {
    width: 50%;
    float: left;
    padding-left: 3px;
    height: 35px;
}


.card_number_tick {
    /*background-image: url(../images/tick-neutral.png);*/
    background-repeat: no-repeat;
    background-position: center right 5px;
}


.card_number_tick.valid {
    background-image: url(../images/tick-green.png);
}

.card_number_tick.invalid {
    background-image:url(../images/tick-red.png);
}


@media (max-width:990px) {
    .creditCardImages {
        width: 100%;
        float: left;
    }

    .card_number_input {
        width: 100%;
        float: left;
        margin-bottom:5px;
    }

    .card_number {

    }
}

.card_number {
    background-image: url(../images/credit_cards.png), url(../images/credit_cards.png);
    background-position: -42px -121px, 260px -61px;
    background-size: 110px 361px;
    background-repeat: no-repeat;
    margin-right: 10px;
    width: 41px;
    height: 35px;
    float: left;
}

    .card_number.visa {
        background-position: -42px -163px, 260px -61px;
    }

    .card_number.visa_electron {
        background-position: -42px -205px, 260px -61px;
    }

    .card_number.mastercard {
        background-position: -42px -247px, 260px -61px;
    }

    .card_number.maestro {
        background-position: -42px -289px, 260px -61px;
    }

    .card_number.discover {
        background-position: -42px -331px, 260px -61px;
    }

    .card_number.valid.visa {
        background-position: 0px -163px;
    }

    .card_number.valid.amex {
        background-position: 0px -121px;
    }

    .card_number.valid.visa_electron {
        background-position: 2px -205px, 260px -87px;
    }

    .card_number.valid.mastercard {
        background-position: 0px -247px;
    }

    .card_number.valid.maestro {
        background-position: 2px -289px, 260px -87px;
    }

    .card_number.valid.discover {
        background-position: 0px -331px;
    }

.grayscale {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.validation-summary-valid {
    display:none;
}

.validation-summary-errors span {
    font-size:20px;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 5px;
}

.rrssb-buttons .share {
    height:42px;
    padding-top:10px;
}

/*notify dialog*/
.ui-pnotify-title {
  background: #1d475c;
}