.pt-portfolio-block-one .pt-portfolio-info span.pt-button-line-left {
opacity: 0;
} .post-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
align-content: center;
justify-content: center;
align-items: center;
}
.overlay-close{
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
z-index: 998;
}
#post-overlay.show{ 
display:flex !important;
} 
.post-popup-container{
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
border-radius: 0px;
width: 100%;
max-width: 991px;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
align-items: center;
position:relative;
z-index:999;
max-height: 90vh;
}
.post-popup-container .post-popup-content{ width: 100%;
min-height: 100%;
overflow-y:auto;
padding: 80px 80px;
}
.popup-post-title{
font-size: 2em;
margin-bottom: 20px;
}
.popup-post-content{
color: #000 !important;
font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
text-align: justify !important;
font-size: 1rem;
font-style: normal;
font-weight: normal;
line-height: 2;
}
.rtl .post-popup-container .post-popup-content h4{
margin-bottom: 15px;
}
.rtl .post-popup-container .post-popup-content p{
font-weight: 400;
font-size: 16px;
}
.pop-close-btn {
background-color: #fff !important;
color: #000 !important;
padding: 0 !important;
cursor: pointer !important;
position: absolute;
top: -15px;
right: -15px;
font-size: 18px !important;
text-transform: lowercase !important;
background-image: none !important;
border: none !important;
font-weight: 400 !important;
outline: none !important;
text-shadow: none !important;
font-family: "Noto Kufi Arabic", Sans-serif !important;
height: 30px;
width: 30px;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #000 !important;
border-radius: 20px !important;
}
.rtl .pop-close-btn {
left: -15px;
right: auto;
}
.popup-loader {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.popup-loader div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #5A6E3A;
border-radius: 50%;
animation: abaadLoader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #5A6E3A transparent transparent transparent;
}
#preloader img {
height: 100px;
width: 100px;
margin: 0 auto;
display: block;
-webkit-animation: rotating 2s linear infinite;
-moz-animation: rotating 2s linear infinite;
-ms-animation: rotating 2s linear infinite;
-o-animation: rotating 2s linear infinite;
animation: rotating 2s linear infinite;
}
@-webkit-keyframes rotating {
from {
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes rotating {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.popup-loader div:nth-child(1) {
animation-delay: -0.45s;
}
.popup-loader div:nth-child(2) {
animation-delay: -0.3s;
}
.popup-loader div:nth-child(3) {
animation-delay: -0.15s;
}
#post-overlay #preloader{
max-height: 200px;
position: unset !important;
display: block !important;
}
@media screen and (max-width:991px){
.post-popup-container{
max-width: 650px;
}
.post-popup-container .post-popup-content{
padding: 40px 40px;
}
}
@media screen and (max-width:767px){
.post-popup-container{
margin: 20px;
}
.popup-post-title {
font-size: 1.6em;
margin-bottom: 15px;
}
.post-popup-container .post-popup-content{
padding: 40px 20px;
}
} .product-grid .elementor-portfolio-item__overlay{
opacity: 1 !important;
height: auto;
top: auto;
text-align: left;
width: calc(100% - 20px);
transition: all 0.4s ease-in-out !important;
background-color: transparent !important;
padding: 25px 30px !important;
clip-path: polygon(0% 0, 100% 0, calc(100% - 20px) 100%, 0% 100%);
}
.product-grid .elementor-post__thumbnail__link:hover .elementor-portfolio-item__overlay{
background-color: #D02027 !important;
}         .product-grid .elementor-portfolio-item__img:after{
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.15);
opacity: 1;
transition: all 0.3s;
}
.pt-grid-item .pt-portfolio-img img,
.portfolio-posts img{
margin-left: 0px !important;
-webkit-transform: scale(1);
transform: scale(1) !important;
transition: all 0.3s !important;
}
.pt-grid-item a:hover .pt-portfolio-img img,
.portfolio-posts .elementor-post__thumbnail__link:hover img{
-webkit-transform: scale(1.1);
transform: scale(1.1) !important;
}