html,body {
    color: #1f1f1f;
    margin:0px;
    padding:0px;
    height: 100%;
    overflow: hidden;
}

header {
    position: fixed;
    z-index: 500;
    width: 100%;
    top: 38px;
    background-color: #e8e8e8;
    border-bottom: 4px solid #bdaca6;
    color: #271b16;
    overflow: hidden;
}

header a {
    color: #271b16;
    text-decoration: none;
}
header a:hover {
    color: #271b16;
    text-decoration: none;
}

header h1 {
    text-align: center;
    margin: 10px 149px;
}

.headerDateLogo {
    position: fixed;
    right: 20px;
    top: 42px;
    font-weight: bold;
    text-align: right;
}

.headerDateLogo img {
    max-height: 70px;
    width: auto;
}

.headerDateLogo div {
    margin-top: 15px;
    color: white;
    font-weight: bold;
    border-radius: 3px;
    background-color: LightSalmon;
    text-align: center;
    letter-spacing: 1px;
    padding: 0 8px;
}

.main {
    position: fixed;
    top: 123px;
    left: 200px;
    right: 10px;
    bottom: 20px;
    overflow-y: auto;
    z-index: 510;
}

.main h2 {
    padding-left: 8px;
    font-size: 1.6em;
    border-left: 6px double #87be55;
    margin-top: 40px;
    margin-bottom: 14px;
}

.main h4 {
    padding-left: 8px;
    border-left: 6px double #87be55;
}

.center {
    text-align: center;
}

.petitItalic {
    font-size: 0.8em;
    font-style: italic;
}

/*
    Add transition to containers so they can push in and out.
*/
.layout,
.mainMenu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*
    This is the parent `<div>` that contains the menu and the content area.
*/
.layout {
    position: relative;
    padding-left: 0;
    height: 100%;
}

.layoutFull header {
    top: 0;
    background-image: url("../../asset/img/logo/logoprint.png");
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 110px auto;
}

.layoutFull .headerDateLogo {
    top: 6px;
}

.layoutFull .main {
    left: 10px;
    top: 76px;
}

.layoutFull #menu {
    display: none;
}

.layoutFull #menuLink {
    display: none;
}

.layoutFull .headerBarreConnexion {
    display: none !important;
}

.layout.active .mainMenu {
    left: 191px;
    width: 191px;
}

.layout.active .menu-link {
    left: 191px;
}

/*
    The `.mainMenu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
    appears on the left side of the page.
*/
.mainMenu {
    margin-left: -191px; /* ".mainMenu" width */
    width: 190px;
    position: fixed;
    left: 0;
    top: 123px;
    bottom: 20px;
    z-index: 1000; /* so the menu or its navicon stays above all content */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #bdaca6;
    border-right: 1px solid #bdaca6;
    border-bottom: 1px solid #bdaca6;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; 
    background-color: #191818;
    color: white;
}

.mainMenu .group-title {
    padding: 0.6em;
    font-weight: bold;
    font-size: 18px;
}

.mainMenu .pure-menu-item {
    height: auto;
}

.mainMenu .pure-menu-item:not(:last-child) {
    border-bottom: 1px solid #333;
}

.mainMenu .pure-menu-link {
    white-space: inherit;
    border: none;
    padding: 0.6em;
    color: #cecece;
}

/*
    Remove all background/borders, since we are applying them to .mainMenu.
*/
.mainMenu .pure-menu,
.mainMenu .pure-menu ul {
    border: none;
    background: transparent;
}

/*
    Add that light border to separate items into groups.
*/
.mainMenu .pure-menu .menu-item-divided {
    border-top: 1px solid #dcdcdc;
}

/*
    Change color of the anchor links on hover/focus.
*/
.mainMenu .pure-menu li a:hover,
.mainMenu .pure-menu li a:focus {
    background-color: #e6dede;
    color: #271b16;
    text-decoration: none;
}

/*
    This styles the selected menu item `<li>`.
*/
.mainMenu .pure-menu-selected,
.mainMenu .pure-menu-heading {
    background: LightSalmon;
    color: white;
}

.mainMenu .pure-menu-selected::before {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -3px;
    content: "";
    width: 0; 
    height: 0; 
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
}

/*
    This styles a link within a selected menu item `<li>`.
*/
.mainMenu .pure-menu-selected a {
    color: #fff;
}

.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    left: 0; /* ".mainMenu width" */
    background: LightSalmon;
    background: rgba(255,160,122 ,0.7 );
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 520;
    width: 5em;
    height: auto;
    padding: 2.1em 1.6em;
    top: 123px;
    border-bottom-right-radius: 5px;
}

.menu-link:hover {
    background: LightSalmon;
    background: rgba(255,160,122 ,0.9 );
}

.menu-link span {
    position: relative;
    display: block;
}

.menu-link span,
.menu-link span:before,
.menu-link span:after {
    background-color: #fff;
    width: 100%;
    height: 0.2em;
}

.menu-link span:before,
.menu-link span:after {
    position: absolute;
    margin-top: -0.6em;
    content: " ";
}

.menu-link span:after {
    margin-top: 0.6em;
}

/* -- Content style - START --*/
.pure-g [class*=pure-u] {
    margin-bottom: 20px;
}

.pure-table {
    width: 100%;
    height: 100%;
    font-size: 0.8em;
    letter-spacing: 0.08em;
}

.pure-table.nativeHeight {
    height: inherit;
    margin-bottom: 10px;
}

.pure-g [class*=pure-u]:not(:first-child) .pure-table {
    width: calc(100% - 10px);
    margin-left: 10px;
}

.pure-table th {
    height:37px;
}

.pure-table td, .pure-table th {
    padding: 0.9em 1em;
    vertical-align: text-top;
}

.pure-table tr.small-padding td {
    padding: 4px;
}

.pure-table tr.sub-header {
    font-weight: bold;
}

.pure-table n {
    font-weight: normal;
}

.pure-table .green {
    background-color: #80b380;
    color: white;
}

.pure-table .lightgreen {
    background-color: #cfe2cf;
}

.pure-table .alert {
    color: red;
}

.pure-table .blockTitleMenu {
    margin-left: 20px;
}

.pure-table .strips tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.pure-table tbody tr {
    border-top: 1px solid #cbcbcb;
}
.pure-form.center {
    text-align: center;
    padding: 1em 0;
}
.pure-button-primary, .pure-button-selected, a.pure-button-primary, a.pure-button-selected {
    background-color: #87be55;
    letter-spacing: normal;
}

.select2-container {
    min-width: 350px;
}
/* -- Content style - END --*/

/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
    Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {

    .layout {
        left: 191px; /* left col width ".mainMenu" */
        left: 0;
    }
    
    .mainMenu {
        left: 191px;
    }

    .menu-link {
        position: fixed;
        left: 191px;
        display: none;
    }

    .layout.active .menu-link {
        left: 191px;
    }
}

@media (max-width: 48em) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */

    header h1 {
        font-size: 2em;
    }

    .layout.active {
        position: relative;
        left: 191px;
    }

    .layout.active .main {
        left: 211px;
    }

    .main {
        left: 20px;
    }

    .pure-u-1-3, .pure-u-8-24 {
        width: 100%;
    }
    .pure-g [class*=pure-u]:not(:first-child) .pure-table {
        width: 100%;
        margin-left: 0;
    }
}
