/* Orion login — extracted from ISPmanager / MyArena orion theme */
* { margin: 0; padding: 0; border: 0 none; background: none; }

html, body { width: 100%; height: 100%; margin: 0; }

body.body-login-form {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
    color: #333;
    background: #fff;
}

.body-login-form .tab-content { position: inherit; padding: inherit; }

.b-body__login { min-height: 350px; position: relative; }

.js-required {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: red;
}

#login-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    margin-top: -164px;
    margin-left: -135px;
}

#login-form {
    width: 260px;
    height: 260px;
    border-radius: 135px;
    background: #78A5DF;
}

#login-form-form {
    position: relative;
    width: 260px;
    height: 260px;
}

#login-logo {
    text-align: center;
    margin-top: 37px;
}

#login-form-form table {
    margin: 0 auto;
    border-collapse: collapse;
    border-spacing: 0;
}

#login-form-form table td {
    padding: 0;
    padding-bottom: 12px;
    vertical-align: middle;
}

#login-form-form table td.left {
    text-align: right;
}

#login-form-form label {
    padding-right: 10px;
    color: #DBE7F7;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
}

.b-input {
    font-family: Arial, sans-serif;
    font-size: 11px;
    padding: 0 7px;
    height: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background: #FFFFFF;
    color: #000;
}

.b-input_for_login {
    width: 116px;
    border: 1px solid #5D83C7;
}

.b-input:focus {
    outline: 0 none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    border-color: #78A5DF !important;
}

.b-input:hover {
    outline: 0 none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    border-color: #BBB;
}

.b-button {
    font-size: 13px;
    line-height: 13px;
    position: relative;
    display: inline-block;
    min-width: 46px;
    margin-right: 7px;
    padding: 5px 15px;
    cursor: default;
    text-align: center;
    border: 1px solid #B5BABF;
    border-radius: 7px;
    background: #D4D7DB;
    user-select: none;
}

.b-button_type_login {
    border: 1px solid #5D83C7;
    background: #FFFFFF;
    width: 116px;
    height: auto;
    padding: 2px 0;
    margin: 0;
    border-radius: 4px;
    font-size: 11px;
    line-height: 16px;
    cursor: pointer;
}

.b-button_type_login:hover { background: #E2E4E5; }

.b-button_type_login:active {
    background: #B7B9BD;
    outline: 0 none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

input[type='submit']::-moz-focus-inner { padding: 0; border: none; }

.button { text-align: left; }

#login-error {
    position: absolute;
    top: 86px;
    left: 275px;
    min-width: 200px;
    padding: 10px;
    border-radius: 10px;
    background: #FF8356;
    color: #fff;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 16px;
    white-space: normal;
    z-index: 5;
}

#login-error::before {
    position: absolute;
    top: 50%;
    left: -13px;
    width: 0;
    height: 0;
    margin-top: -8px;
    content: '';
    border-width: 8px 16px 8px 0;
    border-style: outset solid;
    border-color: transparent #FF8356 transparent transparent;
}

.b-myselect { position: relative; text-align: left; }

#logon-form .b-myselect__select-selected { width: 130px; }

.b-myselect__select-selected {
    font-size: 11px;
    display: inline-block;
    width: 220px;
    height: 16px;
    border-radius: 5px;
    vertical-align: middle;
    background: #FFFFFF;
}

#logon-form .b-myselect__select-value {
    width: 115px;
    line-height: 15px;
    border: 1px solid #5D83C7;
}

.b-myselect__select-value {
    font-size: 11px;
    line-height: 16px;
    float: left;
    overflow: hidden;
    width: 205px;
    padding: 0 7px;
    cursor: default;
    white-space: nowrap;
    border: 1px solid #C3C3C3;
    border-radius: 4px;
    color: #000;
}

.b-myselect__select-value span {
    overflow: hidden;
    max-width: 209px;
    display: inline-block;
    vertical-align: top;
    line-height: 16px;
}

.b-myselect__arrow-down {
    float: right;
    width: 13px;
    height: 14px;
    margin: 1px;
    margin-top: -16px;
    border-radius: 5px;
    background: #E1E7ED;
}

.b-myselect__triangle-down {
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    margin: 6px auto;
    margin-right: 3px;
    border-top: 4px solid #879CB5;
    border-right: 4px solid #E1E7ED;
    border-left: 4px solid #E1E7ED;
}

.b-myselect_st_close .b-myselect__select-list { display: none; }

.b-login-links { text-align: center; margin-top: 13px; margin-bottom: 13px; }

.b-login-bottom-links {
    display: block;
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
}

.b-login-bottom-links ul { list-style: none; }

.b-login-bottom-links__item {
    display: inline-block;
    margin-right: 10px;
    line-height: 20px;
}

.b-login-bottom-links__item a {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #537393;
    text-decoration: underline;
}

.b-login-bottom-links__item a:hover { color: #36597d; }

@media (max-width: 640px) {
    #login-wrapper {
        transform: scale(0.92);
    }

    #login-error {
        left: 50%;
        top: auto;
        bottom: -70px;
        transform: translateX(-50%);
        min-width: 220px;
        text-align: center;
    }

    #login-error::before { display: none; }
}
