/*
 Theme Name:   Rehub theme Child by DKiT
 Template:     rehub-theme
 Author:       DKiT
 Version:      1.0.0
*/

/** Global styles */
.main-nav {
    background: #ead0ff;
}

nav.top_menu > ul > li > a {
    padding: 15px !important;
}

.postNavigation {
    top: 0;
    margin: auto;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}

.tag-cloud-link {
    border: 1px solid #ddd;
    color: #111;
    float: left;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: block;
    font-size: 14px !important;
    list-style-type: none;
    margin: 0 2px 2px 0;
    padding: 5px 10px;
    text-transform: capitalize;
}

.tag-cloud-link:hover {
    background-color: #111;
    border: 1px solid #111;
    color: #fff;
}

header .logo-section {
    padding: 35px 0 30px !important;
}

a {
    transition: all .3s ease-in-out;
}

p.comment-form-cookies-consent {
    clear: both;
    margin-bottom: 20px;
}

.post ol li {
    margin-left: 16px;
    padding-left: 2px;
}

.post ul li {
    position: relative;
    margin-left: 0;
    padding-left: 18px;
    list-style: none;
}

.post ul li::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 6px;
    height: 6px;
    background: #8035be;
    border-radius: 50%;
}

.tags {
    margin-top: 30px;
}

.wp-block-pullquote cite {
    font-style: italic;
}

/** Ranking */
.ranking {
    margin-bottom: 60px;
}

.ranking-item {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    border: 1px solid #ccc;
    padding: 20px;
}

.ranking-item + .ranking-item {
    margin-top: 30px;
}

.ranking-number {
    position: absolute;
    top: -15px;
    left: -15px;
    margin: auto;
    height: 30px;
    width: 30px;
    background: #000;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    border-radius: 50%;
}

.ranking-image {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 20px;
    margin-bottom: auto;
    padding: 10px;
    min-width: 120px;
    max-width: 120px;
    min-height: 132px;
    border: 1px solid #ccc;
}

.ranking-content {
    padding: 10px 20px 10px 0;
    width: 320px;
}

.ranking-content h2, .ranking-content .h2 {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 5px 0;
}

.ranking-options {
    padding: 10px 0;
}

.ranking-options div + div {
    margin-top: 5px;
}

.ranking-price, .ranking-capacity, .ranking-age {
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
}

.ranking-price span, .ranking-capacity span, .ranking-age span {
    color: #8035be;
}

.ranking-age span {
    white-space: nowrap;
}

.ranking-excerpt {
    font-size: 13px;
    line-height: 16px;
}

.ranking-excerpt p:last-child {
    margin-bottom: 0;
}

.ranking-rate {
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
}

.ranking-rate .rate {
    background: #ead0ff;
    display: inline-block;
    padding: 10px 15px;
    width: 100px;
    font-size: 32px;
    font-weight: bold;
}

.ranking-btn {
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
    font-size: 13px;
    margin-left: 20px;
}

.ranking-item.first .ranking-number {
    background: #8035be;
}

.ranking-item.first .ranking-rate .rate {
    background: #8035be;
    color: #fff;
}

.ranking-item.first, .ranking-item.first .ranking-image {
    border-color: #ead0ff;
}

.re-ribbon-badge span {
    background: #8035be;
    font-size: 9px;
}

/** Rating */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row::after {
    content: "";
    display: block;
    clear: both;
}

.col-left, .col-right {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
}

.ranking-page .top_featured_image {
    float: left;
    margin-right: 20px;
}

ul.plus li, ul.minus li {
    list-style: none;
    position: relative;
    margin-left: 0;
    padding-left: 20px;
}

ul.plus li::before, ul.minus li::before {
    display: none;
}

ul.plus li::after, ul.minus li::after {
    position: absolute;
    top: -2px;
    left: 0;
    font-size: 1.4em;
    font-weight: bold;
}

ul.plus li::after {
    content: "+";
    color: #29cc00;
}

ul.minus li::after {
    content: "–";
    color: #de1414;
}

a.re_track_btn.btn_offer_block, a.re_track_btn.btn_offer_block:hover {
    background: #8035be !important;
    box-shadow: -1px 6px 19px rgba(128,53,190,0.2) !important;
}

a.re_track_btn.btn_offer_block:hover {
    opacity: .8;
}

.rating_bar {
    display: none;
}

.review-top .overall-score {
    width: 130px;
    background: #ead0ff;
}

.review-top .overall-score span.overall {
    color: #000;
}

.rate-bar-title {
    text-transform: uppercase;
}

.rate-bar {
    background: #ead0ff;
}

.rate-bar-bar {
    background: #8035be;
}

.main-side h3, .main-side .h3, .main-side h4, .main-side .h4, .main-side h5, .main-side .h5 {
    color: #8035be;
}

.main-side h5, .main-side .h5 {
    font-size: 19px;
}

.logo .textlogo {
    text-transform: uppercase;
    font-size: 32px;
    line-height: 1;
    color: #000;
}

.rh_listcolumn_price {
    display: none;
}

.priced_block {
    margin-bottom: 0;
}

.rh_gr_right_sec, .rh_gr_right_desc {
    grid-row: auto;
}

.rh_gr_right_sec {
    margin-top: 30px;
}

.re-search-result-meta {
    display: none;
}

.comment-captcha {
    border-radius: 0 !important;
}

.form-submit {
    margin-top: 30px !important;
}

.usr_re, .email_re {
    width: 49% !important;
    margin-right: 0 !important;
}

.email_re {
    margin-left: 2% !important;
}

