/* Code par Nicolas Pelletier (nipel61)*/

/* Surcharge Bootstrap et le thème par défaut de DSpace, de là la spécificité */

/* Général */

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic,600italic,700italic);

body,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Source Sans Pro', sans-serif;
}

body {
	background: #282828;
	color: #3a3a3a;
	font-size: 20px;
}

main {
	background: #fff;
	padding: 0 0 75px 0;
}

a,
a:active,
a:hover,
a:visited {
	color: #df1f26;
}

h1 {
	font-size: 30px;
	font-weight: 300;
}

h1 span.nom-collection {
	font-size: 24px;
}

h2 {
	font-size: 24px;
	font-weight: 300;
}

h3 {
	font-size: 18px;
	font-weight: normal;
}

h4,
h5,
h6 {
	font-size: 20px;
	font-weight: 300;
}

p {
	font-size: 13px;
	font-weight: 300;
	margin: 5px 0 10px 0;
}

table {
	width: 100%;
	font-size: 18px;
	font-weight: 400;
	margin: 40px 0 0 0;
}

table.table {
	font-size: 15px;
}

table input[type="submit"] {
	margin: 0;
}

.tableau-entete {
	background: #838383;
	border-bottom: none;
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	padding: 5px 10px;
}

.tableau-explication {
	border-bottom: none;
	font-size: 13px;
	font-weight: 300;
	padding-bottom: 15px;
}

th {
	border-bottom: 1px solid #d5d4d5;
	font-size: 15px;
	font-weight: normal;
	padding: 10px;
}

td {
	border-bottom: 1px solid #d5d4d5;
	padding: 10px;
}

.erreur-tableau {
	background: #d3b7b2;
}

.ligne-couleur-pale {
	background: #e9e9e9;
	margin: 25px 0;
	padding: 0 0 40px 0;
}

.info-bulle {
	color: #3a3a3a;
	cursor: pointer;
	font-size: 25px;
	margin-top: 15px;
}

.popover {
	background: #bcbcbc;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 300;
}

.popover-title {
	border-radius: 0;
}

/* Popover Arrow */
.arrow {
    display: none !important;
}

/**************************/


/* Entête */

.entete-ul {
	background: #fff; 
	border-top: 30px solid #ffc103;
	position: relative;
	/* Pour que le menu mobile passe en arrière de l'entête */
	z-index: 999;
}

.entete-ul::before {
	background: #e30513;
	content: "";
	height: 30px;
	position: absolute;
	right: 0;
	top: -30px;
	width: 66%;
}

.entete-ul::after {
	clear: both;
	content: "";
	display: table;
}

.entete-ul .entete-contenu {
	box-sizing: border-box;
	clear: both;
	content: "";
	display: table;
	margin: 0 auto;
	position: relative;
	width: 100%;
	padding: 0 15px;
	max-width: 1200px !important;
}

.entete-ul object {
	pointer-events: none;
}

.entete-ul .logo-ul {
	float: left;
	margin: 30px 24px 0 0;
	position: relative;
}

.entete-ul .logo-mobile {
	display: none;
}

.entete-ul .organisation,.organisation2,.organisation3 {
	float: left;
	height: 105px;
	position: relative;
	width: 150px;
}

.entete-ul .organisation::before {
	background: #e30513;
	border-left: 2px solid #fff;
	content: "";
	height: 30px;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: -30px;
	width: 200%;
}

.entete-ul .organisation .titres {
	min-width: 175px;
    margin-left: 24px;
	box-sizing: border-box;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}

.entete-ul .departement {
	color: #000;
	display: block;
	font-weight: 300;
	font-size: 18px;
	line-height: 20px;
	text-decoration: none;
}

.entete-ul .organisation2 .titres {
	padding: 0 10px 0 0;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}

.entete-ul .organisation3 .titres {
	min-width: 175px;
	padding: 10px 0;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	max-width: 700px;
}

.entete-ul .alerte {
	color: red;
	display: block;
	font-weight: 400;
	font-size: 14px;
	text-decoration: none;
}

/* 2017-10-20 NB : strate alerte. */

div#strate-alerte {
	display: none;
	background: #3a3a3a;
}

div#strate-alerte div.container {
	padding: 15px;
    text-align: center;
}

div#strate-alerte div.alerte {
	display: inline-block;
	vertical-align: middle;
	color: white;
	font-weight: bold;
}

div#strate-alerte button {
	display: inline-block;
    width: auto;
    background: none;
    position: absolute;
    top: -10px;
    right: 31px;
    margin: 0;
    padding: 0;
    min-height: auto;
}

/* Fin strate alerte. */

