@import '../fonts/font-face.css';
@import '../base/css/normalize.min.css';

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: poppins!important;
}

body {
    margin: 0
}

.main-wrapper {
    position: relative;
}

.main-wrapper>header {
    height: 64px;
    background: #fff;
    position: fixed;
    width: 100%;
    -webkit-box-shadow: rgba(97, 70, 70, 0.12) 0 1px 6px, rgba(0, 0, 0, .12) 0 1px 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 4px rgba(0, 0, 0, .12);
    z-index: 6;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: 20px
}

.main-wrapper input[type=text]::-ms-clear {
    display: none;
}

.main-wrapper>.content-wrapper {
    max-width: 340px;
    margin: auto;
    padding-top: 30vh;
    padding-bottom: 150px;
}


.main-wrapper>.content-wrapper .content {
    -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.24);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.24);
    background: #fff;
    border-radius: 4px;
}

/*
.login-help .title,
.screen .title {
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #0050aa;
    margin-top: 0;
    margin-bottom: 16px;
}
*/

#loginBackToLogin, .login-help .title {
   /* padding-left: 20px;*/
    padding-right: 20px;
}

.login-help .title + div {
    display: none;
}

.main-wrapper>.content-wrapper .footer,
.main-wrapper>.content-wrapper p {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
}

.blocked-user-page {
    padding: 28px
}

.blocked-user-page p {
    text-align: left !important
}

.blocked-user-page h5 {
    margin-bottom: 28px !important
}

.blocked-user-page .description span {
    display: inline-block;
    width: auto
}

.blocked-user-page .regain-access {
    margin: 16px 0 !important
}

.success p {
    margin: 0
}

.success .logged-in-avatar {
    margin: 20px 0;
    text-align: center;
    min-height: 104px
}

.success .logged-in-avatar img {
    width: 104px
}

.success .user-logged-in {
    font-size: 14px;
    line-height: 35px;
    padding: 0 20px
}

.success .user-not-itself {
    margin-top: 120px
}

.success .user-not-itself a {
    color: #de7472;
    display: inline-block;
    font-size: 14px;
    margin-left: 50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%)
}

.success .default-button {
    color: #fff !important;
    font-weight: 600 !important
}

.default-button span:first-of-type {
    text-transform: none!important;
    font-weight: bold !important;
    color: #ffffff !important;
}
.default-button {
    margin-top: 30px;
    background-color: #f7a609 !important;
    border: 1px solid #f7a609;
    border-radius: 31px !important;
}

.login-help-content {
    padding-bottom: 20px;
}

.login-help-content .default-button {
    margin-top: 30px;
    background-color: transparent !important;
    border: 1px solid #404040;
    color: #404040 !important;
    border-radius: 31px !important;
}

.login-help-content .default-button > button {
    color: inherit !important;
}

.login-help-content .default-button span:first-of-type {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: inherit !important;
}

.login-help-content .default-button:hover {
    border: solid 1px #f5a400;
    color: #f5a400 !important;
}


.default-button button >div:first-child >div:first-child {
    background-color: inherit!important;
    transition: none!important;
    color: inherit;
}

.two-fa-element {
    text-align: center;
}

.two-fa-element > div > div {
    display: none !important;
}

.default-button:hover, .two-fa-element button:hover {
    background-image: linear-gradient(83deg, #f7a609, #f9c00c);
}

.login-help-content .default-button:hover {
    background-image: none;
}

#loginButton, #loginFormUsernameAndPasswordButton, #loginFormPasswordResetButton, #redirectToPasswordreset,
#loginFormresendActivationFormButton, #submit-two-fa-code {
    /*background: none !important;
    height: 44px !important;
    transition: none !important;*/
}

.passwordContainer {
    position: relative
}

