@import "projects/learner-center/src/style/variables";
.my-certificate{
    position: relative;
    .query-input{
        position: absolute;
        right: 15px;
        top: -42px;
        width: 266px;
        height: 34px;
        background: #fff;
        display: flex;
        border: 1px solid $line-color;
        padding: 0 15px;
        margin-right: 10px;
        input{
            width: 214px;
            border: 0;
            border: none;
            outline: none;
            padding-right: 10px;
        }
        i{
            font-size: 16px;
            color: #b3b3b5;
            cursor: pointer;
            margin-top: 4px;
        }
    }
    .filter-box{
        border-bottom: 1px solid #e7e7e7;
        height: 49px;
        width: 900px;
        margin: 0 auto;
        .filters-a{
            height: 100%;
            line-height: 49px;
            >span{
                height: 100%;
                display: inline-block;
                margin-right: 28px;
                cursor: pointer;
                .divide-line{
                    color: #e3e3e3;
                }
                &:last-child{
                    margin-right: 0;
                }
            }
        }
        .selected{
            border-bottom: 2px solid $primary-color;
            height: 49px !important;
            color: $primary-color;
        }
    }
    .list{
        padding: 26px;
        padding-bottom: 0;
        >lui-single-certificate{
            display: inline-block;
            margin-right: 30px;
            margin-bottom: 20px;
            &:nth-child(3n){
                margin-right: 0;
            }
        }
    }
    .list-page{
        padding: 15px 0 35px;
        text-align: center;
    }
}

::ng-deep{
    .certifice-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        .ant-modal{
            width: 900px !important;
            top: 0;
            
            display: flex;
            align-items: center;
            justify-content: center;
            .ant-modal-content {
                border-radius: 0;
                .ant-modal-body {
                    padding: 0;
                }
            }
            .certificate{
                
                >img{
                    max-width: 100%;
                    max-height: 95vh;
                }
            } 
        }
    }
}
:host ::ng-deep {
    .list-page {
        padding: 15px 0 40px;
    }
}