/* CSS Document */
/*css font add*/
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Open Sans semi";
    src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
}

/*end css font add*/
html, body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

body {
    overflow-x: hidden;
    background-color: #F9F9F9;
}

.red {
    text-decoration: none !important;
}
#installContainer {
  position: absolute;
  bottom: 1em;
  display: flex;
  justify-content: center;
  width: 100%;
}

#installContainer button {
  background-color: inherit;
  border: 1px solid white;
  color: white;
  font-size: 1em;
  padding: 0.75em;
}

/*top bar*/
#topbar {
    padding: 5px 10px;
    background: #F6F6F6;
    color: #AAA;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    position: relative;
}

#topbar a {
    display: block;
    position: absolute;
    right: 10px;
    top: 5px;
    color: #AAA;
    text-decoration: none;
}

#ban_content {
    background: #F6F6F6;
    font-family: Helvetica, Arial, sans-serif;
    color: #AAA;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 99999;
    /*    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    font-size: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 8px;
    padding-left: 8px;
}

#span_impressum {
    float: right;
    color: #7E7D7D;
}

#ban_content a {
    color: #7E7D7D;
    text-decoration: none;
    right: 10px;
    top: 5px;
}

#ban_content a:hover {
    color: #AAA;
    text-decoration: underline;
    right: 10px;
    top: 5px;
}

/*fin top bar*/
/*--------------------------HEADER------------------------*/
#main-header {
    display: grid;
    grid-template-columns: 80px 27% 2fr;
    align-items: center;
    background-color: var(--white);
    width: 100%;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    padding: 10px 0 0 10px;
}

a.btn {
    margin-left: 10px;
    padding: 0px;
}

#main-header h1 {
    font-size: 1.2em;
    font-weight: 200;
    color: #707070;
    font-family: "Open Sans";
}

#main-content {
    background: #F9F9F9;
    display: grid;
    grid-template-columns: 17% 2fr;
    margin-top: 20px;
}

/*--------------------------NAVIGATION------------------------*/
.menu {
    display: flex;
    font-family: "Open Sans";
    font-weight: 200;
}

nav {
    color: #6D6D6D;
    width: max-content;
}

.current {
    font-weight: bold;
    text-decoration: underline;
}

.menu-toggle {
    display: none;
}

nav ul {
    list-style-type: none;
}

nav ul a {
    color: #8B8A8A;
    display: flex;
}

nav ul a:hover {
    color: #555555;
}

nav li {
    margin: 30px 15px 0 0;
    /*! display:inline-flex; */
    display: grid;
}

/*--------------------------FIN NAVIGATION------------------------*/
/*--------------------------DEBUT Side bar------------------------*/
#side-bar {
    padding-left: 15px;
    padding-right: 15px;
}

#bloc-important {
    background: #D2D2D2;
    border: solid;
    border-radius: 6px;
    border-width: thin;
    border-color: #d0d0d0;
    padding: 10px 10px 0px 10px;;
    color: #707070;
    margin-bottom: 10px;
}

#bloc-important a {
    color: #707070;
    text-decoration:none;
}

#regle-usage {
    background: white;
    border: solid;
    border-width: thin;
    border-color: #d0d0d0;
    padding: 20px;
    color: #707070;
    margin-bottom: 10px;
}

#compte-eel {
    background: white;
    border: solid;
    border-width: thin;
    border-color: #d0d0d0;
    padding: 20px;
    color: #707070;
    margin-bottom: 10px;
}

#compte-eel li {
    font-size: 1em;
}

#compte-eel li a {
    font-size: 1em;
    color: #707070;
}

#compte-eel ul {
    margin: 0px;
    padding: 15px;
}


#regle-usage a {
    font-size: 1em;
    color: #707070;
}

/*------------------------Fin SIDE bar------------------------*/
#content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
    padding-right: 10px;
    max-height: 51vh;
    margin-bottom: 10px;
}

#content h1 {
    font-weight: 400;
    color: #6D6D6D;
    padding: 0px;
    margin: 0px;
    grid-column: 1 / 3;
    font-family: "Open Sans semi";
}

#content h2 {
    font-size: 1.75em;
    color: #707070;
    padding-bottom: 15px;
    font-family: "Open sans";
    font-weight: 300;
}

#content h1 img {
    vertical-align: baseline;
    margin-right: 10px;
}

#content h3 {
    font-size: 1em;
    color: #707070;
    font-family: "Open Sans semi";
    margin-bottom: 0px;
    display: inline;
}

#icon-moteur-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
}

.search-item p {
    font-weight: 400;
    color: #707070;
}

.content-app {
    display: grid;
    grid-template-columns: 70px 2fr;
    margin-bottom: 0;
    /*border-bottom: solid 0.5px #e1e1e1;*/
    padding-bottom: 6px;
    align-items: center;
}

