
.itemFlexPc{
    display: flex !important;
}
.itemFlexApp{
    display: none !important;
}
.book_title_pc{
    display: block !important;
}
.book_title_app{
    display: none !important;
}

.filtrate {
    padding: 80px 0 40px;
    box-sizing: border-box;
    background-color: #ffffff;
}
#kkpager{
    padding-top: 64px;
    padding-bottom: 0;
}

.showIt{
    display: flex !important;
}

.filtrate .input_area {
    position: relative;
    height: 80px;
    display: flex;
    border-radius: 64px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0);
    background: rgba(240, 240, 240, 1);
    margin-bottom: 40px;
}
.sg-area-result_clean{
    display: none;
}

.filtrate .input_area .input {
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.common_content input {
    border: none;
    width: 270px;
    height: 30px;
    padding-left: 10px;
    font-size: 18px;
}

.select_area .select {
    display: flex;
    flex-wrap: wrap;
    color: rgba(51, 51, 51, 0.6);
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s linear;
    margin-left: 5px;
    align-items: center;

}

#input:focus .input_area{
    border-color: var(--main-font-color);
    box-shadow: 0 0 0 0.2rem rgba(135, 67, 51, 0.25);
}


.select_area .select:hover {
    color: rgba(135, 67, 51, 1);
    transition: color 0.3s linear;
}

.none{
    display: none !important;
}
.app_sunName{
    display: none;
}

.sg-area-result_clean{
    display: none;
}

.select_area .sg-area-result {

    font-size: var(--sub-title-font-size);
    color: rgba(51, 51, 51, 0.6);
    font-weight: 400;
    cursor: pointer;
}

.filtrate .input_area .input input {
    width: 100%;
    height: 30px;
    border: none;
    background-color: rgba(240, 240, 240, 1);
    padding: 5px;
    box-sizing: border-box;
    outline: none;
    font-size: 18px;
}

.filtrate .input_area .search {
    width: 160px;
    height: 100%;
    background-color: rgba(135, 67, 51, 1);
    border-radius: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--sub-title-font-size);
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 34px;
    color: rgba(255, 255, 255, 1);
    flex-shrink: 0;
    cursor: pointer;
    transition: All 0.3s linear;
}

.filtrate .input_area .search:hover {
    color: #ebdcae;
    background:#8c5140;
}

.filtrate .delete_icon{
    position: absolute;
    height: 100%;
    display: none;
    align-items: center;
    right: 180px;
    cursor: pointer;
}
.input_area:focus-within .delete_icon{
    display: flex;
}
.delete_icon .icon_close{
    font-size: 26px;
}


.input_area:focus-within {
    border: 1px solid rgba(120, 51, 30, 1) !important;
}

.input_area:hover {
    border: 1px solid  rgba(191, 191, 191, 1);
}

.icon_search{
    margin-right: 10px;
}


.filtrate .search_icon {
    width: 19px;
    height: 19px;
    margin-right: 14px;
}

.filtrate .select_area {
    margin-bottom: 32px;
    font-size: var(--sub-title-font-size);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 34.75px;
    display: flex;
    justify-content: flex-start;
    text-align: center;
}

.filtrate .select_area .select_title {
    color: rgba(51, 51, 51, 1);
    flex-shrink: 0;
    margin-left: 5px;
}

.filtrate .select_area .select_content,
.filtrate .select_area .select_content_sunName
{
    margin-left: 5px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    color: rgba(51, 51, 51, 0.6);
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s linear;
}

.filtrate .select_area .select_content_sunName{
    padding: 10px;
    background-color: #F2F2F2;
    color: rgba(0,0,0,1);
    border-radius: 10px;
}

.filtrate .select_area .select_content .letter:hover,
.filtrate .select_area .select_content_sunName .SunNameLetter:hover {
    color:#78331e;
    transition: color 0.3s linear;
}

.filtrate .select_area .select_content span {
    margin-right: 20px;
    cursor: pointer;
}

.filtrate .select_area .select_content .location {
    margin-right: 50px;
}

.filtrate .select_area .select_content .letter,
.filtrate .select_area .select_content_sunName .SunNameLetter {
    margin-right: 20px;
}

.select_active{
    color:#78331e;
    transition: color 0.3s linear;

}
.filtrate .select_area .select {
    flex-shrink: 0;
}

