::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background: #bcbbbb;
}

@font-face {
    font-family: "Roboto";
    font-weight: 300;
    font-style: normal;
    font-display: swap;

    src: local("Roboto Light"),
      url("fonts/Roboto-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    font-display: swap;

    src: local("Roboto Regular"),
      url("fonts/Roboto-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 500;
    font-style: normal;
    font-display: swap;

    src: local("Roboto Medium"),
      url("fonts/Roboto-Medium.woff2") format("woff2");
}

body {
    padding: 0;
    margin: 0;
    font-family: "Roboto", "Helvetica Neue" ,sans-serif;
    overflow: hidden;
    min-height: 100vh;
    background-image: url("images/background0.jpg"); /* fallback */
    background-image: -o-radial-gradient(rgba(43, 56, 130, 0.8), rgba(43, 56, 130, 0.8)), url("images/background1.jpg");
    background-image: radial-gradient(rgba(43, 56, 130, 0.8), rgba(43, 56, 130, 0.8)), url("images/background1.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;


    /*-webkit-transition: background-image 2s ease-in-out;*/
    /*-moz-transition: background-image 2s ease-in-out;*/
    /*-o-transition: background-image 2s ease-in-out;*/
    /*transition: background-image 2s ease-in-out;*/
}

.login {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    min-width: 400px;
    max-width: 400px;
}

.login-header {
    color: white;
    background-color: #3f51b5;
    padding: 20px;
    font-weight: 300;
}

.login-header__title {
    margin: 0 0 15px 0;
    font-size: 30px;
    font-weight: 300;
}

.login-header__subtitle {
    font-size: 14px;
}

.login-header__subtitle {
    font-size: 14px;
}

.login-body {
    background: white;
    padding: 40px 20px;
    padding-bottom: 20px;
    -webkit-box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
    box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
}

.login-body__greeting {
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
    word-break: break-word;
}

.form-field {
    font-size: 14px;
    position: relative;
    display: block;
    color: #000000;
    padding: 25px 0 10px 0;
}

.form-field:last-of-type {
    margin-bottom: 10px;
}

.form-field .form-field-label {
    position: absolute;
    display: block;
    top: 35px;
    left: 0px;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    pointer-events: none;
    cursor: text;
}

.form-field input {
    padding: 10px 0 10px 0;
    display: block;
    width: 100%;
    border: none;
    font-size: 14px;
    color: #000000;
    border-bottom: 1px solid #000000;
    outline: none;
}

.form-field input:invalid {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*.form-field input:not(:placeholder-shown) ~ .form-field-label,*/

.form-field input:valid {
    border-color: #000000 !important;
}

/* hover rule for label */
.form-field input:valid ~ .form-field-label,
/*.form-field input:-webkit-autofill ~ .form-field-label,*/
.form-field input:focus ~ .form-field-label {
    top: 10px;
    font-size: 12px;
    color: #3f51b5;
}

/* autofill rule for chrome and other browsers */
.input-autofill-rule:-webkit-autofill ~ .form-field-label {
    top: 10px;
    font-size: 12px;
    color: #3f51b5;
}

.form-field input:focus {
    outline: none;
    color: #3f51b5;
    padding-bottom: 8px;
    border-bottom-width: 3px;
    border-bottom-color: #3f51b5;
}

.form-field input:focus ~ .form-field-label {
    color: #3f51b5;
}

@media screen and (max-width: 959px) {
    .login {
        min-width: 300px;
        min-height: unset;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

.cookie-error {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background: #e00350;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 15px;
    display: none;
}

.container {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0 15px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
}

.cookie-how-to-btn {
    margin-left: 15px;
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 8px;
    padding: 5px 15px;
    text-decoration: none;
    background-color: #fff;
    font-weight: 700;
    -webkit-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
            box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    -webkit-transition: background-color .2s cubic-bezier(.35,0,.25,1);
    -o-transition: background-color .2s cubic-bezier(.35,0,.25,1);
    transition: background-color .2s cubic-bezier(.35,0,.25,1);
    border-radius: 4px;
    color: #000;
    border: none;
}

.oauth-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.oauth-list-element {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.oauth-list-element:last-child {
    margin-bottom: 0;
}

.oauth-list-button {
    width: 100%;
    -webkit-box-shadow: 1px 2px 5px -1px rgb(0 0 0 / 20%), 0 0px 1px 1px rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    box-shadow: 1px 2px 5px -1px rgb(0 0 0 / 20%), 0 0px 1px 1px rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 88px;
    line-height: 36px;
    padding: 2px 16px;
    border-radius: 2px;
    overflow: visible;
    font-size: 15px;
    font-weight: 500;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -o-border-image: initial;
    border-image: initial;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    background-position: center;
    -webkit-transition: background 0.8s;
    -o-transition: background 0.8s;
    transition: background 0.8s;
    color: black;
    border:none;
}

.oauth-list-button:hover {
    border: none;
    background: #e8e8e8;
}

.oauth-list-button__own {
    color: #fff;
    background: #3f51b5;
    margin-top: 40px;
    border: none;
    overflow: unset;
    -webkit-transition: background 0.8s;
    -o-transition: background 0.8s;
    transition: background 0.8s;
}

.oauth-list-button__own:hover {
    background: #8092fa -o-radial-gradient(circle, transparent 1%, #8092fa 1%) center/15000%;
    background: #8092fa radial-gradient(circle, transparent 1%, #8092fa 1%) center/15000%;
    -webkit-transition: background 0s;
    -o-transition: background 0s;
    transition: background 0s;
    border: none;
}

.oauth-list-button__own:active {
    background: #3f51b5;
    background-size: 100%;
    -webkit-transition: background 0s;
    -o-transition: background 0s;
    transition: background 0s;
}


.oauth-divider {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: relative;
    outline: 0;
    border: none;
    text-align: center;
    margin: 0;
    line-height: 36px;
    padding: 0 16px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.oauth-divider::before {
    width: 100%;
    height: 1px;
    background: black;
    position: absolute;
    content: "";
    left: 0;
    top: 18px;
}

.oauth-divider > span {
    padding: 5px 10px;
    background: white;
    position: relative;
}

.oauth-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 15px;
    top: 10px;
}

.svg-toggle-password {
    position: absolute;
    right: 10px;
    top: 30px;
    fill:rgba(43, 56, 130, 0.8);
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.svg-toggle-password:hover {
    opacity: 0.9;

}

.closed-eye {
    opacity: 1;
}

.closed-eye__open {
    opacity: 0;
}

.alert {
    min-width: 150px;
    padding: 10px 12px;
    border-radius: 4px;
}

.alert-info {
    border: 1px solid #00b8d4;
    color: #000000de;
    background-color: #00b8d41a;
}

.alert-warning {
    border:1px solid #ff9100;
    color:#000000de;
    background-color:#ff91001a
}
