/* ============================================================
   WIDGETS — Sidebar, Profile, Search, Newsletter, Tag Cloud,
             Categories, Owl Carousel, Slider
   ============================================================ */

/* --- Base Widget --- */

.widget {
    margin-bottom: 2rem;
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 4rem rgba(0, 0, 0, 0.075);
}

    .widget a {
        color: #444;
    }

        .widget a:hover {
            color: #3040ee;
        }

    .widget .widget-header {
        margin: 0;
        font-size: 1rem;
        margin-bottom: 2rem;
        text-transform: uppercase;
        font-weight: 300;
        color: #a2aab5;
        line-height: 1;
        letter-spacing: 2px;
    }

    .widget .widget-content > ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .widget .widget-content > ul > li {
            margin-bottom: 0.5rem;
        }

            .widget .widget-content > ul > li:last-child {
                margin-bottom: 0;
            }

        .widget .widget-content > ul ul {
            list-style: none;
            padding-left: 1rem;
        }

/* --- Profile Widget --- */

.profile-widget {
    position: relative;
    display: none;
}

    .profile-widget.on {
        display: block;
    }

    .profile-widget img {
        width: 8rem;
        display: block;
        margin: 0 auto 1rem;
        border-radius: 50%;
    }

    .profile-widget h3 {
        text-align: center;
        font-weight: 700;
        font-size: 1.5rem;
    }

    .profile-widget p {
        display: block;
        font-size: 1rem;
        text-align: center;
    }

    .profile-widget ul {
        text-align: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .profile-widget ul li {
            display: inline-block;
            text-align: center;
        }

        .profile-widget ul a {
            display: block;
            width: 2.5rem;
            height: 2.5rem;
            text-decoration: none;
        }

        .profile-widget ul i {
            display: block;
            line-height: 2.375rem;
            width: 100%;
            height: 100%;
            font-size: 1.25rem;
            color: #000;
            border-bottom: 2px solid transparent;
        }

            .profile-widget ul i:hover {
                color: #fff;
            }

        .profile-widget ul .fa-facebook-f:hover {
            color: #3b5998;
            border-color: #3b5998;
        }

        .profile-widget ul .fa-twitter:hover {
            border-color: #1da1f2;
            color: #1da1f2;
        }

        .profile-widget ul .fa-coffee:hover {
            border-color: #1da1f2;
            color: #1da1f2;
        }

        .profile-widget ul .fa-amazon {
            font-size: 1.375rem;
        }

            .profile-widget ul .fa-amazon:hover {
                border-color: darkorange;
                color: darkorange;
            }

        .profile-widget ul .fa-book {
            font-size: 1.375rem;
        }

            .profile-widget ul .fa-book:hover {
                border-color: red;
                color: red;
            }

        .profile-widget ul .fa-goodreads-g {
            font-size: 1.375rem;
        }

            .profile-widget ul .fa-goodreads-g:hover {
                border-color: #666;
                color: #666;
            }

        .profile-widget ul .fa-github {
            font-size: 1.375rem;
        }

            .profile-widget ul .fa-github:hover {
                border-color: #666;
                color: #666;
            }

        .profile-widget ul .fa-instagram {
            font-size: 1.375rem;
        }

            .profile-widget ul .fa-instagram:hover {
                border-color: #833ab4;
                color: #833ab4;
            }

        .profile-widget ul .fa-youtube:hover {
            border-color: #ff0000;
            color: #ff0000;
        }

.profile-widget-post {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-top: 4rem;
    padding-bottom: 3rem;
    margin-top: 4rem;
}

    .profile-widget-post p {
        text-align: center;
        max-width: 25rem;
        margin: 0 auto .5rem;
    }

@media screen and (min-width: 992px) {
    .profile-widget-post {
        padding-left: 10rem;
    }

        .profile-widget-post p,
        .profile-widget-post h3,
        .profile-widget-post ul {
            text-align: left;
            max-width: 100%;
        }

        .profile-widget-post img {
            position: absolute;
            left: 0;
            top: 4.25rem;
        }
}

/* --- Sidebar Post Items --- */

.blog-sidebar .post-item-list {
    min-height: 4rem;
    padding-bottom: 0;
    border-bottom: 0;
}

    .blog-sidebar .post-item-list:not(:last-child) {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

    .blog-sidebar .post-item-list a {
        display: block;
        position: relative;
    }

        .blog-sidebar .post-item-list a:focus,
        .blog-sidebar .post-item-list a:hover {
            outline: none;
            color: #4353ff;
        }

            .blog-sidebar .post-item-list a:focus img,
            .blog-sidebar .post-item-list a:hover img {
                box-shadow: 0 0 0 2px #4353ff;
            }

            .blog-sidebar .post-item-list a:focus .post-item-date,
            .blog-sidebar .post-item-list a:hover .post-item-date {
                color: #4353ff;
            }

    .blog-sidebar .post-item-list .post-item-img {
        font-size: 0;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        transition: box-shadow ease 0.15s;
        border: 2px solid #fff;
    }

    .blog-sidebar .post-item-list .post-item-title {
        font-size: 1rem;
        font-weight: 600;
        position: relative;
        margin: 0;
        padding-top: 1.375rem;
        padding-left: 4.75rem;
    }

    .blog-sidebar .post-item-list .post-item-desc {
        display: none;
    }

    .blog-sidebar .post-item-list .post-item-date {
        position: absolute;
        top: 0;
        left: 4.75rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        display: block;
        color: #888;
    }

/* --- Search Widget --- */

.search {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 3rem;
    background-color: #fff;
    border-radius: .5rem;
}

    .search .widget-content,
    .search #searchbox {
        padding: 0;
        height: 100%;
    }

    .search input {
        height: 100%;
        background: none;
    }

        .search input[type=text] {
            display: block;
            color: #495057;
            font-size: 1rem;
            width: 100%;
            padding: 0 .75rem;
            border: 0;
            background: none;
        }

            .search input[type=text]:focus {
                outline: none;
            }

        .search input[type=button] {
            position: absolute;
            right: 0;
            top: 0;
            border: none;
            padding: 0 2rem;
            border-left: 1px solid #ddd;
            cursor: pointer;
            background-color: #111;
            font-weight: 600;
            font-size: .875rem;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.75);
        }

            .search input[type=button]:hover {
                background: #4353ff;
                color: #fff;
            }

