/*------------------------------------*\
  CONTENTS
\*------------------------------------*/
/**
*  GENERAL
*  BLOCKS
*  Academic
*  Fancy
*  SKIN
*  BACK-OFFICE
*  INDEX
*  DETAILS
*  THEME
*/


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

.hidden{
  display:none;
}

/*------------------------------------*\
  ==BLOCKS
\*------------------------------------*/

.block-amu-hal {
  border-radius: 3px;
  background-color: rgb(233, 233, 233);
}

.block-amu-hal::before {
  position: relative;
  top: -3px;
  left: 50%;
  visibility: visible;
  margin-left: -19px;
  color: white;
  content: "\f0d7  ";
  font-size: 66px;
  font-family: "FontAwesome", serif;
  line-height: 0;
}

.hal-pub a {
  color: #FFF;
  text-decoration: none;
}

/* academic  */
/* ------------- */

.hal-pub a {
  word-break: break-all;
}

.hal-pub {
  padding-right: 10px;
}

#block-amu-hal-last-hal-publications .hal-pub-list {
  padding-left: 0;
}

#block-amu-hal-last-hal-publications .hal-pub-list li {
  list-style-type: none;
}

#block-amu-hal-last-hal-publications .hal-more-pub a {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 30%;
}

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

.hal-pub-list li.hal-pub a,
.highlighted .hal-pub-list li.hal-pub a {
  border-bottom: inherit;
  color: #333;
}

.highlighted .hal-pub-list li.hal-pub a:hover {
  border-bottom: solid thin;
}

.region-content .content .hal-pub-list li a {
  color: #333;
}

.block .hal-year-nav li {
  display: inline-block;
  list-style-type: none;
}

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

.doc-authors,
.doc-keywords {
  padding-left: 0;
}

.doc-authors li::before,
.doc-keywords li::before {
  content: "- ";
}

.doc-authors li:first-child::before,
.doc-keywords li:first-child::before {
  content: "";
}

.doc-authors li,
.doc-keywords li {
  display: inline;
}

.hal-year-nav {
  display: flex;
  margin-top: 20px;

  flex-wrap: wrap;
}

/* Fancy  */
/* ------------- */

.hal-pub-list-type-2 {
  display: flex;
  margin:0;
  padding:0;
  list-style: none;
  flex-wrap: wrap;
}

.hal-pub-list-type-2 li {
  flex-basis: calc(33%);
}

.hal-pub-list-type-2 li a {
  background-color: #FFF;
}

.hal-pub-list-type-2 li.hal-pub > a {
  display: inline-block;
  margin: 10px;
  padding: 10px;
  border-bottom: none;
  color: inherit;
  word-break: normal;
}

.hal-pub-list-type-2 li.hal-pub > a:hover {
  border-bottom: none;
}

.hal-pub-list-type-2 .hal-pub__title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.3em;
}

.hal-pub-list-type-2 .hal-pub__authors {
  margin-bottom: 10px;
  padding-left: 0;
  list-style: none;
}

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

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

.hal-more-pub a.more {
  display: block;
  margin: 0 auto 20px auto;
  width: 25em;
  border-radius: 25px;
  color: #FFF;
  text-transform: uppercase;
  font-size: 14px;
  transition: all .2s ease-in-out 0s;
  text-align: center;
}

.hal-more-pub a.more:hover {
  text-decoration: none;
  opacity: .7;
}

/*------------------------------------*\
  ==SKIN
\*------------------------------------*/
.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: rgb(51, 51, 51);
  color: rgb(255, 255, 255);
}

/*Pink */
.hal-pink ul.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: rgb(150, 60, 245);
  color: rgb(255, 255, 255);
}

.hal-pink ul.hal-pub-list-type-2 a:hover .hal-pub__citation-ref {
  color: rgb(180, 180, 180);
}

.hal-pink.block a.more {
  background-color: rgb(150, 60, 245);
}

