/* * * HELPER CLASSES * * */
/* Clearfix */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }

.clearfix {
  *zoom: 1; }

/* Image replacement */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px; }
  .ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0 opacity 5s linear; }

.visible {
  visibility: visible;
  opacity: 1; }

.node-recette-perso.node-full .content-head > .block-actions,
.node-recipe.node-full .content-head > .block-actions {
  position: absolute;
  right: 0;
  z-index: 1; }

.favoris-recipe {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  right: 5px;
  top: 5px;
  background-color: rgba(86, 83, 81, 0.6);
  border-radius: 20px;
  height: 40px;
  width: 40px; }
  .favoris-recipe .icon-favoris,
  .favoris-recipe .icon-favoris_off {
    height: 37px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center; }
    .favoris-recipe .icon-favoris:before,
    .favoris-recipe .icon-favoris_off:before {
      color: #fff;
      font-size: 30px; }
  .favoris-recipe .tooltips {
    display: none;
    position: absolute;
    right: 44px;
    top: 3px;
    background-color: #fff;
    padding: 10px;
    height: 34px;
    white-space: nowrap;
    text-align: right;
    color: #515356;
    font-size: 14px;
    line-height: 11px;
    font-weight: normal;
    border-radius: 3px; }
    .favoris-recipe .tooltips:after {
      position: absolute;
      content: "";
      width: 12px;
      height: 17px;
      background-image: url(../images/picto-arrow-right-recipe-white.png);
      background-repeat: no-repeat;
      top: 12px;
      right: -12px;
      background-size: 60%; }
  .favoris-recipe:hover {
    background-color: #fff; }
    .favoris-recipe:hover .icon-favoris:before,
    .favoris-recipe:hover .icon-favoris_off:before {
      color: #ad0018; }
    .favoris-recipe:hover .tooltips.remove-favoris {
      display: none; }
    .favoris-recipe:hover .tooltips.add-favoris {
      display: block; }

.is-favoris.favoris-recipe {
  background-color: #fff; }
  .is-favoris.favoris-recipe .icon-favoris:before {
    color: #ad0018; }
  .is-favoris.favoris-recipe:hover .tooltips.remove-favoris {
    display: block; }
  .is-favoris.favoris-recipe:hover .tooltips.add-favoris {
    display: none; }
