/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-normal-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-normal-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-bold-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-bold-latin.woff2') format('woff2');
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-light-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-light-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-normal-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-normal-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-medium-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-medium-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-semibold-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-semibold-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-bold-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-bold-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/roboto-light-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/roboto-light-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-normal-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-normal-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/roboto-medium-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/roboto-medium-latin.woff2') format('woff2');
}
/* latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-bold-latin-ext.woff2') format('woff2');
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-bold-latin.woff2') format('woff2');
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}
a{
    color: #716aca;
    transition: color .3s;
    text-decoration: none;
}
a:hover{
    color: #4c4791;
}
.background-body{
    background: url('../img/login/mat_portal_bgimg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.language-menu{
    padding: 10px;
}
.language-menu .btn{
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 4.5px 30px 9.5px 12px;
    background: url('../img/login/down-arrow-white.svg') no-repeat calc(100% - 5px) center;
}
.language-menu .btn:after{
    display: none;
}
.language-menu .dropdown-menu{
    width: 225px;
}
.language-menu .dropdown-menu .dropdown-item{
    padding: 4px 16px 8px;
}
.language-menu .fi{
    vertical-align: middle;
    margin-right: 10px;
}
.main-title{
    font-size: 33px;
    font-weight: 700;
    color: #fff;
    line-height: 42px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}
.login-form{
    margin: 0 auto;
    padding: 20px 28px 20px;
    font-size: 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 20px 50px 0px rgba(0, 75, 167, 0.5);
}
.form-sm{
    max-width: 470px;
}
.login-form .form-title{
    font-size: 32px;
    margin-bottom: 10px;
}
.login-form label{
    font-size: 18px;
    margin-bottom: 14px;
}
.login-form .form-control{
    padding: 10px 12px 14px 12px;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
}
.login-form .form-check label{
    font-size: 14px;
}
.username-field{
    padding-bottom: 15px;
}
.password-field{
    padding-bottom: 15px;
}
.form-button{
    padding: 5px 0 15px;
}
.form-button .btn{
    padding: 9px 16px;
    background: #574cc6;
    border-color: #574cc6;
}
.form-button .btn:hover, .form-button .btn:focus{
    padding: 9px 16px;
    background: #423a97;
    border-color: #423a97;
}
.logo-carousel{
    padding: 50px 20px;
}
.logo-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 96px;
    border-radius: 10px;
    background: rgba(255,255,255, 0.3);
}
footer{
    font-size: 14px;
    color: #d1d2dd;
    padding: 20px 0;
    background: rgba(0, 0, 0, .7);
}
footer a{
    color: #00c5dc;
    display: inline-block;
    margin-right: 27px;
}
footer a:hover{
    color: #c0baff;
}

@media (max-width: 767.98px) {
    .language-menu{
        padding: 10px;
    }
    .main-title{
        font-size: 24px;
        line-height: 36px;
        margin: 20px 0;
    }
    .login-form{
        margin: 10px 10px 0;
    }
    .logo-carousel{
        padding: 20px;
    }
    footer{
        font-size: 12px;
    }
    footer a{
        margin: 0 10px 10px;
    }
}

@media (max-width: 991.98px) {
    .main-title{
        margin: 15px 0 35px;
    }
    .logo-carousel{
        padding: 50px 20px;
    }
    .logo-wrapper{
        height: 51px;
        border-radius: 5px;
    }
    .logo-wrapper img{
        max-width: 100%;
        max-height: 45px;
    }
    footer a{
        margin: 0 12px 5px;
    }
}
@media (min-width: 993px) {
    footer{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
    }
}
@media (min-width: 993px) and (max-width: 1199.98px) {
    .form-sm{
        max-width: 400px;
    }
}