<?php $pluginDirUrlSol =plugin_dir_url(__FILE__ );

?>#post-4674 h1 {
    font-family: 'Asap', sans-serif !important;
    color: #0d532b;
}

#post-4674 {
    font-family: 'Catamaran', sans-serif !important;
    font-weight: 400;
}

.box-titre h1 {
    font-family: 'Asap', sans-serif;
    color: #0d532b;
    font-weight: 700;
    font-size: 30px;
}

h2 {
    margin-bottom: 10px !important;
}

.box-titre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

p,
ol {
    padding-bottom: 0px !important;
}

ul li:last-child {
    padding-bottom: 0px !important;

}

li {
    padding-bottom: 10px !important;
}

a {
    cursor: pointer;
}

#intro {
    background: #ECE8E0;
    color: black;
    font-size: 16px;
    padding: 25px 35px;
    margin-bottom: 40px;
    border-radius: 25px;
}

#arbre-content {
    margin-bottom: 40px;
    width: 100%;
    padding: 0 35px;
}

#arbre-content h2 {
    color: #FFF;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #669356;
}

#arbre-content .resultText {
    border: 2px solid #9FBF44;
    background: #fff;
    color: #000;
    border-radius: 15px;
    text-align: center;
    overflow: hidden
}

#arbre-content .resultText h2 {
    font-size: 26px;
    background: #9FBF44;
    color: #FFF;
    text-transform: uppercase;
    border-bottom: 0;
    padding: 15px 0px;
}

#arbre-content .bloc-result {
    font-size: 14px;
    padding: 0 15px;
    max-width: 500px;
    margin: auto;
}

#arbre-content .bloc-result ul {
    text-align: left;
    padding-bottom: 0 !important
}

#arbre-content .subtext {
    text-align: center;
}

#arbre-content .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    margin: auto;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
}

#arbre-content .link-group {
    text-align: left;
    margin-top: 35px;
    margin-bottom: 35px;
    font-style: italic;
}

#arbre-content .link-group p {
    margin-bottom: 5px;
    margin-top: 5px;
}

#arbre-content .button-group img {
    max-width: 70px;
    font-size: 9px;
}

#arbre-content button {
    font-size: 13px;
    font-weight: bold;
    max-width: 200px;
    min-height: 60px;
    margin: auto 10px;
    border: 0;
    border-radius: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: #669356;
    cursor: pointer
}

.button-video {
    min-height: 0px !important;
    min-width: 0px !important;
    border-radius: 0px !important;
}

#arbre-content button ul {
    text-align: left;
}

#arbre-content button ul li {
    padding-bottom: 0 !important;
}

#arbre-content button.active {
    color: #669356;
    background-color: #fff;
}

#container-tree-sol {
    display: none;
}

#container-tree-sol,
#container-menu {
    color: white;
    background: #0d532b;
    padding: 25px 35px;
    margin-bottom: 30px;
    border-radius: 25px;
    align-items: center;
}

#container-tree-sol {
    padding: 25px 0;
}

#container-menu p {
    text-align: center;
}

.container-choice {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.content-diag-sol {
    font-size: 16px
}

.content-diag-sol h2 {
    color: white;
    text-align: center;
    line-height: 1.4em;
    padding: 0 35px
}

.container-choice h2 {
    font-size: 16px;
    color: white;
    font-weight: 600;
    text-align: center;
    line-height: 1.3em;
}

.container-choice div {
    padding: 20px;
    border-radius: 16px;
    width: 300px;
    min-height: 280px;
    cursor: pointer
}

.container-choice a {
    color: white;
}

.container-choice div:nth-child(1) {
    background-color: #669356;
}

.container-choice div:nth-child(2) {
    background-color: #9FBF44;
}

.container-choice div:nth-child(3) {
    background-color: #C6CE00;
}

.container-choice ol,
.content-diag-sol ol {
    counter-reset: section;
    padding-left: 0;
}

.container-choice li {
    counter-increment: section;
    list-style: none;
    padding: 10px;
    margin: 5px 0;
    position: relative;
    font-size: 16px;
}

.content-diag-sol li,
.accordion-content li {
    counter-increment: section;
    list-style: none;
    padding: 5px 0px;
    margin: 5px 0;
    position: relative;
    font-size: 16px;
}


.container-choice li::before {
    content: counter(section);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    /* Taille du cercle */
    height: 25px;
    /* Taille du cercle */
    border-radius: 50%;
    /* Pour créer un cercle */
    color: white;
    /* Couleur du texte (numéro) */
    left: -25px;
}

#block-arbre,
#block-guide {
    text-align: center
}

.container-choice img {
    margin: auto;
    height: 200px;
    width: 200px;
    object-fit: contain
}

.content-diag-sol .num {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    /* Taille du cercle */
    border-radius: 50%;
    /* Pour créer un cercle */
    color: white;
    /* Couleur du texte (numéro) */
    border: 2px solid;
}

.content-diag-sol .title-diag {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    width: 75%;
    max-width: 400px;
}

.content-diag-sol .title-diag p {
    font-family: 'Asap', sans-serif !important;
    max-width: 400px !important;
    width: 100% !important;
    text-align: center;
}


.container-choice li:nth-child(1)::before {
    background-color: #1C3144;
    border: 2px solid white;

}

.content-diag-sol .diag-1 .num {
    background-color: #1C3144;
    border: 4px solid white;
    font-size: 30px;
    font-weight: 700;
}

.container-choice li:nth-child(2)::before {
    background-color: #9d3626;
    border: 2px solid white;
}

.content-diag-sol .diag-2 .num {
    background-color: #9d3626;
    border: 4px solid white;
    font-size: 30px;
    font-weight: 700;
}

