/* Extracted from pages/new-discount.php's inline <style> block during the Bootstrap
   migration. Most of this page's content sections (.new-discount h2/h3, .yellow-button,
   .sede-bg ol, .konecna-cena, .section-4 h3, .desc-text a, .vyhody-vpravo li,
   .strong-green a) wrap raw CMS rich-text fields (page_info['varN'], confirmed via DB
   query to contain real <h2>/<h3>/<ol><li> markup authored in the WYSIWYG editor) - these
   stay fully custom since there is no static HTML to add utility classes to, and the
   selectors would otherwise strip styling from CMS-authored content that can't receive
   a class. Only the genuinely static, PHP-generated markup below (.mobil-navi's own
   dropdown, #bannerTop, the femto/zlasik/relex/red-button links) got Bootstrap-utility
   splits. */

#bannerTop h1 {
  font-size: 56px;
}

.uzsie {
  max-width: 70%;
}

/* position/display differ at the mobile breakpoint below (absolute/initial here,
   relative/block there) - can't be split to a utility, Bootstrap 4.6 has no responsive
   position variants and forcing d-block sitewide would break the desktop layout. */
.mobil-navi {
  position: absolute;
  right: 0px;
  top: 0px;
  display: initial;
}

.strong-green a {
  color: #29c3b1;
}

/* display:table-cell/vertical-align:middle are identical at both breakpoints (only
   height/width/font-size/padding change), so those two split safely; width stays
   custom - js/script-inline.js's own <script> below sets it via $('.select').width(). */
.mobil-navi .select {
  height: 60px;
  padding: 0 18px;
  border: 2px solid #c1c3c2;
  background: #fff;
  width: 300px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: #5e5e5e;
  background-image: url(../img/relex-smile/select2.png) !important;
  background-position: right !important;
  background-repeat: no-repeat !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 45px;
  padding-left: 20px;
}

/* position:absolute, margin-top:0 and background:#fff are identical at both breakpoints
   (only top/width/z-index/borders change or stay custom), so those three split to
   utilities in HTML; display:none stays custom (kept as an inline style instead) -
   js/script-inline.js's own <script> below does $('.mobil-navi ul').toggle(), which sets
   an inline style.display that a class-based !important d-none would permanently block
   after the first toggle. z-index/top/width/borders have no exact Bootstrap 4.6 match. */
.mobil-navi ul {
  border-left: 2px solid #c1c3c2;
  border-right: 2px solid #c1c3c2;
  border-bottom: 2px solid #c1c3c2;
  top: 60px;
  width: 100%;
  z-index: 100;
}

.mobil-navi li a {
  font-size: 14px;
  line-height: 21px;
}

@media (max-width: 767px) {
  .uzsie {
    max-width: 100%;
  }

  .mobil-navi {
    position: relative;
    margin-bottom: 40px;
    display: block;
    width: 100%;
  }

  .mobil-navi ul {
    border-left: 2px solid #c1c3c2;
    border-right: 2px solid #c1c3c2;
    border-bottom: 2px solid #c1c3c2;
    top: 103px;
    width: calc(100% - 1px);
  }

  .mobil-navi .select {
    height: 103px;
    padding: 0 18px;
    border: 2px solid #c1c3c2;
    background: #fff;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    color: #5e5e5e;
    background-image: url(../img/relex-smile/select2.png) !important;
    background-position: right !important;
    background-repeat: no-repeat !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 45px;
    padding-left: 20px;
  }
}

.mobil-navi ul li {
  padding: 5px 10px;
  margin: 0px;
  font-size: 14px;
  line-height: 21px;
}

.mobil-navi ul li:hover {
  background-color: #c1c3c2;
}

/* width:100% split to w-100 in HTML; max-width:970px has no exact utility match. */
#bannerTop .container {
  max-width: 970px;
}

