
@font-face {
    font-family: SSPr;
    src: url(../fonts/SourceSansPro-Regular.woff);
}
body {
    font-family: 'SSP', sans-serif;
    background-color: #e9ecef;
    margin: 0;
}
.container {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.panel {
    margin: 0 auto;
    width: 360px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 420px;

}
.panel-heading {
    text-align: center;
    margin-bottom: 1rem;
}
.panel-heading > img {
    width: 150px;
}
.panel-body {
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    background: #fff;
    padding: 20px;
    color: #666;
}
.panel-body__row {
    width: 100%;
    display: inline-flex;
    margin-bottom: 1rem;
    position: relative;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    box-shadow: none;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #007bff;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    cursor: pointer;
}

.form-login {
    margin-left: auto;
    order: 2;
}
.form-check {
    display: flex;
    align-self: center;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 0 40px 0 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.icon-email, .icon-password {
    position: absolute;
    font-size: 16px !important;
    right: 12px;
    top: 10px;
}
.invalid-feedback {
    display: block;
    padding: .75rem;
    background-color: rgba(220, 53, 69, .9);
    color: #fff;
    border-radius: .25rem;
    margin-bottom: 1rem;

}

@media (max-width: 576px) {
    .panel {
        margin-top: .5rem;
        width: 90%;
    }
}