/* Media queries */

@media only screen and (min-width : 2750px) {

	.entete-ul::before {
		width: 60% !important;
	}

}

@media only screen and (min-width : 1660px) {

	.entete-ul::before {
		width: 66%; 
	}

}

@media only screen and (max-width : 960px) {

	.entete-ul .logo-ul {
		margin-top: 20px;
		position: relative;
	    margin: 25px 15px 0 0;
	}

	.entete-ul .logo-complet  {
		display: none;
	}

	.entete-ul .logo-mobile {
		display: block;
	}

	.entete-ul .organisation {
		height: 90px;
	}
}

@media only screen and (max-width : 500px) {

    .entete-ul .organisation::before {
        width: 100%;
    }
}

/* Bandeau de connexion */

.non-connecte {
	text-align: right;
}

.non-connecte a {
	color: #231f20;
	font-weight: 600;
	font-size: 15px;
}

.non-connecte a:hover {
	color: #231f20;
}

.connexion {
	background: #bcbcbc;
	padding: 25px 0 25px 0;
}

.navbar-nav>li>a {
	font-size: 18px;
	padding: 0 0 0 30px;
    text-shadow: none;
}

/* NB 2017-02-13 : engendre un problème dans le menu principal de l'entête. */
/*
.navbar-nav {
    margin: 0 -15px;
}
*/

.navbar-collapse {
    border-top: none;
    box-shadow: none;
    width: 100%;
    display: inline-block;
}

.nav>li>a:hover,
.nav>li>a:focus,
.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    text-decoration: underline;
    background-color: transparent;
}

.caret {
    margin-left: 7px;
    border-top: 6px solid #000;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent; 
}

.nav .caret,
.nav a:hover .caret {
    border-top-color: #3a3a3a;
    border-bottom-color: #3a3a3a;
}

.dropdown a {
    color: #30302f;
}

.dropdown-menu {
    padding: 13px 15px;
    font-size: 15px;
    background: #e9e9e9;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dropdown-menu>li>a {
    padding: 0;
    font-weight: 300;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    background-color: transparent;
    background-image: none;
    color: #30302f;
    filter: none;
    text-decoration: underline;
}

.dropdown-toggle {
	text-align: right;
}

@media (max-width: 768px) {

	.navbar-right {
	    float: right;
	}

	.dropdown-menu {
	    padding: 13px 0 0 0;
		text-align: right;
	}

	.navbar-nav .open .dropdown-menu>li>a {
	    padding: 0;
	}

}

/**************************/


/* Zone de titre */

.titre {
	background: #3a3a3a;
}

.titre h1 {
	color: #fff;
	margin: 35px 0;
}

/**************************/

/* Fil d'Ariane */

.breadcrumb {
	font-size: 15px;
    padding: 2px 0;
    background: transparent;
}

ol.breadcrumb li {
    font-style: normal;
}

ol.breadcrumb li a {
    color: #231f20;
    font-weight: normal;
}

ol.breadcrumb li:last-child,
ol.breadcrumb li:last-child a {
    color: #e02228;
    font-weight: 600;
}

.breadcrumb>li+li::before {
    padding: 0;
    color: #231f20;
    content: "/";
}

/**************************/


/* Pied de page */

footer {
	background: #3a3a3a;
	border-bottom: 1px solid #cecece;
	color: #fff;
	padding: 35px 0 15px 0;
}

footer a,
footer a:active,
footer a:hover,
footer a:visited {
	color: #fff;
}

footer p {
	font-size: 15px;
}

footer h3 {
	margin: 0;
}

footer h4 {
	font-size: 15px;
	margin: 10px 0 0 0;
}

footer .bouton {
	background: #e01f26;
	float: left;
	font-size: 18px;
	margin: 10px 0 20px 0;
	padding: 10px 40px 10px 40px;
}

.copyright {
	font-size: 12px;
	font-weight: 300;
}

/* Media queries */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

	footer .bouton {
		float: right;
		margin: 0;
	}

}

/* Medium devices (desktops, 992px and up) */
/*@media (min-width: 992px) { ... }*/

/* Large devices (large desktops, 1200px and up) */
/*@media (min-width: 1200px) { ... }*/

/**************************/

/* Formulaire - général */

form h2 {
	margin-top: 75px;
}

form h3 {
	margin-top: 50px;
}

button,
input[type="button"],
input[type="submit"] {
	background: #9d1c20;
	border: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	margin-top: 10px;
	min-height: 40px;
	padding: 5px;
	width: 100%;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	text-decoration: underline;
}

input.btn-dernier {
	margin-top: 60px;
}

