html,#wrapper {
    scroll-behavior: smooth
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}


@media(max-width: 768px) {
    .owl-carousel img {
        width: 100%;
    }

    div#scene .fixedImg img {
        width: 50vw;
    }
    
    .fixedImg.rightSide {
        right: -30vw;
    }
    
    .fixedImg.leftSide {
        left: -35vw;
    }
}

@media(min-width: 768px) {
    .container {
        width:750px
    }

    .owl-carousel img {
        width: 100%;
    }

    div#scene .fixedImg img {
        width: 50vw;
    }
    
    .fixedImg.rightSide {
        right: -30vw;
    }
    
    .fixedImg.leftSide {
        left: -35vw;
    }
}

@media(min-width: 992px) {
    .container {
        width:970px
    }

    div#scene .fixedImg img {
        width: 50vw;
    }
    
    .fixedImg.rightSide {
        right: -30vw;
    }
    
    .fixedImg.leftSide {
        left: -35vw;
    }
}

@media(min-width: 1200px) {
    .container {
        width:1196px
    }

    div#scene .fixedImg img {
        width: 50vw;
    }
    
    .fixedImg.rightSide {
        right: -30vw;
    }
    
    .fixedImg.leftSide {
        left: -35vw;
    }
}


@media(min-width: 1400px) {
    div#scene .fixedImg img {
        width: auto;
    }
    
    .fixedImg.rightSide {
        right: -250px;
    }
    
    .fixedImg.leftSide {
        left: -300px;
    }
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

#section-artists .block a {
    position: relative
}

.page-about #section-intro h3 {
    font-size: 2.75rem;
    padding-top: 50px;
    margin-bottom: 100px;
    font-weight: 500
}

.tnp-field.tnp-field-email label {
}

.page-about #section-intro p {
    font-size: 2rem;
    margin-bottom: 50px;
    line-height:3.2rem;
    text-align:justify;
}

.page-about #section-intro h4 {
    display: table;
    font-size: 3.5625rem;
    color: #1fe6c3;
    background-color: #b241e0;
    padding: 26px 40px 16px;
    border-radius: 10px 25px;
    margin-bottom: 90px;
    margin-left: -100px
}

#section-map #map .artist-infos .title {
    font-size: 1.5rem;
    max-width: 225px
}

.col-medias .title a:last-child {
    color: #252e59
}

@media only screen and (max-width: 800px) {
    html {
        font-size:40%!important
    }

    #navigation .mega-menu .right .download-container .buttons a {
        display: inline-block;
        height: auto;
        float: left;
        width: 50%;
        margin: 0 !important;
    }

    body, body.home.page-template.page-template-templates.page-template-template-homepage.page-template-templatestemplate-homepage-php {
        background-size: 100%;
        background-position: 0% 0%;
        /* background-repeat: repeat; */
        /*background-image: url(https://2025.jidar.ma/wp-content/themes/jidar-child/assets/images/bg-jidar-2.webp);*/
    }

    .page-artist #section-artist .header .title{
        display : none;    
    }
    
    .page-artist #section-artist {
      margin-top: 10px;
      margin-bottom: 30px;
    }
  
    .page-artist #section-artist .header .left {
        display: none;
    }

    .page-artist #section-artist .header .right {
        max-width: 100%;
    }

    div#section-slider.desktop {
        display: none;
    }

    div#section-slider.mobile {
        display: block !important;
    }

    #navigation .mega-menu .left .menu-logo img {
        height: 30vh;
    }

    #navigation .mega-menu .left {
        padding: 115px 25px 47px
    }

    #navigation .mega-menu .left .medias a:not(:last-child) {
        margin-right: 5px
    }

    #navigation .medias {
        margin-top: 12px
    }

    #navigation .mega-menu .right {
        padding: 40px 45px 50px
    }

    #navigation .mega-menu .right .menu a {
        margin: 10px 0
    }

    #navigation .mega-menu .right .download-container .buttons .btn:not(:last-child) {
        margin-right: 20px
    }

    #navigation .mega-menu .right .download-container .buttons .btn img {
        height: 34px
    }

    #navigation .burger-menu {
        width: 43px;
        height: 43px
    }

    #section-download .content {
        padding: 40px 30px
    }

    #section-download .right img {
        height: 120px;
        width: auto
    }

    #navigation.inner-page .logo,#navigation.is-scroll .logo {
        height: 55px
    }

    #section-download .left .buttons {
        margin-top: 10px
    }

    #section-program .items-4>.item {
        width: 33%
    }

    #section-program .section-title {
        font-size: 8rem;
        margin-top: 100px;
        margin-bottom: 65px
    }

    #section-map .items .item {
        width: 25%
    }

    #section-map .items .item {
        width: 25%
    }
