/* 1. XZOOM GALLERY
2. shop4pro custom styles */

/* 
#############
XZOOM GALLERY
############# */

/* Compatibility styles for frameworks like bootstrap, foundation e.t.c */

.xzoom-source img, .xzoom-preview img, .xzoom-lens img {
  display: block;
  max-width: none;
  max-height: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

/* --------------- */

/* xZoom Styles below */

.xzoom-container {
  display: inline-block;
}

.xzoom-thumbs {
  text-align: center;
  margin-bottom: 10px;
}

.xzoom {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.xzoom2, .xzoom3, .xzoom4, .xzoom5 {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

/* Thumbs */

.xzoom-gallery, .xzoom-gallery2, .xzoom-gallery3, .xzoom-gallery4, .xzoom-gallery5 {
  border: 1px solid #cecece;
  margin-left: 5px;
  margin-bottom: 10px;
}

.xzoom-source, .xzoom-hidden {
  display: block;
  position: static;
  float: none;
  clear: both;
}

/* Everything out of border is hidden */

.xzoom-hidden {
  overflow: hidden;
}

/* Preview */

.xzoom-preview {
  border: 1px solid #888;
  background: #2f4f4f;
  box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
}

/* Lens */

.xzoom-lens {
  border: 1px solid #555;
  box-shadow: -0px -0px 10px rgba(0, 0, 0, 0.50);
  cursor: crosshair;
}

/* Loading */

.xzoom-loading {
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 100%;
  opacity: .7;
  background: url(../images/xloading.gif);
  width: 48px;
  height: 48px;
}

/* Additional class that applied to thumb when it is active */

/* .xactive {
  -webkit-box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
  -moz-box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
  box-shadow: 0px 0px 3px 0px rgba(74, 169, 210, 1);
  border: 1px solid #4aaad2;
} */

/* Caption */

.xzoom-caption {
  position: absolute;
  bottom: -43px;
  left: 0;
  background: #000;
  width: 100%;
  text-align: left;
}

.xzoom-caption span {
  color: #fff;
  font-family: Arial, sans-serif;
  display: block;
  font-size: 0.75em;
  font-weight: bold;
  padding: 10px;
}

/* XZOOM GALLERY CUSTOM */

.xzoom-thumbs>a>img {
  display: initial;
  vertical-align: baseline;
}

.xzoom-thumbs {
  margin: 10px 0 10px 0px;
}

/* UI Autocomplete */

.ui-autocomplete {
  position: absolute;
  z-index: 1000;
  cursor: default;
  margin-top: 2px;
  list-style: none;
  background-color: #fff;
  border: 1px solid #ccc 0 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -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);
  padding: 0;
}

.ui-autocomplete>li {
  padding: 3px 20px;
}

.ui-autocomplete>li.ui-state-focus {
  background-color: #DDD;
}

.ui-helper-hidden-accessible {
  display: none;
}

/* 
######################
Custom styles SHOP4PRO
######################
*/

/*========== Header  ===================*/
.colored.header-top .dropdown-menu.user-menu {
  left: -50px;
  min-width: 120px;
  background-color: #fff;
}

.colored.header-top .dropdown-menu.user-menu li a {
  color: #000;
  text-decoration: none;
  padding: 10px 15px 10px 0px;
}

/* .colored.header-top .dropdown-menu.user-menu li a:hover {
  color: #09afdf;
} */

.header-top.colored button a {
  text-decoration: none;
}

.social-links .dropdown>button {
  color: #fff
}

.social-links img {
  padding: 9px 0 0 6px
}

.social-links .dropdown-menu {
  min-width: 115px
}

.header-top.colored a {
  color: #ffffff;
  text-decoration: none;
}
.header-top .list-inline {
  font-size: 14px;
}

/*========== Mobile hamburger menu  ===================*/

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 36px;
  height: 34px;
  /* position: relative;
  margin: 50px auto; */
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 22px;
  margin-left:6px;
  background: #929292;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 9px;
}

#nav-icon1 span:nth-child(2) {
  top: 15px;
}

#nav-icon1 span:nth-child(3) {
  top: 21px;
}

#nav-icon1.open span:nth-child(1) {
  top: 16px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/*========== Mobile menu search icon   ===================*/
.navbar-toggle-search {
  position: relative;
  float: right;
  background-color: transparent;
  background-image: none;
}

/*========== Categories sidebar  ===================*/
.w4p-widget-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.w4p-widget-categories ul > li{
    position: relative;
    margin-bottom: 5px;
    padding-left: 16px;
}
.w4p-widget-categories ul > li:last-child {
    margin-bottom: 0;
}
.w4p-widget-categories ul > li::before {
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    color: #999;
    font-family: feather;
    font-size: 1.15em;
    content: "\e92e";
}

