/* REFRESHEYEDROPS.COM.AU */
:root {
  --bs-primary: #0053A5 !important;
  --bs-heading-font-color: #000 !important;
  --heading-1-font-size: calc(var(--bs-body-font-size)*3) !important;
  --heading-2-font-size: calc(var(--bs-body-font-size)*2.5) !important;
  --heading-3-font-size: calc(var(--bs-body-font-size)*2.2) !important;
  --heading-4-font-size: calc(var(--bs-body-font-size)*1.8) !important;
  --heading-5-font-size: calc(var(--bs-body-font-size)*1.5) !important;
  --heading-6-font-size: calc(var(--bs-body-font-size)*1.3) !important;

  --bs-gutter-x: 1.5rem !important;
}

/* NOTIFICATION */
#global-header .button-link {
  position: sticky;
  z-index: 100;
  top: 0;
  left: 0;
  background: #D9E5F1;
  text-align: center;
  padding-top: 1ch;
  height: 6ch;
}
#global-header .button-link a {
  color: var(--bs-primary);
}
/* EO NOTIFICATION */

h1, h2, h3, .lead {
  font-weight: 700 !important;
}
h1 {
  margin-bottom: 1.25rem !important;
  line-height: 1 !important;
}
.accordion {
  border-bottom: 1px solid !important;
  margin-bottom: 2.5rem !important;
}
h2.cmp-accordion__header {
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
}
h2 .cmp-accordion__button {
  padding: 0 !important;
}
h2 .cmp-accordion__title {
  font-size: var(--heading-2-font-size) !important;
  font-weight: bold !important;
}

.headline-text .large--title {
  font-size: var(--heading-3-font-size) !important;
  line-height: 3rem !important;
}

a.btn {
  min-width: unset !important;
  font-weight: 700 !important;
}
a.btn::after {
  background-color: unset !important;
}
a.btn-secondary {
  color: var(--bs-primary) !important;
  background-color: #fff !important;
  border-color: #fff !important;
}

#center-text {
  text-align: center !important;
}

.container {
  padding: 0 !important;
}

#cards {
  display: grid !important;
  grid-gap: 1.5rem !important;
}
#cards .cmp-container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;

  background: #D9E5F1 !important;
  border-radius: 24px !important;
}

#bg-container.cmp-container .aem-Grid {
  --max-content-width: 120ch !important;
  
  display: grid !important;
  grid-template-columns:
    [breakout-start] 1fr 
    [content-start] minmax(
      min(100%, var(--max-content-width)),
      1fr
    )
    [content-end] 1fr 
    [breakout-end];
}
#bg-container.cmp-container .aem-Grid > :not(.layout-container){
  grid-column: content !important;
}
#bg-container.cmp-container .aem-Grid > .layout-container {
  grid-column: breakout !important;
}
#bg-container.cmp-container .layout-container {
  margin-bottom: 2.5rem !important;
}
#bg-container.cmp-container .layout-container--center {
  border-radius: 16px !important;
  padding: 2.5rem 0.75rem !important;
}

.breadcrumb li,
.cmp-breadcrumb__item a {
  color: #fff !important;
}

/* MAIN */
main {
  min-height: 0 !important;
}
body {
  background: rgb(0,161,226) !important;
  background: radial-gradient(circle, rgba(0,161,226,1) 0%, rgba(2,82,153,1) 100%) !important;
}

/* HEADER */
#global-header .global-header {
  background: #fff !important;
  border-radius: 0 0 20px 20px !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.meta-navigation ul li a {
  color: var(--bs-primary) !important;
  padding-bottom: 1rem !important;
  text-decoration: none !important;
}
.meta-navigation ul li:not(:last-child).active a,
.meta-navigation ul li:not(:last-child) a:hover {
  background-image: url(/content/dam/abbvie-sitegenerator-ous/refresh-eye-drops/au/en/images/au-refresheyedrops-nav-active.svg) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 0.5em !important;
  background-position: 0 1.65em !important;
}
.meta-navigation ul li:last-child a {
  color: #fff !important;
  text-decoration: none !important;
  background: var(--bs-primary) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50rem !important;
}
.meta-navigation ul li:last-child a::after {
  content: url(/content/dam/abbvie-sitegenerator-ous/refresh-eye-drops/au/en/images/right-arrow-white.svg) !important;
  padding-left: 0.75rem !important;
}

