body {
    font-family: 'tex_gyre_adventor';
    font-size: 16px;
    padding: 0;
    margin: 0;
}

#header {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1;
}

#subhead {
    position: relative;
    width: 100vw;
    height: 3.4em;
    background-color: #f7f7f7;
    overflow-y: hidden;
    border-bottom: 1px solid #909090;
}

.dark #subhead {
    background-color: #2d2e30;
    border-bottom: 1px solid #727272;
}

#pagehead {
    color:#ffe596;
    background-color:#777;
    width: 100%;
    margin:0;
    padding: 0;
    height: 4.5em;
}

#pagehead h1 {line-height: 2em; margin-top: 0; margin-left: 20px;}
#pagehead h3 {line-height: 1.9em; margin-left: 20px;}

.padder {
  padding: 1rem;
}

.titlediv {
  float: left;
  clear: none;
  padding: 0;
  color:#ffe596;
}


#logo {
  display: inline-block;
  font-size: 2em;
  line-height: .65em;
  height: 28px;
  /* text-decoration inconsistent across browsers */
  /*text-decoration: underline !important;*/
  border-bottom: 2px solid #3366ff;
}

.logopic {
  margin-bottom: 0em;
}

.logopic img {
  display: block;
  width: 30px;
  float: left;
  margin-right: 5px;
}

.logopic div {
  color:#ffe596;
  line-height: 68px;
  float: left;
}

.logopic a, .logopic a:visited {
  color:#ffe596;
  text-decoration: underline !important;
  text-decoration-color: #3366ff !important;
}

.subtitlediv {
  font-size: .8em;
  padding: 0 0 0 2.3rem;
}


@media only screen and (max-width: 1000px) {
    body {
        font-size: .9em;
    }
    .padder {
        padding: .8rem;
    }
}

#grav-login {
    max-width: 30rem;
    margin: 5rem auto;
    //background: linear-gradient(135deg, #ffe596, orange);
    background: linear-gradient(135deg, orange, #ffe596);
    //background: linear-gradient(127deg, lavender, #ffe596);
    color: #eee;
    //border: 4px solid #bbb;
    border-radius: 16px;
    padding: 1rem 3rem 3rem 3rem;
    text-align: center;
}

#borderdiv {
    position: absolute;
    height: calc( 100% - 6px);
    width: calc( 100% - 6px);
    top: 8px;
    left: 8px;
    z-index: -1;
    margin: -5px;
    /* !importanté */
    border-radius: 14px;
    /* !importanté */
    background: linear-gradient(#666, #333);
}

#grav-login .form-actions {
    text-align: right;
}

#grav-logout {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.alert.info {
    color: #27ae60;
}

.alert.error {
    color: #e74c3c;
}

#grav-login p {
    font-size: small;
    margin: 1rem 0;
    padding: 0;
    text-align: center;
}
#grav-login .form-actions p {
    margin-bottom: 0;
}

#grav-login .button {
    vertical-align: middle;
    float: left;
    clear: left;
    margin: .5em;
}

#grav-login .button.primary {
    float: right;
    clear: right;
    margin: .6em;
    padding: .1em 1.8em .2em;
    border: 2px solid #bbb;
    border-radius: 1em;
    font-weight: bold;
    line-height: 1.5em;
    color: #eee;
    background-color: #555;
}

.form-field {
    margin: .5em;
}

#grav-login a.button.secondary, #grav-login a.button.secondary:visited {
    color: #5599ff;
    clear: both;
}

#grav-login .delimiter {
    display: block;
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.6rem;
    position: relative;
    text-transform: uppercase;
    margin: 1rem 0;
}

#grav-login .delimiter:after,
#grav-login .delimiter:before {
    background-color: #777777;
    content: "";
    height: 1px;
    position: absolute;
    top: 0.8rem;
    width: 40%;
}
#grav-login .delimiter:before {
    background-image: -moz-linear-gradient(right center , #777777, #ffffff);
    left: 0;
}
#grav-login .delimiter:after {
    background-image: -moz-linear-gradient(left center , #777777, #ffffff);
    right: 0;
}

#grav-login .rememberme {
    display: inline-block;
    float: right;
    clear: both;
    padding: 12px 0;
    vertical-align: middle;
    margin-right: .3em;
}

#grav-login .rememberme label {
    font-weight: inherit;
    display: inline;
}

#grav-login .form-label {
    margin-bottom: .2em;
}

.login-status {
    white-space: nowrap;
    vertical-align: middle;
}