.passwordContainer + div {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.passwordContainer .icon {
    position: absolute !important;
    right: 0;
    bottom: 8px;
    color: #cecece
}

.passwordContainer .active {
    color: #72ac00
}

.passwordContainer input {
    padding-right: 36px !important
}

.loginBtn {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 5px 0;
    padding: 12px 0;
    border: none;
    line-height: 20px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400
}

.two-fa-title p {
    color: #6c6c6c;
    font-size: .875rem;
    margin-top: 24px !important;
    text-align: left !important
}

.two-fa-element button {
    display: inline-flex;
    display: -webkit-inline-box;
    width: 92%;
    outline: none;
    height: 44px;
    border-radius: 22px;
    background-color: #f7a609;
}

.two-fa-element button > div {
    display: inherit;
}

.two-fa-element button div {
    color: #ffffff;
    font-weight: 600;
}

.two-fa-element button span {
    font-weight: 600;
}

.two-fa-element button:hover {
    cursor: pointer
}

.two-fa-element .two-fa-icon-SMS {
    display: none;
}

.disabled button {
    background-color: #efefef !important;
    color: #6c6c6c !important
}

.two-fa-sms {
    color: #6c6c6c
}

.two-fa-sms .form-error {
    margin-top: 16px;
    margin-bottom: 16px
}

.two-fa-sms p {
    text-align: left !important;
    margin: 8px 0 !important
}

.two-fa-sms .code-wrapper {
    height: auto !important;
    min-height: 72px
}

.two-fa-sms .sms-actions {
    width: 235px;
    margin: auto
}

.two-fa-sms-title h5, .two-fa-title h5 {
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #0050aa;
}

.two-fa-sms-title .two-fa-icon-SMS {
    display: inline-block
}

.two-fa-links {
    position: relative;
    bottom: -80px;
}

.two-fa-links .lost-phone {display: none;}

.user-persona {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 10px 0;
    visibility: hidden;
    display: none
}

.user-persona span {
    display: -ms-flexbox;
    display: flex;
    margin-left: 10px;
    max-width: 150px
}

.sms-options {
    cursor: pointer;
    font-size: 14px;
    position: relative;
    text-decoration: underline;
    text-align: center;
    color: #404040;
}

.actions-wrapper {
    padding-bottom: 40px;
}

.actions-wrapper>div.other-method {
    display: none;
}



.actions-wrapper>div.validate-otp span {
    color: #fff !important;
}

.no-secure-login {
    margin-top: 25vh
}

.no-secure-login a {
    color: #de7472
}

.spinner svg {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite
}

@-webkit-keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg)
    }
}

@keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg)
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite
}

@-webkit-keyframes colors {
    0% {
        stroke: #72ac00
    }

    25% {
        stroke: #72ac00
    }

    50% {
        stroke: #72ac00
    }

    75% {
        stroke: #72ac00
    }

    to {
        stroke: #72ac00
    }
}

@keyframes colors {
    0% {
        stroke: #72ac00
    }

    25% {
        stroke: #72ac00
    }

    50% {
        stroke: #72ac00
    }

    75% {
        stroke: #72ac00
    }

    to {
        stroke: #72ac00
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187
    }

    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    to {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg)
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187
    }

    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    to {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg)
    }
}

.footerContainer {
    position: absolute;
    bottom: 0;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    left: 0;
    height: 80px;
    background-color: #fff;
    text-align: center;
    z-index: 101
}

@media (max-width:1024px) {
    .footerContainer {
        height: 60px
    }
}

@media only screen and (max-width:630px) {
    .footerContainer {
        -ms-flex-direction: column;
        flex-direction: column
    }

    .footerContainer .contact {
        margin-top: 8px
    }

    .footerContainer .links {
        margin-bottom: 8px
    }
}

.footerContainer .contact {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1.5 1;
    flex: 1.5 1;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    color: #999
}

.footerContainer .contact>span {
    margin-right: 20px;
    margin-left: 20px
}

@media (max-width:748px) {
    .footerContainer .contact>span {
        font-size: 10px
    }
}

