/* Scrollbar */
::-webkit-scrollbar {
    width: 1.7rem
}

::-webkit-scrollbar-track {
    background: #f6f8fb
}

::-webkit-scrollbar-thumb {
    background: #D0D7E9
}

::-webkit-scrollbar-thumb:hover {
    background: #D0D7E9
}

/* Global */
* {
    scrollbar-color: #D0D7E9 #f6f8fb;
    scrollbar-width: auto
}

.login-pf {
    background: none;
}

html,
body {
    height: calc(100% - 43px) !important;
}

html {
    font-size: 62.5%;
    font-size: calc(1em * 0.625);
}

.login-pf body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    line-height: 1.3;
    font-size: 14px;
    color: #3E4958;
    background: #e0e5ec;
    background: #e0e5ec\9;
    background: radial-gradient(ellipse at center, #e7ebf1 10%, #b7c0cc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7ebf1', endColorstr='#b7c0cc', GradientType=1);
    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7ebf1', endColorstr='#b7c0cc', GradientType=1);
}

.login-pf-page {
    position: relative;
    top: calc(50% - 10px);
    transform: translateY(-50%);
}

@media (max-height: 768px) {
    .login-pf-page {
        top: 0;
        transform: none;
        padding-top: 10vh;
    }
}

/* Box connexion */
.card-pf {
	width:550px;
    max-width: 550px;
    padding: 30px!important;
    margin: 0 auto;
    border-top: 4px solid;
    border-color: #0066CC; /* default - IE compatibility */
    border-color: var(--pf-global--primary-color--100);
    box-shadow: 0 0 1px rgba(14, 19, 110, 0.31), 0 4px 8px rgba(9, 30, 66, 0.2), 0 30px 60px rgba(8, 43, 103, 0.25);
    border: #E6E8F1 1px solid;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    position:relative;
}

@media (min-width: 768px) {
    .login-pf-page .login-pf-social-section:first-of-type,
    .login-pf-page .login-pf-social-section:last-of-type {
        border-color: #dfe2e6;
    }
    .login-pf-page .card-pf {
	    padding: 40px 30px 30px 30px!important;
	}
}
/* Form fields */
.form-control {
    border: #E3E5EF 1px solid;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    transition: all .2s ease-out;
    font-size: 14px;
    box-shadow: 0 0 0 0 rgba(0, 24, 122, 0.08);
}

.form-control:hover {
    border-color: #E3E5EF;
    box-shadow: 0 2px 5px 0 rgba(0, 24, 122, 0.08);
    transition: all .2s ease-out;
}

.form-control:focus {
    box-shadow: 0 0 0 4px #ECEDF1;
    transition: all .2s ease-out;
    border-color: #d0d2dc;
}

/* Global typo */
#kc-header-wrapper {
    color: #5F697E;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    color: #b4becc;
    font-size: 30px;
}

h1,
h2,
h3,
h4 {
    color: #5F697E;
    font-weight: 600
}

h1 {
    font-size: 27px
    text-align:center;
}

h2 {
    font-size: 22px
}

h3 {
    font-size: 17px
}

h4 {
    font-size: 15px
}

label {
    color: #6A7791;
    font-size: 13px
}

a {
    color: #08e;
    transition: all .2s ease-out;
}
/* Buttons */
.btn-primary {
    color: #fff;
    font-size: 14px;
    margin: 32px auto 0 auto!important;
    border: none;
    background: #08e;
    text-shadow: none;
    font-weight: 600;
    box-shadow: 0 5px 20px 0 rgba(25, 140, 255, 0.26);
    transition: all .2s ease-in-out;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    padding: 12px 22px;
    padding: 12px 45%\9;
    text-align:center;
}
.btn-primary:hover {
    outline: none;
    outline-offset: unset;
    border: none !important;
    background: #3BABFF;
    box-shadow: 0 5px 20px 0 rgba(25, 140, 255, 0.26)
}

.btn-primary:focus {
    outline: none;
    outline-offset: unset;
    border: none;
    background: #3BABFF;
    box-shadow: 0 0.5rem 2rem 0 rgba(25, 140, 255, 0.26), 0 0 0 4px rgba(0, 136, 238, 0.17);
    outline: none;
}

.btn-primary[disabled],
.btn[disabled] {
    box-shadow: none;
    border-color: #ECEDF1 !important;
    color: #929aa9 !important;
    background: #ECEDF1 !important;
}
 input[type=submit].btn-block.btn-primary {
 	width:auto;
 	min-width:116px;
 }
/* Alerts */
.alert {
    background-color: #ffffff;
    border: 0px solid #6A7791;
    border-left-width: 5px;
    color: #6A7791;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 0 0 1px rgba(14, 19, 110, 0), 0 0 3px rgba(14, 19, 110, 0.2), 0 4px 8px rgba(8, 43, 103, 0.11);
    padding: 20px 20px 20px 60px;
}

.alert>.pficon {
    top: 50%;
    transform: translateY(-50%);
}

.alert>.pficon:before {
    border-radius: 100%;
    padding: 8px;
    text-align: center;
}

.alert-success {
    border-color: #67DE97;
}

.pficon-ok:before {
    color: #67DE97;
    background: rgba(103, 222, 151, 0.2);
}

