html, body {
	height: 100%;
	margin: 0;
}

body { /* Add top padding for full-width layout */
	/* padding-top: 60px; */
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #212529;
	display: flex;
	flex-direction: column;
}

@media (min-width: 980px) {
	body { /* Add top padding for full-width layout */
		/**padding-top: 60px;*/
	}
}
#login_wrapper {
	margin: auto auto;
	width: 460px;
}
#navbar-logo {
	height: 1.93rem;
	float: left;
	padding-top: 5px;
	padding-right: 5px;
}
@media (max-width: 767px) { 
	.navbar img {
		padding-left: 10px;
	}
	#login_wrapper {
		width: 100%;
	}
	legend { /* to prevent overlong filenames from cause horiz. scroll */
		overflow: hidden;
	}
}
img.mimeicon {
  -moz-border-bottom-colors: none;
  -moz-border-image: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #CCCCCC #AAAAAA #999999 #CCCCCC;
  border-style: solid;
  border-width: 1px 2px 2px 1px;
	background-color: white;
	max-width: 100%;
	min-width: 60px;
}

span.list-details {
	font-size: 85%;
	font-style: italic;
	color: #666;
}

.list-action a {
	text-decoration: none;
	color: #333;
	padding: 2px;
	cursor: pointer;
	font-size: 110%;
}

ul.action-list li a {
	padding-top: 4px;
	padding-bottom: 4px;
}

#admin-tools i {
	font-size: 300%;
	line-height: 110%;
/*	min-height: 100px; */
}

#admin-tools a {
	margin-bottom: 10px;
}

ul.unstyled li a:hover > i {
	text-decoration: none;
	padding-left: 0px;
}
ul.unstyled li a > i {
	color: #000;
	margin-right: 5px;
}
ul.unstyled li a.btn > i {
	font-size: 200%;
}

ul.tree, ul.tree ul {
	margin-left: 20px;
}

ul.jqtree-tree li.jqtree-selected > .jqtree-element,
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
    background-color: #fff;
    background: none;
    text-shadow: none;
		font-weight: bold;
}

ul.jqtree-tree li.jqtree_common {
	margin-left: 8px;
}

ul.jqtree-tree li.jqtree_common > .jqtree-element:hover {
  background-color: #E0E0E0;
}

legend > span {
	float: right;
}

td.today {
	background-color: rgb(255, 200, 0);
}

td.event {
	background-color: rgb(0, 200, 255);
}

.wordbreak {
	word-break: break-word;
}

.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 999px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	background: red;
	cursor: inherit;
	display: block;
}
input[readonly] {
	background-color: white !important;
	cursor: text !important;
}

div.mandatories {
	font-size: 90%;
	font-style: italic;
	color: #888;
}
div.mandatories span {
	font-weight: bold;
}

div.statusbar {
	font-size: 80%;
}
div.statusbar div.filename {
	display: inline-block;
}
div.statusbar div.filesize {
	display: inline-block;
	float: right;
}
div.statusbar div.progress {
	margin-bottom: 10px;
}
div.statusbar a.btn {
	margin-bottom: 10px;
}

#database .chosen-container,
#fulltext .chosen-container {
	width: 95% !important;
}

.chosen-container-multi .chosen-choices {
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border linear 0.2s, box-shadow linear 0.2s;
	padding: 2px 6px;
	height: 20px;
}

div.help h1 {
	font-size: 24px;
}

div.help h2 {
	font-size: 18px;
}

div.help h3 {
	font-size: 16px;
}

#dropfolderChooser {
	width: 60%;
	left: 20%;
	margin-left: auto;
	margin-right: auto;
}

div.splash {
	display: none;
}

div.clipboard-container {
	position: fixed;
	left: 10px;
	top: 40px;
	width: 29.8%;
	min-width: 200px;
	background: white;
	border: 1px solid #d4d4d4;
	border-radius: 5px;
	padding: 10px;
	max-height: 400px;
	margin: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 1;
}
div.clipboard-container legend {
	display: none;
}

