//services-right-widget
.services-right-widget {
    &.sticky-top {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1;
    }
}
.widget {
    border: 2px solid rgb(242, 242, 242);
    padding: 38px 40px 25px 40px;
    @media #{$lg} {
        padding: 40px 15px 30px 15px;
    }
    @media #{$xs} {
        padding: 30px 15px 20px 15px;
    }
}
.widget-title-box {
    position: relative;
    z-index: 1;
    &::before {
        content: "";
        position: absolute;
        background: #e7e7e7;
        width: 100%;
        height: 1px;
        left: 0;
        bottom: 0;
        z-index: 1;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -ms-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    &::after {
        content: "";
        position: absolute;
        background: #ffa84b;
        width: 40px;
        height: 1px;
        left: 0;
        bottom: 0;
        z-index: 1;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -ms-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
}
.widget-sub-title {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
}
.widget-sub-title2 {
    font-size: 24px;
}
.widget-categories {
    ul {
        li {
            a {
                color: #999999;
                font-size: 16px;
                padding: 15px 0;
                display: block;
                line-height: 1;
                font-weight: 700;
                &:hover {
                    color: $heding;
                    text-decoration: underline;
                }
            }
        }
    }
}

//widget-subscribe
.widget-subscribe {
    .contact-form {
        textarea {
            height: 140px;
            padding-top: 15px;
        }
        .form-btn {
            width: 100%;
        }
    }
}

//widget-banner-add
.widget.widget-banner-add {
    border: 0;
    background: url(../img/services/banne-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 370px;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    &::before {
        content: "";
        position: absolute;
        background: rgb(8, 61, 88);
        opacity: 0.902;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: -1;
    }
    .banner-logo {
        display: block;
        padding-bottom: 30px;
        margin-bottom: 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.102);
    }
    p {
        color: #adbbc2;
    }
    .theme_btn {
        padding-left: 50px;
        padding-right: 50px;
    }
}

//blog

.widget-author-content {
    .author__social {
        a {
            color: #d4d4d4;
            background: transparent;
            width: unset;
            height: unset;
            font-size: 14px;
            line-height: 1;
            margin: 0 9px;
            &:hover {
                color: $theme-color;
                background: transparent;
            }
        }
    }
}

.widget-search {
    .subscribe-form {
        position: relative;
        z-index: 1;
        input {
            color: $body-text-color2;
            height: 60px;
            padding-left: 43px;
            background: $white;
            box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.06);
            &::placeholder {
                color: $body-text-color2;
            }
            &::-moz-placeholder {
                color: $body-text-color2;
            }
            &::-webkit-placeholder {
                color: $body-text-color2;
            }
            &::-o-placeholder {
                color: $body-text-color2;
            }
        }
        .subscribe-btn {
            background: $theme-color;
            width: 60px;
            padding: 17px 0;
            color: $white;
            position: absolute;
            right: 0;
            top: 0;
            z-index: 1;
        }
    }
}

.widget-post {
    .post-list {
        padding: 0;
        margin: 0;
        li {
            border-bottom: 1px solid rgb(231, 231, 231);
            margin-bottom: 30px;
            &:last-child {
                border-bottom: 0;
                margin-bottom: 10px;
            }
        }
    }
}

.widget-categories-list {
    ul {
        li {
            a {
                background: #f8f8f8;
                width: 100%;
                display: block;
                padding: 14px 0px 14px 30px;
                margin-bottom: 10px;
                font-size: 16px;
                position: relative;
                span {
                    font-size: 14px;
                    font-weight: 700;
                    background: #efefef;
                    padding: 14px 16px;
                    position: absolute;
                    right: 0;
                    top: 0;
                }
                &:hover {
                    span {
                        color: $white;
                        background: $theme-color;
                    }
                }
            }
        }
    }
}
.tag-list {
    a {
        color: $body-text-color;
        font-size: 12px;
        font-weight: 700;
        background: #f4f4f4;
        display: inline-block;
        padding: 10px 27px;
        margin: 5px 5px;
        line-height: 1;
        &:hover {
            color: $white;
            background: $theme-color;
        }
    }
}

.widget-add {
    .banner-content {
        img {
            width: 100%;
        }
    }
}
