/* overrides.css - merge with theme scss files */

/* Forms */

.errors {
  padding-left: 0;
  list-style: none;
  margin: 0.25rem 0;
  color: #e51937;
  font-size: 80%;
}

.is-invalid .form-control,
.is-invalid .custom-select {
   border-color: #e51937;
   padding-right: calc(1.4em + 0.75rem);
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23e51937' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23e51937' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
   background-repeat: no-repeat;
   background-position: center right calc(0.35em + 0.1875rem);
   background-size: calc(0.7em + 0.375rem) calc(0.7em + 0.375rem);
}

.is-invalid [data-type="RadioButtonGroup"] {
  border: 1px solid #e51937;
  padding: 0.5rem;
}

.hide-edit-options .add-comment-btn,
.hide-edit-options .review-license-btn {
  display: none;
}

.header .nav [data-level='1'] > li > a.btn {
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 10px;
}

.header .nav [data-level='1'] > li > a.btn:after {
  content: none;
}

/* Asset lightbox */
.lightbox-asset-image {
  background-color: #f1f2f2;
}

/* Articles */
.article-hero-item-wrapper {
  max-width: 900px;
}

.article-slider-item-text {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-tile div {
  padding: 0px;
}

.home-tile img {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 512/245;
  object-fit: cover;
}

.home-tile .tile-text-bg-black {
  background-color: #373737;
  color: #fff;
}

.home-tile .tile-text-bg-black a,
.home-tile .tile-text-bg-black a:hover,
.home-tile .tile-text-bg-black a:focus {
  color: white !important;
}

.home-tile .tile-text {
  padding: 30px;
}

.home-tile .tile-text > div {
  max-width: 586px;
}

@media (max-width: 768px) {
  .tile-text {
      order: 2;
  }
  .tile-img {
      order: 1;
  }
}

.connect-with-us {
  padding-top: 40px;
  padding-bottom: 40px;
}

.connect-with-us .btn {
  width: 213px;
  text-decoration: none !important;
  font-weight: bold;
}

@media (max-width: 768px) {
  .connect-butttons {
    flex-direction: column !important;
  }
}

.cBuilder .btn-dark.rounded-pill, .cBuilder .btn-outline-dark {
  text-decoration: none !important;
  font-weight: bold;
  min-width: 208px;
}

.cBuilder .btn-outline-dark {
    background-color: transparent;
    border-color: #373737;
    color: #373737;
}

.signup a {
  text-decoration: none !important;
}

#quickFactsAccordion {
  background: #CFD3D4
}

.accordion-flush .accordion-item {
  padding: 0px;
  border-bottom: 0px;
}

.accordion-flush .accordion ul {
  padding-bottom: 20px;
}

.accordion-header a {
  width: 100%;
  border: none;
  line-height: 50px;
  height: 50px;
  padding-left: 20px;
  text-decoration: none !important;
}

.accordion-button::after {
  --bs-accordion-btn-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
  --bs-accordion-btn-active-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
}

.ui-draggable .collapse {
  display: block;
}

@media (min-width: 768px) {
  .carousel-item-image{
    padding: 0 0 20%;
  }
}

.form-entire {
  margin-top: 20px;
}

.form-submit-btn {
  color: white;
  font-weight: 700;
  font-size: 16px;
  padding: 10px;
  min-width: 202px;
  border: none !important;
  border-radius: 50px;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.form-submit-btn:hover {
  border: none !important;
}

a.form-submit-btn {
  text-decoration: none !important;
}

.form-title {
  margin-top: 40px;
  margin-bottom: 0px;
}