.footerContainer .links {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 1;
    flex: 1 1;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.footerContainer .links>span a {
    text-decoration: none;
    color: #9a9a9a
}

@media (max-width:748px) {
    .footerContainer .links>span a {
        font-size: 10px
    }
}

.footerContainer .links a:visited {
    text-decoration: none;
    color: #a9a9a;
}

.footerContainer .separator {
    color: #9a9a9a
}

body {
    background-color: #e7ecef
}

.title {
    margin-bottom: 8px
}

/*
input:-webkit-autofill,
input:-webkit-autofill:focus input:-webkit-autofill,
input:-webkit-autofill:hover {
    -webkit-text-fill-color: #404040;
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: inset 0 0 0 1000px #fff
}
*/
::-webkit-input-placeholder {
    color: #e4e4e4
}

::-moz-placeholder {
    color: #e4e4e4
}

:-ms-input-placeholder {
    color: #e4e4e4
}

:-moz-placeholder {
    color: #e4e4e4
}

.overlay {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: hsla(0, 0%, 100%, .5)
}

.overlay .spinner-wrapper {
    position: relative;
    left: 50%;
    text-align: left;
    top: 40%
}

.overlay .spinner-wrapper .spinner {
    margin-bottom: 100px
}

.overlay .spinner-wrapper .spinner svg {
    width: 60px;
    height: 60px
}

.overlay .spinner-wrapper h1 {
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 47%
}

.menuItem:hover {
    color: #fff !important
}

/*
.logo {
    cursor: pointer
}
*/

.language-picker {
    margin-right: 20px
}

.language-picker>div:first-of-type {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center
}

.language-picker>div:first-of-type span {
    margin-left: 8px;
    padding-bottom: 4px
}

.menuPopover {
    margin-top: 8px
}

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap
}

.strike span {
    position: relative;
    display: inline-block;
    color: #cecece
}

.strike span:after,
.strike span:before {
    content: "\\";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
    background: #cecece
}

.strike span:before {
    right: 100%;
    margin-right: 15px
}

.strike span:after {
    left: 100%;
    margin-left: 15px
}

.screen {
    padding: 20px;
}

.screen a.link {
    cursor: pointer;
    text-decoration: underline
}

input[type=number] {
    -moz-appearance: textfield
}

button[type=submit] .spinner {
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle
}

button[type=submit] .spinner svg {
    width: 26px;
    height: 26px
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none
}

.code-wrapper {
    width: 100%;
    margin: auto;
    overflow: hidden;
    height: 65px
}

.code-wrapper input {
    letter-spacing: 5px;
    outline: none;
    background: transparent;
    border: none;
    color: transparent;
}

.code-wrapper input:focus {
    outline: none
}

.form-error,
.form-success {
    min-height: 50px;
    font-size: .875rem;
    margin-top: 8px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center
}

.form-error {
    color: #d5574d
}

.login-help a {
    text-decoration: none;
}

.login-help h5 {
    padding-top: 8px
}

.login-help>.subtitle {
    text-align: left;
    font-weight: 200
}

.login-help .go-to-previous {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    font-size: 12px;
    margin-left: -7px;
    cursor: pointer;
    padding-top: 15px;
}

.login-help .go-to-previous span {
    display: inline-block;
    vertical-align: top;
    color: #404040;
}

.login-help .go-to-previous span:nth-of-type(2) {
    margin-left: 10px
}

.login-help .go-to-previous i {
    margin-left: -4px;
    font-size: 16px;
}

.expandable-area {
    border-bottom: 1px solid #e3e3e3;
    /* margin: 0 -28px */
}

.expandable-area .expandable-section-header {
    padding: 23px 23px 0 23px;
    margin-bottom: 20px;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}

.expandable-area .expandable-section-header .subtitle {
    color: #72ac00;
    width: calc(100% - 16px);
}

.expandable-area .expandable-section-header .fa {
    font-size: 24px
}

.expandable-area .expandable-area-content {
    padding: 0 23px 20px 23px;
}

/*
.expandable-area .expandable-area-content p {
    text-align: left;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #4a4a4a;
    opacity: 0.6;
}
*/

.expandable-area:first-of-type {
    border-top: 1px solid #e3e3e3
}

.expandable-area:last-child {
    border-bottom: none
}

.expandable-area:last-child .expandable-section-header {
    margin-bottom: 0
}

.spinner {
    margin-right: 10px
}

.bold {
    font-weight: 600
}

.date-separator {
    padding: 0 5px
}

