/*
Theme Name:     DFD Ronneby Child Theme
Theme URI: 		http://rnbtheme.com/
Description:    ronneby - Highly Functional Multifaceted WP Theme
Author:         DFD
Author URI:		http://rnbtheme.com/
Template:       dfd-ronneby
Version:        1.0.0
*/

/* GENERAL OPTIONS START*/
#header-container.dfd-new-headers.header-style-2
  #header
  .header-wrap
  nav.mega-menu
  ul.nav-menu
  .mega-menu-item.menu-item-depth-0.current-menu-item:after {
  content: unset;
}

/* GENERAL OPTIONS END */

/* MAIN MENU START*/
#menu-main-menu {
  margin-right: 5rem;
}

#menu-main-menu li a {
  text-transform: uppercase;
  font-weight: 400;
}

/* MAIN MENU END*/

/* HOME PAGE SPECIFIC START*/

.home__idea.dfd-heading-module-wrap h1.widget-title {
  font-weight: 400;
}

.home__idea.dfd-heading-module-wrap h3.widget-sub-title {
  font-style: normal;
}

.home__idea--button i {
  right: 10px !important;
}

.home h2.widget-title {
  font-weight: 400 !important;
}

img.dfd-footer-copyright-image {
  max-height: 20px;
}

.subfooter-copyright a {
  color: rgba(255, 255, 255, 0.6);
}
.subfooter-copyright a:hover {
  color: blue;
}
/* HOME PAGE SPECIFIC END*/

/* Footer */
.footer-column__inner {
  padding-left: 50px;
  padding-right: 50px;
}

.footer_instagram {
  padding-left: 50px;
  padding-right: 150px;
}

/* Footer */

/* Our Idea */
p.our-idea__paragraph {
  line-height: 18px;
  color: #000;
  font-weight: 500;
}
/* Our Idea */

/* Products Archive */

.products_archive_container,
.product_single_container {
  max-width: 1675px;
  margin-left: auto;
  margin-right: auto;
}

.products_archive_container .products_archive__widgets,
.product_single_container .products_archive__widgets {
  padding-left: 5%;
  padding-right: 5%;
}

.products_archive_container .my-products_container,
.product_single_container .my-products_container {
  padding: 0;
}

/* Products Archive End */

/* Search */
.products_archive_container .search-query,
.product_single_container .search-query {
  background-color: #f8f8f8;
}

/* Search End */

/* Products Page Start */
.to_home_btn {
  float: left;
}

.show_all_products {
  float: right;
}

.sp_top_btn {
  border: 1px solid #000;
  padding: 5px 10px;
  display: inline-block;
}
.sp_top_btn:hover {
  cursor: pointer;
}

.title_wrapper {
  text-align: center;
  margin-top: 50px;
}
h1.product_title {
  display: inline-block;
  font-weight: 100;
}

.product-image__wrapper {
  text-align: center;
}
.product_img_container.slick-slider {
  display: inline-block;
  position: relative;
  background-color: rgba(255, 255, 255, 1);
}

.bg_white {
  background-color: rgba(255, 255, 255, 1);
}

.product_img_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: translate(-4px, -4px);
  background: linear-gradient(
    90deg,
    rgba(217, 155, 54, 1) 0%,
    rgba(252, 202, 129, 1) 50%,
    rgba(184, 104, 33, 1) 100%
  );
  z-index: -1;
}

.product-description__wrapper {
  margin-top: 50px;
  text-align: center;
}

.product-description__wrapper .product_description {
  max-width: 70%;
  display: inline-block;
}
.product_image__holder {
  display: inline-block;
  position: relative;
}

.product-slider-arrows__wrapper {
  position: absolute;
  bottom: 20px;
  left: 5px;
}

.prd_arrow {
  float: left;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid #f8f8f8;
  line-height: 20px;
  padding: 0px 7px;
  display: none;
}

.prd_arrow.arrow_right {
  margin-left: 2px;
}

.post-type-archive-my-product h4 {
  font-size: 20px;
  line-height: 24px;
}

/* Products Page END */

/*12-5-2021*/

.dfd-heading-module .block-title {
  font-weight: 400;
}