.alert-error {
    border-color: #FF5D8F
}

.pficon-error-circle-o:before {
    color: #FF5D8F;
    background: rgba(255, 93, 143, 0.2);
}

/* Media queries */
@media (min-width: 768px) {
    .form-horizontal .control-label {
        margin-bottom: 5px;
        text-align: left;
    }
}

#input-error-email {
    color: red;
}

#input-error-firstname {
    color: red;
}

#input-error-lastname {
    color: red;
}

#input-error-otp-code {
    color: red;
}

#input-error-password {
    color: red;
}

#input-error-password-confirm {
    color: red;
}

/* Dropdown */
#kc-locale-dropdown {
    display: inline-block;
    position:absolute;
    top:-22px;
    right:0px;
}

#kc-locale-dropdown a {
    padding: 6px 24px 6px 14px;
    border-radius: 100px;
    position: relative;
    font-weight:500;
    font-size: 13px;
}

#kc-locale-dropdown>a {
    background: #eaedf1;
    display: inline-block;
    padding: 6px 24px 6px 14px;
    border-radius: 100px;
    position: relative;
}
#kc-locale-dropdown ul {
    display: none;
}
#kc-locale-dropdown:hover>ul {
    width: 180px;
    display: block;
    position: absolute;
    margin: 0;
    background: #ffffff;
    z-index: 99;
    list-style-type: none;
    padding: 7px 0;
}
#kc-locale-dropdown>ul {
    box-shadow: 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px rgba(9, 30, 66, 0.25), 0 30px 60px rgba(9, 30, 66, 0.25);
    border: 0;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    top: 25px;
}

a#kc-current-locale-link::after {
    display: inline-block;
    position: absolute;
    margin: 0;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 3px 0 3px;
    border-color: #0088ee transparent transparent transparent;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
}

#kc-locale ul li a {
    color: #5F697E;
    display: block;
    padding: 4px 15px;
    line-height: 1;
}

#kc-locale ul li a:hover {
    background: #0088ee;
    color: #FFF;
    text-decoration: none;
}
/* bouton sociaux */
.login-pf-page .login-pf-social-link a {
    background: #eaedf1;
}

/* France connect */
a.zocial.franceconnect-particulier {
  background-image: url(https://partenaires.franceconnect.gouv.fr/images/fc_bouton_alt2_v2.png);
  background-repeat: no-repeat;
  background-color: white;
  background-position: center;
  transition: 0.3s ease;
  height: 70px;
  width: 224px;
  margin: auto;
  padding-top: 60px;
}

a.zocial.franceconnect-particulier:hover {
  background-image: url(https://partenaires.franceconnect.gouv.fr/images/fc_bouton_alt3_v2.png) !important;
  background-repeat: no-repeat !important;
  background-color: white !important;
  background-position: center !important;
}

a.zocial.franceconnect-particulier span {
  display: none;
}


/* remember me */
#rememberMe {
    position: relative;
    margin-top: 0;
    margin-bottom: -5px;
    margin-right: 3px;
    height: 21px;
    width: 21px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    box-shadow: 0 0 0 2px #cdd3dd inset;
}

#rememberMe:focus {
    outline: none;
    box-shadow: 0 0 0 4px #ECEDF1, 0 0 0 2px #cdd3dd inset;
    transition: all .2s ease-out;
}

#rememberMe:checked {
    background: #0088ee;
    box-shadow: none;
}

#rememberMe:checked:focus {
    box-shadow: 0 0 0 4px #ECEDF1;
}

#rememberMe:checked:before,
#rememberMe:checked:after {
    content: '';
    display: block;
    background: #FFF;
    border-radius: 4px;
    height: 3px;
    width: 7px;
    left: 3px;
    top: 10px;
    transform: rotate(45deg);
    position: absolute;
}

#rememberMe:checked:after {
    width: 13px;
    left: 6px;
    top: 9px;
    transform: rotate(-45deg);
}
#rememberMe::-ms-check {
    display: none;
}
.login-pf-page .form-control {
    line-height:36px;
}
/*FIX IE*/
.login-pf {
   position: relative\9;
}
.login-pf-page {
    position: absolute\9;
    top: 23%\9;
    transform:inherit\9;
    padding-top:0\9;
}
#kc-locale-dropdown UL {
    margin:0\9;
    list-style:none\9;
    position:absolute\9;
    top:30px\9;
    left:0\9;
}
.form-group {
    width:100%\9;
    margin-bottom:0;
}
.form-group label {
	width:100%;
	display:block;
	margin-top:16px;
}
.form-control {
    width:97%\9;
    #behavior: url('border-radius.htc');
    #border-radius: 4px;
}
/*FIX END IE*/
span#input-error {
	color:#FF005C;
	font-size:12px;
}
.login-pf-page .login-pf-header h1 {
	margin-top:-24px;
}
.login-pf-header {
    width:auto;
    min-height:120px;
    position:relative;
    margin-top:16px;
    background: url("../img/logo_blueway.png") 50% 0 no-repeat;
    background-size: auto 120px;
}
#kc-username{
    position: static;
    margin-top: 100px;
    margin-bottom: 20px
}