.imgh{
    transition: transform .2s;
}

.imgh:hover{
    transform: scale(1.05);
}

button.st {
    cursor: pointer;
    background-color: transparent; 
    color: #007bff; 
    border: none; 
    border-radius: 0; 
    text-decoration: underline; 
}

#consent-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ced4da;
    padding: 20px;
    max-width: 600px;
    z-index: 9999;
}

button.st:hover {
    text-decoration: underline;
    color: #0056b3;
}

.rollkunstlauf {
    color: #000;
    transition: color .4s ease-out;
    transition: transform .2s;
}

.rollkunstlauf:hover {
    transform: scale(1.05);
}

.bottomspacing {
    margin-bottom: 4.6vh;
}

.topspacing {
    margin-top: 4.6vh;
}

.vis {
    visibility: visible;
}

.conta23 {
    width: 100%;
    margin: 0 auto;
}

#gallery-container {
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gall-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gall-image:hover {
    transform: scale(1.1);
}

.gallery img:hover {
    transform: scale(1.1);
}

.imgsc img {
    max-width: 175px; 
    max-height: 175px; 
    object-fit: cover; 
    border-radius: 25%;
    transition: transform .4s;
}

.imgsc img:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    object-fit: cover;
    border-radius: 25%;
}

.img-wrapper {
    display: inline-block;
    overflow: hidden;
    border-radius: 25%;
}

.imgs img {
    width: auto;
    height: auto;
    max-width: 20vw;
    min-width: 200px;
    max-height: 20vw;
    min-height: 200px;
    object-fit: scale-down;
    border-radius: 5%;
    transition: transform .2s;
}

.imgst img {
    width: auto;
    height: auto;
    max-width: 20vw;
    max-height: 20vw;
    object-fit: scale-down;
    border-radius: 3%;
}

.imgst .larg {
    align-content: center;
}

.imgst .larg img {
    width: auto;
    height: auto;
    max-width: 50vw;
    max-height: 50vw;
    object-fit: scale-down;
    border-radius: 3%;
}

.imgst .largs img {
    width: auto;
    height: auto;
    max-width: 30vw;
    max-height: 30vw;
    object-fit: scale-down;
    border-radius: 3%;
}


.imgst2 img {
    width: auto;
    height: auto;
    max-width: 25vw;
    max-height: 25vw;
    object-fit: scale-down;
    border-radius: 3%;
}

.cent {
    align-content: center;
}

.ce-gallery img {
    margin-top: 5px;
    margin-bottom: 5px;
    width: auto;
    height: auto;
    max-width: 20vw;
    max-height: 20vw;
    object-fit: scale-down;
    border-radius: 3%;
}

#gimg {
    max-width: 20vw;
    max-height: 20vw;
}

/*
.ce-textpic .ce-bodytext p {
    padding: var(--iwidth) 10px;
}
*/

/*
:root {
    --iwidth: 8vw;
}
*/
.cont {
    display: flex;
    justify-content: center;
}

#column-content {
    display: inline-block;
  }
  img {
    vertical-align: middle;
  }
  span {
    display: inline-block;
    vertical-align: middle;
}

.bordr {
    border-right: 1px solid lightgrey;
    display:inline
}

.img-wrapper2 img {
    width: auto;
    height: auto;
    display: inline-block;
    overflow: hidden;
    border-radius: 3%;
}



.pads {
    padding: 10px 0;
}

.flexwrap {
    width: 100%;
    height: 100%;
    margin-top: 5px;
}

table, th, td {
    border: 1px solid;
    padding: 5px;
}

.sca img{
    display:inline;
    float:left;
    padding:0px;
    margin: 0px;
    position: relative;
    width: auto !important;
    height: auto !important;
    max-width: 50vw !important;
    max-height: 50vw !important;
    object-fit: scale-down !important;
    border-radius: 3% !important;
}

.imgg {
    max-width: 22.5vw;
    max-height: 22.5vw;
    border-radius: 3px; 
    margin: 5px;
    scale: auto;
}


#mobile-error {
    display: none;
    text-align: center;
    font-size: 18px;
    color: red;
    padding: 20px;
}




