/*style custom harmonie mutuelle */
@font-face {
    font-family: "Lato Regular";
    font-style: normal;
    src: url("../fonts/Lato/Lato-Regular.ttf") format("truetype"), local("Lato Regular"), local("Lato-Regular");
}

@font-face {
    font-family: "Lato Bold";
    font-style: normal;
    src: url("../fonts/Lato/Lato-Bold.ttf") format("truetype"), local("Lato Bold"), local("Lato-Bold");
}

@font-face {
    font-family: "HK Grotesk Regular";
    font-style: normal;
    src: url("../fonts/HKGrotesk/HKGrotesk-Regular.ttf") format("opentype"), local("HK Grotesk Regular"), local("HK-Grotesk-Regular");
}

@font-face {
    font-family: "HK Grotesk Semi Bold";
    font-style: normal;
    src: url("../fonts/HKGrotesk/HKGrotesk-SemiBold.ttf") format("opentype"), local("HK Grotesk SemiBold"), local("HK-Grotesk-SemiBold");
}

@font-face {
    font-family: "HK Grotesk Bold";
    font-style: normal;
    src: url("../fonts/HKGrotesk/HKGrotesk-Bold.ttf") format("opentype"), local("HK Grotesk Bold"), local("HK-Grotesk-Bold");
}


html,
body,
div,
span,
applet,
object,
iframe,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font-family: "Lato Regular", arial, sans-serif;
}

h1 {
    font-family: "HK Grotesk Bold", "Lato Regular", arial, sans-serif;
    padding: 0 0 16px;
    color: #eb690b;
    text-align: left;
    font-size: 32px;
    line-height: 1.4;
    pointer-events: auto;
    white-space: normal;
}

h1::first-letter {
    text-transform: capitalize;
}

h2 {
    font-family: "HK Grotesk Bold", "Lato Regular", arial, sans-serif;
    color: #000;
    font-size: 24px;
    line-height: 1.4;
    text-overflow: ellipsis;
    padding: 11px 0;
    margin: 0;
}

h3 {
    font-family: "HK Grotesk Bold", "Lato Regular", arial, sans-serif;
    font-size: 20px;
    line-height: 1.4;
}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-family: "HK Grotesk Semi Bold", "Lato Regular", arial, sans-serif;
        font-size: 20px;
        white-space: normal;
    }

    h3 {
        font-size: 18px;
        white-space: normal;
    }
}

.bold {
    font-weight: 700;
}

span {
    font-size: 14px;
}

.text-bold {
    font-weight: bold;
}

.text-normal {
    font-size: 14px;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    font-size: 100%;
}

.hm-login-pf, .hm-login-pf body {
    background: #ffffff none;
    background-size: cover;
    height: 100%;
}

.hm-login-pf-page {
    padding-top: 20px;
}

.hm-login-pf-pag .hm-card-pf {
    margin-bottom: 10px;
    padding: 20px 40px 30px 40px;
}

.hm-login-pf-header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hm-login-pf-header #kc-page-title {
    display: none;
}

.hm-login-pf-header h1 {
    font-family: "HK Grotesk Bold", "Lato Regular", arial, sans-serif;
    padding: 0 0 16px;
    color: #eb690b;
    text-align: left;
    font-size: 32px;
    line-height: 1.4;
    pointer-events: auto;
    white-space: normal;
}

.hm-card-pf {
    background: #fff;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 500px;
    border-top: 0;
    box-shadow: 0 0 0;
}

#kc-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kc-form-wrapper {
    width: 320px;
}

.hm-login-pf-settings {

}

/* css flat inputs form group  */
.hm-form-group {
    position: relative;
    margin-bottom: 45px;
}

.hm-form-control {
    font-size: 14px;
    padding: .4em 0;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #757575;
}

.hm-form-control:focus {
    outline: none;
    border-bottom: transparent;
}

/* LABEL ======================================= */
.hm-control-label {
    color: #999;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 0px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.hm-form-control:focus ~ label, .hm-form-control:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #999;
}

/* BOTTOM BARS ================================= */
.input-bar {
    position: relative;
    display: block;
    width: 100%;
}

.input-bar:before, .input-bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #eb690b;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.input-bar:before {
    left: 50%;
}

.input-bar:after {
    right: 50%;
}

/* active state */
.hm-form-control:focus ~ .input-bar:before, .hm-form-control:focus ~ .input-bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.input-highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.hm-form-control:focus ~ .input-highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #eb690b;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #eb690b;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #eb690b;
    }
    to {
        width: 0;
        background: transparent;
    }
}

/* end css flat inputs form group*/





/* css material mdc flat filled inputs form group */
.hm-filled-form {
    width: 100%;
}