.comment-form-captcha label {
    width: 70px;
    display: inline-block;
}

.comment-captcha {
    width: calc(100% - 75px);
}

#commentform #submit {
    border-radius: 0;
    background: #2f2f2f;
    color: #fff;
}

#commentform #submit:hover {
    background: #8035be;
}

#comment-form-msg {
    margin-bottom: 20px;
}

.comment-error-title, .comment-error {
    color: #de1414;
}

/** Promo products */
.promo-products-wrap {
    display: -ms-flexbox;
    display: flex;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px #F0F0F0;
    margin-bottom: 25px;
    padding: 18px 16px;
    overflow: hidden;
    clear: both;
    position: relative;
    background-color: #fff;
}

.promo-product {
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px #F0F0F0;
    padding: 18px 16px 63px;
    overflow: hidden;
    clear: both;
    position: relative;
    background-color: #fff;
    text-align: center;
    width: 33.33333333%;
}

.promo-product + .promo-product {
    margin-left: 10px;
}

.promo-product-image {
    margin: auto;
    max-width: 90px;
}

.promo-product-title {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 20px;
    font-weight: bold;
}

.promo-product-description {
    margin-top: 10px;
    font-size: 90%;
    line-height: 20px;
    color: grey;
}

.promo-product-btn {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    text-transform: none;
    display: inline-block;
    padding: 8px 16px;
    background: #8035be;
    color: #ffffff !important;
    fill: #ffffff;
    border: none;
    text-decoration: none;
    outline: 0;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: -1px 6px 19px rgba(128,53,190,0.2);
}

.promo-product-btn:hover {
    background: #8035be;
    color: #fff;
    opacity: .8;
    box-shadow: -1px 6px 19px rgba(128,53,190,0.2);
}

.product-box {
    margin-bottom: 31px;
    border: 4px solid #ead0ff;
    padding: 1.5em 2.5em 2em;
    box-shadow: 0 0 30px 0 inset rgba(0, 0, 0, 0.1);
}

.product-box h3 , .product-box .h3, .comment-respond h3, .comment-respond .h3 {
    color: #111111;
}

.product-box img {
    float: left;
    margin: 10px 20px 10px 0;
    max-width: 135px;
}

.product-box p:last-child, .product-box ul:last-child, .product-box ol:last-child {
    margin-bottom: 0;
}

.product-box ul, .product-box ol {
    text-align: left;
}

.custom-btn {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    text-transform: none;
    display: inline-block;
    padding: 8px 16px;
    background: #8035be;
    color: #ffffff;
    fill: #ffffff;
    border: none;
    text-decoration: none;
    outline: 0;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: -1px 6px 19px rgba(128,53,190,0.2);
}

.custom-btn:hover {
    background: #8035be;
    color: #fff;
    opacity: .8;
    box-shadow: -1px 6px 19px rgba(128,53,190,0.2);
}

.custom-btn:active {
    top: 2px;
}

@media (max-width: 1279px) {
    .ranking-content {
        width: 280px;
    }
}

@media (max-width: 1140px) {
    .col-left, .col-right {
        width: 100%;
    }

    .ranking-rate .rate {
        width: 70px;
        font-size: 26px;
    }

    .promo-products-wrap {
        display: block;
    }

    .promo-product-title {
        font-size: 120%;
    }

    .promo-product {
        width: 100%;
    }

    .promo-product + .promo-product {
        margin-left: 0;
        margin-top: 16px;
    }

    .promo-product-btn {
        font-size: 16px;
        line-height: 16px;
    }

    .promo-product-content {
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1023px) {
    .sidebar {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .sidebar .widget {
        -webkit-column-width: auto;
        column-width: auto;
        width: auto;
    }

    header .logo-section {
        padding: 20px 0 !important;
    }
}

@media (max-width: 767px) {
    .logo .textlogo {
        font-size: 26px;
    }

    .title_single_area h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .ranking-page .top_featured_image {
        float: none;
        margin-right: 0;
    }

    .ranking-item {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .ranking-content {
        padding-right: 0;
        width: auto;
        text-align: center;
    }

    .ranking-btn {
        margin-top: 15px;
        margin-left: 0;
    }

    .comment-respond {
        padding: 20px;
    }

    .rh_grid_image_wrapper {
        display: block;
        text-align: center;
    }

    .rh_gr_img figure, .rh_gr_img_first figure {
        display: block;
        margin: auto;
    }

    .usr_re, .email_re {
        width: 100% !important;
    }

    .email_re {
        margin-left: 0 !important;
    }

    .form-submit .submit {
        width: 100%;
    }

    .wp-block-pullquote {
        padding: 0.5em 0;
    }

    .wp-block-pullquote p {
        margin-bottom: 15px;
    }

    .wp-block-pullquote cite {
        line-height: 0 !important;
    }

    .product-box {
        padding: 0.5em 1.5em 1em;
    }

    .product-box h3, .product-box .h3 {
        text-align: center;
    }

    .product-box img {
        float: none;
        margin: 0 auto 10px;
        display: block;
    }

    .custom-btn {
        display: table;
        margin: auto;
    }

    h3, .h3 {
        font-size: 17px;
    }

}

@media (max-width: 479px) {
    .related_articles {
        text-align: center;
    }

    .product-box {
        padding-right: 1em;
        padding-left: 1em;
    }
}

@media (min-width: 768px) and (max-width: 1140px) {
    .promo-product {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        padding-bottom: 18px;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%;
        text-align: left;
    }

    .promo-product-image {
        margin: 0;
    }

    .promo-product-btn {
        position: static;
    }
}