@media only screen and (max-width: 1400px) {
    .imgst img {
        width: auto;
        height: auto;
        max-width: 25vw;
        max-height: 25vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .imgst2 img {
        width: auto;
        height: auto;
        max-width: 25vw;
        max-height: 25vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .sca {
        width: auto;
        height: auto;
        max-width: 50vw;
        max-height: 50vw;
        object-fit: scale-down;
        border-radius: 3%;        
    }

    #gimg {
        max-width: 30vw;
        max-height: 30vw;
    }
}

@media only screen and (max-width: 1200px) {
    .imgst img {
        width: auto;
        height: auto;
        max-width: 30vw;
        max-height: 30vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    #gimg {
        max-width: 40vw;
        max-height: 40vw;
    }

    #desktop-content {
        display: none;
    }
    
    #mobile-error {
        display: block;
    }
}

@media only screen and (max-width: 992px) {
    .center p {
        padding: 1px 1px;
    }

    .bordr {
        border-right: 0px;
        border-bottom: 1px solid lightgrey;
        margin-bottom: 15px;
    }

    .imgst img {
        width: auto;
        height: auto;
        max-width: 35vw;
        max-height: 35vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .imgst2 img {
        width: auto;
        height: auto;
        max-width: 50vw;
        max-height: 50vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .imgg {
        max-width: 40vw;
        max-height: 40vw;
        border-radius: 3px; 
        margin: 5px;
        scale: auto;
    }

    #gimg {
        max-width: 50vw;
        max-height: 50vw;
    }
}

@media only screen and (max-width: 768px) {
    .imgst img {
        width: auto;
        height: auto;
        max-width: 40vw;
        max-height: 40vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .imgg {
        max-width: 80vw;
        max-height: 80vw;
        border-radius: 3px; 
        margin: 5px;
        scale: auto;
    }

    #gimg {
        max-width: 80vw;
        max-height: 80vw;
    }

    #consent-banner {
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: none;
        border-radius: 0;
        padding: 10px;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 576px) {
    .imgst img {
        width: auto;
        height: auto;
        max-width: 45vw;
        max-height: 45vw;
        object-fit: scale-down;
        border-radius: 3%;
    }

    .imgg {
        max-width: 80vw;
        max-height: 80vw;
        border-radius: 3px; 
        margin: 5px;
        scale: auto;
    }

    #gimg {
        max-width: 80vw;
        max-height: 80vw;
    }

    .logoimg img {
        max-width: 55vw;
        height: auto;
    }
}


@keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
      transform: translateX(+100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}

@keyframes slideInMinFromTop {
    0% {
      transform: translateY(-15%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}

.leftslide {
    animation: .5s ease-out 0s 1 slideInFromLeft;
}

.rightslide {
    animation: .5s ease-out 0s 1 slideInFromRight;
}

.topslidemin {
    animation: .5s ease-out 0s 1 slideInMinFromTop;
}

tr.shown td.details-control {
	background: url('/typo3conf/ext/RIV-NRW/Resources/Public/Icons/minimize.png') no-repeat center center;
    background-size: 20px 20px;
}

td.details-control {
	background: url('/typo3conf/ext/RIV-NRW/Resources/Public/Icons/expand.png') no-repeat center center;
    background-size: 20px 20px;
	cursor: pointer;
}

#vereinstabelle_filter {
    margin-bottom: 5px;
}

div.select1 div.frame-type-header header{
    text-align: center;
    animation: .5s ease-out 0s 1 slideInMinFromTop;
}

div.select1 div.frame-type-text {
    border: 3px solid lightgray;
    border-radius: 5px;
    padding: 1%;
    margin-top: 1%;
    margin-bottom: 1%;
    animation: .5s ease-out 0s 1 slideInFromLeft;
}

div.select1 div.frame-type-textpic {
    border: 3px solid lightgray;
    border-radius: 5px;
    padding: 1%;
    margin-top: 1%;
    margin-bottom: 1%;
    animation: .5s ease-out 0s 1 slideInFromRight;
}

div.select1 div.frame-type-textpic img{
    margin-left: 10px;
    margin-right: 10px;
}

