@font-face {
	font-family: 'IBMPlex';
	font-style: normal;
	font-weight: 400;
	src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'), url(../media/ibm-plex.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v12/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
	margin : 0;
	padding : 0;
	border : 0;
	font-family: Calibri, Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	color : #333;
	border-spacing: 0;
}

html,
body {
	height : 100%;
	background: #ffffff;
}

/* Gestion des polices */

h1 span{
	color : #bf0626;
	font-family: Montserrat, sans-serif;
	margin-top: 0;
	padding: 16px 16px 0 0;
	font-size: 18px;
    position: absolute;
    top: 66px;
    left: -24px;
	/*font-family : "Calibri Light", SansSerif;*/
	/*margin-bottom : 16px;*/
	font-weight: normal;
	display: block;
	transform: rotate(-90deg) !important;
}
h1 span em {
	color: #111 !important;
	position: relative;
	atop: -16px;
	font-size: 18px;
	font-family: Montserrat !important;
}
h2 {
	color : #555;
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	margin: 0px 32px 8px 0;
	display : inline-block;
}
h3 {
	margin: 16px 0 0 0;
	color:#bf0626;
}

h1 em {
	color : #333;
	/*font-style : italic;*/
	font-size: 24px;
	/*margin : 0 8px;*/
}

/* Définition des zones principales */
div.popup {
	opacity: 0.9;
	position: fixed;
	bottom: 20px;
	right: 40px;
	width: 340px;
	min-height: 72px;
	color: #fff;
	font-weight: normal;
	padding : 16px;
	text-align: left;
	border-radius: 3px;
	background-color: #29292a;
	box-shadow: 0 5px 12px #888;
	margin-bottom : 16px;
}
div.popup button {
	margin: 16px 0;
	border-radius: 2px;
	font-weight: bold;
	min-width: 120px;
	color: #333;
	background-color: #f5f5fb;
	box-shadow: none;
}
div.popup img {
	height : 24px;
	margin-right : 16px;
	position : relative;
	top : 8px;
}
#main-menu {
	display : none;
}
#header {
	z-index : 9;
	position : fixed;
	display: flex;
	align-content: space-between;
	top : 0;
	left  : 0;
	width : 100%;
	padding : 16px 16px 0 16px;
	background : #f2f2f2;
	margin : 0;
	aborder-bottom : 1px solid #888;
}
#header > .col:nth-child(1) {
	flex-grow: 1;
	max-width: 46px;
	cursor: pointer;
}
#header > .col:nth-child(2) {
	flex-grow: 8;
	max-width : calc( 100% - 480px );
}
#header > .col:nth-child(3){
	min-width: 250px;
	flex-grow: 1;
}

#header > .col:nth-child(3) button {
	opacity: 1;
	transition: opacity 0.3s ease;
	width: 108px;
}
#header:hover > .col:nth-child(3) button {
	opacity: 1;
	transition: opacity 0.3s ease;
}
#app-switcher {
	display: none;
}


/* Logon mode CSS vs logged mode */
body.login-mode {
	background: #F2F2F2;
	padding-top: calc(50vh - 300px);
	transition: background-color 0.3s ease;
}
body.login-mode::before {
	content: '';
	background: url(../media/assets/logos/zenidoc-cloud-light.svg);
	background-size: cover;
	position: absolute;

	width: 400px;
	height: 338px;
	left: 72%;
	bottom: -60px;
}
body {
	background: #FFFFFF;
	overflow: hidden;
	max-height: 100%;
	transition: background-color 0.3s ease;
}
body.login-mode #header {
	opacity: 0;
	transition: opacity 0.3s ease;
}
body #header {
	opacity: 1;
	transition: opacity 0.3s ease;
}
body.login-mode #main-ribon main {
	box-shadow: none;
	background-color: transparent;
}



#main-menu {
	padding : 0px;
}
#main-menu button {
	padding : 3px 8px ;
	height : 24px;
	width : 180px;
	margin : 3px;
}

#main-ribon main,
#main-ribon.side-panel.small-panel main {
	position : relative;
	left : 56px;
	top : 116px;
	background : #fff;
	box-shadow: 0 0 8px #ccc;
	margin-top : 0px;
	padding : 16px;
    padding-top: 8px;
	float : left;
	display : inline-block;
	min-height : 364px;
	transition: all 0.3s ease;
	z-index: 99;
}
#main-ribon main {
	width : calc(100% - 82px);
	min-width : calc(100% - 302px);
}

#main-ribon.side-panel.small-panel main {
	width : calc(100% - 144px);
	min-width : calc(100% - 87px);
	border-radius: 0;
}


.small-panel button span {
	display : none;
}
#main-ribon.side-panel #side-panel {
	top : 96px;
	left  : 0;
	display : inline-block;
	transition: width 0.3s ease;
}

#main-ribon.side-panel main {
	left : 260px;
	border-radius: 5px 0 0 0;
	width : calc(100% - 292px);
	max-width : calc(100% - 290px);
	transition: all 0.3s ease;
	padding-left: 16px !important;
	padding-top: 8px;
	height: calc(100vh - 172px);
	overflow: auto;
}