input.btn-principal {
	background: #e01f26;
	margin-top: 60px;
}

input.btn-principal {
	background: #e01f26;
	margin-top: 60px;
}

input.btn-eclatant {
	background: #e01f26;
}

input.btn-subtil {
	background: #838383;
}

.a-bouton {
	display: block;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	margin: 20px 0 0 0;
	padding: 10px;
	text-align: center;
	width: 100%;
}

.a-bouton:hover {
	color: #fff;
}

.plus,
input.plus {
	font-size: 35px;
	font-weight: normal;
	height: 40px;
	line-height: 40px;
	padding: 0;
	width: 40px;
}

.plus:hover,
input.plus:hover {
	text-decoration: none;
}

input[type="radio"] {
	margin-top: 10px;
}

input[type="checkbox"] {
	margin-right: 5px;
}

input[type="text"],
input[type="date"],
input[type="password"],
select {
	border: 1px solid #a7aaac;
	font-size: 15px;
	font-weight: 300;
	height: 40px;
	margin-top: 10px;
	padding: 5px;
	width: 100%;
}

textarea {
	height: 120px;
	margin-top: 10px;
	width: 100%;
	max-width: 100%;
}

label,
.row .row:first-child label {
	border-bottom: 1px solid #d3d3d3;
	font-size: 18px;
	font-weight: normal;
	margin-top: 60px;
	width: 100%;
}

.row:first-child label {
	margin-top: 15px;
}

.label-required::after {
    content: "";
}

.label-required::before {
	color: #df1e26;
    content: "*";
}

.conteneur-erreur + label {
	margin-top: 20px;
}

.etiquette-radio {
	border: none;
	font-size: 13px;
	margin: 0;
	width: auto;
}

.etiquette-check,
.row:first-child label.etiquette-check {
	border: none;
	font-size: 18px;
	font-weight: 300;
	margin-top: 5px;
	width: auto;
}

.erreur {
	margin-top: 20px;
	background: #d3b7b2;
	border: 1px solid #e01f26;
	padding: 20px;
}

.erreur p {
	font-size: 15px;
	font-weight: 300;
	margin: 0 0 0 9px;
}

.erreur h4 {
	font-size: 15px;
	font-weight: normal;
	margin: 0;
}

.erreur h4::before {
	color: #df1e26;
	content: "* ";
}

.conteneur-erreur {
	margin-top: 30px;
}

.conteneur-erreur::after {
	content: "";
	display: block;
	background-image: url("img/pointe-erreur.png");
	margin: -1px 0 0 25px;
	width: 34px;
	height: 18px;
}

/* Media queries */

@media (max-width: 768px) {

	.row .col-xs-8:first-child input.btn-principal {
		margin-top: 60px;
	}

	.col-xs-8 input.btn-principal,
	.col-xs-8 input.btn-dernier {
		margin-top: 10px;
	}

}

/**************************/


/* Accueil */

.bandeau-accueil {
	background: #3a3a3a url("./img/bandeau-accueil.jpg") no-repeat center;
	height: 420px;
	padding: 305px 0 0 0;
}

.bandeau-accueil a {
	background: #e01f26;
	color: #fff;
	display: block;
	font-size: 22px;
	padding: 17px;
	text-align: center;
	width: 100%;
}

.bandeau-accueil img {
	display: none;
}

.titre-accueil {
	background: #000; /*Valeur non RGBA pour les vieux navigateurs*/
	background: rgba(0, 0, 0, 0.75);
	padding: 25px 0;
}

.titre-accueil h1 {
	color: #fff;
	font-size: 50px;
	margin: 0;
	padding: 5px 0 0 0;
}

/* Media queries */

@media only screen and (max-width : 992px) {

	.bandeau-accueil {
		background: none;
		height: auto;
		overflow: hidden;
		padding: 0;
	}

	.bandeau-accueil img {
		display: initial;
		width: 100%;
	}

	.titre-accueil {
		margin: -120px 0 0 0;
		position: relative;
		z-index: 1000;
	}

}

@media (max-width: 768px) {

	.bandeau-accueil a {
		margin: 20px 0 0 0
	}

	.titre-accueil {
		margin: 0;
	}


}

.texte-accueil {
	background: #3a3a3a;
	border-top: 1px solid #545454;
	color: #fff;
	padding: 50px 0;
}

.texte-accueil p {
	font-size: 24px;
	font-weight: 300;
}

.recherche-accueil {
	background: #838383;
	padding: 25px 0 35px 0;
}

.recherche-accueil a {
	border: 1px solid #bcbcbc;
	color: #fff;
	display: block;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	margin: 10px 0 0 0;
	padding: 5px;
	text-align: center;
	width: 100%;
}