div.statusbar-container {
	display: none;
	position: fixed;
	right:10px;
	top:60px;
	width:300px;
	padding:10px;
	background-color: white;
	border: 1px solid #E0E0E0;
	border-radius: 4px;
	z-index: 10;
	overflow-y: scroll;
	max-height: calc(100% - 100px);
}
div.statusbar-container::-webkit-scrollbar {
	width: 5px;
}
div.statusbar-container::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
}

div.statusbar-container::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

div.statusbar-container h1 {
	font-size: 21px;
	line-height: 40px;
	color: #333333;
	font-weight: normal;
}

a.accordion2-toggle:focus, a.accordion2-toggle:hover {
	text-decoration: none;
}

span.datepicker {
	padding: 0px;
}
span.datepicker input {
	max-width: 100px;
}

div.typeahead span.path {
	font-size: 85%;
	color: #888;
}

div.fulltextinfo > span:hover {
	background-color: lightblue;
}
/* Sidenav for Docs
 * -------------------------------------------------- */

.bs-docs-sidenav {
	width: 100%;
	margin: 0px 0 30px 0;
	padding: 0;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
	box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
	display: block;
	width: 190px \9;
	margin: 0 0 -1px;
	padding: 8px 14px;
	border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
	-webkit-border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
	position: relative;
	z-index: 2;
	padding: 9px 15px;
	border: 0;
	text-shadow: 0 1px 0 rgba(0,0,0,.15);
	-webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
	-moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
	box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .badge-right {
	float: right;
	margin-top: 2px;
	margin-right: -6px;
}
.bs-docs-sidenav > li > a:hover {
	background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
	opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
	background-image: url(../img/glyphicons-halflings-white.png);
	opacity: 1;
}
.bs-docs-sidenav.affix {
	top: 100px;
}
.bs-docs-sidenav.affix-bottom {
	position: absolute;
	top: auto;
	bottom: 270px;
}

i.success {color: #00b000;}
i.enabled {color: #00b000;}
i.error {color: #b00000;}
i.disabled {color: #b00000;}
i.warning {color: #ff9900;}
i.initstate {color: #ff9900;}
i.released {color: #00b000;}
i.rejected {color: #b00000;}
i.expired {color: #b0b0b0;}
i.obsolete {color: #9e5d42;}
i.in-workflow {color: #11479e;}
i.workflow-action {color: #91479e;}
i.selected {border: 1px solid #d4d4d4;padding:3px;border-radius:3px;background-color:#fafafa;background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);}

span.editable:after {
	font: normal normal normal 14px/1 FontAwesome;
	content: " \f044";
}

span.openpopupbox {
	cursor: pointer;
}

div.popupbox {
	margin-top: 5px;
	background-color: #fff;
	border-radius: 4px;
	color: black;
	text-align: left;
	text-shadow: none;
	border: 1px solid #ccc;
	padding: 25px 15px 15px 15px;
	display: none;
	position: absolute;
	min-width: 230px;
	z-index: 10;
}

div.popupbox dt {
	font-weight: normal;
	font-size: 80%;
}

div.popupbox dd {
	margin-left: 0px;
	margin-bottom: 5px;
}

div.popupbox span.closepopupbox {
	position: absolute;
	right: 5px;
	top: 0px;
}

ul.qq-upload-list {
	/*
	background-color: #fff;
	border-radius: 4px;
	border: 1px solid #cccccc;
	*/
}

ul.qq-upload-list li {
	display: inline-block;
	margin: 5px 5px 5px 0;
	padding: 5px;
	background-color: #fff;
	border: 1px solid #cccccc;
	border-radius: 4px;
}

ul.qq-upload-list li img {
	display: block;
}

ul.qq-upload-list li span {
	display: block;
}

.qq-upload-button {
	display: inline-block;
}

.qq-upload-drop-area {
	display: inline-block;
	width: 200px;
	height: 22px;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #cccccc;
	border-radius: 4px;
}
.qq-hide, .qq-uploader dialog {
	display: none;
}


.nav-collapse.in.collapse {
	overflow: visible;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
	color: #212529;
	text-decoration: none;
	background-color: #f2f2f2;
	background-image: none;
	background-image: none;
	background-image: none;
	background-image: none;
	background-image: none;
	background-repeat: none;
	filter: none;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
	color: #212529;
	text-decoration: none;
	outline: 0;
	background-color: #f2f2f2;
	background-image: none;
	background-image: none;
	background-image: none;
	background-image: none;
	background-image: none;
	background-repeat: none;
	filter: none;
}
.breadcrumb{
	-webkit-border-radius: 0em;
	-moz-border-radius: 0em;
	border-radius: 0em;
	background-color: #f6f7f7;
	margin: 0 -20px 20px -20px;
}

.well {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.container-fluid.body {
	margin-bottom: 20px;
}

.container-fluid.footer {
	background-color: #222222;
	padding: 0;
	text-align: right;
	border-top: 1px solid #ddd;
	margin-top: auto; /* pousse le footer vers le bas */

}

.container-fluid.footer .span12{
	background-color: #333333;
}


.container-fluid.footer .span12 .alert{
	text-shadow: none;
	-webkit-border-radius: 0em;
	-moz-border-radius: 0em;
	border-radius: 0em;
}

.container-fluid.footer .span12 .alert-info {
	background-color: #333333;
	border-color: #333333;
	/* color: #979797; */
	color : white;
	font-size: 1rem;
}

.container-fluid.footer .row-fluid:first-child{
	height: calc(100% - 50px);
	background-color: #333333;
}

.container-fluid.footer .row-fluid:nth-child(2){
	height: 50px;
}

.brand img {
	width: 120px;
}

.navbar .brand.logo {
	/**padding: 0;*/
	/* line-height: 70px; */
}

.navbar .navbar-inner {
	-webkit-border-radius: 0em;
	-moz-border-radius: 0em;
	border-radius: 0em;
	-webkit-box-shadow: 0 0px 0px #f6f7f7;
	-moz-box-shadow: 0 0px 0px #f6f7f7;
	box-shadow: 0 0px 0px #f6f7f7;
	border: 1px solid #f6f7f7;
	padding-left: 16px;
}
.navbar .navbar-inner.header{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 0px;
	border-bottom: 1px solid #f6f7f7;
}

.navbar .navbar-inner.header ul:not(#main-menu-admin):not(.typeahead):not(.dropdown-menu) {
	margin-top: 20px;
}
.navbar .navbar-search {
	line-height: 70px;
	float: left;
}

.navbar .btn-navbar {
	border-radius: 0em;
	padding: 10px 10px;
}

.navbar .navbar-inner.header .btn-navbar {
	border: 0px;
	padding: 1.4em;
	margin-top: 0px;
	margin-right: 0px;
}

.navbar .btn-navbar .icon-bar {
	background-color: black;
	width: 10px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.btn-navbar .icon-bar + .icon-bar {
	margin-top: 2px;
}

.navbar-search .search-query {
	margin-bottom: 0;
	padding: 4px 14px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	height: 1.5em;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	border: 1px solid #cacfcf;
	text-align: left;
	width: 30vw;
}

.button--search {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

.button--search:hover::before {
	color: #3454d1;
}

.search-query:-moz-placeholder {
	font-style: italic;
}
.search-query::-webkit-input-placeholder {
	font-style: italic;
}

.alert{
	color: #3454d1;
	background-color: white;
	border: 1px solid #3454d1;
}

.field-hidden{
	display: none !important;
}

@media (min-width: 1200px) {
	select {
		width: 100%;
	}
	input,textarea,.uneditable-input {
		box-sizing: border-box;
		width: 100%;
		height: 100% !important;
	}
	.modal-wide {
		width: 900px;
		margin-left: -450px;
	}
	.modal-wide .modal-body {
		max-height: 642px;
	}
}

@media (max-width: 480px) { 
    .nav-tabs > li {
        float:none;
    }
    .nav-tabs > li > a {
        margin-right: 0;
    }

    .nav-tabs {
        border-bottom: 0;
    }

    .nav-tabs > li > a {
        border: 1px solid #ddd;
        -webkit-border-radius: 0;
            -moz-border-radius: 0;
                border-radius: 0;
    }

    .nav-tabs > li:first-child > a {
  -webkit-border-top-right-radius: 4px;
          border-top-right-radius: 4px;
  -webkit-border-top-left-radius: 4px;
          border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-topleft: 4px;
    }

    .nav-tabs > li:last-child > a {
  -webkit-border-bottom-right-radius: 4px;
          border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
          border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
    }

    .nav-tabs > li > a:hover {
  z-index: 2;
  border-color: #ddd;
    }

	.navbar .brand.logo {
		padding: 0em;
		line-height: 50px;
	}
}

@media ( max-width : 767px) {
	.container-fluid.footer {
		padding-right: 0px;
		padding-left: 0px;
		margin-right: -20px;
		margin-left: -20px;
	}
	.navbar .navbar-inner .container-fluid {
		padding-left: 20px;
		padding-right: 0px;
		margin-right: -20px;
		margin-left: -20px;
	}
}

@media ( max-width : 979px) {
	.navbar-search .search-query {
		margin-left: 0px;
		width: 50vw;
	}

	.nav-collapse .typeahead.dropdown-menu {
		position: absolute;
		background-color: #ffffff;
		border: 1px solid rgba(0, 0, 0, 0.2);
		margin: 0px;
		border-radius: 0.4em;
	}

	.nav-collapse .dropdown-menu {
		position: relative;
	}

	.navbar .navbar-inner.header {
		padding-left: 0px;
		padding-right: 0px;
	}

	.container-fluid.footer {
		padding-right: 0px;
		padding-left: 0px;
	}

	.navbar .brand.logo {
		padding: 0em;
		line-height: 50px;
	}

	.brand img {
		width: 70px;
	}
}

.table-row-document.group2Title td {
	padding: 0px 40px;
	background-image: url("iconRenvoi.gif");
	background-repeat: no-repeat;
	background-position: 20px 50%;
	font-size: 12px;
}
.searchdwn {
	margin-top: 5px;
}

.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
	background-color: #3454d1;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
	color: #ffffff;
	cursor: default;
}
/* Autofill chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	transition: background-color 50000s ease-in-out 0s, color 5000s ease-in-out 0s; !important;
}

label.error {
	color: red;
}

.resultSearchAttrTable {
	font-size: 85%;
	border-collapse: collapse;
	line-height: 1;
	width: 100%;
	border: none;
}

.resultSearchAttrTable td {
	padding: 1px 6px; /* ← marge interne plus fine */
	vertical-align: top;
}

.resultSearchAttrTable tr + tr td {
	border-top: 1px solid #f0f0f0; /* très léger séparateur */
}

.resultSearchAttrTable td:first-child {
	font-weight: 600;
	color: #253c97;
	opacity: 75%;
	width: 35%;
	white-space: nowrap;
}

.resultSearchAttrTable td:last-child {
	color: #555;
}

#viewfolder-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.groupTitle td {
	background: linear-gradient(180deg, #f7f7f7 0%, #f0f0f0 100%);
	font-weight: 600;
	color: #2a2a2a;
	text-align: left;
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid #d8d8d8;
	line-height: 1.2;
	letter-spacing: 0.3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.6);
}

.footNote {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
}

@media (max-width: 979px) {
	table.searchResult tr.table-row-document:not(.groupTitle) td:nth-child(1),
	table.searchResult tr.table-row-document:not(.groupTitle) td:nth-child(2) {
		display: block;
		width: 100%;
	}

	table.searchResult tr.table-row-document:not(.groupTitle) td:nth-child(1) {
		text-align: left;
		margin-bottom: 0.5em;
	}
}
