.pym_decision_tree_container {
    position: relative;
    margin-top: -10px;
    padding: 73px 74px 2px;
    background-color: #FAFAFA;
    box-shadow: 0px 0px 48px rgba(0, 0, 0, 0.14);
    border-radius: 20px;
    background-image: url('./img/pym_lp_block_angle.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.pym_decision_tree_container h2 {
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #000000;
    /* font */
    font-weight: 700;
    font-size: 26px;
    line-height: 29px;
}

@media screen and (max-width: 576px) {
    .pym_decision_tree_container {
        padding: 73px 15px 2px;
    }
}


/* -------------- Species -------------- */

.pym_decision_tree_container .species_list {
    margin-bottom: 90px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 120px;
    row-gap: 60px;
}

.pym_decision_tree_container .species_list .specie {
    width: 149px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.pym_decision_tree_container .species_list .specie .title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
    /* font */
    font-weight: 600;
    font-size: 16px;
    line-height: 29px;
}

.pym_decision_tree_container .species_list .specie#ruminants .title {
    color: var(--ruminants-color);
}

.pym_decision_tree_container .species_list .specie#swine .title {
    color: var(--swine-color);
}

.pym_decision_tree_container .species_list .specie#poultry .title {
    color: var(--poultry-color);
}

.pym_decision_tree_container .species_list .specie#aquaculture .title {
    color: var(--aquaculture-color);
}

.pym_decision_tree_container .species_list .specie .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 20px;
    width: 149px;
    height: 149px;
    transition: all .25s ease-in-out;
}

.pym_decision_tree_container .species_list .specie#ruminants .logo {
    background-color: var(--ruminants-color);
}

.pym_decision_tree_container .species_list .specie#swine .logo {
    background-color: var(--swine-color);
}

.pym_decision_tree_container .species_list .specie#poultry .logo {
    background-color: var(--poultry-color);
}

.pym_decision_tree_container .species_list .specie#aquaculture .logo {
    background-color: var(--aquaculture-color);
}


/* Specie selected */

.pym_decision_tree_container .species_list .specie.selected .logo {
    filter: drop-shadow(0px 0px 48px rgba(0, 0, 0, 0.14));
}


/* -------------- Issues -------------- */

.pym_decision_tree_container .pym_issues {
    display: none;
}

.pym_decision_tree_container .pym_issues.show {
    display: block !important;
}

.pym_decision_tree_container .issues_list {
    margin-bottom: 90px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 40px;
}

.pym_decision_tree_container .issues_list .issue {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
    width: calc(33% - 52px);
}

@media screen and (max-width: 820px) {
    .pym_decision_tree_container .issues_list .issue {
        width: calc(50% - 40px);
    }
}

@media screen and (max-width: 576px) {
    .pym_decision_tree_container .issues_list .issue {
        width: 100%;
    }
}

.pym_decision_tree_container .issues_list .issue .title {
    margin: 0;
    transition: all .25s ease-in-out;
    text-align: center;
    padding: 12px 16px;
    border: 2px solid #000;
    border-radius: 10px;
    width: 100%;
    /* font */
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}

.pym_decision_tree_container .issues_list.ruminants .issue .title {
    color: var(--ruminants-color);
    border-color: var(--ruminants-color);
}

.pym_decision_tree_container .issues_list.swine .issue .title {
    color: var(--swine-color);
    border-color: var(--swine-color);
}

.pym_decision_tree_container .issues_list.poultry .issue .title {
    color: var(--poultry-color);
    border-color: var(--poultry-color);
}

.pym_decision_tree_container .issues_list.aquaculture .issue .title {
    color: var(--aquaculture-color);
    border-color: var(--aquaculture-color);
}

.pym_decision_tree_container .issues_list .issue input[type="radio"] {
    margin: 0;
}


/* Issue selected */

.pym_decision_tree_container .issues_list .issue.selected .title {
    color: white;
    box-shadow: 0px 0px 48px rgba(0, 0, 0, 0.14);
}

.pym_decision_tree_container .issues_list.ruminants .issue.selected .title {
    background-color: var(--ruminants-color);
}

.pym_decision_tree_container .issues_list.swine .issue.selected .title {
    background-color: var(--swine-color);
}

.pym_decision_tree_container .issues_list.poultry .issue.selected .title {
    background-color: var(--poultry-color);
}

.pym_decision_tree_container .issues_list.aquaculture .issue.selected .title {
    background-color: var(--aquaculture-color);
}


/* -------------- Species/Issues infos -------------- */

.pym_decision_tree_container .species_info,
.pym_decision_tree_container .issues_info {
    display: none;
    margin-bottom: 125px;
}

.pym_decision_tree_container .species_info.show,
.pym_decision_tree_container .issues_info.show {
    display: block;
}

