/* Paragraph */
p.has-drop-cap::first-letter {
  float: left;
  margin-top: 0.075rem;
  margin-right: 0.75rem;
  font-size: 7.5rem;
  line-height: 0.75;
}

p.has-background {
  padding: 1.5rem;
}

/* Image */
.wp-block-image {
  margin-bottom: 1.5rem;
}

.wp-block-image.is-style-rounded {
  border-radius: 90rem;
}

.wp-block-image figure,
.wp-block-image img {
  border-radius: inherit;
}

/* Gallery */
.wp-block-gallery {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.wp-block-gallery figure {
  width: calc(50% - 1.5rem);
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.wp-block-gallery.columns-1 figure {
  width: calc(100% - 1.5rem);
}

.wp-block-gallery img {
  width: 100%;
}

.is-cropped img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cover */
.wp-block-cover {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  min-height: 27rem;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
}

.wp-block-cover.is-position-top-left {
  align-items: flex-start;
  justify-content: flex-start;
}

.wp-block-cover.is-position-top-center {
  align-items: flex-start;
  justify-content: center;
}

.wp-block-cover.is-position-top-right {
  align-items: flex-start;
  justify-content: flex-end;
}

.wp-block-cover.is-position-center-left {
  align-items: center;
  justify-content: flex-start;
}

.wp-block-cover.is-position-center-right {
  align-items: center;
  justify-content: flex-end;
}

.wp-block-cover.has-parallax {
  background-attachment: fixed;
  background-size: cover;
}

.wp-block-cover.is-position-bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
}

.wp-block-cover.is-position-bottom-center {
  align-items: flex-end;
  justify-content: center;
}

.wp-block-cover.is-position-bottom-right {
  align-items: flex-end;
  justify-content: flex-end;
}

.wp-block-cover.is-repeated {
  background-repeat: repeat;
  background-size: auto;
}

.wp-block-cover__image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 30;
  color: #ffffff;
}

/* Media & text */
.wp-block-media-text__media {
  margin-bottom: 1.5rem;
}

.wp-block-media-text.is-image-fill {
  align-items: stretch;
}

.wp-block-media-text.is-image-fill img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.wp-block-media-text.has-media-on-the-right figure {
  order: 2;
}

/* Group */
.wp-block-group {
  max-width: 768px;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
}

.wp-block-group.alignfull {
  padding-right: 0;
  padding-left: 0;
}