.hm-filled-form-group {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "Lato Regular", arial, sans-serif;
    line-height: 1.4;
    font-size: 16px;
    letter-spacing: normal;
    font-weight: 400;
    width: 100%;
    border-bottom: 1px rgba(0, 0, 0, 0.87) solid;
    margin-bottom: 20px;
}

.hm-filled-form-group:has(input:focus) {
    border-bottom-color: #eb690b;
}

.hm-filled-form-group:has(.hm-filled-form-field-subscript-error) {
    border-bottom-color: #e52020 !important;
}

.hm-filled-form-group .hm-filled-text-field-wrapper {
    height: auto;
    flex: auto;
    width: 100%;
}

.mdc-text-field:not([disabled]) {
    background-color: #f5f5f5;
}

.hm-filled-form-group .mdc-text-field {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    display: inline-flex;
    align-items: baseline;
    padding: 0 16px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    will-change: opacity, transform, color;
}
.hm-filled-form-group:has(input[disabled]) {
    opacity: 0.5;
}

.hm-filled-form-group .mdc-text-field:has(.hm-filled-form-field-text-field-icon-button) {
    padding-right: 0;
}

.hm-filled-form-field-focus-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.87);
}

.hm-filled-form-field-flex {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.hm-filled-form-field-infix {
    flex: auto;
    min-width: 0;
    width: 180px;
    position: relative;
    box-sizing: border-box;
    min-height: 56px;
    padding-top: 24px;
    padding-bottom: 8px;
}

.hm-filled-floating-label {
    position: absolute;
    left: 0;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    line-height: 1.15rem;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
    overflow: hidden;
    will-change: transform;
    transform: translateY(-50%);
    font-family: "Lato Regular", arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    top: 28px;
    color: rgba(0, 0, 0, 0.6);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
    pointer-events: all;
    left: auto;
    right: auto;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: inherit;
}

.hm-filled-form-group:has(.hm-filled-form-field-subscript-error) .hm-filled-floating-label.hm-filled-floating-label--required {
    color: #e52020;
}
.hm-filled-floating-label.hm-filled-floating-label--required:before {
    content: "*";
    color: #e52020;
    margin-left: 1px;
    margin-right: 3px;
}

/* Override red color for required fields when they are filled/valid */
.hm-filled-floating-label.hm-filled-floating-label--required:has(+input:valid) {
    color: inherit;
}
.hm-filled-floating-label.hm-filled-floating-label--required:has(+input:valid):before {
    color: inherit;
}

.hm-filled-floating-label:has(+input:focus),
.hm-filled-floating-label:has(+input:valid) {
    transform: translateY(-106%) scale(0.75);
    text-overflow: initial;
    overflow: visible;
}

.hm-filled-floating-label:has(+input:focus),
.hm-filled-floating-label.hm-filled-floating-label--required:has(+input:valid):has(+input:focus) {
    color: #eb690b;
}

.hm-filled-form-group:has(.hm-filled-form-field-subscript-error) .hm-filled-floating-label {
    color: #e52020 !important;
}

.hm-filled-field-text-field__input {
    width: 100%;
    min-width: 0;
    border-radius: 0;
    background: none;
    appearance: none;
    outline: 0;
    padding: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: inherit;
    text-transform: inherit;
    border: none;
    height: auto;
    caret-color: #eb690b;
    color: rgba(0, 0, 0, 0.87);
    transition: opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hm-filled-form-field-suffix {
    align-self: center;
    line-height: 0;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    padding: 0 0 0 4px;
}

.hm-filled-form-field-text-field-icon-button {    
    display: inline-block;
    box-sizing: border-box;
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    z-index: 0;
    overflow: visible;
    width: 48px;
    height: 48px;
    padding: 12px;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
}
.hm-filled-form-field-text-field-icon-button:focus,
.hm-filled-form-field-text-field-icon-button:hover {
    background-color: #d1d1d1;
}
.hm-filled-form-group:has(input[disabled]) .hm-filled-form-field-text-field-icon-button {
    display: none;
}

/* bloc erreur sous l'input */
.hm-filled-form-field-subscript-wrapper {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: 20px;
    font-size: 12px;
    font-weight: 400;
    
}

.hm-filled-form-field-subscript-error {
    color: #e52020;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 16px;
}

/* #### css mat checkbox #### */
.mat-checkbox label {
    z-index: 0;
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.87);
    font-family: "Lato Regular", arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

/* Input */
.mat-checkbox label > input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    z-index: -1;
    position: absolute;
    left: -10px;
    top: -8px;
    display: block;
    margin: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: none;
    outline: none;
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.2s;
}

/* Span */
.mat-checkbox label > span {
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

/* Box */
.mat-checkbox label > span::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    margin: 3px 11px 3px 1px;
    border: solid 2px; /* Safari */
    border-color: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    width: 16px;
    height: 16px;
    vertical-align: top;
    transition: border-color 0.2s, background-color 0.2s;
}

/* Checkmark */
.mat-checkbox label > span::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 1px;
    width: 10px;
    height: 5px;
    border: solid 2px transparent;
    border-right: none;
    border-top: none;
    transform: translate(3px, 4px) rotate(-45deg);
}

