.posts_wr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}
.inst_post {
    width: 30%;
}
.inst_post.card {
    margin-top: 30px;
}
.card-body.andf {
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.popup_inst {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100vh;
    background: #00000078;
    z-index: 9999;
}
.popup_wr {
    background: white;
    width: 80%;
    margin: auto;
    padding: 40px;
    border-radius: 4px;
    margin-top: 20px;
    position: relative;
}
.close_inst {
    width: 20px;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}
.popup_inst.hidden {
    display: none;
}
.pop_content .inst_post.card {
    border: none;
    margin-top: 0px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: min-content;
}
.popup_wr video.card-img-top {
    height: 80vh;
    width: auto;
}
#popup_slider img.d-block.w-100 {
    height: 80vh;
    width: auto;
    max-width: none !important;
}
.pop_content .card-body.andf {
    display: none;
}

div#pop_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.pop_cupt {
    width: 50%;
    margin-left: 28px;
    word-break: break-word;
}
.inst_post.card {
    position: relative;
    border: solid 1px #f3f5f8;
    border-radius: 6px !important;
    overflow: hidden;
}
.carousel {
	 position: relative;
}
 .carousel.pointer-event {
	 touch-action: pan-y;
}
 .carousel-inner {
	 position: relative;
	 width: 100%;
	 overflow: hidden;
}
 .carousel-item {
	 position: relative;
	 float: left;
	 width: 100%;
	 margin-right: -100%;
	 backface-visibility: hidden;
}
.carousel-item.isprev {
    left: -100% !important;
}
 .carousel-item.active, .carousel-item-next, .carousel-item-prev {
	 display: block;
}
 .carousel-item-next:not(.carousel-item-left), .active.carousel-item-right {
	 transform: translateX(100%);
}
 .carousel-item-prev:not(.carousel-item-right), .active.carousel-item-left {
	 transform: translateX(-100%);
}
 .carousel-fade .carousel-item {
	 opacity: 0;
	 transition-property: opacity;
	 transform: none;
}
 .carousel-fade .carousel-item.active, .carousel-fade .carousel-item-next.carousel-item-left, .carousel-fade .carousel-item-prev.carousel-item-right {
	 z-index: 1;
	 opacity: 1;
}
 .carousel-fade .active.carousel-item-left, .carousel-fade .active.carousel-item-right {
	 z-index: 0;
	 opacity: 0;
}
 .carousel-control-prev, .carousel-control-next {
	 position: absolute;
	 top: 0;
	 bottom: 0;
	 z-index: 1;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 padding: 0;
	 text-align: center;
	 background: none;
	 border: 0;
}
 .carousel-control-prev {
	 left: 0;
}
 .carousel-control-next {
	 right: 0;
}
 .carousel-control-prev-icon, .carousel-control-next-icon {
	 display: inline-block;
	 width: 45px;
	 height: 45px;
	 background: 50% / 100% 100% no-repeat;
}
 .carousel-control-prev-icon {
	 background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'><path d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/></svg>");
}
 .carousel-control-next-icon {
	 background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'><path d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/></svg>");
}
 .carousel-indicators {
	 position: absolute;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 z-index: 15;
	 display: flex;
	 justify-content: center;
	 padding-left: 0;
	 list-style: none;
}
 .carousel-indicators li {
	 box-sizing: content-box;
	 flex: 0 1 auto;
	 text-indent: -999px;
	 cursor: pointer;
	 background-clip: padding-box;
	 opacity: 0.5;
}
 .carousel-indicators .active {
	 opacity: 1;
}
 .carousel-caption {
	 position: absolute;
	 bottom: 20px;
	 z-index: 10;
	 padding-top: 20px;
	 padding-bottom: 20px;
	 text-align: center;
}
.carousel-item {
    left: 100%;
}
.carousel-item.active {
    left: 0% !important;
}
.carousel-item {
    transition-duration: 0.4s;
        -webkit-transition-duration: 0.4s;
-moz-transition-duration: 0.4s;

}
.carousel-item {
    left: 100%;
} 
.carousel-item-next, .carousel-item-prev {
    left: 0% !important;
}
span.sr-only {
    display: none;
}
span.carousel-control-prev-icon, span.carousel-control-next-icon {
    opacity: 0.6;
}

.inst_post.card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.card-body.andf {
    padding: 20px;
    width: 100%;
    font-family: 'inter';
    flex-grow: 1;
    justify-content: space-between;
}
button.btn.btn-primary.btn_inst_popup {
    background: #2f80ed;
    border-color: #2f80ed;
    box-shadow: none !important;
    color: white;
    border: none;
}
button.btn.btn-primary.btn_inst_popup:hover {
    background: #0b60d2;
    border-color: #0b60d2;
}
.pop_date.card-subtitle.mb-2.text-muted {
    font-weight: bold;
    margin-bottom: 10px;
}
img.d-block.w-100 {
    cursor: pointer;
}
    video.card-img-top {
    max-height: 504px !important;
}
@media (max-height: 500px) { 
    	.popup_wr {
        overflow-y: scroll !important;
        height: 78vh !important;
    }
    video.card-img-top {
    height: 304px !important;
    max-height: 304px !important;
}
}
@media (max-width: 500px) { 
    .popup_wr {
    width: 100%;
}
    .close_inst {
        width: 30px;
        right: 5px;
        z-index: 999;
    }
    .popup_wr {
        padding: 6px;
    }
	.inst_post.card {
		width: 100%;
	}
	.modInstagram2_1.row {
		margin: auto;
	}
	div#pop_content {
		flex-direction: column;
		margin-top: 24px;
	}
	.inst_post.card {
		width: 100% !important;
	}
	.pop_cupt {
		width: calc(100% - 20px);
		padding: 10px;
	}
	.popup_wr {
        overflow-y: scroll;
        max-height: 76vh;
    }
    #popup_slider img.d-block.w-100 {
        height: unset;
        width: 100%;
    }
    .inst_post.card {
        height: unset !important;
    }
    .pop_cupt {
        margin-left: 0px;
    }
.carousel-item {
    -webkit-transition-duration: 0.4s !important;
-moz-transition-duration: 0.4s !important;
    transition-duration: 0.4s !important;
}

}