/* Gallerystylings */
.ce-textpic.ce-right.ce-intext,
.ce-textpic.ce-left.ce-intext {
  margin: 15px 0; /* $grid-gutter-width/2 */
}
.ce-textpic.ce-right.ce-intext .ce-gallery,
.ce-textpic.ce-left.ce-intext .ce-gallery {
  float: none;
  margin: 0;
  margin-bottom: 15px; /* $grid-gutter-width/2 */
}

@media (min-width: 576px) {
  .ce-textpic.ce-right.ce-intext .ce-gallery {
    float: right;
    margin-left: 30px; /* $grid-gutter-width */
  }
  .ce-textpic.ce-left.ce-intext .ce-gallery {
    float: left;
    margin-right: 30px; /* $grid-gutter-width */
  }
  .ce-gallery .image figcaption {
    background-color: var(--brand-grey);
    color: var(--brand-grey);
    padding: 5px 8px;
    text-align: left;
    font-size: var(--font-size-small);
    /* @include gradient-directional(#eeeeee, #fcfcfc, 90deg) */
    background-image: linear-gradient(90deg, #eeeeee, #fcfcfc);
    background-repeat: repeat-x;
  }
  .ce-column img {
    max-width: 100%;
    height: auto;
  }
}
.frame-type-textmedia .is_collapsing {
  height: 300px;
  overflow: hidden;
  position: relative;
  transition: height 0.3s;
  padding-bottom: 30px;
}
.frame-type-textmedia .is_collapsing::after {
  position: absolute;
  content: "";
  right: 0;
  left: 0;
  bottom: 0;
  height: 100px;
  opacity: 1;
  transition-duration: 0.4s;
  transition-property: opacity;
  /* @include gradient-directional(rgba(255,255,255,255), rgba(255,255,255,0), 0deg) */
  background-image: linear-gradient(0deg, rgb(255, 255, 255), rgba(255, 255, 255, 0));
  background-repeat: repeat-x;
}
.frame-type-textmedia .open {
  padding: 0;
  overflow: visible;
}
.frame-type-textmedia .open::after {
  content: none;
  opacity: 0;
}
.frame-type-textmedia .open .btn-show-more {
  bottom: -20px;
}
.frame-type-textmedia .open .ce-bodytext {
  padding-bottom: 20px;
}
.frame-type-textmedia .btn-show-more {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 32px;
  height: 50px;
  padding: 0;
  transform: translateX(-50%);
  z-index: 1;
  background: transparent;
}
.frame-type-textmedia .btn-show-more .tapete-angle-down {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 50px;
  transition: transform 0.3s;
  transform: rotate(0deg);
}
.frame-type-textmedia .btn-show-more.clicked .tapete-angle-down {
  transform: rotate(-180deg);
}
.frame-type-textmedia .btn-show-more:active, .frame-type-textmedia .btn-show-more:focus {
  box-shadow: none;
}
