/* Only for dev delete after */
/* #region variables */
:root {
  /* Colors */
  --value-color-orange: 7.66, 90.38%, 59.22%;
  --color-orange: hsl(var(--value-color-orange));
  --color-orange-50: hsla(var(--value-color-orange), 0.5);

  --value-color-black: 225, 6.25%, 12.55%;
  --color-black: hsl(var(--value-color-black));
  --color-black-50: hsla(var(--value-color-black), 0.5);

  --value-color-grey: 0, 0%, 36.08%;
  --color-grey: hsl(var(--value-color-grey));
  --color-grey-50: hsla(var(--value-color-grey), 0.5);

  --value-color-white: 0, 0%, 100%;
  --color-white: hsl(var(--value-color-white));
  --color-white-50: hsla(var(--value-color-white), 0.5);

  --value-color-beige: 45, 28.57%, 94.51%;
  --color-beige: hsl(var(--value-color-beige));
  --color-beige-50: hsla(var(--value-color-beige), 0.5);

  /* Fonts */
  /* Families */
  --font-family-space-grotesk: "Space Grotesk", sans-serif;
  --font-family-gantari: "Gantari", sans-serif;

  /* Line heights */
  --line-height-none: 1;
  --line-height-tight: 1.2;
  --line-height-normal: 1.4;
  --line-height-loose: 1.6;

  /* Font sizes (rem) */
  /* Mobile */
  /* Headlines */
  --font-size-h1: 2.5rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.25rem;
  --font-size-h5: 1.1875rem;
  --font-size-h6: 1.125rem;

  /* Body */
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;

  /* Tagline */
  --font-size-tagline: 1.125rem;

  /* Image patterns */
  --image-pattern-1: url("/modules/octablocks/views/images/bg1.png");
}

@media screen and (min-width: 768px) {
  :root {
    /* Desktop */
    /* Headlines */
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1875rem;
    --font-size-h6: 1.125rem;

    /* Body */
    --font-size-body: 1.125rem;

    /* Tagline */
    --font-size-tagline: 3.125rem;

    /* Button */
    --font-size-btn: 1.25rem;
  }
}
/* #endregion */

/* Delete after dev end */

:is(h1, h2, h3, h4, h5, h6) :is(strong, strong *) {
  font-weight: 400 !important;
  color: var(--color-orange) !important;
}

.page-title-overlap .container > div {
  justify-content: center !important;
}

.position-static {
  margin-top: 100px;
}

#prestablogfont :is(strong, strong *, a, a *) {
  color: var(--color-orange) !important;
}

#prestablogfont :is(h1, h2, h3, h4, h5, h6) a {
  text-decoration: none !important;
}

#prestablogfont,
#prestablogfont *:not(p:has(img)) {
  text-align: left !important;
}

body:not(.page-category) nav[aria-label="breadcrumb"] {
  margin-block: 0 !important;
}

#prestablogfont :is(h1, h2, h3, h4, h5, h6),
#prestablogfont :is(h1, h2, h3, h4, h5, h6) * {
  color: var(--color-orange) !important;
  background: none !important;
}
h1#prestablog_article {
  font-size: 2rem !important;
  margin-top: 0 !important;
}
#prestablogfont h1 {
  font-size: 1.6rem !important;
}
#prestablogfont h2 {
  font-size: 1.5rem !important;
}

#prestablogfont h3 {
  font-size: 1.4rem !important;
}

#prestablogfont h4 {
  font-size: 1.3rem !important;
}

#prestablogfont h5 {
  font-size: 1.2rem !important;
}

#prestablogfont h6 {
  font-size: 1.1rem !important;
}

#prestablogfont * .light {
  color: initial !important;
}
/* Toutes les classes qui ont px pt pb pl pr py on set à 0 */
#prestablogfont
  *:is(
    [class*="p-"],
    [class*="px"],
    [class*="pt"],
    [class*="pb"],
    [class*="pl"],
    [class*="pr"],
    [class*="py"]
  ) {
  padding: 0 !important;
}

#prestablogfont
  *:is(
    [class*="m-"],
    [class*="mx"],
    [class*="mt"],
    [class*="mb"],
    [class*="ml"],
    [class*="mr"],
    [class*="my"]
  ) {
  margin: 0 !important;
}

#prestablogfont #prestablogfront time {
  font-size: 0.75rem;
}

#content-wrapper {
  display: flex;
  flex-direction: column;
}

#content-wrapper h1 {
  order: 0;
}

#content-wrapper #prestablog_menu_cat {
  order: 1;
}

#content-wrapper .prestablog_pagination:first-child {
  order: 2;
}

#content-wrapper #blog_list_1-7 {
  order: 3;
}

#content-wrapper .prestablog_pagination:last-child {
  order: 4;
}