/*Bleu foncé */
.hal-dark-blue ul.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: rgb(18, 72, 114);
  color: rgb(255, 255, 255);
}

.hal-dark-blue ul.hal-pub-list-type-2 a:hover .hal-pub__citation-ref {
  color: rgb(180, 180, 180);
}

.hal-dark-blue.block a.more {
  background-color: rgb(18, 72, 114);
}

/*Cyan*/
.hal-cyan ul.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: rgb(54, 194, 242);
  color: rgb(255, 255, 255);
}

.hal-cyan.block .content a.more {
  background-color: rgb(54, 194, 242);
}

/*orange*/
.hal-orange ul.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: rgb(222, 105, 0);
  color: rgb(255, 255, 255);
}

.hal-orange.block .content a.more {
  background-color: rgb(222, 105, 0);
}

@media (max-width: 767px) {
  ul.hal-pub-list-type-2 li {
    flex-basis: 100%;
  }
}


/*------------------------------------*\
  ==BACK-OFFICE
\*------------------------------------*/

.page-admin-structure-block-manage-multiblock textarea#edit-readonly {
  border: none;
  cursor: default;
}

.popup-style-white .popup-element-body div.inner a,
.popup-style-white .popup-element-body div.inner a:hover {
  color: #0071B9;
}

.block .hal-year-nav li {
  display: block;
  margin: 4px 5px;
  padding: 4px 8px;
  background-color: #D2D1D1;
}

.block .hal-year-nav li a {
  border-bottom: inherit;
}

@media (max-width: 767px) {
  #block-amu-hal-last-hal-publications .hal-pub {
    margin-bottom: 30px;
  }

  .page-docs h1.title {
    font-size: 1.8em;
  }

  .block .hal-year-nav > li {
    margin-bottom: 20px;
    padding: 4px 8px;
  }

  .hal-year-nav li a {
    font-size: 1.3em;
  }
}

/*------------------------------------*\
  ==INDEX
\*------------------------------------*/
.filters_wrapper {
  display: inline-flex;
  width: 100%;
  margin: 10px;
}

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

/*------------------------------------*\
  ==DETAILS
\*------------------------------------*/
.publi__details h2{
  text-transform: uppercase;
}

/*------------------------------------*\
  ==THEME
\*------------------------------------*/

.front .hal-pub-list-type-2 li {
  flex-basis: 100%;
}

.region-content .content .hal-pub-list li a,
.hal_pub_doctype {
  font-weight: 500;
}


.hal-pub-list-type-2 li.hal-pub {
  background-color: #FFF;
  box-shadow: 0 8px 20px 1px #AAA, 0 3px 14px 3px rgba(0,0,0,.12), 0 4px 5px 0 rgba(0,0,0,.2);
  list-style-type: none;
}

#content .hal-pub{
  padding: 0;
}

#content .hal-pub-list li.hal-pub {
  margin: 10px;
  padding: 20px;
}

.hal-pub-list-type-2 li.hal-pub {
  margin: 5px;
}

.hal-pub-list-type-2 li {
  flex-basis: 100%;
}

.block-amu-hal::before {
  display: none;
}

.front .block-amu-hal {
  background-color: transparent;
}

ul.hal-pub-list-type-2 li.hal-pub a {
  margin: 0;
  width: 100%;
  height: 100%;
}

.hal-pub-list-type-2 li.hal-pub a:hover {
  background-color: #2A68AF;
}

.block-amu-hal li.hal-pub a:hover {
  color: #555;
  text-decoration: none;
}

.hal-pub-list-type-2 a:hover .hal-pub__title,
.hal-pub-list-type-2 a:hover .hal-pub__authors,
.hal-pub-list-type-2 a:hover .hal-pub__citation-ref {
  color: #FFF;
  text-decoration: none;
}
.hal-pub-list-type-2 .hal-pub__citation-ref {
  font-weight: bold;
  font-size: 1.2em;
}
