.header {
    position: relative;
    height: 100%;
    width: 200px;
    z-index: 2000;
    border: none;
    background-color: white;
    color: #0095D1;
    padding: 0;
    transition: width 0.25s ease-out;
}


/*Logos MRGPD - orga*/

.header .pull-left {
    padding-top: 15%;
    background-color: white;
    color: #4D4D4D;
}

.logo-wrapper {
    margin-left: 0;
    width: 200px;
    height: auto;
}

.logo-wrapper a,
.logo-wrapper img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70px;
    border: none;
    padding: 8px 20px;
    text-align: -webkit-center;
}

.apps-menu-desktop~.logo-wrapper {
    margin-left: 0
}


/*Paramètres - notifs - profil utilisateur*/

.header .pull-right {
	height: 50px;
	position: fixed;
	right: 0;
	margin: 15px 60px 0 0;
	display: flex;
	align-items: center;
}

header .pull-right .dropdown-actions-inner .button-area {
	margin-top: 0;
}


.header .avatar {
	width: 50px;
	height: 50px;
	margin: 0;
	display: inline-block;
	overflow: hidden;
	border-radius: 25px;
	order: 1;
}

.avatar a,
.avatar img {
	display: block;
	width: 100%;
	height: 50px;
}

.header .pull-right:nth-child(2) {
	border-right: 1px solid #DCDCEF;
	padding: 0 20px 0 0;
	margin: 0;
}

.bg-webexplorer .page-title {
	z-index: auto;
}

.header>div>.button-square {
	width: 50px;
	margin: 0 10px;
	text-align: center
}

.header>div>button i {
	line-height: 50px
}

.container-params {
	display: inline-block;
	position: relative;
	margin-right: 10px;
	vertical-align: top;
}

#btn-admin {
	background-image: url('../img/settings.svg');
}

#btn-bell {
	background-image: url('../img/bell.svg');
}

#btn-bell .notif {
	position: absolute;
	display: none;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	top: 3px;
	right: 3px;
	background-color: #EC733C;
}


/*Menu niveau 1*/

.header .menu {
    display: block;
    clear: both;
    padding-top: 20px;
}

.header .categ {
    margin: 10px 0;
}

.header .categ span {
    display: block;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 5px 10px 40px;
    margin-right: 10px;
    border-left: 5px solid #FFFFFF;
    cursor: pointer;
    color: #CECECE;
}

.header .categ span:not(.categ-open):hover,
.header .categ span[active="1"] {
    background-color: #F6F6F6;
    border-left: 5px solid #0082C8;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    color: #0082C8;
}

.header .categ span[active="1"] {
    padding: 15px 5px 15px 20px;
}

.header .categ span.categ-open {
    background-color: #0082C8;
    color: white;
    border-radius: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    margin-right: 0;
}

.header a:hover {
    border: none;
}

.header .categ span {
    display: block;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 5px 5px 10px;
    cursor: pointer;
}

.header .categ span i {
    position: relative;
    top: 4px;
    font-size: 20px;
    padding-right: 8px;
}

span.categ-open>i {
    color: white;
}

/* Permet d'ajouter le bandeau avec le label "bientôt dispo" à la section de menu niveau 1.
Rajouter la class "coming-soon-lvl1 à l'élément en HTML*/
.header .categ .coming-soon-lvl1 {
    background-image: url("/moovapps/easysite-resources/skins/workplace/img/bientot_dispo_droit.png");
    background-repeat: no-repeat;
    background-position: 99% 55%;
}

/* Permet d'ajouter la couronne premium à la section de menu niveau 1.
L'ajout est automatique grâce aux fonctions isXXX dans utilities.java ligne 879*/

.header .categ .premium-lvl1 {
    background-image: url("/moovapps/easysite-resources/skins/workplace/img/crown.png");
    background-repeat: no-repeat;
    background-position: 100% 45%
}


/* Minimenu */

#switchmenu {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 200px;
    background-color: #0082C8;
    cursor: pointer;
    transition: width 0.25s ease-out;
}

#switchmenu::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 19px;
    width: 25px;
    height: 12px;
    background-image: url(../img/arrow-menu.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.page[minimenu='1'] #switchmenu {
    width: 50px;
}

.page[minimenu='1'] #switchmenu::before {
    transform: none;
    transform: rotate(180deg);
}

.page[minimenu='1'] .header {
    width: 50px;
}


.page[minimenu='1'] .logo-wrapper {
    width: 50px;
}

.page[minimenu='1'] .logo-wrapper a {
    width: 50px;
    height: 60px;
    padding: 0;
    background-image: url('../img/logo-solo.png');
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: 5px 10px;
}

.page[minimenu='1'] .logo-wrapper a.logo-orga {
    display: none;
}

.page[minimenu='1'] .logo-wrapper img {
    display: none;
}

.page[minimenu='1'] .header .menu {
    padding-top: 80px;
}

.page[minimenu='1'] .header .categ {
    height: 40px;
    padding-left: 5px;
}

.page[minimenu='1'] .header .categ span {
    overflow: hidden;
    white-space: nowrap;
    color: #0082C8;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    background-position-x: center;
}

.page[minimenu='1'] .header .categ span {
    padding-top: 5px;
    padding-left: 8px;
}

.page[minimenu='1'] .header .categ span[active="1"] {
    padding: 5px 5px 5px 8px;
}

.page[minimenu='1'] .header .categ span:not(.categ-open):hover,
.page[minimenu='1'] .header .categ span.categ-open {
    border: 2px solid #0082C8;
}

