﻿
html {
    position: relative;
    min-height: 100%;
}

body {
    color: #494949;
    font-family: 'Open Sans', sans-serif;
}

.main {
    padding-bottom: 5rem;
}

a:hover,
.btn-link:hover {
    text-decoration: none;
}

.logo {
    padding: 0.5rem;
}

.logo-container {
    height: 20vw;
    line-height: 20vw;
}

.logo-container .logo {
    max-width: 100%;
    max-height: 100%;
}

.form-container {
    padding: 1.875rem 1.5rem;
    font-size: .875rem; /* default: 14px */
}

.title {
    margin-bottom: 2.5rem;
}

.title h4 {
    font-size: 1.25rem; /* default: 20px */
    font-weight: 400;
}

.title p {
    color: #767676;
    line-height: 1.714;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-control {
    height: auto;
    padding: .6875rem 1rem;
    border-color: #dedede;
    border-radius: 2px;
    color: #494949;
}

.form-control:hover,
.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #f1f1f1;
    color: #ccc;
}

input.form-control::-webkit-input-placeholder {
    color: #767676;
}

input.form-control::-moz-placeholder {
    color: #767676;
}

input.form-control:-ms-input-placeholder {
    color: #767676;
}

input.form-control::-ms-input-placeholder {
    color: #767676;
}

input.form-control::placeholder {
    color: #767676;
}

.form-control.input-validation-error {
    border-color: #DA2323;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.btn {
    position: relative;
    padding: .6875rem 2rem;
    border-radius: 2px;
    font-weight: bold;
}

.btn:focus,
.btn:not(:disabled):not(.disabled):active:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled):hover:before,
.btn-primary:not(:disabled):not(.disabled):focus:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.1);
}

.btn-outline-secondary {
    background-color: #FFFFFF;
    border-color: #DEDEDE;
    color: #494949;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active {
    background-color: #FCFCFC;
    border-color: #DEDEDE;
    color: #494949;
}

.btn-link {
    border: none;
}

.btn.disabled,
.btn:disabled {
    background-color: #DEDEDE;
    border-color: #DEDEDE;
    color: #FFFFFF;
    opacity: 1;
}

.btn-block + .btn-block {
    margin-top: 1.5rem;
}

.checkbox {
    position: relative;
    line-height: 1;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    width: auto;
    margin-left: -1.25rem;
    opacity: 0.00000001;
}

.checkbox label {
    position: relative;
    margin-bottom: 0;
    padding-left: 1.4375rem;
    cursor: pointer;
    font-size: .75rem; /* default: 12px */
    line-height: 1.3;
}

.checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: .9375rem;
    height: .9375rem;
    border: 1px solid #dedede;
    border-radius: 2px;
    -webkit-transition: border-color .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out;
    transition: border-color .15s ease-in-out;
}

.checkbox label::after {
    content: '';
    display: block;
    width: .5625rem;
    height: .5625rem;
    background-image: url('data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgNDIgMzIiPgo8dGl0bGU+dGljazwvdGl0bGU+CjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xNi4yMSAxOS42MTlsLTkuOTk4LTkuNTc5LTYuMjEyIDUuOTYyIDE2LjIxNCAxNi4wMTIgMjYuMTctMjUuNjUyLTYuMDQ3LTYuMzYyeiI+PC9wYXRoPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: .25rem;
    left: .1875rem;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.checkbox input[type="checkbox"]:checked ~ label::after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.checkbox input[type="checkbox"]:focus + label::before {
    outline: 0;
}

.text-danger {
    color: #DA2323 !important;
}

.text-success {
    color: #19B567 !important;
}

.text-light {
    color: #767676 !important;
}

.horizontal-divider {
    position: relative;
    text-align: center;
}

.horizontal-divider:before,
.horizontal-divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% + .25rem);
    height: 1px;
    overflow: hidden;
    background-color: #DDDDDD;
    z-index: -1;
}

.horizontal-divider:before {
    left: -1.5rem;
}

.horizontal-divider:after {
    right: -1.5rem;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: 1rem;
    font-size: .6875rem; /* default: 11px */
}

.footer,
.footer a {
    color: #767676;
}

.qrcode-image {
    width: 160px !important;
    height: 160px !important;
}

@media (min-width: 36rem) {
    .main {
        max-width: 31.25rem;
        margin: 7.5rem auto 0;
        padding-bottom: 0;
        border: 1px solid #DEDEDE;
        border-radius: 2px;
    }

    .logo-container {
        height: 6.25rem;
        margin-left: -1px;
        margin-right: -1px;
        margin-top: -2px;
        line-height: 6.25rem;
    }

    .form-container {
        padding: 1.875rem 3.125rem 3.125rem;
    }

    .horizontal-divider:before,
    .horizontal-divider:after {
        width: calc(50% + 1.875rem);
    }

    .horizontal-divider:before {
        left: -3.125rem;
    }

    .horizontal-divider:after {
        right: -3.125rem;
    }

    .footer {
        position: static;
        max-width: 33.125rem;
        margin: auto;
    }
}
