/**
* Theme Name: DailyFit Child
* Description: This is a child theme of DailyFit.
* Author: <a href="https://themeforest.net/user/expert-themes">Expert Themes</a>
* Template: dailyfit
* Version: 1.0
*/

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed !important;
    bottom: 100px !important;
    right: 15px;
    width: 40px;
    height: 40px;
    color: red;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 50px;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    background: #fff;
    display: none;
    border-radius: 38px;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease
}

/* Ascunde .pattern-layer pe dispozitivele mobile */
@media only screen and (max-width: 767px) {
    .pattern-layer {
        display: none !important;
    }
}

/* Styles for desktop and tablets */
.pull-left.logo-box {
  display: block; /* Show the element by default */
}

/* Styles for mobile devices */
@media only screen and (max-width: 599px) {
  .pull-left.logo-box {
    display: none; /* Hide the element on screens smaller than 600px */
  }
}

/* FIX: arată logo-ul DOAR în preview (Elementor / logat) fără să afecteze mobilul real */
@media only screen and (max-width: 599px){

  body.logged-in header.main-header.header-style-one .pull-left.logo-box,
  body.elementor-editor-active header.main-header.header-style-one .pull-left.logo-box,
  body.elementor-preview header.main-header.header-style-one .pull-left.logo-box{
    display:block !important;
  }

  /* opțional: dacă în preview tot vezi două, ascunde sticky-logo când ești logat/editor */
  body.logged-in header.main-header.header-style-one .sticky-header .logo,
  body.elementor-editor-active header.main-header.header-style-one .sticky-header .logo,
  body.elementor-preview header.main-header.header-style-one .sticky-header .logo{
    display:none !important;
  }
}


/* Adauga logoul creat custom pe varianta mobil sa fie vizibil */
@media (max-width: 768px) {
    .header-upper .custom-logo {
        display: inline-block !important;
    }
}

/* Stilurile pentru logo-ul specific pe ecrane mici */
@media only screen and (max-width: 768px) {
    .nav-logo.specific-logo img {
        width: 390px !important; /* Ajustează lățimea pentru ecrane mici */
        height: 48px !important; /* Ajustează înălțimea pentru ecrane mici */
        margin-top: 5px !important; /* Ajustează margin-top pentru ecrane mici */
        margin-bottom: 5px !important; /* Ajustează margin-bottom pentru ecrane mici */
    }
}

/* Ajustare layout pentru a se potrivi cu noua structură */
.row.clearfix {
    display: flex;
    flex-wrap: wrap;
}

.content-side {
    order: 2; /* Schimbă ordinea pe ecrane mai mici */
}

.sidebar-side {
    order: 1; /* Schimbă ordinea pe ecrane mai mici */
}

/* style.css in your child theme */
.container {
    text-align: center;
}

.row {
    display: inline-block; /* Make sure the row doesn't take the full width */
}

.team-block {
    display: inline-block;
    text-align: left; /* Reset text-align for inner content */
    margin: 0 auto; /* Center the team block */
}

/* Ascunde pe varianta mobil sectiunea de jos pentru Subscribers */
.subscribe-section {
    display: none;
    }

/* Suprascriere padding pentru div.sidebar-page-container.grey-bg */
.sidebar-page-container.grey-bg {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* Stiluri pentru ecranele mai mici (mobile și tabletă) */
@media only screen and (max-width: 1024px) {
    .sidebar-page-container.grey-bg {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: -40px !important;
        margin-bottom: 0px !important;
    }
}

.et_bloom_form_container:after {
    content: "";
    background: none !important;
}
