.myassessment{
    width: 100%;
    height:calc(100% - 85px);
    .training_in:before{
        position: absolute;
        width:100%;
        content:"";
        height:100%;
        background-image: url("assets/img/assessment_back.jpg");
        top:0;
        left:0;
        opacity: 0.2;
    }
    .training_in {
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        width: 100%;
        height: 100%;
        float: left;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 20px;
        .training_left {
            // width: calc(100% - 400px);
            width:950px;
            margin: auto;
            height: 100%;
            .nav-tabs{
                border-bottom:0;
            }
            .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
                color: #28a8e0;
                background-color: transparent;
                border-color: #28a8e0;
                border-bottom: 2px solid #28a8e0;
                border-left:none;
                border-right:none;
                border-top:none;
            }
            .nav-tabs .nav-link {
                border-bottom: 2px solid transparent;
                border-left:none;
                border-right:none;
                border-top:none;
                margin: .5rem 1rem;
                padding:.5rem 0;
                color: #999;
                font-weight: 700;
                cursor: pointer;
            }
            .left_card {
                width: 100%;
                height: auto;
                background-color: #fff;
                box-shadow: 0 0 2px 2px #ccc;
                height: calc(100% - 40px);
                overflow-y: scroll;
                overflow: hidden;
            }
        }
        .training_right {
            width: 360px;
            float: left;
            height: 100%;
            margin-top: 48px;
            margin-left: 40px;
        }
    }
}
.assesment_cont {
    width: 100%;
    float: left;
}
.box.assessment_box {
    min-height: 100px;
    width: 100%;
    float: left;
    .card_cont {
        float: left;
        width: calc(100% - 300px);
        padding: 10px;
        position: relative;
        padding: 5px;
        .note{
            position: inherit;
        }
        h3{
            border-bottom: transparent;
            color: #333;
            font-size: 16px;
        }
    }
    .card_img{
        // border-right: 1px solid #28a8e0;
 img {
        width: 50px;
        float: left;
        height: 50px;
        border-right: 1px solid #28a8e0;
        // position: inherit;
    }
    p{
        font-size: 72px;
        line-height: 1;
        font-weight: bold;
        opacity: 0.2;
        margin: 0;
    }
}
     .card_img .over_img {
        position: inherit;
        top: 0;
        width: 90px;
        height: 90px;
        bottom: 0;
        left: 0;
        right: 20px;
        margin: auto;
        background-color: #28a8e0;
        border-radius: 50%;
        border: 5px solid transparent;
    }
    .card_icon{
        border-right: 1px solid #28a8e0;
        float: left;
        width: calc(100% - 680px);
        padding: 10px;
        position: relative;
        img{
            width: 50px;
            height: 50px;
            vertical-align: middle;
            border-style: none;

        }
    }

}
.button_sub {
    position: absolute;
    bottom: 120px;
    right: 0;
}
.card_time {
    position: absolute;
    right: 30px;
    top: 10px;
    width: 150px;
    box-shadow: 0 0 1px 1px #ccc;
    text-align: center;
    padding: 10px;
    h2{
        font-size: 30px;
        margin-bottom: 0;
    }
    p{
        margin: 0;
        font-size: 18px;
        color: #666;
    }
}
.question_list{
    width: 80%;
    margin: auto;
    ul{
        width: 100%;
        padding-left: 18px;
        li{
            padding: 5px;
            width: fit-content;
            input[type="radio"] {
                margin-top: 6px;
                margin-left: -50px;
                margin-right: 20px;
            }
            .input-group{
                border: none;
            }
        }
    }
}
.result {
    position: absolute;
    // background-color: green;
    width: 100%;
    height: 60px;
    bottom: 50px;
    left: 0;
    p{
        width: 310px;
        margin: 10px auto;
        color: #fff;
        font-size: 18px;
        height: 40px;
        line-height: 2.5;
        img{
            width: 35px;
            margin-right: 20px;
            margin-top: -8px;
        }
    }
}
.result.green{
    background-color: green;
    .incorrect{
        // display:none;
    }
}
.result.red{
    background-color: #961111;
    .correct{
        // display:none;
    }
}
// .green{
//     background-color: green;
// }
// .red{
//     background-color: red;
// }
// .pagination_bg {
//     position: absolute;
//     bottom: 0;
//     height: 100px;
//     left: 0;
//     right: 0;
//     margin: auto;
//     width: 70%;
//     border-top: 3px solid #ccc;
//     .left_arrow, .right_arrow{
//         position: absolute;
//         top:0;
//         bottom: 0;
//         margin: auto;
//         height: 40px;
//         img{
//             width: 40px;
//         }
//     }
//     .left_arrow{
//         left:0;
//     }
//     .right_arrow{
//         right:0;
//         img{
//             transform: rotate(180deg);
//         }
//     }
//     .page_section {
//         width: 200px;
//         margin: 10px auto;
//         text-align: center;
//         font-size: 50px;
//     }
// }

.pagination_bg{
    width: 100%;
    left: 0;
    bottom:0;
    position: absolute;
    text-align: center;
  }
  .pagination_bg .preview_btn {
    left: 0;
  }
  .pagination{
    max-width: 80%;
    margin: auto;
    overflow: scroll;
    display: inline-flex;
    li{
        background-color: #ccc;
        border-radius: 50%;
        margin: 0 5px;
    }
  }
  .pagination_bg .next_btn {
    right: 0;
  }
  .pagination a {
    color: black;
    float: left;
    padding: 8px 0;
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}
pagination-controls /deep/ .ngx-pagination .current {
  background-color: #fff!important;
  color: #ffcc33 !important;
  padding: 4px 13px;
  border: 1px solid;
}
pagination-controls /deep/ .ngx-pagination a, .ngx-pagination button{
  padding: 4px 13px;
}

.def_btn.primary{
    background-color:#28a8e0 !important;
    color:#fff;
  }
.def_btn.primary{
    margin-right: 24px;
}
.next_arw{
    img{
        transform: rotate(180deg);
    }
}
.pagination[_ngcontent-c1] a[_ngcontent-c1]:hover:not(.active) {
    background-color:#28a8e0;
    border-radius: 50%;
    color: #fff !important;
}
.pagination a.active, .pagination a.active:hover, .pagination a.active:focus {
    background-color:#28a8e0;
    border-radius: 50%;
    color: #fff !important;
}
.alert{
    position: absolute;
    bottom: 20px;
    left: 0;
    width: auto;
    line-height: 0.5;
    p{
        display: -webkit-inline-box;
        color: red;
        line-height: 1;
    }
}
.input-group{
    border-bottom: 1px solid black;
    //padding-right: 100px;
}
.btn.fixed{
    width: 120px;
    height: 40px;
    line-height: 0;
}
@media screen and (max-width: 1024px) {
    .myassessment{
        height: calc(100% - 60px);
        .radio input[type="radio"]:checked + span:before{
            left: 0;
        }
    }
}

.manda{
    position: ABSOLUTE;
    top: 63px;
}

.radio span:after {
    left: -5px !important;
    top: 1px !important;
}