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

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

}

html.x-fixed-viewport, .x-fixed-viewport > body {
    position: relative!important;
    
}

/**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-left {
        float: left;
        width: 40%;
        margin-left: 5%;
        top: 55px;
        color: #000;
        z-index: 10;
        position: absolute;
    }

    ._topmenu #logo {
        background-position: center;
        background-size: 200px;
        width: 40%!important;
        height: 150px;
    }

    ._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;
    }

    #home_div {
        width:460px!important;
    }

    #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) {


    #header-center {
        width:80%;
    }

}

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

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

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

    #header_home_div {
        width:355px!important;
    }

    #text-logout {
        display: none;
    }
    #center {
        margin-left : 5px;
        margin-right : 5px;
    }

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

    #text-logout {
        display: none;
    }

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

}
#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';
    color: #f2990f;
    font-size: 15px;
}

/***Layout Mini Surcharge**/
#viewport_background-page {
    height: auto!important;
}
#viewport_background-page #center, #viewport_background-page #content  {
    margin: 0!important;
    min-height: 600px;
}



#footer {
    padding-top : 0px;
}

    
#footer-top,#button-legal-notice {
    display: none;
}

#footer-bottom, #container-footertext {
    width: 100%;
}

.x-paneltool .x-icon-el {
    color: #000;
}
.x-vertical > .x-paneltitle {
    transform : translateY(-90%);
}

#loginForm div.x-toolbar-footer div.x-toolbar-body-el {
    justify-content: center;
}
#not-connected-form-container h3 {
    margin-bottom: 10px;
}

#header_home_div {
    color: #000;
    padding: 0;
    text-align: center;
    background-color: #f2990f;
}

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


    ._topmenu #logo {
        background-size: 250px!important;
    }

    a#logout-link:after {
        color: #f2990f;
    }

    #button-expand-menu:before, a#logout-link:after {
		font-size: 30px;
	}

    #menu-div-mobile { 
        top : 52px;
        left : 20px;
        box-shadow: 0px 0px 5px #f2990f;
    }

    #menu-div-mobile .x-treelist-item-expander {
        color: #f2990f;
    }

}

@media screen and (max-width: 580px) {
    #home_div {
        min-height: 120px;
    }
	#content_home_div {
		display: block!important;
        text-align: center;
        padding: 10px;
	}
    #content_home_div_mobile {
		display: block;
	}
}