/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
* GENERAL..................
* BLOCS.................
* BLOC FANCY MODE..............
* ACADEMY DISPLAY BLOCKS..................
* YEAR FILTERS......
* MORE PUBLICATION CALL TO ACTION
*/

/* ------------------------------------ *\
  ==GENERAL
\* ------------------------------------ */

*::after, *::before {
  box-sizing: border-box;
}

/* ------------------------------------ *\
  ==BLOCS
\* ------------------------------------ */

.filters_wrapper {
  width: 100%;
  margin: 1rem;
}

.filters_wrapper .form {
  flex-grow: 1;
}

.filters_wrapper input {
  display: inline-flex;
  height: 40px;
  width: 35rem;
}

.filters_wrapper input.directory__filters__submit.button {
  display: inline;
  height: 48px;
  margin-bottom: 1rem;
  margin-top: .75rem;
  margin-left: 1.5rem;
}

.filters_wrapper input.directory__filters__submit.button:hover {
  background-color: #931111;
  color: #fff;
}

ul.hal-pub-list-type-2 li.hal-pub > a,
ul.hal-pub-list li.hal-pub > a {
  padding: 1.5rem;
}

ul.hal-pub-list-type-2 li.hal-pub a:hover {
  filter: brightness(100%);
}

ul.hal-pub-list-type-2 .hal-pub__title {
  margin-bottom: 1rem;
}

.hal-more-pub {
  margin-top: 1.5rem;
}

.filters_wrapper {
  padding: 0 0;
  margin: 0 0;
}

.directory__filters__submit {
  display: inline;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  max-width: 250px;
  font-weight: 700;
  height: 46px;
  text-transform: uppercase;
}

.filters_wrapper .directory__filters__label {
  top: -.05rem;
}

.filters_wrapper .keywords_filter .directory__filters__label {
  color: #0a0a0a;
  top: 0.25rem;
}

.fullname_filter .directory__filters__label {
  color: #0a0a0a;
  top: 0.20rem;
}

.keywords_filter .directory__filters__input {
  border: 1px solid #666;
}

.keywords_filter .directory__filters__input,
select, [type=text] {
  border: 1px solid #666;
}

/* ------------------------------------ *\
  ==BLOC ACADEMIC MODE
\* ------------------------------------ */
.bloc-AcademicDisplay a {
  color:unset;
}

.hal-pub-list li {
  margin: 15px 0 0;
}

.hal_pub_doctype {
  border-radius: 2px;
  display: inline-block;
  font-size: 0.7em;
  font-weight: bold;
  margin-left: 5px;
  padding: 2px;
}

/* ------------------------------------ *\
  ==ACADEMY DISPLAY BLOCKS
/* ------------------------------------ */
.bloc-AcademicDisplay .hal-pub-list {
  list-style: none;
  margin: 0 0;
}

.bloc-AcademicDisplay .hal-pub-list a {
  display: block;
  margin-bottom: 1.5rem;
}

.bloc-AcademicDisplay .hal_pub_doctype {
  display: block;
  margin-left: 0;
}

/* ------------------------------------ *\
  ==BLOC FANCY MODE
\* ------------------------------------ */

.bloc-FancyDisplay {
  background: rgb(233,233,233);
  display: flex;
  flex-wrap: wrap;
}

.bloc-FancyDisplay ul {
  width:100%;
  padding:1%;
  list-style-type: square;
  margin: unset;
}

.bloc-FancyDisplay ul ul {
  padding:0;
}

.hal-year-nav li[selected] a {
  color: white;
}

.block-halpublicationblock .block__content .nav-widget ul li[selected] a{
  color:white;
}

.bloc-FancyDisplay .keywords_filter form label {
  background: #fff;
  color: #666;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.8;
  left: .75rem;
  margin: 0 0 .5rem;
  padding: 0 .5rem;
  position: absolute;
  top: -0.25rem;
  z-index: 1;
}

.bloc-FancyDisplay .keywords_filter .directory__filters__submit,
.bloc-FancyDisplay .fullname_filter .directory__filters__submit {
  background-color: #fff;
  border: 2px solid #931111;
  border-radius: 100px;
  color: #931111;
  max-width: 200px;
  padding: 1rem 1.5rem;
  transition: all .3s ease 0s;
}

.bloc-FancyDisplay .fullname_filter .directory__filters__input,
.bloc-FancyDisplay .fullname_filter .directory__filters__input {
  border: 1px solid #666;
}

ul.hal-pub-list-type-2 {
  list-style: outside none none;
  color: #777;
}

ul.hal-pub-list-type-2 li.hal-pub > a {
  padding: 1.5rem;
  display: inline-block;
  word-break: normal;
}

ul.hal-pub-list-type-2 li.hal-pub > a:hover .hal-pub__title {
  text-decoration: underline;
}

ul.hal-pub-list-type-2 .hal-pub__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

ul.hal-pub-list-type-2 .hal-pub__authors li::after {
  content: ", ";
}

ul.hal-pub-list-type-2 .hal-pub__authors li:last-child::after {
  content: "";
}

ul.hal-pub-list-type-2 .hal-pub__authors li {
  display: inline;
}

.hal-more-pub:hover {
  opacity: 0.7;
}

.block-halpublications .bloc-FancyDisplay {
  background-color: #fff;
}

.bloc-FancyDisplay {
  background-color: #fff;
}

.bloc-FancyDisplay ul {
  padding: 1rem 0;
}

.bloc-FancyDisplay ul {
  margin-bottom: 1rem;
}

/* ------------------------------------ *\
  ==YEAR FILTERS
\* ------------------------------------ */

.nav-widget {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -3rem;
}

.hal-year-nav {
  display: grid;
  grid-template-columns: repeat(7, 6rem);
  grid-column-gap: 0.7rem;
  grid-row-gap: 0.7rem;
}

.hal-year-nav li {
  padding: 0.25rem 1rem;
  display: block;
  color: #fff;
  background-color: #fff;
  border: 1px solid #1779ba;
  border-radius: 4px;
  text-align: center;
  font-size: 1.3rem;
}

.hal-year-nav li:hover {
  cursor: pointer;
}

.bloc-FancyDisplay .hal-year-nav {
  width:unset;
}

.bloc-FancyDisplay .nav-widget .hal-year-nav {
  margin-bottom: 0;
}

.block__content .nav-widget ul a {
  border: none;
  color: #1779ba;
}

.block__content .nav-widget ul li:hover {
  cursor: pointer;
  background-color: #1779ba;
}
.nav-widget ul li:hover > a {
  color: #fff;
}

/* ------------------------------------ *\
  ==MORE PUBLICATION CALL TO ACTION
\* ------------------------------------ */

.hal-more-pub {
  display: block;
  margin: 0 auto 20px;
  width:100%;
}

.hal-more-pub a, .hal-more-pub a:hover,.hal-more-pub a:focus {
  margin: auto;
  width: 48%;
  border-radius: 24px;
  background-color: #0577b4;
  color: rgb(255, 255, 255);
  display: block;
  font-size: 14px;
  line-height: 1;
  min-width: 160px;
  padding: 15px 23px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out 0s;
}

.hal-more-pub a:hover,.hal-more-pub a:focus {
  border-bottom-style: none;
}

/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */
