/*FEED*/
#lbdf {
  overflow: hidden;
  font-size: 0;
  padding: 0; /*10px*/
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
}

#lbdf > div {
  display: inline-block;
  vertical-align: top;
  position: relative;
  color: black;
  font-size: 12px;
  text-align: center !important;
}
#lbdf[data-w="0"] > div { width: 25%; }
#lbdf[data-w="1"] > div { width: 33.333%; }
#lbdf[data-w="2"] > div { width: 33.333%; }
#lbdf[data-w="3"] > div { width: 50%; }
#lbdf[data-w="4"] > div { width: 50%; }
#lbdf[data-w="5"] > div { width: 100%; }

#lbdf > pre {
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1.3;
}
	
#lbdf > div > div {
  margin: 10px;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
}
	
#lbdf > div > div > div {
  cursor: pointer;
}

#lbdf > div > div > div:nth-child(1) {
  position: relative;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
  width: 100%;
  height: 0;
  padding: 100% 0 0 0;
}
#lbdf > div > div > div:nth-child(1) > img,
#lbdf > div > div > div:nth-child(1) > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 0;
}

#lbdf > div > div > div:nth-child(1) > div:nth-of-type(1),
#lbdf > div > div > div:nth-child(1) > div:nth-of-type(2) {
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
}
#lbdf > div > div > div:nth-child(1) > div:nth-of-type(1) { /*gallery*/
  justify-content: left;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#lbdf > div > div > div:nth-child(1) > div:nth-of-type(2) { /*caption*/
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity:0;
  z-index: 2;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
#lbdf > div > div > div:nth-child(1) > div:nth-of-type(1) > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

#lbdf > div > div > div:nth-child(1) > div:nth-of-type(2) > div {
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  display: flex;
  align-items: center;
  font-family: sans-serif;
  line-height: 1.3;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
  -webkit-transition: font-size 0.3s ease;
  -moz-transition: font-size 0.3s ease;
  -o-transition: font-size 0.3s ease;
  transition: font-size 0.3s ease;
}
#lbdf[data-w="0"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 18px; }
#lbdf[data-w="1"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 16px; }
#lbdf[data-w="2"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 14px; }
#lbdf[data-w="3"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 12px; }
#lbdf[data-w="4"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 12px; }
#lbdf[data-w="5"] > div > div > div:nth-child(1) > div:nth-of-type(2) > div { font-size: 12px; }

@media (hover: hover){
  #lbdf > div > div > div:nth-child(1) > div:nth-of-type(2):hover {
    opacity:1;
  }
}
/*ICON*/
#lbdf > div > div > div:nth-child(2) {
  position: absolute;
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1.3;
  background-repeat: none;
  background-size: cover !important;
  z-index: 2;
  pointer-events: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#lbdf > div[data-video] > div > div:nth-child(2) { background: url("./img/video.png"); }
#lbdf > div[data-carousel] > div > div:nth-child(2) { background: url("./img/carousel.png"); }

#lbdf[data-w="0"] > div > div > div:nth-child(2) { top:20px; right:20px; height: 30px; width: 30px; }
#lbdf[data-w="1"] > div > div > div:nth-child(2) { top:18px; right:18px; height: 27px; width: 27px; } 
#lbdf[data-w="2"] > div > div > div:nth-child(2) { top:16px; right:16px; height: 24px; width: 24px; }
#lbdf[data-w="3"] > div > div > div:nth-child(2) { top:14px; right:14px; height: 21px; width: 21px; }
#lbdf[data-w="4"] > div > div > div:nth-child(2) { top:12px; right:12px; height: 18px; width: 18px; }
#lbdf[data-w="5"] > div > div > div:nth-child(2) { top:12px; right:12px; height: 18px; width: 18px; }

/*INFO*/
.info {
  font-family: sans-serif;
  width:100%;
  height:15px;
  background:green;
  line-height:15px;
  text-align:center;
  font-size:15px;
  color:white;
  padding: 10px 0;
}

/*ANIMATION*/
@-webkit-keyframes show {
  from {
	opacity: 0;
  }
  to {
	opacity: 1;
  }
}
@keyframes show {
  from {
	opacity: 0;
  }
  to {
	opacity: 1;
  }
}
@-webkit-keyframes hide {
  from {
	opacity: 1;
  }
  to {
	opacity: 0;
  }
}
@keyframes hide {
  from {
	opacity: 1;
  }
  to {
	opacity: 0;
  }
}

/*MODALE*/
#lbdfm {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  background: rgba(0,0,0,0.75);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
#lbdfm > div {
  width: 0%;
  cursor: default;
  position: relative;
  text-align: center;
}
#lbdfm[data-t="i"] > div,
#lbdfm[data-t="c"] > div {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1 / 1;
}
#lbdfm[data-t="v"] > div {
  width: 100%;
  max-width: 405px;
  /*aspect-ratio: 9 / 16;*/
}
#lbdfm > div > div {
  height: 100%;
  font-size: 0;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
}
#lbdfm > div > div:nth-child(1) {
  position: relative;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  border-radius: 6px;
}
#lbdfm:not([data-t="i"]) > div > div:nth-child(1),
#lbdfm:not([data-t="c"]) > div > div:nth-child(1) {
  width: 100%;
}
#lbdfm:not([data-t="v"]) > div > div:nth-child(1) {
  background: rgba(0,0,0,0.5);
}
#lbdfm > div > div:nth-child(1) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top:0;
  left:0;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
#lbdfm > div > div:nth-child(1) > img[data-i="0"] { opacity: 0; }
#lbdfm > div > div:nth-child(1) > img[data-i="1"] { opacity: 1; }

#lbdfm > div > div:nth-child(1) > video {
  width: 100%;
  height: 100%;
  display: block;
}

/*ARROWS*/
#lbdfm > div > div:nth-child(1) > div:nth-of-type(1),
#lbdfm > div > div:nth-child(1) > div:nth-of-type(2) {
  width: 32px;
  height: 32px;
  position: absolute;
  top:50%;
  -webkit-transform: translate(0%, -50%); 
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  background-repeat: no-repeat;
  z-index: 100001;
  cursor: pointer;
  -webkit-transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  -o-transition: all 0.15s ease;
  transition: all 0.15s ease;
}
#lbdfm > div > div:nth-child(1) > div:nth-of-type(1) {
  background: url('./img/arl_w.png'), rgba(0,150,220,1);
  background-size: contain;
  left:0;
  -webkit-border-radius: 0px 3px 3px 0px;
  -moz-border-radius: 0px 3px 3px 0px;
  -ms-border-radius: 0px 3px 3px 0px;
  border-radius: 0px 3px 3px 0px;
}
#lbdfm > div > div:nth-child(1) > div:nth-of-type(2) {
  background: url('./img/arr_w.png'), rgba(0,150,220,1);
  background-size: contain;
  right:0;
  -webkit-border-radius: 3px 0px 0px 3px;
  -moz-border-radius: 3px 0px 0px 3px;
  -ms-border-radius: 3px 0px 0px 3px;
  border-radius: 3px 0px 0px 3px;
}
@media (hover: hover){
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(1):hover {
    background: url('./img/arl_w.png'), rgba(0,150,220,1);
    background-size: contain;
    left:0;
    -webkit-border-radius: 0px 3px 3px 0px;
    -moz-border-radius: 0px 3px 3px 0px;
    -ms-border-radius: 0px 3px 3px 0px;
    border-radius: 0px 3px 3px 0px;
  }
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(2):hover {
    background: url('./img/arr_w.png'), rgba(0,150,220,1);
    background-size: contain;
    right:0;
    -webkit-border-radius: 3px 0px 0px 3px;
    -moz-border-radius: 3px 0px 0px 3px;
    -ms-border-radius: 3px 0px 0px 3px;
    border-radius: 3px 0px 0px 3px;
  }
}

/*PAGINATION*/
#lbdfm > div > div:nth-child(1) > div:nth-of-type(3) {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  text-align: center;
}
#lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div {
  margin: 5px;
  height: 10px;
  width: 10px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%; 
  display: inline-block;
  vertical-align: top;
  -webkit-transition: background 0.15s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  -moz-transition: background 0.15s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  -o-transition: background 0.15s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  transition: background 0.15s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  cursor: pointer;
  border: 1px solid #bfbfbf;
  pointer-events: auto;
}
#lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div[data-p="0"] {
  background: transparent;
}
@media (hover: hover){
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div[data-p="0"]:hover {
    background: #bfbfbf;
  }
}
#lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div[data-p="1"] {
  background: #bfbfbf;
}

/*CAPTION*/
#lbdfm > div > div:nth-child(2) {
  width: 100%;
  height: auto; /*48px*/
  line-height: 1.3; /*48px*/
  text-align: center;
  color: #fff;
  font-size: 16px;
  padding: 15px 12px;
  -webkit-transition: font-size 0.3s ease;
  -moz-transition: font-size 0.3s ease;
  -o-transition: font-size 0.3s ease;
  transition: font-size 0.3s ease;
}
	
