@import url("https://fonts.googleapis.com/css?family=Roboto");

body,html {
    height: 100%;
    font-size: 16px;
}

body, textarea, input, button {
    font-family: 'Roboto', Helvetica, "Trebuchet MS", Verdana, sans-serif;
}

body#error,
body#mobile-redirect {
    display: flex;
    flex-direction: column;
}

a, a:hover, a:focus {
    color: #6c953c;
    text-decoration: none;
    outline: none;
}

header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
header > .container {
    padding: 15px;
}

body {
    background: white;
    min-height: 800px;
}

.btn-green {
    font-size: 16px;
    font-weight: 300;
    color: white;
    min-height: 60px;
    line-height: 38px;
    background-color: #b9d13b;
    border-color: #b9d13b;
    display:block;
    width: 100%;
    text-transform: uppercase;
}
.btn-green:active {
    color: white;
}
.btn-green:hover,
.btn-green:focus {
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.08);
    color: white;
}

.btn-google,
.btn-microsoft,
.btn-apple {
    font-size: 16px;
    font-weight: 300;
    min-height: 60px;
    line-height: 38px;
    background-color: white;
    border-color: #cccccc;
    display:block;
    width: 100%;
    text-transform: uppercase;
    color: #343434;
}
.btn-google .fa-google:before,
.btn-microsoft .fa-microsoft:before,
.btn-apple .fa-apple:before {
    width: 21px;
    height: 21px;
    background-color: transparent;
    background-repeat: no-repeat;
    content: "";
    display: block;
    margin-bottom: -4px;
    margin-right: 10px;
}

.btn-google .fa-google:before {
    background-image: url(../img/g-logo.png);
    color: transparent;
}
.btn-microsoft .fa-microsoft:before {
    background-image: url(../img/mssymbol_19.png);
    color: transparent;
}
.btn-apple .fa-apple:before {
    background-image: url(../img/apple-logo.svg);
    background-size: 21px 21px;
    color: transparent;
}

.btn-google:hover, .btn-google:focus,
.btn-microsoft:hover, .btn-microsoft:focus {
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border-color: #cccccc;
}

#main-container {
    background: white url("https://cdn.snapplify.com/latest/img/city_bg.svg") no-repeat fixed 0 ;
    background-size: cover;
    padding: 30px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

#main-container .header-addon {
    float: right;
    opacity: 0.5;
    font-size: 90%;
}

.main-content-box {
    max-width: 520px;
    margin: 50px auto;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    background: white;
    border-radius: 6px;
}

.main-content-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px;
}
.main-content-box .form-fields {
    padding: 30px 30px 0 30px;
}
.main-content-box .form-fields input.form-control {
    border-radius: 3px;
    line-height: 15px;
    border: 1px solid #d4d4d4;
    min-height: 50px;
}
.main-content-box .form-fields select.form-control {
    border-radius: 3px;
    line-height: 15px;
    border: 1px solid #d4d4d4;
    min-height: 50px;
}

.main-content-box .form-control-feedback {
    width: 50px;
    height: 50px;
    line-height: 50px;
}
.main-content-box .form-fields .form-group.has-error .form-control {
    border-color: #a94442;
}
.main-content-box .form-foot {
    padding: 15px 30px;
    background-color: #f8f8f8;
    border-radius: 0 0 6px 6px;
}

.main-content-box #forgot-btn {
    margin-left:5px;
}
.main-content-box .form-foot0,
.main-content-box .form-foot1,
.main-content-box .form-foot2 {
    display: block;
    text-align: center;
}
.main-content-box .form-foot0 {
}
.main-content-box .form-foot1 {
    margin: 20px 0 15px;
}
.main-content-box .form-info {
    margin: 20px 0 10px;
}

.main-content-box .form-foot1 a,
.main-content-box .form-info a {
    font-weight: bold;
}

.main-content-box.profile {
    max-width: 800px;
}

footer .footer-top {
    background-color: #24262a;
    color: white;
    padding-top: 30px;
}
footer .footer-top h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    text-transform: uppercase;
}
footer .footer-top ul {
    list-style: none;
    padding: 0;
}
footer .footer-top .download-platforms {
    font-size: 0;
    margin-bottom: 15px;
}
footer .footer-top .download-platforms img {
    max-width: 100px;
    margin-right: 10px;
}
footer .footer-top .social-links li a i {
    font-size: 20px;
    color: white;
    padding-top: 6px;
}
footer .footer-top ul li a:focus,
footer .footer-top ul li a:hover {
    color: #b9d13b;
}
footer .footer-top ul li a {
    color: #b9d13b;
}
footer .footer-top .social-links li {
    display: inline-block;
    width: 32px;
    height: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    border-radius: 32px;
    background-color: #9b9b9b;
    text-align: center;
}
footer .footer-top ul li {
    line-height: 26px;
    color: #b9d13b;
}
footer .footer-bottom {
    padding: 10px;
    box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.15);
}
footer .footer-bottom p {
    color: #9b9b9b;
    margin-bottom: 0;
    line-height: 30px;
    font-size: 13px;
}
footer .footer-bottom p a {
    color: #9b9b9b;
}
footer .footer-bottom .footer-logo {
    font-size: 0;
    text-align: right;
}
footer .footer-bottom .footer-logo .footer-logo-thumb {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    width: 48px;
    height: 30px;
    background-size: cover;
}

