/*
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
*/
body {
  background-color: red !important;
}

@media only screen and (max-width: 1100px) {
  #header-xcontainer:not(.small) {
    position: fixed !important;
  }
}

@media only screen and (max-width: 799px) {
  #header-container:not(.small) {
    position: fixed !important;
  }
}

@media only screen and (max-width: 480px) {
  #header-container:not(.small) {
    position: fixed !important;
  }
}

@media only screen and (max-width: 799px) {
  #header-container.small {
    display: block !important;
  }
}

@media only screen and (max-width: 480px) {
  #header-container.small {
    display: block !important;
  }
}

#mobile-menu .icon-wrap {
  background-color: #000000 !important;
}

#sidr .sidr-top {
  display: none !important;
}

#footer-wrap,
#footer,
.footer-style-1 {
  display: none !important;
}

/* Dedicated Slider for Mobile Devices */

.rev-mobile {
  display: none;
}

.rev-desktop {
  display: block;
}

@media (max-width: 767px) {
  .rev-desktop {
    display: none;
  }

  .rev-mobile {
    display: block;
  }
}

/* Ronneby mobile menu: progressive indentation and consistent font size across menu levels */
@media only screen and (max-width: 1100px) {

    /* Force the same font size for all menu depths */
    #sidr .menu-item-depth-0 > .menu-link,
    #sidr .menu-item-depth-1 > .menu-link,
    #sidr .menu-item-depth-2 > .menu-link,
    #sidr .menu-item-depth-3 > .menu-link,
    #sidr .menu-item-depth-4 > .menu-link {
        font-size: 10px !important;
    }

    /* Level 0 - Travel */
    #sidr .menu-item-depth-0 > .menu-link {
        padding-left: 25px !important;
    }

    /* Level 1 - Asia, Europe / Caucasus, Other */
    #sidr .menu-item-depth-1 > .menu-link {
        padding-left: 45px !important;
    }

    /* Level 2 - Central Asia, Philippines, Indonesia, etc. */
    #sidr .menu-item-depth-2 > .menu-link {
        padding-left: 65px !important;
    }

    /* Level 3 - Arslanbob, Sary Tash, etc. */
    #sidr .menu-item-depth-3 > .menu-link {
        padding-left: 85px !important;
    }

    /* Level 4 */
    #sidr .menu-item-depth-4 > .menu-link {
        padding-left: 105px !important;
    }
}

/* Ronneby desktop menu - force nested submenus to open left with native 2px gap */

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

    /* Ronneby: consistent 2px gap for naturally left-opening submenus */
    nav.mega-menu ul.nav-menu > li
    div.sub-nav > ul:not(.sub-menu-wide)
    ul.sub-nav-left {
        margin-right: 2px !important;
    }

    /* Force depth 3+ submenus to open left with the same 2px gap */
    .menu-depth-3.sub-sub-menu,
    .menu-depth-4.sub-sub-menu {
        left: auto !important;
        right: 100% !important;
        margin-left: 0 !important;
        margin-right: 2px !important;
        z-index: 9;
    }

}

/* Desktop submenu indicators */
/* Desktop submenu indicators */
@media (min-width: 1101px) {

    .nav-menu .menu-item-depth-2.has-submenu > a.sub-menu-link {
        position: relative !important;
    }

    .nav-menu .menu-item-depth-2.has-submenu > a.sub-menu-link::before {
        content: "..." !important;
        position: absolute !important;
        right: 18px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        font-family: Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: normal !important;
        line-height: 1 !important;
        letter-spacing: 1px !important;

        color: #000 !important;
        opacity: 1 !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        animation: none !important;
    }
}

/* Centre PhotoSwipe 5 captions below gallery images */
.pswp__dynamic-caption {
    text-align: center !important;
}