body {
    margin: 0;
    overflow: auto !important;
}

#background-page,
#ext-viewport {
    min-width: 300px !important;
    /*height: auto !important;*/

}

html.x-fixed-viewport,
.x-fixed-viewport>body {
    position: relative !important;
    /*height: auto !important;*/
    /**Important pour que le mask des dialog puisse prendre toute la hauteur de la page*/
}

/**Important pour que fullscreen de tinymce puisse prendre la hauteur de la page*/
div.mce-fullscreen {
    height: 100% !important;
}

div.mce-fullscreen div.mce-container-body,
div.mce-fullscreen div.mce-edit-area,
div.mce-fullscreen iframe {
    height: 96% !important;
}

.force-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.fullsize-list {
    /*   flex: none !important;*/
    /**Bug firefox - Hauteur liste non prise compte cause 'flex : 1 1 0%'*/
}

@media screen and (max-width: 1180px) {
    .not-connected ._topmenu #logo {
        width: 100% !important;
        background-size: 250px;
        height: 110px;
    }

    #header-center {
        text-align: end;
        display: flex;
        justify-content: space-between;

    }

    #header-left {
        float: left;
        width: 40%;
        margin-left: 5%;
        top: 55px;
        color: #000;
        z-index: 10;
        position: absolute;
    }

    ._topmenu #logo {
        background-position: left;
        background-size: 200px;
        width: 30% !important;
       
        margin-left: 40px;
    }

    ._topmenu #menu-div {
        padding-top: 15px !important;
        width: 60% !important;
    }


    #center {
        top: -35px;
    }

    /**Pour pouvoir scroller verticalement sur le global de la page sur un mobile au sein du body des liste **/
    /*   .fullsize-list {
        width: 95% !important;
        padding-top: 10px;
    }*/
}


@media screen and (max-width: 768px) {

    ._topmenu #logo {
        background-size: 150px;
        float: right;
        /* width: 60% !important;  */
        height: 70px;
    }

    ._topmenu#menu-bar,
    ._topmenu #menu-bar {
        /*margin-bottom: 45px;*/
        height: 70px;
    }

    #button-expand-menu {
        width: 20%;
        z-index: 5;
    }
}

#home_div {
    width: 460px;
}

#header_home_div {
    width: 455px !important;
}

#center {
    margin-left: 10px;
    margin-right: 10px;
}

/**Pour pouvoir scroller verticalement sur le global de la page sur un mobile au sein du body des liste **/
/*.fullsize-list {
    width: 92% !important;
    padding-top: 10px;
}*/



@media screen and (max-width: 580px) {

    ._topmenu #logo {
        width: 30% !important;
        margin: auto;
        float: unset;
    }



    #header-center {
        width: 80%;
        display: flex;
        justify-content: space-evenly;
    }

}

@media screen and (max-width: 550px) {

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

    
    #button-expand-menu {
        position: fixed; 
        left: -5%;
        top: 15px;
    }

     
    #headercenter-title {
        display: none !important;
    }

    #header a {
        position: fixed;
        color : #f2990f !important;
        top: 15px;
        right: 10%;
    }

    ._topmenu #menu-div {
        padding-top: 5px !important;
    }

    #home_div {
        width: 90%;
    }

    #header_home_div {
        width: auto !important;
    }

    #text-logout {
        display: none;
    }

    #center {
        margin-left: 5px;
        margin-right: 5px;
    }

    #header {
        height: 0px !important; 
    }

    #header-right{
        position: fixed;
        right: 5%;
        z-index: 5;
    }
}

@media screen and (max-width: 380px) {

    #text-logout {
        display: none;
    }

    #not-connected-form-container,
    #titre-not-connected,
    #englobe-form {
        width: 360px !important;
    }

    #last-visit {
        display: none;
    }


    #header-center {
        width: 70%;
    }

    ._topmenu #logo {
        width: 40% !important;
        float: unset;
    }
}

#header-right {
    width: auto;
}

#menu-div .x-toolbar .x-toolbar-body-el {
    flex-wrap: wrap;
}

/****Composants génériques****/
#maj-div {
    padding-top: 15px;
    padding-bottom: 15px;
}

#maj-div .x-panel-body-el {
    background: transparent;
}

.icon_update:before {
    font-family: 'icomoon';
    content: '\ea2e';
    font-size: 15px;
}

/***Layout Left Surcharge**/
#viewport_background-page {
    height: auto !important;
}

#viewport_background-page #center,
#viewport_background-page #content {
    margin: 0 !important;
    min-height: 600px;
}

@media screen and (max-width: 768px) {
    #viewport_background-page #header h1 {
        font-size: 1.2em;
    }

    #viewport_background-page #header-left {
        display: none;
    }
}

#footer {
    padding-top: 0px;
}

.x-paneltool .x-icon-el {
    color: #000;
}

.x-vertical>.x-paneltitle {
    transform: translateY(-90%);
}