﻿body {
    background: #e9e9e9;
    color: #666;
    font-family: 'RobotoDraft','Roboto',sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.pen-title {
    padding: 50px 0;
    text-align: center;
    letter-spacing: 2px
}

    .pen-title h1 {
        margin: 0 0 20px;
        font-size: 48px;
        font-weight: 300
    }

    .pen-title span {
        font-size: 12px
    }

        .pen-title span .fa {
            color: #ed2553
        }

        .pen-title span a {
            color: #ed2553;
            font-weight: 600;
            text-decoration: none
        }

.rerun {
    margin: 0 0 30px;
    text-align: center
}

    .rerun a {
        cursor: pointer;
        display: inline-block;
        background: #ed2553;
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        -webkit-transition: .3s ease;
        transition: .3s ease
    }

        .rerun a:hover {
            box-shadow: 0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)
        }

#codepen, #portfolio {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #363636;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    -webkit-transition: .3s ease;
    transition: .3s ease;
    color: #fff;
    text-align: center
}

    #codepen i, #portfolio i {
        line-height: 56px
    }

    #codepen:hover, #portfolio:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23)
    }

#portfolio {
    bottom: 96px;
    right: 36px;
    background: #ed2553;
    width: 44px;
    height: 44px;
    -webkit-animation: buttonFadeInUp 1s ease;
    animation: buttonFadeInUp 1s ease
}

    #portfolio i {
        line-height: 44px
    }

.container.active .card:first-child {
    background: #f2f2f2;
    margin: 0 15px
}

.container.active .card:nth-child(2) {
    background: #fafafa;
    margin: 0 10px
}

.container.active .card.alt {
    top: 20px;
    right: 0;
    width: 100%;
    min-width: 100%;
    height: auto;
    border-radius: 5px;
    padding: 60px 0 40px;
    overflow: hidden
}

    .container.active .card.alt .toggle {
        position: absolute;
        top: 40px;
        right: -70px;
        box-shadow: none;
        -webkit-transform: scale(10);
        transform: scale(10);
        -webkit-transition: -webkit-transform .3s ease;
        transition: -webkit-transform .3s ease;
        transition: transform .3s ease;
        transition: transform .3s ease,-webkit-transform .3s ease
    }

        .container.active .card.alt .toggle:before {
            content: ''
        }

    .container.active .card.alt .title, .container.active .card.alt .input-container, .container.active .card.alt .button-container {
        left: 0;
        opacity: 1;
        visibility: visible;
        -webkit-transition: .3s ease;
        transition: .3s ease
    }

    .container.active .card.alt .title {
        -webkit-transition-delay: .3s;
        transition-delay: .3s
    }

    .container.active .card.alt .input-container {
        -webkit-transition-delay: .4s;
        transition-delay: .4s
    }

        .container.active .card.alt .input-container:nth-child(2) {
            -webkit-transition-delay: .5s;
            transition-delay: .5s
        }

        .container.active .card.alt .input-container:nth-child(3) {
            -webkit-transition-delay: .6s;
            transition-delay: .6s
        }

    .container.active .card.alt .button-container {
        -webkit-transition-delay: .7s;
        transition-delay: .7s
    }

/*otp div start*/
.card1 {
    position: absolute;
    background: #fff;
    border-radius: 5px;
    padding: 28px 0 40px 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    -webkit-transition: .3s ease;
    transition: .3s ease;
    width: 30%;
    margin-left: 0%;
}

    .card1:first-child {
        background: #f4b01b;
        height: 10px;
        border-radius: 5px 5px 0 0;
        margin: -7px 10px;
        padding: 0;
        border-top: 1px solid #9da9f1;
        border-left: 1px solid #9da9f1;
        border-right: 1px solid #9da9f1;
        width: 21.7%;
        margin-left: 5.5%;
    }
/*otp div end*/


