@import url("./chadwicks-colors.b6cb60143678.css");

body {
  font-family: 'Bulo', sans-serif;
}

.site-title {
    color: var(--title-grey);
}


body, html {
    overflow-x: hidden;
}

.calculator-text{
  color: white;
  background-color: var(--chadwicks-navy);
}



/* Loading Styles */
/* Styles for the loader */
.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F5F5;
    /* Semi-transparent background overlay */
    z-index: 1100;
    /* Make the loader appear above other content */
}

.loader-text {
  font-size: large;
  font-weight: 400;
  color: var(--chadwicks-navy);
  text-align: center;
  margin-top: 1rem;
  width: 150px;
}

.loader {
    border: 4px solid var(--chadwicks-yellow);
    border-top: 4px solid #F5F5F5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

/* Loader animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




.chadwicks-header {
  box-shadow: 0 -6px 10px 5px var(--chadwicks-dark-grey);
  background-color: var(--chadwicks-navy);
}

.header-logo-container{
  display: flex;
  justify-content: flex-start;
}

.header-logo {
  height: 60px;
}

.header-link-container{
    text-align:right;
    padding-top: 15px;
}


@media (max-width: 768px) {
  .header-link-container{
    text-align:center;
  }
  .header-logo-container{
    display: flex;
    justify-content: center;
  }
}
.header-link {
    color: white;
    text-decoration: none; 
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 115px;
}

.logo-row {
    display: flex !important;
    align-items: center !important;            
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
}

.logo-row > div {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.services-navbar-toggler {
  background-color: var(--chadwicks-navy) !important;
  padding-left: 1rem;
  justify-self: flex-end;
}

.services-navbar-toggler button {
  border-width: 1px !important;
  border-color: white !important;
}

.services-navbar-toggler span {
  color: white !important;
}


.services-link {
  color: var(--chadwicks-navy);
  text-decoration: none; 
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
}

@media (max-width: 1200px) {
  .services-link {
    width: 150px;
  }
}

@media (min-width: 1200px) {
  .collapse.show-xl {
      display: flex; /* Ensure it's visible for xl and above */
  }
}

.service-container {
  width: 100%;
  text-align: center;
  padding: 10px;
}

.header-link:hover {
  color: var(--chadwicks-yellow);
  
}

.services-link:hover {
  color: var(--chadwicks-navy);
  font-weight: bolder;
  border-bottom: 5px solid var(--chadwicks-navy);
}



.icon {
  width: 40px;
  height: 40px;
  fill: var(--chadwicks-yellow);
  margin-bottom: 5px;
  text-align: center;
  color: var(--chadwicks-yellow);
}

.chadwicks-services-banner {
  background-color: var(--chadwicks-yellow);
  color: var(--chadwicks-navy);
  min-height: 65px;
  display: flex;
  flex-direction: row;
}

.link-text {
  margin-top: 5px;
  font-size: 14px;
}

.footer {
    background-color: var(--chadwicks-yellow);
}

.footer-link, .copyright {
    color: var(--chadwicks-navy);
}
.footer-title {
    color: var(--chadwicks-navy);
    font-size: larger;
}
.footer-links-container .links {
    color: var(--chadwicks-navy);
    text-decoration: none;
}


.btn-success.modal-nav-back {
    color: #fff;
    background-color: var(--chadwicks-navy);
    border-color: var(--chadwicks-navy);
}

.btn-primary{
    background-color: var(--chadwicks-navy);
    border-color: var(--chadwicks-navy);
}

.btn-primary:disabled{
  background-color: var(--chadwicks-navy);
  border-color: var(--chadwicks-navy);
}


.modal-header-label{
  color:black;
  font-weight: bold;
}

.modal-header{
  background-color: var(--chadwicks-navy);
  color: #ffffff;
}

.modal-body h2 {
  font-family: sans-serif;
  color: #58b7b3;
}

