@font-face {
    font-family: DDOC;
    src: url('../res/circular std book.otf') format('opentype');
}

@font-face {
    font-family: DDOCB;
    font-weight: bold;
    src: url('../res/circular std bold.otf') format('opentype');
}

body {
    background: url(../img/Security/right_image_ddoc.png) top right, url(../img/Security/left_image_ddoc.png) bottom left;
    background-repeat: no-repeat, no-repeat;
    background-size: 13%;
    background-position-x: 100%, -0.1%;
    background-position-y: -1%, 100.9%;
    background-attachment: fixed;
    color: white;
    font-family: DDOC;
    /*    font-weight: bold;*/
    height: 100%;
}

.mainPanel {
    display: inline-block;
    width: 750px;
    height: auto;
    left: 50%;
    position: fixed;
    top: 50%;
    margin-left: -290px;
    margin-top: -240px;
    /*    background-color: aqua;*/
    text-align: center;
}

.login-panel {
    background-color: rgb(47, 84,152);
    padding: 30px;
    display: inline-block;
    width: 315px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .login-panel .logo {
        background: rgba(0, 0, 152,0) url("../img/Security/dd_ddoc.png") no-repeat scroll center;
        /*    background-size: auto;*/
        display: inline-block;
        height: 160px;
        width: 160px;
        margin-bottom: 25px;
    }

    .login-panel input[type=text] {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        font-size: 17px;
        /*margin: 12px 0;*/
        padding: 5px;
        width: 280px;
        height: 22px;
        border: 1px solid whitesmoke;
        font-family: DDOC;
    }

    .login-panel input[type=password] {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        font-size: 17px;
        margin: 1px 0;
        padding: 5px;
        width: 280px;
        height: 22px;
        border: 1px solid whitesmoke;
        font-family: DDOC;
    }

    .login-panel a {
        color: lightgray;
        display: block;
        font-size: 13px;
        margin: 15px 0;
    }

    .login-panel #serverId {
        margin: 5px 0;
        padding: 5px;
        width: 222px;
    }

.login-twofactor {
    display: inline-block;
    background-color: whitesmoke;
    padding: 0px;
    /*    padding: 20px;*/
    /*    width: 315px;*/
    width: 0px;
    transition: width 2s;
    height: 345px;
    margin-left: -3px;
    border-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    /*    margin-top:0px;*/
    box-shadow: 0 4px 28px 10px rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19);
}

    .login-twofactor div {
        display: none;
        transition: width 2.1s;
        float: left;
        width: 330px;
        height: 100px;
        /*        background-color: burlywood;*/
    }

#img2fa {
    display: inline-block;
    margin-top: 5px;
    margin-left: 30px;
    float: left;
    /*    background-color:red;*/
}

#twofactorTitle {
    color: #333;
    display: inline-block;
    font-size: 18px;
    height: auto;
    margin-top: 15px;
    margin-left: 10px;
    float: left;
    /*    background-color: purple;*/
    height: auto;
}

#twofactorDescription {
    color: #333;
    display: inline-block;
    width: 300px;
    font-size: 14px;
    margin-top: 20px;
    height: auto;
}

#twofactorEmail {
    color: #333;
    display: inline-block;
    width: 100%;
    font-size: 1em;
    margin-top: 10px;
    height: auto;
}

#twofactorPINzone {
    /*        background-color: red;*/
    display: inline-block;
    width: 100%;
    height: auto;
    margin-top: 30px;
}

    #twofactorPINzone input[type=password] {
        border-radius: 5px;
        font-size: 17px;
        /*margin: 12px 0;*/
        padding: 5px;
        width: 120px;
        height: 22px;
        border: 1px solid rgb(47, 84,152);
        font-family: DDOC;
    }

    #twofactorPINzone input[type=button] {
        background-color: rgb(45, 41, 79);
        color: white;
        padding: 7px 20px 7px 20px;
        border: 0px solid black;
        border-radius: 10px;
        font-family: DDOC;
        font-size: 17px;
    }

        #twofactorPINzone input[type=button]:hover {
            background-color: rgb(203, 204, 205);
            color: rgb(45, 41, 79);
        }

#twofactorReSend {
    /*        background-color: red;*/
    display: inline-block;
    width: 100%;
    height: auto;
    margin-top: 30px;
}


    #twofactorReSend input[type=button] {
        background-color: lightgrey;
        color: rgb(45, 41, 79);
        padding: 7px 20px 7px 20px;
        border: 0px solid black;
        border-radius: 10px;
        font-family: DDOC;
        font-size: 17px;
    }

        #twofactorReSend input[type=button]:hover {
            background-color: rgb(223, 224, 225);
            color: rgb(45, 41, 79);
        }

#btnLogin {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
    padding: 10px 20px 10px 20px;
    width: 290px;
    border-radius: 10px;
    font-family: DDOC;
    font-size: 17px;
}

#app-footer {
    bottom: 0px;
    /*    display: block;*/
    position: absolute;
    text-align: center;
    width: 100%;
    color: rgb(45, 41, 79)
}

.keep-session {
    margin: 3px 0;
    text-align: left;
}

.security-title {
    font-size: 20px;
    margin: 50px 0;
    text-align: center;
    color: black;
}

.login-logo-extra {
    display: block;
    /*    position: fixed;*/
    height: 20px;
    width: 100%;
    padding: 0px 00px;
    margin-top: 10px;
    /*    background-color:red;*/
}

    .login-logo-extra label {
        color: #333;
    }

div {
    text-align: center;
}

#loginRedirect {
    margin-top: 50px;
}


#timer {
    text-align: center;
    color: black;
    margin-top: 12px;
    display: inline-block;
    font-size: 10px;
}

.contimer {
    margin-top: 12px !important;
}

.btnresendPin {
    margin-top: -116px;
}

.contbtnretartsession {
    display: block;
    margin-top: -30px;
}