/*
.logo {
    height: 35px;
    width: 100px;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat
}
*/

/* START MALAKOFF CUSTOM CHANGES - v2 */
body {
  /*  background-image: url("/entreprises/login/ui/resources/theme/img/background.jpg");
      background-size: cover;
  */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

body .two-fa-page .sms-options.resend-code {
    color: #000000;
}

body .expandable-area .expandable-section-header .subtitle {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
}

@-webkit-keyframes colors {
    0% {
        stroke: #000000
    }

    25% {
        stroke: #000000
    }

    50% {
        stroke: #000000
    }

    75% {
        stroke: #000000
    }

    to {
        stroke: #000000
    }
}

@keyframes colors {
    0% {
        stroke: #000000
    }

    25% {
        stroke: #000000
    }

    50% {
        stroke: #000000
    }

    75% {
        stroke: #000000
    }

    to {
        stroke: #000000
    }
}

.login-help-content div>hr:last-of-type,
#UsernameAndPassword div>hr:last-of-type,
.two-fa-sms div>hr:last-of-type {
    border-color: #0050aa !important;
}

#forgotName,
#cantlogin,
#createaccount {
    display: none;
}

/*
.logo {
    width: 216px;
    height: 45px;
    margin-left: 14px;
    margin-top: -3px;
}
*/
body .form-error{
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}
/*
body input {
    font-size: 16px !important;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #404040;
}
*/
/*
body label {
    color: #404040!important;
    font-size: 14px;
    transform: scale(1) translate(0, -28px) !important;
}
*/

div:focus-within > label {
    color: #000000!important;
}

body .passwordContainer .active{
    color: #000000;
}

.footer > div:first-of-type {
    display: none;
}

/*
.go-to-previous svg path {
    fill: #000000;
}
*/

#loginSnackbar {
    transform: none !important;
    position: absolute !important;
    transition: none !important;
    top: 82px !important;
    right: 3% !important;
    left: initial !important;
    border-radius: 4px;
    max-width: 340px;
    height: 70px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.25);
}

#loginSnackbar > div {
    padding: 0 !important;
    max-width: inherit !important;
    min-width: inherit !important;
    height: inherit !important;
    line-height: inherit !important;
    background: white !important;
    border-left: 8px solid #19c56e;
    width: 340px !important;
}

#loginSnackbar > div > div {
    transition: none !important;
    padding-left: 10px;
    padding-top: 5px;
    text-align: left;
    opacity: inherit !important;
}

#loginSnackbar.success > div > div::before {
    content: "";
    background-image: url("/entreprises/login/ui/resources/theme/img/ciam_success_small.png");
    background-repeat: no-repeat;
    background-size: 60px 60px;
    display: inline-block;
    height:60px;
    width: 60px;
}

#loginSnackbar.error > div > div::before {
    content: "";
    background-image: url("/entreprises/login/ui/resources/theme/img/ciam_error_small.png");
    background-repeat: no-repeat;
    background-size: 60px 60px;
    display: inline-block;
    height:60px;
    width: 60px;
}

#loginSnackbar span {
    top: -17px;
    width: 250px;
    position: relative;
    font-weight: 600;
    display: inline-block;
    padding-left: 10px;
    color: #404040;
}

/*
#loginPasswordFieldIcon_login-password-fld.icon > div {
    background-image: url(/entreprises/login/ui/resources/theme/img/Oeil.svg);
    background-size: contain;
    width: 18px;
    height: 18px;
    margin-left: 3px;
}

#loginPasswordFieldIcon_login-password-fld.icon.active > div > div {
    background-image: url(/entreprises/login/ui/resources/theme/img/Oeil-inactif.svg);
}

#loginPasswordFieldIcon_login-password-fld svg{
    display: none !important;
}
*/
.login-help-content .default-button {
    margin-top: 30px !important;
}
.footer a:visited {
    text-decoration: none;
    color: #404040;
}
/*
body a {
  color: #404040;
}
*/

@media (min-width:340px) {
    .login-help-content .default-button span:first-of-type {
        font-size: 16px !important;
    }
}
