#gallery {
    padding-top: 40px;

    @media screen and (min-width: 991px) {
        padding: 60px 30px 0 30px;
    }
}

.img-wrapper {
    position: relative;
    margin-top: 15px;

    img {
        width: 100%;
    }
}

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

    i {
        color: #fff;
        font-size: 3em;
    }
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    img {
        margin: 0;
        width: 80%;
        height: auto;
        object-fit: contain;
        padding: 5%;

        @media screen and (min-width:768px) {
            width: 60%;
        }

        @media screen and (min-width:1200px) {
            width: 50%;
        }
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width:768px) {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width:768px) {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width:768px) {
        font-size: 3em;
    }
}
.line-clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.widget ul.ttm-recent-post-list-main li a:hover{
    color: var(--primary);

}
ul {
    margin: 0px;
    padding: 0px 0px 0px 0px;
}
.videoembed { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
    display: flex; 
    transition-property: transform; 
    box-sizing: content-box; 
}
.portfolio-link  a:hover{
    color: #fff;
}
.portfolio-link{
    float: right;
    padding-bottom: 20px;
}
.tm_coverimgbox_wrapper .featured-content .featured-title h3 {
    color: var(--primary);
}

.portfolio-p{
    color: #d3c9c9;

}
.p-color{
    color: var(--primary);
}
.featured-imagebox-services.style1 .featured-imagebox-content-box .ttm-imagebox-wrapper-service {
    position: relative;
    display: block;
    background-color: #fff; 
    padding: 45px 30px 27px;
    z-index: 1;
}
.featured-imagebox-services.style3-news  {
    border: 1px solid #e7e7e7;
    padding: 30px;
    background-color: #fff;
}

span>a{
    color: #fff;
}

.top_bar_contact_item a:hover{color: var(--primary);}

.top_bar_contact_item a:hover{color: var(--primary);} 
.sidebar-contact { 
    position: fixed; 
    top: 50%; 
    right: -350px; 
    transform: translateY(-50%); 
    width: 350px; 
    height: auto; 
    padding: 20px; 
    background: #fff; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5); 
    transition: .5s; 
    z-index: 1114; 
    border-radius: 20px 0 0 20px 
} 
 
.sidebar-contact.active { 
    right: 0 
} 
 
.toggle { 
    position: absolute; 
    text-align: center; 
    cursor: pointer; 
    background: var(--app-secondary); 
    color: #fff; 
    top: 48%; 
    left: -74px; 
    transform: rotate(90deg); 
    padding: 8px 15px; 
    border-radius: 0 0 10px 10px 
} 
 
.toggle h6 { 
    margin-bottom: .5px; 
    font-size: 13px; 
    font-weight: 700; 
    color: #fff; 
    font-family: Nunito, sans-serif 
} 
 
.toggle h2 { 
    margin-bottom: .5px; 
    font-size: 13px; 
    font-weight: 700; 
    color: #fff; 
    border-radius: 10px; 
    font-family: Nunito, sans-serif; 
    background-color: var(--primary); 
} 
 
.toggle h6 i { 
    margin: 5px 
} 
 
.toggle h2 i { 
    margin: 5px; 
} 
 
 
.sidebar-contact .btn { 
    background: var(--app-secondary); 
    border: unset; 
    font-size: 12px 
} 
.parsley-required{ 
    color: red; 
}
