/home/moonrcjl/template.moontelict.com/a.laxfy/assets/scss/layout/blog/_sidebar.scss
@use '../../utils' as *;
/*----------------------------------------*/
/*  5.4 Sidebar css
/*----------------------------------------*/

.mt-blog-sidebar {
    &-widget {
        padding: 35px;
        border: 1px solid #F8F8F8;
        background: #F8F8F8;

        @media #{$xs} {
            padding: 30px 10px 30px 10px;
        }
    }

    &-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;
                    background-color: #fff;
                    border: 1px solid #fff;
                    border-radius: 5px;

                    &:hover {
                        background-color: var(--mt-theme-1);
                        color: #fff;
                        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);
            background-color: var(--mt-common-white);
           @include transition(.4s);
            margin-right: 5px;

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

    &-2 {
        & .mt-blog-sidebar-cat ul li a:hover {
            background-color: var(--mt-theme-6);
            color: #fff;
            border-color: var(--mt-theme-6);
        }

        & .tagcloud a:hover {
            background-color: var(--mt-theme-6);
            color: #fff;
            border-color: var(--mt-theme-6);
        }

        & .mt-blog-sidebar-post-title:hover {
            color: var(--mt-theme-6);
        }

        & .mt-blog-sidebar-social a:hover {
            background-color: var(--mt-theme-6);
            color: var(--mt-common-white);
        }
    }

    &-3 {
        & .mt-blog-sidebar {
            &-widget {
                padding: 35px 35px 0px 35px;
                border: 0;
                background: transparent;
            }

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

            &-cat ul li a {
                background-color: transparent;
                border: 1px solid rgb(94 91 91 / 70%);
                color: rgb(255 255 255 / 70%);

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

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

            }
        }

        & .mt-blog-form input {
            background-color: transparent;
            border: 1px solid rgb(94 91 91 / 70%);
            color: rgb(255 255 255 / 70%);
        }

        & .mt-postbox-meta span {
            color: white;

        }

        & .tagcloud a {
            color: var(--mt-common-white);
        }

    }

    &-4 {
        & .mt-blog-sidebar-cat ul li a:hover {
            background-color: var(--mt-theme-3);
            color: #000;
            border-color: var(--mt-theme-3);
        }

        & .tagcloud a:hover {
            background-color: var(--mt-theme-3);
            color: #000;
            border-color: var(--mt-theme-3);
        }

        & .mt-blog-sidebar-post-title:hover {
            color: var(--mt-theme-3);
        }

        & .mt-blog-sidebar-social a:hover {
            background-color: var(--mt-theme-3);
            color: var(--mt-common-black);
        }
    }
}

.mt-blog-form {
    & input {
        padding: 0 20px;
        border-radius: 5px;

    }

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

.mt-blog-sidebar-post-item {
    margin-bottom: 15px;

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

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


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