
* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    margin-top:15%;

}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #212529;
    text-align: left;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100%;
    height:100%;
    z-index: 0;
    position:absolute;
    top:7%;
    left:0px;
    right:0px;
    overflow:auto;
}

header {
    position:fixed;
    top:0px;
    left:0px;
    height:auto;
    width: 100%;
    right:0px;
    overflow: hidden;
    padding: 1px;
    background-color: white;
    display: flex;
    z-index: 1;
    align-items: center;
    
}


footer {
    background-color: #81ad62;
    z-index: 1;
    font-size: 1.2rem;
    color: #fff;
    position: fixed;
    bottom:0px;
    height:80px;
    left:0px;
    right:0px;
    overflow:hidden;
    height:30px;
}

h1 {
    font-size: 250%;
    text-align: center;
}

p {
    font-size: medium;
    text-align: justify;
}

h2 {
    font-size: 200%;
    text-align:center;
    color: #6c6159;
}

a {
    text-decoration:none;
    color: #398439;
}

.svg-container {
    display: inline-block;
    width: 100%;
    padding-bottom: 100%; /* aspect ratio */
    vertical-align: top;
    overflow: hidden;
    font-size: small;
}

.svg-content{
    width : 100%;
    height: 50%;
}

g.axis--x text, g.axis--y text{
    font-size: 40px;
}


table {
    border-collapse: collapse;
}

td {
    padding: 7px;
    font-size: 80%;
}

.required:after {
    content: "*";
}

.abscisses{
    width: 80%;
    margin-right: 5%;
    font-size: small;
}

g.axis.axis--x, g.axis.axis--y{
    font-size: 25px;
}

/** End Normalize.css **/


.scenario{
    margin-top: 5%;
    padding:0;
    width: auto;
    min-height: 100%;
    background-size: cover;
    font-size: 100%;
}


#page{
    display: block;
    text-align:center;
    font-size : 120%;
    background-color: white;
    min-height: 100%;
}

#page .button, #page .button-min{
    font-size: 80%;
}

.fond{
    margin:0;
    padding:0;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.profile{
    margin:0;
    padding:0;
    min-width: 100%;
    min-height: 100%;
    border-radius: 10px 10px 10px 10px;
    font-size: 10%;
}

.terres{
    margin-left:2%;
    margin-right: 2%;
    padding:0;
    width: 100%;
    height: 1000px;
    background-size: cover;
    border-radius: 10px 10px 10px 10px;
    font-size: 150%;
}

.error{
    margin:0;
    padding:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    color:red;
}




/* Fond couleur */
.wheat{
    background: #fff6cc;
    padding:5px 20px;
    border-radius: 10px 10px 10px 10px;
    color: black;
    font-size:medium;
}

.fond-white{
    background-color: white;
    padding:5px 20px;
    border-radius: 10px 10px 10px 10px;
}


/* Cadres couleur */
.cadre-brown-strong{
    padding:0 10px 0 80px;
    background: rgb(109,102, 86);
    border-radius: 30px 0px 30px 0px;
}

.cadre-wheat{
    background: wheat;
    padding:5px 20px;
    border-radius: 10px 10px 10px 10px;
    color: black;
    margin-right:30%;
    margin-left:30%;
    margin-top:5%;
    margin-bottom:5%;
}



/* Tableaux */
#page table{
    margin-right:auto;
    margin-left:auto;
    text-align: left;
    font-size: large;
}

#page table tr th{
    text-align: center;
}

#page table.beige tr:nth-child(2n+1){
    background-color:wheat;
}

#page table.beige tr:nth-child(2n+2){
    background-color:#FAF0E6;
}

#page table.tab-green tr:nth-child(2n+1){
    background-color:rgb(165, 209, 82);
    text-align:center;
}

#page table.tab-green tr:nth-child(2n+2){
    background-color:beige;
    text-align: center;
}
/* End */

