/* Add here all your css styles (customizations) */

.item-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 75%;
  background-color: #272727;
}
.item-image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.ms-thumb-frame img{
	height:100% !important;
}
.product-description-brd{
  height: 100px;
  border-left: 1px solid #003763;
  border-right: 1px solid #003763;
  border-bottom: 1px solid #003763;
}
.error{
  color:red;
  font-weight: bold;
}

.tnc-notchecked {
  color:red !important;
}

.content-md {
  padding-top: 30px;
  padding-bottom: 30px;
}

.item-image {
transition: transform .2s;
}

.item-image:hover {
-ms-transform: scale(1.25); /* IE 9 */
-webkit-transform: scale(1.25); /* Safari 3-8 */
transform: scale(1.25);
}

.product-img {
border: 1px solid #e0e0e0;
box-shadow: 0 0 3px #ccc;
overflow:hidden;
}

.illustration-v2 a.product-review {
font-size: 12px;
font-weight: normal;
background: rgba(0,0,0,0.4);
}

h3.line {
  overflow: hidden;
  text-align: center;
}

h3.line:before,
h3.line:after {
  background-color: #000;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

h3.line:before {
  right: 0.5em;
  margin-left: -50%;
}

h3.line:after {
  left: 0.5em;
  margin-right: -50%;
}
.shop-product{
  border-bottom: none!important;
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 50px;
  height: 50px;
  margin-top: -0.5em;

  border: 5px solid rgba(33, 150, 243, 1.0);
  border-radius: 100%;
  border-bottom-color: transparent;
  -webkit-animation: spinner 1s linear 0s infinite;
  animation: spinner 1s linear 0s infinite;


}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*start mega menu*/
@media (max-width: 768px) {
  .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
    background-color: white!important;
  }
  .header-v5 .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .header-v5 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .header-v5 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus{
    background-color: white!important;
  }

  .navbar-nav .menu-item a{
    color: #003763!important;
  }
}
.mega-menu-area {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 78px;
  z-index: 999;
}

.mega-menu-background {
  position:fixed;
  background-color: rgba(0, 0, 0, 0.8);
  top: 117px;
  right: 0;
  left: 0;
  bottom: 0;
}

.mega-menu-content {
  background-color: #fff;
  border-top: 1px solid #d5d5d5;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  box-shadow: 0 5px 13px 0 rgba(0,0,0,.13);
}
.dropdown:hover .mega-menu-area {
  -moz-animation-delay: 3.5s;
  -webkit-animation-delay: 3.5s;
  -o-animation-delay: 3.5s;
  animation-delay: 3.5s;
  display: block;
}

.mega-menu-background:hover {
  display: none;
}

.mega-menu-content .item-image img{
  position: unset!important;
}

.mega-menu-content .item-image .img-responsive{
  max-width: 200px;
  max-height: 200px;
}

.mega-menu-content .menu-item *{
  color: black;
}

.mega-menu-content .menu-item *:hover{
  color: #ffc500;
}

.menu-image:hover {
  outline: 2px solid black;
}
/*end mega menu*/

.shopping-cart .billing-info-inputs select {
	min-height: 40px;
	border-color: #eee;
	margin-bottom: 10px;
}

.shopping-cart .billing-info-inputs textarea {
	min-height: 40px;
	border-color: #eee;
	margin-bottom: 10px;
}

.margin-bottom-40 {
  margin-bottom: 20px;
}

.margin-bottom-60 {
  margin-bottom: 20px;
}

/* === Brand-blue navbar with white menu text and yellow item separators === */
.header-v5 .navbar-default {
  background: #003763;
}
.header-v5 .navbar-default .navbar-nav > li > a,
.header-v5 .navbar-default .navbar-nav > li > a:focus,
.header-v5 .navbar-default .navbar-nav > li > a .caret,
.header-v5 .navbar-default .navbar-nav > .open > a,
.header-v5 .navbar-default .navbar-nav > .open > a:hover,
.header-v5 .navbar-default .navbar-nav > .open > a:focus,
.header-v5 .navbar-default .navbar-nav > .active > a,
.header-v5 .navbar-default .navbar-nav > .active > a:hover,
.header-v5 .navbar-default .navbar-nav > .active > a:focus {
  color: #fff !important;
  background: transparent !important;
}
.header-v5 .navbar-default .navbar-nav > li > a:hover,
.header-v5 .navbar-default .navbar-nav > li:hover > a {
  color: #ffc107 !important;
}
/* Cancel the full-width top border indicator from header-v5.css */
.header-v5 .navbar-default .navbar-nav > li > a,
.header-v5 .navbar-default .navbar-nav > li > a:hover,
.header-v5 .navbar-default .navbar-nav > li > a:focus,
.header-v5 .navbar-default .navbar-nav > .active > a,
.header-v5 .navbar-default .navbar-nav > .active > a:hover,
.header-v5 .navbar-default .navbar-nav > .active > a:focus {
  border-top: solid 2px transparent !important;
}