.card {
    position: relative;
    background: #fff;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    -webkit-transition: .3s ease;
    transition: .3s ease;
    margin-left: 5%;
    width: 80%;
    padding: 10px 0px;
}

    .card:first-child {
        background: #f4b01b;
        height: 11px;
        margin-left: 5.5% !important;
        border-radius: 5px 5px 0 0;
        margin: -7px 10px;
        padding: 0;
        border-top: 1px solid #9da9f1;
        border-left: 1px solid #9da9f1;
        border-right: 1px solid #9da9f1;
        width: 78.7%;
    }

    .card .title {
        position: relative;
        z-index: 1;
        border-left: 5px solid #ca272c;
        margin: 10px 0 10px;
        padding: 10px 0 0 50px;
        color: #ca272c;
        font-size: 32px;
        font-weight: 600;
        text-transform: uppercase
    }

    .card .input-container {
        position: relative;
        margin: 0 60px 40px
    }

        .card .input-container input {
            outline: none;
            z-index: 1;
            position: relative;
            background: none;
            width: 100%;
            height: 60px;
            border: 0;
            color: #9d9d9d;
            font-size: 18px;
            font-weight: 400;
            text-align: left
        }

            .card .input-container input:focus ~ label {
                color: #9d9d9d;
                -webkit-transform: translate(-12%,-50%) scale(.75);
                transform: translate(-12%,-50%) scale(.75)
            }

            .card .input-container input:focus ~ .bar:before, .card .input-container input:focus ~ .bar:after {
                width: 50%
            }

            .card .input-container input:valid ~ label {
                color: #9d9d9d;
                -webkit-transform: translate(-12%,-72%) scale(.75);
                transform: translate(-12%,-72%) scale(.75)
            }

        .card .input-container label {
            position: absolute;
            top: 0;
            left: 0;
            color: #757575;
            font-size: 18px;
            font-weight: 300;
            line-height: 60px;
            -webkit-transition: .2s ease;
            transition: .2s ease
        }

        .card .input-container .bar {
            position: absolute;
            left: 0;
            bottom: 0;
            background: #757575;
            width: 100%;
            height: 1px
        }

            .card .input-container .bar:before, .card .input-container .bar:after {
                content: '';
                position: absolute;
                background: #ed2553;
                width: 0;
                height: 2px;
                -webkit-transition: .2s ease;
                transition: .2s ease
            }

            .card .input-container .bar:before {
                left: 50%
            }

            .card .input-container .bar:after {
                right: 50%
            }

    .card .button-container {
        text-align: center;
        width: 32%;
        float: left;
        background-color: #ca272c;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px
    }

        .card .button-container button {
            outline: 0;
            cursor: pointer;
            position: relative;
            display: inline-block;
            background: 0;
            width: 100%;
            padding: 0 0;
            font-size: 24px;
            font-weight: 600;
            line-height: 1;
            text-transform: uppercase;
            overflow: hidden;
            -webkit-transition: .3s ease;
            transition: .3s ease
        }

            .card .button-container button span {
                position: relative;
                z-index: 1;
                color: #ddd;
                -webkit-transition: .3s ease;
                transition: .3s ease
            }

            .card .button-container button:before {
                content: '';
                position: absolute;
                display: block;
                background: #ed2553;
                width: 100%;
                height: auto;
                border-radius: 100%;
                opacity: 0;
                -webkit-transition: .3s ease;
                transition: .3s ease
            }

            .card .button-container button:hover, .card .button-container button:active, .card .button-container button:focus {
                border-color: #ed2553
            }

                .card .button-container button:hover span, .card .button-container button:active span, .card .button-container button:focus span {
                    color: #ed2553
                }

                .card .button-container button:active span, .card .button-container button:focus span {
                    color: #fff
                }

                .card .button-container button:active:before, .card .button-container button:focus:before {
                    opacity: 1;
                    -webkit-transform: scale(10);
                    transform: scale(10)
                }

    .card .footer {
        margin: 40px 0 0;
        color: #d3d3d3;
        font-size: 24px;
        font-weight: 300;
        text-align: center
    }

        .card .footer a {
            color: inherit;
            text-decoration: none;
            -webkit-transition: .3s ease;
            transition: .3s ease
        }

            .card .footer a:hover {
                color: #bababa
            }

    .card.alt {
        position: absolute;
        top: 40px;
        right: -70px;
        z-index: 10;
        width: 140px;
        height: 140px;
        background: none;
        border-radius: 100%;
        box-shadow: none;
        padding: 0;
        -webkit-transition: .3s ease;
        transition: .3s ease
    }

        .card.alt .toggle {
            position: relative;
            background: #ed2553;
            width: 140px;
            height: 140px;
            border-radius: 100%;
            box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
            color: #fff;
            font-size: 58px;
            line-height: 140px;
            text-align: center;
            cursor: pointer
        }

            .card.alt .toggle:before {
                content: '';
                display: inline-block;
                font: normal normal normal 14px/1 FontAwesome;
                font-size: inherit;
                text-rendering: auto;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                -webkit-transform: translate(0,0);
                transform: translate(0,0)
            }

        .card.alt .title, .card.alt .input-container, .card.alt .button-container {
            left: 100px;
            opacity: 0;
            visibility: hidden
        }

        .card.alt .title {
            position: relative;
            border-color: #fff;
            color: #fff
        }

            .card.alt .title .close {
                cursor: pointer;
                position: absolute;
                top: 0;
                right: 60px;
                display: inline;
                color: #fff;
                font-size: 58px;
                font-weight: 400
            }

                .card.alt .title .close:before {
                    content: '×'
                }

        .card.alt .input-container input {
            color: #fff
        }

            .card.alt .input-container input:focus ~ label {
                color: #fff
            }

            .card.alt .input-container input:focus ~ .bar:before, .card.alt .input-container input:focus ~ .bar:after {
                background: #fff
            }

            .card.alt .input-container input:valid ~ label {
                color: #fff
            }

        .card.alt .input-container label {
            color: rgba(255,255,255,.8)
        }

        .card.alt .input-container .bar {
            background: rgba(255,255,255,.8)
        }

        .card.alt .button-container button {
            width: 100%;
            background: #fff;
            border-color: #fff
        }

            .card.alt .button-container button span {
                color: #ed2553
            }

            .card.alt .button-container button:hover {
                background: rgba(255,255,255,.9)
            }

            .card.alt .button-container button:active:before, .card.alt .button-container button:focus:before {
                display: none
            }