/* Checked, Indeterminate */
.mat-checkbox label > input:checked,
.mat-checkbox label > input:indeterminate {
    background-color: #eb690b;
}

.mat-checkbox label > input:checked + span::before,
.mat-checkbox label > input:indeterminate + span::before {
    border-color: #eb690b;
    background-color: #eb690b;
}

.mat-checkbox label > input:checked + span::after,
.mat-checkbox label > input:indeterminate + span::after {
    border-color: rgb(255, 255, 255);
}

.mat-checkbox label > input:indeterminate + span::after {
    border-left: none;
    transform: translate(4px, 3px);
}

/* Hover, Focus */
.mat-checkbox label:hover > input {
    opacity: 0.04;
    outline: none;
}

.mat-checkbox label > input:focus {
    opacity: 0;
    outline: none;
}

.mat-checkbox label:hover > input:focus {
    opacity: 0.16;
    outline: none;
}

/* Active */
.mat-checkbox label > input:active {
    opacity: 1;
    transform: scale(0);
    transition: transform 0s, opacity 0s;
}

.mat-checkbox label > input:active + span::before {
    border-color: #eb690b;
}

.mat-checkbox label > input:checked:active + span::before {
    border-color: transparent;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Disabled */
.mat-checkbox label > input:disabled {
    opacity: 0;
}

.mat-checkbox label > input:disabled + span {
    color: rgba(0, 0, 0, 0.38);
    cursor: initial;
}

.mat-checkbox label > input:disabled + span::before {
    border-color: currentColor;
}

.mat-checkbox label > input:checked:disabled + span::before,
.mat-checkbox label > input:indeterminate:disabled + span::before {
    border-color: transparent;
    background-color: currentColor;
}

/* #### css mat checkbox end #### */

.logo-hm {
    padding: 15px;
    align-self: center;
}

.logo-hm img {
    width: 130px;
    height: auto;
}

.mat-button:hover,
.mat-flat-button:hover {
    border: 1px solid #cf5c08;
}

.mat-flat-button {
    margin: 0 auto 10px;
    background-color: #eb690b;
    border: 1px solid #eb690b;
    color: #fff;
    line-height: 38px;
    border-radius: 4px;
}

input[disabled].mat-flat-button {
    background-color: #e4e4e4 !important;
    border-color: #e4e4e4 !important;
    color: black! important;
}

.mat-primary {
    color: white;
    background-color: #eb690b;
}
.mat-primary:active,
.mat-primary:focus,
.mat-primary:hover {
    background-color: #cf5c08;
    border: 1px solid #cf5c08;
}

.mat-secondary {
    color: #eb690b;
    background-color: white;
}
.mat-secondary:active,
.mat-secondary:focus,
.mat-secondary:hover {
    color: #cf5c08;
    background-color: #efefef;
}

.mat-button-link {
    text-decoration: none;
    text-align: center;
    max-width: 240px;
}


.mat-button-link:hover,
.mat-button-link:focus,
.mat-button-link:visited
{
    color: #cf5c08;
    text-decoration: none;
}
.mat-button-link.mat-primary:hover,
.mat-button-link.mat-primary:focus,
.mat-button-link.mat-primary:visited
{
    color: white;
    text-decoration: none;
}

.btn-lg {
    padding: 0px 16px;
}

.previous-button-icon {
    background: url("../assets/arrow-narrow-left.svg") center center no-repeat;
    background-size: 34px 34px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: background-color .2s cubic-bezier(.35,0,.25,1);
}
.previous-button-icon:focus,
.previous-button-icon:hover {
    background-color: rgba(0,0,0,0.12);
}

.previous-link-container {
    width: 100%;
}

.link-anchor,
.link-anchor:hover,
.link-anchor:focus
{
    color: #eb690b;
    text-decoration: underline;
    cursor: pointer;
    outline: 0;
}

/* separateur de blocs */
.separator {
    content: "&nbsp;";
    width: 100%;
    height: 24px;
}

@media (max-width: 460px) {
    .logo-hm img {
        width: 100px;
        height: auto;
    }
}
