/*
 * Rules that used to be pasted into locale resources (<style> blocks printed in the footer, in the checkout title
 * and in the AjaxFilters message). Loaded last in the head, so they apply from the first paint with the same priority.
 */

/* from footer.information */
.ui-dialog[aria-describedby*="popupwindowdiv"] {
  background-color: transparent;
  position: fixed;
}
.ui-dialog[aria-describedby*="popupwindowdiv"] .ui-dialog-titlebar {
  width: 100%;
  color: transparent !important;
  background-color: transparent !important;
  bottom: -25px;
  z-index: 1;
}
.ui-dialog[aria-describedby*="popupwindowdiv"] .ui-dialog-titlebar-close {
  background-color: black !important;
  border-radius: 10px;
}
.ui-dialog[aria-describedby*="popupwindowdiv"] .ui-dialog-content {
  border: none !important;
}
@media (max-width: 767px) {
  #mobile-menu .dropdown .dropdown-menu,
  .header-menu .navbar.navbar-inverse .nav.navbar-nav > li.dropdown .dropdown-menu li a {
    background-color: transparent !important;
  }
  .master-wrapper-content .theme-custom .nivo-controlNav {
    position: relative;
    padding: 10px 0;
  }
  .master-wrapper-content .theme-custom .nivo-controlNav a {
    background: black;
    width: 15px;
    height: 15px;
    margin: 0 10px;
  }
}
body .mfp-ready {
  z-index: 9999999 !important;
}
body .mfp-wrap {
  z-index: 9999999 !important;
}
.html-product-details-page .master-column-wrapper {
  margin-top: 10px;
}
.html-product-details-page .master-column-wrapper .breadcrumb {
  background-color: transparent;
}
#swipebox-overlay {
  z-index: 999999 !important;
}
.ui-dialog.ui-widget {
  z-index: 99999999;
}
.theme-custom .nivoSlider {
  height: 100%;
}
.nivoSlider img {
  object-fit: cover;
  height: 100% !important;
  object-position: bottom;
}
.header {
  z-index: 999999;
  position: relative;
}
.html-registration-page .fns-rewardpoints {
  display: none !important;
}
.promotion-list .gift-item {
  padding: 15px;
  border: 3px solid #f1c232;
  margin-bottom: 40px !important;
}
.promotion-list .gift-item .details {
  text-align: center;
}
.promotion-list .gift-item .details h2 {
  margin-bottom: 20px;
  margin-top: 10px;
}
.promotion-list .gift-item .details h2 a {
  color: black;
}
.main-menu.goToTop .navbar-toggle {
  margin-top: 10px;
}
.main-menu .logo-fixed {
  padding: 5px 10px;
}
@media (max-width: 413px) {
  .hidden-xxs {
    display: none;
  }
}
@media (max-width: 1199px) {
  .search-box {
    position: relative;
    z-index: 999;
  }
  .search-box #small-searchterms.form-control {
    padding-right: 50px;
    color: #000 !important;
    max-width: 100%;
    width: 135px;
  }
}
.nobr {
  white-space: initial !important;
}
.gallery-container .folder-container {
  align-items: flex-start !important;
}
/* the hint under the title of the order list (it was added by a script in footer.information) */
.order-list-page .page-title h1 .order-list-review-hint {
  display: block;
  margin-top: 10px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
  color: black;
}

/* from footer.customerservice */
.product-details-page #product_attribute_111 {
  width: 100%;
}

/* from newsletter.titlenewsletterbox */
@media (max-width: 1499px) and (min-width: 768px) {
  .newsletter-wrapper strong {
    font-size: 16px;
  }
}
@media (max-width: 1199px) and (min-width: 768px) {
  .newsletter-email > div:first-child strong {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .newsletter-email > div:first-child strong img {
    margin-top: -27px !important;
    margin-bottom: 0 !important;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .newsletter-wrapper strong {
    font-size: 11px;
  }
}

/* from registerbox.button */
.newsletter-wrapper button[type=submit],
.register-box-wrapper button[type=submit] {
  background: white !important;
  padding-left: 15px;
}

/* from checkout (printed only in the title of the one page checkout of the theme) */
.html-checkout-page .order-totals .estimate-box {
  display: none;
}
.html-checkout-page .order-totals {
  width: 100%;
  margin-top: 20px;
}

/* from sevenspikes.nopajaxfilters.client.common.noresultsfoundmessage */
.k-widget.k-window.ajaxFilters {
  height: auto !important;
}
.ajaxFilters .k-window-content {
  outline: none;
}

/*
 * Section titles ("Discover the style", "Novità", related products...) are h2, for the outline of the page, with the
 * look of the div they replaced. No theme rule sets these properties on .title.sub-title; only the bootstrap h2 rules do.
 */
h2.title.sub-title {
  margin-top: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
