.top-single-potfolio {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 60px auto;
}

.top-single-potfolio picture {
    width: 42%;
	    display: flex;
    align-items: center;
}

.top-single-potfolio picture img {
    width: 100%;
    height: auto;
    box-shadow: var(--bs);
    border-radius: var(--br2);
    border: solid 6px white;
    box-sizing: border-box;
}

.Undertxtarchive {
    width: 55%;
}

.under-title-portfolio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.under-title-portfolio ul {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0;
}

.under-title-portfolio ul li {
    display: flex;
    align-items: center;
    font-size: var(--fp);
    color: var(--txt4);
}

.under-title-portfolio ul li img {
    margin-left: 5px;
}

.under-title-portfolio .cat-portfolio {
    font-size: var(--fp);
    color: var(--txt4);
}

.admin-info {
    margin: 20px 0;
}

.order {
    font-size: var(--fp);
    margin: 10px 0;
    color: var(--txt4);
}

.Undertxtarchive .txtarticle {
    font-size: var(--fp);
    color: rgba(120, 120, 120, 0.7);
    font-weight: 300;
    line-height: var(--lh);
    margin-bottom: 10px;
}
.sec2, .txtportfolio {
    margin: var(--pad2);
}
.sec2>ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.sec2>ul:after {
    content: '';
    position: absolute;
    background-image: url(../img/Vector-port.svg);
    width: 66%;
    height: 381px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 0;
    left: 0;
    margin: 0 auto;
    background-position: center;
    z-index: -1;
    top: -59px;
}

.sec2>ul>li {
    width: 31%;
    box-shadow: var(--bs);
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    margin-bottom: 30px;
    background-color: white;
    border-radius: var(--br2);
}

.title-sec-2 {
    text-align: center;
    margin: 20px 0;
    color: var(--txt4);
    font-size: var(--ft2);
    font-weight: 500;
}

.sec2>ul>li p {
    font-weight: 100;
    font-size: var(--fp);
    line-height: var(--lh);
    text-align: center;
    color: var(--txt4);
}

.techno ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.techno ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    font-size: 12px;
    color: var(--txt4);
    font-weight: 300;
	    text-align: center;

}

.techno ul li img {
    width: 60px;
    margin-bottom: 10px;
}

.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
        background-size: 100% auto;
    background-repeat: no-repeat;

    background-position: center;
    background-color: #F6FBFE;
    border-radius: var(--br2);

}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    text-shadow: 0 0 3px black;
}
.gallery-top {
    height: 78%;
    width: 100%;
    margin-bottom: 10px;
}

.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
.txtportfolio {
    display: flex;
    justify-content: space-between;
}
.right-gallery {
    width: 45%;
    height: 370px;

}
.txtportfolio .content {
    width: 50%;
}
.my-offer {
    display: flex;
    width: 50%;
    margin: 40px auto 250px;
    justify-content: space-between;
    align-items: center;
}
.my-offer span {
    font-size: var(--ft);
    color: var(--txt4);
}
#fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}

#light {
  display: none;
  position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 60px;
  max-width: 850px;
  max-height: 500px;
  border: 2px solid #FFF;
  background: #FFF;
  z-index: 1002;
  overflow: visible;
}
#light video {
	width:100%;
}
#boxclose {
  float: right;
  cursor: pointer;
  color: #fff;
  border: 1px solid #AEAEAE;
  border-radius: 3px;
  background: #222222;
  font-size: 31px;
  font-weight: bold;
  display: inline-block;
  line-height: 0px;
  padding: 11px 3px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 1002;
  opacity: 0.9;
}

.boxclose:before {
  content: "×";
}

#fade:hover ~ #boxclose {
  display:none;
}
@media screen and (max-width: 768px) {
	
	.top-single-potfolio {
		width: 100%;
		flex-wrap:wrap;
	}
	.top-single-potfolio picture , .Undertxtarchive ,.right-gallery ,.txtportfolio .content{
		width:100%;
	}
		.sec2>ul ,.txtportfolio {
		flex-wrap: wrap;
	}
		.sec2>ul>li {
		width: 100%;
	}
	.my-offer {
    width:95%;
		    flex-direction: column;

}
	.my-offer span {
        margin-bottom: 19px;
		    text-align: center;


}
}