/* MediaGallery */
.hidden {display: none;}
.mediaGalleryWrapper {
    background-color: transparent !important;
    box-shadow: none;
}
.mediaGalleryWrapper .EditMediaItemPopup {
    background-color: #ffffff;
    padding: 0;
    padding: 20px;
}
.MediaGallery {
    display: flex;
    flex-flow: column;
}
.closeMediaGallery {
    position: absolute;
    right: 10px;
    top: 0px;
    color: #fff;
    font-size: 54px;
}
.imageWrapper {
    position: relative;
    display: block;
    margin: auto;
}
.MediaGallery #mediaGalleryPhoto{
    width: auto;
    max-height: 460px;
    max-width: 100%;
    background: #ddd;
}
.MediaGallery img[src*='/theme/photos/photo_private.svg'],
.thumbContainer img[src*='/theme/photos/photo_private.svg'] {
    background: #ddd;
}
#requestAccess {
    position: absolute;
    bottom: 0;
    border-color:#d50f00;
    background-color:#d50f00;
    font-weight:600;
    color:#ffffff;
    padding: 8px 14px;
    border-radius: 8px;
}
#requestAccess:hover {text-decoration: none; cursor: pointer;}

.mediaGalleryThumbs {display: flex;}
.mediaGalleryThumbs > * {flex: 1; max-width: 30%; margin: 0 1.6%; border-radius: 8px; transition: 0.2s ease-in-out;}
.mediaGalleryThumbs > *:hover {box-shadow: 0 0 12px -4px #999; transform: scale(1.1); cursor: pointer;}
.thumbContainer {position: relative; overflow: hidden; max-height: 70px;}
.thumbContainer img {width: 100%; height: 100%;}
.additionalPhotos {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,0,0,0.7);
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
}
.ViewProfilePhoto .openlargephoto {width: 100%; border-radius: 8px; overflow: hidden;}
.MediaGallery .preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10vh auto 0;
    height: 400px;
    box-sizing: border-box;
    width: 600px;
    max-width: 100%;
}
.MediaGallery .preview img {
    border-radius: 8px;
}
.MediaGallery .next, .MediaGallery .prev {
    font-weight: bold;
    font-size: 60px;
    color: #fff;
    text-shadow: 0px 0px 3px #000;
    user-select: none;
    z-index: 1;
    padding: 0 10px;
}
.MediaGallery #edit {
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.MediaGallery #isDefault {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
    color: #fff;
}
.MediaGallery #remove {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
}
.MediaGallery #remove:hover {
    text-decoration: none;
}
.MediaGallery .carousel {max-width: 500px; padding: 5px; margin: auto auto 30px; overflow: hidden; display: flex; justify-content: flex-start;}
.MediaGallery .carousel img {
    margin: 0 10px;
    border-radius: 8px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.MediaGallery .carousel img.active, .MediaGallery .carousel img:hover {
    cursor: pointer;
    box-shadow: 0 0 0 3px #d50f00;
}

@media (max-width: 768px) {

    .mediaGalleryWrapper {
        width: 100% !important;
        padding: 0;
    }
    .mediaGalleryWrapper div.content {
        background: none;
    }

    .MediaGallery #mediaGalleryPhoto {
        max-height: 60vh;
        width: 100%;
    }
    .MediaGallery .preview {
        padding: 10px;
        margin-top: 12vh;
        width: 100%;
    }
    .ViewProfile .private-no-media-image-wrapper svg {
        margin: auto;
    }
    .ViewProfile .photolink{
        margin-bottom: 10px;
    }
    .MediaGallery .next {
        position: absolute;
        right: 10px;
    }
    .MediaGallery .prev {
        position: absolute;
        left: 10px;
    }
    .closeMediaGallery {
        font-size: 34px;
    }
    .MediaGallery #remove {
        top: 20px;
        right: 20px;
    }
    .MediaGallery #isDefault {
        left: 20px;
    }
    .MediaGallery #edit {
        width: auto;
        margin: 0;
        padding: 10px 24px;
        border-radius: 8px;
        font-size: 16px;
        right: 20px;
    }
    body.viewProfile_jsp .ViewProfile .main.info {
        display: flex;
        flex-flow: row wrap;
    }
    body.viewProfile_jsp .ViewProfile .main.info a {
        width: 50%;
    }
    body.viewProfile_jsp .ViewProfile .main.info a img {
        width: 100%;
    }
    .mediaGalleryThumbs {
        flex-flow: row wrap;
        width: 47%;
        align-items: flex-start;
        margin: 0 0 0 3%;
    }
    .mediaGalleryThumbs > * {
        flex: auto;
        width: 46%;
        margin: 0 2%;
        max-width: 50%;
        height: 46%;
    }
    .mediaGalleryThumbs ~ p {
        display: inline-block;
        width: 50%;
        margin: 0 !important;
    }
    .thumbContainer {
        max-height: none;
    }

    div.blockUI.blockMsg div.popup.mediaGalleryWrapper .content {
        padding: 0;
    }

    div.blockUI div.popup.mediaGalleryWrapper div.content form {
        width: 100%;
    }

    .EditMediaItemPopup .preview img {
        display: block;
        width: 60%;
        margin: auto;
    }
    .EditMediaItemPopup .button {
        display: inline-block !important;
        padding: 14px;
        border-radius: 5px;
        border: none;
        font-weight: bold;
        margin: 0;
    }
}
/*11125.1.386.132.fc81bce*/