/* ---------------------------
    Nom du thème : EspaceInscrit2
    Description: Gestion de l'affichage de la page de connexion, d'erreur et de déconnexion
    Auteur: CNED
    Media: Screen
------------------------------ */

/* =Reset de base
-------------------------------------------------------------- */

html,
body {
    height: 100%;
}

body {
    background-color: #fff;
    color: #000;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
    width: 100%;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

ul {
    list-style-type: disc;
}

h1,
h2,
h3,
h4,
h5,
label {
    margin-bottom: 8px;
}

input {
    font-family: inherit;
    margin-bottom: 8px;
    max-width: 100%;
}

select {
    box-shadow: none;
    font-family: inherit;
    height: 28px;
    margin-bottom: 8px;
    max-width: 100%;
    min-width: 60px;
    overflow: hidden;
    padding: 2px;
    white-space: nowrap;
}

:lang(en-GB) {
    quotes: '\2018' '\2019' '\201C' '\201D';
}

:lang(zh) {
    font-family: å¾®è½¯é›…é»‘;
}

/* =Viewport
-------------------------------------------------------------- */
@-ms-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@-webkit-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* =Contenu
-------------------------------------------------------------- */
#noScript {
    color: #000;
    margin: 16px;
}

#fullPage {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#brandingWrapper {
    background-color: #4488dd;
    flex: none;
}

#branding {
    /* A background image will be added to the #branding element at run-time once the illustration image is configured in the theme. 
       Recommended image dimensions: 1420x1200 pixels, JPG or PNG, 200 kB average, 500 kB maximum. */
    background-color: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    margin-left: 0;
    margin-right: 500px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#contentWrapper {
    box-sizing: border-box;
    flex: 1 0 auto;
    font-family: Roboto, Arial, sans-serif;
    margin: 0 auto;
    padding: 0 1rem;
    width: 960px;
}

#content {
    background-color: #fff;
    padding: 2rem 0;
}

    #content a {
        color: #747476;
    }

        #content a:hover {
            color: #1eb4b2;
        }

#header img {
    /* Logo image recommended dimension: 60x60 (square) or 350X35 (elongated), 4 kB average, 10 kB maximum. Transparent PNG strongly recommended. */
    height: auto;
    width: auto;
}

#workArea,
#header {
    margin: 0 auto;
    word-wrap: break-word;
}

.actionLink {
    display: inline-block;
    margin-bottom: 8px;
}

.intro {
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 1rem;
}

    .intro + .form {
        margin: 2rem auto 0;
        text-align: center;
    }

/** =Connexion ---------- */
#authArea.groupMargin,
#authOptions .groupMargin,
#introduction.groupMargin {
    margin-bottom: 0;
}

.form,
#loginForm {
    border: .75rem solid #f2f2f2;
    box-shadow: 0 0 0 1px #e7e7e7 inset;
    box-sizing: border-box;
    font-size: .9rem;
    margin: 0 auto;
    padding: .75rem;
}

.form,
#loginForm,
#legal {
    width: 670px;
}

#loginMessage {
    border-bottom: 1px solid #d0d0d0;
}

    #loginMessage p:last-child {
        padding-bottom: 1rem;
    }

#formsAuthenticationArea {
    position: relative;
}

#passwordArea {
    margin-top: 1rem;
    position: relative;
}

#userNameArea,
#kmsiArea {
    margin-top: .5em;
}

#userNameLabel,
#passwordLabel {
    color: #222021;
    display: block;
    font-size: .95rem;
    font-weight: bold;
    margin-bottom: .3rem;
}

.obligatoire {
    color: #e31818;
    float: right;
}

.submitMargin {
    margin-bottom: .5em;
    margin-top: 1.5em;
    text-align: center;
}

input.text {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-sizing: border-box;
    color: #555;
    padding: 6px 12px;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    width: 100%;
}

    input.text:focus {
        border-color: #66afe9;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
        outline: 0;
    }

#passwordShow {
    background-color: transparent;
    background-image: url(/adfs/portal/images/oeil.png);
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    cursor: pointer;
    display: block;
    height: 30px;
    line-height: 0;
    margin-top: -7.5px;
    position: absolute;
    right: .5rem;
    text-indent: -5000px;
    top: 50%;
    width: 24px;
}

    #passwordShow.hide {
        background-image: url(/adfs/portal/images/oeil-barre.png);
    }

input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
}

#fullPage .submit,
input[type="submit"] {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.42857143;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

    #fullPage .submit:hover,
    #fullPage .submit:active,
    #fullPage .submit:focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

.mention {
    bottom: 0;
    color: #e31818;
    font-size: .7rem;
    font-style: italic;
    margin: 1rem 0 0;
    position: absolute;
    right: 0;
}

#kmsiArea,
#liens {
    text-align: center;
}

    #liens a {
        color: #000;
        font-size: .9rem;
        font-weight: bold;
    }