#page .button, #page .button-min{
    font-size: large;
}

#content{
    z-index: 0;
    min-height: auto;
    background-color:white;
}

.white{
    color:white;
}

a:link {
    text-decoration:none;
}
#link{
    color: #398439;
}
a:hover{
    text-decoration: underline;
}
a:hover img{
    text-decoration: none;
}
li{
    list-style-type:none;
    font-size: medium;
}

#page h3{
    display: inline-block;
}

button:hover, button:focus, input[type=submit]:focus, input[type=submit]:hover, .button:hover, .button:focus{
    color: #fff;
    opacity: 0.35;
}


button:active, button:active:focus, button:active:hover,
input[type=submit]:active, input[type=submit]:active:focus, input[type=submit]:active:hover,
.button:active, .button:active:focus, .button:active:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.button, button, input[type=submit]{
    color: #fff;
    background-color: #5cb85c;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: medium;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    width:auto;
    height:auto;
}

.button-min {
    padding: 0.2rem 0.5rem;
    font-size: medium;
}


input{
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    border: 1px solid #bbb;
    outline: none;
    font-size: medium;
    width:auto;
    height:auto;
}

textarea {
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    border: 1px solid #bbb;
    outline: none;
    font-size: medium;
    width:30%;
    height:auto;
}

input, label{
    width:60px;
    height:auto;
    font-size: medium;
}


#fiches{
    display:inline-block;
    margin: 10px;
    text-align:center;
    width: 300px;
    height:300px;
}

.logos{
    text-align: center;
    background: white;
    border-radius: 10px 10px 10px 10px;
    width:60%;
    margin: auto;
}
.logo_partenaire{
    margin: 20px;
    display: inline-block;
}


footer>p {
    margin: 2px 2px 2px 2px;
}

.main_logo {
    max-width: 120px;
    max-height: 60px;
    margin: 2px;
}


/* Barre de menu */
.burger {
    display: block;

    list-style-type: none;
    background: #459a45;
    border-radius: 10px 10px 10px 10px;
    width:88%;
    height: auto;
}
#header .burger ul.nav li {
    text-align: center;
    z-index:1;
    display: inline-block;
    width: auto;
    height:auto;
    list-style: none;
    background: #459a45;
    vertical-align: middle;
    margin-right:30px;
}

.burger li a {
    display: block;
    text-decoration: none;
    color: #fff;
    border-radius: 10px 10px 10px 10px;
    height:110%;
    width:110%;
}
.burger li a:hover {
    background: white;
    color: black;
    width:120%;
    height:100%
}
.burger label {
    display: none;
}
#menu-toggle {
    display: none;
}

/***********************************************/

#main {
    position: relative;
    z-index: 0;
    transition: transform .3s;
    font-size: medium;
    min-height: 100%;
    background-size: cover;
}

ul.menu-link{
    margin:0 auto 50px;
    font-size: 130%;
}

ul.menu-link li a {
    border: 1px solid #1e7e34 ;
    color:#FFFFFF;
    background-color: #1e7e34;
    border-radius: 5px;
    width: 20%;
    margin: 8px;
    padding:3px;
    float:left;
    text-decoration: none;
    text-align :center;
    font-size: 150%;
}
ul.menu-link li a:hover{
    opacity: 0.8;
}

#toggle-nav {
    display: none;
}
#toggle-nav:checked + label {
    transform: scale(0.8);
}
#toggle-nav:checked ~ #main {
    transform: translateX(60vw);
}


#page table#liste_scenarios tbody tr td{
    margin:auto;
    text-align: center;
    border:1px solid black;
}
table#liste_scenarios tbody tr:nth-child(2n+1){
    background-color:wheat;

}
table#liste_scenarios tbody tr:nth-child(2n+2){
    background-color:#FAF0E6;
}


/*******************/
/****** ITKS *******/
/*******************/

table.flex-table {
    height : 70px;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    /*background-color: #000;*/

}