.img1 {
    background-image: url("/static/chadwicks_landing_page/images/chadwicks_background_banner.3ea57cb75fdd.jpg");
    background-position: 50% 65%;
    background-size: auto 100%;
    /* background-size: contain; */
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    min-height: max(100vh, 600px);
    max-width: 100%;
    margin: 0;
    display: flex;
    position: relative;
  }

  /* Large screens greater than 768px wide */
  @media (min-width: 768px) {
    .img1 {
      background-position: 80% 20%;
      background-size: cover;
      background-repeat: repeat;
      background-attachment: scroll;
      width: 100%;
      min-height: max(95vh, 600px);
      max-width: 100%;
      margin: 0;
      position: relative;
      display: flex;
    }
  
  }

  /* Very small screens less than 520px wide */
  @media (max-width: 520px) {
    .img1 {
      background-position: 60% 65%;
    }
    .img1.error-displayed {
      min-height: 120vh;    
    }    
  }
  
  @media (hover: none) {
    .img1 {
      background-attachment: scroll;
    }
  }

  @media (min-width: 768px) {
    .carousel-slide-inner {
        margin-left: auto;
        margin-right: auto;
        width: 75%
    }
  }

  .carousel-inner {
    width: 100%;
    height: 100%;
    /* change later to visibe */
    overflow: visible !important; 
  }

  .carousel-wrapper {
      position: relative;
      min-height: 3ro0vh;
      width: 100%;
  }

  .validation-error-container{
      font-size: x-small;
  }



/************************ Styles for Hero Section************************/

.hero-section {
  background: transparent !important;
  display: flex;
  align-items: center;          
  justify-content: center;       
  padding: 24px 16px;   
  padding-top: 5vw; 
}

.hero-container {
    display: flex;
    flex-direction: column; /* stacked on mobile */
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-left {
    width: 100%; /* full width on mobile */
}

.hero-title {
    margin-top: 28px;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

/* Right column - cards */
.hero-right {
    display: flex;  
    flex-wrap: wrap;
    flex-direction: column;
    gap: 24px;
    overflow: visible;
}

.choice-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    color: var(--chadwicks-dark-grey);
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    transform-origin: center center;
    flex: 0 0 410px;
    min-width: 0;
    max-width: 420px;
}

.hero-right:hover .choice-card:hover {
    transform: scale(1.05); /* grows 5% */
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
    z-index: 10; /* make sure hovered card appears on top */
}

/* Other cards shrink slightly when a sibling is hovered */
.hero-right:hover .choice-card:not(:hover) {
    transform: scale(0.95); /* shrink 5% */
    opacity: 0.9; /* optional: visually de-emphasize */
}

.choice-card label {
    font-weight: 600;
}

.styled-input {
    padding: 10px 14px;
    margin: 8px 0 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.primary-btn {
    background-color: #082d72;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.2s ease;
}


.primary-btn:hover {
    background-color: #00205b;
}

/* Responsive - desktop layout */
@media (min-width: 768px) {

    .hero-section {
      /* padding-left: 1vw;
      padding-right: 5vw; */
      padding: 24px 100px;   
      padding-top: 2vw  
    }

    .hero-container {
        flex-direction: column; /* side by side */
        flex-wrap: nowrap;
        margin-left: clamp(0px, 3vw, 48px); 
        gap: 0px;
    }

    .hero-left {
        width: 100%; /* 5/12 */
        /* margin-top: 2px; */
        padding-right: 40px;
    }

    .hero-right {
        width: 62%; /* 7/12 */
        flex-direction: row;
        align-self: flex-start;
        margin-top: 30px;
        flex-wrap: nowrap;
    }

    .choice-card {
        padding-bottom: 2vw;
    }

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

@media (max-width: 767px) {

    .hero-title {
      order: 1;
      font-size: 2rem;
      margin-top: 0;
      margin-bottom: 0;
    }

    .hero-right {
      order: 2; 
    }

    .hero-subtitle {
      order: 3;
      margin-top: 16px;
      font-size: 1rem;
    }

    .hero-container {
      gap: 20px;
    }
}

/* Shrink consent text*/
.form-check-label small {
    font-weight: 400;
    font-size: 0.8rem;
}

/* 'More Information' Modal */

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;
  margin-left: 6px;

  border-radius: 55%;
  background-color: var(--chadwicks-navy);   /* change this to match your theme */
  color: var(--chadwicks-white);
  font-size: 12px;
  font-weight: bold;
  font-family: Arial, sans-serif;

  cursor: pointer;
  user-select: none;
  border: none;
}

/* Dynamic Input Validation (for BER/MPRN text input box) */

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

#ber-mprn-input {
    width: 100%;
    padding-right: 30px; 
    box-sizing: border-box;
}

#validation-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* icon does not block typing */
}