/* 
    #section-artists .block:nth-child(7n+5) {
        justify-content: center;
        width: 53%;
        min-height: 146px!important;
        margin-left: 2%;
        margin-top: 90px;
        border-radius: 40px 16px 118px 40px;
        padding: 14px 15px
    }

    #section-artists .block:nth-child(7n+7) {
        width: 38%;
        min-height: 180px!important;
        margin-left: 11%;
        margin-top: -174px;
        border-radius: 40px 14px 117px 14px
    }

    #section-artists .block:nth-child(7n+3) {
        width: 24%;
        min-height: 380px;
        margin-left: 8%;
        padding: 40px 30px;
        margin-top: -71px;
        border-radius: 40px 15px 100px 15px
    }

    #section-artists .block:nth-child(7n+2) {
        width: 52%;
        min-height: 310px;
        margin-left: 48%;
        margin-top: -150px;
        border-radius: 40px 15px 110px 40px;
        justify-content: center
    }

    #section-artists .block:nth-child(7n+4) {
        width: 46%;
        min-height: 235px;
        margin-left: 45%;
        margin-top: -219px;
        border-radius: 15px 40px 40px 163px
    }

    #section-artists .block:nth-child(7n+6) {
        width: 33%;
        min-height: 350px;
        margin-left: 63%;
        margin-top: -65px;
        border-radius: 14px 24px 40px 163px
    }
 */
    #section-artists .block {
        position: relative;
        display: flex;
        flex-direction: column;
        /* border: 4px solid #5d32e7; */
        text-transform: uppercase;
        /* padding: 30px; */
    }

    #navigation .mega-menu .right .menu {
        font-size: 2.7125rem
    }

    #section-partners .partners .title {
        min-width: auto;
        margin-right: 40px;
        font-size: 5rem;
        margin-bottom: 50px;
    }

    #page-footer .col-newsletter {
        padding: 0;
        max-width: 100%;
    }

    .home #section-program .wall-row .wall-left .items-indent,.home #section-program .items.items-indent.jidar-talks {
        width: 100%
    }

    #page-footer .col-logo img {
        height: 100px;
        max-height: 100px;
    }

    #section-about .left .content {
        position: relative;
        padding-left: 0
    }

    #section-about {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0px 0 70px 0;
    }

    #section-partners {
        /* background-color: #fdfaf2; */
        padding: 0;
        margin-top: 0;
    }

    #page-footer .col-medias .medias a:not(:last-child) {
        margin-right: 5px
    }

    #section-about .right .animation-container .part-1 {
        top: -1%;
        left: 25%;
        width: 12%
    }

    #section-about .right .animation-container .part-2 {
        position: absolute;
        top: 32%;
        left: 45%;
        width: 30%
    }

    #section-about .right .animation-container .part-3 {
        position: absolute;
        top: 56%;
        left: 0;
        width: 30%
    }

    #section-about .right .animation-container .part-4 {
        position: absolute;
        top: 79%;
        left: 35%;
        width: 21%
    }

    #section-about .right .animation-container .part-full {
        width: 30%
    }

    #section-download .left .buttons {
        margin-top: 10px
    }

    #section-program .items-4>.item {
        width: 100%;
        margin-bottom: 40px;
    }

    #section-program .section-title {
        font-size: 7rem;
        margin-top: 50px;
        margin-bottom: 60px;
        text-align: center;
    }

    #section-map .items .item {
        width: 25%
    }

    #section-map .items .item {
        width: 50%;
    }
}

@media(max-width: 600px) {
    #section-slider .slider-container {
        height:45vh
    }

    #section-slider .slider-container .slider .owl-dots {
        margin-top: 20px
    }

    #navigation .medias {
        display: none
    }

    #section-artists .section-title {
        margin-top: 30px;
        font-size: 9rem;
        margin-bottom: 30px
    }

    body #section-artists .block {
        width: 100%!important;
        margin: 0 0 30px!important;
        min-height: 230px!important;
        height: auto;
        aspect-ratio: 1/1;
    }

    #section-artists .block .bg {
        opacity: 1;
        /* background-size: 170%; */
        background-position: center center!important
    }

