/* DMB-4415: Add style to error message when user works with
pagebuilder mode on legacy content v6.3 to 6.8 */

.ssa-modal-dialog .ssa-modal-footer {
  text-align: center;
  margin-top: 24px;
  font-weight: bold;
  font-size: 18px;
}

.ssa-modal-dialog .ssa-modal-footer button {
  margin-top: -10px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  height: 32px;
  cursor: pointer;
  appearance: none;
  padding: 2px 15px;
  border: 1px solid rgb(187, 187, 187);
  border-radius: 4px;
  font-weight: 700;
  background-color: #eee;
}

body>.fade.ssa-modal.show {
  position: fixed;
  top: 10%;
  height: 80%;
  margin: 0 15%;
  width: 70%;
  padding: 15px;
}

body>.fade.ssa-modal.show .ssa-modal-content pre {
  height: 110px;
  overflow-y: scroll;
  background-color: #eee;
}

.ssa-modal-dialog-centered .ssa-modal-content {
  background: #fff;
  padding: 30px;
}

.ssa-app .ssa-absolute-container .ssa-modal-dialog-centered .ssa-modal-content {
  background: #fff;
  padding: 3px;
}

/* DMB-4415 - END */

/* 5276 */
#onetrust-banner-sdk,
.trustcookie-bottom,
.trustcookie-bottom-only-gt {
  bottom: 0;
  top: auto !important;
  z-index: 900 !important;
}

/* DMB-5489: MyAlcon | News | Article News view block */
.news-article-title h2 {
  padding: 36px 0px;
  color: var(--Blue-100, #003595);
  font-family: 'Open Sans', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  line-height: 56px;
}

.news-article-cardtitle {
  color: #003595;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  padding-top: 16px;
  min-height: 68px;
}

a.news-article-readmore,
span.news-article-readmore {
  color: #003595;
  font-variant-numeric: lining-nums proportional-nums;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.32px;
  text-decoration: underline;
  text-transform: capitalize;
  padding: 24px 0px;
  margin-bottom: 24px;
  display: inline-block;
}

.news-article-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: #4F4F4F;
}

.news-article-featureblock {
  display: flex;
  flex-direction: row;
  padding-bottom: 14px;
}

.news-article-text {
  padding-left: 48px;
}

.news-article-featuredescription p {
  font-size: 20px;
  line-height: 28px;
  color: #4F4F4F;
}

.news-article-featuretitle {
  color: #003595;
  font-family:'Open Sans', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  line-height: 56px;
  padding-bottom: 16px;
}

@media only screen and (max-width: 1170px) {
  .news-article-cardimage img {
    width: 100%;
    height: auto;
  }

  .news-article-imagefeature {
    width: 62%;
  }

  .news-article-imagefeature img {
    width: 100%;
    height: auto;
  }

  .news-article-text {
    width: 50%;
  }
}

@media only screen and (max-width: 1024px) {
  .news-article-imagefeature {
    width: 100%;
  }

  .news-article-imagefeature img {
    width: 88vw;
    height: 496px;
    object-fit: cover;
  }

  .news-article-text {
    width: 100%;
  }

  .news-article-title h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .news-article-featureblock {
    flex-direction: column;
  }

  .news-article-imagefeature {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 32px;
  }

  .news-article-featuretitle {
    font-size: 36px;
    line-height: 42px;
  }

  .news-article-description {
    min-height: auto;
  }

  .news-article-card {
    display: flex;
    flex-direction: row;
  }

  .news-article-text {
    padding-left: 0px;
  }

  .news-article-cardimage img {
    width: 200px;
    height: auto;
    margin-right: 20px;
  }

  .news-article-cardtitle {
    padding-top: 0px;
    min-height: auto;
  }

  .news-article-card {
    border: #D5D5D5;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 20px 0px 14px 0px;
  }
}

@media only screen and (max-width: 768px) {
  .news-article-title h2 {
    font-size: 36px;
    line-height: 42px;
    padding: 16px 0px;
  }

  .news-article-imagefeature img {
    width: 100%;
    height: auto;
    object-fit: initial;
    max-width: 100%;
  }

  .news-article-card {
    display: flex;
    flex-direction: row;
  }

  .news-article-text {
    padding-left: 0px;
  }

  .news-article-cardimage img {
    width: 200px;
    height: auto;
    margin-right: 20px;
  }

  .news-article-cardtitle {
    padding-top: 0px;
    min-height: auto;
  }

  a.news-article-readmore {
    padding: 10px 0px;
    margin-bottom: 0px;
    display: inline-block;
  }

  .news-article-featuredescription p {
    font-size: 18px;
    line-height: 26px;
  }
}