#captcha1 > div, #captcha2 > div {
    margin: 0 auto;
}

#login-account-container {
    margin-bottom: 1em;
}
#login-account-container h3 {
    text-align: center;
}
#login-account-info {
    cursor: pointer;
    display: flex;
    color: #463333;
    background-color: #f1f1f1;
    border-color: #e8e8e8;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 20px;
    padding: 5px;
}
#login-account-info:hover {
    background-color: #e6e6e6;
    border-color: #d9d9d9;
}
#login-account-info > div {
    display: flex;
    width: 100%;
}
#login-account-img {
    background-color: white;
    overflow: hidden;
    border-radius: 50%;
}
#login-account-email {
    text-overflow: ellipsis;
    font-size: 1.1em;
    line-height: 32px;
    margin-left: 1rem;
    margin-right: 1rem;
    overflow: hidden;
    flex: 1;
}
#login-account-caret {
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    margin-left: 1em;
}
#login-account-info-row {
    display: flex;
    margin: 1em 1em 1.5em;
}

#form-progress-container {
    position: absolute;
    background: rgba(255, 255, 255, 0.69);
    z-index: 999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}
.main-content-box .linear-progress-material {
    width: 100%;
    margin-top: 0;
    border: 1px solid white;
    background: #ffffff;
}
.main-content-box  .linear-progress-material .bar {
    background: #b9d13b;
    height: 6px;
}

#sign-in-google {
    font-weight: 300;
}
#sign-in-microsoft .fa-microsoft:before {
    background-image: url(../img/mssymbol_19.png);
    width: 20px;
    height: 20px;
    background-color: transparent;
    color: transparent;
    background-repeat: no-repeat;
    content: "";
    display: block;
    margin-bottom: -4px;
    margin-right: 10px;
}
#sign-in-google .fa-google:before {
    margin-right: 10px;
}

.app-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 0 0 0;
}
.app-icon {
    background-image: url(../img/window-icon.png);
    background-size: contain;
    width: 100px;
    height: 100px;
}

@media (max-width: 768px){
    #main-container {
        flex-grow: 1;
        padding: 0;
    }
    #main-container > .container {
        flex: 1;
        padding: 0;
        display: flex;
        width: 100%;
    }
    .main-content-box {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .form-fields {
        flex: 1;
    }
    .footer-logo {
        display: none;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom a {
        white-space: nowrap;
    }
    #forms form {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    body {
        min-height: 320px;
    }
}


.linear-progress {
    background: #bbdefb;
    height: 6px;
    position: relative;
    width: 50%;
    margin: 0 auto;
    margin-top: 2rem;
    overflow: hidden;
    -webkit-animation: start 0.3s ease-in;
    animation: start 0.3s ease-in;
}
.linear-progress.small {
    width: 15%;
    height: 2px;
}
.linear-progress .bar {
    position: absolute;
    background: #1565c0;
    transition: -webkit-transform 0.2s linear;
    transition: transform 0.2s linear;
    transition: transform 0.2s linear, -webkit-transform 0.2s linear;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}
