/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Design page magasins */
.page-stores .text-primary {
  color: #3c68b0 !important;
}

.nt-stores-grid {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.nt-stores-grid > .col-12 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.nt-store-item-container {
  transition: box-shadow 0.2s;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.nt-store-item-container:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nt-store-picture {
  min-height: 160px;
  border-bottom: 1px solid #f0f0f0;
}
.nt-store-img {
  object-fit: cover;
  min-height: 160px;
  border-radius: 0;
  max-height: 180px;
}

.store-infos-row {
  display: flex;
  flex-direction: column;
}

.nt-store-hours-list {
  width: 100%;
}
.nt-store-hours-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.nt-store-hours-day {
  width: 48px;
  text-align: left;
  font-weight: 500;
  color: #6c757d;
  flex-shrink: 0;
}
.nt-store-hours-values {
  margin-left: 0.5rem;
  display: inline-block;
}
.nt-store-hours-values span {
  display: inline;
  margin-right: 0.5em;
}

@media (min-width: 768px) {
  .store-infos-row {
    flex-direction: row;
  }
  .store-description {
    width: 45%;
    border-right: 1px solid #eee;
    margin-bottom: 0;
  }
  .store-hours-col {
    width: 55%;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}

.nt-divide-left {
  border-top: 1px solid #eee;
}

@media (min-width: 992px) {
  .nt-divide-left {
    border-top: none;
    border-left: 1px solid #eee;
    min-height: 100px;
  }
  .nt-store-picture {
    border-bottom: none;
    min-height: 180px;
  }
  .nt-store-img {
    min-height: 180px;
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .nt-store-hours-row {
    width: 50% !important;
  }
  .nt-store-item-container {
    flex-direction: column !important;
  }
  .nt-store-picture img {
    min-height: 120px !important;
  }
  .store-description,
  .nt-divide-left {
    padding: 1rem !important;
  }
  .store-hours-col {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    border-left: none;
  }
}
