@import url("spinner.css");

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    color: #484848;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input {
    box-sizing: border-box;
}

input::placeholder {
    color: #999;
}


strong {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #0072dd;
    cursor: pointer;
}

p {
    line-height: 1.5;
}

p + p {
    margin-top: 10px;
}

a:hover,
a:focus {
    color: #2a6496;
    text-decoration: underline;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.content-center {
    align-content: center;
    padding: 5px;
}

.bold {
    font-weight: bold;
}

/* Custom styles */

.ias {
    padding-left: 15px;
    padding-right: 15px;
    background: #fff;
}

.ias .container {
    width: 100%;
    margin: 40px auto;
}

.ias .row::after {
    display: block;
    content: "";
    clear: both;
}

.ias .row .column-left {
    width: 100%;
}

.ias .row .column-right {
    width: 100%;
}

.ias .ias-form {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;

    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
    border: 1px solid #cacaca;
    border-radius: 3px;
    padding: 50px 50px 40px;
}

.ias .ias-form--invisible {
    box-shadow: none;
    border: none;
    background: transparent;
}

.ias .ias-form .row + .row {
    margin-top: 20px;
}

.ias .ias-form .ias-form__header {
    font-size: 21px;
    font-weight: 300;
    margin-bottom: 40px;
}

.ias .ias-form .ias-form__text {
    font-size: 14px;
}

.ias .ias-form .ias-form__message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    word-wrap: break-word;
    border: 1px solid transparent;
    line-height: 1.6;
}

.ias .ias-form .ias-form__message--danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.ias .ias-form .ias-form__message--success {
    background-color: #f6f6f6;
    border-color: #66afe9;
    color: #2a6496;
}

.ias .ias-form .ias-form__row + .ias-form__row {
    margin-top: 20px;
}

.ias .ias-form .ias-form__label {
    width: 100%;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

input {
    margin: 0;
}

input + label {
    padding: 5px;
}

input:hover {
    cursor: pointer;
}

input:disabled + label.ias-form__label,
input:disabled:hover + label.ias-form__label {
    cursor: default;
    color: #ccc;
}

.ias .ias-form .ias-form__input {
    float: right;
    width: 100%;
    height: 45px;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #555;
    background-color: #f6f6f6;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.ias .ias-form .ias-form__input:disabled {
    cursor: default;
}

.ias .ias-form .ias-form__help {
    font-size: 14px;
    color: #939393;
}

.ias .ias-form .ias-form__input.has-error {
    border: 1px solid #ec3e3e;
    margin-bottom: 3px;
}

.ias .ias-form .ias-form__input:focus {
    outline: 0;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px rgba(0, 132, 255, .4);
}

.ias .ias-form .ias-form__input-error {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #ec3e3e;
}

.ias .ias-form .has-error + .ias-form__input-error {
    display: block;
}

.ias .ias-form .ias-form__checkbox {

}

.ias .ias-form .ias-form__checkbox input {
    display: none;
}

.ias .ias-form .ias-form__checkbox label {
    position: relative;
    padding-left: 23px;
    user-select: none;
    cursor: pointer;
}

.ias .ias-form .ias-form__checkbox label::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    background: #fff;
}

.ias .ias-form .ias-form__checkbox input:checked + label::after {
    content: "✓";
    display: block;
    position: absolute;
    top: 4px;
    left: 3px;
    line-height: 1;
    font-size: 12px;
    color: #666;
}

.ias .ias-form .submit {
    display: inline-block;
    height: 45px;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 22px;
    padding: 0 40px;
    font-size: 17px;
    border-radius: 4px;
    user-select: none;
    outline: none;
    color: #fff;
    background: linear-gradient(#42c41a 50%, #2dbd00 50%);
}

.ias .ias-form .submit:hover {
    background: linear-gradient(#43cd1a 50%, #2ec700 50%);
}

.ias .ias-form .submit:disabled,
.ias .ias-form .submit:disabled:hover {
    background: linear-gradient(#42c41a 50%, #2dbd00 50%);
    opacity: .8;
    cursor: default;
}

.ias .ias-form .submit .loader {
    display: none !important;
}

.ias .ias-form .submit.loading .loader {
    display: block !important;
}

.ias .ias-form .submit.loading {
    color: transparent;
}

.ias .ias-form .submit .loader {
    position: relative;
    display: block;
    top: -26px;
    font-size: 6px !important;
    color: #fff;
}

.ias .ias-form .submit .loader:before,
.ias .ias-form .submit .loader:after {
    position: absolute;
    font-size: 6px !important;
}

.totp-setup-code {
    display: inline;
    font-weight: bold;
}

.back-to-login-link {
    padding-top: 10px;
}

.totp-setup-list {
    padding: 0 0 12px 0;
    list-style: none;
}

.totp-setup-list-item {
    position: relative;
    padding: 12px 0 0 45px;
    margin: 5px 0 20px 0;
}

.totp-setup-list-item-input {
    position: relative;
    padding: 0 0 0 45px;
    margin: 10px 0 10px 0;
}

.totp-setup-list-item-num {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 20px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    border: 2px solid #666;
}

.qr-code-image {
    padding: 10px 0 10px 0;
}

.second-factor-code {
    max-width: 395px;
}

.counterButton {
    display: inline-block;
    height: 45px;
    padding: 0 10px;
    font-weight: 400;
    box-sizing: border-box;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 22px;
    font-size: 15px;
    border-radius: 4px;
    color: #535353;
    background: #c9c9c9;
}

.counterButton:disabled,
.counterButton:disabled:hover {
    color: #a0a0a0;
    background: none;
    border: none;
    width: 130px;
    cursor: default;
}

@media screen and (min-width: 769px) {
    .ias .container {
        width: 620px;
    }

    .ias .row .column-left {
        float: left;
        width: 35%;
    }

    .ias .row .column-right {
        float: right;
        width: 65%;
    }

    .ias .ias-form .ias-form__label {
        height: 45px;
        line-height: 45px;
    }

    .ias.forgot-password .row .column-left {
        float: left;
        width: 50%;
    }

    .ias.forgot-password .row .column-right {
        float: right;
        width: 50%;
    }
}