table.flex-table tr.section, div.itks div.section tr.section {
    height: 40px;
    display:flex;
    flex-direction: row;
    float: bottom;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;

}

table.flex-table tr.section .cell, div.itks div.section tr.section .cell, table.flex-table tr.section .head, div.itks div.section tr.section .head, table.flex-table tr.section .content, div.itks div.section tr.section .content{
    height:20px;
    margin: 1px;
    padding : 1px;
    background-color: #fef3bb;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-height: 5rem;
}

table.flex-table tr.section .head1, table.flex-table tr.section .content1, div.itks div.section tr.section .head1, div.itks div.section tr.section .content1{
    height:20px;
    margin: 1px;
    padding : 1px;
    background-color: #fef3bb;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-height: 5rem;
    border: solid 1px;
}



table.flex-table tr.section .head, div.itks div.section tr.section .head{
    background-color: #d2e4ad;
    font-weight:bold;
}

table.flex-table.mode-colonne {
    flex-direction: row;
}

table.flex-table.mode-colonne tr.section{
    flex-direction: column;
}

/************************/

table.flex-table select, div.itks div.section select {
    width:auto;
}

table.flex-table input, div.itks div.section input {
    width: 40%;
    font-size: 120%;
}


table.flex-table .cell-title, div.itks div.section .cell-title {
    display: none;
}


table.flex-table tr.section .cell,
table.flex-table tr.section .head,
div.itks div.section tr.section .cell,
div.itks div.section tr.section .head
{
    padding:5px;
}

table.flex-table tr.section .head, div.itks div.section tr.section .head{
    background-color: #d2e4ad;
    font-weight:bold;
}

.section>div{
    min-width: 10rem;
}

table.mode-flexible, div.itks div.section {
    background-color: transparent;
}

table.mode-flexible tr.section, div.itks div.section tr.section{
    border-radius: 5px;
    margin:1px 1px 10px 1px;
    padding:4px;
    /*background-color:#d2e4ad;*/
    flex-wrap: wrap;
    justify-content: flex-start;
    height: auto;
}

table.mode-flexible tr.section-annee, div.itks div.section tr.section-annee{
    border-radius: 15px 15px 15px 15px;
    margin:1px 1px 10px 1px;
    padding:4px;
    background-color:#d2e4ad;
    border: 2px solid #d2e4ad;
    min-width: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: auto;
}

table.mode-flexible tr.section-head, div.itks div.section tr.section-head{
    display: none;
}

table.mode-flexible tr.section .head, div.itks div.section tr.section .head{
    background-color:transparent;
}

table.mode-flexible tr.section .cell, div.itks div.section tr.section .cell{
    min-width: 155px;
    max-width: 205px;
    margin:6px 3px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    overflow: hidden;
    transition: ease-out;
    transition-duration: 0.1s;
    font-size: 1.1rem;
    height:auto;

}

table.mode-flexible tr.section .cell-annee, div.itks div.section tr.section .cell-annee {
    min-width: 900%;
    text-align: center;
    height: auto;
    background-color:#d2e4ad;
    margin: -4px -4px 2px -4px;
    padding: 3px 0;
    display: flex;
}

table.mode-flexible .cell-title, div.itks div.section .cell-title {
    display:block;
    min-width: 100%;
    text-align: center;
    height: auto;
    background-color: #fee980;
    font-size: 150%;
    margin: 0;
    padding:2px;

}

table.mode-flexible .cell-content, div.itks div.section .cell-content {
    padding:10px 3px;
    height:auto;
    font-size: medium;
}

.soft {
    opacity:0.5;
}


.button-menu {
    display: inline-block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2; /* will be above everything */
    padding: .5em;
    background-color: #212529;
    color: #fff;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Formulaire de connexion */

#formconnexion{
    max-width: 650px;
    background-color: #d2e4ad;
    margin-right: auto;
    margin-left: auto;

    padding: 0.3rem;
    border-radius: 5px;

    display:flex;
    flex-direction: column;
}
.definition {
    margin-top: 5%;
    font-size: 1em;
    padding: 1% 1% 1% 1%;
    margin-left : 5%;
    margin-right: 5%;
    color: black;
}