#global-footer .global-footer {
  background: #D9E5F1 !important;
  border-radius: 20px 20px 0 0 !important;
  --max-content-width: 120ch !important;
  
  display: grid !important;
    grid-template-columns:
      [breakout-start] 1fr 
      [content-start] minmax(
        min(100%, var(--max-content-width)),
        1fr
      )
      [content-end] 1fr 
      [breakout-end];
}
.footer__inner {
  grid-column: content !important;
  padding: 1.5rem var(--bs-gutter-x) 1rem var(--bs-gutter-x) !important;
}
.col-md-12,
.cmp-container,
.layout-container-content {
  padding: 0 !important;
}
#global-footer .global-footer ul {
  list-style-type: none !important;
  padding: 0 !important;
  display: flex !important;
  column-gap: 0.5rem !important;
  row-gap: 0.25rem !important;
}
#global-footer .global-footer p,
#global-footer .global-footer ul a {
  color: #333 !important;
  border-color: #333 !important;
}

/* HOME */
#bg-home {
  background-size: contain !important;
  background-position: center !important;
}
#understanding-dry-eye {
  background: rgba(115, 185, 255, 0.66) !important;
  background: radial-gradient(50% 50% at 50% 50%, rgba(115, 185, 255, 0.66) 0%, rgba(115, 185, 255, 0) 100%) !important;
  margin: 2rem 0 !important;
}
#understanding-dry-eye h3 {
  font-size: var(--heading-4-font-size) !important;
}
#understanding-dry-eye a.btn {
  color: #fff !important;
}
#understanding-dry-eye #dry-eye--images {
  display: flex !important;
  place-content: center !important;
  gap: 1.5rem !important;
}

/* DRY EYE SURVEY */
#dry-eye {
  position: relative !important;
}
#dry-eye h2 {
  font-size: var(--heading-3-font-size) !important;
}
#dry-eye #dry-eye--image .image-extension {
    position: absolute !important;
    top: -2.75rem !important;
    right: 5% !important;
    width: 150px !important;
}

#survey {
  box-shadow: -1px -75px 75px -50px rgba(255, 255, 255, 0.76) !important;
  -webkit-box-shadow: -1px -100px 200px -50px rgba(255, 255, 255, 0.5) !important;
  -moz-box-shadow: -1px -75px 75px -50px rgba(255, 255, 255, 0.76) !important;
}
#survey iframe {
  height: 670px;
}

#bg-glow {
  box-shadow:inset 0 0 0 300px rgba(255,255,255, 0.25), 0 0 200px 150px rgba(255, 255, 255, 0.27) !important;
  -webkit-box-shadow: inset 0 0 0 300px rgba(255,255,255, 0.25), 0 0 200px 150px rgba(255, 255, 255, 0.27) !important;
  -moz-box-shadow: inset 0 0 0 300px rgba(255,255,255, 0.25), 0 0 200px 150px rgba(255, 255, 255, 0.27) !important;
}

#container-glow {
  margin-top: 1.75rem !important;
  width: 150px !important;
  justify-self: center !important;
  box-shadow: 0px 125px 200px 150px rgba(255, 255, 255, 0.75) !important;
}

/* PRODUCTS */
#products #cards {
  margin: 2rem 0 1rem 0 !important;
  grid-template-columns: repeat(auto-fill, minmax(35ch, 1fr)) !important;
}
#products #cards > * {
  margin-bottom: 1.5rem !important;
}
#products #cards h3 {
  font-size: var(--heading-5-font-size) !important;
}
#products #cards p {
  margin-bottom: 0 !important;
}
#products #cards .image-extension {
  padding-top: 2rem !important;
}
#products #cards .cmp-container {
  position: relative !important;
  padding: 1.5rem !important;
}
#products #cards #refresh-plus,
#products #cards #refresh-tears-plus,
#products #cards #refresh-liquigel {
  position: absolute !important;
  top: -5% !important;
  border-radius: 24px 0 24px 0 !important;
  padding: 0 !important;
  width: 60% !important;
  height: unset !important;
}
#products #cards #refresh-plus p,
#products #cards #refresh-tears-plus p,
#products #cards #refresh-liquigel p {
  margin: 0.25rem 0 !important;
}
#products #cards #refresh-plus {
  background: #00A065 !important;
}
#products #cards #refresh-tears-plus {
  background: #0053A5 !important;
}
#products #cards #refresh-liquigel {
  background: #C463A5 !important;
}
#product-logos .image-extension {
  width: 15ch;
}
#product-logos .image-extension {
  justify-self: center;
}

