/*------------------------------------*\
  CONTENTS
\*------------------------------------*/
/**
 * CONTENTS............You’re reading it!
 * ACTUALITES..........
 * LAYOUTS.............
 * RECHERCHE...........
 * STYLE...............
 * FRONT...............
 */

/*------------------------------------*\
  ==ACTUALITES
\*------------------------------------*/

#content ol.slats > li {
  margin: 0 1rem 20px 0;
}

/*------------------------------------*\
  ==LAYOUTS
\*------------------------------------*/
#name-and-slogan {
  padding-right: 60px;
}

#page {
  width: 1004px;
}

.one-sidebar #content {
  margin-top: 5px;
  padding-left: 5px;
  width: 715px;
}

.front #content,
.page-node-6450 #content {
  width: 585px;
}

.front #sidebar-second,
.page-node-6450 #sidebar-second {
  width: 390px;
}

.ml160 {
  margin-left: 160px;
}


/*------------------------------------*\
  ==RECHERCHE
\*------------------------------------*/
/* Champs de recherche*/

#block-presses-recherche-presses-recherche {
  border: none;
}

#block-presses-recherche-presses-recherche .content {
  padding: 10px;
  background-color: #eee;
}

#block-presses-recherche-presses-recherche {
  margin: 5px 0;
}

.presses_recherche label {
  color: #333;
}

.presses_recherche input {
  width: 300px;
  color: #666;
  font-size: 2em;
}

.presses_recherche .form-item-recherche-publication {
  float: left;
}

.presses_recherche .form-submit {
  width: 55px;
  height: 55px;
  border: none;
  text-indent: -9999px;
  margin: 15px 0 0 10px;
  background: url('../images/search_blue.png') no-repeat;
  transition: background .3s ease-in-out;
  -webkit-transition: background .3s ease-in-out;
  -moz-transition: background .3s ease-in-out;
}

.presses_recherche .form-submit:hover {
  background: url('../images/search_green.png') no-repeat;
}

/*Les filtres*/
.block-facetapi ul.facetapi-facetapi-checkbox-links li {
  list-style-type: none;
}

.sidebar .block-facetapi {
  border: 0;
}

.sidebar .block-facetapi .content {
  padding: 3px 5px 5px 5px;
}


.sidebar .block-facetapi .block-header {
  color: #333;
  border-bottom: 1px #333 solid;
  background: none;
  padding: 0 0 5px 5px;
}


/*------------------------------------*\
  ==STYLE
\*------------------------------------*/
#site-name span {
  font-size: 1.2em;
}

#header {
  border: solid 1px #dadada;
  border-bottom: none;
  background-image: url("../images/bandeau-presses.png");
}

#logo img {
  border-right: 1px solid #0070ba;
  padding-right: 1rem;
  margin-right: 1rem;
}

#logo::after {
  content: "Éditions";
  font-size: 2rem;
  color: #000;
  vertical-align: middle;
}
#block-block-5 .block-header,
#block-block-4 .block-header {
  background: #25a9e0 none;
  color: #fff;
  padding-left: 10px;
}

#block-block-5 .block-header:before {
  font-family: fontawesome;
  content: "\f0e0"
}

.block.block-superfish {
  background-color: #fff;
}

.sf-menu.sf-style-white li > *:hover, .sf-menu.sf-style-white li li > *:hover {
  background-color: #fff;
  border-bottom: none;
}

.sf-menu.sf-style-white a {
  background-color: #fff !important;
}

.sf-menu.sf-style-white li > a {
  background: none;
}

.sf-menu.sf-style-white li li .superfish-nowrap {
  text-transform: initial;
}

#menu-2982-1 > a > span.superfish-nowrap:before {
  font-family: fontawesome;
  content: "\f0e0";
  margin-right: 4px;
}

#menu-2903-1 > a > span.superfish-nowrap:before {
  font-family: fontawesome;
  content: "\f08d";
  margin-right: 4px;
}

/* Labels PUP & PUAM */
li a[href="/editeur/pup"] {
  padding: .2em .6em .3em;
  border-radius: .25em;
  color: #fff;
  background-color: #7cb61f;
}

li a[href="/editeur/puam"] {
  padding: .2em .6em .3em;
  border-radius: .25em;
  color: #fff;
  background-color: #0071b9;
}

.sticker_puam, .sticker_pup, .sticker_neutral {
  font-size: 0.7em;
  font-family: verdana, serif;
  padding: .2em .6em .3em;
  border-radius: .25em;
  color: #fff;
}

.sticker_puam {
  background-color: #0071b9;
}

.sticker_pup {
  background-color: #7cb61f;
}

.sticker_neutral {
  background-color: #fbba00;
}

.couverture img {
  float: left;
  margin: 0 10px 0 0;
  padding: 4px;
  background-color: #eee;
  border: 1px solid #ddd;
}

.resume p {
  text-align: justify;
}

.field-name-field-collection li,
.field-name-field-revue li {
  font-size: 1.3em;
  padding: 0;
}

.editeur {
  float: left;
}

.field-name-field-couverture img {
  margin-bottom: 0;
}

.ss-titre {
  font-style: italic;
}

.group-info-publication {
  border-bottom: 1px solid #ddd;
}

.block-achat {
  border-bottom: 1px solid #ddd;
}

.extras a {
  margin-top: 1rem;
}

.node-full .commande,
.node-full .lgdj,
.node-full .abonnement {
  background-color: #00558a;
  color: #fff;
  padding: 10px 18px;
  display: block;
}