.container-choice li:nth-child(3)::before {
    background-color: #f8c445;
    border: 2px solid white;
}

.content-diag-sol .diag-3 .num {
    background-color: #f8c445;
    border: 4px solid white;
    color: #1C3144;
    font-size: 30px;
    font-weight: 700;
}

.content-diag-sol .diag-3 {
    color: #1C3144;
}

.container-choice li:nth-child(4)::before {
    background-color: #9FBF44;
    border: 2px solid white;
}


.content-diag-sol .diag-4 .num {
    background-color: #9FBF44;
    border: 4px solid white;
    color: #1C3144;
    font-size: 30px;
    font-weight: 700;
}


.content-diag-sol .diag-4 {
    color: #1C3144;
}


.content-diag-sol ol {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-diag-sol .diag-1 p {
    background-color: #1C3144;
    width: fit-content;
    padding: 10px 40px !important;
    border: 4px solid white;
    font-size: 20px;
    font-weight: 700;
}

.content-diag-sol .diag-2 p {
    background-color: #9d3626;
    width: fit-content;
    padding: 10px 40px !important;
    border: 4px solid white;
    font-size: 20px;
    font-weight: 700;
}

.content-diag-sol .diag-3 p {
    background-color: #f8c445;
    width: fit-content;
    padding: 10px 40px !important;
    border: 4px solid white;
    font-size: 20px;
    font-weight: 700;
}

.content-diag-sol .diag-4 p {
    background-color: #9FBF44;
    width: fit-content;
    padding: 10px 40px !important;
    border: 4px solid white;
    font-size: 20px;
    font-weight: 700;
}

.content-diag-sol {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-diag-sol li div {
    width: 300px !important;
    text-align: center;
    border-radius: 5px;
}

.content-diag-sol li div p {
    font-weight: 600;
}

.dev-content {
    position: relative;
    background-color: #669356;
    text-align: left;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 40px;
    margin-top: 10px;
    margin-left: 35px;
    margin-right: 35px;
}

.content-diag-sol .warning {
    font-style: italic;
    padding-left: 30px;
}

.content-diag-sol .warning::before {
    content: '';
    position: absolute;
    width: 24px;
    /* Largeur de l'image */
    height: 20px;
    /* Hauteur de l'image */
    background-image: url('https://test.pineapple-squad.com/wp-content/plugins/arbre-decision-gestion-de-la-structuration-du-sol/includes/img/warning-icon.png');
    /* URL de l'image */
    background-size: cover;
    /* Assure que l'image couvre toute la zone */
    left: 10px;
}

.content-diag-sol .underline,
.underline {
    text-decoration: underline;
}

.content-diag-sol .num {
    position: absolute;
    left: -25px;
}

.sol-info-container {
    display: flex;
    gap: 10px;
}

.sol-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sol-info-container .sol-info {
    margin: 15px auto;
}

.accordion-content {
    font-size: 16px
}

.dev-content li::before,
.accordion-content li::before {
    content: ">";
    color: #9fbf44;
    padding-right: 10px;
    width: 30px;
    font-size: 20px;
    font-weight: bold;
}

.dev-content ul {
    padding: 0px !important;
}

.icon-infos-diag {
    max-width: 25px;
    width: 25px;
}

.box-img-diag {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 20px;
    align-items: center;
    padding: 15px 0px;
}

.img-detail {
    display: block;
}

.choices {
    display: flex;
    gap: 20px;
}

.block-diag,
.block-arbre {
    text-align: center
}

.choices div:nth-child(1) {
    background-color: #9FBF44;
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    height: 280px;
    text-align: center;
}

.choices div:nth-child(2) {
    background-color: #C6CE00;
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    height: 280px;
    text-align: center;
}

.choices h2 {
    margin: 0px !important;
    padding: 0px;
}


/***GUIDE ARBRE***/
.content-guide h2 {
    font-size: 22px;
    color: #0d532b;
    font-weight: 600;
    text-align: center;
    line-height: 1.3em;
    background: #C6CE00;
    padding: 5px;
    border: 2px white solid;
    border-radius: 5px;
    font-weight: 700;
    max-width: 600px;
    margin: auto;
    margin-bottom: 40px !important;
}

.content-guide {
    padding: 20px;
    width: 100%;
}

.accordion-item {
    margin-bottom: 40px;
}

.accordion-header {
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #C6CE00;
    margin-bottom: 10px;
}

.accordion-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #c6ce00;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 4px;
    border: 2px solid white;
}

.accordion-content {
    display: none;
    /* Caché par défaut */
    border: 0;
    border-radius: 10px;
    padding: 10px 20px;
    color: #fff;
    background-color: #669356;
    /*cursor: pointer;*/
}

.accordion h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    display: inline;
    padding-bottom: 0px;
    line-height: inherit;
    max-width: 90%
}

.accordion-content ul {
    padding: 0px !important;
}

.sol-info a {
    color: #c6ce00;
}

.smiley li {
    display: flex;
    align-items: center;
}

.smiley li::before {
    padding-right: 0px;
    width: 15px;
}

.img-detail p {
    padding: 0px;
    margin-top: -7px;
    font-style: italic;
    font-size: 13px;
}



@media screen and (max-width: 1100px) {
    .dev-content {
        flex-direction: column;
    }

    .semence-block {
        flex-direction: column;
    }

    .smiley li {
        display: flex;
        align-items: flex-start;
    }
}

@media screen and (max-width: 700px) {
    .accordion-content>div {
        display: block !important;
    }

    .accordion-content img {
        margin-top: 25px;
    }

    .sol-info-container {
        display: block;
    }

    .img-detail .img-diag {
        max-width: 100% !important
    }
}

@media screen and (max-width: 400px) {
    .accordion h3 {
        max-width: 75%;
    }
}