/* roboto-regular - latin-ext_latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'),
    url('../fonts/roboto-v20-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin-ext_latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
}
/* roboto-500 - latin-ext_latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: local('Roboto Medium'), local('Roboto-Medium'),
    url('../fonts/roboto-v20-latin-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto-v20-latin-ext_latin-500.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto-v20-latin-ext_latin-500.ttf') format('truetype'); /* Safari, Android, iOS */
}

/* Base styles */

html,
body {
    margin: 0;
    padding: 0;
}

html {
    font-size: 15px;
}

input,
button,
h2,
label,
a,
span {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    background: #ffffff;
}

 /* Hermann Historica Styles */
.navbar-brand {
    text-align: center;
    position: absolute;
    left: 3.1746%;
}

.navbar-brand img {
    width: 200px;
    height: 40px;
}


.close--navigation {
    position: absolute;
    right: 0;
    margin-right: 3.1746%;
}

.close--navigation img {
    width: 30px;
    height: 30px;
}

.topbar--container,
.form--container {
    display: flex;
    justify-content: center;
}

.topbar--container {
    padding-top: 40px;
    padding-bottom: 40px;
    align-items: center;
    position: relative;
}

.form--container .card {
    width: 320px;
    padding-bottom: 40px;
}

.form--container .card-body {
    padding: 0 3.1746%;
}

.form--container .card-body .alert-success {
    font-size: 15px;
    line-height: 25px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-bottom: 17px;
    color: #5c5c5c;
}

.form--container .card-header {
    font-weight: 500;
    text-align: center;
    color: #5c5c5c;
    font-size: 28px;
    line-height: 34px;
}

.logged-in-notification {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-align: center;
    color: #5c5c5c;
}

.form--container input {
    border: 1px solid #333;
    color: #333;
    outline: 0;
    height: 43px;
    font-size: 15px;
    padding: 0 10px;
}

.form--container input,
.form--container button {
    box-sizing: border-box;
    width: 100%;
}

.form--container input[type="email"],
.form--container input[type="password"], 
.form--container button[type="submit"],
.form--container .btn {
    height: 40px;
    border-radius: 0;
}

.form--container input[type="email"],
.form--container input[type="password"] {
    font-size: 17px;
    color: #333;
}

.form--container button[type="submit"],
.form--container .btn {
    margin-top: 55px;
    color: #fff;
    background-color: #630026;
    border: 0;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    min-width: 270px;
    display: block;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
}

.form--container button[type="submit"]:hover,
.form--container button[type="submit"]:focus,
.form--container button[type="submit"]:active,
.form--container .btn.btn-primary:hover,
.form--container .btn.btn-primary:focus,
.form--container .btn.btn-primary:active {
    background: #A00038;
    color: #fff;
    outline: 0;
}

.form--container .btn.btn-secondary,
.form--container .btn.btn-secondary,
.form--container .btn.btn-secondary {
    background: #5c5c5c;
    color: #fff;
}

.form--container .btn.btn-secondary:hover,
.form--container .btn.btn-secondary:focus,
.form--container .btn.btn-secondary:active {
    background: #919191;
    color: #fff;
}


.form--container .is-invalid {
    color: #cc3333;
    border-color: #cc3333;
}

.form--container .is-invalid::placeholder {
    color: #cc3333;
}

.form--container .invalid-feedback {
    display: block;
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
    color: #cc3333;
    padding-top: 5px;
    margin-bottom: 20px;
}

.form--container label {
    color: #333;
    font-size: 15px;
    line-height: 25px;
}

.form--container button[type="submit"] span {
    display: inline-block;
    position: relative;
    padding: 0 14px;
}

/* Arrow */
.form--container button[type="submit"] span:after {
    content: "";
    border: 0;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    display: block;
    width: 5px;
    height: 5px;
    transform: translateY(-50%) rotate(135deg);
    -ms-transform: translateY(-50%) rotate(135deg);
    -webkit-transform: translateY(-50%) rotate(135deg);
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: 1px;
}

.form--container input {
    margin-bottom: 25px;
}

.form--container button {
    margin-bottom: 20px;
}

.form--container .login-link {
    color: #5c5c5c;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.form--container .login-link:hover {
    color: #630026;
}

@media screen and (min-width: 768px) {

    .topbar--container .close--navigation{
        top: 50%;
        transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    }

    .navbar-brand {
        position: static;
    }

    .navbar-brand img {
        width: 270px;
        height: 54px;
    }

    .close--navigation {
        position: absolute;
        right: 0;
        margin-right: 3.1746%;
    }

}

@media screen and (min-width: 1024px) {
    .form--container .card-header {
        font-size: 30px;
        line-height: 38px;
    }

    .form--container .card-body {
        padding-top: 5px;
    }

    .form--container .card-body .alert-success {
        color: #5c5c5c;
    }

    .form--container .login-link {
        font-size: 16px;
        line-height: 24px;
    }

    .form--container input[type="email"],
    .form--container input[type="password"] {
        font-size: 16px;
    }

    .form--container button[type="submit"] {
        font-size: 16px;
        line-height: 24px;
    }

    .form--container .invalid-feedback {
        font-size: 14px;
    }
}