@media only screen and (max-width: 565px) {
  .news-article-title h2 {
    font-size: 30px;
    line-height: 38px;
    padding: 16px 0px;
  }

  .news-article-featureblock {
    flex-direction: column;
  }

  .news-article-featuretitle {
    font-size: 30px;
    line-height: 38px;
  }

  .news-article-cardimage img {
    width: 152px;
    height: auto;
    margin-right: 18px;
  }

  .news-article-description {
    display: none;
  }

  a.news-article-readmore {
    display: none;
  }

  span.news-article-readmore {
    display: none;
  }

  .news-article-featuredescription p {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Webform Email validation error style */
.form-item.form-type-email{
  position: relative;
}

.form-type-email .form-item--error-message{
  position: absolute;
  color:red;
  bottom:-20px;
  font-size:14px;
  left:10px;
}

.webform-submission-surgical-lead-generation-form .form-type-email .form-item--error-message{
  bottom:10px;
}

.webform-submission-capturing-leads-from-web-form .form-type-email .form-item--error-message
, .webform-submission-atiol-patient-satisfaction-progr-form .form-type-email .form-item--error-message{
  position: static;
  margin-top: -15px;
  margin-bottom: 10px;
  text-align: center;
  visibility: visible;
}

/* external link popup */
.external-link-popup{
  top: 50%;
  left: 50%;
  max-width: 37.5rem;
  padding: 20px;
  border-radius: 1.25rem;
  background-color: #fff;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: transform .4s .1s, opacity .5s 0s;
}
.ui-widget-overlay.ui-front:before{
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.9);
transition: opacity .3s;
}
.external-link-popup-body{
text-align: center;
}
.external-link-popup-body p span{
display: block !important ;
margin-bottom: 25px;
}
.external-link-popup .ui-dialog-titlebar {
background-color: transparent;
border:0;
}
.external-link-popup .ui-dialog-titlebar span{
display: none;
}
.external-link-popup .ui-dialog-titlebar button{
background: transparent;
border:0;
font-size: 0;
}
.external-link-popup .ui-dialog-titlebar button span {
display: block;
background-image: url("../images/icn_30_close.svg");
width:15px;
height:15px;
background-size: contain;
}
.external-link-popup-content{
padding:0;
}
.external-link-popup .ui-dialog-buttonpane{
border:0;
text-align: center;
}
.external-link-popup.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{
float:none;
display:inline-block;
text-align: center;
}
.external-link-popup .ui-dialog-buttonset button{
  background: transparent;
  border:0;
  width:100%;
  border-radius: 9999px;
  font-size: 18px;
  line-height: 24px;
  margin: 0;
  padding: 18px 0;
  cursor: pointer;
  text-decoration: underline;
  text-transform: uppercase;
}
.external-link-popup .ui-dialog-buttonset button:first-child{
background-color: #143489;
color: #fff;
text-decoration: none;
box-shadow: 0 .625rem 2rem 0 rgba(0, 0, 0, .3);
font-weight: bold;
}
.external-link-popup svg {
  color: #00a3ff;
  fill: #143489;
  width: 7.5rem;
  height: 2rem;
  margin: 0 auto 1.5625rem;
}

.external-link-popup img{
  margin: 0 auto 1.5625rem;
}

.modal-background-full-color {
  background-color: #ffffff;
}

@media only screen and (max-width: 564px) {
  /* resource filter */
  .views-exposed-form.bef-exposed-form {
    display: none;
    position: absolute;
    top: 60px;
    z-index: 20;
    background: #fff;
    border: 1px solid #CEE0FD;
    border-radius: 8px;
    padding: 16px;
    max-width: 240px;
    max-height: 322px;
    overflow: scroll;
}
  .views-exposed-form.bef-exposed-form.hide-filter-mobile{
    display:block;
  }
   
  .exposed-filter-title{
    border: 1px solid #CEE0FD;
    border-radius:8px;
    padding: 8px 16px;
    width: 240px;
    color : #202124;
    font-size: 16px;
    font-weight : 600;
    cursor: pointer;
    position:relative;
    background:white;
  }
  .exposed-filter-title:after{
  background: url(../images/icn_30_filter.png);
  position: absolute;
  right:10px;
  content:"";
  width:21px;
  height:21px;
  }
  /* view count */
  .js-form-item.form-item.js-form-type-select.form-type-select.js-form-item-items-per-page.form-item-items-per-page {
    display: none;
}
.views-exposed-form.bef-exposed-form.hide-filter-mobile .form-actions {
  position: sticky;
  bottom: 10px;
  background-color: white;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
} 
}
   