/*main email popup css added hear*/
#mc_embed_signup {
  background: #fff;
  clear: left;
  font: 14px Helvetica,Arial,sans-serif;
  width: 600px;
}

  #mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0 !important;
    margin: 0;
  }

#mc_embed_signup {
  width: auto !important;
}
#myModal .modal-dialog {
  width: 100%;
  max-width: 750px;
  margin: 30px auto;
}
/*main email popup css done*/
.divNewsLetter .d-flex {
  display: flex;
  display: flex;
  justify-content: start;
  margin: 24px auto;
}

  .divNewsLetter .d-flex div:first-child {
    margin-right: 14px;
    margin-top: 8px;
  }

  .divNewsLetter .d-flex div label {
    width: 42px;
    height: 38px;
  }

  .divNewsLetter .d-flex div.text-left p {
    margin-bottom: 2px;

  }

.fav-text-content .text-left p {
  max-width: 310px;
}

.fav-text-content .text-left p, .fav-text-content .h2 {
  margin: 0;

}


#NewsLetterPopup .modal-body {
  max-width: 1100px;
  margin: 0 10px;
}

#NewsLetterPopup .close {
  font-size: 42px;
  line-height: 0.6;
  position: relative;
  z-index: 1;
}
/*.close {
  font-size: 3.6rem;
  color: #5c5c5c;
  line-height: 1;
  margin-right: 1%;
}*/

#NewsLetterPopup .modal-content {
  padding: 15px;
  margin-top: 5rem;
}
@media (min-width:1440px) {
  #NewsLetterPopup .modal-content {
    margin-right:50px;
  }
  .para-bold {
    font-size: 21px;
    font-weight: 600 !important;
  }
  .newsflex {
    padding: 30px;
  }
  .pad-top {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .favRowFlex {
    
    flex-direction: column; /* Default column layout */
  }

  #NewsLetterPopup .modal-dialog {
    padding: 68px;
  }
  #NewsLetterPopup .modal-content {
    padding: 15px;
    margin-top: -1rem;
  }
}

  @media (min-width:768px) {
    .divNewsLetter .d-flex div.text-left p {
      max-width: 320px;
    }

    .divNewsLetter .favRowFlex {
     
      align-content: normal;
      align-items: center;
    }

    #NewsLetterPopup .modal-body {
      padding: 0px 15px;
    }
    #NewsLetterPopup button.close {
      top: -9px !important;
      color: white;
      left: 9px !important;
    }
    #NewsLetterPopup .btn-close {
      margin-right: -8px!important;
    }
    }
@media (min-width:320px) {
  .newshead {
    font-size: 36px !important;
  }
  
}
@media (min-width:320px) and (max-width:767px) {

  #NewsLetterPopup .modal-content {
    padding: 15px;
    margin-top: -1rem;
  }
}


  .txt-email-box {
    margin-top: 10px;
    width: 100%;
  }

  .signup-btn {
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
  }

.newshead {
  font-size: 38px;
}

@media  (min-width: 993px) {
  .order--2 {
    order: 2; /* Form comes second */
  }

  .order--1 {
    order: 1; /* Image comes first */
  }
  #NewsLetterPopup h4 {
    font-size: 22px !important;
  }
  
}
#NewsLetterPopup .modal-dialog {
  width: 100%;
  max-width: 884px;
  margin: 30px auto;
}
#NewsLetterPopup .modal-content {
  background-color: initial !important;
}

#NewsLetterPopup .section.bg-cover {
  position: relative;
  background-image: url('../../images/corporate-esg/celebrate-50-years-pop-up-1264.jpg');
  background-size: cover;
  background-position: center;
  height: 429px;
  padding:0px;
}

/* White Overlay Covering Left Half */
#NewsLetterPopup .white-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 43%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex; /* Flexbox to center content */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

/* Centered Content */
#NewsLetterPopup .content-container {
  text-align: center;
  padding: 20px;
  max-width: 90%; /* Keeps content inside neatly */
}

/* Logo Centering */
#NewsLetterPopup .logo-container {
  margin-bottom: 1rem;
}

#NewsLetterPopup .logo {
  max-width: 145px;
}

#NewsLetterPopup .tagline {
  margin-bottom: 1rem;
  color: #000;
  font-weight: 600;
  text-transform: none;
}
#NewsLetterPopup .btn-close {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
  opacity: 1.75 !important;
}
  #NewsLetterPopup  .btn-close:hover {
   
    opacity: 1.75 !important;
  }

@media (min-width: 300px) and (max-width: 767px) {
  #NewsLetterPopup .modal {
    padding-left: 0px !important;
     padding-right: 0px !important; 
  }
  #NewsLetterPopup .white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  #NewsLetterPopup .modal-content {
     padding: 0px;
        }
  #NewsLetterPopup .modal-body {
     margin: 0 0px; 
  }
  

  }
#NewsLetterPopup .btn {
  white-space: initial;
}
@media (min-width: 993px) {
  #NewsLetterPopup .btn {
    white-space: nowrap;
  }
}
#NewsLetterPopup  .modal-dialog-marg {
  
  margin: 200px auto !important;
}

#NewsLetterPopup button.close {
  
  top: -21px;
  color:white;
}
#NewsLetterPopup h4 {
  font-size: 24px !important;
}
@media (min-width: 993px) {
  #NewsLetterPopup h4 {
    font-size: 28px !important;
  }
}
#NewsLetterPopup button.close.bs3 {
  top: -21px !important;
}