/* Responsive styles start*/

@media only screen and (max-width: 799px) {
  .home_idea-photo  {
    margin-top: 3rem;
  }
  .home__idea--button {
    margin-bottom: 2rem;
  }
  .home_products_grid {
    display: none;
  }
  #search-3 {
    margin-top: 30px;
  }
  #search-3 .widget-title {
    display: none;
  }
  .top_buttons__row {
    padding: 20px;
  }
  .dfd-stuning-header-bg-container {
    background-size: cover !important;
    background-attachment: initial !important;
  }
  body.dfd-page-title-our-idea #layout > div.vc-row-wrapper.full_width_content > div.dfd-row-bg-wrapper-cover > div{
    background-size: 100% !important;
  }
}

/* Keep the catalogue at full width instead of squeezing four cards into half a row. */
.adelianos-product-catalogue .products_archive__widgets {
  float: none;
  width: 100%;
  padding: 0 24px;
}
.adelianos-product-catalogue .products_archive__widgets .widget_search {
  max-width: 360px;
  margin: 0 auto 24px;
}
.adelianos-product-catalogue .products_archive__widgets .widget-title { display: none; }
.adelianos-product-catalogue .my-products_container {
  float: none;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.adelianos-product-catalogue .my-products_container > .wpb_wrapper > .dfd-spacer-module:first-child { display: none; }
.adelianos-product-catalogue .vc_grid-item h4 {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 16px;
  overflow-wrap: break-word;
}
.adelianos-product-catalogue .vc_pageable-slide-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.adelianos-product-catalogue .vc_grid-item { float: none; }
#footer img[src*="/logo_B-01.png"] { filter: invert(1); }
@media (max-width: 767px) {
  .adelianos-product-catalogue .vc_grid-item.vc_col-sm-3 { width: 50%; }
  .adelianos-product-catalogue .vc_grid-item h4 { font-size: 16px; }
  .product_single_container .product_description { max-width: 100%; }
  .footer-column__inner, .footer_instagram { padding: 0 20px; }
}
@media (max-width: 420px) {
  .adelianos-product-catalogue .vc_grid-item.vc_col-sm-3 { width: 100%; }
}


/* Catalogue correction: also match the builder page without relying on PHP body filters. */
body:is(.page-id-2053, .adelianos-product-catalogue) .products_archive__widgets {
  float: none; width: 100%; padding: 0 24px;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .products_archive__widgets .widget_search {
  max-width: 360px; margin: 0 auto 32px;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .products_archive__widgets .widget-title { display: none; }
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container {
  float: none; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container > .wpb_wrapper > .dfd-spacer-module:first-child { display: none; }
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_pageable-slide-wrapper {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_pageable-slide-wrapper::before,
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_pageable-slide-wrapper::after { display: none; }
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_grid-item {
  width: auto !important; min-width: 0; float: none; padding: 0 !important; margin: 0;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_grid {
  margin: 0 !important;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-zone-a {
  background-image: none !important; background-color: #fff; position: relative;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-zone-a::before { display: none; }
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-zone-img {
  display: block; visibility: visible; position: static;
  width: 100%; height: 300px; object-fit: contain; padding: 12px;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-zone-c {
  background: #fff !important;
}
body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-post-data-source-post_title h4 {
  font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: 0;
  margin: 14px auto 0; max-width: 290px; min-height: 3em;
  overflow-wrap: normal; word-break: normal;
}
@media (max-width: 991px) {
  body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_pageable-slide-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px;
  }
  body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-zone-img { height: 260px; }
}
@media (max-width: 479px) {
  body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_pageable-slide-wrapper { grid-template-columns: minmax(0, 1fr); }
  body:is(.page-id-2053, .adelianos-product-catalogue) .my-products_container .vc_gitem-post-data-source-post_title h4 { min-height: 0; }
}


/* Our Idea: independent cards with consistent image areas and responsive spacing. */
body.page-id-1990 #layout .vc_grid { margin: 0 !important; }
body.page-id-1990 #layout .vc_pageable-slide-wrapper {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
body.page-id-1990 #layout .vc_pageable-slide-wrapper::before,
body.page-id-1990 #layout .vc_pageable-slide-wrapper::after { display: none; }
body.page-id-1990 #layout .vc_grid-item {
  float: none; width: auto !important; min-width: 0; margin: 0; padding: 0 !important;
}
body.page-id-1990 #layout .vc_grid-item-mini { height: 100%; background: #f2f3f4; }
body.page-id-1990 #layout .vc_gitem-zone-a {
  position: relative; background-image: none !important; overflow: hidden;
}
body.page-id-1990 #layout .vc_gitem-zone-a::before { display: none; }
body.page-id-1990 #layout .vc_gitem-zone-img {
  display: block; visibility: visible; position: static;
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
}
body.page-id-1990 #layout .vc_gitem-post-data-source-post_title h4 {
  font-size: 24px; line-height: 1.3; margin: 0 0 16px;
}
body.page-id-1990 #layout .vc_gitem-col { padding: 20px; }
@media (max-width: 991px) {
  body.page-id-1990 #layout .vc_pageable-slide-wrapper { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.page-id-1990 #layout .vc_grid-container-wrapper { max-width: 620px; margin: 0 auto; padding: 0 16px; }
}


/* Our Idea article section: one centred layout, without the partial-width photo backdrop. */
body.page-id-1990 #layout > .vc-row-wrapper.vc_custom_1611172287241 {
  width: 100%; max-width: none; margin: 64px 0 0 !important;
  padding: 64px 0 !important;
  background: #f7f7f4 !important;
  overflow: hidden;
}
body.page-id-1990 #layout > .vc_custom_1611172287241 > .dfd-row-bg-wrapper-cover,
body.page-id-1990 #layout > .vc_custom_1611172287241 > .dfd-row-bg-overlay,
body.page-id-1990 #layout > .vc_custom_1611172287241::before,
body.page-id-1990 #layout > .vc_custom_1611172287241::after {
  display: none !important;
}
body.page-id-1990 #layout > .vc_custom_1611172287241 > .wpb_row.row {
  width: calc(100% - 48px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none;
}
body.page-id-1990 #layout > .vc_custom_1611172287241 > .wpb_row > .columns {
  width: 100%; margin: 0; padding: 0 !important;
}
body.page-id-1990 #layout .vc_custom_1611172245217 {
  margin: 0 !important; padding: 0 !important;
}
body.page-id-1990 #layout .vc_grid-item-mini {
  background: #fff; overflow: hidden; border-radius: 4px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.045);
}
body.page-id-1990 #layout .vc_gitem-zone-c {
  background-color: #fff !important;
}
body.page-id-1990 #layout .vc_gitem-col { padding: 24px; }
body.page-id-1990 #layout .vc_gitem-post-data-source-post_title h4 {
  font-size: 23px; line-height: 1.3; letter-spacing: -0.3px;
}
body.page-id-1990 #layout .vc_gitem-post-data-source-post_excerpt p {
  margin: 0; line-height: 1.75; text-align: left;
}
body.page-id-1990 #layout .vc_gitem-post-data-source-post_excerpt p:empty { display: none; }
@media (max-width: 991px) {
  body.page-id-1990 #layout > .vc_custom_1611172287241 { margin-top: 40px !important; padding: 40px 0 !important; }
  body.page-id-1990 #layout .vc_grid-container-wrapper { padding: 0; }
}
@media (max-width: 479px) {
  body.page-id-1990 #layout > .vc_custom_1611172287241 > .wpb_row.row { width: calc(100% - 32px) !important; }
  body.page-id-1990 #layout .vc_gitem-col { padding: 20px; }
}


