/* ==========================================================================
   Sidebar widgets start styles
   ========================================================================== */
.qodef-sidebar .widget {
    font-size:16px;
    line-height:24px;
    font-weight: 400;
    margin-bottom: 15px;

    h4 {
        font-size: 20px;
        font-weight: 900;
        color: $default-heading-color;
        font-family: 'Catamaran', serif;
        font-style: normal;
        margin-bottom: 23px;
        letter-spacing: 0;
    }

    ul {
        margin: 0;
        list-style: none;

        li {
            a {
                color: #797979;
                @include qodefTransition(color 0.15s ease-out);
                &:hover {
                    color: $first-main-color;
                }
            }
        }
    }

    td {
        a {
            color: #909090;
            &:hover {
                color: $first-main-color;
            }
        }
    }

    p {
        margin: 0;
    }

    &.widget_categories {
        ul li {
            margin-bottom:7px;
        }
    }

    &.widget_archive,
    &.widget_archive,
    &.widget_categories,
    &.widget_text {
        select,
        select option{
            width: 100%;
            overflow: hidden;
            border: 1px solid #dadada;
            background-color: transparent;
            outline: 0;
            color: #989898;
            font-family: inherit;
            padding: 9px 12px;
            height: 43px;
            @include qodefBoxSizing(border-box);
        }
    }

    &.widget_tag_cloud {
        .tagcloud {
            font-size: 0;
            margin-top: 17px;
        }
        a {
            display: inline-block;
            margin: 0 6px 6px 0;
            line-height: 20px;
            padding: 7px 12px;
            border: 1px solid #dadada;
            color: #444444;
            font-size: 11px !important;
            font-weight: 700;
            text-transform: uppercase;
            &:hover{
                background-color: $first-main-color;
                border-color: $first-main-color;
            }
        }
    }

    &.widget_calendar{
        caption {
            border: 1px solid #dadada;
            border-bottom: 0;
        }
        tfoot {
            border: 1px solid #dadada;
            border-top: 0;
        }
    }

    &.widget_search {
        margin-bottom: 40px;
        #searchform {

            width: 100%;
            @include qodefBoxSizing(border-box);
            display: inline-block;
            background-color: transparent;
            vertical-align: middle;
            position: relative;
            overflow: visible;

            label {
                display: none;
            }

            input[type="search"],
            input[type="text"] {
                display: inline-block;
                text-decoration: none;
                outline: 0;
                color: #9f9f9f;
                background-color: transparent;
                font-family: inherit;
                margin: 0;
                padding: 0 55px 0 20px;
                width: 100%;
                height: 44px;
                line-height: 45px;
                float: left;
                font-size: 16px;
                font-weight: 400;
                border: 1px solid #b7b7b7;

                @include qodefBoxSizing(border-box);
                @include qodefBorderRadius(0);

                &::-webkit-input-placeholder {
                    /* WebKit, Blink, Edge */
                    color: #b0b0b0;
                }
                &:-moz-placeholder {
                    /* Mozilla Firefox 4 to 18 */
                    color: #b0b0b0;
                    opacity: 1;
                }
                &::-moz-placeholder {
                    /* Mozilla Firefox 19+ */
                    color: #b0b0b0;
                    opacity: 1;
                }
                &:-ms-input-placeholder {
                    /* Internet Explorer 10-11 */
                    color: #b0b0b0;
                }
            }

            input[type="submit"],
            button[type="submit"] {
                width: 44px;
                height: 44px;
                line-height: 44px;
                display: inline-block;
                margin: 0;
                padding: 0;
                outline: 0;
                border: 0;
                box-sizing: initial;
                text-decoration: none;
                color: #000000;
                font-family: Ionicons;
                font-weight: normal;
                cursor: pointer;
                white-space: nowrap;
                float: right;
                @include qodefTransition(color 0.15s ease-out, background-color 0.15s ease-out);
                font-size: 24px;
                background-color: transparent;
                text-align: center;
                position: absolute;
                top: 0;
                right: 0;
                @include qodefBorderRadius(0 30px 30px 0);
                &:hover {
                    color: $first-main-color;
                }
            }
        }
    }

    &.widget_recent_entries {
        .post-date {
            display: block;
        }
    }
    &.qodef-latest-posts-widget {
        .qodef-blog-list-holder {
            ul > li.qodef-blog-list-item {
                margin: 0 0 17px;
                .qodef-item-title {
                    font-weight: 700;
                    font-size: 14px;
                    letter-spacing: 0.7px;
                }
                a {
                    color: #000;
                    &:hover {
                        color: $first-main-color;
                    }
                }
                .qodef-post-info-date span {
                    font-size: 14px;
                    color: #969696;
                    letter-spacing: 0.7px;
                }
            }
        }
    }
}

/* ==========================================================================
   Sidebar widgets end styles
   ========================================================================== */