.date_blog-cat {
  font-size: 0.75rem;
  font-family: var(--font-family-space-grotesk);
}

.clearblog {
  margin-right: auto;
  margin-left: auto;
  clear: both;
}

#prestablogfront .info_blog {
  margin-bottom: 30px;
}

#prestablogfront {
  padding-inline: 25px;
}

#content-wrapper > h1 {
  text-align: center;
}

/** Listing */
#blog_list_1-7 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#blog_list_1-7 {
  display: block;
  width: 100%;
  clear: both;
  padding: 0;
  transition: height 0.2s ease-out;
}

#blog_list_1-7 li {
  display: inline-block;
  list-style: none;
  transition: all 0.6s ease-in;
  padding: 10px;
  width: 50%;
}
#blog_list_1-7.one_article li {
  width: 100%;
  background-color: #ffffff;
  display: block;
  margin-bottom: 10px;
}
#blog_list_1-7.full_picture li {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}
#blog_list_1-7.three_article li {
  width: 33.33%;
}
#blog_list_1-7 li.blog-grid-sizer {
  width: 50%;
}

#blog_article_linked #blog_list_1-7 li {
  width: 33%;
}
#blog_list_1-7 li.tiers {
  width: 33%;
}
#blog_list_1-7 li .link_toplist:hover {
  background-color: #ff5600;
}
#blog_list_1-7 h3 {
  line-height: 0.9;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #e7e7e7;
  font-size: 20px;
  height: auto;
}
#blog_list_1-7 .block_cont,
.prestablog .block_cont {
  width: 100%;
  background-color: #ffffff;
}
#blog_list_1-7.one_article .block_cont {
  border: 0px;
}

#blog_list_1-7.one_article li {
  border: 1px solid #fff;
}

#blog_list_1-7.one_article li:hover {
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.49);
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.29);
  border: 1px solid #cccccc;
}

#blog_list_1-7.one_article li:hover .block_cont {
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0);
  -webkit-box-shadow: 0px 0px 5px rgba(255, 255, 255, 0);
}

#blog_list_1-7 li .block_cont .block_top a {
  height: auto;
  display: inline-block;
  width: 100%;
}

#blog_list_1-7 li .block_cont .block_top :is(img, source) {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  aspect-ratio: 1;
  object-fit: cover;
}

#blog_list_1-7 li:hover .block_cont .block_top :is(img, source) {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

#blog_list_1-7 .block_top {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
#blog_list_1-7.one_article .block_cont .block_top {
  width: 40%;
  float: left;
  margin-right: 10px;
}
#blog_list_1-7 li:hover {
  opacity: 1;
}
#blog_list_1-7 .block_top img {
  width: 100%;
}
#blog_list_1-7 .block_bas {
  width: 100%;
  padding: 20px;
}
#blog_list_1-7.one_article .blog-grid .block_bas {
  width: 100%;
}
#blog_list_1-7 #blog_article_linked h3 {
  padding-bottom: 10px;
  border-bottom: 1px dotted #cfcfcf;
  color: #626262;
}
#blog_list_1-7 #blog_article_linked h3,
#blog_article_linked .blog_link {
  font-size: 15px;
  height: auto;
}
#blog_list_1-7 #blog_article_linked .article_li h3 {
  border: none;
}
#blog_list_1-7 #blog_article_linked .block_bas {
  padding: 10px;
}

.prestablog_desc {
  min-height: 100px;
}

#blog_list_1-7 p {
  margin: 12px 0px;
}
#blog_list_1-7 .block_top img,
#blog_list_1-7 a,
.block_cont,
#blog_list_1-7 li * {
  transition: all 0.6s ease-in-out;
}
/** Grid design **/
#blog_list_1-7 .prestablog_more {
  display: flex;
  justify-content: center;
  align-items: center;

  & a {
    line-height: 1;
  }
}
#blog_list_1-7.one_article .prestablog_more {
  display: block;
}

#blog_list_1-7 .prestablog_more a {
  width: 100%;
  border-radius: 0;
  background-color: hsl(var(--value-color-orange));
  text-align: center;
}

#blog_list_1-7 .prestablog_more .blog_link:is(:hover, :focus, :active) {
  background-color: hsl(var(--value-color-orange)) !important;
}

#blog_list_1-7 .prestablog_more .blog_link {
  display: inline-block;
  text-decoration: none;
}
#blog_list_1-7 .prestablog_more a {
  color: #fff;
  padding: 15px 15px;
  height: 50px;
}
.prestablog_more {
  color: #fff;
}
#blog_list_1-7 .prestablog_more span {
  float: right;
  height: 50px;
  padding: 15px;
  font-size: 14px;
}
#blog_list_1-7 .blog-grid .block_bas {
  width: 100%;
  padding: 20px 20px 10px 20px;
}
#blog_list_1-7 a.blog_link:hover,
#blog_list_1-7 .comments:hover,
#blog_list_1-7 a.blog_link:hover::before,
#blog_list_1-7 .comments:hover::before {
  background-color: hsl(var(--value-color-orange));
  color: #fff;
}

