.tg-modal,.tg-fade-popup {
    position: fixed;/**/
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    /*width: 100%;
    height: 100%;*/
    z-index:1050;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scaleX(1.1) scaleY(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    font-family: sans-serif;
}
.width-auto{
    width:auto;
}
.modal-content{
    /*  width: 80em;*/

}
.tg-modal{
    z-index:2000;
}
#statusPane{
    z-index:2000;  
}
.tg-modal-content {
    position: absolute;/**/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    /*width: 70rem;*/
    border-radius: 0.5rem;
    background-clip:padding-box;
    border-radius:6px;
    -webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);
    box-shadow:0 3px 9px rgba(0,0,0,.5);
    outline:0;
    font-size: 16px;
}
.tg-close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.tg-close-button:hover {
    background-color: darkgray;
}
#tg-popup-modal-id,#tg-popup-modal-fils-id,#statusPane{
    display: none;
}
.tg-show-modal,.tg-show-modal-popup,.tg-show-modal-fils-popup {
    /*width: 100%;
    height: 100%;
    width: auto;
    height: auto;*/
    position: fixed;/**/
    display: block;
    z-index: 1005;
    top:0px;
    left: 0px;
    bottom: 0;
    right: 0;/**/
    -webkit-overflow-scrolling:touch;outline:0;
    overflow:hidden;
    opacity: 1;
    visibility: visible;/**/
    transform: scaleX(1.0) scaleY(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    overflow-x:hidden;overflow-y:auto;
}
@media only screen and (max-width: 50rem) {
    h1 {
        font-size: 1.5rem;
    }
    .tg-modal-content {
        width: calc(100% - 5rem);
    }
}
