/*全局*/
body{
    background-color: #fbfbfb!important;
}
/*flex布局*/
.jy-flex{
    display: flex;
}
.jy-flex-spaceBetween{
    justify-content: space-between;
}
.jy-flex-alignItemsCenter{
    align-items: center;
}
.jy-flex-auto{
    flex: auto;
}

/*背景色*/
.jy-bg-white{
    background-color: #fff;
}
.jy-bg-grey{
    background-color: grey;
}

/*字体色*/
.jy-color-grey{
    color: grey;
}
.jy-color-gray{
    color: gray;
}
.jy-color-dimgray{
    color: dimgray;
}
.jy-color-white{
    color: #fff;
}

/*字体位置*/
.jy-text-left{
    text-align: left;
}
.jy-text-center{
    text-align: center;
}
.jy-text-right{
    text-align: right;
}


/*标题*/
.jy-title-left-border{
    font-size: 24px;
    margin: 30px 0;
    position: relative;
}
.jy-title-left-border:before{
    content: '';
    background-color: #5b72c7;
    width: 3px;
    height: calc(100% - 10px);
    position: absolute;
    left: -15px;
    top: 5px;
}
.jy-title-btm-border{
    display: inline-block;
    font-size: 18px;
    padding: 10px;
    border-bottom: 1px solid rgb(124 155 229);
    margin-bottom: 30px;
    font-weight: bold;
}
.jy-w-auto{
    width: 100%;
}

/*文本超出缩略显示*/
.jy-nowrap-ellipsis{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    /*padding-right: 15px;*/
}
/*超出滚动条*/
.jy-overflow-auto{
    white-space: nowrap;
    overflow: auto;
    width: 100%;
}
.jy-nowrap-ellipsis .row1{
    -webkit-line-clamp: 1;
}
.jy-nowrap-ellipsis .row2{
    -webkit-line-clamp: 2;
}
/*banner容器（除首页）*/
.jy-banner{
    height: 500px;
    background: #eee;
}


.jy-banner img{
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
}
/*图片自适应*/
.object-fit.cover img{
    object-fit: cover;
}
/*转行内样式*/
.inlineBox{
    display: inline-block;
    position: relative;
}

/*主按钮*/
.jy-main-button{
    min-width: 100px;
    min-height: 46px;
    line-height: 46px;
    font-size: 15px;
    border-radius: 10px;
    background: linear-gradient(#4ccee7, #5964fb);
    display: inline-block;
    color: #fff;
    cursor: pointer;
}
/*a按钮*/
.jy-button{
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    background: #bdbdbd;
    color: #333;
    transition: box-shadow .3s;
}
.jy-button:hover{
    opacity: .7;
    box-shadow: 1px 3px 8px 0px #dfdfdf;
}
.jy-button.a-btn{
    background: #48a2e5;
    color: #fff;
}
/*内间距*/
.jy-padding{
    padding: 15px;
}
.jy-padding-top-xs{
    padding-top: 5px;
}
.jy-padding-top-sm{
    padding-top: 10px;
}
.jy-padding-top-md{
    padding-top: 15px;
}
.jy-padding-top-lg{
    padding-top: 20px;
}
/*外间距*/
.jy-margin{
    margin: 15px;
}
.jy-margin-right-xs{
    margin-right: 5px;
}
.jy-margin-right-sm{
    margin-right: 10px;
}
.jy-margin-right-md{
    margin-right: 15px;
}
.jy-margin-right-lg{
    margin-right: 20px;
}
.jy-margin-left-xs{
    margin-left: 5px;
}
.jy-margin-left-sm{
    margin-left: 10px;
}
.jy-margin-left-md{
    margin-left: 15px;
}
.jy-margin-left-lg{
    margin-left: 20px;
}
.jy-margin-top-xs{
    margin-top: 5px;
}
.jy-margin-top-sm{
    margin-top: 10px;
}
.jy-margin-top-md{
    margin-top: 15px;
}
.jy-margin-top-lg{
    margin-top: 20px;
}
.jy-margin-bottom-xs{
    margin-top: 5px;
}
.jy-margin-bottom-sm{
    margin-bottom: 10px;
}
.jy-margin-bottom-md{
    margin-bottom: 15px;
}
.jy-margin-bottom-lg{
    margin-bottom: 20px;
}
.jy-margin-clear-bottom{
    margin-bottom: 0;
}

/* 交互 */
.jy-hover{
    transition: transform .2s;
    cursor: pointer;
}
.jy-hover:hover{
    transform: scale(1.02,1.02);
}


/*加载接口时的占位图*/
.loading{
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading .logo{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .3;
    animation: logo .8s infinite linear alternate;
}
@keyframes logo {
    to{
        transform: scale(1,1);
    }
    from{
        transform: scale(.9,.9);
    }
}

@media (max-width: 414px) {
    .jy-banner{
        height: 220px;
    }
}
@media (max-width: 1200px) {
    .jy-title-left-border {
        font-size: 20px;
        margin: 15px;
    }
}

/*动画*/
.delay02{
    animation-delay: .2s;
}