/* Entypo font */

/* Light */
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 300;
	src: url("fonts/RobotoCondensed-Light.ttf") format('truetype');
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: italic;
	font-weight: 300;
	src: url("fonts/RobotoCondensed-LightItalic.ttf") format('truetype');
}

/* Normal */
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 400;
	src: url("fonts/RobotoCondensed-Regular.ttf") format('truetype');
}
@font-face {
	font-family: "fonts/Roboto Condensed";
	font-style: italic;
	font-weight: 400;
	src: url("fonts/RobotoCondensed-Italic.ttf") format('truetype');
}

/* Bold */
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 700;
	src: url("fonts/RobotoCondensed-Bold.ttf") format('truetype');
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: italic;
	font-weight: 700;
	src: url("fonts/RobotoCondensed-BoldItalic.ttf") format('truetype');
}

/* HEADER */

#header {
    background-color: white;
    margin-bottom: 2em;
}

#header .content-header {
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    margin-left: 165px;
    padding-right: 25px;
}

.logos {
    margin-right: 2em;
    display: inherit;
    align-items: safe center;
}

.logos img {
    float: left;
}

#databnf-logo {
    color: rgb(158, 158, 158);
    font-size: 2.8em;
    font-weight: 700;
    margin-left: 20px;
}

#databnf-logo:hover,
#databnf-logo:visited,
#databnf-logo:focus {
   text-decoration: none;
}

#searchform {
    flex-grow: 2;
}

#searchform input[type="text"] {
    height: 40px;
    width: 80%;
    padding: 2px 3px;
}

#searchform button[type="submit"] {
    margin-left: -35px;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: none;
    font-size: 20px;
}

.liens-transverses {
    padding-left: 2em;
    text-transform: capitalize;
}

.liens-transverses a {
    color: grey;
}

.liens-transverses a:not(:last-child)::after {
    content: "|";
    padding: 0 0.5em;
}

#searchform, .liens-transverses {
    margin: auto;
}


/*SIDEBAR RIGHT */


/* STICKY SIDE BAR */

.floating-nav {
    background-color: white;
    box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
    border-radius: 6px;
    position: fixed;
    margin-left: -5px;
}
}

@media (min-width: 768px){
  .floating-nav  {
    display: block;
  }

}

@media (max-width: 768px) {
 .floating-nav  {
    display: none;
  }
}

.floating-nav ul {
    padding: 0;
    margin: 0;
}

.floating-nav ul li > ul {
    padding: 1em;
}

.floating-nav ul li > ul li {
    padding: 0.3em 0;
}

.floating-nav li {
    list-style-type: none;
}

.floating-nav li > a {
    border-left: 5px solid transparent;
}

.floating-nav li:not(:last-child) {
    border-bottom: 1px solid rgba(3, 3, 3, 0.2);
}

.floating-nav li.active > a, .floating-nav li:hover > a {
    border-left: 5px solid #00509c;
}

.floating-nav li > a {
    padding: 0.8em;
    display: block;
    color: inherit;
}


/* GENERAL */

.container-fluid {
}

body {
    background-color: #e7ecf0;
    margin: 0 !important;
    padding: 0 !important;
}

a {
    color: #00509c;
    text-decoration: none;
}


/* PAGE */

.autocreated-link {
    color: #00509c;
    padding-bottom: 14px;
}

h1.dashed-bottom {
    border-bottom: 2px dashed grey;
    padding-bottom: 0.8em;
    margin-bottom: 1em;
}

h2.doctitle {
    color: rgb(51,51,51);
    font-size: 1.5em;
    padding-top: 1em;
    margin-top: 1em;
    border-top: 2px dashed grey;
}
h2.doctitle span {
    font-weight: bold;
}

.collapse-wrapper h3 {
    color: #00509c;
    font-width: 700;
}
.collapse-wrapper h3 span {
    font-weight: bold;
}

.collapse-wrapper {
    border: 1px solid lightgray;
    padding: 0 1em 1em;
    border-radius: 6px;
    background: #f0f0f0;
}

.page-container {
    background-color: white;
    box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
    padding: 2em;
    margin-left: 150px;
    border-radius: 6px;
}
.page-container h1 {
  font-weight: bold;
}

.chevron-down, .chevron-up {
  height: 20px;
  width: 20px;
  -webkit-box-shadow:  1px 1px 5px #333;
   -moz-box-shadow:  1px 1px 5px #333;
        box-shadow:  1px 1px 5px #333;
}

.chevron-down {
  background: url('images/chevron_down.png') right top no-repeat;
}

.chevron-up {
  background: url('images/chevron_up.png') right top no-repeat;
}

.catalog-search-link {
  display: block;
  margin: 1em auto auto;
  text-align: center;
  color: #000;
}

.picto-studio {
  height: 30px;
  width: 30px;
  display: inline-block;
  background: url('images/picto-atelier.png') left top no-repeat;
}


.collapse-button {
    background-color: black;
    color: white;
    padding: 0.2em;
    display: block;
    float: right;
}

.info {
    background-color: black;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    float: left;
    margin-right: 5px;
}

.share {
    display: block;
    float: right;
}

.actions {
    float: right;
}

.actions span {
    margin-right: 2px;
}

a.work-author {
   padding-left: 1.5em;
   margin-bottom: 7.5px;
   display: inline-block;
}

.collapse:hover {
    cursor: pointer;
}

.collapse .collapsed-content {
    display: none;
}


.itemlist {
  width: 100%;
  border-collapse: collapse;
}

.itemlist-details {
    font-size: 115%;
}

.item-indirectrole{
    font-size: 90%;
}

