/*
Theme Name: Arinfo
Theme URI: 
Author: 
Author URI: https://www.webkitchen.fr
Description: Thème Arinfo
Requires at least: 6.0
Tested up to: 6.4.2
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Arinfo
Tags: 
*/
.hero {

}

.hero-description {
    position: relative;    
}

.hero-description:before {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    top:-20px;
    left: 0;
}

.hero-description:after {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    bottom:0;
    right: -20px;
}


/* main header */
header.wp-block-template-part {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 10010;
}



header.scrolled .main-header {
    background: white;
    box-shadow: 0px -11px 20px black;
  }


.main-header {
    padding-right: 2rem;
    padding-left: 2rem;
    transition: 150ms ease-in;
  }
  .main-header:before {
    content: "";
    height: 30px;
    display: block;
    background: white;
  }
  .main-header .logo {
    background: white;
    padding: .5rem 1.2rem .5rem 3.2rem !important;
    border-bottom-right-radius: 20px;
    position: relative;
  }
  .main-header .logo::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M20 0H0v20C0 8.953 8.953 0 20 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    bottom: -20px;
    left: 2.2rem;
  }
  .main-header .logo::after {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M20 0H0v20C0 8.953 8.953 0 20 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    top:0;
    right: -20px;

  }

/*.hero*/
.hero {
    position: relative;
}

.hero .yoast-breadcrumbs {
    z-index: 10000;
    padding-right: var(--wp--preset--spacing--60);
  padding-left: var(--wp--preset--spacing--60);
  bottom:.65rem;
}

@media (max-width: 680px) { 
    .hero, .hero .wp-block-cover {
        min-height:60vh!important
    }
    .hero .wp-block-cover__inner-container {
        width: 80%!important;
    }

}



/* Navigation */


.main-header .wp-block-navigation__responsive-container-content {
    background: rgba(255,255,255,.6);
    border-radius: 15px;
    /* overflow: hidden; */
    padding: 0 1rem;
}
.main-header .wp-block-navigation__responsive-container-content > ul {
    background-color: transparent;
}

.main-header .wp-block-navigation__responsive-container-content > ul > li > a {
    padding: 0.7rem 1rem;
    background-color: none;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    border-radius: 16px;
    overflow: hidden !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container > li > a  {
padding: 1rem;
background-color: transparent;
background-color: white;
}

.main-header .wp-block-navigation__responsive-container-content > ul > li > a:hover,
.main-header .wp-block-navigation__responsive-container-content > ul > li > a:focus,
.main-header .wp-block-navigation__responsive-container-content > ul > li > a.current-menu-ancestor,
.main-header .wp-block-navigation__responsive-container-content > ul > li.current-menu-item > a {


    font-weight: bold;
}

.wp-block-list {
  list-style-position: outside;
  padding-left: 1rem;
}


/* Navigation : changement du break point*/
@media (min-width: 1023px) {
  

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
} 
@media (min-width: 320px) {
 
    .main-header .nav nav > button {
        margin-top: -5px;
        background-color: #fff;
        padding: 1rem;
        border-bottom-left-radius: 50%;
        position: relative;
    }

    h1 {
        line-height: 1.3;
    }

    .main-header .nav nav > button:before {
        width: 20px;
        height: 20px;
        display: block;
        top: 1px;
        left: -20px;
        content:'';
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M20 20V0H0c11.047 0 20 8.953 20 20Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M20 0v20H0V0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        position: absolute;
    }

    .main-header .nav nav > button:after {
        width: 20px;
        height: 20px;
        display: block;
        bottom: -20px;
        right:  6px;
        content:'';
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M20 20V0H0c11.047 0 20 8.953 20 20Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M20 0v20H0V0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        position: absolute;
    }



    .main-header .nav nav > button svg {
        fill:#0C73B6;
    }

    .main-header .nav nav > button svg rect{
        height: 2px;
        width: 20px;
    }


    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }

    .is-menu-open .wp-block-navigation__responsive-container-content > ul > li > a {
        font-size: 1.3rem;
    }

    .is-menu-open .wp-block-navigation__responsive-container-content > ul > li > ul > li > a {
        font-size: 1.15rem;
        line-height: 1.5;
        opacity: .75;
    }

    .is-menu-open .wp-block-navigation__responsive-container-content > ul > li > ul {
        margin-bottom: 2rem;
     }
}



/* main content */

.entry-content {
    padding-top: 1.8rem;
}

/* Logged In */


.logged-in header.wp-block-template-part {
    top:30px
}