#legal {
    color: #737373;
    font-size: .75rem;
    margin: 1rem auto 0;
}

#legalShowMore {
    font-family: Roboto, Arial, sans-serif;
}

#legalMore,
#legalMore p:first-child {
    display: inline;
}

/** =Erreur ---------- */
#errorArea .bigText {
    display: none;
}

#errorDetails {
    margin-left: 0;
}

#header .actualite {
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    color: #e31818;
    font-size: .8rem;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

    #header .actualite:last-of-type {
        border-bottom: none;
    }

.actualite {
    border-bottom: 1px solid yellow;
}

    .actualite:last-child {
        border-bottom: 0;
    }

/** =Déconnexion ---------- */
#signoutArea .bigText {
    display: none;
}

#signoutArea ol {
    counter-reset: li;
    display: inline-block;
    list-style: none;
    margin: 0 10px 0 0;
    text-align: left;
}

#signoutArea li {
    display: block;
    padding: 5px;
    position: relative;
}

    #signoutArea li:before {
        background: #000;
        border-radius: 50%;
        color: #fff;
        content: counter(li);
        counter-increment: li;
        height: 20px;
        left: -20px;
        line-height: 20px;
        margin-top: -10px;
        position: absolute;
        text-align: center;
        top: 50%;
        width: 20px;
    }

/* =Footer
-------------------------------------------------------------- */
#footer {
    display: none;
}

#footerLinks {
    float: none;
    padding-top: 10px;
}

#copyright {
    color: #696969;
    display: none;
}

.pageLink {
    color: #000;
    padding-left: 16px;
}

/* =Classes utilitaires
-------------------------------------------------------------- */
.clear {
    clear: both;
}

.float {
}

.floatReverse {
    float: right;
}

.indent {
    margin-left: 16px;
}

.indentNonCollapsible {
    padding-left: 16px;
}

.hidden {
    display: none;
}

.notHidden {
    display: inherit;
}

.error {
    color: #e31818;
}

.topFieldMargin {
    margin-top: 8px;
}

.fieldMargin {
    margin-bottom: 1rem;
}

.groupMargin {
    font-size: .8rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.sectionMargin {
    margin-bottom: 64px;
}

.block {
    display: block;
}

.autoWidth {
    width: auto;
}

.fullWidth {
    width: 342px;
}

.fullWidthIndent {
    width: 326px;
}

h1,
.giantText {
    color: #222021;
    display: inline;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
}

h2,
.bigText {
    font-size: 1.33rem;
    font-weight: normal;
}

h3,
.normalText {
    font-size: 1rem;
    font-weight: normal;
}

h4,
.smallText {
    font-size: .8rem;
    font-weight: normal;
}

h5,
.tinyText {
    font-size: .8rem;
    font-weight: normal;
}

.hint {
    color: #999;
}

.emphasis {
    color: #2f2f2f;
    font-weight: 700;
}

.smallIcon {
    height: 20px;
    padding-right: 12px;
    vertical-align: middle;
}

.largeIcon {
    height: 48px;
    vertical-align: middle;
}

.largeTextNoWrap {
    display: table-cell; /* needed when in float*/
    font-size: 1.2em;
    height: 48px;
    vertical-align: middle;
    white-space: nowrap;
}

.idp {
    clear: both;
    height: 48px;
    overflow: hidden;
    padding: 8px;
}

    .idp:hover {
        background-color: #ccc;
    }

.idpDescription {
    width: 80%;
}

.lien {
    background-color: transparent;
    border: 0;
    color: #737373;
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    text-decoration: underline;
}

    .lien:hover {
        color: #1eb4b2;
    }


[hidden] {
    display: none !important;
}

/* =Media queries
-------------------------------------------------------------- */
@media(max-width: 989px) {
    input {
        font-size: 1.2rem;
    }

    #fullPage {
        background-image: none;
    }

    #content {
        padding-top: 6rem;
    }

    input.text {
        font-size: .9rem;
    }

    #signoutArea ol {
        margin-top: 0;
    }

    #footer {
        display: none;
    }
}

@media(max-width: 960px) {
    #contentWrapper {
        width: auto;
    }
}

@media(max-width: 720px) {
    .form,
    #loginForm,
    #legal {
        width: auto;
    }
}

@media(max-width: 479px) {
    #content,
    #footer,
    #workArea,
    #header {
        width: auto;
    }

    .mention {
        position: relative;
        right: initial;
        text-align: right;
    }
}
