body, html {
    margin: 0;
    padding: 0;
    background: #fff;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Open Sans', sans-serif;
    color: #555353;
}

.page-header {
    margin-bottom: 0;
    padding: 0;
}

.container-fluid {
    padding-right: 20px;
    padding-left: 20px;
    *zoom: 1;
}

.container-fluid:before,
.container-fluid:after {
    display: table;
    line-height: 0;
    content: "";
}

.container-fluid:after {
    clear: both;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin: 0 0 1em;
}

.link {
    font-size: 14px;
}

.narrow-form-container {
    max-width: 420px;
    margin: 0 auto;
}

.form-radio, .form-group {
    position: relative;
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
}

.form-group input {
    height: 1.9rem;
    color: #333;
}

.form-group .control-label {
    position: absolute;
    pointer-events: none;
    top: 0.25rem;
    padding-left: 0.125rem;
    z-index: 1;
    color: #b3b3b3;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
}

.form-group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #999;
    display: block;
}

.form-group .bar::before {
    content: '';
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: #a900ff;
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}

.form-group input, .form-group textarea {
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 1rem;
    border-width: 0;
    border-color: transparent;
    line-height: 1.9;
    width: 100%;
    color: transparent;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    box-shadow: none;
}

.form-group input[type="file"] {
    line-height: 1;
}

.form-group input[type="file"] ~ .bar {
    display: none;
}

.form-group select, .form-group input:focus, .form-group input:valid, .form-group input.form-file, .form-group input.has-value, .form-group textarea:focus, .form-group textarea:valid, .form-group textarea.form-file, .form-group textarea.has-value {
    color: #333;
}

.form-group select ~ .control-label, .form-group input:focus ~ .control-label, .form-group input:valid ~ .control-label, .form-group input.form-file ~ .control-label, .form-group input.has-value ~ .control-label, .form-group textarea:focus ~ .control-label, .form-group textarea:valid ~ .control-label, .form-group textarea.form-file ~ .control-label, .form-group textarea.has-value ~ .control-label {
    font-size: 0.8rem;
    color: #617083;
    font-size: 14px;
    font-weight: 400;
    top: -1rem;
    left: 0;
}

.control-label-floated {
    font-size: 0.8rem !important;
    top: -1rem !important;
    left: 0 !important;
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
    outline: none;
}

.form-group select:focus ~ .control-label, .form-group input:focus ~ .control-label, .form-group textarea:focus ~ .control-label {
    color: #a900ff;
}

.form-group select:focus ~ .bar::before, .form-group input:focus ~ .bar::before, .form-group textarea:focus ~ .bar::before {
    width: 100%;
    left: 0;
}

.checkbox label, .form-radio label {
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
    text-align: left;
    color: #333;
    display: block;
}

.checkbox input, .form-radio input {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
}

.radio {
    margin-bottom: 1rem;
}

.radio .helper {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
}

.radio .helper::before, .radio .helper::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    transition: transform 0.28s ease, -webkit-transform 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
}

.radio .helper::after {
    -webkit-transform: scale(0);
    transform: scale(0);
    background-color: #a900ff;
    border-color: #a900ff;
}

.radio label:hover .helper {
    color: #a900ff;
}

.radio input:checked ~ .helper::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}

.radio input:checked ~ .helper::before {
    color: #a900ff;
}

.checkbox {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.checkbox .helper {
    color: #999;
    position: absolute;
    top: 0;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid #a900ff;
    border-radius: 0.0625rem;
    -webkit-transition: border-color 0.28s ease;
    transition: border-color 0.28s ease;
}

.checkbox .helper::before, .checkbox .helper::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: #a900ff;
    display: block;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: '';
    -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
}

.checkbox .helper::before {
    top: 0.65rem;
    left: 0.38rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}

.checkbox .helper::after {
    top: 0.3rem;
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.checkbox label:hover .helper {
    color: #a900ff;
}

.checkbox input:checked ~ .helper {
    color: #a900ff;
}

.checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
    opacity: 1;
    -webkit-transition: height 0.28s ease;
    transition: height 0.28s ease;
}

.checkbox input:checked ~ .helper::after {
    height: 0.5rem;
}

.checkbox input:checked ~ .helper::before {
    height: 1.2rem;
    -webkit-transition-delay: 0.28s;
    transition-delay: 0.28s;
}

.radio + .radio, .checkbox + .checkbox {
    margin-top: 1rem;
}

.has-error .legend.legend, .has-error.form-group .control-label.control-label {
    color: #d9534f;
}

.has-error.form-group .form-help, .has-error.form-group .helper, .has-error.checkbox .form-help, .has-error.checkbox .helper, .has-error.radio .form-help, .has-error.radio .helper, .has-error.form-radio .form-help, .has-error.form-radio .helper {
    color: #d9534f;
}

.has-error .bar::before {
    background: #d9534f;
    left: 0;
    width: 100%;
}