/* Product */
#callout {
  background: #D9E5F1 !important;
  border-radius: 14px !important;
}
#callout p {
  padding: 0.75rem 1.5rem !important;
}
#product-refresh-liquigel {
  border-radius: 24px 0 24px 0 !important;
  background: #C463A5 !important;
  width: 70% !important;
}
#product-refresh-tears-plus {
  border-radius: 24px 0 24px 0 !important;
  background: #0053A5 !important;
  width: 70% !important;
}
#product-refresh-plus {
  border-radius: 24px 0 24px 0 !important;
  background: #00A065 !important;
  width: 70% !important;
}
#product-refresh-liquigel p,
#product-refresh-tears-plus p,
#product-refresh-plus p {
  padding: 0.125rem 1rem !important;
  margin: 0 !important;
}

#multidose-eye-drops {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(50ch, 1fr)) !important;
  
  background: #D9E5F1 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}
#multidose-eye-drops .headline-text {
  padding: 2rem !important;
}
#multidose-eye-drops .vjs-dock-text {
  display: none !important;
}

#bg-container.cmp-container #test-for-dry-eye {
  position: relative !important;
  padding: 1rem 0 0 0 !important;
}
#test-for-dry-eye .image-extension {
  position: absolute !important;
  top: 0 !important;
  left: -50% !important;
  height: 100% !important;
  align-content: center !important;
}
#test-for-dry-eye .image-container,
#test-for-dry-eye img {
   height: 100% !important; 
}
body:has(#home-cta) #test-for-dry-eye p { 
  font-size: unset !important; /* Exclude home page */
}
body:has(#home-cta) #test-for-dry-eye .image-container,
body:has(#home-cta) #test-for-dry-eye img {
  height: unset !important; /* Exclude home page */
}
#test-for-dry-eye p {
    font-size: var(--heading-3-font-size) !important;
}
#test-for-dry-eye .col-md-10 {
  padding: 1.5rem 3rem 1.5rem 3rem;
}

#abbvie-logo {
  width: 160px !important;
  margin: 0 auto !important;
}

/* BLOG HOME */
#blog-home #cards {
  grid-template-columns: repeat(auto-fill, minmax(50ch, 1fr)) !important;
}
#blog-home #cards .cmp-container {
  overflow: hidden !important;
}
#blog-home #cards .card-title {
    padding-top: 2ch;
    font-size: var(--heading-5-font-size);
    font-weight: 700;
}
#blog-home #cards .cmp-container .headline-text {
  padding: 0.5rem 1rem !important;
}
#blog-home #cards .cmp-container .button-link {
  margin-top: auto !important;
  padding: 0 1rem !important;
}

/* PROMOS */
#promos-container iframe {
  height: 2400px;
}

#promos-container {
  padding: 0 5rem 0 5rem !important;
  justify-self: center;
}

@media(max-width: 1400px) {
  #dry-eye #dry-eye--image .image-extension {
    top: -2.25rem !important;
    right: 3% !important;
    width: 125px !important;
  }
}

@media(max-width: 1200px) {
  .global-header .meta-navigation ul li {
    padding: .25rem 1rem !important;
  }

  #test-for-dry-eye .col-md-2 {
    display: none !important;
  }

  #test-for-dry-eye .col-md-10 {
    width: 100% !important;
  }

  #dry-eye #dry-eye--image .image-extension {
    top: -1.75rem !important;
    width: 100px !important;
  }

  #promos-container {
    padding: 0 4rem 0 4rem !important;
  }
}

