﻿/* Cadres */

body,
body > header,
body > #pageMiddle,
body > #pageMiddle > #mainMenu,
body > #pageMiddle > #pageContent,
body > footer {
    margin: 0;
    padding: 0;
    padding-bottom: 24px; /* pour bouton enregistrer (pas en dessous du footer) */
    height: initial;
    width: initial;
    min-height: initial;
    min-width: initial;
    max-height: initial;
    max-width: initial;
}

body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 1200px;
    padding-top: 100px;
    padding-bottom: 30px;
}

body > header {
    flex: 0 0 100px;
    display: block;
    position: fixed;
    width: 100%;
    height: 100px;
    padding: 10px 15px 20px 20px;
    top: 0px;
}

body > #pageMiddle {
    flex: 1 1 100px;
    display: flex;
    flex-direction: row;
}

body > #pageMiddle > #mainMenu {
    flex: 0 0 210px;
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 10 !important;
}

body > #pageMiddle > #pageContent {
    flex: 1 1 100px;
    display: block;
    position: relative;
}

body > footer {
    flex: 0 0 30px;
    display: block;
    position: fixed;
    padding: 2px -5px 10px 20px;
    overflow: hidden;
    width: 100%;
    height: 30px;
    bottom: 0px;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
}

/* Style */

#manageUser {
    margin-right: 25px;
}

body > header {
    background: #2b579a;
    z-index: 100 !important;
}

body > header *
{
    color: White;
}

body > header .breadcrumb-item::before
{
    color: White !important;
}

body > header > .breadcrumb 
{
    position: absolute;
    bottom: 0px;
    background: none;
    border: 0px;
    margin: 0px;
}

body > header > #shortcut 
{
    position: absolute;
    bottom: 10px;
    right: 10px;
}

body > header > #shortcut > *
{
    margin-left: 5px;
}

    body > header > #shortcut > #menuSites.hidden {
        visibility: hidden;
    }

body > header > #shortcut .dropdown {
    margin-right: 15px;
}

body > header > #shortcut .dropdown-toggle::after 
{
    color: hsl(0, 100%, 70%);
    color: Red;
    vertical-align: -5px;
    margin-left: -6px;
}

body > header > #shortcut .dropdown .badge 
{
    position: absolute;
    top: -10px;
    margin-left: -18px;
    font-size: 70%;
    padding: 4px 7px 5px 6px;
}

body > header > #login 
{
    position: absolute;
    top: 10px;
    right: 10px;
}

body > header > #login .fa 
{
    font-size: small;
}

body > header a:hover,
body > header > #login:hover,
body > header > #login:hover .fa,
body > header .fa:hover,
a:hover
{
    color: Lavender;
    cursor: pointer;
}

body > nav
{
    z-index: 1;
    background: #D4E4F7;
}

body > nav a
{
    color: #007bff !important;
}

body > nav a:hover 
{
    color: #236AB9 !important;
}


#menu ul {
    height: inherit !important;
}

#menu ul {
    height: inherit !important;
}

#menu li {
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    z-index: 200 !important;
}

#menu li a {
    color: #222;
}

#menu li ul {
    position: absolute;
    visibility: hidden;
    left: 100%;
    top: -1px;
    background-color: #fff !important;
    opacity: 1;
    /*transition: opacity 0.1s linear;*/
    /*border-top: 1px solid rgba(69, 74, 84, 0.7);*/
    /*margin-left: -5px;*/
    border-top: none !important;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5) !important;
    /*box-sizing: border-box !important;*/
    /*border-left: 2px solid #eee !important;*/
    border-left: 0 !important;
    z-index: 100 !important;
}

#menu li ul li {
    position: relative;
    z-index: 200 !important;
    background-color: inherit;
    border-left: 3px solid #fff !important;
    background-color: #fff !important;
    border-left: 3px solid #fff !important;
}

#menu li ul li:hover {
    background-color: inherit;
    border-left: 3px solid #2B579A !important;
}

body > #pageContent
{
    /*background-color: Fuchsia;*/
}

body > footer 
{
    z-index: 100;
    background-color: black;
    /*text-align: right;*/
}

body > nav li[data-isactive="true"]
{
    background-color: rgba(0,0,0,0.05);
}

#log 
{
    display: block;
    position: fixed;
    bottom: 29px;
    width: 100%;
    z-index: 100;
    opacity: 0.85;
}
#log > div 
{
    position: relative;
    border: 1px solid black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.7);
    background-color: #236AB9;
}
#log > div > header 
{
}
#log > div > div
{
    max-height: 500px;
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
}

.btn-sm
{
    margin: 2px 0px;
}