.definition .wheat p, .definition .cadre-brown-strong p, .definition .cadre-brown-strong h3, .definition .wheat h3{
    font-size: 150%;
}

ul.definition li {
    list-style-type: circle;
}


.conteneurinput {
    max-width: 600px;
    font-size: 1.6rem;
    margin:auto;
}

.conteneurinput .champ_formu, .champ_formu{
    max-width: 330px;
    margin:auto;
}

.conteneurinput input, .conteneurinput textarea, .conteneurinput select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #bbb;
    outline: none;
    font-size: 1.6rem;
}


/* Style AGT-Select plugin*/

.agt-select {
    max-width: 500px;
    padding: 4px;
}

.agt-select .select-all{
    position: absolute;
    z-index: 1;
    margin:2px;
    padding:4px;
    max-width: 310px;
    display:flex;
    border: 1px solid #000;
    border-radius: 4px;
    flex-wrap:wrap;
    background-color: #fff;
    box-shadow: 4px 4px 6px #222;
}

.agt-select .select-all>.button{
    border-radius: 0;
    min-width: 33%;
    max-width: 33.333%;
    flex-grow: 1;
    margin: 0.5px;
}

.agt-select .selected-items {
    display:flex;
    flex-wrap:wrap;
}

.agt-select .selected-items>.button {
    margin:1px;
}

.agt-select .bt-agt-select {
    min-width:80px;
}

.agt-select .select-all>.selected,
.agt-select .selected-items>.button
{
    border-color: green;
    background-color: transparent;
    color: green;
}

.agt-select .selected-items>.button:hover {
    background-color: red;
    color: #fff;
    border-color: #AA3333;
}


.menu {
    display: none;
}

.menu-checkbox:checked ~ .menu {
    display: block;
}

.menu-checkbox {
    opacity: 0;
    position: absolute;
    top: -1000px;
}

/* Backgrounds */
.fond_présentation{
    margin-top:5%;
    padding:0;
    min-width: 100%;
    min-height: 100%;
    background-size: cover;
    border-radius: 10px 10px 10px 10px;
}

.title-page{
    color:white;
    font-size: 40px;
    font-weight:bold;
    text-align: left;
}


.profile .text-large p{
    font-size: 90%;
    text-align: justify;
    margin-left: 25%;
    margin-right: 25%;
}

.profile .text-large p ul {
    list-style-type: none;
}

.profile h4{
    text-align: center;
    margin: auto;
    font-size: x-large;
}

.profile p{
    text-align: center;
    margin: auto;
    font-size: large;
}

.profile .cadre-white p{
    font-size: 90%;
}

#page {
    margin:5%;
}

#page a{
    margin-right: 30px;
    color:black;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    font-size: large;
}
#page a.btn-danger, .btn-danger{
    background: #ea3e4d;
    border-color: black;
    /*border-top: 2px solid #555;*/
}

a.btn-warning{
    background-color: orange;
    border-color: black;
}

a.btn-danger{
    border-color: black;
}


#page .conteneurinput .champ_formu .display-inline .wheat {
    display: inline-block;
}

label.required:after {
    content: "* ";
}

#page table.diagnostic {
    width:80%;
    text-align: center;
    background-color: beige;
}

#page table.diagnostic tr th{
    background-color: #a58364;
    color:white;
}

#page table.diagnostic tr td,#page table.diagnostic tr th{
    border:1px grey solid;
}

.center{
    margin-left: auto;
}

#page .inline{
    display: inline-block;
}

#page table tr th .button_form{
    height:auto;
    width: auto;
}