.itemlist-details .itemlist-details__info .title_infos {
    font-size: 100%;
    color: #7a7a7b;
}

.itemlist-details,
.itemlist-details__info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

.itemlist-details__info {
  flex-wrap: wrap;
}


.itemlist a.expression {
  font-weight: normal;
  font-size: 0.9em;
}

.itemlist-item {
   padding: 0.5em;
}

.itemlist-item.even {
    background-color: #dce6f1;
}

.itemlist-details:first-child tr {
    width: 80%;
}

.itemlist-details__actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.itemlist-details__actions a,
.itemlist-details__actions span  {
    padding-left: 5px;
    color: #000;
}

.itemlist-details__actions a.catalog-link {
   color: #888;
}

.itemlist-details__title {
  margin-right: 0.5em;
}

span.itemlist-details__title {
  cursor: default;
}
/*******INFOBULLES**********/

.docdesc, .pdfdownload {
    display: none;
    font-size: 0.9em;
    background: white;
    padding: 1em;
    overflow: auto;
    flex-direction: row;
    position: absolute;
    width: 500px;
    box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.2);
    border-radius: 6px;
    z-index: 999;
}

.docdesc {
  margin-left: 2em;
}

.docdesc::before {
    display: block;
    width: 0;
    height: 0;
    border-bottom: 5px solid white;
    background-color: red;
}


.docdesc ul {
    list-style: none;
    margin: 10px 0 0 17px;
    padding: 0;
}

.pdfdownload {
    right: 5em;
}

.pdfdownload .btn[type=submit] {
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

#pdfdownload__title span {
  font-weight: 700;
}

#pdfdownload__accept-row {
  margin-top: 1em;

}

#pdfdownload__terms {
  text-decoration: underline;
}
/*************************** */


/*******SANS INFOBULLES *********
.description {
    display: none;
    font-size: 0.9em;
    background: white;
    padding: 1em;
    margin-left: 0.5em;
    border-left: 2px solid #1a4666;
    overflow: auto;
    flex-direction: row;
}



/*************************** */

.description .label {
    font-weight: bold;
}

.description > div {
    padding-left: 1em;
}

.description > img {
    float: left;
    box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
}

@media (min-width: 1200px) {

  .sidebar-right {
    margin-left: 0px;
    margin-top: 0em;
    position: fixed;
    right: 1px;
    padding-right: 15px;
   }
}

@media (max-width: 1200px){
  .sidebar-right {
    margin-left: 150px;
    margin-top: 2em;
  }

}

@media (min-width: 992px) {
    .container {
        width: 75%;
    }
}

/*side bar right */

.sidebar-right {
    z-index: 999; /* to be displayed over the footer if need be */
}

.sidebar-right > div {
    margin-bottom: 2em;
    box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
}

.sidebar-right > div.bloc {
    background-color: white;
    border-radius: 6px;
}

.sidebar-right h2 {
    font-weight: bold;
    color: #1a4666;
}

.bloc-contenu {
    padding: 0.5em;
}

.blocbleu {
  border-radius: 6px;
}
/* CARTOUCHE */

.cartouche-infos {
    padding: 20px;
    margin-bottom: 16px;
    border-top: 1px solid #a4a4a4;
    background-color: #f0f0f0;
    overflow: auto;
    background: linear-gradient(white, #e0e3e7);
}

.autocreated-work {
    background: linear-gradient(white, #d64a4a);
}

.cartouche-infos .visuel {
    border: 1px solid #adadad;
    float: left;
    width: 129px;
    margin-right: 37px;
    -moz-box-shadow: 5px 5px 5px 0px #656567;
    -webkit-box-shadow: 5px 5px 5px 0px #656567;
    -o-box-shadow: 5px 5px 5px 0px #656567;
    box-shadow: 5px 5px 5px 0px #656567;
}

div.visuel-gallica img, div.visuel img {max-width: 129px;height: auto;max-height: 207px;}

.cartouche-infos .informations {
    float: left;
    width: 617px;
}

.cartouche-infos .informations table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.cartouche-infos .informations table td {
    padding: 6px 0;
    vertical-align: top;
}

.cartouche-infos .informations table td:first-child .lien {
    font-weight: normal;
    color: #6a6a6a;
}

.cartouche-infos .informations table td:first-child {
    white-space: nowrap;
    padding-right: 6px;
    color: #6a6a6a;
}
.cartouche-infos .informations table td:last-child::first-letter {
    text-transform: uppercase;
}

.cartouche-infos .informations a {
    font-weight: bold;
    color: #00509c;
}


.outils {
 margin-top: 2em;
 background-color: white;
 box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
 padding: 2em;
 margin-left: 150px;
 border-radius: 6px;
}

/* FOOTER */

.bloc-baspage {
    display: inline-block;
    width: 272px;
    padding-right: 20px;
    vertical-align: top;
}

.bloc-baspage ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bloc-baspage:first-child li {
    padding: 2px 0 3px 24px;
}

.bloc-baspage:first-child li:first-child {
    background-position: left 4px;
}

.bloc-baspage:first-child li:first-child + li {
    background-position: left -25px;
}

.bloc-baspage:first-child li:first-child + li + li {
    background-position: left -51px;
}

.bloc-baspage label {
    font-size: 0.95em;
    margin-right: 15px;
    font-weight: normal;
}

.bloc-baspage input[type='text'] {
    width: 182px;
}

.bloc-baspage .shareicons {
    margin-top: 10px;
}

.bloc-baspage .shareicons img {
    margin-right: 4px;
}

.bloc-baspage:first-child + .bloc-baspage + .bloc-baspage ul li {
    padding: 0 0 2px;
}

.actions > a {
  font-size: 2em;
  color: inherit;
}
