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

#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;
}*/

/**Paging Toolbar Modern (Mode classic)*/
.x-tbar-paging-modern-page-first:before {
    background-image: none;
	font-family: 'icomoon';
	font-size: 16px;
    content: '\ea21';
}
.x-tbar-paging-modern-page-prev:before {
    background-image: none;
	font-family: 'icomoon';
	font-size: 16px;
    content: '\ea23';
}
.x-tbar-paging-modern-separator {
    font-size: 1.5em;
}
.x-tbar-paging-modern-page-beforePageText {
 
}
.x-tbar-paging-modern-page-inputItem {
 
}
.x-tbar-paging-modern-page-afterTextItem{
    padding-left: 5px;
}

.x-tbar-paging-modern-page-next:before {
    background-image: none;
	font-family: 'icomoon';
	font-size: 16px;
    content: '\ea24';
}
.x-tbar-paging-modern-page-last:before {
    background-image: none;
	font-family: 'icomoon';
	font-size: 16px;
    content: '\ea22';
}
.x-tbar-paging-modern-reloading:before {
    background-image: none;
	font-family: 'icomoon';
	font-size: 16px;
    content: '\eaeb'
}
.x-tbar-paging-modern-displayItem {
    flex: 2;
    text-align: right;
}

@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%);
}

/** HISTORIC AND SAVE RESEARCH **/

.x-toolbar .x-body-el,
.x-toolbar .x-body-el .x-toolbar-body-el ,
.search-container 
{
    overflow: visible;
    
}
.search-container {
    height: 45px;
}

.search-container .x-body-el{
    height: 100%;
}

.search-container.haveSave {
    margin: unset;    
}

.search-container.haveSave .x-body-el .x-searchfield {
    padding-bottom: 0px !important;
    height: 100%;
}

.search-container.haveSave .x-body-el .x-searchfield .x-input-wrap-el {
    /* border-radius: 5px 0 0 5px ; */
}

.search-container.haveSave ~ .menuSearch .x-inner-el {
    /* border-radius: 0 5px 5px 0; */
}

.search-container.haveSave .x-field .x-body-wrap-el {
    height: 40px;
}
.historyContainer .x-body-el {
    padding: 5% 0% 0% 1% !important;
}

.historyContainer .x-panel-body-wrap-el .x-panel-body-el {
    border-radius: 0 0 5px 5px;
}

.historyContainer {
    border: 3px solid rgb(228, 228, 228) ;
    /* border-color:  ; ; */
    border-top:  unset !important;
    border-radius: 0 0 5px 5px ;
    width: 100%;
    z-index: 99;

}

.historyContainer .history-item
{
    cursor: pointer;
}
.historyContainer .history-item:hover {
    background-color:  rgb(228, 228, 228);
    color: white;
}

.historyContainer .x-body-el 
{
    border-radius: 0 !important ;
}

.historyClosed ~ .historyContainer {
    display: none;
}
.saveResearchModal .x-field .x-body-wrap-el {
    height: unset;
}

.saveResearchModal .x-toolbar .x-body-el {
    flex-wrap: wrap;
}


@media screen and (max-width: 1280px) {
    .historyContainer .history-item {
        height: 30px;
    }
}


/** FIN HISTORIC AND SAVE RESEARCH **/