/*INSTAGRAM BUTTON*/
#lbdfm > div > div:nth-child(3) {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100002;
  background: url('./img/instagram-k.png'), rgba(255,255,255,1);
  background-size: contain;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  border-radius: 12px;
  -webkit-transition: background 0.15s ease, top 0.3s ease, right 0.3s ease;
  -moz-transition: background 0.15s ease, top 0.3s ease, right 0.3s ease;
  -o-transition: background 0.15s ease, top 0.3s ease, right 0.3s ease;
  transition: background 0.15s ease, top 0.3s ease, right 0.3s ease;
  cursor: pointer;
}
#lbdfm > div > div:nth-child(3) > a {
  width: 100%;
  height: 100%;
  display: block;
}
@media (hover: hover){
  #lbdfm > div > div:nth-child(3):hover {
    background: url('./img/instagram-w.png'), rgba(0,0,0,1);
    background-size: contain;
  }
}
#lbdfm[data-t="0"] {
  display: 'block';
  animation-duration: 0.3s;
  animation-name: hide;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  pointer-events: none;
}
#lbdfm[data-t="c"] {
  display: 'block';
  animation-duration: 0.3s;
  animation-name: show;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  pointer-events: auto;
}
#lbdfm[data-t="c"] > div > div:nth-child(1) {
  cursor: grab;
  pointer-events: auto;
}
#lbdfm[data-t="i"] {
  display: 'block';
  animation-duration: 0.3s;
  animation-name: show;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  pointer-events: auto;
}
#lbdfm[data-t="i"] > div > div:nth-child(1) {
  pointer-events: none;
}
#lbdfm[data-t="v"] {
  display: 'block';
  animation-duration: 0.3s;
  animation-name: show;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
  pointer-events: auto;
}
/*#lbdfm[data-t="v"] > div > div:nth-child(1) {
  pointer-events: none;
}*/
#lbdfm > span {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100003;
  background: url('./img/x.png');
  background-size: contain;
  pointer-events: none;
  padding: 0;
  margin: 0;
  opacity: 1;
}
@media screen and (min-width: 0px) and (max-width: 960px) {
  #lbdfm > div > div:nth-child(1) {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px;
  }
}
@media screen and (min-width: 1281px) and (max-width: 1600px) {
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 640px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 360px;
  }
}
@media screen and (min-width: 961px) and (max-width: 1280px) {
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 600px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 340px;
  }
}
@media screen and (min-width: 641px) and (max-width: 960px) {
    
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 560px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 320px;
  }
    
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div {
    margin: 5px;
	height: 10px;
    width: 10px;
  }
  #lbdfm > div > div:nth-child(2) {
    font-size: 17px;
  }
  #lbdfm > div > div:nth-child(3) {
    width: 44px;
    height: 44px;
    top: 18px;
    right: 18px;
  }
}
@media screen and (min-width: 481px) and (max-width: 640px) {
    
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 520px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 300px;
  }

  #lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div {
    margin: 5px;
    height: 10px;
    width: 10px;
  }
  #lbdfm > div > div:nth-child(2) {
    font-size: 16px;
  }
  #lbdfm > div > div:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 16px;
    right: 16px;
  }
}
@media screen and (min-width: 321px) and (max-width: 480px) {
    
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 480px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 280px;
  }
    
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div {
    margin: 5px;
    height: 10px;
    width: 10px;
  }
  #lbdfm > div > div:nth-child(2) {
    font-size: 15px;
  }
  #lbdfm > div > div:nth-child(3) {
    width: 36px;
    height: 36px;
    top: 14px;
    right: 14px;
  }
}
@media screen and (min-width: 0px) and (max-width: 320px) {
    
  #lbdfm[data-t="i"] > div,
  #lbdfm[data-t="c"] > div {
    max-width: 320px;
  }
  #lbdfm[data-t="v"] > div {
    max-width: 260px;
  }
    
  #lbdfm > div > div:nth-child(1) > div:nth-of-type(3) > div {
    margin: 5px;
    height: 10px;
    width: 10px;
  }
  #lbdfm > div > div:nth-child(2) {
    font-size: 14px;
  }
  #lbdfm > div > div:nth-child(3) {
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
  }
}

.instagram-feed {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.instagram-item {
    width: 30%;
    text-align: center;
}
.instagram-item img {
    width: 100%;
    border-radius: 5px;
}