/* Side panel */

#side-panel {
	top : 70px;
	left  : 0;
	display : none;
	position : fixed;
	padding : 0;
	float : left;
	width : 260px;
	margin : 0 16px 0 0 ;
	min-height : 364px;
	height: calc(100% - 150px);
	max-height: calc(100% - 150px);
	background : #f2f2f2;
}
#side-panel:after {
	content: url(../media/assets/logos/zenidoc-cloud-light.svg);
	position: absolute;
	bottom: 100px;
	left: 40%;
	width: 40%;
}
#main-ribon.small-panel #side-panel {
	width: 56px;
	overflow: hidden;
	transition: width 0.3s ease;
	border-right: 1px solid #888;
}

#main-ribon.small-panel #side-panel li {
	max-height: 64px !important;
	color: transparent;
}

#side-panel li {
	display : block;
	padding : 16px 10px;
	margin : 0 0 8px 0;
	cursor: pointer;
	min-width : 180px;
	color: #888;
	transition: all 0.3s ease;
}
#side-panel li.call-for-action {
	display : block;
	padding : 11px 16px;
	margin : 0 8px 16px 8px;
	border : 1px solid #ddd;
	cursor: pointer;
	background : #1f8196;
	color: #fff;
	font-weight: bold;
	text-align: center;
	min-width : 180px;
}
#main-ribon.small-panel #side-panel li.call-for-action {
	margin: 0;
}
#side-panel li img {
	height : 24px;
	margin : 0 8px 0 0;
	position : relative;
	top : 5px;
}
#side-panel li em {
	margin : 0 8px 0 0;
	padding: 8px 5px !important;
	display: inline-block;
	border-radius: 5px;
	background: #888;
	color: #fff;
	font-size: 12px;
	width: 24px;
	text-align: center;
}
#side-panel li em.back-red { background: #bc1040; }
#side-panel li em.back-grey { background: #777; }
#side-panel li em.back-blue { background: #33a6bd; }

#side-panel li:hover {
	background : #ddd;
	transition: all 0.3s ease;
}

#togglePanel {
	/*float:left;*/
	position : absolute;
	/*top : calc(100% - 178px);*/
	bottom: -0px;
	background: #eee;
	color : #2b2b2b;
	width : 100%;
	box-shadow: none;
	border-top : 1px solid #aaa;
	text-align: left;
	margin: 0;
}
#togglePanel:hover {
	background: #fff;
}

/* Entête de l'application */
header button,
header h1 button
{
	background: #f6f6f6;
	display : inline-block;
	height : 42px;
	color : #888;
	border : 1px solid #aaa;
	box-shadow: none;
	float : right;
	position : relative;
	right : 8px;
	opacity: 1;
}
header h1 > em {
	display: none;
}
/* Style du contenu principal */
#content {
	text-align: justify;
}
#content img.big{
	display : block;
	min-width : 350px;
	width : calc(100% - 256px);
	max-width : 100%;
	margin : auto;
}
#content {
	text-align: justify;
}

#content input,
#content select,
#content textarea
{
	width: 200px;
	max-width: calc(100% - 32px);
}
#content input.autocompleter::after,
#content select.autocompleter::after,
#content textarea.autocompleter::after
{
	/*acontent: url('../media/lightning.svg');*/
	content: 'looool';
}
#content input.autocompleter,
#content select.autocompleter,
#content textarea.autocompleter
{
	border: 1px solid #bf0626;
}

#content .call-for-action {
	padding : 16px;
	margin : 8px 8px 8px 0;
	cursor: pointer;
	background : #35509a;
	min-width : 180px;
}
#side-panel li.disabled {
	background: #ddd;
	color: #aaa;
	cursor: default;
}

div.column {
	display: inline-block;
	width : calc(50% - 64px);
	height: 100%;
	float : left;
}

/* Gestion des icônes/images */
.logo {
	height : 24px;
	margin : 0 8px 0 0;
	position : relative;
	top : 1px;
}

/* Gestion des éléments de formulaire */
input,
select {
	padding : 8px;
	border : 1px solid #ddd;
	margin : 0 8px 16px 8px;
}
#content input.small {
	width: 108px;
	margin: 0 3px 3px 0 ;
	padding: 3px;
}
#content input[type="radio"],
#content input[type="checkbox"]
{
	padding : 16px 0;
	width: 16px;
}
label {
	padding : 8px 0 8px 0;
	color: #2b2b2b;
}
#content label input,
#content label select
{
	width : 216px;
}
label:hover {
	color: #669fcf;
}
button {
	padding : 8px 16px;
	background : #669fcf;
	background : #1f8196;
	color : #fff;
	box-shadow : 0 0 5px #888;
	margin : 0 16px 16px 0;
	cursor : pointer;
	transition : background 0.3s ease;
}
button.light {
	background: #eee;
	color: #333;
}
button.secondary {
	background : #e5e9ed;
	color : #888;
}
button:hover {
	background : #537ccf;
	transition : background 0.3s ease;
}
h1 img,
h2 img,
h3 img,
button img,
li img
{
	height : 16px;
}
button span {
	position: relative;
	top: -3px;
}