.page[minimenu='1'] .header #menu-apps {
    left: 50px;
}

/* Cache le label "bientôt dispo" en mode mini-menu */
.page[minimenu='1'] .header .categ .coming-soon-lvl1 {
    background-image: none;
}

.page[minimenu='1'] .welcome-search {
    display: none;
}

.page[minimenu='1'] #default-container {
    margin-left: 50px;
    width: calc(100% - 50px);
    width: -webkit-fill-available;
}


/* Menu de niveau 2 - #menu-apps */

#menu-apps {
    position: fixed;
    top: 0;
    left: 200px;
    height: 100%;
    width: 0;
    transition: width 0.25s ease-out;
    background: #0082C8;
    overflow: auto;
}

#menu-apps.aff {
    width: 300px;
}

#menu-apps h2 {
    color: white;
    margin: 50px 20px;
    height: 50px;
}

#menu-apps .tile {
    width: auto;
    color: white;
    height: auto;
    padding: 0;
    margin: 0px 20px;
    font-size: 14px;
    border-bottom: 1px solid #0082C8;
}

#menu-apps .tile:before,
.params-menu .tile:before {
    display: none;
}

#menu-apps .tile .color-base {
    color: white;
    text-align: left;
    margin-left: 50px;
    background: transparent;
}

#menu-apps .tile i,
.params-menu .tile i {
    position: absolute;
    color: white;
    line-height: 20px;
    font-size: 30px;
    display: block;
    top: calc(50% - 15px);
    height: 30px;
}

#menu-apps .tile .notif-counter,
.params-menu .tile .notif-counter {
    border: none;
    top: 7px;
    right: -10px;
    width: 25px;
    height: 25px;
    line-height: 25px;
}

#menu-apps .tile .notif-counter.bg-red,
.params-menu .tile .notif-counter.bg-red {
    background-color: #EC733C;
}

#menu-apps .a-orga {
    text-align: left;
    margin-left: 20px;
    padding-left: 30px;
    padding-bottom: 10px;
}

#menu-apps .a-orga:before {
    content: '\0025B8';
    display: block;
    position: absolute;
    height: 10px;
    width: 10px;
    left: 0;
    background: none;
    border: 0;
    font-size: 20px;
}

.apps-categ {
    display: none;
}

.apps-categ-aff {
    display: block;
}

/* Permet d'ajouter le bandeau avec le label "bientôt dispo" à la section de menu niveau 2.
Rajouter la class "coming-soon-lvl2 à l'élément en HTML*/
#menu-apps .apps-categ-aff .coming-soon-lvl2 {
    background-image: url("/moovapps/easysite-resources/skins/workplace/img/bientot_dispo_penche.png");
    background-repeat: no-repeat;
    background-position: 13% 45%;
}

/* Permet d'ajouter la couronne premium à la section de menu niveau 2.
L'ajout est automatique grâce aux fonctions isXXX dans utilities.java ligne 879*/

#menu-apps .apps-categ-aff .premium-lvl2 {
    background-image: url("/moovapps/easysite-resources/skins/workplace/img/crown.png");
    background-repeat: no-repeat;
    background-position: 99% 45%;
}


/* Icones */

.mrgpd-icon {
    color: #0082c8;
    font-size: 24px;
    vertical-align: middle;
    padding-right: 20px;
}

.mrgpd-icon::before {
    vertical-align: sub;
}

/* Icone blanc sur bleu*/
span.categ-open>i {
    color: white;
}


/*Recherche*/

.search {
    display: block;
    margin: 0
}

.welcome-search {
    width: 185px !important;
    margin: 30px 0;
    padding-bottom: 30px;
}

.welcome-search label {
    display: block;
    margin-bottom: 15px;
    padding: 0;
    font-weight: 700;
    color: #fff
}

.welcome-search .search-wrapper {
    padding-left: 10px;
    height: 30px;
}

.welcome-search .search-wrapper>i {
    left: 10px
}

.welcome-search .search-wrapper button {
    right: 2px;
    font-size: 30px;
    font-family: 'icomoon';
    background: transparent;
    font-style: normal;
    font-weight: normal;
}

.welcome-search .search-wrapper button:before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "\e910";
    color: #0082C8;
    opacity: 1;
    background-color: #FFF;
}

.welcome-search .search-wrapper button span {
    display: none;
}

.welcome-search input.search-input {
    border-radius: 5px;
    padding: 0 30px 0 45px !important;
    font-size: 12px;
    outline: none;
    background: transparent;
    border: 1px solid #D7D7ED;
    width: 100%;
}

.welcome-search .search-input button:hover {
    background-color: rgba(0, 0, 0, 0.12);
}

.welcome-search .search-input:focus {
    box-shadow: 0 0 0 1px #fff;
}

.search-wrapper {
    position: relative;
    height: 40px
}

.search-wrapper>i,
.search-wrapper button {
    position: absolute;
    z-index: 1;
    top: 3px;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    color: #0082C8;
}

.search-wrapper>i {
    left: 0
}

.search-wrapper button {
    right: 0
}

.search-wrapper button i {
    line-height: inherit
}

.search button {
    margin: inherit
}

.search-wrapper button:before {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    left: 5px;
    top: 5px
}

.search-wrapper button:hover:before,
.search-wrapper button:focus:before {
    background-color: #ccc
}


/* Disable Menu entry */

/*
a#visargpdlink {
    display: none;
}
 */

a#datapilotlink {
    display: none;
}