@-webkit-keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0
    }
}

@keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0
    }
}

.lgnbtn {
    width: 70%;
    margin-left: 22%;
}

.logoLayout {
    height: 60px;
    width: 225px px;
    margin: 8px 0px;
    margin-top: 0px;
}

@media only screen and (max-width: 601px) and (min-width:200px) {
    .dsfx2 {
        display: flex;
        flex-direction: column;
    }
    .sndOTPBtn {
        width: 88%!important;
        margin: 2px 6%!important;
    }

    .MaxWdthRsp {
        max-width: 100%;
    }
    .card1 {
        margin-left: 0%;
        width: 80%;
    }
    .card .title {
        position: relative;
        z-index: 1;
        border-left: 5px solid #ca272c;
        margin: 10px 0 10px;
        padding: 10px 0 0 35px;
        color: #ca272c;
        font-size: 27px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .logoLayout {
        height: 46px;
        width: 169px;
        margin: 8px 0px;
        margin-top: 0px;
    }

    .card {
        margin-left: 0%;
        width: 100%;
    }
        .card:first-child {
            width: 95.7%;
            margin-left: 1.5% !important;
        }
    .card1:first-child {
        width: 76.7%;
        margin-left: 1.5% !important;
    }
    .lgnbtn {
        width: 96%;
        margin-left: 2%;
    }

    .formbox {
        margin: 1% auto;
        width: 80%;
    }

    .rowRvrs {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        padding: 0px;
    }

    .wlcm2ekycHome {
        padding-top: 0px;
        font-size: 12px;
    }
    .titleBck {
        width: 100%;
        font-size: 18px;
    }
    .Show-Ret-btns {
        display: flex;
        flex-direction: column;
    }
    .res-wdth98 {
        width: 98%;
    }
    .VldtOTP {
        display: flex;
        width: 90%;
        margin-left: 5%;
    }
}

@media only screen and (max-width: 768px) and (min-width:600px) {
    .dsfx {
        display: flex;
        flex-direction: column;
    }
    .sndOTPBtn {
        width: 88%!important;
        margin: 2px 6%!important;
    }
    .VldtOTP {
        display: flex;
        width: 90%;
        margin-left: 5%;
    }
    .res-wdth98 {
        width: 98%;
    }
    .Show-Ret-btns {
        display: flex;
        flex-direction: column;
    }
    .titleBck {
        width: 90%;
    }
    .card {
        margin-left: 0%;
        width: 50%;
    }
    .card1 {
        margin-left: 0%;
        width: 50%;
    }
    .rowRvrs {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .card:first-child {
        width: 95.7%;
        margin-left: 1.5% !important;
    }
    .card1:first-child {
        width: 47.7%;
        margin-left: 1.5% !important;
    }
    .dsfx {
        display: flex;
        flex-direction: column;
    }

    .lgnbtn {
        width: 80%;
        margin-left: 10%;
    }

    .formbox {
        margin: 1% auto;
        width: 45%;
    }

    .card {
        margin-left: 0%;
        width: 100%;
    }
}

@media only screen and (max-width: 2666px) and (min-width:769px) {
    .card:first-child {
        background: #f4b01b;
        height: 11px;
        margin-left: 6.5% !important;
        border-radius: 5px 5px 0 0;
        margin: -5px 10px;
        padding: 0;
        border-top: 1px solid #9da9f1;
        border-left: 1px solid #9da9f1;
        border-right: 1px solid #9da9f1;
        width: 76.7%;
    }
    .card1:first-child {
        background: #f4b01b;
        height: 11px;
        margin-left: 0.5% !important;
        border-radius: 5px 5px 0 0;
        margin: -5px 10px;
        padding: 0;
        border-top: 1px solid #9da9f1;
        border-left: 1px solid #9da9f1;
        border-right: 1px solid #9da9f1;
        width: 28.7%;
    }
}

@media only screen and (max-width: 1200px) and (min-width:769px) {
    .card1 {
        position: absolute;
        background: #fff;
        border-radius: 5px;
        padding: 28px 0 40px 0;
        box-sizing: border-box;
        box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
        -webkit-transition: .3s ease;
        transition: .3s ease;
        width: 40%;
        margin-left: 0%;
    }
        .card1:first-child {
            width: 38.7%;
        }
}