/* Bootstrap 3 Responsive Utilities */

.visible-xs,
tr.visible-xs,
th.visible-xs,
td.visible-xs {
    display: none !important;
}
.visible-sm,
tr.visible-sm,
th.visible-sm,
td.visible-sm {
    display: none !important;
}
.visible-md,
tr.visible-md,
th.visible-md,
td.visible-md {
    display: none !important;
}
.visible-lg,
tr.visible-lg,
th.visible-lg,
td.visible-lg {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-xs {
        display: block !important;
    }
    table.visible-xs {
        display: table;
    }
    tr.visible-xs {
        display: table-row !important;
    }
    th.visible-xs,
    td.visible-xs {
        display: table-cell !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}

@media (max-width: 767px) {
  .hidden-xs,
  tr.hidden-xs,
  th.hidden-xs,
  td.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm,
  tr.hidden-sm,
  th.hidden-sm,
  td.hidden-sm {
    display: none !important;
  }

.header-logo {

    left: 0px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md,
  tr.hidden-md,
  th.hidden-md,
  td.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-lg,
  tr.hidden-lg,
  th.hidden-lg,
  td.hidden-lg {
    display: none !important;
  }
}

.visible-print,
tr.visible-print,
th.visible-print,
td.visible-print {
  display: none !important;
}

@media print {
  .visible-print {
    display: block !important;
  }
  table.visible-print {
    display: table;
  }
  tr.visible-print {
    display: table-row !important;
  }
  th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
}

@media print {
  .hidden-print,
  tr.hidden-print,
  th.hidden-print,
  td.hidden-print {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {

/* == Side Category Popout == */

#SideCatPopOut {
  position: relative;
  z-index: 69;
}

#SideCatPopOut ul li {
  position: relative;
}

#SideCatPopOut ul li a {
  display: block;
  position: relative;
}

#SideCatPopOut ul li a .caret {
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  text-indent: -99999px;
  *text-indent: 0;
  vertical-align: top;
  border-top: 4px solid transparent;
  border-left: 4px solid #777;
  border-bottom: 4px solid transparent;
  opacity: 0.3;
  filter: alpha(opacity=30);
  content: "\2193";
}

#SideCatPopOut ul.category-list > li > a:hover > .caret,
#SideCatPopOut ul.category-list > li.dropdown.open > a > .caret {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* popout styles */
#SideCatPopOut ul li ul {
  position: absolute;
  top: -4px;
  left: 100%;
  z-index: 1000;
  float: left;
  display: none;
  width: 220px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc!important;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;
}

#SideCatPopOut ul li ul:before {
  content: '';
  display: inline-block;
  border-top: 7px solid transparent;
  border-right: 7px solid #ccc;
  border-bottom: 7px solid transparent;
  position: absolute;
  top: 7px;
  left: -7px;
}

#SideCatPopOut ul li ul:after {
  content: '';
  display: inline-block;
  border-top: 6px solid transparent;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 8px;
  left: -6px;
}

#SideCatPopOut ul li ul li {
  margin: 0px 3px;
}

#SideCatPopOut ul li:hover,
#SideCatPopOut ul .dropdown.open {
*z-index: 1000;
}

#SideCatPopOut ul li a:active,
#SideCatPopOut .dropdown-toggle:active,
#SideCatPopOut .open .dropdown-toggle {
  outline: 0;
}

#SideCatPopOut ul li:hover > ul { display: block; }
#SideCatPopOut ul .dropdown.open > .dropdown-menu {
  display: block;
}

#SideCatPopOut li li a {
  display: block;
  padding: 3px 15px;
  clear: both;
  font-weight: 400;
  text-decoration: none;
  color: #555555;
  white-space: nowrap;
}

/* 2nd level and below drop down styles */
#SideCatPopOut ul li ul li ul {
  left: 220px;
}

#SideCatPopOut ul li ul li > a:hover > .caret {
  border-left: 4px solid #fff;
}

#SideCatPopOut ul li ul li.dropdown.open > a > .caret {
  opacity: 1;
  filter: alpha(opacity=100);
}

/* End Side Category PopOut */

}

/* Medium Devices -- up to 1199px */
@media screen and (max-width: 1199px) {

  /* Features Box */

  .features-box .features-item {
    text-align: center;
  }
  .features-box .features-item img {
    float: none;
  }
  .features-box .features-item p {
    float: none;
    width: 100%;
    margin: 0;
  }

}

/* Classic Next Responsive Styles */