/* Centered yellow underline on hover/active, sized to ~60% of the link width */
@media (min-width: 992px) {
  .header-v5 .navbar-default .navbar-nav > li > a {
    position: relative;
  }
  .header-v5 .navbar-default .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #ffc107;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
  }
  .header-v5 .navbar-default .navbar-nav > li > a:hover::after,
  .header-v5 .navbar-default .navbar-nav > li:hover > a::after,
  .header-v5 .navbar-default .navbar-nav > .active > a::after {
    opacity: 1;
  }
}
.header-v5 .navbar-default .navbar-nav > li + li > a::before {
  content: "|";
  color: #ffc107;
  font-weight: bold;
  margin-inline-end: 10px;
  margin-inline-start: -8px;
}
@media (max-width: 991px) {
  .header-v5 .navbar-default .navbar-nav > li + li > a::before {
    content: none;
  }
}

/* === Logo: plain image, no circle, max 80px tall === */
img.logo-circle {
  display: inline-block;
  width: auto !important;
  height: auto !important;
  max-width: none;
  max-height: 90px !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-sizing: content-box;
  box-shadow: none !important;
  object-fit: contain;
  vertical-align: middle;
}

/* Header brand: padding tuned for 80px logo */
.header-v5 .navbar-brand.logo-circle-brand {
  padding: 4px 15px;
  height: auto;
}

/* Cart icon white on blue navbar */
.header-v5 .shop-badge.badge-icons i,
.header-v5 .shop-badge a i {
  color: #fff !important;
}