/*     body #section-artists .block.block-3 {
        border-radius: 40px 15px 98px 15px!important;
        min-height: 190px!important
    } */

    #navigation .logo {
        margin-top: 10px;
        height: 55px;
    }

    #section-download .row>div {
        width: 100%;
        display: block;
        padding: 0
    }

    #section-download .row {
        display: block
    }

    #section-download .left .buttons .btn img {
        width: 100%;
        height: auto;
        margin-bottom: 40px
    }

    #section-download .right img {
        width: 90%;
        height: auto;
        margin: 0 auto;
        display: block
    }

    #section-download .left .title {
        font-size: 4.2rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 5.8rem;
    }

    #section-program .wall-row>div {
        width: 100%!important
    }

    #section-program .wall-row {
        flex-direction: column
    }

    #section-program .banner-title .subtitle {
        margin-left: -50px;
        font-size: 2rem;
        letter-spacing: 1px;
    }

    #section-about .section-title {
        font-size: 5.5rem;
        margin-bottom: 30px;
        line-height: 6rem;
    }

    #section-about .left {
        width: 100%
    }

    #section-about .right {
        top: 0;
        opacity: .5
    }

    #section-about .left .title {
        display: none
    }

    #section-about .left .description {
        font-size: 2.5rem;
        line-height: 3rem;
        text-align: justify;
    }

    #mapBox {
        width: 100%;
        height: 50vh;
        margin-bottom: 0;
        /* border: 10px solid #5d32e7; */
    }

    #section-partners .section-title {
        font-size: 8rem;
        margin-bottom: 20px;
    }

    #section-partners .container {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    #page-footer .col-logo {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0 0 50px;
        text-align: center
    }

    #page-footer .row {
        margin: 0;
        display: block
    }

    #page-footer #back-to-top {
        display: none
    }

    #page-footer .col-medias {
        text-align: center;
        margin-bottom: 60px;
        padding: 0 0px;
        font-size: 2rem;
    }

    #page-footer .col-medias .medias {
        margin: 25px auto;
        justify-content: center
    }

    body .tnp-widget .tnp-field {
        width: 100%
    }

    #page-footer form .tnp-field.tnp-field-button input {
        font-size: 2.5rem
    }

    #page-footer .col-newsletter .agency {
        bottom: 0;
        right: -10px;
    }

    #section-artists .block .title {
        /* color: #fff; */
        font-size: 5rem!important;
        line-height: 4.5rem;
        text-shadow: 0 0 20px #00000057;
        width: 50%;
        display: table-caption;
    }

    #section-artists .block a {
        padding: 20px;
    }

    #section-artists .block .subtitle {
        font-size: 2.5rem!important;
        /* color: #fff; */
        margin-top: 5px;
    }

    #navigation.is-open .mega-menu>div {
        width: 100%;
        display: block;
        padding: 55px 25px
    }

    #navigation .mega-menu {
        display: block
    }

    #navigation.is-open .mega-menu .medias {
        display: flex;
        text-align: center;
        justify-content: center;
        margin: 50px 0 0
    }

    #navigation.is-open .mega-menu>div {
        width: 100%;
        display: block;
        padding: 55px 25px
    }

    #navigation .mega-menu {
        display: block
    }

    #navigation.is-open .mega-menu .medias {
        display: flex !important;
        text-align: center;
        justify-content: center;
        margin: 50px 0 0
    }

    .download-container {
        margin-top: 30px
    }

    .download-container h2.title {
        font-size: 2.4rem!important
    }

    .download-container .buttons {
        width: 100%
    }

    .download-container .buttons a.btn {
        width: 50%;
        display: inline-block
    }

    .download-container .buttons a.btn img {
        height: auto!important;
        width: 100%
    }

    
    #navigation .mega-menu .medias.desktop {
        display: none !important;
    }