/* Medium Devices -- Desktops up to 991px */
@media (max-width: 991px) {

    /* Hide */

    /* Show */

    /* Layout */

    .Left {
        width: 25%;
    }
    .Content.Wide,
    #LayoutColumn2 {
        width: 75%;
    }

    #home .ProductList li,
    .productPage .ProductList li {
        width: 25%;
    }
    .ProductList li {
        width: 33.333333%;
    }

    /* Checkout */

    .checkout-wrap {
        padding: 0;
        background: none;
        border: none;
    }

}

/* Small Devices -- Tablets up to 767px */
@media screen and (max-width: 767px) {

    /* Disable Product Page Fancybox */
    #fancy_overlay,
    #fancy_loading,
    #fancy_outer {
        display: none !important;
    }

    /* Grid */
    #Header .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    #Header .row > [class*='col-'] {
        padding: 0 5px;
    }

    .Left {
        float: none;
        width: auto;
    }

    .Content,
    .Content.Wide,
    #LayoutColumn2 {
        float: none;
        width: 100%;
    }

    /* Hide */

    .TopMenu,
    .PageMenu,
    .PrimaryMenu-wrap,
    /*#SideCatPopOut,*/
    .QuickViewBtn,
    .sf-menu li > ul,
    .productlist-page .Left,
    .ProductCompareButton,
    .CompareButton {
        display: none !important;
    }

    #HomeSlideShow,
    #ProductBreadcrumb,
    .productlist-page .Left {
        display: none;
    }

    .CartContents > thead,
    .CartContents .CartThumb,
    .CartContents .CartItemIndividualPrice {
        display: none !important;
    }

    #ModalContainer .fastCartThumb,
    #ModalContainer .fastCartItemBox div,
    #ModalContainer .Quantity,
    #ModalContainer .fastCartBottom {
        display: none !important;
    }

    #shareDescription {
        display: none;
    }

    /* Show */

    /*.header-secondary,*/
    /*#home .PageMenu {
        display: block !important;
    }*/

    .SubCategoryList.mobile {
        display: block;
    }

    /* Layout */
    #ProductDetails .left-content {
        float: none;
        width: auto;
    }

    .PrimaryProductDetails .ProductMain {
        float: none;
        padding: 0 0 20px 0;
        width: 100%;
    }

    .footer-main .SocialConnect ul {
        margin: 0;
        padding: 0 0 20px;
        text-align: center;
    }

    .footer-main .inner {
        padding: 20px 0 0 0;
    }

    #AjaxLoading {
        background-color: rgba(0,0,0,.7);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    #AjaxLoading .ajax-loader {
        position: absolute;
        margin-top: -16px;
        top: 50%;
        right: 0;
        left: 0;
    }

    #ModalOverlay {
        background-color: #000;
        opacity: 0.7 !important;
    }

    .productlist-page .CategoryContent {
        padding: 0;
    }

    .fastCartThumb,
    .fastCartItemBox,
    .fastCartSummaryBox {
        float: none;
        width: 100%;
    }

    #ModalContainer {
        background-color: #fff;
        top: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        width: auto !important;
        margin-left: 0 !important;
    }

    #ModalContainer .fastCartTop {
        padding: 0;
    }

    #ModalContainer .fastCartItemBox {
        padding: 0;
        text-align: center;
    }

    #ModalContainer .fastCartSummaryBox {
        margin: 0 auto;
        float: none;
        overflow: hidden;
    }

    .login-form .one-half {
        width: 100%;
    }

    .login-form .CreateAccount {
        margin-bottom: 20px;
    }

    /* Forms */

    #ContactForm .Submit, #CheckoutStepPaymentDetails .Submit {
        margin-left: 0;
    }

    /* Header */
    #Header {
        position: fixed;
        top: 0;
        width: 100%;
        padding-top: 40px;
        z-index: 100;
        background-color: #fff;
        border-bottom: 1px solid #efefef;
    }

    .header {
        border: none !important;
        padding-top: 105px;
        margin-bottom: 20px;
        position: relative;
        z-index: 80;
    }

    .header-logo {
        float: none;
        margin:0;
        padding:0;
        text-align: center;
    }
    .header-logo h1 {
        display: block;
        margin: 0;
        padding: 0;
    }
    .header-logo a {
        display: block;
        padding: 10px 0;
    }
    .header-logo img {
        max-height: 60px;
        display: block;
        margin: 0 auto;
    }

    .header-secondary {
        float: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff
    }

    .header-secondary .currency-converter {
        display: none;
    }

    .header-secondary #SearchForm input.Textbox {
        border: 0;
        background: none;
        color: #d6d6d6;
    }

    .header-secondary #SearchForm input.Button {
        background-color: transparent;
        position: absolute;
        border: 0;
        height: 100%;
    }

    .header-secondary #SearchForm {
        float: none;
        width: 100%;
    }

    .header-secondary .QuickSearch {
        border-top-width: 0 !important;
    }

    .TopMenu ul {
        text-align: center;
    }

    /* Multipage Cart Styling */
    .TabNav {
        border-bottom: 0;
        margin: 0 -5px 10px;
        padding: 0;
        font-size: 0;
    }

    .TabNav li {
        width: 50%;
        margin: 0 0 10px;
        padding: 0 5px;
        text-align: center;
    }

    .TabNav li a {
        margin: 0;
        font-size: 12px;
    }

    .TabPanels h2 {
        font-size: 18px;
    }

    /* Product List View */
    .ProductList.List li {
        text-align: center;
    }
    .ProductList.List .ProductImage {
        float: none;
        width: 100%;
    }
    .ProductList.List .ProductDetails {
        padding: 0;
        border-top: none;
        border-bottom: 1px solid #e3e3e3;
    }

    .ProductList.List .ProductRightCol {
        float: none;
    }
    .List.ProductList li .ProductPriceRating {
        padding: 10px 0;
        text-align: center;
    }

    /* Newsletter */
    .newsletter-subscription input {
        margin-bottom: 20px;
    }

    .newsletter-subscription h4 {
        padding: .5em 0;
        font-size: 1.5em;
        text-align: center;
    }

    /* Forms */
    .HorizontalFormContainer dt {
        width: 35%;
    }
    #ContactForm dd, #CheckoutStepPaymentDetails dd {
        margin-left: 35%;
    }

    .AddBillingAddress dt,
    .AddShippingAddress dt {
        width: 100%;
        padding: 0;
    }
    .AddBillingAddress dd,
    .AddShippingAddress dd {
        padding-left: 0 !important;
        float: none;
        width: 100%;
    }

    /* Footer */

    .footer-main {
        text-align: center;
    }

    .footer-main .container {
        padding-top: 10px;
        padding-bottom: 0;
    }

    .footer-links {
        text-align: center;
    }

    .footer .powered-by {
        float: none;
        display: block;
        margin-top: 10px;
    }

    /* Cart */

    #cart-amount .Cart {
        font-weight: bold;
        padding: 1em 0px;
        display: block;
        text-align: center;
        width: 25px;
        position: relative;
    }

    #cart-amount .Cart .total {
        display: inline-block;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 4px 5px;
        margin: 0 auto;
        min-width: 25px;
        height: 25px;
    }

    #cart-amount .Cart .bag-handle {
        border-bottom: 0;
        position: absolute;
        top: 8px;
        left: 7px;
        height: 4px;
        width: 8px;
        border-radius: 7px 7px 0px 0px;
        webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

    .ProductList li,
    #home .ProductList li,
    .productPage .ProductList li {
        width: 50%;
    }

    .CartCode .CouponCode,
    .CartCode .GiftCertificate {
        float: none;
        width: auto;
    }

    .ProceedToCheckout,
    .KeepShopping {
        text-align: center;
    }

    .KeepShopping .text-left {
        text-align: center;
    }

    .CartCode .CouponCode {
        margin-bottom: 20px;
    }

    .cart-wrap {
        padding: 0;
        background: none;
        border: none;
    }
    .CartContents tfoot .SubTotal td {
        text-align: left;
    }

    /* == Checkout == */

    .CartContents tfoot .CheckoutRedeemCoupon {
        display: none;
    }

    /* Adjusting the size of the swatches for smaller screens */

    .productOptionViewRectangle .option label {
        padding: 0 !important;
        line-height: 60px;
        height: 60px;
        width: 60px;
    }

    .productOptionPickListSwatch .textureContainer,
    .productOptionPickListSwatch .swatchColours {
        display: block !important;
    }

    .productOptionPickListSwatch .thumbnail,
    .productOptionPickListSwatch .swatchColour {
        display: block !important;
        height: 60px !important;
        width: 60px !important;
    }

    .productOptionPickListSwatch li {
        display: inline-block !important;
    }

    #tabcontent .photo {
        float: none;
        margin: 0;
        width: auto;
    }

    .BillingDetails,
    .ShippingDetails {
        width: 100%;
        float: none;
        margin-right: 0;
        padding-top: 15px;
    }

    .ShippingAddressList li {
        width: 50%;
    }

    .CartContents tfoot .CheckoutRedeemCoupon {
        text-align: left;
    }

    .CartContents tfoot .CheckoutRedeemCoupon td {
        padding: 0;
    }
}