.filtrate .select_area .select select {
    outline: none;
    border: none;
    font-size: var(--sub-title-font-size);
}

.genealogyContent {
    background-color: #F2F2F2;
    padding: 64px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.genealogyList {
    flex: 1;
}


.genealogyList .sg-area-result{
    display: none;
}

.genealogyItem {
    width: 100%;
    padding: 32px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.genealogyItem:last-child {
    margin: 0;
}

.itemLeft {
    flex-shrink: 0;
    width: 197px;
    height: 240px;
    border-radius: 10px;
    background: rgba(242, 233, 220, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.itemLeft .bgImg {
    width: 100%;
    height: 100%;
    position: absolute;
    transform: scale(10);
    opacity: 0.1;

}

.itemLeft .book_title{
    font-size: 14px;
    color: #c29656;
    position: absolute;
    writing-mode: vertical-lr;
    background-image: url("../img/common/title_img.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 10px 0;
       right: 50px;
    top: 37px;
    line-height: 27px;
    letter-spacing: 0px;
    z-index: 10;
}

.itemLeft .img {
    position: relative;
    width: 121px;
    height: 172px;
    z-index: 2;
}

.itemRight {
    width: 100%;
    margin-left: 32px;
}

.itemRight .itemTitle {
    font-size: var(--news-title-font-size);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 48px;
    color: rgba(51, 51, 51, 1);
}

.itemRight .itemInfo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: var(--conten-font-size);
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 27px;
    margin-top: 16px;
}

.itemRight .info_stats {
    border-radius: 4px;
    background: rgba(120, 51, 30, 0.08);
    padding: 4px 12px;
    color: rgba(120, 51, 30, 1);
}

.itemRight .info_surname {
    /*margin-left: 10px;*/
    border-radius: 4px;
    background: rgba(235, 220, 174, 1);
    color: rgba(120, 51, 30, 1);
    padding: 4px 12px;
}

.itemRight .info_address {
    margin-left: 10px;
    border-radius: 4px;
    background: rgba(242, 242, 242, 1);
    color: rgba(51, 51, 51, 0.6);
    padding: 4px 12px;
}

.itemFlex{
    display: flex;
    align-items: center;
    align-content: center;
    .itemsource{
        margin-top: 18px;
        font-size: var(--hot-news-font-title-size);
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 28px;
        color: rgba(51, 51, 51, 0.6);
        position: relative;
        margin-left: 32px;
        &:before{
            position: absolute;
            content: '';
            width: 2px;
            height: 70%;
            top: 50%;
            left: -16px;
            background: rgba(51, 51, 51, 0.6);
            transform: translateY(-50%);
        }
    }
}

.itemRight .itemTime {
    margin-top: 18px;
    font-size: var(--hot-news-font-title-size);
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 28px;
    color: rgba(51, 51, 51, 0.6);
}

.itemRight .itemSynopsis {
    margin-top: 18px;
    font-size: var(--conten-font-size);
    font-weight: 400;
    line-height: 27px;
    color: rgba(51, 51, 51, 1);
}

.showDetail {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 172px;
    height: 54px;
    border-radius: 10px;
    border: 1px solid rgba(120, 51, 30, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--conten-font-size);
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 27px;
    color: rgba(120, 51, 30, 1);
    cursor: pointer;
    background: linear-gradient(to right,
    rgba(120, 51, 30, 1) 50%,
    rgba(255, 255, 255, 1) 50%
    );
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
}

.showDetail:hover {
    background-position: left bottom;
    color: rgba(255, 255, 255, 1);
}



.filtrate_phone, .input_area_phone {
    display: none;
}

/*! 1440 ~ 1680 */
@media all and (max-width: 1680px) {
    .genealogyItem {
        padding: 28px;
        margin-bottom: 18px;
    }

    .itemRight {
        margin-left: 30px;
    }

    .itemLeft {
        width: 190px;
        height: 230px;
    }

    .itemLeft .img {
        width: 110px;
        height: 162px;
    }

    .filtrate .select_area .select_content {
    }

    .filtrate .select_area .select_content span {
        margin-right: 18px;
    }

    .filtrate .select_area .select_content .location {
        margin-right: 40px;
    }

    .filtrate .select_area .select_content .letter,
    .filtrate .select_area .select_content_sunName .SunNameLetter {
        margin-right: 18px;
    }

    .showDetail {
        top: 28px;
        right: 28px;
        width: 160px;
        height: 50px;
    }


    .itemFlex{
        display: flex;
        align-items: center;
        align-content: center;
        .itemsource{
            margin-top: 18px;
            font-size: var(--hot-news-font-title-size);
            font-weight: 400;
            letter-spacing: 0px;
            line-height: 28px;
            color: rgba(51, 51, 51, 0.6);
            position: relative;
            margin-left: 32px;
            &:before{
                position: absolute;
                content: '';
                width: 2px;
                height: 70%;
                top: 50%;
                left: -16px;
                background: rgba(51, 51, 51, 0.6);
                transform: translateY(-50%);
            }
        }
    }
}

/*! 1200 ~ 1440 */
@media all and (max-width: 1440px) {
    .genealogyItem {
        padding: 26px;
        margin-bottom: 17px;
    }

    .itemRight {
        margin-left: 28px;
    }

    .itemLeft {
        width: 180px;
        height: 217px;
    }

    .itemLeft .img {
        width: 100px;
        height: 150px;
    }

    .filtrate .select_area .select_content {
    }

    .filtrate .select_area .select_content span {
        margin-right: 16px;
    }

    .filtrate .select_area .select_content .location {
        margin-right: 35px;
    }

    .filtrate .select_area .select_content .letter,
    .filtrate .select_area .select_content_sunName .SunNameLetter {
        margin-right: 16px;
    }

    .showDetail {
        top: 26px;
        right: 26px;
        width: 155px;
        height: 47px;
    }


    .itemFlex{
        display: flex;
        align-items: center;
        align-content: center;
        .itemsource{
            margin-top: 18px;
            font-size: var(--hot-news-font-title-size);
            font-weight: 400;
            letter-spacing: 0px;
            line-height: 28px;
            color: rgba(51, 51, 51, 0.6);
            position: relative;
            margin-left: 32px;
            &:before{
                position: absolute;
                content: '';
                width: 2px;
                height: 60%;
                top: 50%;
                left: -16px;
                background: rgba(51, 51, 51, 0.6);
                transform: translateY(-50%);
            }
        }
    }
}

/*! 992 ~ 1200 */
@media all and (max-width: 1200px) {
    .genealogyItem {
        padding: 24px;
        margin-bottom: 16px;
    }

    .itemRight {
        margin-left: 26px;
    }

    .filtrate .select_area .select_content {
    }

    .filtrate .select_area .select_content span {
        margin-right: 14px;
    }

    .filtrate .select_area .select_content .location {
        margin-right: 30px;
    }

    .filtrate .select_area .select_content .letter,
    .filtrate .select_area .select_content_sunName .SunNameLetter {
        margin-right: 14px;
    }

    .showDetail {
        top: 24px;
        right: 24px;
        width: 150px;
        height: 45px;
    }

    .itemFlex{
        display: flex;
        align-items: center;
        align-content: center;
        .itemsource{
            margin-top: 18px;
            font-size: var(--hot-news-font-title-size);
            font-weight: 400;
            letter-spacing: 0px;
            line-height: 28px;
            color: rgba(51, 51, 51, 0.6);
            position: relative;
            margin-left: 32px;
            &:before{
                position: absolute;
                content: '';
                width: 1px;
                height: 50%;
                top: 50%;
                left: -16px;
                background: rgba(51, 51, 51, 0.6);
                transform: translateY(-50%);
            }
        }
    }
}

/*! <=991 手机端 */
@media all and (max-width: 991px) {
    .itemFlexPc{
       display: none !important;
    }
    .itemFlexApp{
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    .itemLeft{
        background-color: #ffffff;
    }
    .itemLeft .bgImg{
        display: none;
    }
    .book_title_pc{
        display: none !important;
    }
    .book_title_app{
        width: 16px;
        display: flex !important;
    }



    .filtrate {
        display: none;
    }

    .hotGenealogy {
        display: none;
    }

    .filtrate_phone {
        display: flex;
        align-content: flex-start;
        width: 64px;
        flex-wrap: wrap;
    }

    .filtrate_phone .gray {
        background-color:rgba(234, 234, 234, 1);
        display: flex;
        align-items: center;
        text-align: center;
    }

    .filtrate_phone_items .filtrate_phone_icon ,
    .filtrate_phone_item .filtrate_phone_icon {
        width: 16px;
        height: 16px;
    }

    .filtrate_phone_item, .filtrate_phone_items {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid rgba(51, 51, 51, 0.1);
        background-color: white;
    }

    .select_phone {
        background-color: #FFF;
        position: relative;
        /*border: 1px solid #ddd;*/
        /*border-radius: 4px;*/
        box-sizing: border-box;
    }

    .select_phone select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        font-size: 16px;
        width: 100%;
        background-color: transparent;
        padding: 8px 0 8px 4px;
        line-height: 1.5;
        color: #333;
        cursor: pointer;
    }

    /* 自定义下拉箭头 */
    .select_phone::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 5px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #666;
        pointer-events: none;
    }

    /* 苹果设备聚焦状态优化 */
    .select_phone select:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

    /* iOS Safari 特定样式 */
    @supports (-webkit-overflow-scrolling: touch) {
        .select_phone select {
            padding-right: 16px; /* 为iOS增加额外空间 */
        }

        .select_phone::after {
            right: 10px; /* 调整箭头位置 */
        }
    }
    .genealogyContent {
        padding: 0 0 12px 0;
        justify-content: space-between;
    }

    .genealogyList {
        margin-left: 8px;
        flex: 1;
        padding-right: 12px;
    }

    .genealogyList .sg-area-result_clean{
        align-items: center;
        justify-content: flex-end;
        font-size: var(--conten-font-size);
    }

    .genealogyList .sg-area-result {
        display: block;
        border: none;
        background: none;
        font-size: var(--conten-font-size);
    }

    .genealogyList .top_app {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px  5px  0 0;

    }

    .genealogyItem {
        width: 100%;
        padding: 6px;
        border-radius: 5px;
        margin-bottom: 8px;
    }

    .itemLeft {
        width: auto;
        height: 90px;
        border-radius: 2px;
    }

    .itemLeft .img {
        width: auto;
        height: 100%;
        aspect-ratio: 64 / 90;
        border-radius: 5px;
    }

    .itemRight {
        margin-left: 12px;
    }

    .itemRight .itemTitle {
        font-size: 16px;
        line-height: 24px;
    }

    .itemRight .itemInfo {
        font-size: 12px;
        line-height: 17px;
        margin-top: 7px;
    }

    .itemRight .info_stats {
        border-radius: 2px;
        padding: 1px 4px;
    }

    .itemRight .info_surname {
        
        border-radius: 2px;
        padding: 1px 4px;
    }

    .itemRight .info_address {
        margin-left: 4px;
        border-radius: 2px;
        padding: 1px 4px;
    }

    .itemFlex{
        display: flex;
    }
    .itemFlex .itemsource{
            margin-left: 0;
            font-size: 12px;
            margin-top: 10px;
            line-height: 18px;
            color: rgba(51, 51, 51, 0.6);  
            &:before{
                width: 0;
                height: 0;
            }
    }
    .itemRight .itemTime {
        font-size: 12px;
        margin-top: 5px;
        line-height: 18px;
    }

    .itemRight .itemSynopsis {
        display: none;
    }

    .showDetail {
        display: none;
    }

    .input_area_phone {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 40px;
        margin: 8px 0;
        border-radius: 2px;
        overflow: hidden;
    }

    .input_area_phone .input {
        flex: 1;
        height: 100%;
        background-color: white;
        padding: 8px;
        box-sizing: border-box;
    }

    .input_area_phone .input input {
        width: 100%;
        height: 24px;
        border: none;
        padding: 5px;
        box-sizing: border-box;
        outline: none;
        font-size: 16px;
    }

    .input_area_phone .search {
        width: 56px;
        height: 40px;
        opacity: 1;
        background: rgba(120, 51, 30, 1);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .input_area_phone .search_icon {
        width: 14px;
        height: 14px;
    }

    .app_sunName {
        padding: 5px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        background-color: #fff;
        border-radius: 5px;
        margin-bottom: 8px;
    }

    .app_sunName  .app_sunName_item{
        width: calc((100% - 10px) / 8);
        text-align: center;
    }

    .itemLeft .book_title {
        font-size: 10px;
        color: #c29656;
        position: absolute;
        writing-mode: vertical-lr;
        right: 5px;
        top: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: url("../img/common/title_img.png");
        background-size: 100% 100%;
        padding: 5px 0;
        line-height: 9px;
        letter-spacing: 0px;
        z-index: 10;
        border-radius: 2px;
    }
}
