.mytraining{
    width: 100%;
    height:calc(100% - 85px);
    // background-image: url("/assets/img/slider2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    // position: relative;
    .training_in {
        width: 100%;
        height: 100%;
        float: left;
       // background-color: #f2f2f2;
       padding: 0 20px 20px 20px;
        .training_left {
            width: calc(100% - 380px);
            float: left;
            height: 100%;
            margin-top: 8px;
            .nav-tabs{
                border-bottom:0;
                text-transform: uppercase;
            }
            .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;
                font-size: 12px;
            }
            .left_card {
                width: 100%;
                height: auto;
                background-color: #fff;
                box-shadow: 0 0 2px 2px #ccc;
                padding: 20px;
                height: calc(100% - 60px);
                overflow-y: scroll;
            }
        }
        .training_left_bb{
            width: 100%!important;
        }
        .training_right {
            width: 360px;
            float: left;
            height: 100%;
            margin-top: 27px;
            margin-left: 20px;
        }
    }
}

.list_div{
    // height: 100%;
}
.card .card_img img{
    height:70% !important;
}
@media screen and (max-width: 1024px) {
    .card{
        width: 31.6%;
    }
    .card:nth-child(4n) {
        margin-right: 2.5%;
    }
    .card:nth-child(3n) {
        margin-right: 0;
    }
    .mytraining{
        height: calc(100% - 60px);
    }
}
.card .card_img img{
  height:auto;
}


div#myTabContent {
    width: 100%;
    float: left;
}

.tab-content>.tab-pane{
    width: 100%;
    float: left;
}


.card_traning {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    width: 33.3%;
    padding: 10px;
    float: left;
    margin-bottom: 2.5%;
    cursor: pointer;
 
.list_div {
      -webkit-box-shadow: 0 0 2px 2px #f2f2f2;
    box-shadow: 0 0 2px 2px #f2f2f2;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

.card_img{
    padding: 10px;
    max-width:100%;
    max-height: 100%;
  
    img{
        width:100%;
    height: 150px;
    object-fit: contain;
        
    
    }
}
.card_cont {
    text-align: center;
    padding: 20px 0px;
    border-top: 1px solid #ccc;
    p{
        margin:0px!important;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}
}
.progress_bg{
    margin-bottom: 10px;
    .progress{
        height: 20px;
        .prog{
            font-size: 12px;
            height: 21px;
            margin: 0;
        }
    }
}
.card_cont{
    .progress_bg{
        padding: 10px 15px 0 15px;
        margin: 0;
    }
}

.nav.nav-tabs{
    width: 70%;
    float: left;
}
.progress_bg.top{
    margin: 10px 0;
}
.progress_bg{
    .progress-bar.green{
        background-color: #32CD32;
        font-weight: bold;
    }
    .progress-bar.amber{
        background-color: #FFBF00 ;
        font-weight: bold;
    }
}
.progress_bg{
    .progress-bar.zero{
        background-color: #e9ecef;
        color: #C0C0C0;
        padding-left: 5px;
        font-weight: bold;
    }
}

.nav.nav-tabs{
    width: 70%;
    float: left;
}
.progress_bg.top{
    margin: 10px 0;
}
.progress_bg{
    .progress-bar{
        background-color: #003d58;
    }
}
.progress_bg{
    .form-group{
        max-width: 200px;
        display: inline-block;
    }
}


@media screen and (max-width: 1024px) {
    .card_traning {
        width:100% !important;
    }

}
@media screen and (max-width: 768px) {
.mytraining {
    position: absolute !important;
    top: 55px !important;
}

}