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

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

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

.chadwicks-logo {
    height: 50px
}

body, html {
    overflow-x: hidden;
}

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

.form-container-col {
    background-color: rgb(245, 245, 245);
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.submit-btn {
    width: 60%;
    min-width: 225px !important;
    min-width: 100px;
    background-color: var(--chadwicks-red) !important;
    border-color: var(--chadwicks-red) !important;
}

.reg-route-toggle, .mprn-ber-proceed {
  width: 80%;
  min-width: 250px !important;
  min-width: 100px;
  background-color: var(--chadwicks-navy) !important;
  border-color: var(--chadwicks-navy) !important;
}

/* 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); }
}

.custom-spinner.spinner-border {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--base-green);
}

.loading-overlay {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-overlay p {
    font-weight: bold;
    color: var(--base-green);
    padding: 1em;
}

/* Style for success message text */
.success-message {
    color: var(--chadwicks-red);
    font-size: large;
    font-weight: 600;
    text-align: center;
}

.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;
}

.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-primary{
    background-color: var(--chadwicks-navy);
    border-color: var(--chadwicks-navy);
}

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

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

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

.modal-header{
    color: #333333;
}

.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: 50% 65%;
      background-size: cover;
      background-repeat: no-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;
    }
  }

  
  .carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  @media (max-width: 1200px) {
    .carousel {
      width: 80%
    }    
  }

  @media (max-width: 768px) {
    .carousel {
      height: 95%;
    }
  }

  @media (min-width: 992px){
    .img1.error-displayed {
      min-height: 95vh;    
    }
  }

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

  @media (max-width: 400px) {
    .carousel {
      height: 95%;
      width: 95%;
    }
  }
  
  #chadwicks-registration-form p {
    margin-bottom: 0.5rem !important;
  } 
  .chadwicks-form-title {
    color: var(--chadwicks-navy);
    text-shadow: 1px 1px 2px var(--chadwicks-white);
    font-size: 1.75em;
    text-align: left;
    padding-left: 1.5rem;
  }

  @media (max-width: 1200px) {
    .chadwicks-form-title {
      font-size: 1.5em;

    }
    .carousel-logo {
      height: 100px;
    }
  }
  
  .address-input-container {
    padding: 1.5rem;
  }

  @media (max-width: 400px) {
    .address-input-container {
      padding: 0.5em;
    }
    .chadwicks-form-title {
      padding-left: 0.5rem;

    }
  }
  
  .chadwicks-form{
    width: 100%;
    height: 100%;
  }

  .carousel-slide-inner {
    margin-left: auto;
    margin-right: auto;
    width: 60%
  }

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

  .carousel-header {
    width:100%
  }

  .carousel-logo-container {
    background-color: var(--chadwicks-white-transparent);
    border-radius: 15px;
  }

  .carousel-logo {
    max-height: 125px;
    max-width: 100%;
    padding: 1rem;
  }

  .carousel-title {
    color: #58b7b3;
    font-size: xx-large;
    font-weight: 600;
    text-align: center;
  }

  @media (max-width: 1200px) {
    .carousel-slide-inner {
      width: 80%
    }
  }

  @media (max-width: 768px) {
    .carousel, .carousel-slide-inner {
      width: 90%
    }
    .carousel-title {
      font-size: large;
    }
  }

  @media (max-width: 520) {
    .carousel, .carousel-slide-inner {
      width: 95%
    }
    .carousel-title {
      font-size: medium;
    }
  }

  #id_address {
    border: none;
    height: 3em;
    width: 100% !important;
    border-radius: 0.25em 0 0 0.25em !important;
  }

  #id_address::-webkit-input-placeholder {
    content: "Enter Eircode or address to get started" !important;
}

  @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-bottom: 4em;
    margin-left: 2em;
    margin-right: 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, #submit-btn, .prev-btn, .prev-your-details-btn {
      margin: 1em;
    }
  }

  .carousel-item {
    width: 100%;
    height: 100%;
    padding: 1em; 
    background-color: var(--chadwicks-white-transparent);
    opacity: 0.955;
    border-radius: 10px;   
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  }

  .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);
}

.carousel-form-title{
    color: var(--chadwicks-navy);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

@media (max-width: 768px) {
  .carousel-form-title{
    font-size: 1.2rem;  
  }
}
.carousel-form-question-number{
  color: var(--chadwicks-navy);
  text-align: center;
  margin-bottom: 0;
}

.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-weight: 500;
  font-size: 14px;
}

@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.8rem;
  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);
  min-height: 30px;
}

@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 {
  font-size: x-small;
  text-align: justify;
  padding: 0.25em;
}

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

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

/**************************** Password Validation Styles **************************************/

/* Password validation styles */
.valid-green {
  color: #3a7d34;
  font-size: 0.8em;
}

#pwd-info ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#pwd-info li {
  list-style-type: none;
  font-weight: normal;
  font-size: .875em;
  font-style: normal;

}

#pwd-info {
  position: absolute;
  top: 0px;
  /* IE Specific */
  left: 0px;
  width: 300px;
  padding: 15px;
  background: #fefefe;
  font-size: .875em;
  border-radius: 5px;
  box-shadow: 0 1px 3px #ccc;
  border: 1px solid #ddd;
  z-index: 100;
}

#pwd-info h5 {
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: normal;
}

#pwd-info::before {
  content: "\25B2";
  position: absolute;
  top: -12px;
  left: 45%;
  font-size: 14px;
  line-height: 14px;
  color: #ddd;
  text-shadow: none;
  display: block;
}

.list-tick {
  list-style: none;
  /* Remove default bullets */
  color: #3a7d34;
  padding-left: 22px;
  line-height: 24px;
}

.list-tick::before {
  content: '\2713';
  font-size: large;
  color: var(--base-green);
  /* Change the color */
  font-weight: bold;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1em;
  /* Also needed for space (tweak if needed) */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */
}

.list-X {
  list-style: none;
  /* Remove default bullets */
  color: #ec3f41;
  padding-left: 22px;
  line-height: 24px;
  font-size: 0.9rem;
}

.list-X::before {
  content: "\00d7";
  font-size: large;
  color: red;
  /* Change the color */
  font-weight: bold;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1em;
  /* Also needed for space (tweak if needed) */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */
}

/* 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;
}