/* .new-discount-wrap's own .container width (everywhere except #bannerTop, which has its
   own rule above) - hard-coded to match production (measured via bounding-box sweep,
   2026-09-08). Tried dropping this in favor of Bootstrap 4.6's plain native .container
   sizing first (less code) - checked visually and it's a real regression, not just a
   narrower column: Bootstrap's md tier (720px, ~768-991px viewports) is too narrow for
   the countdown timer's 4 boxes + the two icon columns to fit on one row, so the 4th box
   wraps to a second line. Kept as a page-scoped override; !important + high specificity
   needed to win outright regardless of load order against both style-inline.css's own
   overlapping .container cascade and Bootstrap's native one (this environment loads real
   Bootstrap 4.6.2 globally for every page, which production - still on the old unmigrated
   grid.css for this specific page - never did, so the two environments pick different
   winners from that cascade even though style-inline.css itself is unchanged).

   max-width:none !important needed on every tier - Bootstrap's own .container sets
   max-width (not width) at each of its breakpoints, and max-width always caps width
   regardless of !important on width alone (same issue already documented above for the
   #pocket .container rule's own max-width:none fix). Without this, Bootstrap's md tier
   (max-width:720px) silently capped this rule's width:970px/95% back down to 720px. */
.new-discount-wrap .container:not(#bannerTop .container) {
  width: 970px !important;
  max-width: none !important;
  margin: 0 auto !important;
}
@media (max-width: 991px) {
  .new-discount-wrap .container:not(#bannerTop .container) {
    width: 960px !important;
    max-width: none !important;
  }
}
@media (max-width: 890px) {
  .new-discount-wrap .container:not(#bannerTop .container) {
    width: 95% !important;
    max-width: none !important;
  }
}
@media (max-width: 645px) {
  .new-discount-wrap .container:not(#bannerTop .container) {
    width: 90% !important;
    max-width: none !important;
  }
}
@media (min-width: 1200px) {
  .new-discount-wrap .container:not(#bannerTop .container) {
    width: 1140px !important;
    max-width: none !important;
  }
}

.gift a {
  margin-top: 30px;
}

.gift {
  background-size: cover;
}

.new-discount {
  padding: 46px 0px;
  font-size: 18px;
}

.new-discount h2 {
  color: #36c2b2;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-transform: initial;
  font-size: 36px;
  line-height: 40px;
}

.vyhody-vpravo li {
  background-image: url(../img/textLi.jpg);
  background-repeat: no-repeat;
  background-position: left 13px;
  padding-left: 21px;
  margin-bottom: 10px;
  color: #5e5e5e;
}

.new-discount h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e607d;
  line-height: 30px;
}

/* .red-button is a literal static <a> (pages/new-discount.php, the "woman" section) -
   display/color/font-weight/text-transform/text-decoration split to utilities in HTML;
   background-color/padding/border-radius/margin/font-size have no exact match. */
.red-button {
  padding: 20px 30px;
  background-color: #cc0033;
  border-radius: 5px;
  padding-right: 30px;
  margin: 80px 0px;
  font-size: 24px;
}

.red-button:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  color: #fff;
  position: relative;
  left: 10px;
}

/* .femto/.zlasik/.relex a are literal static <a> tags (their href/text come from
   page_info fields, but the <a> tag itself is hardcoded, not CMS rich text) - same
   split as .red-button. */
.femto a,
.zlasik a,
.relex a {
  padding: 10px 20px;
  background-color: #29c3b1;
  border-radius: 5px;
  margin: 40px 0px;
}

.femto a:after,
.zlasik a:after,
.relex a:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  color: #fff;
  position: relative;
  left: 5px;
}

.desc-text a {
  color: #29c3b1;
}

.yellow-button a,
.yellow-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f9b400;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
}

.yellow-button a.not-button {
  display: initial;
  padding: 0px;
  background: none !important;
  color: #5e5e5e;
  text-transform: initial;
}

.yellow-button a.not-button:after {
  content: "";
}

.yellow-button a.not-button:hover {
  color: #00b9ae;
  font-weight: 700;
  text-transform: underline;
}

.sede-bg {
  background-color: #f3f1f0;
}

.yellow-button h3 {
  line-height: 30px;
}

.yellow-button a:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  color: #fff;
  position: relative;
  left: 5px;
}