#blog_list_1-7 h3,
#blog_list_1-7 .h3title {
  line-height: inherit;
  padding-bottom: 0;
  margin-bottom: 10px;
  border-bottom: none;
  font-size: 1.25rem !important;
  text-transform: uppercase;
  min-height: 58px;

  & * {
    text-decoration: none;
    color: var(--color-black);

    &:hover {
      text-decoration: underline;
    }
  }
}
.prestablog_desc {
  font-size: 0.875rem;
}

/* Block category */
img.catlisteimg {
  margin-right: 7px;
  margin-bottom: 7px;
  margin-top: 5px;
  display: inline;
}
.block-categories #prestablog_catliste .blog-collapse-icons {
  top: 10px;
  right: 0;
  background-color: #dfdfdf;
  width: 25px;
  height: 25px;
  color: #999;
  border-radius: 0;
  border: 1px solid #dbdbdb;
  position: absolute;
  padding: 0;
  cursor: pointer;
}
.block-categories #prestablog_catliste .blog-collapse-icons.no-image {
  top: 0;
}
#prestablog_catliste .blog-collapse-icons.blogcollapsed .remove,
#prestablog_catliste .blog-collapse-icons .add {
  visibility: visible;
}
#prestablog_catliste .blog-collapse-icons .remove,
#prestablog_catliste .blog-collapse-icons.blogcollapsed .add {
  visibility: hidden;
}
#prestablog_catliste .blog-collapse-icons .material-icons {
  top: 0;
  position: absolute;
}
#prestablog_catliste .blog-collapse-icons + .blogitems {
  display: none;
}

#prestablog_catliste a.catblog_desc span {
  font-size: 80%;
}
#prestablog_catliste a.catblog_desc {
  display: block;
}
.contcatblockblog {
  display: table-cell;
  width: 100%;
  height: 40px;
  padding-bottom: 20px;
}
.block-categories
  #prestablog_catliste
  .category-sub-menu
  li:not([data-depth="0"]):not([data-depth="1"])::before {
  display: none;
}
#prestablog_categorieslist h4 {
  margin-bottom: 20px;
}
.prestablogcatnotreecont {
  position: relative;
  min-height: 40px;
}
.prestablogcatnotreecont a {
  border-bottom: 1px solid #dfdfdf;
  display: block;
  padding: 10px 5px 10px 5px;
}
#prestablog_catliste .prestablogcatnotreecont li,
#prestablog_catliste .prestablogcatnotreecont ul {
  margin-bottom: 0px;
}
/** Pagination category */
.cat_prestablog p {
  margin-top: 5px;
  margin-bottom: 5px;
  padding-bottom: 0px;
}
div.prestablog_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-block: 25px;
}
div.prestablog_pagination a,
div.prestablog_pagination span {
  border-radius: 0;
  background-color: transparent;
  border: 1px solid var(--color-orange);
  height: 32px;
  width: 32px;
  color: var(--color-orange);
  font-family: var(--font-family-space-grotesk);
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  text-align: center;
}
div.prestablog_pagination a:hover,
div.prestablog_pagination a:active {
  background-color: var(--color-orange) !important;
  box-shadow: none;
  color: var(--color-white);
}

div.prestablog_pagination span.current {
  margin-right: 2px;
  border: 1px solid hsl(var(--value-color-orange)) !important;
  background-color: hsl(var(--value-color-orange));
  color: #fff;
}
div.prestablog_pagination span.disabled {
  margin-right: 2px;
  border: 1px solid #f3f3f3;
  color: #ccc;
}

#block_footer_last_list {
  float: left;
  width: 175px;
  padding: 15px 10px;
}

.sub-menu.hidden {
  display: none;
}
.sub-menu.block {
  display: block;
}

.blog-cat-menu {
  gap: 25px;
  padding: 0;
}

hr {
  border-top: 1px solid var(--color-orange);
  border-bottom: 1px solid var(--color-orange);
  padding-inline: 25px;
  margin-block: 50px;
}

.blog-cat-menu > li {
  flex-basis: calc(33.33% - 20px);
  min-width: 200px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.blog-cat-menu > li a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-cat-menu > li a picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transform: scale3d(1, 1, 1);
  transition: all 0.3s ease-in-out;
}

.blog-cat-menu > li a :is(:hover, :focus, :active) picture {
  transform: scale3d(1.1, 1.1, 1.1);
  transition: all 0.3s ease-in-out;
}