.w4p-widget-categories ul > li > a {
    display: inline-block;
    transition: color 0.3s;
    color: #505050;
    font-size: 14px;
    text-decoration: none;
}
.w4p-widget-categories ul > li > a:hover {
    color: #eeb609;
}
.w4p-widget-categories ul > li.active > a {
    color: #eeb609;
}
.w4p-widget-categories ul > li > span {
    margin-left: 4px;
    color: #999;
}
.w4p-widget-categories ul > li.has-children ul {
    border-left: 1px solid #e2e2e2;
}
.w4p-widget-categories ul > li.has-children ul li::before {
    top: 14px;
    width: 8px;
    height: 1px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border: 0;
    background-color: #e2e2e2;
    color: transparent;
}
.w4p-widget-categories ul > li.has-children ul li a {
    font-size: 13px;
}
.w4p-widget-categories ul > li.has-children ul ul > li {
    margin-bottom: 0;
}
.w4p-widget-categories ul > li.has-children > ul {
    max-height: 0;
    transition: max-height 0.6s;
    overflow: hidden;
}
.w4p-widget-categories ul > li.has-children.expanded::before {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}
.w4p-widget-categories ul > li.has-children.expanded > ul {
    max-height: 800px;
}

.all-categories i::before {
  font-size:10px;
}
.all-categories a {
  font-weight: 500;
  color: #eeb609;
}
.all-categories a:hover {
  text-decoration: none;
}

/*========== Other  ===================*/ 

.productAutosize.overlay-container {
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
}

.overlay-container-footer {
  background-color: #fff;
}

.table-sum {
  border-top: 1px solid black;
}

.footer h2 {
  color: #999999;
}

.subfooter-inner a {
  color: #fff;
  font-weight: bold;
}

table a[alt]:hover:after {
  content: attr(alt);
  padding: 4px 8px;
  color: #333;
  position: absolute;
  top: 10%;
  white-space: nowrap;
  z-index: 20px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0px 0px 4px #222;
  -webkit-box-shadow: 0px 0px 4px #222;
  box-shadow: 0px 0px 4px #222;
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eeeeee), color-stop(1, #cccccc));
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
}

