body{
    color: #fff;
}
.th-menu{
    z-index: 500;
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0px;
    /* border: red 1px solid; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    height: 70px;
    width: 70px;
}


.th-menu{
    cursor: pointer;
}

.th-to-site{
    position: absolute;
    top: 0px;
    margin: 10px;
    width: 300px;
}

.th-to-site .th-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    padding-top: 13px;
    padding-bottom: 7px;
}

#th-front{
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.th-front-dialog{
    /* width: 30vw; */
    /* height: 30vh; */
    max-width: 33vw;
    text-align: center;
    font-size: 120%;
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    border: solid 1px gray;
    display: flex;
}

.th-front-dialog p{
    margin-top: 0.0em;
}

.th-front-title{
    text-align: center;
}

.th-front-title h1{
    font-size: 300%;
    font-weight: 1000;
    margin-top: 0;
    /* margin-bottom: 1em; */
}

.th-front-btns{
    width: 100%;
    max-width: 1080px;
}

#th-front .th-front-btns .th-btn{
    margin: 10px;
    width: 30%;
}

#th-front .th-btn.th-btn-secondary{
    width: 20%;
}

.th-confirm{
    z-index: 410;
    background-color: rgba(0, 0, 0, 0.6);
    /* font-size: 120%; */
    padding: 10px;
}

.th-confirm p{
    color: lightgray;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}


.th-choices{
    justify-content: flex-end;
}
.th-choices a{
    margin: 0;
    margin-left: 10px;
    width: 30%;
    padding-bottom: 3px;
}

.th-pop{
    background: black;
    min-width: 300px;
    max-width: 300px;
    padding: 85px 15px 15px 15px;
    border: 1px solid gray;
    border-radius: 7px;
}

/* .th-pop h3:not(:first-of-type){ */
/*     margin-top: 2em; */
/* } */

.th-slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.th-slider {
  /* -webkit-appearance: none;  /\* Override default CSS styles *\/ */
    margin: 0;
  appearance: none;
  width: 100%; /* Full-width */
  height: 5px; /* Specified height */
  background: #999; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
  margin-bottom: 1.5em;
}

/* Mouse-over effects */
.th-slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.th-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: darkgreen; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.th-slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: darkgreen; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.th-hexagon{
    margin: 50px;
    position: absolute;
    background-color: white;
    width: 57px;
    height: 100px;
}


.th-hexagon:before, .th-hexagon:after{
    content: "";
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
}


.th-hexagon:before{
    transform: rotate(60deg);
}

.th-hexagon:after{
    transform: rotate(-60deg);
}

.th-hexa{
    fill: black;
    stroke: #ddd;
    stroke-width: 1.5;
}

h3{
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.th-dialog-center .th-dialog-content{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}
.th-dialog-content #th-infos{
    width: 80%;
}

.th-dialog-content #th-infos .th-infos-content{
    font-size: 125%;
}

#th-infos.th-infos-small{
    max-width: 40vw;
}

.th-btn-tap{
    width: 1000px;
}

.th-obj{
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0.5em;
    padding-top: 10px;
    padding-bottom: 3px;
    font-size: 100%;
    border-radius: 3px;
}

.th-obj.th-simul-valid{
    border: none;
    background-color: lightgreen;
    color: black;
}

.th-simul-suppr{
    font-size: 100%;
    position: absolute;
    right: 10px;
}

.th-simul-radius{
    width: 23%;
}
.th-simul-distance{
    width: 25%;
}
.th-simul-ecart{
    width: 20%;
}

.th-val{
    font-weight: bold;
}

.th-masse .th-star{
    transition: none;
}

.th-btn.th-btn-dialog{
    min-width: 50px;
}

.th-control-frame{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}


.th-arp-control{
    font-size: 100%;
    width: 40%;
    margin: 0;
    flex-grow: 1;
    /* height: 100%; */
}

.th-arp-control{
    /* margin-bottom: 10px; */
    border-radius: 4px;
}

.th-arp-control-web{
    /* height: 116px; */
    display: flex;
    align-self: stretch;
    /* flex-flow: flex-end; */
    justify-content: flex-end;

    width: 100%;
}

.th-margin{
    margin: 5px;
}

.th-arp-control-web a.th-btn{
    margin: 10px;
    width: 20%;
    font-size: 130%;
    padding-top: 19px;
}


.th-arp-gaz-list .th-gaz-name{

    margin: 3px;
}

.th-version{
    /* background: rgba(0, 0, 0, 0.7); */
    color: darkred;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    padding-bottom: 15px;
    z-index: 999;
}

@media (min-width: 100px){
    body{
        font-size: 70%;
    }

    .th-composition-gaz-list{
        width:100%;
    }
    .th-btn.th-btn-dialog div{
        width: 80px;
        min-width: 80x;
        max-width: 120px;
    }
}

@media (min-width: 1054px){
    body{
        font-size: 100%;
    }

    .th-composition-gaz-list{
        width: 80%;
    }
}

@media (min-width: 1290px){
    body{
        font-size: 115%;
    }

    .th-margin{
        margin: 10px;
    }

    .th-control-frame{
        gap: 10px;
    }

    .th-btn.th-btn-dialog div{
        width: 120px;
        /* min-width: 150px; */
        /* max-width: 250px; */
    }
}

@media (min-width: 1500px){
    body{
        font-size: 130%;
    }

    /* .th-pop{ */
    /*     font-size: 80%; */
    /* } */

    .th-btn.th-btn-dialog{
        width: 140px;
        /* min-width: 150px; */
        /* max-width: 250px; */
    }
}
