:focus {
    outline: 0;
}

html {
    font-size: 16px; /* => fixes 1rem size to 16px */
    width: auto;
}

/*
 - used to clear or contain floats within a non-floated container
 - this ruleset is used by UAs that handle :after - not IE - see ie_cas.css for IE fix
http://www.positioniseverything.net/easyclearing.html and http://www.ejeliot.com/blog/59 */
#header:after, #content:after, #footer:after, .clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
    line-height: 0;
}

div#content {
    box-shadow: none !important;
}

body {
    --primaryColor: #191998;
    --text-normal: 1rem;
    --line-height: 1.5rem;
}

[x-cloak] {
    display: none !important;
}

[jeunest-only] {
    display: none !important;
}


/* PAGE --------------------------------- */
a:active {
    text-decoration: none;
}

a:link {
    color: #185a7d;
    text-decoration: none;
}

a:visited {
    color: #185a7d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: "Droid Sans", sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #575754;
    background-color: #f8f9fa;
    margin: 0;
    height: initial !important;
}

/**** Override overflow since cas added overflow hidden ****/

body {
    overflow: auto;
}

input {
    font-family: "Droid Sans", sans-serif;
    font-size: 14px;
}

.clear {
    clear: both;
    height: 0;
    border: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

.container {
    margin-bottom: 0px !important;
}

@media only screen and (max-width: 1023px) {
    .row {
        margin: 0;
    }

    .col-md {
        padding: 0;
    }
}

#view {
    margin: auto;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* -- messages */
.info, .errors, .success {
    clear: both;
    min-height: 40px;
    margin: 18px 0;
    padding: 10px;
    padding-left: 100px;
}

.info ul, .errors ul, .success ul {
    padding: 10px;
}

.info li, .errors li, .success li {
    margin: 3px;
}

.success p {
    margin: 0;
    padding: 5px;
}

.info {
    border: 1px dotted 008;
    background: #eff url(/gecas/images/info-e275f4b468319f15a80e953d923da039.gif) no-repeat 20px 10px;
    color: #008;
}

.errors {
    border: 1px dotted #d21033;
    background: #fed url(/gecas/images/error-d84a9f4fb1ee26dda066ab8afda1e3e9.gif) no-repeat 20px 10px;
    color: #d21033;
    line-height: 18px;
}

.success {
    border: 1px dotted #390;
    background: #dfa url(/gecas/images/confirm-bc10f2c67e8f7bd49fb4c1265ebc2b98.gif) no-repeat 20px 10px;
    color: #390;
}

#content .errors h2, #content .success h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin: 0 18px 0 0;
    padding: 0;
}

/* HEADER ------------------------------- */
#header {
    position: relative;
    padding: 20px 0;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#185a7d), to(#1f73a0));
    background-image: -o-linear-gradient(bottom, #185a7d 0%, #1f73a0 100%);
    background-image: linear-gradient(to top, #185a7d 0%, #1f73a0 100%);
    overflow: hidden;
}

/*@media only screen and (min-width: 1023px) {
	.content-header  {
		width: 1024px;
	}
}

@media only screen and (min-width: 1023px) and (max-width: 1043px) {
	.content-header  {
		padding: 10px;
	}
}

@media only screen and (max-width: 1023px) {
	.content-header  {
		width: 100%;
		flex-direction: column;
	}
}*/

.content-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 248px;

    width: 1920px;
    height: 91px;
    left: 0px;
    top: 0px;

    background: #FFFFFF;
}

.title-header {
    color: #fff;
    font-size: 32px;
    line-height: 32px;
    margin: auto;
    padding: 0 20px;
}

@media only screen and (min-width: 1023px) {
    .logo-header {
        height: 103px;
        width: 340px;
        min-width: 340px;
        margin: auto 0;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 1023px) {
    .logo-header {
        height: 45px;
        width: 150px;
        min-width: 150px;
        margin: 0 auto;
    }
}


.link-header {
    margin: auto;
}

.link-header img {
    border-radius: 15px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.6);
    max-width: 100%;
}


@media only screen and (max-width: 640px) {
    .content-header img {
        max-width: 80%;
        margin-bottom: 20px;
    }
}

/* -- Menu */
#menu {
    line-height: 17px;
    margin: 5px 0 10px 0;
    text-align: right;
}