.entry-content .has-global-padding {
  margin-left: 36px;
  margin-right: 36px;
}

.has-global-padding .has-global-padding {
    margin-left: 0px;
    margin-right: 0px;
}

.scrolled .main-header .logo::before {
    display: none;
}



@media (max-width:1023px){


.hero .yoast-breadcrumbs, .wp-block-cover .yoast-breadcrumbs {
    display: none;
}

    .entry-content {
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

header + .wp-block-group {
  margin-top: 0px !important;
}

 .main-header .nav nav > button:after {
    display: none;
 }


.main-header .logo::before {
    left:15px;
    display: none;
}

    .main-header::before {
       height: 15px;
    }
    .main-header .nav {
        justify-content:flex-end!important;
        padding-right: 8px!important;
    }

    .hero {
        padding-left: 0px!important;
        padding-right: 0px!important;
    }

    .main-header .logo {
      padding: .5rem 1.2rem .5rem 1.5rem !important;
    }
/*    .has-global-padding {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }*/


  main > div {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  /*  .has-global-padding .has-global-padding {
        padding-right: 0!important;
        padding-left: 0!important;
    }*/
} 






/* form contact */

.wpcf7-form p {
    margin-bottom: 1rem;
}

/* Pattern */

.cover-image-linkable {
    position: relative;
    overflow: hidden;
}
/* 
.cover-image-linkable .wp-block-buttons {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    padding: 1rem;
    border-top-left-radius: 20px;
}*/

.cover-image-linkable p {
    z-index: 9000;
    position: relative;
}

.cover-image-linkable .wp-block-cover__image-background {
    filter: grayscale(1);
    transition: all ease-in 150ms;
}

.cover-image-linkable .wp-block-group {
    padding: 0 20px;
}

.cover-image-linkable .wp-block-buttons .wp-block-button__link {
width: 100%;
height: 100%;
position: absolute;
top:0;
text-indent: -9000px;
display: block;
}

.cover-image-linkable .wp-block-cover__inner-container {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 0;
}

.cover-image-linkable .wp-block-cover__inner-container h2 {
  padding-top: 20px;
}

.cover-image-linkable .wp-block-buttons .wp-block-button__link .round {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: white;
    bottom: 0;
    right: 20px;
    border-top-left-radius: 30px;
    transition: all ease-in 150ms;
}
.cover-image-linkable .wp-block-buttons .wp-block-button__link .round:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 20h20V0c0 11.047-8.953 20-20 20Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    bottom: 0px;
    left: -20px;
}

.cover-image-linkable .wp-block-buttons .wp-block-button__link .round:after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 20h20V0c0 11.047-8.953 20-20 20Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    top: -20px;
    right: 0px; 
}

.cover-image-linkable .wp-block-buttons .wp-block-button__link .round .arrow {
    
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='50' rx='25' fill='%23042F39'/%3E%3Cpath d='M18 25h14m0 0-7-7m7 7-7 7' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 50px;
    height: 50px;
    position: absolute;
    bottom:10px;
    right:10px;
    transition: all ease-in 150ms;

}


.cover-image-linkable:hover .wp-block-cover__image-background {
    transform: scale(1.05) rotate(-1deg);
}


.cover-image-linkable .wp-block-buttons .wp-block-button__link:hover .round {
    width: 74px;
    height: 74px;
  }

  .cover-image-linkable .wp-block-buttons .wp-block-button__link:hover .round .arrow{
transform: rotate(-45deg);  
}



/* Breadcrumb */

.yoast-breadcrumbs {
    max-width: none !important;
    position: absolute;
    bottom: 1rem;
    left: 0;
    color:#12252C;
  }

  .yoast-breadcrumbs > span{
    background-color: #ffffff;
    padding: 1rem 2rem;
    border-top-right-radius: 20px;
    position: relative;
}

.yoast-breadcrumbs a {
    color:var(--wp--preset--color--custom-dark-blue);
    font-weight: bold;
}

.yoast-breadcrumbs > span:before {
    content: "";
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    top: -20px;
    left: 0;
    position: absolute;
}
.yoast-breadcrumbs > span:after {
    content: "";
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    bottom: 0px;
    right: -20px;
    position: absolute;
}