.warning {
    background: #ff8e8d;
    border-radius: 10px 10px 10px 10px;
    padding:5px 20px;
    margin-right: 8%;
    margin-left: 8%;
    font-size:100%
}

.brown{
    color: #a59784;
}

#page .wheat .adventiceEtudies table.tab-center tr td{
    width:auto;
    text-align:center;
    border:1px solid grey;
    margin:initial;
}

.wheat img{
    margin-left:10%;
}

.definition .wheat .fond-white h3{
    color: #644e1a;
}

.definition .wheat .fond-white h4 {
    color: #a58364;
}

.modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.select {
    width: 200px;
    height: 50px;
}

table.line{
    border-bottom: 1px solid black;
}


/*************************/
/****** RESPONSIVE *******/
/*************************/

/**** IPAD MINI ****/
@media all and (max-width: 1200px) and (min-width: 0px) {
    .main_logo {
        max-width: 120px;
        max-height: 60px;
        margin: 2px;
    }
    .definition .wheat ul li ul li, .definition .wheat p{
        font-size: 1.2em;
    }

    #main .definition h4{
        font-size:xx-large;
    }

    #header{
        height:auto;
    }
    .burger label {
        display: block;
        height: 70px;
        width: 70px;
        line-height: 70px;
        text-align: center;
        color: #fff;
        font-size: 1.8rem;
        background: #459a45;
        cursor: pointer;
        border-radius: 10px 10px 10px 10px;
    }
    .burger .nav {
        display: none;
    }
    .burger li {
        width: 100%;
        margin-right:20px;
    }

    .burger li a {
        width: 100%;
        margin-right: 25px;
        font-size: 1.2em;
    }

    #menu-toggle:checked + .nav {
        display: block;
    }
    .burger label:active .nav {
        display: none;
    }
    span.titre_app{
        width:20%
    }

    .wheat{
        background: #fff6cc;
        padding:5px 20px;
        border-radius: 10px 10px 10px 10px;
        color: black;
        margin-right: 3%;
        margin-left: 3%;
        font-size:100%;
    }

    .fond_présentation .definition p{
        font-size: 1.2em;
    }

    .logo{
        width:70%;
        margin-left: auto;
        margin-right: auto;
    }
    div.titre_app{
        width:18%
    }

    .titre_app div {
        color: darkgreen;
        font-size : large;
        margin: 2px;
    }

    .fond_présentation .definition ul.puce li {
        list-style-type: square;
        font-size: 1.1em;
    }

    h3{
        font-size: large;
        color : #6c6159;
    }

    .cadre-wheat{
        background: wheat;
        padding:5px 20px;
        border-radius: 10px 10px 10px 10px;
        color: black;
        margin-right:10%;
        margin-left:10%;
        margin-top:5%;
        margin-bottom:5%;
    }

    .profile .cadre-wheat .text-large table tr td a.email{
        font-size: 30px;
    }

    #page .button, #page .button-min{
        font-size: 20px;
    }

    .profile p, .profile .cadre-wheat td, .cadre-wheat h4{
        text-align: center;
        margin: auto;
        font-size: 20px;
    }

    ul.menu-link li a {
        width: 20%;
        margin: 12px;
        padding:3px;
        float:left;
        font-size: 25px;
    }

    #formconnexion{
        margin-right: auto;
        margin-left: auto;
        width:800px;
        max-width: inherit;
    }

    #formconnexion table tr td{
        font-size : 20px;
        text-align: justify;
    }

    #formconnexion table tr th .conteneurinput label, #formconnexion table tr th .conteneurinput #remember_me, #formconnexion table tr th .conteneurinput input{
        font-size : 20px;
    }

    .terres{
        margin-top: 12%;
    }
}


