.rowgen {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    -moz-column-gap: 0.5rem;
    column-gap: 0.5rem;
    row-gap: 0.75rem;
    margin-top: -7px;
    margin-right: 8px;
    margin-left: 5px;
    }
    .colgen-md-3 {margin-top: -20px;}
    .photo-content {
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.1);
    box-shadow: 0 0 10px #0000001a;
    background-color: #fff;
    margin: 20px 0 auto;
    position: sticky;
    overflow: hidden;
    width: 140px;
    height: 150px;
    border-radius: 5px;
    }
    .inner-photo {
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 5px;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    z-index: 1;
    display: block;
    }
    .overlaygen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    }
    .boxgen {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    z-index: 10000;
    border-radius: 3px;
    }
    .closegen-btn {
    top: 10px;
    right: 10px;
    position: absolute;
    cursor: pointer;
    font-size: 11px;
    padding: 1px 3px;
    font-weight: bold;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 1.6px #fff;
    border: 2px solid #921911;
    background: repeating-linear-gradient(#f55041,#f55041 50%,#c23027 0,#c23027);
    color: #fff;
    width: 20px;
    height: 18px;
    line-height: 12px;
    padding-top: 1px;
    padding-left: 5px;
    }
    .boxreactionsgen{
    position: absolute;
    top: 318px;
    background: #ededed;
    padding: 10px;
    width: 320px;
    border-radius: 0px 0px 5px 5px;
    border: 1px solid rgba(0,0,0,.3);
    box-shadow: 2px 2px 0 0 rgb(0 0 0 / 30%), inset 0 -3px 0 0 rgb(0 0 0 / 25%);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    row-gap: 1rem;
    display: grid;
    }
    .buttonemojigen {
    border: none;
    width: 40px;
    height: 40px;
    }
    .namephotogen{
    top: 63px;
    left: 97px;
    position: absolute;
    background: #222222a6;
    padding: 3px 10px 3px 10px;
    border-radius: 4px;
    font-size: 20px;
    color: #fff;
    }
    .datephotogen {
    top: 102px;
    left: 97px;
    position: absolute;
    background: #222222a6;
    padding: 3px 10px 3px 10px;
    border-radius: 2px;
    font-size: 13px;
    color: #fff;
    }
    .countreactiontext{
    margin-left: 5px;
    margin-top: 1px;
    font-size: 13px;
    color: #4a4a4a;
    margin-right: 2px;
    }
    a.control_nextphoto {
        position: absolute;
        top: 150px;
        right: -60px;
        z-index: 9;
        display: block;
        padding: 4% 3%;
        width: auto;
        height: auto;
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        opacity: 0.8;
        cursor: pointer;
        font-size: 45px;
    }
    a.control_prevphoto {
        position: absolute;
        top: 150px;
        left: -60px;
        z-index: 9;
        display: block;
        padding: 4% 3%;
        width: auto;
        height: auto;
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        opacity: 0.8;
        cursor: pointer;
        font-size: 45px;
    }
    ::selection {
        background-color: transparent;
      }
      
      ::-moz-selection {
        background-color: transparent;
      }