@use '../../utils' as *;
/*----------------------------------------*/
/*  5.3 Sidebar css
/*----------------------------------------*/

.sidebar {
    &-widget {
        padding: 50px;
        background: var(--tp-grey-1);
        border-radius: 15px;

        &:not(:last-child) {
            margin-bottom: 30px;
        }

        @media #{$xl} {
            padding: 40px;
        }

        @media #{$lg} {
            padding: 30px;
        }

        @media #{$xs} {
            padding: 20px;
        }

        &-title {
            font-size: 22px;
            font-weight: 700;
            line-height: 1.5;
        }

        &-rc {
            padding: 30px;

            @media #{$xs} {
                padding: 20px;
            }
        }

        &-content {
            & ul {
                & li {
                    position: relative;
                    display: block;

                    & a {
                        font-size: 16px;
                        font-weight: 700;
                        padding: 20px 30px;
                        color: var(--tp-common-black);
                        display: block;
                        @include tp-transition();
                        border-radius: 15px;

                        & i {
                            position: absolute;
                            right: 30px;
                            top: 50%;
                            transform: translateY(-50%);
                        }

                        &:hover {
                            color: var(--tp-theme-1);
                            background: var(--tp-common-white);
                            box-shadow: 0px 4px 20px 0px rgba(30, 22, 22, 0.06);
                        }
                    }
                }
            }
        }
    }

    &-search {
        &-input {
            position: relative;

            & input {
                border: 0;
                height: 58px;
                border: 1px solid transparent;
                border-radius: 15px;

                &::placeholder {
                    color: #768a9e;
                }
            }

            & button {
                position: absolute;
                right: 0;
                width: 58px;
                height: 58px;
                font-size: 16px;
                line-height: 58px;
                text-align: center;
                color: var(--tp-common-white);
                background: var(--tp-theme-1);
                border-radius: 0 15px 15px 0;
            }
        }
    }
}

.tagcloud {
    & a {
        font-size: 14px;
        padding: 5px 13px;
        border-radius: 15px;
        margin-right: 8px;
        margin-bottom: 10px;
        display: inline-block;
        border: 1px solid var(--tp-border-1);
        @include tp-transition();

        &:hover {
            color: var(--tp-common-white);
            background-color: var(--tp-theme-1);
            border: 1px solid var(--tp-theme-1);
        }
    }
}