@charset "utf-8";

/* CSS Document */

.wrap_box {
    border-top: 1px #eaeaea solid;
    margin-top: 56px;
    padding-bottom: 34px;
}

.title_box {
    position: relative;
    line-height: 24px;
    padding-bottom: 24px;
    padding-top: 8px;
    font-size: 14px;
    font-weight: bold;
    width: 230px;
    border-top: 4px #000 solid;
}



.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login_scan {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index:1000
}

.login_scan p{
    margin: 0px;
}

.login_scan.login_show {
    display: flex;
}

.login_box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    flex-direction: column;
    font-size: 14px;
    line-height: 24px;
    font-weight: bold;
}

.login_box img {
    max-width: 200px;
    margin-bottom: 10px;
}


.login_scan.login_show {
    display: flex;
}




.modal_full{
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 200%;
    position: fixed;
    top: 0;
    z-index: 5;
}

.float-icon{
    position: fixed;
    top: 700px;
    z-index: 20;

    right:calc(50vw - 600px - 40px);
}

.float-icon div{
    background-color: rgba(180,180,180,.7);
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.float-icon div:hover{
    background-color: rgb(180, 180, 180);
}

.float-icon img{
    width: 30px;
    height: auto;

}


.user_box {

    position: relative;
    height: 54px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user_icon {
    width: 21px;
    height: 21px;
    cursor: pointer;
}

.user_form_box {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 600px;
    padding: 32px 0px 0px 0px;
    height: 86px;
    background-color: #fff;
    z-index: 10;
}

.user_form{
    margin-left: 300px;
    /*padding-right: 20px;*/
    padding-right: 0px;
    display: flex;
    justify-content: flex-end;

}

.user_form a{
    font-size: 12px;
    color: #000;
    background-color: #fff;
    text-decoration: none;
    padding: 0 15px;
    text-transform: uppercase;
    line-height: 54px;
    position: relative;
    z-index: 3;
    float: left;
}

.showsearch,.showuser{
    transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -webkit-transition-timing-function: linear;
    -o-transition-timing-function: linear;
}

/*图标*/
.search_box {

    position: relative;
    height: 54px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.search_icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.close_search {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/*输入框*/
.search_form_box {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 600px;
    padding: 32px 0px 0px 0px;
    height: 86px;
    background-color: #fff;
    z-index: 10;
}

.search_form {
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
    margin-left: 300px;
}

.search_a {
    margin: 12px 0 12px 10px;
    border-left: 0px;
    /*border-left: 1px #222 solid;*/
    padding: 0 10px;
    height: 30px;
    outline: 0;
    border-top: none;
    border-bottom: none;
    border-right: none;
}

.search_b {
    width: 19px;
    height: 19px;
    cursor: pointer;

}

.search_section {
    display: none;
    position: absolute;
    right: 0;
    top: 60px;
    width: 490px;
    background-color: #fff;
    padding: 10px 30px;
    box-shadow: 0 3px 8px rgba(100, 100, 100, 0.5);
    z-index: 999;
    text-align: left;
}

.search_section p {
    font-size: 15px;
    line-height: 40px;
    text-align: left;
}

.search_section section {
    padding-bottom: 10px;
}

.search_section section a {
    display: inline-block;

    margin-right: 10px;
    margin-left: 10px;
    line-height: 22px;
    padding: 0 16px;
    margin-bottom: 10px;
    border: 1px #333 solid;
}

.search_section section a:hover {
    background-color: #333;
    color: #fff;
}

/*字体详情*/

/*字体详情页按钮*/
.fontDesc .btn_red, .fontDesc .btn_black{
    margin-top: 10px;
    cursor: pointer;
}

.fonts_ctrl{
    position: relative;
}



.download_time{

    position: absolute;
    right: 0px;
    bottom: 40px;
    width: 220px;
    text-align: right;
    font-weight: normal;
    color: #646464
}


.fontDesc .download_time2{
    font-weight: normal;
    color: #646464;
    margin-top: 10px;
}
/**
外边框为黑色的4字按钮
 */
.fontDesc .btn_black{
    border: 2px #000 solid;
    color: #000000;
    line-height: 1;
    padding: 11px 25px;
    font-size: 12px;
    width: 102px;
}

.fontDesc .btn_black:hover{
    border: 2px #000 solid;
    background: #000000;
    color: #ffffff;
    line-height: 1;
    padding: 11px 25px;
    font-size: 12px;
    width: 102px;
}


.fontDesc .btn_red{
    background-color: #ec1327;
    color: #fff;
    padding: 11px 25px;
    border: 2px #ec1327 solid;
    line-height: 1;
    font-size: 12px;
    width: 102px;
}
.fontDesc .btn_red:hover{
    background-color: #ffffff;
    color: #ec1327;
    padding: 11px 25px;
    border: 2px #ec1327 solid;
    font-size: 12px;
    width: 102px;
}


.fontDesc .btn_gray{
    padding: 11px 25px;
    color: #9a9797;
    width:102px ;
    border: 2px #9a9797 solid;
    cursor: default;
    margin-top: 10px;
}

.fontDesc .btn_gray:hover{
    padding: 11px 25px;
    color: #9a9797;
    border: 2px #9a9797 solid;
    cursor: default;
}


 /* 字体产品 */

.wrap_pro {
    background-color: #000;
    height: 480px;
    display: flex;
    align-items: center;
}

.font_pro {
    border: 5px #fff solid;
    color: #fff;
    align-items: stretch;
    padding: 0;
    min-height: 145px;
}

.font_left {
    border-right: 1px #fff solid;
    width: 33%;
    padding: 20px;
}

.font_left p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5em;
}

.font_right {
    flex: 1;
    padding: 20px;
}

.font_right section {
    padding-top: 15px;
}

.font_right section a {
    display: inline-block;
    line-height: 30px;
    border: 3px #ec1327 solid;
    padding: 0 15px;
    background-color: #ec1327;
    color: #fff;
    margin-right: 30px;
}

.font_right section a.none {
    background-color: #6d1a1a;
    border-color: #6d1a1a;
    color: #aaa;
}

.font_right section a:hover {
    background: none;
    color: #ec1327;
}

.font_right section a.none:hover {
    background-color: #6d1a1a;
    color: #aaa;
}

.font_right>b {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5em;
}

.font_filter {
    height: 47px;
    margin-bottom: 30px;
}

.font_class a {
    margin-right: 4px;
    background-color: #000;
    color: #fff;
    padding: 11px 25px;
    border: 2px #000 solid;
    line-height: 1;
}

.font_class a:hover {
    background-color: #fff;
    color: #000;
}

.font_class a.on {
    border-color: #ec1327;
    background-color: #ec1327;
    cursor: default;
}

.font_class a.on:hover {
    color: #fff;
}

.font_sort  .btn_red_type{
    border: 2px #ec1327 solid;
    color: #ec1327;
    line-height: 1;
    padding: 10px 24px;
    font-size: 12px;
}

.font_sort .btn_black_type:hover {
    border: 2px #ec1327 solid;
    line-height: 1;
    padding: 10px 24px;
    font-size: 12px;
    color: #ec1327;
}

.font_sort .btn_black_type{
    border: 2px #000 solid;
    line-height: 1;
    padding: 10px 24px;
    font-size: 12px;
}

.font_sort a {
    margin-left: 4px;

}

.font_sort a.on {
    border-color: #d93433;
    color: #d93433;
}



.font_search{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    margin-bottom: 20px;
}

.font_keywords {
    /*
    line-height: 40px;
    */
    font-size: 14px;
    font-weight: bold;
    margin: 0px 0px 40px 0px;
}



.font_keywords a{
    font-weight: normal;
}

.font_keywords .on{
    color: #ec1327;
    font-weight: bolder;
    cursor: default;
}

.font_input {
    height: 42px;
    margin-bottom: 35px;
}

.font_query {
    /* width: 630px;*/
    /*  width: 650px;*/
  /*  width: 66.66666667%;*/
    width: 636px;
}

.font_query input {
    /*flex: 1;*/
   /* width: 80%;*/
    width: 506px;
    height: 42px;
    padding: 0 15px;
    outline: 0;
    border: 1px solid #ccc;
    font-size: 18px;
    font-weight: bold;
    border-right: 0px;
}

.font_query input::placeholder {
    font-size: 14px;
    font-weight: normal;
}

.font_query button {
    background-color: #000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
   /* width: 20%;*/
    width: 130px;
    height: 42px;
    border: 2px #000 solid;
}

.font_query button:hover{
    background-color: #fff;
    color: #000;
    border: 2px #000 solid;
}

.font_show_type{
    margin:  0px;
}

.font_show_type .on{
    cursor: default;
}

.font_show_type img {
    margin: 3px;
    cursor: pointer;
    width: 28px;
    height: auto;
}

.font_list {
    padding-bottom: 10px;
}

.font_list .font_img {
    display: none;
}

.font_li section>p.preview_p{
    cursor: pointer;
}

.font_main {
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.font_inner {
    max-height: 0;
    overflow: hidden;
    /*padding-left: 60px;*/
    transition: 200ms;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

.font_inner.showw {
    max-height: 10000px;
    display: block ;
}

.font_li section.none-line{
    border-bottom: 0px #000 solid;
    margin-bottom: 0px;
}

.font_li section {
     display: flex;
     justify-content: space-between;
     border-bottom: 1px #000 solid;
     margin-top: 10px;
     /*
     padding-bottom: 30px;
     */
     margin-bottom: 30px;
 }

.font_inner section{
    border-bottom: 0px #000 solid;
    margin-bottom: 0px;
}


.font_inner :last-child >section{
    border-bottom: 1px #000 solid;
    margin-bottom: 30px;
}

.font_li>a {
    display: block;
}

.font_li .font_ctrl {
    display: flex;
    align-items: center;
    color: #999;
    cursor: pointer;
}

.font_li .font_ctrl img {
    margin-left: 3px;
    transition: 200ms;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

.font_li .font_ctrl img.on {
    transform: rotate(180deg);
}



.font_li .font_collect {
    display: flex;
    align-items: center;
    color: #000000;
    cursor: pointer;
}

.font_li .font_collect img {
    margin-right: 3px;
    width: 25px;
    height: 25px ;
}

.font_li .font_collect img.on {

}




.font_li .font_more {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 2px 15px;
    border: 1px #000 solid;
    margin-left: 8px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    font-weight: normal !important;
    box-sizing: border-box;

}

.font_list.block  .font_li .font_more{
    display: none;
}

.font_li .font_more:hover {
    border-color: #ec1327;
    color: #ec1327;
}


.font_li .font_more img {
    margin-left: 3px;
    transition: 200ms;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    height: auto;
    width: auto;
    margin-bottom: 0;
}

.font_li .font_more img.on {
    transform: rotate(180deg);
}

.font_li section .preview_image {
    cursor: pointer;
}

.font_li section .preview_image {
    height: 110px;

}

.font_li section .preview_p {

    font-size: 70px;
    padding: 20px 0px;
    margin-bottom: 20px;
    word-break: break-all;
}

.font_li section>p.preview_p {
    /*line-height: 1.5em;
    line-height: 70px;*/
    line-height: 120%;
    /*max-width: 65%;*/
}

.font_inner .font_li section>p.preview_p {
    /*max-width: calc(65% - 60px);*/
}


.font_ty p.font-preview {
    margin: 10px 0px ;
    max-width: 600px;
    width: 100%;
    line-height: 1.2em;
    font-size: 40px;
    font-weight: normal;
    word-break: break-all;

}


.font_li section aside a {
    font-weight: bold;
    flex-wrap: nowrap;
    white-space: nowrap;

}

.font_list .font_li .fonts_ctrl{
    align-items: flex-end;
    margin-bottom: 30px;
    align-content: end;
    vertical-align: bottom;
    justify-content: flex-end;
}

.fonts-multi{
    display: none;
}

.font_list .font_li .fonts_ctrl a ,.font_list .font_li .fonts_ctrl a:visited{
    padding: 2px 15px;
    border: 1px #000 solid;
    margin-left: 8px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    font-weight: normal !important;
    box-sizing: border-box;
    cursor: pointer;
}


.font_list .font_li .fonts_ctrl a:hover {
    border-color: #ec1327;
    color: #ec1327;
}

.font_list .font_li .fonts_ctrl a.btn_disable:hover{
    border: 1px #9a9797 solid;
    color:#9a9797 ;
}


.font_list .font_li .fonts_ctrl a.btn_disable{
    color:#9a9797 ;
    border: 1px #9a9797 solid;
    cursor: default;
}

.font_list.block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.font_list.block::after {
    width: 360px;
    content: "";
}

.font_list.block .font_li {
    width: 360px;
    padding-bottom: 30px;
}

.font_list.block .font_li a{

}




.font_list.block .font_li section {
    display: none;
}

.font_list.block .font_img {
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  /*  width: 360px;
    height: 252px;*/
    border: 1px #cdcdcd solid;
}

.font_list.block .font_img img {
    display: block;
    box-sizing: border-box;
    width: 360px;
    height: 252px;

    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.font_list.block .font_li img:hover  {
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}




.font_list.block .font_ctrl {
    display: none;
}

.font_list.block .font_collect {
    display: none;
}



.font_list .font_li a {
    font-weight: bold;
}

.font_list .font_li div a span {
    color: #ec1327;
}


/* font */

.wrap_img {
    background-color: rgb(32, 32, 32);
}

.wrap_img .container {
    position: relative;
    height: 100%;
}

.wrap_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wrap_img p {
    position: absolute;
    left: 15px;
    bottom: 90px;
    padding: 0 36px;
    line-height: 44px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #202020;
    border: 3px solid #fff;
}


.font_ty {
    margin-bottom: 30px;
}

.font_ty>p {
    font-weight: bold;
    line-height: 1.5;
    /*
    padding-bottom: 18px;
    */
    padding: 18px 0px 8px 0px;

}

.font_ty>p a:hover {
    color: #ec1327;
}

.font_tyimg {
    margin: 10px 0 20px;
    max-width: 600px;
    width: 100%;
}

.font_imgs img {
    width: 100%;
    border: 1px solid #aaa;
    box-sizing: border-box;
    margin-bottom: 30px;
}


@media (min-width: 1200px) {
    .visible-lg {
        display: block;
    }
}
@media screen and (max-width:1199px) and (min-width: 992px) {
    .visible-md {
        display: block;
    }


    .float-icon{
        position: fixed;
        top: 520px;
        z-index: 20;

        right:calc(50vw - 485px - 40px);
    }



    .font_unit {
        width: 292px;
    }

    .font_unit section {
        width: 292px;
        height: 205px;
    }

    .font_unit img {
        width: 292px;
        height: 205px;
    }



    .font_query {
       /* width: 66.66666667%;*/
    }

    .font_list.block .font_li {
        width: 300px;
    }

    .font_list.block .font_li img {
        width: 300px;
        height: 208px;
    }
}


@media (max-width: 991px) {

    /*字体详情*/


    .visible-sm {
        display: block;
    }


    .float-icon{
        position: fixed;
        top: 700px;
        z-index: 20;

        right:calc(50vw - 485px - 40px);
        display: none;
    }




    .search_box {
        display: none;
    }




    .font_filter {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .font_class {
        margin-bottom: 15px;
    }

    .font_sort a {
        margin-left: 0;
        margin-right: 8px;
    }

    .font_sort {

        display: none;
    }

    .font_search{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-content: center;
    }

    .font_search2{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }

    .font_list.block .font_li {
        width: 345px;
    }

    .font_list.block .font_li img {
        width: 345px;
        height: 242px;
    }

    .font_li section .preview_image {
        height: 90px;
    }

    .font_li .font_collect {
        display: none;
    }


    .font_sort {
        display: none;
    }

    .font_search{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-content: center;
    }

    .font_search2{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }

    .font_li section .preview_p {
        font-size: 55px;
    }

    .font_list .font_li .fonts_ctrl{
        display: none;
    }

    .font_li section aside .download_a {
        display: none;
    }

    .font_li section aside .collect_a {
        display: none;
    }

    .collectbtn{
        display: none;
    }

    .fontDesc .collect,.fontDesc .download{
        display: none;
    }

    .fontDesc .download_time2{
        display: none;
    }

    .nav>li.lastchild{
        display: none;
    }
}



@media (max-width: 767px) {
    .visible-xs {
        display: block;
    }

    .float-icon{
        position: fixed;
        top: 700px;
        z-index: 20;

        right:calc(50vw - 485px - 40px);
        display: none;
    }


    .font_more {
        padding: 0 .2rem;
    }


    .font_more a {
        width: 108px;
        text-align: center;
        box-sizing: border-box;
        padding: 0;
        line-height: 2;
    }



    .login_scan {
        width: 100vw;
    }

    .login_box {
        padding: .4rem;
        font-size: .22rem;
        line-height: .3rem;
    }

    .login_box img {
        margin-bottom: .2rem;
        width: 2rem;
    }

    /* 字体产品 */

    .font_filter {
        margin: 0;
    }

    .font_class {
        flex-wrap: wrap;
        justify-content: space-between;
        flex: 1;
        width: 100%;
        text-align: center;
    }

    .font_input {

        margin-bottom: 20px;
    }

    .font_show_type img {
        width: 28px;
    }

    .font_sort
    {
        display: none;
    }

    .font_search{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-content: center;
    }

    .font_search2{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }

    .font_keywords {
        /*
        line-height: 40px;
        */
        font-size: 14px;
        font-weight: bold;
        margin: 0px 0px 20px 0px;
    }

    .font_query{
        /* display: none;*/
        width: 100%;
        flex: 1;
    }

    .font_query input{
        height: 35px;
        width: 70%;
        padding: 0px 5px;
    }

    .font_query button{
        height: 35px;
        width: 30%;
        font-size: 18px;
    }


    .font_class a {
        padding: 0 .15rem;
        line-height: 26px;
        margin-bottom: .1rem;
        margin-right: 3px;
        width: 19%;
        font-size: 12px;
    }

    .font_list {
        padding: 0 0 .6rem;
    }

    .font_list.block{
        margin: 0px -15px;
    }

    .font_list.block .font_li {
        width: 50%;
        height: auto;
        padding: 0px 15px;
        margin-bottom: 15px;
    }

    .font_list.block .font_li img {
        width: 100%;
        height: calc(50vw*54/77 - 30px*54/77);
        /* height: auto;*/
        /*margin-bottom: 6px;*/
    }

    .font_li section {
        flex-direction: column;
    }

    .font_li section img.preview_image {
        /*width: 5rem;*/
        max-width: 100%;
        width:100%;
        height: auto;
        margin-bottom: .2rem;
    }


    .font_li section .preview_p {
        font-size: 30px;
        padding: 10px 0px;
        margin-bottom: 10px;
    }

    .font_li section>p.preview_p {
        max-width: 100%;
        padding-bottom: 10px;
    }
    .font_inner .font_li section>p.preview_p {
        max-width: 100%;
    }




    .font_li section aside {
        justify-content: flex-start;
    }

    .font_li section aside a {
        height: auto;
        padding: 5px 12px;
        font-size: 12px;
        font-weight: normal;
    }
    .font_list .font_li .fonts_ctrl{
        display: none;
    }

    .font_list .font_li .fonts_ctrl.fonts_ctrl_open{
        display: flex;
        margin-bottom: 20px
    }

    .font_li section aside .download_a {
        display: none;
    }

    .font_li section aside .detail_a {
        display: none;
    }

    .font_li section aside .collect_a {
        display: none;
    }

    .font_li section aside .font_more {
        margin-bottom: 10px;
    }


    .font_li .font_collect {
        display: none;
    }

    .font_li section {
        padding-bottom: .3rem;
        margin-bottom: .3rem;
    }

    .font_right>b {
        font-size: .4rem;
        color: #ffffff !important;

    }

    .font_inner {
        /*padding-left: .6rem;*/
    }

    .collectbtn{
        display: none;
    }

    .fontDesc .collect,.fontDesc .download{
        display: none;
    }

    .fontDesc .download_time2{
        display: none;
    }



    .nav>li.lastchild{
        display: none;
    }



}