.connection-message .media {
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.block_connection h3{
    /*text-align: center!important;*/
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 19px;
    color: #0D5C95;
    border-left: 2px solid #C70626!important;
    display: table;
    padding: 0 10px;
}

.user-login-form .page-pre-title {
    color: rgb(201, 22, 34);
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.user-login-form .page-title {
    text-transform: none;
    font-size: 21px;
    letter-spacing: inherit;
    padding-left: 20px;
}

.user-login-form #edit-wrapper-userlogin, .user-login-form #edit-wrapper-userpass {
    text-align: right;
    font-style: italic;
}
.user-login-form #edit-wrapper-userlogin a, .user-login-form #edit-wrapper-userpass a {
    color: #222;
}

.block_connection a.button.button--primary {
    margin: 30px 0;
}
.block_connection input[type=submit], #edit-actions input[type=submit] {
    background-color: #c91622;
}
.block_connection input[type=submit]:hover, #edit-actions input[type=submit]:hover {
    background-color: #00528e;
}

div#edit-coords {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.connection-message .typo3-messages h4, .connection-message .typo3-messages p, .connection-message .typo3-messages i {
    color: #fff;
}
.connection-message .typo3-messages p {
    padding: 0;
}
.connection-message .media-left {
    width: 7%;
}
.connection-message .media-body {
    width: 87%;
}
.connection-message .media-body h4 {
    font-size: 28px;
    font-weight: 400;
}
.connection-message .media-left, .connection-message .media-body {
    float: left;
    padding: 2% 2%;
}

.cnsd-user-infos-form fieldset {
    margin-bottom: 20px;
}

.cnsd-user-infos-form fieldset:not(#edit-coords) {
    border: none;
    float: left;
    width: 20%;
    min-width: 250px;
    margin: 0 20px 20px 0;
}

.user-activity {
    width: 50%;
    margin: 0 auto;
    padding: 0 20px;
}

div#edit-wrapper-links {
    display: flex;
    justify-content: space-around;
        flex-wrap: wrap;
    width: 70%;
    margin: 0 auto;
    align-items: center;
    padding: 3% 0;
}

.cnsd-user-infos-form fieldset:not(#edit-coords) .fieldset-wrapper, .cnsd-user-infos-form fieldset:not(#edit-coords) .fieldset-wrapper a {
    display: block;
}
.cnsd-user-infos-form fieldset:not(#edit-coords) .fieldset-wrapper a {
    padding: 20px;
    color: #222;
    background-color: #ddd;
}

.wrapper-denom .denom {
    padding: 40px 20px 20px 20px;
    text-transform: uppercase;
    color: #000;
    font-size: 40px;
    letter-spacing: 0.03rem;
}

.wrapper-denom .denom strong{
    font-weight:400;
}
.wrapper-denom .button-logout {
   background: #000;
    padding: 10px!important;
    display: table;
    margin: 0 auto;
}

.wrapper-denom .button-logout .fas{
    font-size:15px;
}
.wrapper-link-account .button--primary {
    white-space: nowrap;
}

.wrapper-link-account {
    width: 30%;
    margin-right: 2%;
    margin-bottom: 40px;
    padding: 90px 20px;
    text-align: center;
    position: relative;
    background: transparent;
    border: 1px solid #000000;
}

.wrapper-link-account .link-actions a {
    background-color: #00528e;
}

#edit-wrapper-link-adh {
    border-color: rgb(201, 22, 34);
}
#edit-wrapper-link-adh a:not(.button) {
    font-weight: 600;
    color: #000;
}

.wrapper-link-account i.icon {
   display: none;
}

.wrapper-link-account .title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 0 20px 0;
    color: #00538F;
    letter-spacing: 2px;
}

.wrapper-link-account .infos {
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    color: #6babe0;
}

.wrapper-link-account#edit-hp-link {
    padding: 90px 20px 75px 20px;
    border-color: rgb(38, 161, 125);
}.wrapper-link-account#edit-hp-link .title {
    color: rgb(38, 161, 125);
}

.wrapper-link-account#edit-hp-link a.button {
    background-color: #26a17d;
}
.wrapper-link-account#edit-hp-link .icon, .wrapper-link-account#edit-hp-link .infos, .wrapper-link-account#edit-hp-link .additionnal-link {
    color: #000;
}
.wrapper-link-account#edit-hp-link .additionnal-link {
    font-weight: 600;
    background: transparent url(../img/icon-tuto-happypal.png) no-repeat;
    background-size: 20px;
    padding-left: 25px;
}

.link-actions {
    margin-top: 25px;
}

/* Petit ecran */
@media all and (max-width: 1540px) {
    .wrapper-link-account {
        width: 31%;
    }
}

/* Tablette */
@media all and (max-width: 1180px) {
    .wrapper-link-account {
        width: 45%;
    }
}

/* Tablette portrait */
@media all and (max-width: 815px) {
    .wrapper-link-account {
        width: 100%;
        margin-right: 0;
    }
    .wrapper-denom .denom {

        font-size: 25px;
    }
}

/* Mobile */
@media all and (max-width: 479px) {
    .wrapper-denom .button-logout  {
        margin-left: 0;
    }
    .connection-message .typo3-messages i {
        display: none;
    }

    div#edit-wrapper-links{
        width:85%;
    }

    .user-login-form {
        width: 80%;
        min-height: 250px;
    }

    div#edit-coords {
        display: block;
        width: 100%;
    }
    .wrapper-denom .denom {
        text-align: center;
        padding: 0;
    }
    #edit-code-number {
        margin-top: 30px !important;
    }

    fieldset input {
        width: inherit;
    }
    form.user-profile-edit-form {
        width: 90%;
    }
    input#edit-email {
        width: 90%;
    }
    #edit-actions input[type=submit] {
        width: 100%;
        padding: 20px 18px;
    }
}