.recherche-accueil a.actif {
	background: #bcbcbc;
	color: #231f20;
}

.recherche-accueil input[type="text"] {
	background: #bcbcbc;
	border: none;
	color: #333333;
	float: left;
	font-size: 24px;
	height: 50px;
	margin: 50px 0 0 0;
	padding: 10px;
}

.recherche-accueil button {
	background: #e01f26;
	float: left;
	font-size: 22px;
	height: 50px;
	margin: 50px 0 0 -50px;
	padding-top: 8px;
	width: 50px;
}

.depots {
	border: 1px solid #e2e2e2;
	margin-top: 70px;
	padding: 0;
}

.depots h2 {
	background: #828282;
	color: #fff;
	font-size: 30px;
	margin: 0;
	padding: 10px;
}

.depot {
	border-bottom: 1px solid #e2e2e2;
	margin: 15px;
	padding: 0 0 25px 0;
}

.depot:last-of-type {
	border-bottom: none;
}

.depot a {
	color: #231f20;
}

.depot h3 {
	font-size: 24px;
	font-weight: 300;
}

.depot p {
	font-size: 15px;
    font-weight: normal;
    margin: 0;
}

.tous {
	padding: 15px;
}

.tous a {
	background: #9c1c20;
	display: block;
	color: #fff;
	font-size: 16px;
	padding: 5px 10px;
	text-align: center;
	width: 100%;
}

.tous a:hover {
	color: #fff;
}

/**************************/


/* Recherche */

#tlocation {
	display: none;
}

.discovery-pagination-controls {
/* 	display: none; */
}

.discovery-search-form,
.facetsBox {
	margin-top: 30px;
}

.ouverture-recherche {
	margin: 5px 0 0 0;
	text-align: right;
	font-size: 15px;
}

.discovery-query #tequery {
	float: left;
	margin: 0;
}

.discovery-query #main-query-submit {
	background: #e01f26;
	float: left;
	font-size: 18px;
	height: 40px;
	margin: 0 0 0 -40px;
	padding-top: 8px;
	width: 40px;
}

button.suppression,
button.ajout {
	background: #e01f26;
	font-size: 18px;
	height: 40px;
	padding: 3px 0 0 1px;
	width: 40px;
}

button.ajout {
	padding: 3px 0 0 3px;
}

.discovery-result-pagination p {
	font-size: 15px;
	font-weight: normal;
	margin-top: 30px;
}

.pagination>li>a,
.pagination>li>span,
.pagination>.disabled>span {
	font-size: 15px;
	border: 1px solid transparent;
	color: #231f20;
	margin: 1px;
}

.pagination>.disabled>span:hover {
	background: transparent;
}

.pagination>li>a:hover {
	background: transparent;
	border: 1px solid #e01f26;
	border-radius: 0;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #e01f26;
    border: 1px solid #e01f26;
}

.pagination>li:first-child>a,
.pagination>li:last-child>a {
    background-color: #a8abad;
    border-radius: 0;
}

.discovery-result-results table {
	font-size: 15px;
}

/* NB 2016-01-19 : valider si un désalignement se produit dans une page... */
/* .table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td { */
/* 	vertical-align: inherit; */
/* } */

.discovery-result-results table tbody>tr>td {
	padding-bottom: 30px;
	padding-top: 30px;
}

.facette {
 	border: 1px solid #f5f5f5;
 	margin: 0 0 20px 0;
}

 .facette .panel-heading {
  	background: #3a3a3a;
  	border-radius: 0;
 	color: #fff;
 	font-size: 16px;
 	font-weight: 600;
 	padding: 5px 15px;
}

.facette a {
 	color: #3a3a3a;
 	font-size: 15px;
}

.facette .list-group-item {
 	border: none;
 	padding: 0 15px;
}

.facette .list-group {
 	box-shadow: none;
 	margin: 0;
}

.facette .badge {
 	margin-top: 7px;
}

.facette .pull-left,
.facette .pull-right {
 	margin: 5px 0 0 0;
}

.facette .navigation {
	background: #828282;
	border-radius: 0;
	margin: 10px 0 0 0;
}

.facette .navigation a {
	color: #fff;
	font-size: 12px;
}

/**************************/

/* Parcourir par auteur */

.lettres {
	margin: 20px 0 0 0;
}

.lettres a {
	display: block;
	border: none;
	border-right: 1px solid #fff;
	float: left;
	height: 25px;
	padding: 0 10px 7px 10px;
	text-align: center;
	width: auto;
}

.lettres a:last-child {
	border: none;
}

