/* This is the start of custom CSS for the Terms & Conditions and Guaranty HTML textboxes for Form 30, Soft Credit Inquiry App */

.energie-agreement-box {
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;

  padding: 24px;
  margin: 0 0 18px;

  background: #ffffff;
  border: 1px solid #d6d6d6;
  border-radius: 8px;

  color: #222222;
  font-size: 15px;
  line-height: 1.65;

  scrollbar-width: thin;
  scrollbar-color: #3592d0 #eeeeee;
}

.energie-agreement-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #3592d0;
  font-size: 22px;
  line-height: 1.3;
}

.energie-agreement-box p {
  margin-top: 0;
  margin-bottom: 16px;
}

.energie-agreement-box ul,
.energie-agreement-box ol {
  margin: 0 0 16px 22px;
  padding: 0;
}

.energie-agreement-box li {
  margin-bottom: 10px;
}

.energie-agreement-box:focus {
  outline: 3px solid rgba(53, 146, 208, 0.25);
  outline-offset: 2px;
}

/* Chrome, Edge and Safari */
.energie-agreement-box::-webkit-scrollbar {
  width: 10px;
}

.energie-agreement-box::-webkit-scrollbar-track {
  background: #eeeeee;
  border-radius: 10px;
}

.energie-agreement-box::-webkit-scrollbar-thumb {
  background: #3592d0;
  border-radius: 10px;
}

.energie-agreement-box::-webkit-scrollbar-thumb:hover {
  background: #2878ae;
}

@media screen and (max-width: 600px) {
  .energie-agreement-box {
    max-height: 280px;
    padding: 18px;
    font-size: 14px;
  }
}

#gform_wrapper_30 .gfield_checkbox .gchoice {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

#gform_wrapper_30 .gfield_checkbox input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  margin: 3px 0 0 !important;
  flex: 0 0 18px;
}

#gform_wrapper_30 .gfield_checkbox label {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  flex: 1;
}

/* This is the end of custom CSS for the Terms & Conditions and Guaranty HTML textboxes for Form 30, Soft Credit Inquiry App */