.konecna-cena a {
  color: #00b9ae;
}

.new-discount {
  color: #5e5e5e;
  line-height: 30px;
}

.sede-bg ol {
  margin-left: 60px;
  list-style: none;
}

.sede-bg ol li::marker {
  content: " ";
  display: none;
}

.sede-bg ol li {
  position: relative;
  line-height: 25px;
  margin-bottom: 20px;
}

.sede-bg ol li:before {
  background-color: #29c3b1;
  width: 30px;
  height: 30px;
  display: block;
  content: "2";
  position: absolute;
  border-radius: 50%;
  left: -55px;
  top: 11px;
  text-align: center;
  color: #fff;
  line-height: 30px;
}

.sede-bg ol li:first-child:before {
  content: "1";
}

.sede-bg ol li:nth-child(2):before {
  content: "2";
}

.sede-bg ol li:nth-child(3):before {
  content: "3";
}

.section-4 h3 {
  text-transform: initial !important;
  text-align: center;
  width: 100%;
}

.password {
  color: #fff;
  line-height: 30px;
  padding: 80px 0px;
}

.password .content {
  background: url(../img/ico-password.png);
  background-position: right center;
  background-repeat: no-repeat;
}

.password h2 {
  font-size: 24px;
  line-height: 30px;
}

.password a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #cc0033;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 18px;
}

.no-break {
  word-break: none;
}

.bez-countera {
  padding: 80px 80px;
  text-align: center;
}

.section-2 img {
  margin-bottom: 30px;
  max-width: 100%;
}

.section-4 img {
  margin: 40px 0px;
}

.section-4 .text-info {
  margin-bottom: 40px;
}

.section-10 {
  padding: 80px 0px;
}

.strong-green strong {
  color: #1e607d;
}

.section-6 h3 {
  font-size: 24px;
  line-height: 30px;
}

.konecna-cena h3 {
  font-size: 24px;
  line-height: 30px;
}

.section-10 h3 {
  font-size: 24px;
  line-height: 30px;
}

.section-12 h3 {
  font-size: 18px;
}

.section-12 li {
  font-size: 16px;
  line-height: 30px;
}
.leftover_div {
  text-align: center;
  margin-top: 20px;
}
.leftover_div h4 strong {
  font-size: 50px;
  color: #fff;
  font-weight: bolder;
  background: #c03;
  padding: 5px 10px;
}

@media (max-width: 1024px) {
  .relex {
    background-position: 70% center;
    background-size: cover;
  }

  .zlasik {
    background-position: 70% center;
    background-size: cover;
  }

  .femto {
    background-position: 67% center;
    background-size: cover;
  }
}

@media (min-width: 769px) {
  .gift {
    background-position: bottom;
  }
}

@media (max-width: 768px) {
  .new-discount ul.counter li span {
    background-color: #cc0033;
    padding: 10px;
  }

  .relex {
    background-position: 70% center;
    background-size: cover;
  }

  .zlasik {
    background-position: 70% center;
    background-size: cover;
  }

  .femto {
    background-position: 67% center;
    background-size: cover;
  }
}

@media (max-width: 430px) {
  .leftover_div h4 strong {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .bez-countera {
    padding: 20px 0px;
  }

  .bez-countera p {
    text-align: left !important;
  }

  .password a {
    margin-top: 40px;
  }

  .relex {
    background-position: 70% center;
    background-size: cover;
  }

  .zlasik {
    background-position: 70% center;
    background-size: cover;
  }

  .femto {
    background-position: 67% center;
    background-size: cover;
  }

  .password .content {
    background-position: right bottom;
  }

  .yellow-button a,
  .yellow-btn {
    font-size: 14px;
  }

  .row-banner {
    height: auto;
    padding-bottom: 130px;
  }

  .red-button {
    padding: 10px 20px;
    padding-right: 20px;
    font-size: 13px;
  }

  .woman {
    background-position: 30% center;
  }
}

@media (max-width: 645px) {
  #bannerTop .title {
    font-size: 25px;
  }
}