/**** IPAD PRO PETIT ****/
@media (min-width: 1200px) {

    nav a {
        display: inline-block;
    }

    nav {
        position:static;
        display: block;
        height: 100%;
        margin-left:0.5rem;
    }

    #toggle-nav,     .button-menu {
        display: none;
    }

    #formconnexion{
        padding: 1.5rem;
        border-radius: 5px;
        flex-direction: row;
    }
    .definition .wheat p, .definition .wheat ol li a, .definition .wheat ol li ol li a{
        font-size: 1.3em;
    }

    .wheat .fond-white h3{
        font-size: 1.7em;
    }

    .wheat .fond-white h4{
        font-size: 1.5em;
    }

    .wheat .fond-white h5{
        font-size: 1.3em;
    }

    .wheat .fond-white ul li{
        font-size: 1.3em;
    }
    .logo{
        width:80%;
        margin-left: auto;
        margin-right: auto;
    }
    div.titre_app{
        width:15%
    }

    .titre_app div {
        color: darkgreen;
        font-size : large;
        margin: 2px;
    }

    .burger li a {
        width: 100%;
        margin-right: 40px;
        font-size: 1.4em;
    }

    .profile p, .profile .cadre-wheat td, .cadre-wheat h4{
        text-align: center;
        margin: auto;
        font-size: 25px;
    }

    .cadre-wheat{
        background: wheat;
        padding:5px 20px;
        border-radius: 10px 10px 10px 10px;
        color: black;
        margin-right:10%;
        margin-left:10%;
        margin-top:5%;
        margin-bottom:5%;
    }

    #page .button, #page .button-min{
        font-size: 20px;
    }
    ul.menu-link li a {
        width: 20%;
        margin: 12px;
        padding:3px;
        float:left;
        font-size: 25px;
    }

    #formconnexion{
        margin-right: auto;
        margin-left: auto;
        width:800px;
        max-width: inherit;
    }

    #formconnexion table tr td{
        font-size : 23px;
        text-align: justify;
    }

    #formconnexion table tr th .conteneurinput label, #formconnexion table tr th .conteneurinput #remember_me, #formconnexion table tr th .conteneurinput input{
        font-size : 20px;
    }

    .terres{
        margin-top: 8%;
    }
    select.choix-adventice, table.abscisses{
        font-size: 20px;
    }
}


/**** IPAD PRO GRAND ****/
@media (min-width: 1500px){
    #page .button, #page .button-min{
        font-size: 25px;
    }
    .definition .wheat p{
        font-size: x-large;
    }

    footer>p {
        margin: 2px 2px 2px 2px;
        font-size: large;
    }

    .logo{
        width:60%;
        text-align: center;
    }

    div.titre_app{
        width:12%
    }

    .titre_app div {
        color: darkgreen;
        font-size : 1em;
        margin: 2px;
    }

    .burger li a {
        width: 100%;
        margin-right: 60px;
        font-size: 1.8em;
    }

    #page table {
        font-size: xx-large;
    }

    .profile p, .profile .cadre-wheat td, .cadre-wheat h4{
        text-align: center;
        margin: auto;
        font-size: 30px;
    }

    .cadre-wheat{
        background: wheat;
        padding:5px 20px;
        border-radius: 10px 10px 10px 10px;
        color: black;
        margin-right:10%;
        margin-left:10%;
        margin-top:5%;
        margin-bottom:5%;
    }

    .profile .cadre-wheat .text-large table tr td a.email{
        font-size: 30px;
    }

    ul.menu-link li a {
        width: 20%;
        margin: 12px;
        padding:3px;
        float:left;
        font-size: 30px;
    }

    #formconnexion{
        margin-right: auto;
        margin-left: auto;
        width:800px;
        max-width: inherit;
   }

    #formconnexion table tr td{
        font-size : 25px;
        text-align: justify;
    }

    #formconnexion table tr th .conteneurinput label, #formconnexion table tr th .conteneurinput #remember_me, #formconnexion table tr th .conteneurinput input{
        font-size : 25px;
    }

    select.choix-adventice, table.abscisses{
        font-size: 20px;
    }



}