.banner {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

/* FOSuserBundle  */

.userBundleBg {
  background-image:url('/bundles/w4profront/images/userBundleBg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
  background-size: cover;
}

/* Datepicker front-page fix  */
.sorting-filters {
  position: relative;
}

.overlay-link {
  background-color: rgba(30, 30, 30, 0);
}

.price {
  padding-bottom: 20px;
}

.fixed-header-on .header .logo img {
  height: 50px;
  max-height: 50px;
}

.footer {
  padding: 40px 0 0 0;
}

.container .content-slider-with-large-controls, .container .content-slider-with-large-controls-autoplay {
  border: none;
}

.fa-folder-o:before {
  content: "\f111";
}

.addProductToCart {
  display: block;
  margin: auto;
}

/*========== Product list navigation ===================*/

.sub-nav {
  padding-left: 10px;
}

/* Sort by */
.w4p-sort-toolbar {
  display: table;
  width: 100%;
  padding-bottom:24px;
  margin-bottom: .5rem;
}

.w4p-sort-toolbar>.column {
  display: table-cell;
  vertical-align: middle;
}

.w4p-sort-toolbar>.column:last-child {
  text-align: right
}

.shop-sorting label,.shop-sorting .form-control,.shop-sorting span {
  display: inline-block;
  vertical-align: middle
}

.shop-sorting span {
  padding: 8px 0
}

.shop-sorting label {
  margin: 0;
  padding: 8px 5px 8px 0;
  color: #999;
  font-size: 13px;
  font-weight: normal
}

.shop-sorting .form-control {
  width: 100%;
  max-width: 186px;
  margin-right: 10px
}

/* List or grid */
.shop-view {
  display: inline-block
}

.shop-view::after {
  display: block;
  clear: both;
  content: ''
}

.shop-view>a {
  display: block;
  width: 43px;
  height: 43px;
  margin-left: -1px;
  padding: 13px;
  float: left;
  transition: background-color .35s;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background-color: #fff
}

.shop-view>a:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

.shop-view>a:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0
}

.shop-view>a span {
  display: block;
  position: relative;
  width: 3px;
  height: 3px;
  margin-bottom: 3px;
  background-color: #505050
}

.shop-view>a span::before,.shop-view>a span::after {
  display: block;
  position: absolute;
  background-color: #505050
}

.shop-view>a span:last-child {
  margin-bottom: 0
}

.shop-view>a:hover {
  background-color: #f5f5f5
}

.shop-view>a.active {
  border-color: #3f3f3f;
  background-color: #3f3f3f;
  cursor: default;
  pointer-events: none
}

.shop-view>a.active span,.shop-view>a.active span::before,.shop-view>a.active span::after {
  background-color: #fff
}

.shop-view>a.grid-view span::before,.shop-view>a.grid-view span::after {
  top: 0;
  width: 3px;
  height: 3px;
  content: ''
}

.shop-view>a.grid-view span::before {
  left: 6px
}

.shop-view>a.grid-view span::after {
  left: 12px
}

.shop-view>a.list-view span::before {
  top: 1px;
  left: 6px;
  width: 9px;
  height: 1px;
  content: ''
}


/*========== Footer ===================*/

.dark .footer-content>p, .dark .footer-content .list-icons>li, .dark .footer-content .list-icons>li>a, .dark .footer-content .list-icons>li.active>a, .dark .footer-content .list-icons>li.active>a:focus, .dark .footer-content .list-icons>li>a:focus {
  color: #999999;
}

/*========== Register ===================*/

.container-bg-register {
  background-image: url("../images/background-img-6.jpg");
}


/*========== Product Show ===================*/

.product.price del {
  color: #b3b3b3;
  padding-left: 55px;
}

/*========== Cart Show ===================*/

td.price del {
  color: #b3b3b3;
}

.total-quantity.cart.savings, .total-amount.cart.savings {
  color: #ff0000;
  font-size: 12px;
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */

@media only screen and (max-width: 320px) {
  .productAutosize.overlay-container {
    min-height: 273px;
  }
  .productAutosize.overlay-container-footer {
    min-height: 60px;
  }
}

/* Custom, iPhone Retina */

@media only screen and (min-width: 321px) {
  .productAutosize.overlay-container {
    min-height: 450px;
  }
  .productAutosize.overlay-container-footer {
    min-height: 170px;
  }
}

/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {
  .productAutosize.overlay-container {
    min-height: 280px;
  }
  .overlay-container-footer {
    min-height: 90px;
  }
}

/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {
  .login-form,
  .no-login {
    padding: 0 60px 0 60px;
  }
  .productAutosize.overlay-container {
    min-height: 354px;
  }
  .productAutosize.body {
    min-height: 180px;
  }
  .productAutosize.overlay-container-footer {
    min-height: 370px;
  }
  .body h3 {
    font-size: 14px;
  }
  .image-box>.body {
    height: 72px;
  }
  .table.cart {
    table-layout: fixed;
    word-wrap: break-word;
  }
  th.productCol {
    width: 47%;
  }
  th.priceCol {
    width: 16%;
  }
  th.quantityCol, th.deleteCol {
    width: 10%;
  }
  th.amountCol {
    width: 17%;
  }
}

@media (max-width: 576px) {
  .w4p-sort-toolbar>.column {
      display:block;
      width: 100%;
      text-align: center
  }

  .w4p-sort-toolbar>.column:last-child {
      padding-top: 24px;
      text-align: center
  }
  .shop-sorting label,.shop-sorting .form-control {
    display:block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 0;
    padding-right: 0
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  header.full-width .main-navigation.with-dropdown-buttons .navbar-default .navbar-collapse {
    padding-right: 110px;
  }
}

/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {
  .productAutosize.overlay-container {
    min-height: 300px;
  }
  .productAutosize.body {
    min-height: 90px;
  }
  .productAutosize.overlay-container-footer {
    min-height: 136px;
  }
  .image-box>.body {
    height: 62px;
    padding: 10px;
  }
  .login {
    width: 900px;
  }
  .login-chose > [class*='col-']:before {
    background: #e3e3e3;
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    width: 1px;
    top: 0;
  }
  .login-chose  > [class*='col-']:first-child:before {
    display: none;
  }
}

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {
  .productAutosize.overlay-container {
    min-height: 370px;
  }
  .productAutosize.body {
    min-height: 90px;
  }
  .productAutosize.overlay-container-footer {
    min-height: 170px;
  }
  .productAutosizeuct-list {
    min-height: 215px;
  }
  .body h3 {
    font-size: 24px;
  }
  .image-box>.body {
    height: 96px;
  }
}

@media only screen and (max-width: 480px) {
  .masonry-grid-item {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .table-responsive>.table>thead>tr>th {
    white-space: pre-wrap;
    /* css-3 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
    /* Internet Explorer 5.5+ */
  }
  td.product>small {
    display: none!important;
  }
  .masonry-grid-item {
    width: 100%;
  }
  /*    th.productCol {
      min-width:300px;
    }
    th.priceCol {
      min-width:200px;
    }
    th.amountCol {
      min-width:200px;
    }
    th.deleteCol,
    th.quantityCol {
      min-width:200px;
    }*/
}