/* Extra Small Devices -- Phones up to 480px */
@media screen and (max-width: 480px) {

    /* Hide */

    /* Show */

    /* Layout */

    .btn,
    .btn.alt,
    textarea,
    input[type="email"],
    input[type="text"],
    input[type="password"],
    input.Textbox {
        display: block;
        width: 100%;
    }

    .login-form input[type="email"],
    .login-form input[type="password"] {
        width: 100%;
    }

    select,
    div.selector /* For uniform */ {
        margin-bottom: 20px;
    }

    .TitleHeading {
        font-size: 20px;
    }

    .ProductList li,
    #home .ProductList li,
    .productPage .ProductList li {
        width: 100%;
    }

    .PageMenu .inner {
        background: #fff;
        padding: 0;
    }

    .PageMenu ul {
        display: block;
    }

    .PageMenu .CategoryList {
        padding: 0;
    }

    .PageMenu .pages-menu {
        display: none;
    }

    .PageMenu li {
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #efefef;
    }

    .PageMenu a {
        padding: 1em;
        font-size: 1.2em;
    }

    .SubCategoryList {
        padding: 0;
        margin-bottom: 0;
    }

    .SubCategoryList li {
        padding: 0.9em;
        background: none;
        border-bottom: 1px solid #efefef;
    }

    #fastCartContainer {
        max-height: none;
    }

    /* Form Styling */
    .form dt,
    .FormContainer dt {
        text-align: left;
        width: auto;
        clear: both;
        float: none;
        padding: 0;
    }

    .form dd,
    .FormContainer dd {
        padding: 0;
        margin: 0 0 20px 0;
    }

    .form dd.EstimateShippingButtons,
    .EstimateShippingButtons input,
    .EstimateShipping .form dd .selector {
        margin-bottom: 0;
    }

    .HorizontalFormContainer dt {
        width: 100%;
        padding-bottom: 0;
    }
    .HorizontalFormContainer dd {
        margin-left: 0;
    }
    .HorizontalFormContainer dd .Textbox {
        margin-bottom: 0;
    }

    #ContactForm dd, #CheckoutStepPaymentDetails dd {
        margin-left: 0;
    }

    #fancy_outer {
        z-index: 110 !important;
    }

    #fancy_overlay {
        z-index: 105 !important;
    }

    .LittleNotePassword {
        padding: 0;
        margin-bottom: 20px;
    }

    .addto .BulkDiscount,
    .addto #SideProductAddToWishList {
        display: block;
        margin-bottom: 20px;
    }

    .footer .Block {
        margin: 0;
    }

    /* == Product Page == */

    .ProductDetailsGrid .Label {
      float: none;
      width: 100%;
    }

    /* Cart Styling */

    table.CartContents tbody tr td {
        padding: 10px 8px;
    }

    .CartCode .GiftCertificate input,
    .CartCode .CouponCode input {
        margin-bottom: 20px;
    }

    #CartContent .FloatRight,
    #CartContent .FloatLeft,
    .ExpressCheckoutContent .FloatLeft,
    .ExpressCheckoutContent .FloatRight
    #ConfirmOrder .FloatLeft,
    #ConfirmOrder .FloatRight {
        float: none;
    }

    .PayPalExpressCheckout {
        text-align: center;
        padding: 1em 0;
    }

    .AddBillingAddress dd, .AddShippingAddress dd {
        padding: 0 !important;
        float: none;
        width: auto;
    }

    .ShippingAddressList li {
        width: 100%;
    }

    .ExpressCheckoutContent .CreateAccount,
    .ExpressCheckoutContent .AccountLogin {
        float: none;
        width: auto;
    }

    table.CartContents tbody tr td.ProductName {
        font-size: 12px;
    }
    #cartForm {
        overflow-x: scroll;
    }

    .CartContents tfoot .SubTotal td,
    .CartContents tfoot .SubTotal td .ProductPrice,
    .CartContents tfoot .gtotal.SubTotal td,
    .CartContents tfoot .gtotal.SubTotal td .ProductPrice {
        font-size: 14px;
    }

    table.CartContents tbody tr td.ProductName {
        font-size: 12px;
    }

    /* == Account Order Status == */
    .AccountOrderStatusList .btns {
        float: none;
        position: static;
        overflow: hidden;
    }
    .AccountOrderStatusList .btns .btn {
        margin-bottom: 0;
    }

}
