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

.mt-blog-sidebar {
    &-widget {
        padding: 32px;
        border: 1px solid #ffff;
        background: #fff;
    }

    &-title {
        color: var(--mt-common-black);

        & span {
            height: 10px;
            width: 10px;
            border-radius: 30px;
            background: var(--mt-theme-1);
            display: inline-block;
            margin-right: 5px;
             @include transform(translateY(-3px));

        }
    }

    &-post-thumb {
        flex: 0 0 auto;

        & img {
            width: 100%;
        }
    }

    &-post-title {
        color: var(--mt-common-black);

        &:hover {
            // color: var(--mt-theme-1);
        }
    }

    &-cat {
        & ul {
            & li {
                margin-bottom: 15px;
                list-style: none;

                & a {
                    color: #000;
                    display: block;
                    padding: 20px 25px;
                    line-height: 1;
                    position: relative;
                    border: 1px solid var(--mt-border-1);
                    border-radius: 5px;

                    &:hover {
                        background-color: var(--mt-theme-1);
                        color: var(--mt-common-black);
                        border-color: var(--mt-theme-1);
                    }

                    &:after {
                        content: "\f061";
                        font-family: "Font Awesome 5 Pro";
                        position: absolute;
                        right: 25px;
                        top: 50%;
                        @include transform(translateY(-50%) rotate(-40deg));
                    }
                }

                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }

    &-social {
        & a {
            font-size: 18px;
            height: 50px;
            width: 50px;
            line-height: 50px;
            text-align: center;
            display: inline-block;
            color: var(--mt-common-black);
            border: 1px solid var(--mt-border-1);
            border-radius: 50%;
            transition: 0.3s;
            margin-right: 5px;

            &:hover {
                background-color: var(--mt-theme-1);
                color: var(--mt-common-black);
            }
        }
    }

    &-gallery {
        & a {
            display: inline-block;
            height: 110px;
            width: 106px;
            object-fit: cover;
            margin-bottom: 7px;
            margin-right: 7px;

            @media #{$xl} {
                height: 100px;
                width: 98px;
            }
            @media #{$lg} {
                height: 100px;
                width: 98px;
            }
        }

        &-btn {
            & a {
                background-color: var(--mt-common-black);
                color: var(--mt-common-white);
                padding: 10px 20px;
                border-radius: 5px;
                display: inline-block;

                width: 100%;
                text-align: center;
                transition: 0.3s;

                & span {
                    margin-right: 9px;
                }

                &:hover {
                    background-color: var(--mt-theme-1);
                    color: var(--mt-common-black);
                }
            }
        }
    }
}

.mt-blog-form {
    & input {
        padding: 0 20px;
        border-radius: 5px;
        border: 1px solid var(--mt-border-1);
    }

    & button {
        position: absolute;
        font-size: 20px;
        right: 20px;
        top: 50%;
        @include transform(translateY(-50%));
    }
}

.tagcloud {
    & a {
        font-size: 14px;
        font-weight: 600;
        border: 1px solid var(--mt-border-1);
        color: var(--mt-common-black);
        padding: 0px 15px;
        height: 40px;
        text-align: center;
        display: inline-block;
        line-height: 40px;
        border-radius: 5px;
        margin-right: 5px;
        margin-bottom: 10px;


        &:hover {
            background-color: var(--mt-theme-1);
            color: var(--mt-common-black);
            border-color: var(--mt-theme-1);
        }
    }
}