.pym_decision_tree_container .species_info h3,
.pym_decision_tree_container .issues_info h3 {
    margin-bottom: 35px;
    text-transform: uppercase;
    color: #000000;
    /* font */
    font-weight: 700;
    font-size: 26px;
    line-height: 29px;
}

.pym_decision_tree_container .species_info .related_papers,
.pym_decision_tree_container .issues_info .related_papers {
    text-align: start;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 15px;
}

.pym_decision_tree_container .species_info .related_papers .related_paper,
.pym_decision_tree_container .issues_info .related_papers .related_paper {
    padding-bottom: 15px;
    border-bottom: 1px solid #E14256;
}

.pym_decision_tree_container .species_info .related_papers .related_paper a,
.pym_decision_tree_container .issues_info .related_papers .related_paper a {
    text-decoration: none;
    color: #000000;
    transition: all ease-in-out .25s;
    margin-bottom: 5px;
    /* font */
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
}


/* -------------- Papers -------------- */

.pym_decision_tree_container .papers_list {
    margin-bottom: 90px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: flex-start;
    align-items: center;
    column-gap: 25px;
    row-gap: 65px;
}

.pym_decision_tree_container .papers_list.empty {
    grid-template-columns: 1fr;
}

.pym_decision_tree_container .papers_list .paper {
    height: 100%;
    max-width: 224px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 10px;
    text-decoration: none;
}

.pym_decision_tree_container .papers_list .paper.show {
    display: flex !important;
}

.pym_decision_tree_container .papers_list .paper img {
    max-width: 100%;
    width: 224px;
    height: 172px;
    object-position: center;
    object-fit: cover;
    border-radius: 10px;
}

.pym_decision_tree_container .papers_list .paper .none_thumbnail {
    max-width: 100%;
    width: 224px;
    height: 172px;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pym_decision_tree_container .papers_list .paper .none_thumbnail img {
    max-width: 100%;
    width: 180px;
    height: 56px;
    border-radius: 0;
}

.pym_decision_tree_container .papers_list .paper .label {
    padding: 5px 24px;
    border-radius: 10px;
    color: #FFF;
    text-transform: uppercase;
    /* font */
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
}

.pym_decision_tree_container .papers_list .paper.ruminants .label {
    background-color: var(--ruminants-color);
}

.pym_decision_tree_container .papers_list .paper.swine .label {
    background-color: var(--swine-color);
}

.pym_decision_tree_container .papers_list .paper.poultry .label {
    background-color: var(--poultry-color);
}

.pym_decision_tree_container .papers_list .paper.aquaculture .label {
    background-color: var(--aquaculture-color);
}

.pym_decision_tree_container .papers_list .paper h4 {
    margin: 0;
    color: #000000;
    text-transform: initial;
    /* font */
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}

.pym_decision_tree_container .papers_list .paper p {
    flex-grow: 1;
    margin: 0;
    color: #000000;
    /* font */
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.pym_decision_tree_container .papers_list .paper .link {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin: 0;
    /* font */
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
}

.pym_decision_tree_container .papers_list .paper .link::after {
    content: "";
    width: 5.85px;
    height: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.pym_decision_tree_container .papers_list .paper.ruminants .link {
    color: var(--ruminants-color);
}

.pym_decision_tree_container .papers_list .paper.ruminants .link::after {
    background-image: url('./img/chevrons/chevron_ruminants.svg');
}

.pym_decision_tree_container .papers_list .paper.swine .link {
    color: var(--swine-color);
}

.pym_decision_tree_container .papers_list .paper.swine .link::after {
    background-image: url('./img/chevrons/chevron_swine.svg');
}

.pym_decision_tree_container .papers_list .paper.poultry .link {
    color: var(--poultry-color);
}

.pym_decision_tree_container .papers_list .paper.poultry .link::after {
    background-image: url('./img/chevrons/chevron_poultry.svg');
}

.pym_decision_tree_container .papers_list .paper.aquaculture .link {
    color: var(--aquaculture-color);
}

.pym_decision_tree_container .papers_list .paper.aquaculture .link::after {
    background-image: url('./img/chevrons/chevron_aquaculture.svg');
}

@media screen and (max-width: 820px) {
    .pym_decision_tree_container .papers_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .pym_decision_tree_container .papers_list {
        grid-template-columns: 1fr;
    }

    .pym_decision_tree_container .papers_list .paper {
        width: 100%;
        max-width: 100%;
    }
}


/* -------------- No result -------------- */

.pym_decision_tree_container .no_result {
    display: none;
    text-align: center;
    margin: 0 0 50px 0;
    color: #000;
    /* font */
    font-weight: 600;
    font-size: 22px;
    line-height: 29px;
}

.pym_decision_tree_container .no_result.show {
    display: block;
}