/* Article navigation stays inside the page, clear of fixed share controls. */
body.single-post #main-wrap .dfd-controls {
  display: flex !important; position: relative; gap: 20px;
  width: calc(100% - 48px); max-width: 1200px; margin: 32px auto;
}
body.single-post #main-wrap .dfd-controls .page-inner-nav {
  position: static !important; display: flex; align-items: center; gap: 16px;
  flex: 1 1 0; min-width: 0; width: auto; height: auto;
  margin: 0 !important; padding: 18px 20px;
  border: 1px solid #deded8; border-radius: 4px;
  background: #fff; color: #28262b; text-decoration: none;
  transition: background .2s, border-color .2s;
}
body.single-post #main-wrap .dfd-controls .page-inner-nav:hover,
body.single-post #main-wrap .dfd-controls .page-inner-nav:focus-visible {
  background: #f7f7f4; border-color: #70734b;
}
body.single-post #main-wrap .dfd-controls .nav-next { flex-direction: row-reverse; text-align: right; }
body.single-post #main-wrap .dfd-controls .dfd-controler {
  position: static; display: block; flex: 0 0 auto;
  width: auto; height: auto; line-height: 1.4; border: 0;
  margin: 0; padding: 0; background: transparent !important;
}
body.single-post #main-wrap .dfd-controls .dfd-controler span {
  margin: 0 !important; color: #585c36 !important;
  font-family: inherit; font-size: 14px; font-weight: 600;
}
body.single-post #main-wrap .dfd-controls .dfd-controler span::before { display: none; }
body.single-post #main-wrap .dfd-controls .pagination-title {
  display: block; position: static; min-width: 0; width: auto; height: auto;
  margin: 0 !important; padding: 0 !important; border: 0;
  background: transparent; white-space: normal; text-align: inherit;
  transform: none !important; transition: none;
}
body.single-post #main-wrap .dfd-controls .pagination-title .thumb { display: none; }
body.single-post #main-wrap .dfd-controls .dfd-vertical-aligned {
  position: static; top: auto; transform: none;
}
body.single-post #main-wrap .dfd-controls .pagination-title div.box-name,
body.single-post #main-wrap .dfd-controls .pagination-title div.subtitle {
  margin: 0 !important; padding: 0 !important; border: 0;
  line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
}
body.single-post #main-wrap .dfd-controls .pagination-title div.box-name { font-size: 16px; font-weight: 600; }
body.single-post #main-wrap .dfd-controls .pagination-title div.subtitle { font-size: 12px; color: #626262; }

