/* ============================================================
   Bid2Stay Release 12.8.3.46
   Uploaded Brand Logo Integration
   Uses the user-supplied artwork without redesigning it.
   ============================================================ */

:root{
  --b2s-logo-desktop-height:70px;
  --b2s-logo-tablet-height:62px;
  --b2s-logo-mobile-height:54px;
}

/* Keep the uploaded black lock-up crisp and proportionate. */
img[src*="bid2stay-logo.jpg"]{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
}

.logo,
.b2s-global-brand,
.b2s-login-brand,
.b2s-register-brand,
.b2s-partner-brand,
.b2s-about-brand{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  overflow:visible!important;
}

.logo img[src*="bid2stay-logo.jpg"],
.b2s-global-brand img[src*="bid2stay-logo.jpg"],
.b2s-login-brand img[src*="bid2stay-logo.jpg"],
.b2s-register-brand img[src*="bid2stay-logo.jpg"],
.b2s-partner-brand img[src*="bid2stay-logo.jpg"],
.b2s-about-brand img[src*="bid2stay-logo.jpg"]{
  height:var(--b2s-logo-desktop-height)!important;
  min-height:0!important;
  max-height:var(--b2s-logo-desktop-height)!important;
  width:auto!important;
  min-width:0!important;
  max-width:124px!important;
  border-radius:8px!important;
  filter:drop-shadow(0 5px 14px rgba(0,0,0,.28));
}

/* Give the taller vertical lock-up enough breathing room without enlarging the UI. */
.topbar-inner{min-height:84px!important;}
.b2s-global-header,.b2s-global-header-inner,
.b2s-login-header,.b2s-login-header-inner,
.b2s-register-header,.b2s-register-header-inner,
.b2s-partner-header,.b2s-partner-header-inner,
.b2s-about-header,.b2s-about-header-inner{
  min-height:88px!important;
}

/* Public navigation must open below the adjusted header. */
@media(max-width:900px){
  .b2s-global-nav,.b2s-login-nav,.b2s-register-nav,.b2s-partner-nav,.b2s-about-nav{top:88px!important;}
}

/* Footer presentation uses a slightly larger but restrained lock-up. */
.r11-footer img[src*="bid2stay-logo.jpg"],
footer img[src*="bid2stay-logo.jpg"]{
  width:154px!important;
  height:auto!important;
  max-height:none!important;
  border-radius:10px!important;
  filter:drop-shadow(0 7px 18px rgba(0,0,0,.28));
}

/* Standalone auth, error and offline logo blocks. */
main img[src*="bid2stay-logo.jpg"]:not(.logo img):not(.b2s-global-brand img):not(.b2s-login-brand img):not(.b2s-register-brand img):not(.b2s-partner-brand img):not(.b2s-about-brand img){
  width:min(190px,48vw)!important;
  height:auto!important;
  margin-inline:auto!important;
  border-radius:10px!important;
}

@media(max-width:1050px){
  .logo img[src*="bid2stay-logo.jpg"],
  .b2s-global-brand img[src*="bid2stay-logo.jpg"],
  .b2s-login-brand img[src*="bid2stay-logo.jpg"],
  .b2s-register-brand img[src*="bid2stay-logo.jpg"],
  .b2s-partner-brand img[src*="bid2stay-logo.jpg"],
  .b2s-about-brand img[src*="bid2stay-logo.jpg"]{
    height:var(--b2s-logo-tablet-height)!important;
    max-height:var(--b2s-logo-tablet-height)!important;
    max-width:110px!important;
  }
  .topbar-inner{min-height:78px!important;}
  .b2s-global-header,.b2s-global-header-inner,
  .b2s-login-header,.b2s-login-header-inner,
  .b2s-register-header,.b2s-register-header-inner,
  .b2s-partner-header,.b2s-partner-header-inner,
  .b2s-about-header,.b2s-about-header-inner{min-height:80px!important;}
  .b2s-global-nav,.b2s-login-nav,.b2s-register-nav,.b2s-partner-nav,.b2s-about-nav{top:80px!important;}
}

@media(max-width:680px){
  .topbar-inner{min-height:70px!important;width:min(100% - 20px,1380px)!important;}
  .b2s-global-header,.b2s-global-header-inner,
  .b2s-login-header,.b2s-login-header-inner,
  .b2s-register-header,.b2s-register-header-inner,
  .b2s-partner-header,.b2s-partner-header-inner,
  .b2s-about-header,.b2s-about-header-inner{min-height:72px!important;}

  .logo img[src*="bid2stay-logo.jpg"],
  .b2s-global-brand img[src*="bid2stay-logo.jpg"],
  .b2s-login-brand img[src*="bid2stay-logo.jpg"],
  .b2s-register-brand img[src*="bid2stay-logo.jpg"],
  .b2s-partner-brand img[src*="bid2stay-logo.jpg"],
  .b2s-about-brand img[src*="bid2stay-logo.jpg"]{
    height:var(--b2s-logo-mobile-height)!important;
    max-height:var(--b2s-logo-mobile-height)!important;
    width:auto!important;
    min-width:0!important;
    max-width:90px!important;
    border-radius:7px!important;
  }

  .b2s-global-nav,.b2s-login-nav,.b2s-register-nav,.b2s-partner-nav,.b2s-about-nav{
    top:72px!important;
    max-height:calc(100dvh - 72px)!important;
  }

  .r11-footer img[src*="bid2stay-logo.jpg"],
  footer img[src*="bid2stay-logo.jpg"]{width:132px!important;}
}

@media(max-width:390px){
  :root{--b2s-logo-mobile-height:50px;}
  .logo img[src*="bid2stay-logo.jpg"],
  .b2s-global-brand img[src*="bid2stay-logo.jpg"],
  .b2s-login-brand img[src*="bid2stay-logo.jpg"],
  .b2s-register-brand img[src*="bid2stay-logo.jpg"],
  .b2s-partner-brand img[src*="bid2stay-logo.jpg"],
  .b2s-about-brand img[src*="bid2stay-logo.jpg"]{max-width:82px!important;}
}
