:root {
    --boxheight_sip: 25px;
    
    --widthbox_NEW:calc( (100vw / 4) - 3px );
    
    --heigtbox_NEW:calc( var(--widthbox_NEW) + var(--boxheight_sip) );
    --heigtboxsmal_NEW:calc( ( var(--widthbox_NEW) + var(--boxheight_sip) ) / 3 );

    --heightbox_file: calc( var(--heigtbox_NEW) / 3 );
    --heightbox_file_neg: calc( ( var(--heightbox_file) / 3 ) -  calc( var(--heightbox_file) - 10px ) );

    --halfsize:calc( var(--heigtbox_NEW) / 2 );
    --halfsize_neg:calc( ( var(--heigtbox_NEW) / 2 ) -  var(--heigtbox_NEW) );
}

@media screen and (max-width: 1024px) {
    :root {
        --boxheight_sip: 25px;
    
        --widthbox_NEW:calc( (100vw / 2) - 3px );
        
        --heigtbox_NEW:calc( var(--widthbox_NEW) + var(--boxheight_sip) );
        --heigtboxsmal_NEW:calc( ( ((100vw / 2) - 3px) + var(--boxheight_sip) ) / 3 );

        --heightbox_file: calc( var(--heigtbox_NEW) / 2 );
        --heightbox_file_neg: calc( ( var(--heightbox_file) / 2 ) -  calc( var(--heightbox_file) - 10px ) );

        --halfsize:calc( var(--heigtbox_NEW) / 2 );
        --halfsize_neg:calc( ( var(--heigtbox_NEW) / 2 ) -  var(--heigtbox_NEW) );
    }
}

@media screen and (max-width: 600px) {
    :root {
        --boxheight_sip: 25px;
    
        --widthbox_NEW:calc( (100vw) - 3px );
        
        --heigtbox_NEW:calc( var(--widthbox_NEW) + var(--boxheight_sip) );
        --heigtboxsmal_NEW:calc( ( ((100vw / 2) - 3px) + var(--boxheight_sip) ) / 3 );

        --heightbox_file: calc( var(--heigtbox_NEW) / 2 );
        --heightbox_file_neg: calc( ( var(--heightbox_file) / 2 ) -  calc( var(--heightbox_file) + 50px ) );

        --halfsize:calc( var(--heigtbox_NEW) / 2 );
        --halfsize_neg:calc( ( var(--heigtbox_NEW) / 2 ) -  var(--heigtbox_NEW) );
    }
}

#listing24b{
    width: 100%;
    max-width: 100vw;
    font-size:15px;
	line-height: 19px;
    padding:0px;
    margin: 0px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    -webkit-transition:all 0s!important;
	-moz-transition:all 0s!important;
	-o-transition:all 0s!important;
	transition:all 0s!important;
}
#listing24b .list24_coverTitle,
#listing24b .list24_cover{
    overflow: hidden;
    position: relative;

    width: var(--widthbox_NEW);
    height: var(--heigtbox_NEW);

    display:inline-block;

    margin-bottom:1px;
    margin-right:3px;
}

#listing24b .list24_coverCount{
    margin-right:3px;
}


#listing24b .list24_coverTitle.infotext{
    /**
    width: var(--widthbox_NEW);
    **/
    width: calc( 100vw - ( 3px ) );

    /**
    height: var(--heigtboxsmal_NEW)!important;
    min-height: var(--heigtboxsmal_NEW);
    max-height: var(--heigtboxsmal_NEW);
    **/
    height: auto!important;

    padding:10px;
    overflow: hidden;
    overflow-y: auto;

    background-color: var(--color-kontrast1)!important;
    vertical-align: top;
    
    -webkit-border-radius:6px 6px 0px 0px;
	-moz-border-radius:6px 6px 0px 0px;
	border-radius:6px 6px 0px 0px;
    
    margin-bottom:3px;

    font-size: 1.1em; 
}



#listing24b .list24_cover .info{
    position: absolute;
    bottom:0px;
    left: 0px;
    width: 100%;
    line-height: 19px;

    
    height: 25px;
    min-height: 25px;
    
    max-height: var(--heigtbox_NEW);

    background-color: rgba(109, 109, 109, 0.4);

    overflow: hidden;
    padding:3px;

    overflow: hidden;
    overflow-y: scroll;

    font-size: 0.8em;

    text-align: center;
}
#listing24b .list24_cover:hover > .info{
    background-color: rgba(109, 109, 109, 1);
}

#listing24b .list24_cover .cont{
    text-align: center;
    width: 100%;
    height: var(--widthbox_NEW);
    line-height: var(--widthbox_NEW);
    font-size: 1em;
    padding:0px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-sehrdunkel-20);

    display: flex;
    object-fit: contain;
    text-align: center;
    justify-content: center;
    align-items: center;
}
#listing24b .list24_cover .cont .overlay{
    position:absolute;
    z-index: 99;
    width: 100%;

    text-shadow: 1px 1px 1px black;

    display: flex;
    object-fit: contain;
    text-align: center;
    justify-content: center;
    align-items: center;
}




#listing24b .list24_cover .cont *{
  
    width: var(--widthbox_NEW);
    height: var(--widthbox_NEW);
    max-height: var(--widthbox_NEW);
   
    display: flex;
    object-fit: contain;
}


#listing24b .list24_cover.format-file .cont{
    background-image:url('/src/img/icon_download_w.png');
	background-repeat:no-repeat;
	background-position:top+15px center;
	background-size:20px;
}
#listing24b .list24_cover .cont.video{
    z-index: +999999;
    /**background-image:url('/src/img/view_w.png');**/
    background-image:url('/src/img/tab_w.png');
	background-repeat:no-repeat;
	background-position:top+15px center;
	background-size:20px;
}
#listing24b .list24_cover .cont video{
    z-index: 999999999999999999999999999999999999999999;
}