/* 
    #section-artists .block:nth-child(7n+1)::after {
        background-size: auto 140px;
        background-position: top right
    }

    #section-artists .block:nth-child(7n+2)::after {
        background-position: calc(100%) calc(100% + 1px);
        background-size: auto 130px;
    }

    #section-artists .block:nth-child(7n+3)::after {
        background-position: calc(100% + 1px) calc(100% + 1px);
        background-size: 160px auto;
    }

    #section-artists .block:nth-child(7n+4)::after {
        background-position: calc(100% + 1px) 0px;
        background-size: 80px auto;
    }

    body #section-artists .block.block-4 {
        border-radius: 15px 30px 40px 163px
    }

    #section-artists .block:nth-child(7n+5)::after {
        background-position: 100% 110%;
        background-size: 40%;
    }

    body #section-artists .block.block-5 {
        border-radius: 40px 16px 75px 40px;
    }

    #section-artists .block:nth-child(7n+6)::after {
        background-position: calc(100% + 1px) 0;
        background-size: auto 150px;
    }

    #section-artists .block:nth-child(7n+7)::after {
        background-position: calc(100%) calc(100% + 1px);
        background-size: 100px auto
    }
    body #section-artists .block.block-7 {
        border-radius: 40px 14px 70px 14px
    }

    body #section-artists .block.block-1 {
        min-height: 150px!important
    } */

    #navigation .date {
        font-size: 2.5rem;
        margin-top: -20px;
        margin-bottom: 20px
    }

    #navigation .container>.date {
        top: 90%;
        left: 80px;
        line-height: 3rem;
    }

    #page-header .title {
        font-size: 7rem;
    }

    .page-about #section-intro .content .medias {
        flex-direction: row;
        position: relative;
        display: flex;
    }

    .page-about #section-intro .content .medias a {
        display: inline-block;
        float: left;
        margin-bottom: 30px;
    }

    .section-about {
        padding-left: 0;
        font-size: 2rem;
        line-height: 3.2rem;
    }

    .page-about #section-intro .section-title {
        margin-bottom: 30px;
        font-size: 5rem;
    }

    .page-about #section-intro {
        margin: 22rem 0 10rem 0;
    }

    .page-about #section-intro p img {
        width: 100%;
    }

    .page-about #section-intro p {
        margin-bottom: 10px;
    }

    .page-map #section-map-container {
        padding: 60px 0;
    }

    .page-map #section-map-container .map-container .arrows {
        top: -100px;
        right: 0;
    }

    .single-carte div#section-map > .container {
        width: 100%;
    }

    #page-header .container {
        aspect-ratio: 640/117;
        padding: 15% 4.6% 0 4.6%;
        height: auto;
    }
    
    #page-header .breadcrumb>*:not(:last-child)::after {
        width: 5px;
        height: 5px;
        right: -10px;
    }
    
    #page-header .breadcrumb>*:not(:last-child) {
        margin-right: 15px;
    }
    
    #page-header .breadcrumb {
        display: none;
    }
  
    .page-artists #section-artists {
        margin-top: 100px !important;
    }

    .page-artists #section-artists .section-title {
        margin: 0 0 15%;
    }

    #page-header {
        margin-top: 0%;
    }

    .page-map #section-map-container .map-container .arrows .arrow {
        display: inline-block;
        width: 40px;
        height: 40px;
        float: right;
        margin: 0 10px;
    }

    #section-partners .partners {
        display: flex;
        flex-direction: column;
        /* margin-bottom: 60px !important; */
    }

    #page-header .title {
        font-size: 7rem;
    }

    #section-about .left .link {
        font-size: 2.5rem;
    }

    #section-program .item .title {
        font-size: 3.5rem;
        line-height: 3.6rem;
        margin-bottom: 0.5rem;
    }

    #section-program .item .subtitle {
        font-size: 2rem;
    }

    #section-program .item .btn {
        font-size: 2.5rem;
    }

    #section-map .items .item .title {
        font-size: 3rem;
        min-height: 45px;
    }

    #section-map .items .item .subtitle {
        font-size: 2.5rem;
    }

    #navigation .container> .logoMenu {
        text-align: right;
        width: 91%;
    }

    .page-artists #section-artists, #section-map-container, #section-program, #section-about {
        margin-top: 0;
    }

    #section-program .banner-title.center{
        margin: 0 0 0 0;
    }

    #section-download {
        margin-bottom: 10px;
        margin-top: 40px;
    }

    .home #section-map .section-title {
        margin: 0 auto 60px;
    }
    
    .iconStore {
        width: auto;
        /* margin-bottom: 2rem; */
        display: block;
        height: 100%;
        min-width: auto;
        margin: 0;
    }

    #section-download.edition25 .container.appMobileContainer .col-md-5.third-div .buttons a {
        display: inline-block;
        margin: 0 3rem 0 0;
        width: 25%;
    }

    #section-program .banner-title.center .title {
        font-size: 3.2rem;
    }

    .page-programming #section-program .items-container .text {
        font-size: 2rem;
        line-height: 2;
    }

    .page-programming #section-program .items-container .text h4 {
        font-size: 3.7rem;
        line-height: 4.5rem;
        margin-bottom: 20px;
    }

    .page-press #section-press-downloads {
        padding: 0;
    }

    .page-press #section-press-downloads .item {
        margin-bottom: 20%;
    }

    .slider-container-old.container {
        padding-top: 22rem;
    }

    .rellax {
        display: none;
    }

    #section-download .row>div.col-md-5.second-div {
        max-width: 100%;
    }
    
    #section-download .row>div.col-md-5.third-div {
        clear: both;
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    #section-download .container.appMobileContainer > .row {
        display: block;
    }
    
    #section-download .row>div.col-md-2.first-div {
        aspect-ratio: auto;
        /* width: 20%; */
        padding: 2rem;
        text-align: center;
    }
    
    #section-download .row>div.col-md-2.first-div img {
        width: 40%;
    }
    
    .container.appMobileContainer .col-md-5.third-div .buttons a {
        display: inline-block;
        margin: 2rem 2rem 0 2rem;
    }

    #section-program div>.wall-row:last-child .wall-left .items-indent {
        width: calc(100% - 0px);
    }

    #section-program div>.wall-row:last-child .wall-left, #section-program .wall-row .wall-right {
        width: 100%;
        margin-right: 0;
        padding-left: 0;
    }

    /* #section-program div>.wall-row:last-child .wall-left .items {
        background-image: url(https://2025.jidar.ma/wp-content/themes/jidar-child/assets/images/bg_programme_home-4.webp);
        background-size: 140%;
    } */

    #section-program .items {
        padding: 25px 25px 0px;
    }

    #section-program .wall-right .items-dark {
        background-size: 110%;
    }

    #section-program .wall-row .wall-right {
        margin-top: 7.5rem;
    }
    
    #section-program .wall-row {
        margin-top: 7.5rem;
    }

    #section-program .items-dark {
        background-size: 150%;
    }
        
    .desktop{
        display: none !important;
    }

    .mobile{
        display: block !important;
    }

    #section-partners .partners .images img {
        mix-blend-mode: initial;
    }

    #affiches {
        width: 100%;
    }

    #affiches .portrait_affiches {
        gap: 2rem;
    }
}

