html {
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background: url(/img/new_background.png) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}

body { background-color: transparent; }

a:hover, a:focus { text-decoration: none }

body {
    height: 100%;
    display: flex;
    align-items: center;
}

.body-content {
    max-width: 525px;
    background-color: #fff;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
    padding: 45px;
}

.body-content h1 {
    text-align: center;
    margin: 0 0 20px 0;
}

.form_button {
    border-radius: 8px;
    font-size: 18px;
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border: none;
}

.form_button:hover, .form_button:active { text-decoration: none; }

.form_button:focus { outline: none; }

.login-page .button_go { margin: 0 0 18px 0; }

.button_go {
    color: #fff;
    background-color: #44c9df;
}

.button_go:hover { background-color: #96deea; }

.button_go:active {
    background-color: #49565f;
    color: #fff;
}

.button_no {
    border: 1px solid #49565f;
    color: #49565f;
    background-color: #fff;
}

.button_no:hover {
    background-color: #ebfcff;
    border-color: #44c9df;
    color: #8b9495;
}

.button_no:active {
    background-color: #7e868b;
    color: #414243;
    border-color: #49565f;
}

.top_header {
    text-align: center;
    margin: 0 0 30px 0;
    max-width: 204px;
    margin-right: auto;
    margin-left: auto;
}

.input_bl {
    margin: 0 0 13px 0;
    position: relative
}

.input_bl input + .error_dott {
    display: none;
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    left: -12px;
    width: 4px;
    height: 4px;
    background-color: #c63636;
}

.input_bl input.input-validation-error + .error_dott { display: block; }

.pass_icon {
    position: absolute;
    background-image: url(/img/icon_pass.png);
    background-size: cover;
    width: 29px;
    height: 20px;
    top: 27px;
    right: 12px;
}

.pass_icon:hover { background-image: url(/img/icon_pass_hover.png) }

.pass_icon:active { background-image: url(/img/icon_pass_pressed.png) }

.input_bl label {
    font-size: 11px;
    display: block;
    margin: 0 0 0 10px;
    font-weight: normal;
    color: #cacaca;
    text-transform: uppercase;
}

.input_bl input {
    border: 1px solid #bec9cb;
    border-radius: 8px;
    display: block;
    width: 100%;
    font-size: 22px;
    color: #49565f;
    padding: 7px 20px;
}

.input_bl input:focus {
    outline: none;
    border-color: #44c9df;
    background-color: #f3f9fa;
}

.login_rememb { margin: 0 0 16px 0; }

.login_rememb input { margin: 0; }

/* Base for label styling */

.login_rememb input[type="checkbox"]:not(:checked),
.login_rememb input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

.login_rememb input[type="checkbox"]:not(:checked) + label,
.login_rememb input[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 39px;
    cursor: pointer;
}

/* checkbox aspect */

.login_rememb input[type="checkbox"]:not(:checked) + label:before,
.login_rememb input[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: -5px;
    width: 29px;
    height: 29px;
    border: 1px solid #bec9cb;
    background: #fff;
    border-radius: 29px;
}

/* checked mark aspect */

.login_rememb input[type="checkbox"]:not(:checked) + label:after,
.login_rememb input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    background: url(/img/icon_checkbox.png);
    top: 3px;
    left: 7px;
    width: 16px;
    height: 13px;
    background-size: cover;
    line-height: 0.8;
    color: #44c9df;
    transition: all .2s;
}

/* checked mark aspect changes */

.login_rememb input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.login_rememb input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

/* disabled checkbox */