#menu .name {
    background: url(./../images/picto_connexion.gif) no-repeat;
    font-weight: bold;
    padding: 3px 0 0 20px;
}

/* CONTENT ------------------------------- */
div.column {
    width: 488px;
}

.box div.column {
    width: 468px;
}

div.left-column {
    float: left;
}

div.right-column {
    float: right;
}

/* -- Box de liens */

@media only screen and (min-width: 1023px) {
    .box {
        width: 50%;
    }
}

@media only screen and (max-width: 1023px) {
    .box {
        width: 100%;
    }
}

.box {
    background-color: #f8f9fa;
    margin: 0 0 10px 0;
    padding: 10px;
    border: 0;
    margin: auto;
    font-size: var(--text-normal);
}

.box h2 {
    color: #185a7d;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
}

.box p {
    margin: 0 0 5px 0;
}

section label {
    padding: 4px;
    margin-bottom: 0;
    margin-top: 15px;
    font-size: var(--text-normal);
}

section:first-of-type label {
    margin-top: 0px;
}

.box p.service {
    background: #E6E6E6;
    padding: 4px;
}

.box p.service a.service-link {
    background: url(./../images/fleche.gif) no-repeat 5px 50%;
    padding-left: 14px;
}

.box p.service a.service-info {
    float: right;
}

.linkbox {
    margin-top: 20px;
    line-height: 1.3;
}

.linkbox form {
    margin-bottom: 5px;
}

.linkbox input {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline;
    font-family: "Droid Sans", sans-serif;
    font-size: 13px;
    margin: 0;
    padding-left: 0;
    text-align: left;
}

.linkbox input:hover {
    text-decoration: underline;
}

.forgot-instructions {
    line-height: 1.3;
    margin-bottom: 20px;
}

@media only screen and (min-width: 1023px) {
    #login {
        width: 50%;
    }
}

@media only screen and (max-width: 1023px) {
    #login {
        width: 100%;
    }
}

#login {
    margin: auto;
    background-color: var(--primaryColor);
}

#login div.check {
    margin: 0 auto;
    margin-top: 5px;
}

.login-additional-text {
    font-size: var(--text-normal);
    font-weight: bold;
    line-height: var(--line-height);
}

@media only screen and (min-width: 1023px) {
    #welcome-info {
        width: 50%;
    }
}

@media only screen and (max-width: 1023px) {
    #welcome-info {
        width: 100%;
    }
}

#welcome-info {
    font-size: 13px;
    margin: 10px auto 25px auto;
    padding: 0 10px;
}

@media only screen and (min-width: 1023px) {
    #list-providers,
    #france-connect-connection {
        width: 50%;
    }
}

@media only screen and (max-width: 1023px) {
    #list-providers,
    #france-connect-connection {
        width: 100%;
    }
}

#list-providers,
#france-connect-connection {
    border: 0;
    padding: 10px;
}

#list-providers,
#france-connect-connection {
    margin: auto;
    margin-top: 15px;
    background-color: #fff;
}

#list-providers ul li a.btn-cas {
    background-color: #4e76ae;
    border: 0px;
    cursor: pointer;
    width: 220px;
    height: 87px;
    margin: auto;
    background-image: url('/gecas/images/ent-a45b3437966129505d1cbee91ff05d7f.png');
    background-repeat: no-repeat;
    background-position: center;
}

#list-providers ul li a.btn-cas:hover {
    background-color: #1e93c1;
}

.custom-provider .provider-title,
.france-connect-connection-title {
    color: var(--primaryColor);
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 33px;
}

#france-connect-connection a.btn-oidc {
    background-color: #4e76ae;
    border: 0px;
    cursor: pointer;
    width: 230px;
    height: 60px;
    margin: auto;
    background-image: url('/gecas/images/franceconnect-bouton-942b5647c3fa60d00baa6680fac6fbc4.png');
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 16px;
}

#france-connect-connection a.btn-oidc:hover {
    background-color: #4e76ae;
    border: 0px;
    cursor: pointer;
    width: 230px;
    height: 60px;
    margin: auto;
    background-image: url('/gecas/images/franceconnect-bouton-hover-e1aa77b7559c9486e824fd8d00016179.png');
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 16px;
}

#list-providers .card-title,
#france-connect-connection .card-title {
    font-size: var(--text-normal);
    text-align: center;
    line-height: 24px;
}