button.item {
	height : 128px;
	color : #bf0626;
	width: 128px;
	background: #eee;
	border : 1px solid #ccc;
	box-shadow: none;
	font-size : 16px;
	text-transform: capitalize;
	font-weight: bold;
}
button.item em {
	text-transform: uppercase;
	font-weight: normal;

}
/* Gestion des tableaux */
table {
	border : 1px solid #ccc;
	box-shadow: 0 0 5px #ccc;
	width : 100%;
}
table thead {
}
table th {
	background: #fafafa;
	text-align: left;
	padding : 12px 8px 3px 8px;
	color : #555;
	border-bottom : 1px solid #ddd;
	border-left : 1px solid transparent;
	border-right : 1px solid transparent;
	cursor: ns-resize;
}
table th .handler {
	padding: 4px;
	cursor: move;
	border-radius: 3px;
	background: transparent;
	margin-bottom: 5px;
	transition : background 0.3s ease;
}

table thead:hover  .handler {
	background: #eee;
	transition : background 0.3s ease;
}
table th .sorter {
	display: inline-block;
	padding: 4px;
	width: 8px;
	height: 8px;
	border-radius: 3px;
	background: #aaf;
	margin-bottom: 5px;
	cursor: ns-resize;
}
table th input {
	display: inline-block;
	min-width: calc(100% - 32px) !important;
	width: calc(100% - 64px) !important;
	max-width: calc(100% - 32px) !important;
	background: transparent;
	margin: 0;
	border : 1px solid transparent;
}

table th:hover input {
	border : 1px solid #ddd;
}
table td {
	padding : 8px;
	border-bottom : 1px solid #eee;
	color : #888;
    vertical-align: top;
	text-align: left;
}
table td .light{
    margin: 0;
    padding: 0;
	font-size: 0.7em;
    color : #888;
}
table tr.removed {
	display: none;
}
table tr.emergency-level-0 td {
	background: #fdd !important;
	color: #811 !important;
}
table tr:hover td {
	background: #fafafa;
	color: #222;
}

table.sortable th:hover {
	background : #f5f5f5;
	border-left : 1px solid #ddd;
	border-right : 1px solid #ddd;
}

table tfoot {
	padding: 8px;
	background: #eee;
}
table tfoot td {
	padding: 8px;
	background: #eee;
	width: 100%;
	min-height: 148px !important;
}
table tfoot  button {
	margin: 8px;
}

/* Formulaire d'authentification */
#login-form {
	text-align: center;
}
#login-form input
{
	width : 260px;
	display  : block;
	margin : 8px auto;
	padding : 8px 16px;
}
#login-form button
{
	width : 292px;
	display  : block;
	margin : 8px auto;
	padding : 8px 16px;
}


/* Clics droit */


.contextual-menu {
	position : absolute;
	width : 316px;
	border : 1px solid #333;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	background : #FAFAFA;
	color : #233;
	list-style: none;
}

/* .contextual-menu faorm{
	display : none;
	overflow : hidden;
	max-height : 0px;
	max-width : 0px;
} */

.contextual-menu li {
	list-style: none;
	float : right;
	padding : 8px;
	min-height :16px;
	text-align: left;
	width : 300px;
	border-bottom : 1px solid #aaa;
	cursor: pointer;
}
.contextual-menu li:hover {
	background : #dbeef3;
}

.contextual-menu li.disabled,
.contextual-menu li.disabled:hover {
	background: inherit;
	opacity: 0.3;
	cursor: default;
}
.contextual-menu li img {
	min-width : 16px;
	width : 16px;
	max-width : 16px;
	margin-top : 2px;
}
.contextual-menu li span {
	display : inline-block;
	width : calc(100% - 32px);
	padding : 0;
	float : right;
}
.contextual-menu li span textarea,
.contextual-menu li span select {
	width : 100%;
	padding : 3px;
	margin : 0;
	border : 1px solid #333;
	background : #fff;
}

.contextual-menu li span button {
	width : 100%;
	padding : 3px;
	margin : 0;
	border : 1px solid #333;
	background : #fff;
}

/* Kanban */
section.kanban {
	box-shadow: 0 0 5px #ccc !important;
	display: flex;
}
section.kanban > div {
	/*float: left;*/
	width : calc(25% - 2px);
	margin : 0 1px 0 0;
	align-content: flex-start;
}
section.kanban h3 {
	background: #fafafa;
	font-size: 12px;
	text-align: left;
	padding : 16px 8px 8px 8px;
	color : #222;
	border-bottom : 1px solid #ddd;
	border-left : 1px solid transparent;
	border-right : 1px solid transparent;
}
section.kanban  ul {
	padding: 8px 8px 16px 8px;

}
section.kanban  li {
	display:block;
	padding :8px;
	border: 1px solid #ddd;
	background: #fff;
	margin-bottom:8px;
	cursor:pointer;
	transition: all 0.3s ease;
}
section.kanban  li:hover {
	background: #cad9e2;
	transition: all 0.3s ease;
}
section.kanban  li p {
	font-weight:bold;
	color : #555;
}
section.kanban  li span {
	color:#888;
}

img.mini {
	height: 12px;
}