@media (min-width: 768px) and (max-width:1024px) {
    #section-slider .slider-container {
        height: 60vh;
    }

    #section-artists .section-title {
        margin-top: 40px;
    }

    #section-program .items-4>.item {
        width: calc(100% / 3) !important;
        margin-bottom: 40px;
    }

    #section-map .items .item {
        width: calc(100% / 3);
    }

    #section-about .left .description, #section-about .left .link {
        padding-left: 70px;
    }

    #section-about .left .description {
        font-size: 2rem;
        line-height: 2.5rem;
        text-align: justify;
    }
    
    #page-footer .col-logo img {
        height: 100px;
        margin:0 0 0 0;
    }

    #page-footer .col-logo img:first-child {
        margin-right: 30px;
    }

    #page-footer .col-medias .medias a {
        width: 20px !important;
        height: 15px;
    }

    .owl-carousel .owl-stage-outer {
        margin-bottom: 20px;
    }

    .page-artist #section-artist .header .title {
        margin-bottom: 20px;
    }

    .page-artists #section-artists, #section-map-container, #section-program, #section-about {
        margin-top: 0;
    }

    #section-program .banner-title.center, #section-download, #section-program .section-title{
        margin: 0 0 0 0;
    }

    .home #section-map .section-title {
        margin: 0 auto 60px;
    }
    
    .iconStore {
        width: auto;
        margin-bottom: 30px;
    }

    #section-program .banner-title.center .title {
        font-size: 3.2rem;
    }
}