:root {
    --color-primary-light: #a4a8ab;
    --color-primary: #495057;
    --color-primary-dark: #21272c;
    --color-primary-contrast: #ffffff;
    --color-secondary-light: #f5dc80;
    --color-secondary: #ebb900;
    --color-secondary-dark: #dd9300;
    --color-secondary-contrast: #000000;
    --btn-border-radius: 6px;
}

html {
    background-color: rgba(7, 25, 34, 0.8);
    background: url("../images/background.png") no-repeat center fixed;
    background-size: cover;
}

body {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #292727;
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-wrapper {
    background-color: #fbfbfb;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    box-shadow: 0px 0px 20px black;
    border-radius: 3px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.form-wrapper h1 {
    font-size: 22px;
    margin: 21px 0 0 0;
    text-align: center;
    text-transform: uppercase;
}

.form-wrapper h2 {
    font-size: 16px;
    margin: 20px 0 0 0;
    text-align: center;
    font-weight: normal;
    font-style: italic;
}

.form-signin, .form-body {
    max-width: 330px;
    width: 330px;
    padding: 15px 25px 15px 25px;
    margin: 0 auto;
}

.form-inputs {
    margin: 30px 0 20px 0;
}

.ntv-form-group {
    position: relative;
    margin-top: 26px;
    margin-bottom: 18px;
}


.ntv-form-group #password {
    max-width: 85%;
}

.ntv-form-group-code {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntv-form-group-code input[type="number"] {
	width: .82em;
	line-height: 1;
	margin: .1em;
	font-size: 2.65em;
	text-align: center;
	appearance: textfield;
	-webkit-appearance: textfield;
	border: 2px solid #ebb900;
	border-radius: 4px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.checkbox {
    position: relative;
    margin-top: 26px;
    padding-bottom: 16px;
}

.checkbox a {
    font-size: 14px;
}

.ntv-form-group input, .ntv-form-group textarea {
    width: 100%;
    max-width: 100%;
    outline: 0;
    font-size: 16px;
    padding: 6px 6px;
    display: block;
    border: none;
    box-shadow: 0 0 0 1000px #fbfbfb inset !important;
    border-bottom: 1px solid #e5e5e5 !important;
    color: #292727;
}

.ntv-form-group input:focus ~ label, input:valid ~ label, .ntv-form-group textarea:focus ~ label, .ntv-form-group textarea:valid ~ label {
    top: -16px;
    font-size: 14px;
    color: var(--color-secondary-dark);
}

.ntv-form-group input:focus ~ .bar:before, input:focus ~ .bar:after, .ntv-form-group textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
    width: 50%;
    opacity: 1;
}

.ntv-form-group label {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 0;
    transition: 0.2s ease all;
}

.ntv-form-group .bar {
    position: relative;
    display: block;
    width: 100%;
}

.ntv-form-group .bar:before, .ntv-form-group .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: var(--color-secondary-dark);
    transition: 0.2s ease all;
    opacity: 0;
}

.ntv-form-group .bar:before {
    left: 50%;
}

.ntv-form-group .bar:after {
    right: 50%;
}

.btn {
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--btn-border-radius);
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: none;
    font-size: 16px;
    user-select: none;
    min-width: 120px;
    min-height: 36px;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-contrast);
}

.btn-primary:hover {
    background-color: var(--color-secondary-light);
}

.btn-primary:focus {
    outline: var(--color-secondary) dashed 2px;
    outline-offset: 2px;
}

button[type="submit"] {
    width: 100%;
    margin-bottom: 10px;
}

.social-wrapper {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.btn-social {
    border: none;
    flex: 0 0 30%;
    padding: 10px;
    min-width: inherit;
}

.btn-social, .btn-primary {
    transition: border .25s linear,color .25s linear, background-color .25s linear;
}

.btn-social.facebook {
    background-color: #3b5998;
}

.btn-social.facebook:hover {
    background-color: #243a69;
}

.btn-social.twitter {
    background-color: #4099ff;
}

.btn-social.twitter:hover {
    background-color: #00a6ce;
}

.btn-social.google {
    background-color: #d34836;
}

.btn-social.google:hover {
    background-color: #b8301f;
}

.icon {
    width: 20px;
    height: 20px;
}

use.icon-social {
    fill: #fff;
}

#svg-next {
    width: 142px;
    height: 50px;
}

#svg-next g {
    fill: #ebb900;
}

#svg-next {
    fill: black;
    display: inherit;
    margin: 0 auto;
}

#key-button {
    text-align: center;
    border: 1px solid var(--color-secondary-dark);
    padding: 10px;
    cursor: pointer;
}

#key-button:hover {
    background-color: whitesmoke;
}

.authenticator-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 10px 10px;
}

.authenticator-form {
    border: 1px solid var(--color-secondary-dark);
    padding: 30px;
    flex: 1 1 0px;
    text-align: center;
    margin: 20px 4px 10px 4px;
    cursor: pointer;
    border-radius: 4px;
    display: none;
}

.authenticator-form:hover {
    background-color: whitesmoke;
}

.authenticator-button {
    background: none;
    color: #322f2a;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    margin: 0 !important;
}

.authentication-method-errors {
    color: red;
    margin: 20px 40px;
    display: none;
}

.authentication-method-success {
    color: green;
    margin: 20px 40px;
    display: none;
}

.bottom-wrapper {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
    border-top: solid 1px #ccc;
}

.multi-factor-bottom-wrapper {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
    border-top: solid 1px #ccc;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.multi-factor-bottom-wrapper > .border {
    padding-right: 5px;
    padding-left: 5px;
    border-right: 1px solid black;
}

a {
    color: var(--color-secondary-dark);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
}

.logo-wrapper {
    margin-bottom: 21px;
}

.remember-me-checkbox {
    width: auto;
    box-shadow: none !important;
}

.pull-right {
    float: right;
}

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

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.cursor-pointer {
    cursor: pointer;
}

.key-table {
    margin-top: 18px;
    min-width: 100px;
    padding: 5px;
}

td, th {
    padding: 10px;
    border: 1px solid #cfcfd8;
    border-collapse: collapse;
}

.token-list {
    padding: 15px 25px 15px 25px;
    margin: 0 auto;
}

@media screen and (max-width: 440px) {
    .form-wrapper {
        width: calc(100% - 10px);
        overflow: scroll;
        background-color: #fbfbfb;
        position: absolute;
        top: 100px;
        left: 50%;
        transform: translate(-50%);
        box-shadow: 0px 0px 20px black;
        border-radius: 3px;
        opacity: 0.8;
        margin-bottom: 40px;
    }
}

.send-code {
    margin-top: 20px;
    margin-bottom: 0;
}

#password-show, #password-hide {
    cursor: pointer;
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--color-primary-dark);
}

#password-hide {
    display: none;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}
