.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;
            }
            .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;
            }
            .box_right {
                width: 240px;
                padding: 10px;
                img{
                    width: 20px;
                    float: left;
                }
                p{
                    width: 160px;
                    text-align: center;
                    color:#28a8e0;
                    float: left;
                    margin-bottom: 5px;
                    font-size: 20px;
                    font-weight: bold;
                }
            }
            .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;
                .row.title {
                    padding: 0 15px 15px 15px;
                    font-weight: bold;
                    color: #666;
                    font-size: 14px;
                }
                .box.border{
                    border: 3px solid #28a8e0 !important;
                    .list_div{
                        cursor:auto;
                        .card_duration{
                            padding: 22px 20px;
                        }
                    }
                }
                .card.box:last-child {
                    margin: 0;
                }
                .box{
                    cursor:auto;
                    background-color: transparent;
                    // border: 2px solid #28a8e0;
                    .list_div{
                        .card_img{
                            img{
                                background-color: #28a8e0;
                            }
                        }
                        .card_cont{
                            width: calc(100% - 450px);
                            text-align: left;
                            border-top: 0;
                            // border-right: 1px solid #ccc;
                            h6 {
                                font-size: 20px;
                                font-weight: bold;
                                color: #28a8e0;
                            }
                            p{
                                margin: 0;
                            }
                        }
                        .card_duration {
                            width: 250px;
                            float: left;
                            padding: 8px 20px;
                            border-right: 1px solid rgba(0, 51, 77, 0.5);
                            border-left: 1px solid rgba(0, 51, 77, 0.5);
                            p{
                                margin-bottom: 10px;
                                color: #28a8e0;
                                font-weight: bold;
                                font-size: 14px;
                            }
                        }
                        .trophy.border{
                            border-left: 1px solid #28a8e0;
                            border-right:none !important;
                            border-top:none !important;
                            border-bottom: none !important;
                        }
                        .trophy {
                            float: right;
                            width: 100px;
                            height: 100%;
                            .trof{
                                position: relative;
                                text-align: center;
                                .count{
                                    position: absolute;
                                    top: 20px;
                                    font-size: 14px;
                                    font-weight: bold;
                                    left: 8px;
                                    right: 0;
                                    margin: auto;
                                    background: #ddd;
                                    border: 1px solid #ddd;
                                    color: #fff;
                                    background: #28a8e0;
                                    padding: 7px;
                                    border-radius: 5px;
                                    cursor: pointer;
                                }
                                img {
                                    width: 45px;
                                    margin-top: 10px;
                                }
                            }
                            p{
                                font-size: 16px;
                                font-weight: bold;
                                text-align: center;
                            }
                        }
                    }
                }
            }
        }
        .training_right {
            width: 360px;
            float: left;
            height: 100%;
            margin-top: 66px;
            margin-left: 20px;
        }
    }
    .input-group.mb-3 {
        float: left;
        width: 180px;
        padding: 20px 10px;
        .input-group-prepend{
            h6 {
                width: 70px;
                float: left;
                padding-top: 15px;
                font-size: 12px;
                font-weight: bold;
                text-align: right;
                padding-right: 6px;
            }
            button.btn.btn-outline-secondary.dropdown-toggle {
                border-radius: 30px;
                color: #666;
                margin-top: 3px;
                font-size: 14px;
                width: 120px;
                height: 40px;
            }
            button.btn.btn-outline-secondary.dropdown-toggle p {
                width: calc(100% - 20px);
                margin: 0;
            }
            .dropdown-toggle::after{
                position: absolute;
                top: 0;
                bottom: 0;
                margin: auto;
                right: 7px;
            }
            .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle{
                background-color: #28a8e0;
                color:#fff;
            }
            .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-secondary.dropdown-toggle:focus{
                box-shadow: none !important;
            }
            .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show>.btn-outline-secondary.dropdown-toggle{
                background-color: #28a8e0;
                color:#fff;
            }
            .btn.focus, .btn:focus{
                box-shadow: none !important;
                background-color: #28a8e0 !important;
                color:#fff !important;
            }
            .btn-outline-secondary:hover{
                background-color: #28a8e0 !important;
                color:#fff !important;
            }
            .dropdown-menu{
                top:5px !important;
                left: -18px !important;
                cursor: pointer;
                padding: 0 10px;
                .dropdown-item{
                    border-bottom: 1px solid #ccc;
                    padding:5px;
                    padding-left: 30px;
                    position: relative;
                    img{
                        width: 20px;
                        margin-top: -5px;
                        margin-right: 5px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                    }
                    p{
                        margin-bottom: 0;
                        font-size: 14px;
                    }
                }
                .dropdown-item:last-child{
                    border-bottom: none !important;
                }
            }
            .dropdown-menu:before {
                width: 10px;
                height: 10px;
                position: absolute;
                content: "";
                background: #fff;
                transform: rotate(45deg);
                top: -3px;
                left: 0;
                right: 0;
                margin: auto;
                box-shadow: -2px -2px 0px -1px #ccc;
                z-index: -7;
            }
        }
    }
}

.list_div{
    height: 100%;
}
@media screen and (max-width: 1024px) {
    .mytraining{
        height: calc(100% - 60px);
        .training_in{
            .training_left{
            //     .box_right:last-child{
            //         width: 170px;
            //    }
               .left_card{
                   .box{
                         padding: 10px;
                       .list_div{
                            .card_cont{
                                width: calc(100% - 305px);
                                padding: 7px;
                                border-right: 1px solid rgba(0, 51, 77, 0.5);
                                p{
                                    font-size: 10px;
                                }
                            }
                            .card_duration{
                                width: 105px;
                                padding:10px;
                                text-align: center;
                                border: none;
                                p{
                                    font-size: 10px;
                                    margin-bottom:2px;
                                }
                            }
                            .trophy {
                                border-left: 1px solid rgba(0, 51, 77, 0.5) !important;
                            }
                       }
                   }
                   .box.border{
                       .list_div{
                           .card_cont{
                                padding: 6px;
                           }
                       }
                   }
               }
            }
        }
    }
}