/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

.tp-video-play-button {display: none !important;}

/**
 * Instagram feed
 */
.instagram-posts {
  margin: -4px;
  background: #0f0d0b;
  /* border-top: 4px  solid #0f0d0b; */
  /* border-bottom: 4px  solid #0f0d0b; */
  display: flex;
}
.instagram-posts__col {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: calc((100vw + 8px) / 3);
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
}
.instagram-posts__col .instagram-post {
  background-color: rgba(0, 0, 0, 0.5);
  /* border: 4px  solid #0f0d0b; */
  overflow: hidden;
  position: relative;
}
.instagram-posts__col .instagram-post {
  height: calc((100vw + 8px) / 6);
  width: calc((100vw + 8px) / 6);
}
.instagram-post__background {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: relative;
}
.instagram-posts__col .instagram-post__content::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background: rgba(0, 0, 0, 0.6);
}
.instagram-posts__col .instagram-post .instagram-post__content::before {
  opacity: 0;
  transition: opacity 0.2s 0s;
}
.instagram-posts__col .instagram-post:hover .instagram-post__content::before {
  opacity: 1;
  transition: opacity 0.2s 0s;
}
.instagram-posts__col .instagram-post .instagram-post__content .content {
  opacity: 0;
}
.instagram-posts__col .instagram-post:hover .instagram-post__content .content {
  opacity: 1;
  transition: opacity 0.5s 0.2s;
}
.instagram-posts__col .instagram-post__content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  pointer-events: none;
}
.instagram-posts__col .instagram-post__content .content {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  padding: 15%;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  display: flex;
}
.instagram-posts__col .instagram-post__content .content p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.instagram-posts__col .instagram-post__content > * {
  line-height: 1em;
  color: #fff;
}
.instagram-post a {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
.instagram-posts__col .instagram-post__icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 1.6em;
  line-height: 1em;
}
.instagram-post:first-child {
  display: block;
}
.instagram-posts__col:first-child .instagram-post:first-child {
  height: calc((100vw + 8px) / 3);
  width: calc((100vw + 8px) / 3);
}
.instagram-posts__col:nth-child(2) .instagram-post:last-child {
  height: calc((100vw + 8px) / 3);
  width: calc((100vw + 8px) / 3);
}
.instagram-posts__col:last-child .instagram-post:first-child {
  height: calc((100vw + 8px) / 3);
  width: calc((100vw + 8px) / 3);
}

.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 2.4s;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__background::after {
  position: absolute;
  background: #0f0d0b;
  top: 0;
  height: 100%;
  content: '';
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__background::before {
  left: -20%;
  width: 55%;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__background::after {
  right: 0;
  width: 70%;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__background::after {
  right: 0;
  width: 70%;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 0s, -webkit-transform 0.6s 0s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 1.2s, -webkit-transform 0.6s 1.2s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 1.5s, -webkit-transform 0.6s 1.5s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 0.3s, -webkit-transform 0.6s 0.3s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 0.6s, -webkit-transform 0.6s 0.6s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 1.8s, -webkit-transform 0.6s 1.8s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 0.9s, -webkit-transform 0.6s 0.9s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 2.1s, -webkit-transform 0.6s 2.1s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__background {
  transform: translateX(0);
  transition: transform 0.6s 2.4s, -webkit-transform 0.6s 2.4s;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__background::before,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__background::before,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__background::after {
  width: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__background::before,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__background::after {
  width: 0;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__background::before {
  transition: width 0.5s 0.1s ease-in-out;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__background::before {
  transition: width 0.5s 1.3s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__background::before {
  transition: width 0.5s 1.6s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__background::before {
  transition: width 0.5s 0.4s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background::before {
  transition: width 0.5s 0.7s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__background::before {
  transition: width 0.5s 1.9s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__background::before {
  transition: width 0.5s 1s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__background::before {
  transition: width 0.5s 2.2s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__background::before {
  transition: width 0.5s 2.5s;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__background::after {
  transition: width 0.6s 0s ease-in-out;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__background::after {
  transition: width 0.6s 1.2s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__background::after {
  transition: width 0.6s 1.5s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__background::after {
  transition: width 0.6s 0.3s ease-in-out;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__background::after {
  transition: width 0.6s 0.6s ease-in-out;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__background::after {
  transition: width 0.6s 1.8s ease-in-out;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__background::after {
  transition: width 0.6s 0.9s ease-in-out;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__background::after {
  transition: width 0.6s 2.1s ease-in-out;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__background::after {
  transition: width 0.6s 2.4s ease-in-out;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2) .instagram-post__content {
  opacity: 0;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3) .instagram-post__content {
  opacity: 0;
}

.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(1).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 0.6s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(2).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 1.8s;
}
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__icon,
.instagram-posts__col:nth-child(1) .instagram-post:nth-child(3).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 2.1s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(1).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 0.9s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(2).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 1.2s;
}
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__icon,
.instagram-posts__col:nth-child(2) .instagram-post:nth-child(3).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 2.4s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(1).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 1.5s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(2).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 2.7s;
}
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__icon,
.instagram-posts__col:nth-child(3) .instagram-post:nth-child(3).active .instagram-post__content {
  opacity: 1;
  transition: opacity 0.2s 3s;
}
