/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#logo img, .logo_ft img {
    background-color: rgb(255, 255, 255);
    padding: 10px 8px;
    border-radius: 5px;
}
.text-ftP, .copyright-p {
    color: #777;
    font-size: .75em;
    line-height: 1.85em;
    margin-bottom: 0;
}
.copyright-p {margin-top: 20px;}
.home-title h2 {
    font-size: 25px;
    color: #001031;
    margin: 10px 0;
}
.home-desc {
    color: #7f8c8d;
    font-weight: 100;
    line-height: 1.85em;
    margin-bottom: 20px;
}
.home-title h2 span {padding: 20px 0;}
img {border-radius: .5rem;}
.rank-item {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    border-radius: 5px;
    padding: 10px 10px 25px;
    margin: 0 0 30px;
    background-color: #fff;
    box-shadow: 0 10px 40px 0 rgb(109 141 173 / .25);
    transition: all 0.5s ease-in-out;
}
.rank-logo, .rank-terms, .rank-rating, .rank-button {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rank-logo {order: 1;}
.rank-terms {order: 2;}
.rank-rating {order: 3;}
.rank-button {order: 4;}
.rank-logo-ins {
    width: 100%;
    padding: 10px 30px;
}
.rank-logo-ins img {border-radius: 5px;}
.rank-logo-ins:after, .rank-terms-ins:after, .rank-rating:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 50px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background-color: #d6d7db;
}
.rank-count {
    top: -22px;
    left: 30px;
    width: 30px;
    height: 42px;
    background-color: #050a30;
    border-radius: 5px;
}
.rank-count:before {
    content: '';
    display: block;
    width: 30px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.1);
    top: 0;
    left: 0;
    right: 0;
    border-radius: 5px 5px 0 0;
    z-index: 1;
}
.rank-1.rank-count {background-color: #c4161d;}
.rank-count span {
    position: relative;
    display: inline-block;
    width: 30px;
    padding: 7px 0;
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    line-height: 1em;
    color: #fff;
}
.rank-terms-ins {
    width: 100%;
    padding: 0 15px;
    font-weight: 400;
    font-size: 0.75em;
    line-height: 1.45em;
    color: #7f8c8d;
}
.rank-terms-ins strong {
    display: block;
    font-weight: 700;
    font-size: 28.43px;
    line-height: 1.25em;
    color: #111111;
}
.rank-terms-ins span {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25em;
    color: #2e3246;
    padding-bottom: 5px;
}
.rank-button-ins {width: 100%;}
.rank-button-ins a {
    color: #fff;
    background-color: #d63031;
    border-radius: 90px;
    display: inline-block;
    min-width: 200px;
    padding: 10px 30px;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.25em;
    transition: all 0.5s ease-in-out;
}
.rank-button-ins a:first-child {margin-bottom: 8px;}
.rank-button-ins a:last-child {
    color: #fff;
    background-color: #b2bec3;
}
.rank-button-ins a img {
    width: 24px;
    padding-right: 5px;
}
.rank-rating-ins {
    display: inline-flex;
    align-items: center;
    height: 40px;
    border-radius: 20px;
    padding: 11px 45px 11px 15px;
    border: 1px solid #d6d7db;
}
.rank-rating-ins span {
    position: absolute;
    right: 12px;
    height: 1em;
    top: 0;
    bottom: 0;
    margin: auto 0;
    font-weight: 700;
    font-size: 1em;
    line-height: 20px;
    color: #111111;
}
.rank-viewMore {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.rank-viewMore a {
    color: #fff;
    background-color: #c4161d;
    font-size: 16px;
    padding: 15px 40px;
    border-radius: 4px;
    box-shadow: 0px 0px 2px 0px #333333 !important;
}
.wp-block-heading {
    margin: 10px 0 15px;
    font-size: 18px;
    line-height: 1.2em;
}
.wp-block-heading img {
    display: inline;
    height: 1em;
    width: 1em;
    margin: 0 0.07em;
    vertical-align: -0.1em;
    border-radius: 5px;
}
.block-Content p {
    margin-bottom: 0;
    padding-bottom: 1.45em;
}
.home .home-post-list .is-divider {margin: 1.45em auto 2.9em !important;}
.postList {
    display: flex;
    column-gap: 1.5rem;
    margin-top: 2.5rem;
}
.postChild-cate {
    color: #fff;
    font-size: .75rem;
    line-height: 1.125rem;
    height: 1.5rem;
    background-color: #971100;
    border-radius: .25rem;
    display: inline-flex;
    column-gap: .25rem;
    justify-content: center;
    align-items: center;
    padding-left: .5rem;
    padding-right: .5rem;
}
.postChild-cate svg {
    width: .75rem;
    height: .75rem;
}
.postTitle-grid h3 {
    color: rgb(20 23 33);
    font-size: 18px;
    line-height: 2rem;
    margin: 0;
}
.postTitle-grid p {
    font-size: .875rem;
    color: rgb(91 93 100);
    line-height: 22px;
    margin-bottom: 0;
    -webkit-line-clamp: 4;
}
.postTitle-grid {
    display: flex;
    margin-top: 20px;
    row-gap: .5rem;
    flex-direction: column;
}
.postChild-list {
    display: flex;
    column-gap: .75rem;
    flex-direction: column;
}
.postChild-item:not(:last-child) {margin-bottom: 24px;}
.postChild-item {
    display: flex;
    column-gap: .75rem;
}
.postChild-info {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: space-between;
}
.postChild-ava img {
    width: 148px;
    height: 89px;
    object-fit: cover;
}
.postChild-info h3 {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 0;
}
.postChild-meta span.time {
    color: rgb(161 162 166);
    line-height: 1.25rem;
    font-size: .75rem;
}
.postChild-meta {
    display: flex;
    column-gap: .5rem;
    justify-content: space-between;
}
.tipTitle {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}
.tipTitle h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    color: rgb(20 23 33);
    margin-bottom: 0;
}
.tipTitle:before {
    content: "";
    width: .5rem;
    height: 1.875rem;
    display: inline-flex;
    background-color: rgb(20 23 33);
}
.social-ft a {
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    padding: 0;
    border-radius: 5px;
    border: 0;
    margin-left: 8px;
}
.social-ft a i {
    font-size: 20px;
    line-height: 2.34;
}
.menu-ft li {
    margin-left: 30px !important;
    float: left;
    list-style: none;
    margin-bottom: 0;
}
.menu-ft li:first-child {margin-left: 0 !important;}
.menu-ft li a {
    color: #fff;
    font-size: 0.75em;
    line-height: 1.25em;
    font-weight: 500;
}
.social-ft a:first-child {margin-left: 0;}
.pd-title-page h2 {margin-bottom: 0;}
.blog-avatar img {
    height: 200px;
    object-fit: cover;
}
.blog-cateName {
    bottom: -5px;
    left: 0;
    display: inline-block;
    font-weight: 400;
    font-size: 0.75em;
    line-height: 1.45em;
    color: #fff !important;
    text-decoration: none !important;
    padding: 4px 15px;
    border-radius: 0 5px 0 5px;
    background-color: #d63031;
    margin-bottom: 5px;
}
.blog-info {margin-top: 25px;}
.blog-title {margin-bottom: 10px;}
.blog-title a {
    font-weight: 700;
    font-size: 1.333em;
    line-height: 1.25em;
    color: #151515;
}
.blog-excerpt {
    font-size: 1em;
    line-height: 1.45em;
    color: #7f8c8d;
    margin-top: 20px;
}
.blog-time {
    margin: 15px 0 0;
    height: 15px;
    font-weight: 400;
    font-size: 0.75em;
    line-height: 1.45em;
    color: #7f8c8d;
}
.blog-main {margin-top: 41px;}
.blog-archive {margin-bottom: 15px;}
.byline {display: none;}
@media (min-width: 992px) {
    .rank-list {
        margin-top: 50px;
        margin-bottom: 60px;
    }
    .rank-viewMore {margin-top: 50px;}
    .home-title h2 {line-height: 1;}
    .title-contact h2 span {
        font-size: 37px;
        line-height: 53px;
    }
    .pd-title-page h2 {font-size: 40px;}
    .home-title h2 {
        font-size: 2.369em;
        line-height: 44px;
    }
    .content-main {padding: 0 0 60px;}
    .postList {
        height: 428px;
        overflow: hidden;
    }
    .postMain {
        flex: 1 1 0%;
        height: 428px;
        border-radius: .5rem;
        overflow: hidden;
    }
    .tip-post {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
    .postTitle {
        position: absolute;
        padding: 2.75rem 1.5rem;
        row-gap: 1.5rem;
        border-radius: .5rem;
        background-color: rgb(243 243 244);
        display: flex;
        transform: translateY(-50%);
        top: 41%;
        left: 0;
        width: 24rem;
        z-index: 1;
    }
    .postFeatured {padding-left: 5rem;}
    .postChild {width: 24rem;}
    .postTitle-grid {
        margin-top: 0;
        row-gap: 1.5rem;
    }
    .header-nav-main.nav.nav-left {justify-content: center;}
    .aboutUs {padding: 50px 0 !important;}
    .blog-main {grid-template-columns: repeat(4, 1fr) !important;}
    .blog-time {float: right;}
    .tip-footer {padding: 80px 0 40px !important;}
}
@media (min-width: 850px) {
    .rank-item {
        flex-direction: row;
        gap: 0;
        padding: 10px 0;
    }
    .box-25 {width: 25%;}
    .home-title h2 span {padding: 0;}
    .menu-ft {margin-top: 20px;}
    .social-ft, .menu-ft {float: right;}
    .wp-block-heading {font-size: 1.777em;}
    .postTitle-grid h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .blog-main {
        display: grid;
        grid-gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 991px) {
    .postList {
        flex-direction: column;
        gap: 20px;
    }
}