/* ============================================================================
 * RMS Desktop — Site-Specific Structural & Asset Overrides
 * File: legacy/assets/sites/desktop/rms/css/style-site.css
 * AgencyId / Config: 125
 *
 * Intended Load Order:
 *   1. /assets/common/css/style.css       (Authoritative Master — Read-Only)
 *   2. /assets/common/css/style-cb.css    (Authoritative Master — Read-Only)
 *   3. /assets/site/css/style-site.css    (THIS FILE — Agency View Structure)
 *   4. /assets/site/css/style-theme.css   (RMS Brand Theme & Colors)
 *
 * Scope:
 *   - Agency views under legacy/CricBattle.Web/Agency/RMS/ (6 views)
 *   - Controller-selected agency/corporate pages (Join-Create-League, etc.)
 *   - Common fantasy application layouts inherit from Authoritative Master CSS.
 *   - All AuctionHouse-specific overrides are strictly excluded.
 *   - All original image and font paths (including EC2-only assets) are preserved.
 * ============================================================================ */

/* ==========================================================================
 * 1. Agency Header, Dual-Logo & _LoginPartial
 * ========================================================================== */

.slider_header img {
  height: 87px;
}

.cb_title_header {
  padding: 5px 12px;
}

/* ==========================================================================
 * 2. League Navigation Strip (_LeagueMenu.cshtml)
 * ========================================================================== */

.menu_strip_block .dropdown-content {
  z-index: 9;
}

.menu_strip_block a.bread_cum i {
  margin-left: 0;
}

.menu_strip_block li {
  padding-left: 8px;
}

/* ==========================================================================
 * 4. RMS Index / Landing Page (Home/Index.cshtml)
 * ========================================================================== */

.mm-slider-box {
  float: left;
  width: calc(100% - 15px);
  padding-left: 0;
}

.eng-ind-banner-main {
  width: 985px;
  height: 591px;
  left: calc(50% - 480px);
}

a#lnkHeaderBanner {
  margin-top: 7px;
}

#imgHeaderBanner {
  height: 88px;
}

div#divPopUpCBAdd .eng-ind-banner-main {
  top: calc(50% - 310px);
}

.banner_wrapper {
  background-image: url(../images/rms_homepage_banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 210px;
  padding-bottom: 70px;
  position: relative;
}

.banner_outer h1 {
  text-align: center;
  margin-bottom: 10px;
}

.banner_wrapper .fix-part {
  width: 100%;
}

.banner_outer {
  text-align: center;
}

.ap-slider font:last-child img {
  display: none;
}

/* ==========================================================================
 * 5. Corporate / Agency Play Page — Join-Create-League (Index-Corporate.cshtml)
 * ========================================================================== */

.jl-sl-box3 {
  width: calc(50% - 50px);
  margin: 20px 10px 10px 20px;
  padding: 10px 5px 10px 15px;
}

.jl-sl-box3 h2 {
  margin-top: 5px;
}

.jl-sl-box3 .red-img {
  margin-top: 37px;
  background: url(../images/red-img.png) top left no-repeat;
}

.jl-sl-box3.jl-sl-box33 .league-box23 .jl-sl-box-btn {
  position: absolute;
  bottom: 5px;
  left: 50%;
  margin-left: -75px;
}

#divJoinCreate .menu-right_strp li a {
  padding-left: 10px;
}

/* ==========================================================================
 * 6. Other Agency-Specific Views
 * ========================================================================== */

.tabscontent {
  width: 100%;
}

.page-title-new {
  width: calc(100% - 10px);
}

.ap-note-close {
  background: url(../images/fancybox_sprite.png) top left no-repeat;
}

div#divAfterLogin {
  margin-top: 0;
}

div#divBeforeLogin {
  margin-top: 0;
}

.cric_box_outer {
  padding-top: 20px;
  padding-bottom: 40px;
}

.cric_box_inner {
  width: 375px;
  background-image: url(../images/banner-box.png);
  margin: 0 20px;
}

.cric_box_inner .button {
  border-radius: 4px;
}

.main_bnr_title {
  margin-bottom: 25px;
  display: inline-block;
  border-radius: 6px;
  padding: 5px 20px;
  margin-top: 20px;
}

.main_bnr_title img {
  width: 50px;
  margin-right: 10px;
  vertical-align: middle;
  height: 55px;
  object-fit: contain;
}

.main_bnr_title span {
  vertical-align: middle;
}

.main_bnr_title span::before {
  content: "Strategize, Bid, Triumph – The RMS Way";
}

.hm_offers_wrapper {
  padding-bottom: 0;
}

.hm_offer_box {
  width: calc(20% - 45px);
  padding: 10px 15px;
  margin-bottom: 13px;
  position: relative;
}

.hm_offer_box h3 {
  margin-bottom: 5px;
}

.corporate_box_wrap {
  margin-top: 0;
  margin-bottom: 80px;
}

.corporate_box_wrap .container {
  background-image: url(../images/rms_corporate_bg.jpg);
}

.coprte_partner_img {
  padding: 4px 2px;
}

.coprte_partner_img img {
  width: 80px;
}

.corporate_box_wrap.local_tourment_wrap {
  margin-bottom: 60px;
  margin-top: 60px;
}

.local_tourment_wrap .container {
  background-image: url(../images/rms_localtournament.jpg);
}

h2.main_bnr_title img {
  width: 45px;
  height: 45px;
}

.nobot_label {
  width: 550px;
}

.bnr_bot_tag {
  padding: 50px 10px 8px 10px;
}

.bnr_strp_lline {
  display: inline-block;
  padding: 8px 20px 7px 20px;
  border-radius: 40px;
  white-space: pre;
  padding-bottom: 25px;
}

.box_seprator_wrapper .container {
  padding-top: 20px;
  padding-bottom: 80px;
}

.box_seprator_inner {
  background-image: url(https://www.cricbattle.com/images/box-seprator-bg.jpg);
}

.box_seprator_right .box_seprator_inner {
  background-image: url(https://www.cricbattle.com/images/box-seprator-bg2.jpg);
}

.dis-btn.button2 {
  cursor: default;
}

.footer_bottom_logos::before {
  top: 115px;
}

/* ==========================================================================
 * 7. Responsive Overrides for Agency-Specific Views
 * ========================================================================== */

@media (max-width:1024px) {
  .fix-part {
    margin: 0px auto;
  }
}

@media screen and (max-width: 1500px) and (min-width: 1300px) {
  .banner_wrapper .fix-part {
    margin: 0;
  }
}

@media screen and (max-width: 1400px) and (min-width: 1250px) {
  .filter-search-modal .modal-content {
    transform: translateY(10%);
  }
}

@media screen and (max-width: 1600px) and (min-width: 1300px) {
  .header_logo img {
    width: 205px;
    height: 55px;
  }

  .footer_logo img {
    width: 205px;
    height: 55px;
  }

  .button_style1 {
    border-radius: 7px;
  }

  .foooter_mid_bot img {
    height: 24px;
    margin: 0 3px;
  }

  .top_header {
    padding: 10px 40px;
  }

  .bottom_header {
    padding: 7px 40px;
  }

  header.header_wrapper .header_logo img {
    width: 180px;
    height: 52px;
    margin-right: 10px;
  }

  .theader_right {
    width: 45%;
  }

  .profile-btn {
    min-width: 155px;
  }

  .bheader_left li a {
    padding: 5px 9px;
  }

  .bheader_links a {
    padding: 5px 9px;
  }
}
