﻿
/*timeline css starts*/
.kyc-timeline h1 {
    text-align: center;
    height: 38px;
    margin: 60px 0;
}
    
.kyc-timeline h1 span {
        white-space: nowrap;
    }

.kyc-timeline .flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.kyc-timeline .input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80vw;
    height: 50px;
    max-width: 1000px;
    position: relative;
    z-index: 0;
}

.kyc-timeline .input {
    width: 25px;
    height: 25px;
    background-color: #0e396f;
    position: relative;
    border-radius: 50%;
}

    .kyc-timeline .input:hover {
        cursor: pointer;
    }

    .kyc-timeline .input::before, .kyc-timeline .input::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 50%;
        transform: translateY(-50%);
        background-color: #0e396f;
        width: 4vw;
        height: 5px;
        max-width: 60px;
    }

    .kyc-timeline .input::before {
        left: calc(-4vw + 6.5px);
    }

    .kyc-timeline .input::after {
        right: calc(-4vw + 2.5px);
    }

    .kyc-timeline .input.active {
        background-color: #0e396f;
    }

        .kyc-timeline .input.active::before {
            background-color: #0e396f;
        }

        .kyc-timeline .input.active::after {
            background-color: #0e396f;
        }

        .kyc-timeline .input.active span {
            font-weight: 700;
        }

            .kyc-timeline .input.active span::before {
                font-size: 13px;
            }

            .kyc-timeline .input.active span::after {
                font-size: 13px;
            }

        /*.kyc-timeline .input.inactive ~ .input, .input.inactive ~ .input::before, .input.inactive ~ .input::after {
            background-color: #AEB6BF;
        }*/
    .kyc-timeline .input.inactive::before, .kyc-timeline .input.inactive::after {
        background-color: #AEB6BF;
    }
    .kyc-timeline .input span {
        width: 1px;
        height: 1px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        visibility: hidden;
    }

        .kyc-timeline .input span::before, .input span::after {
            visibility: visible;
            position: absolute;
            left: 50%;
            transform: translate(-30px, -5px);
        }

        .kyc-timeline .input span::after {
            content: attr(data-year);
            top: 25px;
            transform: translateX(-50%);
            font-size: 14px;
            color:darkorange;
        }

        .kyc-timeline .input span::before {
            content: attr(data-info);
            top: -40px;
            width: 100px;
            /*transform: translateX(-5px);*/ /*rotateZ(-45deg);*/
            font-size: 12px;
            text-indent: -10px;
        }

.kyc-timeline .description-flex-container {
    width: 80vw;
    font-weight: 400;
    font-size: 22px;
    margin-top: 100px;
    max-width: 1000px;
}

    .kyc-timeline .description-flex-container p {
        margin-top: 0;
        display: none;
    }

        .kyc-timeline .description-flex-container p.active {
            display: block;
        }

.kyc-timeline {
    margin: 50px 0;
}

@media (min-width: 1440px) {
    .kyc-timeline .input::before {
        left: -60.5px;
    }

    .kyc-timeline .input::after {
        right: -58.5px;
    }
}
@media (max-width:1200px){
    .kyc-timeline .input-flex-container{
        max-width:800px;
    }
    .position-absolute.tracker{
        left:-30px;
    }
}

@media (max-width: 850px) {
    .kyc-timeline .input {
        width: 17px;
        height: 17px;
    }

        .kyc-timeline .input::before, .input::after {
            height: 3px;
        }

        .kyc-timeline .input::before {
            left: calc(-4vw + 8.5px);
        }

        .kyc-timeline .input::after {
            right: calc(-4vw + 1.5px);
        }
}

@media (max-width: 600px) {
    .kyc-timeline .flex-parent {
        justify-content: initial;
    }

    .kyc-timeline .input-flex-container {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        height: auto;
        margin-top: 0;
    }

    .kyc-timeline .input {
        width: 60px;
        height: 60px;
        margin: 0 10px 50px;
        background-color: #AEB6BF;
    }

        .kyc-timeline .input::before, .input::after {
            content: none;
        }

        .kyc-timeline .input span {
            width: 100%;
            height: 100%;
            display: block;
        }

            .kyc-timeline .input span::before {
                top: calc(100% + 5px);
                transform: translateX(-50%);
                text-indent: 0;
                text-align: center;
            }

            .kyc-timeline .input span::after {
                top: 50%;
                transform: translate(-50%, -50%);
                color: #ECF0F1;
            }

    .kyc-timeline .description-flex-container {
        margin-top: 30px;
        text-align: center;
    }
  
}

/*.md-card-content.bankdashboard-wrap {
    padding: 16px 0;
}*/
button#btnRefreshPanKYC_0 {
    margin-top: 0;
}

element.style {
}

div#divAadhaarOtp_0 {
    margin: 0;
}

.kyc-timeline .input.inactive {
    background-color: #AEB6BF;
}
/*timeline css ends*/

.position-absolute.tracker {
    transform: rotate( -90deg );
    top: 0;
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #0e396f;
    left:-45px;
}
@media (max-width:767px){
    .position-absolute.tracker {
        transform: translate(0);
        left: 0;
        top: -30px;
    }
}
/*@media (max-width: 1336px){
    .kyc-timeline .input::before {
        left: -53.5px;
    }

    .kyc-timeline .input::after {
        right: -54.5px;
    }
}*/