/*
Theme Name: Avada Child
Template: Avada
Version: 1.0
Author:	ICC
Theme URI: 
Author URI: 
*/

.btn-cta {
    display: block;
    background: #FE6C35 0% 0% no-repeat padding-box;
    border-radius: 50px;
    opacity: 1;
    padding: 15px 41px;
    width: fit-content;
    cursor: pointer;
    color: white!important;
    text-decoration: none!important;
    text-align: center;
    font: normal normal 600 15px/19px Montserrat!important;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.btn-cta:hover {
    background: #FF936A 0% 0% no-repeat padding-box;
}


/**** Header *****/
.mega-header {
    background: transparent linear-gradient(90deg, #643692 0%, #2C1A3B 100%) 0% 0% no-repeat padding-box;    
}

.mega-header:after {
    content: "";
    background-image: url(/blog/wp-content/uploads/2022/06/Groupe-de-masques-2.png);
    background-repeat: no-repeat;
    background-position: top 0 left 0;
    background-size: 100%;
}

.page-title-image {
    width: 70%;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 0;
}    
    
/***** fin Header ***/    
    
/**** Articles *****/
.post-content .fusion-button.button-1 {
    background: #FE6C35!important;
    text-decoration: none!important;
}

.post-content .fusion-button.button-1:hover {
    background: #FF936A!important;
    color: white!important;
    border-color: #FF936A!important;
}

.post-content .fusion-button.button-1 span,
.post-content .fusion-button.button-1 span:hover{
    color: white!important;
}

/************* Home ***************/
.home.page #main {
    margin: 0!important;
    max-width: 100%;
}

.home .block-page-title {
    padding-top: 156px;
    position: relative;
}

.home .block-page-title h1 {
    margin-bottom: 70px!important;
    font: normal normal bold 60px/73px Montserrat!important;
}

.home .block-page-title .title-content {
    text-align: left;
    font: normal normal normal 20px/38px Montserrat!important;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

.home .block-title-content {
    width: 60%;
    max-width: 708px;
}

.home .block-page-title .btn-cta {
    margin-top: 44px;
    margin-bottom: 385px;
}

.home-block-full-widget {
    margin: 245px 255px 0!important;
}

/*** Bloc nos derniers articles ***/
.master-block-latest-articles{
    margin-top: -200px;
    margin-right: 186px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    opacity: 1;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    display: flow-root;
    border-top-right-radius: 10px;    
}

.block_latest_articles  .slick-track{
    display: flex;
    flex-wrap: wrap;
}

.block_latest_articles .slick-slide {
    height: auto;
}

.block_latest_articles {
    margin: 74px 67px 0 255px
}
.home .block_latest_articles {
    max-width: 1100px;
    margin: 70px auto 0;
    padding: 0 20px;
}


.block_latest_articles .slick-next, .block_latest_articles .slick-prev {
    top: -77px;
}

.block_latest_articles .slick-next {
    background-color: transparent;
}
/*** fin Bloc nos derniers articles ***/

/*** Bloc nos différentes catégories ***/
.block-home-cats {
    background: #2C1A3B 0% 0% no-repeat padding-box;
    opacity: 1;
    padding: 187px 255px;
    margin-bottom: 200px;
    margin-top: 15px;
}

.block-home-cats h2 {
    color: white!important;
}

.home-cats {
    margin: 100px auto 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 1410px;
}

.box-cat {
    background-color: white;
    border-radius: 10px;
    margin-right: 30px;
    width: calc(25% - 30px);
    text-align: center;
    padding: 52px 10px;
}

.box-cat.impair {
    margin-top: 40px;
}

.box-cat.pair {
    margin-bottom: 40px;
}

.box-cat a {
    text-decoration: none!important;
    max-width: 230px;
}

.box-cat-title {
    font: normal normal 600 23px/29px Montserrat!important;
    letter-spacing: 0px;
    color: #2C1A3B;
    opacity: 1;
    margin-top: 30px;
}

.carousel__navigation-list {
    text-align: center;
    margin: auto;
}

.carousel__navigation-item {
    float: left;
    margin: 35px 7px 80px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #FFFFFF;
    color: transparent;
}

.carousel__navigation-list .selected{
    background: #FFFFFF80 0% 0% no-repeat padding-box;
}

/*** Fin Bloc nos différentes catégories ***/


/*** Bloc home widget ***/
.block-home-widget {
    margin: 0 255px ;
    display: flex;
    background-repeat: no-repeat;
    background-position: top 0 left 0;
    background-size: cover;
    border-radius: 10px!important;
}

.block-home-widget-bck {
    background: transparent linear-gradient(90deg, #64369200 0%, #321B49 100%) 0% 0% no-repeat padding-box;
    width: 100%;
    border-radius: 10px;
}

.home-widget-content {
    max-width: 450px;
    margin: 153px 0 168px;
    margin-left: calc(100% - 450px - 120px);
}

.home-widget-content h3 {
    color: white;
}
        
.home-widget-content div {
    color: white;
    margin-bottom: 50px;
}

/*** Fin Bloc home widget ***/


/*** Bloc articles les plus vus ***/


.home .master-block_most_viewed {
    background-image: url(/blog/wp-content/themes/Avada-Child-Theme/images/cercle.png);
    background-position: top 20% left 4%;
    background-repeat: no-repeat;
    padding-top: 200px;
    background-size: 33%;
}

.home .block_most_viewed {
    margin: 0 255px 500px 255px;
}

/*** fin Bloc articles les plus vus ***/


@media screen and (max-width: 800px) {

    .highlight span::before{
        height: 25%!important;
    }
    
    .home .block-title-content{
        width: 100%
    }
   
    .home .block-page-title{
        padding-top: 40px;
        height: auto;
    }
    
    .home .block-page-title h1 {
        font: normal normal bold 32px/40px Montserrat!important;
        margin-bottom: 40px!important;
    }
    
    .home .block-page-title .btn-cta {
        background: transparent;
        border: solid;
        margin-bottom: 0;
    }

    .home .block-page-title .page-title-image {
            display: block;
        width: 100%;
        margin: 0;
        position: relative;
    }

    .home .master-block-latest-articles {
        margin-right: 0!important;
        margin-top: -40px;
        margin-bottom: 150px;
        padding-top: 45px;       
    }
    
    .home .block_latest_articles {
        margin: 0 15px;    
    }
    
    .home .block-full-widget img {
        display: none;
    }
    
    .block-home-widget {
        margin: 0;
    }
    
    .home-widget-content {
        margin: 407px 15px 65px;
    }

    .home-widget-content h3 {
        font: normal normal bold 30px/37px Montserrat!important;
    }
    
    .home-widget-content .btn-cta{
        width: 100%;
    }
    
    .block-home-widget-bck, .block-home-widget{
        border-radius: 0!important;
            background-position: center;
    }
    
    .home .master-block_most_viewed {
        padding-top: 55px;
    }
    
    .home .block_most_viewed {
        margin: 0 0 100px;
    }

    .home .block_most_viewed h2 {
        font: normal normal bold 27px/33px Montserrat!important;
    }
    
    .block-home-cats {
        padding: 80px 15px 0!important;
        text-align: center;
    }
    
    .block-home-cats h2 {
        font: normal normal bold 27px/33px Montserrat!important;
    }
    
    .home-cats {
        margin-top: 70px;
    }
    
    .box-cat.impair,
    .box-cat.pair {
        margin: 0;
        width: 100%;
        height: 325px;
    }
}










@media screen and (max-width: 800px) {
    .slider {
        height: 375px!important;
        position: relative;
        overflow: hidden;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row nowrap;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
            -ms-flex-align: end;
                align-items: flex-end;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .slider__nav {
        width: 12px;
        height: 12px;
        margin: 2rem 12px;
        border-radius: 50%;
        border: 2px solid #FFFFFF;
          background: transparent;
        z-index: 10;
        outline: 6px solid #ccc;
        outline-offset: -6px;
        box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
        cursor: pointer;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        -webkit-backface-visibility: hidden;
                backface-visibility: hidden;

    }
    .slider__nav:checked {
        -webkit-animation: check 0.4s linear forwards;
                animation: check 0.4s linear forwards;
        background: #FFFFFF80 0% 0% no-repeat padding-box;
    }

    .slider__nav:checked:nth-of-type(1) ~ .slider__inner {
      left: 0%;
    }
    .slider__nav:checked:nth-of-type(2) ~ .slider__inner {
      left: -100%;
    }
    .slider__nav:checked:nth-of-type(3) ~ .slider__inner {
      left: -200%;
    }
    .slider__nav:checked:nth-of-type(4) ~ .slider__inner {
      left: -300%;
    }
	.ressource-cats .slider__nav:checked:nth-of-type(5) ~ .slider__inner {
      left: -400%;
    }

    .slider__inner {
      position: absolute;
      top: 0;
      left: 0;
      width: 400%;
      -webkit-transition: left 0.4s;
      transition: left 0.4s;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-flex-flow: row nowrap;
          -ms-flex-flow: row nowrap;
              flex-flow: row nowrap;
    }
	
	.ressource-cats .slider__inner {
        width: 500%;
    }
    
    .slider__contents {
      height: 100%;
      margin-right: 0;
      padding: 2rem;
      text-align: center;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-flex: 1;
      -webkit-flex: 1;
          -ms-flex: 1;
              flex: 1;
      -webkit-flex-flow: column nowrap;
          -ms-flex-flow: column nowrap;
              flex-flow: column nowrap;
      -webkit-box-align: center;
      -webkit-align-items: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: center;
      -webkit-justify-content: center;
          -ms-flex-pack: center;
              justify-content: center;
    }

    @-webkit-keyframes check {
      50% {
        outline-color: #333;
        box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
      }
      100% {
        outline-color: #333;
        box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
      }
    }

    @keyframes check {
      50% {
        outline-color: #333;
        box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
      }
      100% {
        outline-color: #333;
        box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
      }
    }
}

/********* Ancienne page *************/
body.has-sidebar .old-page-sidebar #content {
    width: calc(100% - 450px - 70px)!important;
}

.page #main.old-page {
    margin-top: 70px!important;
}