
#content_page_wrapper img {
  width: 100%;
}

/* Justify all content */
p {
 text-align: justify;
}

/* to align buttons in /photographer */
@media (min-width: 539px) {
  p.no-margin-p {
    margin: 0;
  }
}

/* But still align center when needed (example in /couverture-en-cresson-fr)*/
.align_center p, .footer p {
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Removes the space between menu and first content*/
._4ORMAT_content_page_row:first-of-type {
  padding-top: 0 !important;
}
._4ORMAT_content_page_row:first-of-type > .twelvecol {
  margin-top: 0 !important;
}
/* Adds the space back for product list and blog */
.product-list, .f_blog_wrapper {
  padding-top: 40px !important;
}

/* smaller hero image, except for home */
._4ORMAT_content_page_row:first-of-type #slideshow_01:not([data-id="152441687"]):not([data-id="154890932"]) .format-slideshow__slide {
  max-height: 400px;
}

/* prevent padding to eat the title on large screen for the smaller hero image */
.format-slideshow__slide-content {
  padding: 0 !important;
}

/* space around hero title */
.format-slideshow__slide-heading {
  margin: 0 10px;
}

/* Custom button design, applied to slideshow button too */
.format-slideshow__slide-link--solid, .custom-secondary-button, p a {
  padding: 15px 30px !important;
  border-radius: 5px !important;
  line-height: 14px !important;
}

.format-slideshow__slide-link--solid, p a {
  background-color: #23dac2 !important;
  color: white !important;
  border: 0 !important;
  font-size: 18px !important;
}

.custom-secondary-button {
  background-color: transparent !important;
  color: rgb(122, 122, 122) !important;
  border: 1px solid rgb(122, 122, 122) !important;
}

.custom-secondary-button, p a {
  display: block;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.custom-secondary-button:hover, p a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Additionnal button on hero slideshow */
.custom-hero-button {
  color: white !important;
  padding: 14px 29px !important;
  border-radius: 5px !important;
  background: #00000054;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.centered-container a {
  margin-left: 15px;
  margin-right: 15px;
}

/* instagram icon in button */
.button-icon {
  height: 24px;
  margin-right: 10px;
  margin-top: -5px;
  margin-bottom: -5px;
}

.button-with-icon {
  display: flex;
  align-items: center;
}

/* inline links which are not buttons */
.inline-link {
  background-color: transparent !important;
  color: rgb(29, 191, 170) !important;
  font-size: 1em !important;
  font-weight: bold;
  display: inline;
  padding: 0 !important;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Store page improvements */
.store .fourcol {
  border: 1px lightgray solid;
  border-radius: 5px;
  overflow: hidden;
}

.store .fourcol h3 {
  padding: 0px 10px 0px;
}

.store .fourcol p {
  padding: 0px 10px 10px;
}

/* Custom store page */

.format-link-set-item p {
  text-align: center;
}

/* dark background behind photos gallery */
#image_set_10 .format-image-set-inner {
  background-color: #0d0d0d;
}

/* Translate Button */

.translate-button {
  position: fixed;
  bottom: 0px;
  right: 20px;
  background-color: white;
  padding: 5px 10px;
  border: 1px solid black;
  border-bottom: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  opacity: .75;
}

.translate-button:hover, .translate-button:active {
  opacity: 1;
  text-decoration: none;
}

/* Customer quotes */

.customer-quote {
  padding: 16px 30px 30px 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.customer-qote p {
  margin: 14px 0 0 0;
}

.customer-quote p i {
  font-size: 1.1rem !important;
}

.customer-quote .customer-name {
  font-size: 1rem !important;
}