.content-app:hover {
    background-color: #f8f8f8;
}

.content-app img {
    width: 50px;
}

.block-app a {
    color: #8B8A8A;
    text-decoration: none;
}

.block-app {
    border: thin #9B9B9B;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    padding: 10px;
    background: #FFFFFF;
    grid-row: 1;
}

.bloc-text {
    padding: 10px;
}

.header-bloc-texte-1-icon {
    display: grid;
    grid-template-columns: 2fr auto;
}

 .block-aide{
    display: inline;
    border: #707070 solid 1px;
    padding: 0px 6px 0px;
    border-radius: 14px;
    color: #707070;
    background: white;
}
 .block-aide:hover {
    color: white;
    background: #707070;
}

.description {
    color: #8B8A8A;
}

/*--------------------------CUSTOM Cortex------------------------*/
div.content-app:nth-child(5) {
    color: #8B8A8A;
}

div.content-app:nth-child(5)>div:nth-child(2)>h3:nth-child(2)>a:nth-child(1) {
    color: #707070;
}

.aide {
    /* padding: 5px; */
    border: #BABABA solid 1px;
    border-radius: 15px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 10px;
}

/*--------------------------FIN CUSTOM Cortex------------------------*/
.block-moteur-search {
    display: grid;
    grid-template-columns: 100%;
    grid-row: 2;
    grid-column: 1 / 3;
    background-color: white;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    font-weight: lighter;
}

.block-moteur-search h2 {
    text-align: center;
}

.block-moteur-search img {
    width: 50px;
}

#logo-etat img {
    width: 100px;
}

footer {
    clear: both;
    display: grid;
    grid-template-columns: 3fr 5fr 1fr;
    background-color: var(--white);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    align-items: baseline;
    /*! position: absolute; */
    bottom: 0;
    width: 100%;
    padding: 0 10px;
    font-size: 15px;
}

footer a {
    text-decoration: none;
    color: #707070;
}

@media screen and (max-width: 480px) and (min-width: 360px) {
    #main-content {
        background: #F9F9F9;
        display: flex;
        flex-wrap: wrap;
    }

    #main-header {
        display: grid;
        grid-template-columns: 40px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px;
        position: sticky;
        top: 0;
    }

    #main-header h1 {
        font-size: 1em;
        font-weight: 200;
        color: #707070;
        font-family: "Open Sans";
    }

    #logo img {
        width: 35px;
    }

    #content {
        background: #F9F9F9;
        display: block;
        padding: 10px;
        max-height: 100%;
    }

    #side-bar-2 {
        order: 1;
    }

    #side-bar {
        order: 2;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 46px;
        background: none;
        border: none;
    }

    footer {
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        text-align: center;
        padding: 10px;
        display: block;
    }

    .block-app {
        margin-bottom: 10px;
    }

    #content h1 {
        font-size: 1.75em;
        margin-bottom: 10px;
        display: block;
    }

    #content h2 {
        font-size: 1.2em;
    }

    #content h1 img {
        vertical-align: bottom;
    }

    nav {
        color: #6D6D6D;
        display: inline-grid;
        grid-column: 1 / 4;
        position: relative;
    }

    nav li {
        margin: 10px 15px 10px 0;
        display: grid
    }

    footer {
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        text-align: center;
        padding: 10px;
        display: block;
        position: relative;
    }
}

@media screen and (max-width: 576px) and (min-width: 480px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        grid-template-columns: 1fr;
    }

    .block-app {
        margin-bottom: 10px;
    }

    #main-header {
        display: grid;
        grid-template-columns: 40px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px;
        position: sticky;
        top: 0;
    }

    #main-header h1 {
        font-size: 1.2em;
        font-weight: 200;
        color: #707070;
        font-family: "Open Sans";
        display: block;
    }

    #logo img {
        width: 35px;
    }

    #side-bar-2 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    nav {
        color: #6D6D6D;
        display: inline-grid;
        grid-column: 1 / 4;
        position: relative;
    }

    nav li {
        margin: 10px 15px 10px 0;
        display: grid;
        grid-template: 10px 1fr;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 47px;
        background: none;
        border: none;
    }

    #content {
        display: block;
        margin: 10px;
        max-height: 100%;
    }

    #content h1 {
        font-size: 1.75em;
        margin-bottom: 10px;
        display: block;
    }

    #content h1 img {
        vertical-align: bottom;
    }

    #content h2 {
        font-size: 1.2em;
    }

    footer {
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        text-align: center;
        padding: 10px;
        display: block;
        position: relative;
    }
}

