/* Contact details block + merged contact page module CSS **************************** */
/* PrestaShop 1.7.x */

#block_cm_contact_infos .myaccount-title a {
  color: #232323;
}

#footer_contact_list a {
  color: #2fb5d2;
}

#footer_contact_list a:hover {
  color: #208094;
}

#block_cm_contact_infos ul > li,
#block_cm_contact_infos p {
  color: #232323;
  font-size: 14px;
}

#block_cm_contact_infos ul > li {
  line-height: 20px;
}

/* Blocks of the contact page generated by the module keep a gap between them
   and between the last of them and the contact form. */
.cm-contactinfo-block {
  margin-top: 30px;
  margin-bottom: 30px;
}
.cm-contactinfo-block + .cm-contactinfo-block {
  margin-top: 0;
}
.cm-contactinfo-block .contact-form > :last-child {
  margin-bottom: 0;
}

/* Separate blocks: the module closes the page.tpl card around the hook and opens
   a new one after its own blocks. The first card is then left empty - hide it. */
#contact .page-content.card.card-block:not(:has(*)) {
  display: none;
}
.cm-contactinfo-card.cm-contactinfo-block {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Block titles: same markup as the heading of the contact form */
.cm-contactinfo-block .cm-contactinfo-title {
  color: #232323;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
/* Compact spacing of the title and the content in the blocks of the module */
.cm-contactinfo-block .contact-form {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.cm-contactinfo-block .contact-form > .form-group.row {
  margin-bottom: 0;
}
.cm-contactinfo-card.card-block {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Map loaded after a click */
.cm-contactinfo-map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f1f1;
  border: 1px solid #e0e0e0;
  text-align: center;
}
.cm-contactinfo-map-consent-box {
  max-width: 480px;
  padding: 20px;
}
.cm-contactinfo-map-consent-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

/* EOF */