div#qr-code-popup,
div#inventories-popup{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 9px;
    width: 70vw;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow: auto;
    max-height: 60vh;
    min-width: 200px;
    min-height: 200px;
    z-index: 1000;
    font-family: iransans;
}
span#qr-code-popup-close,span#inventories-popup-close {
    position: absolute;
    top: 6px;
    right: 43px;
    background-color: orangered;
    padding: 5px 10px;
    border-radius: 2px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}
.qr-code-item,.inventories-item {
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 8px;
    /*width: 28%;*/
    margin-bottom: 10px;
}
.qr-code-printable-content,.inventories-printable-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
div#qr-code-popup-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    justify-content: space-around;
    width: 100%;
}
div#inventories-popup-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    width: 100%;
    flex-direction: column;
    text-align: center;
}
span#qr-code-popup-print-all,span#inventories-popup-print-all {
    position: absolute;
    top: 6px;
    right: 100px;
    background-color: black;
    padding: 5px 10px;
    border-radius: 2px;
    color: #f6f7f7;
    font-weight: bold;
    cursor: pointer;
}
div#qr-code-overlay, div#inventories-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background-color: #000000bd;
    display: none;
}
.variable_custom_fields{
    display: flex;
}

a.twotamoun-reset-button {
    text-decoration: none;
    color: #000;
    background-color: orange;
    padding: 7px;
    border-radius: 4px;
    font-weight: bold;
}
.twotamoun-search-form-variation-page {

}
.twotamoun-search-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
@media screen and (max-width: 500px){
    .qr-code-item, .inventories-item {
        width: auto;
    }
    span#qr-code-popup-close,span#inventories-popup-close {
        width: 60%;
        text-align: center;
        right: 50%;
        transform: translateX(50%);
    }
    span#qr-code-popup-print-all,span#inventories-popup-print-all{
        width: 60%;
        text-align: center;
        right: 50%;
        transform: translateX(50%);
        top: 50px;
    }
    div#qr-code-popup-content,div#inventories-popup-content{
        margin-top: 90px;
    }
    div#qr-code-popup,div#inventories-popup{
        width: 90vw;
        max-height: 80vh;
    }
}
/*@media only print{*/
/*    .qr-code-printable-content{display: flex;flex-direction: column;align-items: center;justify-content: center;border: 1px solid lightgray;padding: 10px;border-radius: 8px;margin: 10px;}*/
/*}*/