#france-connect-connection .button-and-about {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.france-connect-about {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.card-title {
    font-size: 13px;
}

.card-subtitle {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-style: italic;
}

.card-text ul {
    padding-bottom: 0px;
}

.box .row input.text {
    width: 99%;
}

/* FORMS --------------------------------- */
form#reset-password {
    margin-top: 20px;
}

form #password-strength-suggestions {
    display: none;
}

#password-strength-warning {
    display: none;
}

#password-policy-violation-msg, #password-confirm-mismatch-msg {
    background: #ff5e5e;
    font-size: var(--text-normal);
    padding: 20px;
    margin-bottom: 20px;
}

form .progress {
    height: 1.5rem;
    margin-top: 5px;
}

form label {
    font-weight: bold;
}

div.check input {
    vertical-align: middle;
}

input.text {
    background-color: #F9F9F9;
    border: 0;
    color: #000;
    padding: 16px;
    border-radius: 3px;
    font-size: var(--text-normal);
    margin-top: 5px;
    margin-bottom: 16px;
    font-weight: bold;
    width: 100%;
}

input.text:focus {
    background-color: #F9F9F9;
    box-shadow: none;
}

div.check input.checkbox {
    margin: 3px 3px 3px 4px;
}

.change-user-info {
    margin: auto 0;
    font-size: var(--text-normal);
    font-weight: bold;
}

textarea.text {
    background-color: #E6E6E6;
    border: 0;
    color: #000;
    font-family: "Droid Sans", sans-serif;
    font-size: 12px;
    padding: 3px;
    width: 98%;
}

input.disabled, texteara.disabled {
    background-color: #f5f5f5;
    color: #666;
}

span.required {
    color: Red;
    cursor: help;
}

#login .btn-row input.button {
    width: 100%;
}

#france-connect-association .btn-row input.button {
    width: 100%;
}

.btn-row input.button {
    background-color: #FFC94F;
    border-width: 0;
    color: var(--primaryColor);
    cursor: pointer;
    font-weight: bold;
    height: 35px;
    font-size: var(--text-normal);
    line-height: 20px;
    padding: 0 30px;
    width: 45%;
}

.btn-row a.button {
    line-height: 35px;
    display: inline-block;
    background-color: #1b82ab;
    border-radius: 4px;
    height: 35px;
    padding: 0 30px;
    color: white;
    background-color: #1b82ab;
    border: 0px;
    cursor: pointer;
    font-weight: bold;
    width: 45%;
    font-size: 15px;
}

/*.btn-row input.button:hover, .btn-row a.button:hover {
	background-color: #1e93c1;
	color: #fff;
	text-decoration: none;
}*/

.btn-row .btn-cancel.button {
    border: 1px solid #1b82ab;
    background: none;
    color: #1b82ab;
}

.btn-row .btn-cancel.button:hover {
    background-color: #1b82ab;
}

.box div.btn-row {
    text-align: center;
    margin: 0;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

#reset .btn-row {
    display: flex;
    justify-content: space-between;
}

#reset .btn-row .button {
    width: 45%;
}

.pwd-reset h3 {
    margin-bottom: 10px;
}

.pwd-strength {
    margin-top: 5px;
}

@media only screen and (max-width: 1023px) {
    #logo {
        margin-bottom: 20px;
    }
}

#logo {
    float: left;
    background: url(/gecas/images/logo_ge_w200-d77a1320d2dbc70be57c4450bae337bc.png) no-repeat scroll 0px 0px;
    height: 61px;
    width: 200px;
    margin-right: 10px;
}

#footer h2 {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
}

@media only screen and (max-width: 1023px) {
    #footer .address {
        border-right: none !important;
    }
}

@media only screen and (max-width: 1023px) and (min-width: 640px) {
    #footer .address.address {
        margin-right: 0px;
        padding-right: 0px;
    }
}

#footer .address {
    float: left;
    border-right: 1px solid #e6e6e6;
    padding: 0 5px
}

#footer #address3 {
    border-right: none;
    margin-right: 0px;
}

@media only screen and (max-width: 1023px) {
    #footer #contact {
        margin-left: 0px !important;
    }
}

#footer #contact {
    margin-left: 210px;
    padding-top: 10px;
}

#footer #contact a {
    font-weight: normal;
    color: #5e9fca;
}

#footer #contact p {
    margin-top: 5px;
}

