@font-face {
    font-family: 'Nunito ExtraLight';
    font-style: normal;
    font-weight: normal;
    src: url('Nunito-ExtraLight.woff') format('woff');
}

* {
    font-family: 'Nunito ExtraLight', Helvetica, Arial, sans-serif !important;
}

.language-switcher {
    opacity: .75;
    border-radius: 0.25rem;
    z-index: 300;
}

#LoginForm_username:focus {
    border-color: #2ba6cb;
}

#toggle-password {
    z-index: 2;
    float: right;
    position: relative;
    margin-top: -45px;
    left: -10px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    background: url(../images/icons/iconfinder_ic_visibility.png) no-repeat center bottom/cover;
}

#global {
    z-index: 2;
    float: left;
    position: relative;
    top: 2px;
    left: 5px;
    height: 20px;
    width: 20px;
    background: url(../images/icons/icon-global.png) no-repeat center bottom/cover;
}

#loginLogo {
    left: -5%;
    position: relative;
    top:  -50vh;
    min-width: 150%;
}

@media (min-width: 40em) and (max-width: 64em){
    #loginLogo {
        left: 18%;
        top: -25vh;
    }
}

#password_forgot {
    position: relative;
    margin-top: -15px;
    margin-bottom: 5px;
    color: #475693;
}

#password_forgot a {
    color: #475693 !important;
}

.password_strength, .error-message {
    position: relative;
    top: -5px;
}

[id^="greeting-message"] {
    margin-bottom: 40px;
    color: #666666;
    line-height: 2.4rem;
    font-weight: 400;
    display: none;
}

[id^="greeting-message"] h2 {
    font-size: 2rem;
    line-height: 100%;
}

#forgotpasswordForm {
    max-width: 360px;
    margin: 0 auto;
}

#forgotPasswordMessage {
    margin-bottom: 50px;
    color: #666666;
    line-height: 2.4rem;
    font-weight: 400;
}

#forgotPasswordMessage p {
    margin-bottom: 3px;
}

#forgotPasswordMessage h2  {
    font-size: 2rem;
    line-height: 100%;
}

.is-dropdown-submenu-parent{
    width: 100%;
}

.background-logo {
    background: linear-gradient(to right, #030449 -20%, #3AB1DD 30%);
    background-size: 400% 400% !important;

    -webkit-animation: Gradient alternate 10s infinite;
    -moz-animation: Gradient alternate 10s infinite;
    animation: Gradient alternate 10s infinite;

    width: 100%;
    height: 100%;
    min-height: 100vh;
    max-height: 100vh;
    display: block;
    overflow: hidden;
}

.no-padding {
    padding: 0;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0 100%
    }
    25% {
        background-position: 25% 75%
    }
}

@-moz-keyframes Gradient {
    0% {
        background-position: 0 100%
    }
    25% {
        background-position: 25% 75%
    }
}

@keyframes Gradient {
    0% {
        background-position: 0 100%
    }
    25% {
        background-position: 25% 75%
    }
}



@media (max-width: 500px) {
    .background-logo {
        -webkit-animation: none;
        -moz-animation: none;
        animation: none;
        position: absolute;
    }

    .selectTranslation .language-switcher {
        top: 0;
    }

    .grid-container {
        max-width: none;
        position: relative;
        z-index: 1;
        color: white !important;
        left: 0;
    }

    /* #submit{
        opacity: 0.75 !important;
    } */

    #loginLogo {
        left: 20%;
        top: 0;
        position: relative;
        width: 600px;
        max-width: 600px;
    }

    .background-logo {
        width: 100%;
        left:0;
    }

    .selectTranslation {
        width: 28% !important;
        margin-top: 15px !important;
    }
/*
    [id^="greeting-message"], #forgotPasswordMessage {
        color: white;
    } */

    #global {
        right: 25%;
    }

    .field-wrapper input:not([disabled]):focus~.field-placeholder
    {
        color:black !important;
    }

    #LoginForm_username:focus{
        border-color: black;
    }
}

#contentMain {
    width: 100%;
}

.center {
    text-align: center;
}

#topHeaderLogo img {
    height: 120px;
}

#topHeaderLogo strong {
    display: block;
}

#topHeaderLogoutAction {
    margin-bottom: 20px;
}

[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin: 10px 0;
    color: #fff;
    text-transform: uppercase;
}

.username-field.error [type="text"] {
    border: 1px solid #31A8CA;
}

.error-message {
    color: #ff0000;
}

label {
    font-size: 15px;
}

.language-switcher {
    max-height: 20px;
    overflow: hidden;
}

.selectTranslation {
    float:right;
    padding:0 !important;
    margin-right: .9375rem;
    margin-bottom: 25%;
    margin-top: 15px;
    width: 25%;
}

.selectTranslation {
    background-color: transparent !important;
}

.selectTranslation {
    margin-top: -2px;
    min-width: 137px;
    max-width: 137px;
}

