/*
====================================================
Section 0. Bases
====================================================
*/

:root{
  --main-color: #1558E6;
  --roll-over: #4481e1;
}

body {
    font-family: "PT Sans", Helvetica, sans-serif;
    margin: 0;
}

/*
====================================================
Section 1. Header
====================================================
*/


header .logo {
    font-size: 24px;
    margin: 0;
    margin-right: auto;
    padding: 0;
}

header .top-menu, header .site-menu {
    display:flex;
    position: relative;
    text-transform: uppercase;
}


header nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}

header .menu-bar {
    background-color: var(--main-color);
}

header nav ul li {
    transition: background-color 0.15s linear 0s;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


header nav ul li a {
    display: block;
    padding: 22px 15px;
    color: #000000;
    text-decoration: none;
    font-size: 15px;
}
header .menu-bar nav ul li a {
    padding:10px 15px;
    color: #ffffff;
}

header .top-menu .sites-menu ul li:hover a {
    color: var(--main-color);
    font-weight: 700;
}

header .menu-bar nav ul li:hover {
    background-color: var(--roll-over);
}


header .top-menu .profile-menu div.mon-compte {
    display: flex;
    padding: 13px 0;
    padding-left: 15px;
    margin-left: auto;
    position: relative;
}

header .top-menu .profile-menu div.mon-compte img {
    width: 30px;
    height: 30px;
    border-radius: 20px;
    cursor:pointer;
}

header .top-menu .profile-menu div.mon-compte ul {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: white;
    border-radius:5px 0px 5px 5px;
    width: 280px;
    height: auto;
    top: 50px;
    right: 0;
    margin-left: -140px;
    padding:0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
    z-index: 10;
}
header .top-menu .profile-menu div.mon-compte:hover ul {
    display: flex;
}
header .top-menu .profile-menu div.mon-compte ul li:first-child {
    border-radius: 5px 0px 0px 0px;
}
header .top-menu .profile-menu div.mon-compte ul li:last-child {
    border-radius: 0px 0px 5px 5px;
}
header .top-menu .profile-menu div.mon-compte ul li:hover {
    background-color: var(--main-color);
}
header .top-menu .profile-menu div.mon-compte ul li:hover a {
    color:#ffffff;
}


/*
====================================================
Section 2. Footer
====================================================
*/

footer {
    position: fixed;
    bottom: 0;
    border-top: solid 1px #e1e1e1;
    height: 45px;
    padding: 0;
    width: 100%;    background-color: white;
    text-align: center;
    font-size: 14px;
}

footer p a, footer p a:visited {
    color:var(--main-color);
    text-decoration: underline;
}
footer span.separator {
    padding: 0 10px;
}

/*
====================================================
Section 3. Core
====================================================
*/

.main {
    width: 100%;
    position: fixed;
    top: 103px;
    min-height: 0;
    height: calc(100% - 163px);
}

.center {
    max-width: 1180px;
    width: 100%;
    padding: 0;
    margin: auto;
    display: flex;
    position: relative;
    box-sizing: border-box;
    height: 100%;
}

.mainbloc {
    padding: 0;
    max-width: 1180px;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
    border-left: solid 1px #e1e1e1;
    border-right: solid 1px #e1e1e1;
    position: fixed;
}

.whiteshadowbox {
    width: 100%;
    height: calc(100% - 210px);
    background-color: #FFFFFF;
    border-radius: 0px;
    border: none;
    border-top: solid 1px #e1e1e1;
    margin: auto;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-bottom: 0px;
    box-shadow: none;
    position: relative;
    max-height: 800px;
    overflow: scroll;
}

h1 {
    padding: 10px 10px;
    font-size: 24px;
}