.linear-progress .bar1 {
    -webkit-animation: progressLinearMovement 2.5s infinite;
    animation: progressLinearMovement 2.5s infinite;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.linear-progress .bar2 {
    left: -100%;
    -webkit-animation: progressLinearMovement 2.5s infinite;
    animation: progressLinearMovement 2.5s infinite;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}
.linear-progress-material {
    background: #aad1f9;
    height: 10px;
    position: relative;
    width: 50%;
    margin: 2rem auto 0 auto;
    overflow: hidden;
    -webkit-animation: start 0.3s ease-in;
    animation: start 0.3s ease-in;
}
.linear-progress-material.small {
    width: 15%;
    height: 2px;
}
.linear-progress-material .bar {
    position: absolute;
    background: #106cc8;
    transition: -webkit-transform 0.2s linear;
    transition: transform 0.2s linear;
    transition: transform 0.2s linear, -webkit-transform 0.2s linear;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}
.linear-progress-material .bar1 {
    -webkit-animation: growBar1 2.5s infinite, moveBar1 2.5s infinite;
    animation: growBar1 2.5s infinite, moveBar1 2.5s infinite;
}
.linear-progress-material .bar2 {
    -webkit-animation: growBar2 2.5s infinite, moveBar2 2.5s infinite;
    animation: growBar2 2.5s infinite, moveBar2 2.5s infinite;
}
@-webkit-keyframes growBar1 {
    0% {
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        transform: scaleX(0.1);
    }
    36.6% {
        -webkit-animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
        animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
        transform: scaleX(0.1);
    }
    69.15% {
        -webkit-animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
        animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
        transform: scaleX(0.83);
    }
    100% {
        transform: scaleX(0.1);
    }
}
@keyframes growBar1 {
    0% {
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        transform: scaleX(0.1);
    }
    36.6% {
        -webkit-animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
        animation-timing-function: cubic-bezier(0.33473, 0.12482, 0.78584, 1);
        transform: scaleX(0.1);
    }
    69.15% {
        -webkit-animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
        animation-timing-function: cubic-bezier(0.22573, 0, 0.23365, 1.37098);
        transform: scaleX(0.83);
    }
    100% {
        transform: scaleX(0.1);
    }
}
@-webkit-keyframes moveBar1 {
    0% {
        left: -105.16667%;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }
    20% {
        left: -105.16667%;
        -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
        animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
    }
    69.15% {
        left: 21.5%;
        -webkit-animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
        animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
    }
    100% {
        left: 95.44444%;
    }
}
@keyframes moveBar1 {
    0% {
        left: -105.16667%;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }
    20% {
        left: -105.16667%;
        -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
        animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);
    }
    69.15% {
        left: 21.5%;
        -webkit-animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
        animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);
    }
    100% {
        left: 95.44444%;
    }
}
@-webkit-keyframes growBar2 {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
        animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
        transform: scaleX(0.1);
    }
    19.15% {
        -webkit-animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
        animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
        transform: scaleX(0.57);
    }
    44.15% {
        -webkit-animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
        animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
        transform: scaleX(0.91);
    }
    100% {
        transform: scaleX(0.1);
    }
}
@keyframes growBar2 {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
        animation-timing-function: cubic-bezier(0.20503, 0.05705, 0.57661, 0.45397);
        transform: scaleX(0.1);
    }
    19.15% {
        -webkit-animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
        animation-timing-function: cubic-bezier(0.15231, 0.19643, 0.64837, 1.00432);
        transform: scaleX(0.57);
    }
    44.15% {
        -webkit-animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
        animation-timing-function: cubic-bezier(0.25776, -0.00316, 0.21176, 1.38179);
        transform: scaleX(0.91);
    }
    100% {
        transform: scaleX(0.1);
    }
}
@-webkit-keyframes moveBar2 {
    0% {
        left: -54.88889%;
        -webkit-animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
        animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
    }
    25% {
        left: -17.25%;
        -webkit-animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
        animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
    }
    48.35% {
        left: 29.5%;
        -webkit-animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
        animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
    }
    100% {
        left: 117.38889%;
    }
}
@keyframes moveBar2 {
    0% {
        left: -54.88889%;
        -webkit-animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
        animation-timing-function: cubic-bezier(0.15, 0, 0.51506, 0.40968);
    }
    25% {
        left: -17.25%;
        -webkit-animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
        animation-timing-function: cubic-bezier(0.31033, 0.28406, 0.8, 0.73372);
    }
    48.35% {
        left: 29.5%;
        -webkit-animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
        animation-timing-function: cubic-bezier(0.4, 0.62703, 0.6, 0.90203);
    }
    100% {
        left: 117.38889%;
    }
}
@-webkit-keyframes start {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 20px;
        opacity: 1;
    }
}
@keyframes start {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 20px;
        opacity: 1;
    }
}
@-webkit-keyframes end {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 2px;
        opacity: 1;
    }
}
@keyframes end {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 2px;
        opacity: 1;
    }
}
@-webkit-keyframes progressLinearMovement {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}
@keyframes progressLinearMovement {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.button-group button[type="submit"] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 2px solid #8ebd5f;
}

.button-group button[type="button"] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 2px solid white;
}


#scanner-container {
    display: none;
    background: rgba(0,0,0,0.75);
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 1em;
}

#scanner-container.active {
    display: flex;
}

#scanner {
    width: 500px;
    position: relative;
    text-align: center;
    font-size: 0.9em;
    color: #a9a9a9;
}

#cancel-btn {
    margin-top: 1em;
}

#qr-region {
    min-height: 380px;
}

#forms.inactive {
    display: none;
}

#scanner:before {
    content: "\f030";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: calc(50% - 30px);
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}