#listing24b .list24_cover .cont .clip{
    background-image:url('/src/img/play_w2.png');
	background-repeat:no-repeat;
	background-position: center center;
	background-size:60px;
}
#listing24b .list24_cover .cont.audio{
    /**background-image:url('/src/img/sound.png');**/
    background-image:url('/src/img/ohr_w.png');
	background-repeat:no-repeat;
	background-position:top+15px center;
	background-size:30px;
}
#listing24b .list24_cover .cont.url{
    background-image:url('/src/img/link_w.png');
	background-repeat:no-repeat;
	background-position:top+15px center;
	background-size:20px;
}
#listing24b .list24_cover.format-file .cont.pdf{
    /**background-image:url('/src/img/view_w.png');**/
    background-image:url('/src/img/tab_w.png');
	background-repeat:no-repeat;
	background-position:top+15px center;
	background-size:20px;
}



#listing24b .list24_cover .cont .audiocontent{
    display: inline-block;
    padding:5px!important;
    margin: 0px!important;
    width: 100%!important;
    height: 100%!important;
    vertical-align: middle!important;
    text-align: center!important;
}

#listing24b .list24_cover .cont .audiocontent audio{
    display: inline-block;
    line-height: 15px!important;
  
    padding:5px!important;
    margin: 0px!important;
    width: 100%!important;
    height: 100%!important;

    margin-top: var(--halfsize_neg)!important;
    
    vertical-align: middle!important;
    text-align: center!important; 
}

/** höhe auf verkleinert **/
#listing24b .list24_cover.format-file,
#listing24b .list24_cover.format-file .cont,
#listing24b .list24_cover.format-file .cont *,
#listing24b .list24_cover.format-file .cont .audiocontent audio {
    height: var(--heightbox_file);
    line-height: calc( var(--heightbox_file) / 1.2 );
}
#listing24b .list24_cover.format-file .cont .audiocontent audio{
    margin-top: var(--heightbox_file_neg)!important;
}









#listing24b .edit{
    position: absolute;     
    width: 50px;
    height: 50px;

    z-index: 999999;
    top:0px;
    right: 0px;

    text-align: center;
    vertical-align: middle;
    font-size: 40px;
    line-height: 42px;
    font-weight: bold;

    cursor: pointer;
    
    color: rgba(172, 170, 170, 1);
}
#listing24b .edit:hover{
    color: rgba(255, 255, 255,1);
}


#listing24b .editicons{
    display: none;

    position: absolute;
    z-index: 9999999999999999999;
    width: auto;
    /**
    min-width: 30px;
    min-height: 50px;
    **/
    


    text-align: right;

    top:15px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.9);
    
    border-radius:6px 0px 0px 6px;
    -webkit-border-radius:6px 0px 0px 6px;
	-moz-border-radius:6px 0px 0px 6px;

    padding:6px;

    font-size: 15px;
    line-height: 15px;
    font-weight:normal;
}

#listing24b .editicons .adminicons_overflow{
    font-size: 15px;
    line-height: 15px;
    font-weight:normal;
    white-space: nowrap;
    text-align: right;
    padding-top:2px;
    border-top:1px solid rgba(255, 255, 255, 0.5);
    margin-top:10px;
}


#listing24b .adminicons_overflow span{
	width:100%;
	display:inline-block;
	padding:2px 2px;
    white-space: nowrap;
	cursor: pointer;
}
#listing24b .adminicons_overflow span:hover{
	background-color: var(--color-hauptfarbe);
	color:#FF0000;
}












#listing24b .editicons .ic{
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 48px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    border-left:1px solid #000;
}
#listing24b .editicons .ic div{
    margin-top:-36px;
    border-left:none;
    max-width: 50px;
    overflow: hidden;
}

#listing24b .editicons .ic::before{
    cursor: pointer;
    background-color: var(--color-trenner-rahmen-50);
    content: "";
    display: block;

    width: 60%;
    padding-left:35%;

    height: 60%;
    margin-top:25%;

    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-image: url('/src/img/svg/database-arrow-down.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-image: url('/src/img/svg/database-arrow-down.svg');
}
 


#listing24b .editicons .ic.edit.nowedit{
    background-color: #ff0000;
}
#listing24b .editicons .ic.edit::before {
    mask-image: url('/src/img/svg/image-edit.svg');
    -webkit-mask-image: url('/src/img/svg/image-edit.svg');
}


#listing24b .editicons .ic.vote::before {
    mask-image: url('/src/img/svg/thumb-up.svg');
    -webkit-mask-image: url('/src/img/svg/thumb-up.svg');
}
#listing24b .editicons .ic.fav::before {
    mask-image: url('/src/img/svg/heart-cog-outline.svg');
    -webkit-mask-image: url('/src/img/svg/heart-cog-outline.svg');
}

#listing24b .editicons .ic.download::before {
    mask-image: url('/src/img/svg/file-download.svg');
    -webkit-mask-image: url('/src/img/svg/file-download.svg');
}

#listing24b .editicons .ic.share::before {
    mask-image: url('/src/img/svg/share-variant.svg');
    -webkit-mask-image: url('/src/img/svg/share-variant.svg');
}




#listing24b .editicons .ic.share.activ::before,
#listing24b .editicons .ic.vote.activ::before,
#listing24b .editicons .ic.fav.activ::before,
#listing24b .editicons .ic.edit:hover::before,
#listing24b .editicons .ic.vote:hover::before,
#listing24b .editicons .ic.fav:hover::before,
#listing24b .editicons .ic.download:hover::before{
	background-color: var(--color-immergruen);
}