.node-full .extras i {
  margin-left: 1rem;
}

.node-full .commande:hover,
.node-full .lgdj:hover,
.node-full .abonnement:hover {
  background-color: #246d9a;
}

.node-full .open_edition {
  border: 2px solid #00558a;
  color: #00558a;
  padding: 8px 16px;
  display: block;
}

.node-full .open_edition:hover {
  background-color: #00558a;
  color: #fff;
}

.prix {
  color: #bbb;
  font-weight: bold;
}

.node-full .prix {
  font-size: 2em;
}

.dispo_11, .dispo_12, .dispo_13, .dispo_206 {
  font-family: FontAwesome;
  display: inline;
  font-size: 1.7em;
}

.dispo_11 li, .dispo_12 li, .dispo_13 li, .dispo_206 li {
  font-family: 'Oswald', sans-serif;
  display: inline;
}

.dispo_11::before {
  content: "\f111";
  color: orange;
  float: left;
  margin-right: 5px;
}

.dispo_12::before {
  content: "\f111";
  color: green;
  float: left;
  margin-right: 5px;
}

.dispo_13::before {
  content: "\f00d";
  color: red;
  float: left;
  margin-right: 5px;
}

.dispo_206::before {
  content: "\f111 ";
  color: green;
  float: left;
  margin-right: 5px;
}

.node-product-display.node-teaser {
  margin-bottom: 0;
}

.node-product-display.node-teaser {
  border: none;
}

.node-teaser .prix {
  font-size: 2em;
}

.field-name-field-type-publication {
  margin: 0;
  font-size: 1em;
}

.field-name-field-type-publication ul.links {
  font-size: 1em;
}

/* Publications d'un auteur*/
#block-views-publications-block-auteur .block-header {
  color: #333;
  border-bottom: 1px #333 solid;
  background: none;
  padding: 0 0 5px 5px;
}

/* Articles */
ol.tags li.t4 a {
  background: #fbba00 no-repeat 0 50%;
}

ol.tags li a:hover, ol.tags li a:focus {
  background-color: #fff;
  color: #666;
}

ol.tags li a:active {
  background-color: #ccc;
}

#content .view-articles .slats {
  display: flex;
  flex: 1 1 0;
}

#content ol.slats > li {
  width: 50%;
}

.view-articles .article,
#content .view-articles .article h2 {
  color: #020202;
}

.view-articles .view-content .meta {
  color: #020202;
}

.view-articles .article__body {
  margin-top: 1rem;
}

.view-articles .article:hover h2 {
  text-decoration: underline;
}

/* FRONT */
.titre_front {
  font-family: oswald, sans-serif;
  font-size: 2.5em;
  font-weight: 300;
  color: #333;
  text-transform: uppercase;
  padding-bottom: 0;
  margin-bottom: 10px;
  text-align: center;
}

/* SLIDESHOW avec tic-tac pager*/

.carrousel {
  margin-top: 40px;
}

.view-carrousels-with-tic-tac-pager .views_slideshow_cycle_main {
  position: relative;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-controls-bottom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-controls-text {
  display: none;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item {
  float: right;
  padding: 5px;
  margin: 0 3px;
  background-color: #edecec;
  border-radius: 10px;
  border-width: 1px;
  border-color: #b0adad;
  border-style: solid;
  text-align: center;
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item:hover {
  background-color: #22bbea;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item.active a {
  color: #fff;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item.active a:hover {
  color: #fff;
}

.view-carrousels-with-tic-tac-pager .views-slideshow-pager-field-item.active {
  background-color: #0071b9;
  border-color: #0071b9;
}

/*------------------------------------*\
  ==FRONT
\*------------------------------------*/

.front.no-sidebars #content .section {
  padding-top: 0;
}

.front .titre_front {
  margin-top: 1px;
}

.front .view-publications .view-content {
  display: flex;
  margin-bottom: 2rem;
}

.front .view-publications .views-row {
  flex: 1 1 0;
  padding: .9rem;
}

.front .node-teaser.node-publication {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.front .node-teaser .w70,
.front .node-teaser .w150p {
  width: 100%;
}

.front .node-teaser .couverture {
  text-align: center;
  margin-bottom: 1rem;
}

.front .node-teaser .couverture img {
  float: none;
  margin: 0;
}

.front .field-type-taxonomy-term-reference ul.links li {
  white-space: normal;
}

.front .node-teaser .collection,
.front .node-teaser .revue {
  display: none;
}

.front .node-teaser .date_parution,
.front .node-teaser .collection li,
.front .node-teaser .revue li {
  font-size: 0.7rem;
}

.front .view-display-id-block_nouveaute,
.front .view-display-id-block_paraitre {
  margin-bottom: 2rem;
}

.front .view-display-id-block_nouveaute::after,
.front .view-display-id-block_paraitre::after {
  border: 1px solid #ddd;
  border-radius: 4px;
  content: "";
  display: block;
  margin: 1rem auto 0;
  width: 100%;
}

.front .view-publications .views-row {
  position: relative;
}

.node-teaser .plus {
 display: none;
}

.front .node-teaser .plus {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  margin-left: -1rem;
}

.front .node-teaser .plus a {
  color: #fff;
  background-color: #11a77a;
  padding: 5px;
  border-radius: 2px;
}

.front .node-teaser .plus a:hover {
  background-color: #11774f;
}