#footer #cnil {
    border-top: 1px solid #e6e6e6;
    margin-top: 5px;
}

@media only screen and (min-width: 1043px) {
    .content-footer {
        width: 1024px;
    }
}

@media only screen and (max-width: 1023px) {
    .content-footer.content-footer {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 0px;
    }
}

.content-footer {
    margin: 0 auto;
    padding-top: 20px;
}

@media only screen and (max-width: 1023px) and (min-width: 640px) {
    .adress-wrapper.adress-wrapper {
        flex-direction: row;
        justify-content: space-between;
        display: flex;
    }
}

.adress-wrapper {
    flex-direction: column;
}

.alert-danger {
    line-height: 1.3;
}


/*Theme refonte*/


* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.cnx-container {
    padding: 0 20px;
}

@media (min-width: 760px) {
    .cnx-container {
        max-width: 1400px;
        margin: auto;
    }
}

.small-container {
    padding: 0 20px;
}

@media (min-width: 760px) {
    .small-container {
        max-width: 624px;
        margin: auto;
    }
}

.header {
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
}

@media (min-width: 760px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.right-header {
    display: flex;
    flex-direction: column;
}

@media (min-width: 760px) {
    .right-header {
        flex-direction: row;
    }
}

.left-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 16px
}


.primary-container,
.form-container {
    background-color: var(--primaryColor);
    color: white;
}

.footer-rge {
    background: #EFEBE9;
    width: 100%;
    bottom: 0;
}

button {
    border: none;
    cursor: pointer;
}

.primary {
    background-color: #FFC94F;
    color: var(--primaryColor);
    padding: 20px 0;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    font-size: var(--text-normal);
    border: none;
}

.secondary {
    background-color: #FFFFFF;
    color: var(--primaryColor);
    padding: 16px;
    margin-top: 16px;
    font-family: 'Exo';
    font-style: normal;
    margin-right: 16px;
    border: solid;
    border-width: 1px;
    font-size: var(--text-normal);
}

@media (max-width: 760px) {
    .secondary {
        width: 100%;
    }
}

.ternary {
    background-color: var(--primaryColor);
    color: white;
    padding: 20px 0;
    width: 100%;
    margin-top: 16px;
    font-family: 'Exo';
    font-size: var(--text-normal);
    font-weight: bold;
}

.blank-div {
    height: 48px;
}

@media (min-width: 760px) {
    .blank-div {
        height: 200px;
    }
}

.login-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.login-form .form-container {
    padding-bottom: 0.25rem;
}

.login-form-title {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 33px;
    font-weight: bold;
}

.login-form-title-region {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-top: 32px;
    padding-bottom: 32px;
    line-height: 33px;
    font-weight: bold;
}

.new-account-title {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 28px;
    color: var(--primaryColor);
    font-weight: bold;
}

#link-pwd-reset {
    color: white;
    padding-bottom: 16px;
    font-size: var(--text-normal);
    font-weight: bold;
    text-decoration: none;
}

#link-pwd-reset-blue {
    color: var(--primaryColor);
    padding-bottom: 16px;
    font-size: var(--text-normal);
    font-weight: bold;
    text-decoration: none;
}

#passwordManagementForm {
    display: flex;
    justify-content: end;
}

.logo-rge {
    margin-right: 24px;
}

.wrapper {
    background-color: white;
    min-height: 100vh;
    padding-bottom: 150px;
}

@media (min-width: 760px) {
    .wrapper {
        padding-bottom: 200px;
    }
}

.img-logo-rge {
    background: url(/gecas/images/logo-RGE-mobile-4e71e000f4315fdf9226af6a4f26daa2.png) no-repeat scroll 0px 0px;
    width: 130px;
    height: 40px;
    background-size: 118px;
    margin-right: 8px;
}

@media (min-width: 760px) {
    .img-logo-rge {
        background: url(/gecas/images/logo-RGE-desktop-4e71e000f4315fdf9226af6a4f26daa2.png) no-repeat scroll 0px 0px;
        background-size: 118px;
    }
}

.access-type {
    font-family: 'Exo';
    font-style: normal;
    font-size: 19px;
}

.separator {
    opacity: 0.2;
    border: 1px solid #000;
    transform: rotate(90deg);
    width: 39px;
}

@media (min-width: 760px) {
    .separator {
        opacity: 0.2;
        border: 1px solid #000;
        transform: rotate(90deg);
        width: 59px;
    }
}