.auteurs {
	font-size: 18px;
	margin-top: 50px;
}

.auteurs h1 {
	margin: 0 0 30px 0;
}

.auteurs .list-group {
 	box-shadow: none;
 	margin: 10px 0 0 0;
}

.auteurs .list-group-item {
 	border-radius: 0;
}

.auteurs .badge {
	margin-top: 4px;
}


/**************************/


/* D�tail d'un article */

.titre-article {
	background: #3a3a3a;
	padding: 20px;
}

.titre-article h1 {
	border-left: 5px solid #e01f26;
	color: #fff;
	margin: 0;
	padding: 20px;
}

.titre-article a {
	background: #e01f26;
	display: block;
	color: #fff;
	font-size: 16px;
	margin: 20px 0 0 0;
	padding: 10px;
	text-align: center;
	width: 100%;
}

.titre-article a .glyphicon {
	margin-left: 10px;
}

.titre-article a:hover {
	color: #fff;
}

.detail tr:first-child td,
.detail tr:last-child td {
	border: none;
}

.btn-detail {
    background: #3a3a3a;
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0 0 0;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.licence {
	background: #a8abad;
	font-size: 19px;
	font-weight: 300;
	margin: 75px 0 0 0;
	padding: 10px;
	text-align: center;
}

/**************************/


/* Connexion */

.page-connexion p {
	font-size: 18px;
	font-weight: normal;
	margin: 30px 0 0 0;
}

.page-connexion label {
	border: none;
	margin: 30px 0 0 0;
}

.page-connexion input[type="text"],
.page-connexion input[type="password"] {
	margin: 0;
}

.page-connexion input[type="submit"] {
	background: #df1f26;
	margin-top: 25px;
}

.erreur-connexion {
	border: 1px solid #df1f26;
	color: #df1f26;
	margin-top: 25px;
	padding: 20px;
}

.erreur-connexion h3 {
	font-weight: 600;
	margin: 0;
}

.erreur-connexion p {
	font-weight: 300;
	margin: 0;
}

.erreur-connexion .glyphicon {
	margin-left: 10px;
}

.confidentialite h3 {
	font-size: 14px;
	text-transform: uppercase;
}

.confidentialite p {
	font-size: 14px;
	font-weight: 300;
	margin: 0;
}


/**************************/


/* Processus de dépôt - Décrire */

/*.i {
	margin: 18px 0 0 0;
	width: 25px;
	height: 25px;
}*/

/**************************/


/* Processus de dépôt - Ajouter */

.resumable-drop {
	background: #e7e8e9;
	border: 1px solid #a7aaac;
	height: 190px;
	min-height: 190px;
	opacity: 1;
	padding-top: 65px;
}

.resumable-drop a {
	color: #838383;
}

.resumable-drop a:hover {
	text-decoration: none;
}

/**************************/

/* Processus de dépôt - Vérifier */

.verifier {
	background: #e7e8e9;
	border: 1px solid #a7aaac;
	padding: 25px;
	font-size: 16px;
	font-weight: 300;
}

.verifier .row div:first-child {
	font-weight: 600;
}

.verifier .row div:last-child {
	margin-bottom: 10px;
}

.verifier ol,
.verifier ul {
	margin: 0;
	padding-left: 25px;
}

/**************************/


/* Tableau des soumissions */

.btn-retour {
	background: #9d1c20;
}

/**************************/

.browse_range
{
	font-size: 16px;
	margin-top: 5px;
	margin-bottom: 5px;
}

/* Catégories de sujets */

div#cat-sujets>a {
    background: #9d1c20;
    border: none;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    margin-left: 30px;
    height: 40px;
    display: inline-block;
}

div#cat-sujets>a>span {
	display: inline-block;
    width: 150px;
    text-align: center;
    margin-top: 12px;
}

div#cat-sujets>a:hover>span {
 	text-decoration: underline;
}

/**************************/

/* Filtre par collection dans la recherche avancée. */

label#texte-filtre-collection {
	border: none;
}

select#filtre-collection {
	width: auto;
	margin-bottom: 15px;
}

/**************************/

/* Type de document dans une demande de copie. */

p.type-document {
	font-size: 18px;
	margin: 15px 0;
}

p.type-document span {
	color: #df1f26;
}

/**************************/

.no-padding-left {
	padding-left: 0;
}

.no-padding-right {
	padding-right: 0;
}

.not-resizable {
	resize: none;
}

#submit-coll-desc {
	display: none;
}

#submit-coll-desc-display-div {
	font-weight: bold;
}

#submit-coll-desc-display-div-express {
    font-weight: bold;
    margin-bottom: 15px;
}