#validation-icon i {
    font-size: 0.7rem; 
}

.locked {
    opacity: 1; /*Change to lower opacity of 'locked' button*/
    cursor: not-allowed;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.3s ease;
}

/*--------------------services section--------------------*/


#mid-explainer-row {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}




body {
  background-color: whitesmoke !important;
}


.caption {
  text-align: center !important;
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 1%;
  padding-right: 1%;
  font-weight: 700;
  background-color: whitesmoke;
  color: var(--chadwicks-navy);
}

@media (max-width: 576px) {
  .caption {
    padding-top: 5%;
    padding-bottom: 5%;
  }
}



/** Explainer cards */
.explainer-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  flex-grow: 1;
}

@media (max-width: 576px) {
  .explainer-card-container.benefits-desc {
    margin-top: 10%;
  }
}

.explainer-card {
  max-width: 550px;
  flex-grow: 1;
}

.explainer-card .card-title {
  color: white;
  background-color: var(--chadwicks-navy);
  padding-top: 0.8em;
  padding-left: 0.8em;
  padding-bottom: 0.8em;
  margin-bottom: 0;
  text-align: center;
}

.explainer-card .card-body {
  min-height: 285px;
  background-color: var(--chadwicks-navy);
  color: white;
  flex-grow: 1;
}

.benefit-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.benefit-icon-svg {
  height: 45px;
}

.benefit-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
}

.benefit-text {
  text-align: center;
  padding-left: 1em;
}



/** SECTION Registration modal required styles **/
/* New registration modal styles */


.retrofit-brand-logo {
  margin-top: 26px;
  margin-left: 10px;
  width: auto;
  object-fit: contain;
  height: 36px;
}
.seai-brand-logo {
  margin-top: 27px;
  width: auto;
  object-fit: contain;
  height: 37px;
}
/* Deleted old CSS down to this point so far */
.modal-header-cont {
  justify-content: space-between;
}

#mprn-find-question button {
  min-width: 30%;
}

@media (max-width: 992px) {
  .modal-header-cont {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #mprn-find-question button {
    min-width: 80%;
  }
}

.white-close {
    filter: invert(1) !important;
    opacity: 1 !important;
}

#registration-modal .btn-close, #functionality-warning-modal .btn-close {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0.25rem;
  color: #fff;
}

#registration-modal .header-logo {
  margin-right: 0.5em;
}

.modal-brand-container {
  width: 300px;
  /* Add a width to the container */
}

.modal-intro-text p {
  text-align: justify;
}


.modal-intro-text, .final-consent-cont, #email-password-container {
  padding-left: 10%;
  padding-right: 10%;
}

.input-mprn-number, .input-mprn-proof, #eircode-bypass-col, .input-ber-number {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10%;
  padding-right: 10%;
}

.input-mprn-number p, .input-mprn-proof p, .input-email p, .input-passwords p, #eircode-bypass-col p, .input-ber-number p {
  margin-bottom: 0;
  align-self: flex-start;
}

#no-ber-alerts, #cant-find-mprn-div {
  padding-left: 10%;
  padding-right: 10%;
}

.no-ber-button-container .btn {
  width: 90%;
  height: 120px;
  font-size: small;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-ber-button-container .btn img {
  height: 60px;
}

.no-ber-button-container .btn .btn-text {
  font-weight: bold;
}

/** Bold all labels in the reg modal **/
#registration-modal label {
  font-weight: bold;
}

#terms-cons-text {
  font-size: small;
}

#registration-modal .modal-page {
  min-height: 320px;
  position: relative;
}

.alerts {
  color: red;
  font-size: 0.8em;
}

/** LOADING Overlay Styles **/
.loading-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F5F5F5;
  /* Semi-transparent background overlay */
  z-index: 1100;
}

