body{
    margin: 0px;
    padding: 0px;
}
table#play{
    /* width: 80vw; */
    /* height: 52vw; */
    border-spacing: 0px;
    border-collapse: separate;
    text-indent: 0px;
    border: none;
}
table#display_sites{
    border-spacing: 0px;
    border-collapse: separate;
    text-indent: 0px;
    border: none;
}
tr.cadrillage{
    
display: flex;
    
margin-top: -3.8vw;
    
margin-left: 3.8vw;
}
:not(.cadrillage) > td.cadrillage, .cadrillage:nth-child(1){
    
position: absolute;
    
margin-left: -3.8vw;
}
#selector_multiplel{
    position: absolute;
    width: 0 !important;
    height: 0 !important;
}
td.cadrillage{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    width: calc(3.8vw - ( 1px * 2 ) ) !important;
    height: calc(3.8vw - ( 1px * 2 ) ) !important;
}
#inspector{
    z-index: 100;
    top: 0px;
    width: 100vw;
    height: auto;
    background-color: lightgray;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    position: absolute !important;
    justify-content: center;
}
.collapse{
    visibility: collapse !important;
}
.inspector_img {
    width: 150px;
    height: 150px;
    font-size: 18px;
    margin: 1vw;
    background: gray;
    border-radius: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.inspector_img > *{
    width: 100px;
    height: 100px;
    margin: 5px;
}
.inspector_cartes > p{
    margin: 5px;
    text-align: center;
    font-size: 14px;
}
.inspector_cartes > img{
    width: 120px;
    height: 183px;
    margin: 5px;
}
.inspector_periodes {
    margin: 1vw;
    width: 150px;
    height: 100px;
    background: gray;
    border-radius: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inspector_cartes {
    width: 150px;
    height: 250px;
    margin: 1vw;
    background: gray;
    border-radius: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#cross{
    position: absolute;
    background: url(../image/jetons/barrier.png) 0.25vw/4.8vw no-repeat,gray;
    width: 5vw;
    height: 5vw;
    right: 2vw;
    top: 0;

}
tr.cadrillage:first-child{
    
    margin-left: 0!important;

}
#play tbody{
    background: url(../image/plateau/PLATEAU_OPA_APPLI_V2-1000px.jpg) center/100%;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    width: fit-content;
    flex-direction: column;
    margin-left: 3.5vw;
    margin-top: 3.5vw;
}
#display_sites tbody{
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
}
#play tr,#blocks tr , #display_sites tr{
    /* height: 3.8vw; */
    width: fit-content;
    display: flex;
}
#play td,#blocks td ,#display_sites td{
    padding: 0px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    width: calc(3.8vw - ( 1px * 2 ) ) !important;
    height: calc(3.8vw - ( 1px * 2 ) ) !important;
}
.img{border: 1px solid black;width: calc(3.8vw - ( 1px * 2 ) ) !important;height: calc(3.8vw - ( 1px * 2 ) ) !important;}
div#first{
    margin-top: 5vw;
    margin-left: 5vw;
    display: flex;
}
div#blocks{
    width: fit-content;
}
#blocks table{
    /* width: 10vw; */
    height: 53vw;
    border-spacing: 0px;
    border-collapse: separate;
    text-indent: 0px;
    border: none;
}
#block tbody{
    width: 4vw;
    height: 4vw;
}
div#blocks tr{
    background-color: gray;
    display: flex;
    justify-content: center;
    padding: 0px;
    width: 6vw;
    /* height: 4vw; */
    transition: 0.2s;
}
div#blocks tr:hover{
    background-color: yellow;
}
div#blocks tr :not(tr:hover) {
    background-color: gray;
}
div#selector{
    position: absolute;
    z-index: 1;
    display: block;
    border: 1vw;
    border-style: solid;
    border-color: black;
    height: 2vw;
    width: 2vw;
    margin: 0px;
    padding: 0px;
    top: 1vw;
    left: 1vw;
}
div:has( #Sites_info ){
    margin-left: 5vw;
    width: 82vw;
    padding: 1vw;
    border-radius: 2vw;
    border: solid 1vw gray;
}
#Sites_info td{
    width: 20.5vw;
    height: 3vw;
    background: lightgray;
}
label > p{
    margin-block-start: 0;
    margin-block-end: 0;
}
#top{
    position: absolute !important;
}
div input:checked + label{ 
    background-color: white;
    border-radius: 2vw;
    transition: 0.2s;
}
div input:hover + label{ 
    background-color: rgb(150, 150, 150);
    border-radius: 2vw;
    transition: 0.7s;
}
select {
    border-radius: 1vw;
}
input{
    border-radius: 0.5vw;
}