/* Animation */
@keyframes levitate {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px); /* Adjust the height of levitation */
    }
    100% {
      transform: translateY(0);
    }
  }


  .levitate {
    animation: levitate 2s infinite ease-in-out; /* Adjust animation duration */
  }


  .cut-bottom-left {
    width: 50px!important;
    height: 50px!important;
    background: white;
    z-index: 10000;
    position: absolute;
    bottom: 0;
    border-top-right-radius: 20px;
  }

  .cut-bottom-left:before {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    top: -20px;
    display: block;
    left: 0;
  } 
  .cut-bottom-left:after {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    position: absolute;
    bottom: 0px;
    display: block;
    right: -20px;
  } 


  .cut-bottom-right {
    width: 50px!important;
    height: 50px!important;
    background: white;
    z-index: 10000;
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 20px;
  }

  .cut-bottom-right:before {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(-90deg);
    position: absolute;
    bottom: 0px;
    display: block;
    left: -20px;
  } 
  .cut-bottom-right:after {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(-90deg);
    position: absolute;
    top: -20px;
    display: block;
    right: 0px;
  } 


  /* Archive blog */




.category-blog {

}


body.archive ul.nav-category,
body.category ul.nav-category {
    display: flex;
    gap: 10px;
    list-style: none;
}


body.category .wp-block-post-featured-image:before,
body.post-type-archive-temoignage .wp-block-post-featured-image:before{
    content: "";
    width: 60px;
    height: 60px;
    background: white;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 20px;
    z-index: 100;
  }

  body.category .wp-block-post-featured-image:after,
  body.post-type-archive-temoignage .wp-block-post-featured-image:after {
    width: 20px;
    height: 20px;
    position: absolute;
    content: "";
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(-90deg);
    display: block;
    right: 60px;
  }

  body.category .wp-block-post-featured-image,
  body.post-type-archive-temoignage .wp-block-post-featured-image {
    position: relative;
  }
  body.category .wp-block-post-featured-image a:before,
  body.post-type-archive-temoignage .wp-block-post-featured-image a:before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='50' rx='25' fill='%23042F39'/%3E%3Cpath d='M18 25h14m0 0-7-7m7 7-7 7' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 50px;
    height: 50px;
    position: absolute;
    bottom:5px;
    right:5px;
    transition: all ease-in 150ms;
    content: "";
    z-index: 101;
  }


  body.category .wp-block-post-featured-image a,
  body.post-type-archive-temoignage .wp-block-post-featured-image a {
    position: relative;
  }

  body.category .wp-block-post-featured-image a:after,
  body.post-type-archive-temoignage .wp-block-post-featured-image a:after  {
    width: 20px;
    height: 20px;
    position: absolute;
    content: "";
    bottom: 60px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v20h20C8.953 20 0 11.047 0 0Z' fill='%23fff'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    transform: rotate(-90deg);
    display: block;
    right: 0;
}

body.category .wp-block-post-featured-image a:hover:before,
body.post-type-archive-temoignage .wp-block-post-featured-image a:hover:before  {
    transform: rotate(-45deg);
}

body.category .wp-block-categories-list {
    border-bottom:2px solid #f1f1f1;
    padding: 20px 4px 4px 4px;
    margin-bottom: 2rem;
}

body.category .wp-block-categories-list .current-cat:after {
    content:"";
    width: 100%;
    height: 2px;
    display: block;
    background-color: #075E72;
    position: absolute;
    left: 0;
    bottom: -6px;
}

body.category .wp-block-categories-list .cat-item.current-cat a {
    color:#075E72;
}

body.category .wp-block-categories-list .cat-item {
    position: relative;
    padding: 4px;
}

body.category .wp-block-categories-list .cat-item a {
    color:#12252C;
    font-weight: bold;
}


/* Contact form 7 */


.wpcf7-form .wp-block-columns{ gap:1rem; margin-bottom: 1rem; }


input.wpcf7-form-control, textarea.wpcf7-form-control { 
    padding: .75rem 1rem;
    border-radius: 3px;
    border: 1px solid #cacaca;;
    width: 100%;
}

.wpcf7-form label {
    
    color: var(--wp--preset--color--custom-Independence);
   
}

.wpcf7-form input.wpcf7-submit {
border-color:var(--wp--preset--color--custom-pelorous) !important;
background-color:var(--wp--preset--color--custom-pelorous) !important;
color:var(--wp--preset--color--custom-white) !important;
font-size: 1.2rem;

}


/* Liste check */


.liste-check {
    list-style: none;
  }
  .liste-check li:before {
    content:"";
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 1 6 12 1 7' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: bottom;
  }
  .liste-check li {
    display: flex;
    gap: 6px;
  }


  /* Navigation : changement du break point*/
@media (max-width: 1022px) {
footer .nav-footer {
    display:none;
}
}