.custom-spinner.spinner-border {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  color: var(--chadwicks-yellow);
}


.loading-text {
  color: var(--chadwicks-navy);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  max-width: 320px;
}

.row.back-btn-row {
  height: 40px;
}

.modal-nav-back {
  position: relative;
  bottom: 0;
  left: 0;
}

.modal-nav-forward {
  position: relative;
  bottom: 0;
  right: 0;
}



  @media only screen and (max-width: 768px) {
      #id_address::-webkit-input-placeholder {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
      }
  }


  #address-next-btn {
    height: 3em;
    border-radius: 0 0.25em 0.25em 0 !important;
    width: 100%;
    position: relative !important;
    margin: 0 !important;
  }

  .next-btn, #submit-btn {
    margin-top: 2em;
    margin-left: 2em;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .prev-btn, .prev-your-details-btn {
    margin-top: 2em;
    margin-bottom: 4em;
    margin-left: 2em;
    margin-right: 2em;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  @media (max-width: 520px) {
    .next-btn, .prev-btn, .prev-your-details-btn {
      margin: 1em;
    }
  }

  .transparent-item {
    background-color: transparent;
    box-shadow: none !important
  }

  ::-webkit-scrollbar {
    width: 5px; /* Set the width of the scrollbar */
}

/* Webkit (Safari/Chrome) */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* Set the color of the scrollbar thumb */
}

/* Mozilla Firefox */
::-moz-scrollbar {
    width: 5px; /* Set the width of the scrollbar */
}

/* Mozilla Firefox */
::-moz-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* Set the color of the scrollbar thumb */
}

  #banner-container {
    padding-top: 5em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: end;
  }

  #homepage-address-input-container {
    min-width: 300px;
  }
  
  #homepage-address-input {
    border: none;
  }
  
  #hompage-address-btn {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0.375rem;
  }
  
  #hompage-address-btn:hover {
    background-color: var(--chadwicks-yellow); 
  }

  .btn-custom {
    color: var(--chadwicks-navy);
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.btn-custom:hover {
    color: var(--chadwicks-yellow);
}

.calculator-title {
  color: white;
}


.btn-group-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.btn-group-toggle .btn div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-text {
  font-size: 10px;
  margin-top: 4px; 
}

.btn-type-text {
    font-size: 0.85rem;
    line-height: 1.2;
    font-size: 0.85rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
  .btn-type-text {
    font-weight: 500;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .btn-type-text {
    font-weight: 500;
    font-size: 14px;
  }
}

.registration-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;

}

.registration-icon-button {
  background-color: var(--chadwicks-navy) !important;
  color: #F5F5F5;
  border-color: var(--chadwicks-navy);
  width: min(100%, 9.5rem);
  height: 100%;
  border-radius: 0.3rem;
  min-height: 4rem;
}

.registration-icon-button:hover {
  box-shadow: 3px 3px 5px var(--chadwicks-yellow);
  border-color: var(--chadwicks-navy);
}

.registration-icon-button:focus, .registration-icon-button.selected {
  color: var(--chadwicks-yellow);
  border-color: Var(--chadwicks-yellow) !important;
  border-width: 5px;
}

.yoc-button-text {
  margin: 0;
  line-height: normal;
}

@media (max-width:768px) {
  .yoc-button-text {
    font-size: 14px;
  }
}

.estimate-home-svgs {
  height: 3.5rem !important;
  max-height: max(6vh, 30px);
  width: auto;
}

@media (min-width: 1200px) {
  .estimate-home-svgs {
    height: 2.75rem !important;
    max-height: max(8.5vh, 30px);
    min-height: 30px;
  }
}

.construction-year-btn {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 10px;
}

@media (min-width: 576px) {
  .construction-year-btn {
      width: auto;
  }
}

.heating-fuel-btn {
  height: auto;
  min-height: 80px;
  width: 100%;
 
}

.heating-fuel-btn img {
  max-height: 50px;
  max-width: 80px;
 
}

.heating-fuel-btn .btn-text {
  font-size: 12px;
 
}

/********************************** Styles for benefits carousel ************************/

#benefits-banner {
  /* background-color: var(--chadwicks-navy); */
  background-color: white;
}