/* Buttons */
.wp-block-buttons {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.wp-block-button__link {
  display: inline-block;
  padding: 0.5em 1.5rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wp-block-button__width-100 {
  width: 100%;
}

.wp-block-button__width-100 .wp-block-button__link {
  width: 100%;
}

/* Embed */
.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  height: 0;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
  padding-bottom: 56.75%;
}

.wp-block-embed__wrapper iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.wp-block-post-template {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  flex-flow: wrap;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.wp-block-post-template li {
  display: block;
  width: 100%;
}


.wp-block-group.ee-beside-switch .wp-block-column:nth-child(1) {
  -webkit-order: 2;
  -ms-order: 2;
  order: 2;
}

.wp-block-group.ee-beside-switch .wp-block-column:nth-child(2) {
  -webkit-order: 1;
  -ms-order: 1;
  order: 1;
}

/* Alignments */
.alignleft,
.has-text-align-left {
  text-align: left;
}

.aligncenter,
.has-text-align-center,
.is-content-justification-center {
  text-align: center;
}

.alignright,
.has-text-align-right {
  text-align: right;
}

.is-vertically-aligned-top {
  align-items: flex-start;
}

.is-vertically-aligned-center {
  align-items: center;
}

.is-vertically-aligned-bottom {
  align-items: flex-end;
}

.alignwide {
  max-width: 1200px;
}

.alignfull {
  max-width: 100%;
}

/* Colors */
.has-background-dim {
  background-color: #333333;
}

.has-background-dim:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: inherit;
}

.has-background-dim:before {
  opacity: 0.5;
}

.has-background-dim-0:before {
  opacity: 0;
}

.has-background-dim-10:before {
  opacity: 0.1;
}

.has-background-dim-20:before {
  opacity: 0.2;
}

.has-background-dim-30:before {
  opacity: 0.3;
}

.has-background-dim-40:before {
  opacity: 0.4;
}

.has-background-dim-60:before {
  opacity: 0.6;
}

.has-background-dim-70:before {
  opacity: 0.7;
}

.has-background-dim-80:before {
  opacity: 0.8;
}

.has-background-dim-90:before {
  opacity: 0.9;
}

.has-background-dim-100:before {
  opacity: 1;
}

.has-background > :last-child {
  margin-bottom: 0;
}

.has-white-background-color {
  border-color: #ffffff;
  background-color: #ffffff;
}

.has-white-border-color {
  border-color: #ffffff;
}

.has-black-background-color {
  border-color: #333333;
  background-color: #333333;
}

.has-gray-lighter-background-color {
  border-color: #f5f5f5;
  background-color: #f5f5f5;
}

.has-gray-light-background-color {
  border-color: #e0e0e0;
  background-color: #e0e0e0;
}

.has-gray-medium-background-color {
  border-color: #bdbdbd;
  background-color: #bdbdbd;
}

.has-gray-dark-background-color {
  border-color: #616161;
  background-color: #616161;
}

.has-primary-background-color {
  border-color: #d91f26;
  background-color: #d91f26;
}

.has-accent-background-color {
  border-color: #2274a5;
  background-color: #2274a5;
}

.has-accent-border-color {
  border-color: #2274a5;
}

.has-success-background-color {
  border-color: #59a96a;
  background-color: #59a96a;
}

.has-alert-background-color {
  border-color: #d91f26;
  background-color: #d91f26;
}

.has-white-color {
  color: #ffffff;
}

.has-white-color svg {
  fill: #ffffff;
}

.has-black-color {
  color: #333333;
}

.has-gray-lighter-color {
  color: #f5f5f5;
}

.has-gray-light-color {
  color: #e0e0e0;
}

.has-gray-medium-color {
  color: #bdbdbd;
}

.has-gray-dark-color {
  color: #616161;
}

.has-primary-color {
  color: #d91f26;
}

.has-accent-color {
  color: #2274a5;
}

.has-success-color {
  color: #59a96a;
}

.has-alert-color {
  color: #d91f26;
}

/* Font-sizes */
.has-small-font-size {
  font-size: 0.875rem;
}

.has-normal-font-size {
  font-size: 1rem;
}

.has-lead-font-size {
  font-size: 1.185rem;
}

.has-large-font-size {
  font-size: 1.3125rem;
}

.has-x-large-font-size {
  font-size: 1.5rem;
}

.has-xx-large-font-size {
  font-size: 1.875rem;
}

.has-xxx-large-font-size {
  font-size: 2.25rem;
}

/* WooCommerce */
.wc-block-featured-category {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  padding: 1.5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}

.wc-block-featured-category__wrapper {
  z-index: 21;
}

.wc-block-grid__products {
  padding-left: 0;
  margin-top: 3rem;
  margin-bottom: 3rem;
  list-style: none;
}

.wc-block-grid:not(.ee-flickity) > .wc-block-grid__products {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  flex-flow: wrap;
}

.wc-block-grid__products.flickity-enabled {
  padding-bottom: 1.5rem;
}

.wc-block-grid__product {
  position: relative;
}

.has-4-columns .wc-block-grid__product {
  width: 50%;
}

.wc-block-grid__product {
  padding: 1.5rem;
}

.wc-block-grid__product-link {
  display: block;
  position: relative;
  border-radius: 1rem;
  color: #333333;
  background-color: #ffffff;
  box-shadow: 0.25rem 0.25rem 1.5rem rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.wc-block-grid__product-image img {
  margin-bottom: 0.75rem;
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
}

.wc-block-grid__product-price {
  display: block;
  position: relative;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  margin-bottom: 0.375rem;
  text-align: center;
}

.wc-block-grid__product-title {
  padding-right: 1rem;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  text-align: center;
}

.wc-block-grid__product .woocommerce-price-suffix,
.wc-block-grid__product .ee-save-count,
.wc-block-grid__product-onsale {
  display: none;
}

.wc-block-grid__product-link ins {
  text-decoration: none;
}

.wc-block-grid__product-link del {
  color: #616161;
}

.wc-block-grid__product-link .ee-label {
  position: absolute;
  top: -2.5rem;
  left: 0.5rem;
}

.wc-block-grid__product-link h2 {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
}



@media screen and (min-width: 1200px) {

  /* Gallery */
  .wp-block-gallery.columns-4 figure {
    width: calc(25% - 1.5rem);
  }

  .wp-block-gallery.columns-3 figure,
  .wp-block-gallery.columns-4 figure:nth-last-child(3):nth-child(4n+5),
  .wp-block-gallery.columns-4 figure:nth-last-child(2):nth-child(4n+6),
  .wp-block-gallery.columns-4 figure:last-child:nth-child(4n+7) {
    width: calc(33.33333333% - 1.5rem);
  }

  .wp-block-gallery.columns-3 figure:nth-last-child(2):nth-child(3n+4),
  .wp-block-gallery.columns-3 figure:last-child:nth-child(3n+5),
  .wp-block-gallery.columns-4 figure:nth-last-child(2):nth-child(4n+5),
  .wp-block-gallery.columns-4 figure:last-child:nth-child(4n+6) {
    width: calc(50% - 1.5rem);
  }

  .wp-block-gallery.columns-2 figure:last-child:nth-child(odd),
  .wp-block-gallery.columns-3 figure:last-child:nth-child(3n+4),
  .wp-block-gallery.columns-4 figure:last-child:nth-child(4n+5) {
    width: calc(100% - 1.5rem);
  }

  /* Media & text */
  .wp-block-media-text {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
  }

  .wp-block-media-text__media,
  .wp-block-media-text__content {
    width: calc(50% - 1.5rem);
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .wp-block-post-template.columns-3 li {
    width: 33.33333333%;
  }

  .wp-block-group.ee-beside-switch .wp-block-column:nth-child(n) {
    -webkit-order: initial;
    -ms-order: initial;
    order: initial;
  }

  .has-3-columns .wc-block-grid__product,
  .has-6-columns .wc-block-grid__product {
    width: 33.33333333%;
  }

  .has-4-columns .wc-block-grid__product {
    width: 25%;
  }
}