.login_rememb input[type="checkbox"]:disabled:not(:checked) + label:before,
.login_rememb input[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

.login_rememb input[type="checkbox"]:disabled:checked + label:after { color: #999; }

.login_rememb input[type="checkbox"]:disabled + label { color: #aaa; }

.login_rememb label {
    color: #49565f;
    font-size: 15px;
    margin: 0;
    font-weight: normal;
    vertical-align: middle;
}

.login_radio input[type="radio"] {
    vertical-align: top;
    width: 17px;
    height: 17px;
    margin: 0 3px 0 0;
}

/* radio buttons */

.selects_section { margin: 25px 0 50px 0; }

.selects_section .form_button {
    margin: 0 45px;
    max-width: 422px;
}

.selects_section .form_button.button_go { margin: 50px 45px 20px 45px; }

.selects_section form { margin: 0 -45px; }

.selects_section .login_radio:nth-child(2) label { border-bottom: 1px solid #c5c5c5; }

.login_radio input[type="radio"] + label {
    cursor: pointer;
    position: relative;
    width: 100%;
    text-align: center;
    border-top: 1px solid #c5c5c5;
    padding: 20px 0px;
    font-size: 18px;
    color: #919192;
    font-weight: normal;
    margin: 0;
}

.login_radio input[type="radio"] + label:hover {
    background-color: #ecf9fb;
    color: #414243;
}

.login_radio input[type="radio"]:not(checked) {
    position: absolute;
    opacity: 0;
}

.login_radio input[type="radio"]:not(checked) + label:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 32px;
    width: 29px;
    height: 29px;
    border: 1px solid #bec9cb;
    border-radius: 50%;
    background: #FFF;
}

.login_radio input[type="radio"]:not(checked) + label:after {
    content: '';
    position: absolute;
    background: url(/img/icon_checkbox.png);
    width: 16px;
    height: 13px;
    background-size: cover;
    top: 41%;
    left: 38px;
    line-height: 0.8;
    color: #44c9df;
    transition: all .2s;
}

.login_radio input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.login_radio input[type="radio"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.cancel_btn { margin: 18px 0; }

.forgot_pass {
    color: #44c9df;
    font-size: 17px;
    line-height: 1;
}

.external_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 0;
}

.external_head h3 {
    font-size: 11px;
    color: #cacaca;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.external_head div {
    background-color: #e2e5e6;
    height: 1px;
    width: 78%;
}

.external_list {
    margin: 0;
    list-style: none;
    padding: 0;
}

.external_list li { display: block; }

.external_btn {
    text-align: center;
    border: 1px solid #bec9cb;
    border-radius: 8px;
    color: #919192;
    display: block;
    font-size: 18px;
    padding: 9px 0;
    position: relative;
    margin: 30px 0 0;
}

.external_btn:hover {
    background-color: #ebfcff;
    border-color: #44c9df;
    color: #919192;
}

.external_btn:hover:before { border-color: #44c9df; }

.external_btn:focus {
    background-color: #7e868b;
    border-color: #49565f;
    color: #414243;
}

.external_btn:focus:before { border-color: #49565f; }

.external_btn:before {
    content: '';
    border-right: 1px solid #bec9cb;
}

.external_btn.Google:before {
    background-image: url(/img/icon_googleLogin.png);
    width: 50px;
    height: 44px;
    background-size: 26px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}

.twoFactorCore input {
    max-width: 100px;
    display: inline-block;
    margin-left: 10px;
}

/* --- Shard --- */

.select_org {
    text-align: center;
    font-size: 18px;
    color: #919192;
}

/* --- Logged out --- */

.log_out_logo {
    max-width: 194px;
    margin: 120px auto 65px auto;
}

.logged_out { margin: 0 0 90px 0; }

.log_out_logo img { max-width: 100%; }

.validation_error_bl {
    border: 1px solid #c63636;
    border-radius: 8px;
    padding: 20px 0;
    margin: 0 0 25px 0;
}

.validation_error_bl ul { margin: 0; }

.validation_error_bl li {
    color: #c63636;
    font-size: 15px;
    line-height: 1.5;
}

/* --- SVG icon styles --- */

.st0 { fill: #44CAE0; }

.st1 { fill: #4A5760; }

@media screen and (max-height: 768px) {
    .log_out_logo { margin: 35px auto; }

    .logged_out { margin: 0 0 30px 0; }
}

@media screen and (max-width: 768px) {
    .body-content {
        width: 100%;
        padding: 45px 10px;
    }

    .input_bl input + .error_dott { left: -6px; }

    .selects_section form { margin: 0 -10px; }

    .selects_section .form_button.button_go { margin: 50px auto 20px auto; }

    .selects_section .form_button {
        margin: 0 auto;
        max-width: 90%;
    }

    .log_out_logo { margin: 35px auto; }

    .logged_out { margin: 0 0 30px 0; }
}

.shard_list {
    overflow: auto;
    max-height: 300px;
    position: relative;
}

.forgot-password-header { text-align: center; }

.change-password-header { text-align: center; }

.confirm-email-bold { font-weight: bold; }

/* --- Shard Filter Input --- */

/* Position filter input 25px from left and right edges of container */
.selects_section .input_bl {
    margin: 0 0 13px 25px;
    width: calc(100% - 50px);
}

/* Ensure the input field uses border-box sizing */
.shard-filter-input {
    box-sizing: border-box !important;
    width: 100% !important;
}

.filter_icon {
    position: absolute;
    left: 20px;
    top: 30%;
    color: #c5c5c5;
    width: 20px;
    height: 20px;
}

.filter_clear {
    position: absolute;
    right: 12px;
    top: 23%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f2f2f2;
    display: none;
    cursor: pointer;
    border: none;
    font-size: 18px;
    color: #888;
}

.filter_clear:hover {
    background: #e0e0e0;
}

.filter_clear:focus {
    outline: none;
}

.filter_clear.show {
    display: flex;
}

#shardFilter {
    padding-left: 50px !important;
}

/* Fix Edge autofill font size issue */
#shardFilter:-webkit-autofill,
#shardFilter:-webkit-autofill:hover,
#shardFilter:-webkit-autofill:focus,
#shardFilter:-webkit-autofill:active {
    font-size: 22px !important;
    -webkit-text-fill-color: #49565f !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Edge specific autofill styles */
#shardFilter::-ms-reveal,
#shardFilter::-ms-clear {
    display: none;
}

/* Ensure consistent font size in all states */
.shard-filter-input,
.shard-filter-input:focus,
.shard-filter-input:active,
.shard-filter-input:hover {
    font-size: 22px !important;
}

/* Keep form size fixed during filtering */
.selects_section form {
    min-height: 523px;
}

/* Hidden class for filtering - maximum specificity to override all existing styles */
.selects_section .shard_list .login_radio.shard-hidden,
.selects_section .login_radio.shard-hidden,
.login_radio.shard-hidden,
.shard-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* No results message */
.no-filter-results {
    text-align: center;
    padding: 20px 0;
    color: #919192;
    font-size: 16px;
    border-top: 1px solid #c5c5c5;
    display: none;
}

.no-filter-results.show {
    display: block;
}