.blog-cat-menu > li p {
  font-family: var(--font-family-space-grotesk);
  font-size: 1.25rem !important;
  text-decoration: none;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  backdrop-filter: blur(7.5px);
  padding: 50px 25px;
  text-align: center;
  position: absolute;
  width: 100%;
  margin: 0;
  text-transform: uppercase;
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease-in-out;
  left: 0;
  right: 0;
  bottom: 0;
  top: 100%;
  transform: translateY(-100%);
}

.blog-cat-menu > li a:is(:hover, :focus, :active) p {
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  backdrop-filter: blur(3px);
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.content__header {
  display: flex;
  align-items: stretch;
  gap: 50px;
  margin-bottom: 25px;
}

.content__header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

img.news {
  margin-right: 25px;
  margin-bottom: 25px;
  max-width: 100%;
  border-radius: 0;
}
#prestablogfont img {
  max-width: 100%;
  height: auto;
}
#prestablogfont img.f_left {
  margin-right: 10px;
  margin-bottom: 10px;
}
#prestablogfont img.f_right {
  margin-left: 10px;
  margin-bottom: 10px;
}
#prestablogfont iframe {
  border: none;
  max-width: 100%;
}
@media (max-width: 1024px) {
  #blog_list_1-7 .block_top .blog_desc {
    font-size: 12px;
  }
  #blog_list_1-7 li.tiers {
    width: 50%;
  }
  #blog_list_1-7 li .link_toplist {
    width: 30px;
    height: 30px;
  }
}
#prestablog_catliste li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0px;
}
#prestablog_catliste li span.grower {
  display: block;
  background: #f6f6f6;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  font-family: "Material Icons";
  font-size: 14px;
}
#prestablog_catliste li span.OPEN:before,
#prestablog_catliste li span.CLOSE:before {
  content: "f068";
  display: block;
  width: 30px;
  height: 30px;
  color: #333333;
  line-height: 30px;
  text-align: center;
}
#prestablog_catliste li span.CLOSE:before {
  content: "f067";
  color: silver;
}

#prestablog_catliste li span.OPEN ~ p {
  background-color: #f5f5f5;
}
/* Personalised list */

#prestablogfront,
.prestablogExtra {
  margin-bottom: 20px;
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  border: none;
}

#module-prestablog-blog .fancybox-lock {
  overflow: inherit !important;
}

/* Social buttons */
ul.blogsoc-buttons {
  display: inline-block;
  padding: 0;
  margin: 0;
  list-style-type: none;
  position: relative;
  font-size: 35px;
  text-align: left;
  padding-left: 15px;
  margin-top: -15px;
}
ul.blogsoc-buttons li {
  width: 40px;
  height: 40px;
  margin: 5px;
  display: inline-block;
  text-align: center;
}

ul.blogsoc-buttons li a svg {
  fill: hsl(var(--value-color-orange));
  transition: all ease 0.3s;
}

ul.blogsoc-buttons li a:is(:hover, :focus, :active) svg {
  fill: hsl(var(--value-color-orange));
}

.blogsoc-icon-container {
  width: 40px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s linear;
  perspective: 1000px;
}

time.date:before,
.info_blog:before {
  display: none;
}

.content__header-text * {
  margin: 0 !important;
}

#prestablogfront .info_blog {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

  & * {
    color: var(--color-orange);
    font-family: var(--font-family-space-grotesk);
    font-weight: 700;
    font-size: 1.1rem !important;
  }

  & > * {
    background-color: var(--color-beige);
    border-radius: 999px;
    padding: 10px 20px;
  }
}

.date_blog-cat {
  background-color: var(--color-beige);
  border-radius: 999px;
  padding: 10px 20px !important;
  color: var(--color-orange);
  font-family: var(--font-family-space-grotesk);
  font-weight: 700;
  font-size: 1rem !important;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;

  & * {
    color: var(--color-orange) !important;
  }
}

time.date span,
.info_blog span {
  background: none;
}



@media (max-width: 768px) {
  img.news {
    float: none;
    margin-right: 0;
    display: block;
    justify-self: center;
  }
  #prestablogfront time {
    font-size: 1rem;
    justify-self: center;
    text-align: center;
    width: 100%;
    display: block;
  }

}

@media (max-width: 770px) {
  #blog_list_1-7 li,
  #blog_list_1-7 li.tiers,
  #blog_article_linked #blog_list_1-7 li,
  #blog_list_1-7 li.blog-grid-sizer,
  #blog_list_1-7.two_article li.blog-grid-sizer,
  #blog_list_1-7.three_article li.blog-grid-sizer,
  #blog_list_1-7.three_article li {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #blog_list_1-7 .block_top .blog_desc {
    font-size: 12px;
  }
  #prestablogauthor img.author {
    max-width: 45%;
  }

}

@media (max-width: 400px) {
  #blog_list_1-7 .block_top {
    text-align: center;
    width: 100%;
  }
  #blog_list_1-7 .block_bas {
    width: 100%;
  }
}
