

html,
button,
input,
select,
textarea {
    color: #222;
}

html, body {
    font-size: 1em;
    line-height: normal;
    height: 100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#contentWrap {
    min-height: 100%;
    position: relative;
}

header {
    /*text-align: center;*/
    border-bottom: 1px solid #F9871F;
    margin-bottom: 1em;
    text-align: center;
    position: relative;
    vertical-align: baseline;
    min-height: 40px;
    /*font-variant: small-caps;*/
}

#header_title {
    /*width: 100%;*/
    /*text-align: center;*/
    font-size: 1.2em;
    height: 40px;
    font-weight: bold;
    display: inline-block;
    /*margin:0 250px; /* right-floated-width 0 left-floated-width;*/
}

#header_logo {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 10px;
    margin-right: 1em;
    /*display: block;*/
    height: 40px;

}

#header_user {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    margin-left: 1em;
}

#content {
   /* min-height: 20em;*/
}

footer {
    background-color: #eeeeee;
    margin-top: 2em;
    padding: 1em;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
}


#login {
    width: 30em;
    margin: auto;
    text-align: center;
}

#login label, #Login input {
    display: inline-block;
    margin: .1em;
    text-align: left;
}

#login label {
    width: 8em;
}

#tileMenu {
    text-align: center;
}

.bouton_accueil {
    margin: 1em;
}

.form-inline {
    border: 1px solid;
    padding: 0 1em 1em;
    vertical-align: bottom;
}

.form-inline .group {
    display: inline-block;
    margin-right: 1em;
    vertical-align: bottom;
}

input[type=date] {
    width: 9em;
}

.ui-datepicker {
    font-size: 85%;
}

.alert-box {
    color: #222;
    border-radius: 12px;
    font-family: Tahoma, Geneva, Arial, sans-serif;
    font-size: 14px;
    padding: 10px 36px;
    margin: 10px;
}

.alert-box span {
    font-weight: bold;
    text-transform: uppercase;
}

.alert-box ul {
    text-align: left;
}

.faillure {
    background: #fb7567 url('../img/commun/error.png') no-repeat 10px 50%;
    border: 1px solid #f5aca6;
}

.success {
    background: #2ec23e url('../img/commun/success.png') no-repeat 10px 50%;
    border: 1px solid #a6ca8a;
}

.warning {
    background: #fdce09 url('../img/commun/warning.png') no-repeat 10px 50%;
    border: 1px solid #f2c779;
}

.notice {
    background: #29b7ff url('../img/commun/notice.png') no-repeat 10px 50%;
    border: 1px solid #8ed9f6;
}

.error {
    /*border-color: rgba(82, 168, 236, 0.8);*/
    background-color: #fb7567;
    border-color: rgba(242, 30, 0, 0.8);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(242, 30, 0, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(242, 30, 0, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(242, 30, 0, 0.6);
}

#fullPage {
    color: #888;
    display: table;
    font-family: sans-serif;
    height: 100%;
    text-align: center;
    width: 100%;
}

#fullPage .fullPageInner {
    display: table-cell;
    vertical-align: middle;
    margin: 2em auto;
}

.fullPageInner h1 {
    color: #555;
    font-size: 2em;
    font-weight: 400;
}

.fullPageInner p {

{
    margin: 0 auto
;
    width: 280px
;
}
@media only screen and (max-width: 280px) {
    body, p {
        width: 95%;
    }

    h1 {
        font-size: 1.5em;
        margin: 0 0 0.3em;
    }
}

}

#debug {
    margin: 1em;
}

#debug .version {
    color: gray;
    font-size: 8pt;
    border-top: 1px solid #aaaaaa;
}

#debug .message {
    color: maroon;
}

#debug .source {
    font-family: "Lucida Console", sans-serif;
    font-weight: normal;
    background-color: #ffffee;
}

#debug h1 {
    font-family: "Verdana", sans-serif;
    font-weight: normal;
    font-size: 18pt;
    color: red
}

#debug h3 {
    font-family: "Verdana", sans-serif;
    font-weight: bold;
    font-size: 11pt
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    /*border-color: rgba(82, 168, 236, 0.8);*/
    border-color: rgba(249, 135, 31, 0.8);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(249, 135, 31, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(249, 135, 31, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(249, 135, 31, 0.6);
}

.txtc {
    text-align: center;
}

.txtl {
    text-align: left;
}

.txtr {
    text-align: right;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

 
 
 header {
  display:none;  
}

body {
        margin: 0;
        padding: 0;
      /*  background-color: #FAFAFA; */
        font: 10pt "Tahoma";
        position:relative;
        min-height:100%;
}
    * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
    .page { 
        width: 8.5in;
        /*height: 11in;*/
        padding: 1cm;
        margin: 1cm auto;
        border: 1px #D3D3D3 solid;
        border-radius: 5px;
        background: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
    .subpage {
        padding: 0.5cm;
        border: 1px red solid;
        height: 256mm;
        outline: 1cm #FFEAEA solid;
    }
    
    @page {
        size: Letter;
        margin: 0;
    }
    @media print {
        .page {
            margin: 0;
            border: initial;
            border-radius: initial;
            width: initial;
            min-height: initial;
            box-shadow: initial;
            background: initial;
            page-break-after: always;
        }
    }

.backg {
    background-color: #EBE9E9;
}  
