input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px #fff inset;
    -moz-box-shadow: 0 0 0 100px #fff inset;
    box-shadow: 0 0 0 100px #fff inset;
}


body {
    font-family: "Roboto", sans-serif;
    background-size: cover;
    background-color: #ffffff;
}

.app {
    display: flex;
    padding: 40px;
}

h1 {
    font-weight: normal;
}

.overflow-hidden {
    overflow: hidden;
}

.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn-rounded {
    border-radius: 25px;
}

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

.logo-wrapper .logo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px;
    height: 100px;
}

.form-control[name="password"]:focus + .input-group-addon, .form-control[name="username"]:focus + .input-group-addon {
    border-color: #8ad4ee;
}

#footer {
    position: absolute;
    padding: 0 30px;
    margin: -50px 0 -50px 0;
    width: 100%;
    height: 30px;
}

#footer-logo {
    background-image: url("../images/marbes-logo-white.svg");
    background-repeat: no-repeat;
    background-position: left top;
    width: 137px;
    height: 25px;
}

#footer-logo > span {
    display: none;
    color: white;
}

/* registrace */
.link-option:hover {
    text-decoration: none;
}

.link-option.login h2 {
    font-size: 0.875rem;
}

.link-option.login .option-logo, .link-option.register {
    color: black;
    text-align: left;
    padding: 1rem;
    overflow: hidden; /* will contain if #first is longer than #second */
}

.link-option.login .option-logo, .link-option.register, .link-option.login.full-width, .login-option-block > span {
    background: linear-gradient(180deg, #f0f2f4 0%, #e6e8ea 100%);
}

.login-form-input-state {
    display: none;
}

.login-form-input-state .login-btn-submit {
    cursor: pointer;
}

.login-form-input-state.showed {
    display: block;
}

.login-option-block span {
    margin-bottom: 30px;
}

.login-showBtn {
    cursor: pointer !important;
}

.login-option-block span > span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-option-block span > span img {
    max-width: 70px;
    width: 100%;
    height: auto;

}
.login-option-block span > span h2 {
    color: #3a5ea9;
    font-size: 1.3rem;
    text-align: left;
    text-transform: uppercase;
    max-width: 120px;
}

.login-option-block span > p {
    line-height: 1.6;
    margin-top: 0.4rem;
    margin-bottom: 1.3rem;
}


.login-option-block span a:hover {
    text-decoration: none;
}

form.login-form-other {
    padding: 1.8rem 1.8rem 0.3rem 1.8rem !important;
    background: linear-gradient(180deg, #f0f2f4 0%, #e6e8ea 100%) !important;
    border-radius: 0.25rem !important;
    margin-bottom: 1.5rem;
}

.login-form-input input[type="submit"]{
    font-size: 0.8rem;
}

.link-option.login.full-width .option-logo {
    background: none;
}

.link-option.login.full-width:hover .option-logo {
    border: none;
}

.link-option.login.full-width img {
    width: 80px;
}

.link-option.login:hover > .option-logo, .link-option.register:hover, .link-option.login.full-width:hover {
    background: transparent;
    border: 1px solid #cdcdcd;
    padding: calc(1rem - 1px) !important;
}

.login-form {
    color: #252c36;
}

.login-form .btn-link {
    text-decoration: underline;
}

.login-form .btn-link:hover {
    text-decoration: none;
}

.login-form .card-block {
    padding: 1.5rem;
}

.btn-eidentita {
    color: #ffffff;
    background-color: #337DBD;
    border-color: #337DBD;
}

.btn-eidentita:hover {
    color: #ffffff;
    background-color: #286295;
    border-color: #265d8d;
}

.btn-eidentita:focus, .btn-eidentita.focus {
    box-shadow: 0 0 0 2px rgba(51, 125, 189, 0.5);
}

.btn-eidentita.disabled, .btn-eidentita:disabled {
    background-color: #337DBD;
    border-color: #337DBD;
}

.btn-eidentita:active, .btn-eidentita.active,
.show > .btn-eidentita.dropdown-toggle {
    color: #ffffff;
    background-color: #286295;
    background-image: none;
    border-color: #265d8d;
}

.sub-title {
    font-size: 1.125rem;
    line-height: 1.9;
}

.card-title h1 {
    font-weight: 300;
    font-size: 2.5rem;

}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.5) !important;
}

.border-right {
    border-right: 1px solid #D2D6DA;
}

.cursor-pointer {
    cursor: pointer;
}

a.fa-question-circle-o:hover {
    text-decoration: none;
}

.content > .card {
    z-index: 1;
}

/* MOBILE & TABLET*/
@media only screen and (max-width: 1050px) {
    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .app {
        padding: 0;
    }

    .content {
        position: static;
    }

    #footer {
        justify-content: center;
        text-align: center;
    }
}

.login-header h1 > [href]  {
    text-decoration: none;
    color: #000;
}

.login-title {
    font-weight: bold;
    font-size: 2rem;
    color: #1e2837;
}

#language-selector {
    position: absolute;
    top: 10px;
    right: 44px;
    z-index: 1000;
}

#language-selector .btn {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

#language-selector .dropdown-item {
    padding-top: 3px;
    padding-bottom: 3px;
}

#language-selector .dropdown-item:hover {
    background-color: #f7f7f9;
}

#language-selector .btn-secondary:hover, #language-selector .btn-secondary:active, #language-selector.show > .btn-secondary {
    background-color: #e6e6e6 !important;
}

/* MOBILE */
@media only screen and (max-width: 576px) {
    .login-header .logo-wrapper {
        margin-bottom: 15px;
    }

    .content > .card {
        text-align: center;
    }

    .content > .card .link-option.login.full-width {
        text-align: left;
        display: inline-flex;
    }
}

@media only screen and (max-width: 361px) {
    .content > .card .link-option.login.full-width span {
        width: 100%;
        flex-basis: 100%;
        text-align: center;
        max-width: none;
    }

    .content > .card .link-option.login.full-width > span > span.b-l-1 {
        border-left: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        border-top: 1px solid #c2cfd6 !important;
        margin-top: 0.5rem;
    }
}

.btn-primary:hover {
    filter: brightness(90%);
}