@media screen and (max-width: 768px) and (min-width: 576px) {
    #main-header {
        display: grid;
        grid-template-columns: 40px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
        position: sticky;
        top: 0;
    }

    #content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 15px;
        padding-right: 10px;
        max-height: 100%;
    }

    #main-content {
        background: #F9F9F9;
        display: grid;
        grid-template-columns: auto;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    nav {
        color: #6D6D6D;
        display: inline-grid;
        grid-column: 1 / 4;
        position: relative;
    }

    nav li {
        margin: 10px 15px 10px 0;
        display: grid;
        grid-template: 10px 1fr;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        width: 47px;
        background: none;
        border: none;
    }

    #main-header {
        display: grid;
        grid-template-columns: 74px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
    }

    .bloc-text {
        line-height: 1em;
    }

    footer {
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        text-align: center;
        padding: 10px;
        display: block;
        position: relative;
    }

    #main-header h1 {
        font-size: 1em;
    }
}

@media screen and (max-width: 900px) and (min-width: 768px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        padding-bottom: 150px;
    }

    #main-header {
        display: grid;
        grid-template-columns: 74px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
    }

    .menu-toggle {
        display: block;
        width: 47px;
        background: none;
        border: none;
    }

    .menu {
        display: none;
    }

    .bloc-text {
        line-height: 1em;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    #content {
        display: grid;
        grid-template-columns: auto;
        grid-row: 1;
        grid-column: 1/3;
        max-height: 100%;
        /* grid-gap: 15px; */
        /* padding-right: 10px; */
        /* order: 1; */
    }

    nav {
        color: #6D6D6D;
        display: inline-grid;
        grid-column: 1 / 4;
        position: relative;
    }

    footer {
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        text-align: center;
        padding: 10px;
        display: block;
        position: relative;
    }
}

@media screen and (max-width: 1024px) and (min-width: 900px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        padding-top: 30px;
        padding-bottom: 150px;
    }

    #main-header {
        display: grid;
        grid-template-columns: 70px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
    }
    
    #main-header h1 {
        font-size: 1.2em;
    }

    .menu-toggle {
        display: block;
        width: 47px;
        background: none;
        border: none;
    }

    .menu {
        display: none;
    }

    .bloc-text {
        line-height: 1em;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    #content {
        display: grid;
        grid-template-columns: auto;
        grid-row: 1;
        grid-column: 1/3;
        /* grid-gap: 15px; */
        /* padding-right: 10px; */
        /* order: 1; */
    }

    footer {
        clear: both;
        display: grid;
        grid-template-columns: 150px 5fr 1fr;
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        position: relative;
        bottom: 0;
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        padding-top: 30px;
        padding-bottom: 150px;
    }

    #main-header {
        display: grid;
        grid-template-columns: 70px 1fr 13%;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
    }

    #main-header h1 {
        font-size: 1.2em;
    }

    .menu-toggle {
        display: block;
        width: 47px;
        background: none;
        border: none;
    }

    .menu {
        display: none;
    }

    .bloc-text {
        line-height: 1em;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    #content {
        display: grid;
        grid-template-columns: auto;
        grid-row: 1;
        grid-column: 1/3;
        /* grid-gap: 15px; */
        /* padding-right: 10px; */
        /* order: 1; */
        min-height: 591px;
    }

    footer {
        clear: both;
        display: grid;
        grid-template-columns: 150px 5fr 1fr;
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        position: relative;
        bottom: 0;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        padding-top: 30px;
        padding-bottom: 150px;
    }

    #main-content h1 {
        font-size: 0.8em
    }

    .menu {
        display: flex !important;
    }

    #side-bar {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    #content {
        display: grid;
        grid-template-columns: auto;
        grid-row: 1;
        grid-column: 1/3;
        max-height: 100%;
        /* grid-gap: 15px; */
        /* padding-right: 10px; */
        /* order: 1; */
    }

    .menu-toggle {
        display: none;
    }

    #main-header {
        display: grid;
        grid-template-columns: 71px 8% 1fr;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 10px 0 0 10px;
    }

    footer {
        clear: both;
        display: grid;
        grid-template-columns: 150px 5fr 1fr;
        background-color: var(--white);
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        align-items: baseline;
        position: relative;
        bottom: 0;
    }
}

@media screen and (min-width: 1200px) {
    #main-content {
        background: #F9F9F9;
        display: grid;
        grid-template-columns: minmax(255px, 300px) 2fr;
        margin-top: 20px;
        /*! padding-bottom: 225px; */
        margin-bottom: 10px;
        min-height: 100%;
    }

    .menu {
        display: flex !important;
    }

    #main-header {
        display: grid;
        grid-template-columns: 75px 15% 2fr;
        align-items: center;
        background-color: var(--white);
        width: 100%;
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
        padding: 0 0 0 15px;
    }
}