﻿/****************************************************************************************************/
/* Styles généraux */
body {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #eee;
    padding: 0;
    margin: 0;
    font-family: Calibri, Arial, sans-serif;
    overflow: auto;
}
#aspnetForm {
    position: absolute;
    width: 100%;
    height: 100%;
}
div.adminPage {
    position: relative;
    height: 100%;
    min-height: 768px;
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    background: white;
    box-shadow: 0 0 10px gray;
}

div.contentPage {
    position: absolute;
    bottom: 0;
    top: 115px;
    left: 0;
    right: 0;
    padding-bottom: 20px;
    overflow: hidden;

}
div.footerpage {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: black;
    height: 10px;
    padding: 5px;
    color: white;
}

div.contentPage button {
    border-radius: 5px;
    border: 1px solid #003770;
    background: #003770;
    color: white;
    padding: 5px 20px 5px 20px;
    margin: 5px;
}
div.contentPage button:disabled {
    background: #a8b1b7;
    border: 1px solid #a8b1b7;
}
div.contentPage input {
    border: 1px solid #888;
}
div.contentPage input[readonly] {
    border: 1px solid #eee;
}

/****************************************************************************************************/
/* Header et menu */
div.header {
    position: absolute;
    height: 115px;
    width: 100%;
}
div.headerUp {
    background: white;
}
div.headerUpCells {
    display: inline-block;
    position: relative;
    width: 45%;
    font-family: calibri,arial,sans-serif;
    font-size: 24px;
    color: #003770;
    vertical-align: middle;
}
div.headerUp img {
    width: 75%;
    height: auto;
}
/* Styles généraux Menu */
div.headerMenu {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #003770;
    color: white;
    font: 16px calibri,arial,sans-serif;
}
div.headerMenu a {
    color: white;
    text-decoration: none;
}
div.headerMenu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
/* Items du Menu */
div.headerMenu ul.menu {
}
div.headerMenu > ul.menu > li {
    position: relative;
    display: inline-block;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
}
div.headerMenu > ul.menu > li:hover {
    color: #003770;
    background: white;
}
div.headerMenu > ul.menu > li:hover > ul.submenu {
    display: block;    
}
/* Items des sous-menus */
div.headerMenu ul.submenu {
    width: 200px;
    position: absolute;
    left: 0;
    top: 36px;
    display: none;
    z-index: 100;
}
div.headerMenu ul.submenu > li > a {
    display: block;
    background: #003770;
    padding: 10px 20px 10px 20px;
}
div.headerMenu ul.submenu > li > a:hover {
    color: #003770;
    background: white;
}

/****************************************************************************************************/
/* EN fonction de la résolution, certains styles changent */       
@media screen and (max-width: 1200px) {
    div.adminPage {
        width: 100%;
    }
}