/* --- Newsletter Widget --- */

.newsletter .widget-content {
    padding: 0 !important;
}

.newsletter .form-control {
    margin-bottom: 1rem;
    width: 100% !important;
}

.newsletter #newsletteraction {
    margin: 0;
    font-size: 1rem;
}

.newsletter [for=txtNewsletterEmail] {
    display: none;
}

.newsletter #newsletterthanks {
    background: #28a745;
    color: #fff;
    padding: 1rem !important;
    text-align: center;
    border-radius: 0.25rem;
}

.newsletter .btn {
    display: block;
    width: 100%;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* --- Tag Cloud Widget --- */

.tagcloud ul::after {
    content: "";
    display: table;
    clear: both;
}

.tagcloud ul li {
    display: inline-block;
    border: none;
    padding: 0;
    margin-bottom: 3px !important;
    margin-right: 3px !important;
    float: left;
}

.tagcloud ul a {
    padding: .125rem 0.5rem .25rem;
    background-color: #222;
    color: #eee;
    display: block;
    border-radius: .25rem;
    font-size: .875rem !important;
    font-weight: 600;
    font-family: "Titillium Web", sans-serif;
    text-decoration: none;
}

    .tagcloud ul a:hover {
        background: #4353ff;
        color: #fff;
    }

/* --- TagCloudDoneRight --- */

.tag-cloud {
    line-height: 2.2;
    padding: 5px 0;
}

.tag-cloud-link {
    display: inline-block;
    background-color: #000;
    color: #fff !important;
    padding: 4px 12px;
    margin: 3px 2px;
    border-radius: 7px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

    .tag-cloud-link:hover,
    .tag-cloud-link:focus {
        background-color: #333;
        transform: scale(1.05);
        text-decoration: none !important;
        color: #fff !important;
    }

    .tag-cloud-link:visited {
        color: #fff !important;
    }

.tag-size-1 { font-size: 0.75em; padding: 3px 8px; }
.tag-size-2 { font-size: 0.90em; padding: 3px 10px; }
.tag-size-3 { font-size: 1.05em; padding: 4px 12px; }
.tag-size-4 { font-size: 1.20em; padding: 5px 14px; }
.tag-size-5 { font-size: 1.40em; padding: 6px 16px; }

.tag-cloud-empty {
    font-style: italic;
    color: #999;
}

/* --- Category List --- */

.categorylist a[rel=nofollow]:before {
    width: .75rem;
    height: .75rem;
    color: #ff9e07;
    margin-right: .5rem;
    content: "\f09e";
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
}

.categorylist a img {
    display: none;
}

.categorylist ul a {
    text-decoration: none;
}

/* --- Grouped Category List --- */

.grouped-category-list .category-group-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .grouped-category-list .category-group-list > li {
        margin: 0;
        padding: 0;
    }

.grouped-category-list .category-group-header {
    display: block;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a2aab5;
    padding: 0.75rem 0 0.25rem 0;
    margin-top: 0.5rem;
}

.grouped-category-list .category-group:first-child .category-group-header {
    margin-top: 0;
    padding-top: 0;
}

.grouped-category-list .category-group-children {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.75rem;
}

.grouped-category-list .category-item {
    margin-bottom: 0.5rem;
}

    .grouped-category-list .category-item:last-child {
        margin-bottom: 0;
    }

.grouped-category-list .category-link {
    color: #444;
    text-decoration: none;
}

    .grouped-category-list .category-link:hover {
        color: #3040ee;
        text-decoration: none;
    }

.grouped-category-list .category-count {
    color: #a2aab5;
    font-size: 0.85em;
}

.grouped-category-list .category-rss img {
    display: none;
}

.grouped-category-list .category-rss:before {
    width: .75rem;
    height: .75rem;
    color: #ff9e07;
    margin-right: .5rem;
    content: "\f09e";
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
}

/* --- Other Widgets --- */

.authorlist img {
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    margin-right: .5rem;
}

.blogroll .xoxo > li {
    margin-bottom: .5rem;
}

    .blogroll .xoxo > li > a {
        color: #000;
        font-weight: 700;
    }

        .blogroll .xoxo > li > a:first-child,
        .blogroll .xoxo > li > a img {
            display: none;
        }

.blogroll ul {
    padding: 0 !important;
}

.blogroll a[title="Download OPML file"],
.blogroll a[title="Download OPML file"] img {
    display: none !important;
}

.monthlist .year {
    cursor: pointer;
}

    .monthlist .year li {
        margin: 0 1rem;
        padding: 0;
    }

    .monthlist .year ul {
        display: none;
        padding-left: 0 !important;
    }

    .monthlist .year .open {
        display: block;
    }

.textbox p:last-child {
    margin-bottom: 0;
}

.textbox .no-border {
    border: none;
}

.recentcomments li {
    border-bottom: 1px dotted #ccc;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

    .recentcomments li:last-child {
        display: none;
    }

.recentposts li {
    font-size: 0.75rem;
}

    .recentposts li a {
        font-size: 0.875rem;
        display: block;
    }

/* --- Administration Widget --- */

.widget.administration ul li {
    margin-bottom: .5rem;
}

    .widget.administration ul li a::before {
        font-size: 14px !important;
        margin-right: 1rem;
        content: "";
        font-family: "Font Awesome 5 Free";
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        font-weight: 900;
    }

/* --- Owl Carousel --- */

.owl-carousel, .owl-carousel .owl-item {
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.owl-carousel {
    display: none;
    width: 100%;
    z-index: 1;
}

    .owl-carousel .owl-stage {
        position: relative;
        -ms-touch-action: pan-Y;
        touch-action: manipulation;
        -moz-backface-visibility: hidden;
    }

        .owl-carousel .owl-stage:after {
            content: ".";
            display: block;
            clear: both;
            visibility: hidden;
            line-height: 0;
            height: 0;
        }

    .owl-carousel .owl-stage-outer {
        position: relative;
        overflow: hidden;
        -webkit-transform: translate3d(0, 0, 0);
    }

    .owl-carousel .owl-item,
    .owl-carousel .owl-wrapper {
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
    }

    .owl-carousel .owl-item {
        min-height: 1px;
        float: left;
        -webkit-backface-visibility: hidden;
        -webkit-touch-callout: none;
    }

        .owl-carousel .owl-item img {
            display: block;
            width: 100%;
        }

    .owl-carousel .owl-dots.disabled,
    .owl-carousel .owl-nav.disabled {
        display: none;
    }

    .no-js .owl-carousel,
    .owl-carousel.owl-loaded {
        display: block;
    }

    .owl-carousel .owl-dot,
    .owl-carousel .owl-nav .owl-next,
    .owl-carousel .owl-nav .owl-prev {
        cursor: pointer;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel button.owl-dot {
        background: 0 0;
        color: inherit;
        border: none;
        padding: 0 !important;
        font: inherit;
    }

    .owl-carousel.owl-loading { opacity: 0; display: block; }
    .owl-carousel.owl-hidden { opacity: 0; }
    .owl-carousel.owl-refresh .owl-item { visibility: hidden; }

    .owl-carousel.owl-drag .owl-item {
        -ms-touch-action: pan-y;
        touch-action: pan-y;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .owl-carousel.owl-grab { cursor: move; cursor: grab; }
    .owl-carousel.owl-rtl { direction: rtl; }
        .owl-carousel.owl-rtl .owl-item { float: right; }

    .owl-carousel .animated { animation-duration: 1s; animation-fill-mode: both; }
    .owl-carousel .owl-animated-in { z-index: 0; }
    .owl-carousel .owl-animated-out { z-index: 1; }
    .owl-carousel .fadeOut { animation-name: fadeOut; }

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.owl-height { transition: height 0.5s ease-in-out; }

.owl-carousel .owl-item .owl-lazy { opacity: 0; transition: opacity 0.4s ease; }
    .owl-carousel .owl-item .owl-lazy:not([src]),
    .owl-carousel .owl-item .owl-lazy[src^=""] { max-height: 0; }
.owl-carousel .owl-item img.owl-lazy { transform-style: preserve-3d; }

.owl-carousel .owl-video-wrapper { position: relative; height: 100%; background: #000; }
.owl-carousel .owl-video-play-icon {
    position: absolute; height: 80px; width: 80px;
    left: 50%; top: 50%; margin-left: -40px; margin-top: -40px;
    background: url("owl.video.play.png") no-repeat;
    cursor: pointer; z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform 0.1s ease;
}
    .owl-carousel .owl-video-play-icon:hover { transform: scale(1.3, 1.3); }
.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel .owl-video-playing .owl-video-tn { display: none; }
.owl-carousel .owl-video-tn {
    opacity: 0; height: 100%;
    background-position: center center; background-repeat: no-repeat; background-size: contain;
    transition: opacity 0.4s ease;
}
.owl-carousel .owl-video-frame { position: relative; z-index: 1; height: 100%; width: 100%; }

.owl-theme .owl-dots, .owl-theme .owl-nav { text-align: center; -webkit-tap-highlight-color: transparent; }
.owl-theme .owl-nav { margin-top: 10px; }
    .owl-theme .owl-nav [class*=owl-] {
        color: #FFF; font-size: 14px; margin: 5px; padding: 4px 7px;
        background: #D6D6D6; display: inline-block; cursor: pointer; border-radius: 3px;
    }
        .owl-theme .owl-nav [class*=owl-]:hover { background: #869791; color: #FFF; text-decoration: none; }
    .owl-theme .owl-nav .disabled { opacity: 0.5; cursor: default; }
        .owl-theme .owl-nav.disabled + .owl-dots { margin-top: 10px; }
.owl-theme .owl-dots .owl-dot { display: inline-block; zoom: 1; }
    .owl-theme .owl-dots .owl-dot span {
        width: 10px; height: 10px; margin: 5px 7px; background: #D6D6D6;
        display: block; -webkit-backface-visibility: visible;
        transition: opacity 0.2s ease; border-radius: 30px;
    }
    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span { background: #869791; }

.owl-carousel:hover .owl-nav { opacity: 1; }
.owl-nav { opacity: 0; transition: all ease 0.5s; }

.owl-next, .owl-prev {
    position: absolute; top: 0; bottom: 0; opacity: 0.5;
    text-align: center; width: 4rem; outline: none !important;
}
    .owl-next:hover, .owl-prev:hover { opacity: 1; }
    .owl-next i, .owl-prev i { color: #fff; font-size: 2rem; display: block; }
.owl-next { right: 0; }
.owl-prev { left: 0; }

/* --- Slider Widget Zone --- */

#widgetzone_slider {
    border-radius: .5rem;
    overflow: hidden;
    display: none;
}

@media screen and (min-width: 992px) {
    #widgetzone_slider { display: block; }
}

#widgetzone_slider .widget { margin: 0; padding: 0; }
#widgetzone_slider .owl-item::after {
    content: ""; position: absolute; top: 0; right: 0; height: 100%;
    background: #fff; z-index: 2; display: block; width: 1px; opacity: .05;
}
#widgetzone_slider .widget-header { display: none; }
#widgetzone_slider .postlist ul { display: none; }

#widgetzone_slider .post-item-list {
    position: relative; height: 32rem; background: #000; overflow: hidden;
}
    #widgetzone_slider .post-item-list a {
        display: flex; flex-direction: column; padding: 5rem;
        position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    }
        #widgetzone_slider .post-item-list a::before {
            content: ""; position: absolute; left: 0; top: 40%; right: 0; bottom: 0; z-index: 2;
            background: linear-gradient(to bottom, transparent, #000);
            opacity: 1; transition: all ease .25s;
        }
        #widgetzone_slider .post-item-list a:hover::before { opacity: .75; }

    #widgetzone_slider .post-item-list .post-item-img {
        width: auto; min-height: 100%; min-width: 100%; max-width: 200%; max-height: none;
        position: absolute; left: 50%; top: 50%; display: block;
        transform: translate(-50%, -50%);
    }

    #widgetzone_slider .post-item-list .post-item-title,
    #widgetzone_slider .post-item-list .post-item-date {
        position: relative; z-index: 5; color: #fff;
    }
    #widgetzone_slider .post-item-list .post-item-title {
        margin-top: auto; display: block; font-weight: 700; font-size: 3rem;
        max-width: 50rem; font-family: "Titillium Web", sans-serif;
    }
    #widgetzone_slider .post-item-list .post-item-desc { display: none !important; }
    #widgetzone_slider .post-item-list .post-item-date {
        color: #fff; font-size: .75rem; text-transform: uppercase;
        font-weight: 400; opacity: .7; letter-spacing: 1px;
    }
        #widgetzone_slider .post-item-list .post-item-date::before {
            content: "\f073"; font-family: "Font Awesome 5 Free";
            -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
            display: inline-block; font-style: normal; font-variant: normal;
            text-rendering: auto; line-height: 1; font-weight: 900;
            font-size: .75rem; margin-right: .25rem;
        }

@media screen and (max-width: 80rem) {
    #widgetzone_slider .post-item-list { height: 30rem; }
        #widgetzone_slider .post-item-list a { padding: 3rem; }
        #widgetzone_slider .post-item-list .post-item-title { font-size: 1.5rem; }
}

@media screen and (max-width: 30rem) {
    #widgetzone_slider .post-item-list { height: 25rem; }
}

@media screen and (max-width: 25rem) {
    #widgetzone_slider .post-item-list a { padding: 2rem; }
}

/* --- Support Icons --- */

#SupportIcon_PostView img {
    position: relative;
    top: 0;
    display: inline;
    max-width: none;
    border-radius: 0%;
    width: 10rem;
}

#SupportIcon img {
    border-radius: 0%;
    width: 10rem;
}