@media(max-width: 992px) {
  a.btn {
    padding: .75rem 2.75rem .75rem 1rem !important;
    font-size: inherit !important;
  }

  #global-header .global-header:has(div.show) {
    border-radius: 0 !important;
    padding-bottom: 0 !important;
  }

  .global-header-navigation .global-header-menu {
    background: unset !important;
  }
  .global-header-navigation .meta-navigation ul {
    background: #fff !important;
    border-radius: 0 0 20px 20px !important;
    text-align: center !important;
  }

  #bg-home {
    padding: 0rem 0.75rem !important;
    background-size: cover !important;
  }

  #products #cards a.btn,
  #blog-home #cards a.btn {
    width: 100% !important;
  }
  #products #cards .image-extension {
    align-self: center !important;
  }
  #product-logo .row {
    row-gap: 2ch;
    margin-bottom: 5ch;
  }
}

@media(max-width: 767px) {
  :root {
    --heading-1-font-size: calc(var(--bs-body-font-size)*2.75) !important;
    --heading-2-font-size: calc(var(--bs-body-font-size)*2.25) !important;
    --heading-3-font-size: calc(var(--bs-body-font-size)*2) !important;
    --heading-4-font-size: calc(var(--bs-body-font-size)*1.5) !important;
    --heading-5-font-size: calc(var(--bs-body-font-size)*1.25) !important;
    --heading-6-font-size: calc(var(--bs-body-font-size)*1.123) !important;
  }

  div.button-link {
    text-align: center !important;
  }
  #global-footer .global-footer ul {
    justify-content: space-between !important;
  }
  #global-footer .global-footer img {
    margin-bottom: 1rem !important;
  }

  .global-footer .image-extension {
    float: none !important;
  }

  #bg-home {
    background-image: unset !important;
  }
  #bg-home .headline-text {
    text-align: center !important;
  }
  #bg-container:has(#survey) h1 {
    text-align: center;
  }

  #dry-eye--image {
    display: none !important;
  }

  body:has(#products) .bg-container > div > div >.col-md-6:last-child {
    display: none !important;
  }

  body:has(#product-refresh-liquigel) .bg-container > div > div > div >  div .image-extension,
  body:has(#product-refresh-plus) .bg-container > div > div > div >  div .image-extension,
  body:has(#product-refresh-tears-plus) .bg-container > div > div > div >  div .image-extension {
    justify-items: center !important;
  }

  #products #cards #refresh-plus,
  #products #cards #refresh-tears-plus,
  #products #cards #refresh-liquigel {
    top: -2.5% !important;
  }
  body:has(#products) #product-logos .bg-container > div > div >.col-md-6:last-child {
    display: unset !important;
  }
  #product-logos .row {
    row-gap: 2ch;
  }
  #product-logos img {
    margin: auto 0;
  }

  #about-us,
  #contact-us,
  #contact-us-info {
    text-align: center !important;
  }
  #about-us .col-4:nth-child(2),
  #contact-us .col-4:nth-child(2) {
    display: none;
  }
  #about-us .col-4:first-child,
  #contact-us .col-4:first-child {
    width: 50%;
  }
  #about-us .col-4:last-child,
  #contact-us .col-4:last-child {
    width: 50%;
  }

  #promos-container {
    padding: 0 2.5rem 0 2.5rem !important;
  }
}

@media(max-width: 575px) { 
  .global-header-navigation .meta-navigation ul li {
    padding: 0.25rem 1rem !important;
  }
  .global-header-navigation .meta-navigation ul li:last-child {
    padding-right: 0 !important;
  }

  #promos-container {
    padding: 0 2rem 0 2rem !important;
  }

  #global-footer .headline-text {
    text-align: center;
  }
  #global-footer .global-footer ul {
    flex-wrap: wrap;
    justify-content: center !important;
  }
  #global-footer .global-footer ul li {
    flex-basis: 49%;
  }
  
  #bg-container > div > div > div:not(.layout-container) {
    padding: 0 5ch;
  }

  #products #cards #refresh-plus,
  #products #cards #refresh-tears-plus,
  #products #cards #refresh-liquigel {
      padding: 0 1ch !important;
  }
  #product-logos .image-extension {
    width: auto !important;
  }
  #product-logos .image-extension img {
    height: 5ch !important;
  }
}