.benefits-caption {
    display: flex !important;
    justify-content: center;
    text-align: center;
    color: var(--chadwicks-navy);
}

.benefits-logos {
    display: flex !important;
    flex-direction: row;
    max-width: 1200px;
}

.slick-slide img {
    height: 150px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-icon-caption {
  color: var(--chadwicks-navy);
  font-size: x-large;
  text-align: center;
}

@media (max-width: 576px) {
  .benefits-icon-caption {
    font-size: x-large;
  }
}

/* Define styles for Safari */
@supports (-webkit-min-device-pixel-ratio: 0) {
  .benefits-icon-caption {
    font-size: large;
  }
}

  /********************************** Slider Carousel ***********************************/

  
.slick-slide {
  margin: 0px 20px;
}
  
.slick-slider
{
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list
{
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: white;
  border-radius: 8px;
}
.slick-list:focus
{
  outline: none;
}
.slick-list.dragging
{
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
  -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.slick-track
{
  position: relative;
  top: 0;
  left: 0;
  display: block;
}
.slick-track:before,
.slick-track:after
{
  display: table;
  content: '';
}
.slick-track:after
{
  clear: both;
}
.slick-loading .slick-track
{
  visibility: hidden;
}

.slick-slide
{
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide
{
  float: right;
}
.slick-slide img
{
  display: block;
}
.slick-slide.slick-loading img
{
  display: none;
}
.slick-slide.dragging img
{
  pointer-events: none;
}
.slick-initialized .slick-slide
{
  display: block;
}
.slick-loading .slick-slide
{
  visibility: hidden;
}
.slick-vertical .slick-slide
{
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow {
  border: none;
  background-color: transparent;
}

.slick-prev:before, .slick-next:before { 
  font-family: "slick"; 
  font-size: 100px; 
  line-height: 1; 
  color: var(--chadwicks-navy); 
  opacity: 0.75; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
}   

.slick-prev:before { 
  content: "‹"; 
}
.slick-next:before { 
  content: "›"; 
}
/********************************** END Slider Carousel ***********************************/

.download-pdf-title {
  /* font-size: xx-large; */
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: #4B4F58;
}

.not-sure-btn button {
  background-color: var(--chadwicks-navy);
  border-color: var(--chadwicks-navy);
  columns: #F5F5F5;
}

/* .download-btn {
  font-size: x-large;
} */



/* Styling for consent text and checkbox */
#consent-text-container {
  text-align: justify;
  padding: 0.25em;
}

@media (max-width: 400px) {
  #consent-text-container {
    font-size: 4px;
  }
}

.consent-text {
  font-size: 11px;
}

/* Form input alerts */
.alerts {
  font-size: 9px;
  color: red;
}


/* CSS talk bubble */
#chadwicks-pop-logo {
  width: 100%;
  padding: 1em 1em 0 1em;
}

#chadwicks-talk-bubble p {
  margin-bottom: 3px;
  font-size: 1.2em;
  font-weight: 600;
}

#chadwicks-talk-bubble p span {
  font-weight: bolder;
}

#chadwicks-pop-logo img {
  width: 100%;
}

#chadwicks-pop-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

/* talk bubble contents */
.talktext {
  padding: 0.75em;
  text-align: center;
  font-weight: bold;
  font-size: small;
}

.talktext a {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}


.talk-bubble {
  margin: 2.5em;
  display: inline-block;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 14em;
  height: auto;
  background-color: white;
  border: 8px solid var(--chadwicks-navy);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  z-index: 100;
}

@media (max-width: 767px) {

  /* Adjust the width of the modal */
  .talk-bubble {
      width: 8em;
      margin: 1.2em;

  }

  #chadwicks-pop-close {
      top: 4px;
  }

  .talktext {
      padding: 0.5em;
  }
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.btm-right-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 30px;
  bottom: -40px;
  border: 20px solid;
  border-color: var(--chadwicks-navy) var(--chadwicks-navy) transparent transparent;
}

.tri-right.btm-right-in:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 38px;
  bottom: -20px;
  border: 12px solid;
  border-color: white white transparent transparent;
}