/* The header category badge needs contrast against the white article. */
body.single-post #layout .dfd-news-categories .byline.category a {
  display: inline-block; padding: 5px 10px;
  background: #555b35 !important; color: #fff !important;
  border-radius: 3px; line-height: 1.5; text-decoration: none;
}
body.single-post #layout .dfd-news-categories .cat-name { color: inherit !important; }
body.single-post #layout .dfd-news-categories a:hover,
body.single-post #layout .dfd-news-categories a:focus-visible { background: #3e4326 !important; }
body.single-post #layout article .entry-meta,
body.single-post #layout article .entry-meta a { color: #626262; }

/* X/Twitter fallback independent of the theme's icon-font version. */
.rrssb-buttons li.rrssb-twitter::before,
.rrssb-buttons li.rrssb-twitter > a > i { display: none !important; }
.rrssb-buttons li.rrssb-twitter > a::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  display: block; width: 17px; height: 17px;
  transform: translate(-50%, -50%); background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.9%202H22l-6.8%207.8L23.2%2022H17l-4.9-7.4L5.6%2022H2.4l7.2-8.3L1.8%202h6.4l4.4%206.7L18.9%202ZM17.8%2020h1.7L7.3%204H5.5l12.3%2016Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.9%202H22l-6.8%207.8L23.2%2022H17l-4.9-7.4L5.6%2022H2.4l7.2-8.3L1.8%202h6.4l4.4%206.7L18.9%202ZM17.8%2020h1.7L7.3%204H5.5l12.3%2016Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 600px) {
  body.single-post #main-wrap .dfd-controls { width: calc(100% - 32px); flex-direction: column; gap: 12px; margin: 24px auto; }
  body.single-post #main-wrap .dfd-controls .page-inner-nav { padding: 14px 16px; }
}