.login-page {
    background: #fff;
    color: #303641;
}

.login-page .login-header {
    position: relative;
    background: #e5e5e5;
    padding: 100px 0;
    -moz-transition: all 550ms ease-in-out;
    -webkit-transition: all 550ms ease-in-out;
    -o-transition: all 550ms ease-in-out;
    transition: all 550ms ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.login-page .login-content {
    margin: 0 auto;
    padding: 40px 0;
}

.login-page .login-image {
    text-align: center;
}

.login-page .login-progressbar {
    height: 0px;
    width: 100%;
    overflow: hidden;
    -moz-transition: all 550ms ease-in-out;
    -webkit-transition: all 550ms ease-in-out;
    -o-transition: all 550ms ease-in-out;
    transition: all 550ms ease-in-out;
}

.login-page .login-header .description {
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 0;
    -moz-transition: all 550ms ease-in-out;
    -webkit-transition: all 550ms ease-in-out;
    -o-transition: all 550ms ease-in-out;
    transition: all 550ms ease-in-out;
}

.login-page .login-progressbar {
    height: 0px;
    width: 100%;
    overflow: hidden;
    -moz-transition: all 550ms ease-in-out;
    -webkit-transition: all 550ms ease-in-out;
    -o-transition: all 550ms ease-in-out;
    transition: all 550ms ease-in-out;
}

.login-page .login-header.login-caret:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    margin-left: -12.5px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 13px 12.5px 0 12.5px;
    border-color: #e5e5e5 transparent transparent transparent;
    bottom: -13px;
    -moz-transition: all 550ms ease-in-out;
    -webkit-transition: all 550ms ease-in-out;
    -o-transition: all 550ms ease-in-out;
    transition: all 550ms ease-in-out;
}

.btn {
    padding: 10px 24px 12px;
    border-width: 0;
    font-size: 12px;
    border-radius: 100px;
    letter-spacing: -.02em;
    transition: all 0.2s ease;
    position: relative;
    color: #333;
    text-decoration: none;
    margin: 5px;
}

.btn:hover, .btn:focus {
    filter: brightness(85%);
}

.btn__full-width {
    width: 100%;
    margin: 0px;
}

input[type=checkbox] {
    width: auto;
    display: inline-block;
}

.remember-me-block {
    display: table;
}

.remember-me-block-check {
    display: table-cell;
    vertical-align: middle;
}

.remember-me-label {
    margin: 0px;
}

.remember-tag {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    display: table-cell;
    vertical-align: middle;
    cursor: pointer;
    padding-left: 10px;
}

.text-danger {
    color: #e74c3c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn:focus {
    outline: none;
}

#qrcode {
    margin: 20px 0;
    text-align: center;
}

.auth-code {
    letter-spacing: 1.5px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    color: #000;
    line-height: 17px;
    word-break: break-all;
}

.auth-code-label {
    font-size: 14px;
    text-align: center;
}


.checkbox-container {
    transition: all .29s;
    border: 2px solid #a900ff;
    border-radius: 4px;
    width: 25px;
    height: 25px;
    text-align: center;
    background: transparent;
    line-height: 21px;
    color: transparent;
    padding: 0;
}

.checkbox-container input {
    opacity: 0;
    cursor: pointer;
    height: 25px;
    width: 25px;
    position: relative;
    margin-left: -2px;
    margin-top: -2px;
    z-index: 1;
}

.checkmark {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 25px;
    width: 25px;
    background: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #a900ff;
    border-radius: 4px;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 10px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#checbox-label {
    font-size: 0.8rem;
    color: #617083;
    top: 3px;
    left: 40px;
    font-weight: 400;
    font-size: 14px;
}

#deviceName {
    display: none;
    margin-top: 45px;
}

.setup-successful {
    text-align: center;
    margin-top: 25px;
}

.setup-successful .setup-icon {
    font-size: 80px;
    color: #a900ff;
}

.setup-successful .setup-text {
    font-size: 19px;
    margin-top: 14px;
}

#no-trusted-devices {
    font-size: 19px;
    text-align: center;
}

#trusted-devices-table {
    width: 100%
}

#trusted-devices-table th {
    font-size: 16px;
}

#trusted-devices-table th, #trusted-devices-table td {
    padding: 5px
}

#trusted-devices-table thead tr {
    border-bottom: 1px solid #e2e9f0;
}

#trusted-devices-table #untrust-device-header {
    text-align: center;
}

#trusted-devices-table tbody tr td {
    padding: 3px 0;
    font-size: 14px;
}

#trusted-devices-table .checkbox-column {
    text-align: center;
}

#trusted-devices-table .checkmark {
    position: absolute;
    left: 300px;
    height: 20px;
    margin-top: -30px;
    width: 20px;
    top: inherit;
}

#trusted-devices-table .checkbox-container {
    height: 20px;
    width: 20px;
}

@media screen and (max-width: 479px) {
    .login-content {
        width: 280px !important;
    }
}
