/*============================
=> Recent Widget Style Sheet
============================*/

main .recent h2::before {
    content: "\f0e7";
}

main .recent .widget-content .item {
    background-color: #f9f9f9;
}

main .recent .widget-content article {
    display: -webkit-flex;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

main .recent .widget-content .item + .item {
    margin-top: 25px;
}

main .recent .recent-image {
    flex: 0 0 150px;
    min-height: 150px;
    height: auto;
    background-size: cover;
    background-position: center;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

main .recent .recent-image:hover {
    opacity: 0.75;
}

main .recent .recent-content {
    flex: 1;
    padding: 0.9375em;
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
}

main .recent .recent-content h3 {
    margin: 0 0 0.4em 0;
    font-size: 1.25em;
}

main .recent .recent-content h3.new::before {
    content: attr(data-new);
    font: bold 0.6em "Nunito", serif;
    color: #fff;
    background-color: #ef233c;
    padding: 0.25em 0.4166em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 2px;
}

main .recent .recent-content a:hover {
    color: #d90429;
    text-decoration-color: #d90429;
}

main .recent .recent-content h3 a:hover {
    text-decoration: underline #d90429;
}

main .recent .recent-info {
    font-size: 0.8125em;
    color: #8d99ae;
    line-height: 1.6;
    margin-bottom: 0.7692em;
}

main .recent .recent-info a {
    text-decoration: underline #eee;
}

main .recent .recent-info span {
    display: inline-block;
}

main .recent .recent-info span:not(:last-of-type) {
    margin-right: 1.1538em;
}

main .recent .recent-info span::before {
    font: bold 0.923em "Font Awesome 5 Free";
    color: #d90429;
    margin-right: 0.4166em;
}

main .recent .recent-info .author::before {
    content: "\f508";
}

main .recent .recent-info .group::before {
    content: "\f008";
}

main .recent .recent-info .genres::before {
    content: "\f02c";
}

main .recent .recent-info .date::before {
    content: "\f073";
}

main .recent .recent-info .type::before {
    content: "\f1c8";
}

main .recent .show-btn {
    display: inline-block;
    font-size: 0.875em;
    background-color: #2b2d42;
    color: #fff;
    padding: 0.3571em 0.7142em;
    margin-top: auto;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid transparent;
}

main .recent .show-btn::after {
    content: "\f30b";
    display: inline-block;
    font: bold 0.8571em "Font Awesome 5 Free";
    margin-left: -9.84px;
    opacity: 0;
    transition: 0.5s all;
}

main .recent a.show-btn:hover {
    color: #fff;
}

main .recent a.show-btn:hover::after {
    opacity: 1;
    margin-left: 10px;
}

main .recent .recent-share {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 0.8125em;
}

main .recent .recent-share button {
    background-color: transparent;
    border: none;
    outline: none !important;
    color: #8d99ae;
    cursor: pointer;
    position: relative;
    padding: 0;
}

main .recent .recent-share button::after {
    content: "";
    border: 5px none transparent;
    border-top-color: #fff;
    position: absolute;
    bottom: -webkit-calc(100% + 2px);
    bottom: calc(100% + 2px);
    right: 35px;
    z-index: 1;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
}

main .recent .recent-share button.active::after {
    border-style: solid;
    border-bottom: none;
}

main .recent .recent-share button.active {
    color: #d90429;
}

main .recent .recent-share button span {
    text-decoration: underline;
}

main .recent .recent-share button::before {
    content: "\f1e0";
    font: bold 0.9166em "Font Awesome 5 Free";
    color: #d90429;
    margin-right: 0.4545em;
}

main .recent .social-drop-list {
    position: absolute;
    bottom: -webkit-calc(100% + 5px);
    bottom: calc(100% + 5px);
    right: 0;
    width: 10.3em;
    background-color: #fff;
    color: #fff;
    overflow: hidden;
    padding: 5px;
    font-size: 0.8461em;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

main .recent button.active + .social-drop-list {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

main .recent .social-drop-list a {
    font-weight: bold;
    display: block;
    padding: 3px 7px;
    border: 1px solid currentColor;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

main .recent .social-drop-list a:hover {
    background-color: #fff !important;
}

main .recent .social-drop-list i {
    font-weight: normal;
    margin-right: 5px;
}

main .recent .social-drop-list a::before {
    content: none !important;
}

main .recent .social-drop-list .facebook {
    background-color: #3b5999;
    border-color: #3b5999;
}

main .recent .social-drop-list .facebook:hover {
    color: #3b5999;
}

main .recent .social-drop-list .twitter {
    margin: 5px 0;
    background-color: #55acee;
    border-color: #55acee;
}

main .recent .social-drop-list .twitter:hover {
    color: #55acee;
}

main .recent .social-drop-list .whatsapp {
    background-color: #25d366;
    border-color: #25d366;
}

main .recent .social-drop-list .whatsapp:hover {
    color: #25d366;
}

/*========================
=> Pagination Style Sheet
========================*/

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination ul {
    font-size: 0.875em;
    display: -webkit-inline-flex;
    display: inline-flex;
    background-color: #fff;
    color: #8d99ae;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

.pagination ul li > * {
    display: inline-block;
    padding: 10px 15px;
    color: inherit;
    height: 100%;
}

.pagination .nav-btn {
    font-size: 12px;
    height: 100%;
    background-color: #fff;
    color: #ef233c;
    border: none;
    cursor: pointer;
    outline: none !important;
    -webkit-transition: 0.5s background-color;
    -moz-transition: 0.5s background-color;
    -o-transition: 0.5s background-color;
    transition: 0.5s background-color;
}

.pagination ul li.hide {
    display: none;
}

.pagination .prev {
    border-right: 1px solid #eee;
}

.pagination .next {
    border-left: 1px solid #eee;
}

.pagination .active,
.pagination ul li > *:hover {
    background-color: #d90429;
    color: #fff !important;
}

.pagination .active {
    font-weight: bold;
}

/*========================
=> Category Style Sheet
=========================*/

main .category h2::before {
    content: "\f008";
}

main .category form {
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 0.8em;
}

main .category form label {
    margin-right: 10px;
}

main .category form select {
    min-width: 120px;
    font-size: 0.875em;
    color: #8d99ae;
    background-color: transparent;
    border: 2px solid #eee;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px 4px;
    outline: none !important;
}

main .category form select:focus {
    border-color: #ccc;
}

main .category .item {
    margin-bottom: 1.875em;
}

main .category ol {
    margin-bottom: -1.875em;
}

@supports (display: grid) {
    main .category .widget-content ol {
        display: grid;
        grid-gap: 1.875em 1.5625em;
        margin-bottom: 0;
    }

    main .category .item {
        margin: 0 !important;
    }
}

@media only screen and (min-width: 601px) {
    main .category .item {
        flex-basis: -webkit-calc((100% - 3.125em) / 3);
        flex-basis: calc((100% - 3.125em) / 3);
    }

    main .category .item:not(:nth-child(3n)) {
        margin-right: 1.5625em;
    }

    @supports (display: grid) {
        main .category .widget-content ol {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }
}

@media only screen and (max-width: 600px) and (min-width: 351px) {
    main .category .item {
        flex-basis: -webkit-calc((100% - 1.5625em) / 2);
        flex-basis: calc((100% - 1.5625em) / 2);
    }

    main .category .item:not(:nth-child(2n)) {
        margin-right: 1.5625em;
    }

    @supports (display: grid) {
        main .category .widget-content ol {
            grid-template-columns: 1fr 1fr;
        }
    }
}

@media only screen and (max-width: 350px) {
    main .category h2 label {
        display: none;
    }
}

/*================================
=> General Media Query Style Sheet
=================================*/

@media only screen and (max-width: 450px) {
    main .recent .widget-content article {
        flex-flow: column;
    }

    main .recent .recent-image {
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
    }
}

/*=======================
=> Ads Widget Style Sheet
=======================*/

main .ads a,
main .ads img {
    display: block;
}