/* Persistent left/right controls, without sliding labels or offscreen panels. */
body.single-post #main-wrap .dfd-controls {
  display: block !important; position: static; width: 0; height: 0;
  margin: 0 !important; padding: 0; max-width: none;
}
body.single-post #main-wrap .dfd-controls .page-inner-nav {
  position: fixed !important; top: 50%; bottom: auto;
  display: flex; justify-content: center; align-items: center;
  width: 76px; min-width: 76px; height: 52px;
  padding: 10px 8px; margin: 0 !important;
  transform: translateY(-50%); z-index: 900;
  border: 1px solid #454b2c; background: #555b35;
  box-shadow: 0 3px 12px rgba(0,0,0,.18); color: #fff;
}
body.single-post #main-wrap .dfd-controls .page-inner-nav.nav-prev { left: 0; right: auto; border-radius: 0 6px 6px 0; }
body.single-post #main-wrap .dfd-controls .page-inner-nav.nav-next { right: 0; left: auto; border-radius: 6px 0 0 6px; }
body.single-post #main-wrap .dfd-controls .pagination-title { display: none !important; }
body.single-post #main-wrap .dfd-controls .dfd-controler { color: #fff; line-height: 1.3; }
body.single-post #main-wrap .dfd-controls .dfd-controler span { color: #fff !important; font-size: 13px; white-space: nowrap; }
body.single-post #main-wrap .dfd-controls .dfd-controler.prev span::before {
  content: "\2190"; display: inline; position: static; width: auto; height: auto; margin: 0 5px 0 0; border: 0;
}
body.single-post #main-wrap .dfd-controls .dfd-controler.next span::after { content: "\2192"; margin-left: 5px; }
body.single-post #main-wrap .dfd-controls .page-inner-nav:hover,
body.single-post #main-wrap .dfd-controls .page-inner-nav:focus-visible {
  background: #353b20; border-color: #353b20; outline: 2px solid #c8b47d; outline-offset: 2px;
}
body.single-post .dfd-single-share-fixed {
  top: calc(50% + 56px) !important; bottom: auto !important; left: 0;
  margin-top: 0 !important; transform: none !important;
}
/* Position the X inside its link rather than relative to the whole share list. */
.rrssb-buttons li.rrssb-twitter > a { position: relative !important; display: block; width: 100%; height: 100%; min-height: 36px; }
.rrssb-buttons li.rrssb-twitter > a::after { color: #242424; opacity: 1 !important; visibility: visible !important; }
@media (max-width: 600px) {
  body.single-post #main-wrap .dfd-controls .page-inner-nav { top: auto; bottom: 16px; transform: none; }
  body.single-post .dfd-single-share-fixed { top: auto !important; bottom: 82px !important; }
}


/* Anchor the floating shares to the viewport, not the article's positioned row. */
body.single-post #main-wrap .dfd-single-share-fixed {
  position: fixed !important;
  left: 0 !important; right: auto !important;
  top: calc(50% + 56px) !important; bottom: auto !important;
  width: 48px !important; height: auto !important;
  margin: 0 !important; padding: 0 !important;
  transform: none !important; z-index: 890;
}
body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons {
  display: flex !important; flex-direction: column; gap: 6px;
  width: 48px !important; height: auto !important;
  margin: 0 !important; padding: 0 !important; list-style: none;
}
body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons > li {
  position: relative; float: none !important;
  display: block !important; flex: 0 0 36px;
  width: 48px !important; height: 36px !important;
  margin: 0 !important; padding: 0 !important;
  background: #fff; border: 1px solid #d8d8d2;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 7px rgba(0,0,0,.08);
}
body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons > li > a {
  position: relative !important; top: auto; left: auto;
  display: flex !important; align-items: center; justify-content: center;
  width: 100% !important; height: 100% !important; min-height: 0;
  padding: 0; margin: 0; line-height: 1;
}
body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons > li > a:hover,
body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons > li > a:focus-visible { background: #f0f1e9; }
@media (max-width: 600px) {
  body.single-post #main-wrap .dfd-single-share-fixed { top: auto !important; bottom: 82px !important; }
}
@media (max-height: 500px) and (min-width: 601px) {
  body.single-post #main-wrap .dfd-single-share-fixed { top: auto !important; bottom: 12px !important; width: auto !important; }
  body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons { flex-direction: row; width: auto !important; }
  body.single-post #main-wrap .dfd-single-share-fixed .rrssb-buttons > li { flex: 0 0 48px; }
}