/* Mobile/tablet: swap hamburger and cart positions, white hamburger, smaller logo */
@media (max-width: 991px) {
  /* navbar is position-anchor for absolute children, but height stays flexible
     so the collapsed menu can expand below the header strip. */
  .header-v5 .navbar.navbar-default {
    position: relative !important;
  }
  /* Header strip locks the top 70px of the navbar — toggle/brand are absolutely
     positioned inside, but navbar-header still occupies that vertical space so
     the collapsed menu renders below it instead of overlapping. */
  .header-v5 .navbar-header {
    height: 70px !important;
    min-height: 70px !important;
    margin: 0 !important;
    float: none !important;
    position: relative;
  }
  /* Cart container: full-height absolute, flex-centers the cart icon vertically */
  .header-v5 .shop-badge.pull-right,
  .header-v5 .shop-badge {
    position: absolute !important;
    top: 0 !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    left: 60px !important;
    right: auto !important;
    z-index: 5;
  }
  /* Hamburger: native block layout (so the 3 icon-bars stack vertically as
     Bootstrap intends), vertically centered via translateY against the 70px
     navbar-header parent */
  .header-v5 .navbar-default .navbar-toggle {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
    left: 10px !important;
    right: auto !important;
    color: #fff !important;
    padding: 9px 10px !important;
    z-index: 5;
  }
  /* Brand logo: native block, vertically centered */
  .header-v5 .navbar-brand.logo-circle-brand {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    right: 15px !important;
    left: auto !important;
    height: auto !important;
    z-index: 5;
  }
  .header-v5 .navbar-default .navbar-toggle .icon-bar {
    background: #fff !important;
  }
  .header-v5 .navbar-brand.logo-circle-brand img.logo-circle {
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
  }
  /* Cart count badge: overlap upper-right corner of the cart icon */
  .header-v5 .shop-badge span.badge {
    position: absolute !important;
    top: 12px !important;
    right: -6px !important;
    left: auto !important;
  }
  /* When the collapsed menu opens it renders below the 70px header strip */
  .header-v5 .navbar-collapse {
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* Keep logo position stable when the header shrinks */
.header-fixed .header-v5.header-fixed-shrink .navbar-brand.logo-circle-brand {
  top: 0 !important;
  padding: 4px 15px !important;
}
.header-fixed .header-v5.header-fixed-shrink .navbar-brand.logo-circle-brand img.logo-circle {
  max-height: 90px !important;
  width: auto !important;
  height: auto !important;
}

/* Footer logo: same sizing as header (inherits from img.logo-circle), just add bottom spacing */
.footer-v1 img.logo-circle {
  margin-bottom: 15px;
}

/* === Product cubes: reduce all text sizes by 10% === */
.illustration-v2 a.product-review {
  font-size: 10.8px !important;
}
.illustration-v2 .add-to-cart {
  font-size: 18px !important;
}
.illustration-v2 #product-name,
.illustration-v2 .product-description h4.title-price,
.illustration-v2 .product-description h4.title-price span {
  font-size: 12.6px !important;
}
.illustration-v2 .product-description .product-price .title-price {
  font-size: 13.5px !important;
}
.illustration-v2 .product-description .gender {
  font-size: 12.6px !important;
}

/* Product description text (e.g. "מחיר התחלתי", price, short desc) in brand color */
.product-description,
.product-description-brd,
.product-description .title-price,
.product-description-brd .title-price,
.product-description h4.title-price span,
.product-description-brd h4.title-price span,
.product-description .gender,
.product-description-brd .gender,
.product-description .product-price .title-price,
.product-description-brd .product-price .title-price {
  color: #003763 !important;
}

/* Product name: dark-blue band with white text */
#product-name,
.illustration-v2 #product-name,
a#product-name.product-review,
a#product-name.product-review:hover,
a#product-name.product-review:focus {
  display: block;
  background: #003763 !important;
  color: #fff !important;
  padding: 6px 10px;
  text-align: center;
}

/* === Center the desktop top menu === */
@media (min-width: 992px) {
  .header-v5 .navbar-nav {
    float: none !important;
    margin: 0 auto !important;
    display: table !important;
    table-layout: fixed;
  }
  .header-v5 .navbar-collapse {
    float: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* === Brand-blue topbar, footer and copyright bands === */
.topbar-v3 {
  background: #003763 !important;
}
.footer-v1 .footer {
  background: #003763 !important;
}
.footer-v1 .copyright {
  background: #003763 !important;
  border-top: none;
}
.footer-v1 .link-list li {
  border-top: solid 1px #fff !important;
}

/* Footer email link + Privacy Policy / Terms of Service links in yellow */
.footer-v1 address a[href^="mailto:"],
.footer-v1 .copyright a[data-target="#policy"],
.footer-v1 .copyright a[data-target="#terms"] {
  color: #ffc107 !important;
}
.footer-v1 address a[href^="mailto:"]:hover,
.footer-v1 .copyright a[data-target="#policy"]:hover,
.footer-v1 .copyright a[data-target="#terms"]:hover {
  color: #ffd54f !important;
}

/* Bold yellow breadcrumbs-v4 text (all inner pages) */
.breadcrumbs-v4 span.page-name,
.breadcrumbs-v4 h1,
.breadcrumbs-v4 .breadcrumb-v4-in > li,
.breadcrumbs-v4 .breadcrumb-v4-in > li a,
.breadcrumbs-v4 .breadcrumb-v4-in > li.active,
.breadcrumbs-v4 .breadcrumb-v4-in > li + li:before {
  font-weight: 700 !important;
  color: #ffc107 !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  text-shadow: none;
}

/* Light gray semi-transparent rectangle hugging the text width */
.breadcrumbs-v4 span.page-name,
.breadcrumbs-v4 h1,
.breadcrumbs-v4 .breadcrumb-v4-in {
  display: table;
  background-color: rgba(192, 192, 192, 0.45);
  padding: 4px 12px;
  border-radius: 4px;
}

/* Slightly larger breadcrumb trail (בית > ...) */
.breadcrumbs-v4 .breadcrumb-v4-in > li,
.breadcrumbs-v4 .breadcrumb-v4-in > li a,
.breadcrumbs-v4 .breadcrumb-v4-in > li.active {
  font-size: 16px;
}

/* Active page in breadcrumb trail uses menu-hover orange, not blue */
.breadcrumbs-v4 .breadcrumb-v4-in > li.active,
.breadcrumbs-v4 .breadcrumb-v4-in li a:hover {
  color: #ffc107 !important;
}