.selectTranslation .language-switcher {
    opacity: 1;
    position: fixed;
    width: 137px;
}
.selectTranslation .is-dropdown-submenu-parent {
    padding: 6px 19px 6px;
    width: 100%;
    position: relative;
    z-index: 7;
    background: #475693;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
}

.selectTranslation .submenu {
    max-width: 148px;
    min-width: 148px;
    margin-left: 23px;
    margin-top: 0px;
    z-index: -4;
    overflow: hidden;
    border-top: none;
    border: 1px solid #cacaca;
    border-radius: 8px;
    text-align: left;
}

.selectTranslation .submenu a {
    color: #666666;
}

.language-switcher[role] {
    max-height: none;
    overflow: visible;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 0.75rem;
    color: white;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    margin-top: -3px;
    border-color: white transparent transparent;
}

.dropdown.menu>li.opens-right>.is-dropdown-submenu {
    left: -24px !important;
    min-width: 160px;
    max-width: 160px;
    margin-top: 10px;
    text-transform: capitalize;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, .2);
}

.small-12 {
    font-size: 14px;
}

.grid-container h1 {
    font-size: 1.8rem;
}

[class^='flash-mailer'] {
    background: #2ba6cb;
    color: #fff;
    padding: 10px 5px;
}

.field-wrapper {
    position: relative;
}

.field-wrapper input {
    border: 1px solid #DADCE0;
    padding: 8px;
    border-radius: 20px;
    width: 100%;
}

.field-wrapper .field-placeholder {
    font-size: 14px;
    position: absolute;
    /* background: #fff; */
    bottom: 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #80868b;
    left: 15px;
    padding: 0 8px;
    -webkit-transition: transform 150ms cubic-bezier(0.4,0,0.2,1),opacity 150ms cubic-bezier(0.4,0,0.2,1);
    transition: transform 150ms cubic-bezier(0.4,0,0.2,1),opacity 150ms cubic-bezier(0.4,0,0.2,1);
    z-index: 1;

    text-align: left;
    width: 90%;
}

.field-wrapper .field-placeholder span{
    background: #ffffff;
    padding: 0px 8px;
}

.field-wrapper input:not([disabled]):focus~.field-placeholder
{
    color:#2ba6cb;
}

.field-wrapper input:not([disabled]):focus~.field-placeholder,
.field-wrapper.hasValue input:not([disabled])~.field-placeholder
{
    -webkit-transform: scale(.75) translateY(-24px) translateX(-54px);
    transform: scale(.75) translateY(-24px) translateX(-54px);

}

#loader {
    width: 50px;
    height: 0;
    position: relative;
    float: right;
    padding-bottom: 0px;
    bottom: 52px;
}

#site-login {
    max-width: 360px;
    margin: 0 auto;
}

#site-login .button.primary,
#site-login .button.secondary {
    width: 127px;
    height: 41px;
    margin: 40px 0;
    border-radius: 20px;
    color: #fff;
    text-transform: capitalize;
}

#site-login .button.primary {
    float: right;
}

#site-login .button.secondary {
    background: #475693;
}

.btn-divider {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #666;
}

.username-field #submit {
    background-color: #475693;
    width: 145px;
    height: 41px;
    margin: 10px auto;
    border-radius: 20px;
    text-transform: capitalize;
}

.linkColor p {
    color: #666666 !important;
}

.linkColor p a {
    color: #475693 !important;
}

.linkColorPasswordReset a {
   color: #475693 !important;
}

.cta-buttons {
    display: grid;
    grid-template-columns: 1fr;
}
/*
.cta-buttons .button-one {
    justify-self: left;
    align-self: center;
} */

.cta-buttons .button-two {
    justify-self: center;
    align-self: center;
}

.cta-buttons .cta-buttons-middle {
    align-self: center;
}

@media only screen and (min-width: 639px) and (max-width: 1140px) {
    .cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .cta-buttons .button-one,
    .cta-buttons .button-two,
    .cta-buttons .cta-buttons-middle {
        justify-self: center;
    }

    .cta-buttons .button-one {
        margin: 0;
    }

    #site-login .button.primary, #site-login .button.secondary,
    #site-login .cta-buttons .btn-divider {
        margin: 0;
    }
}

@media only screen and (max-width: 390px) {
    .cta-buttons {
        grid-template-columns: 1fr;
    }

    .cta-buttons .button-one,
    .cta-buttons .button-two,
    .cta-buttons .cta-buttons-middle {
        justify-self: center;
    }

    .cta-buttons .button-one {
        margin-top: 20px;
        margin-bottom: 0;
    }

    .cta-buttons .button-two {
        margin-top: 0;
        margin-bottom: 20px;
    }

    #site-login .button.primary, #site-login .button.secondary,
    #site-login .cta-buttons .btn-divider {
        margin: 0;
    }
}

.cc-logo-top {
    display: none;
}

@media only screen and (max-width: 638px) {
    .cc-logo-top {
        width: 85px;
        margin: 0 auto 40px;
        display: block;
    }

    .selectTranslation {
        margin-bottom: 20%;
    }
}