.footer-rge .cnx-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 760px) {
    .footer-rge .cnx-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
    }
}

@media (min-width: 760px) {
    .footer-left {
        display: flex;
    }
}

.footer-left-element {
    font-family: 'Exo';
    color: #000000;
    font-size: var(--text-normal);
}

@media (max-width: 760px) {
    .footer-left-element {
        padding-top: 16px;
    }
}

.footer-left-element a {
    color: #000000;
}

@media (min-width: 760px) {
    .footer-left-element:nth-of-type(1) {
        margin-right: 50px;
    }
}

.footer-right-element {
    font-family: 'Roboto';
    color: #000000;
    font-size: var(--text-normal);
}

@media (max-width: 760px) {
    .footer-right-element {
        padding-top: 16px;
        padding-bottom: 8px;
    }
}

.pwd-input {
    display: flex;
}

.pwd-input i {
    margin-left: -30px;
    margin-top: 26px;
    cursor: pointer;
    color: #000000;
}

.form-container-reset-pwd {
    background-color: var(--primaryColor);
    color: white;
}

@media (min-width: 760px) {
    .form-container-reset-pwd {
        margin-top: 200px;
    }
}

.small-container-pwd-reset {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 760px) {
    .small-container-pwd-reset {
        max-width: 624px;
        margin: auto;
    }
}

.reset-pwd {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reset-pwd-title {
    margin-top: 32px;
    margin-bottom: 16px;
    font-family: 'Roboto';
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.reset-pwd-text {
    margin-top: 16px;
    margin-bottom: 32px;
    font-family: 'Roboto';
    font-size: 24px;
    opacity: 80%;
    line-height: 1;
}


.small-container-pwd-reset-cancel {
    display: flex;
    justify-content: end;
    padding: 0 20px;
    color: var(--primaryColor);
    margin-top: 34px;
    font-family: 'Exo';
    font-size: var(--text-normal);
    font-weight: bold;
}

@media (min-width: 760px) {
    .small-container-pwd-reset-cancel {
        max-width: 624px;
        margin: 34px auto;
    }
}

.small-container-pwd-reset-cancel a {
    cursor: pointer;
}

.pwd-reset-sent {
    font-family: 'Roboto';
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pwd-reset-sent-title {
    color: #FFFFFF;
    margin-top: 32px;
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.pwd-reset-sent-text1 {
    margin-bottom: 8px;
    font-size: var(--text-normal);
    opacity: 80%;
    line-height: 24px;
}

.pwd-reset-sent-text2 {
    margin-bottom: 16px;
    font-size: var(--text-normal);
    opacity: 80%;
    line-height: 24px;
}

.pwd-reset-sent-email {
    margin-bottom: 8px;
    font-size: var(--text-normal);
    font-weight: bold;
    opacity: 80%;
    line-height: 24px;
}

.pwd-reset-new {
    font-family: 'Roboto';
}

.pwd-reset-new-title {
    color: #FFFFFF;
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: bold;
}

.pwd-reset-new-text {
    margin-top: 16px;
    margin-bottom: 32px;
    font-size: 24px;
    opacity: 80%;
}

.pwd-new-instructions {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: var(--text-normal);
    font-weight: normal;
    opacity: 87%;
}

.pwd-new-instructions ul {
    list-style: disc;
    margin-top: 16px;
}

.pwd-new-instructions li {
    list-style: disc;
    padding-bottom: 16px;
}

.pwd-reset-new-header div {
    line-height: 120%;
    text-align: center;
}

.pwd-reset-success-text1 {
    margin-bottom: 32px;
    font-size: var(--text-normal);
    opacity: 80%;
}

.pwd-reset-success-text1 a {
    color: white;
}

.pwd-form-connect {
    margin-bottom: 16px;
}

.pwd-forgot-button {
    display: flex;
    align-items: center;
}

.circle-button {
    background: url(/gecas/images/button-circle-6c0484b11c55c2f027a8876258be1c0f.svg) no-repeat scroll 0px 0px;
    width: 50px;
    height: 50px;
    margin-left: -8px;
    cursor: pointer;
}

#content.banner-danger h1:before,
#content.banner-danger h2:before,
#content.banner-danger h3:before,
#content.banner-danger h4:before,
#content.banner-danger h5:before {
    content: "";
}

