
body {
    /*font-family: 'Mulish';*/
    margin: 0;
}



.disable-scroll {
    overflow: hidden;
}
#pdfBookView {
    position: fixed;
    top: 33px;
    right: 180px;
    background-color: transparent;
    border: none;
    outline: none;
    height: 40px;
    width: 40px;
    z-index: 10;
}

    #pdfBookView svg {
        height: 40px;
        width: 40px;
        z-index: 10;
    }

.modal-pagination_book {
    position: absolute;
    background: transparent;
    top: 50%;
}
.gallery-container {
    padding: 0 !important;
    flex-direction: column;
    position: relative;
    min-height: 94vh;
}
.gallery-container:not(.modal-open) {
        /*padding-right: 10% !important;*/
    }
.gallery-container.modal-open {
    padding-right: 10% !important;
}
.gallery-header {
    max-width: 3000px;
/*    min-height: 310px;
*/    /*-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;*/
    /* padding: 20px 40px 20px 0px; */
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    margin: auto;
    //position: absolute;
    background-position: 50% 50%;
    z-index: 0;
}

    .gallery-header::before {
        content: "";
        height: 60%;
        //background: linear-gradient(180deg, rgba(196, 196, 196, 0) 0%, rgba(233, 233, 233, 0.75) 100%);
        position: absolute;
        right: 0px;
        bottom: 0px;
        left: 0px;
       /* border-radius: 0px 0px 10px 10px;*/
    }

.channel-event-group{
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.gallery-header h1 {
    color: var(--custom-col);
    font-weight: bold;
    font-size: 36px;
    /* text-transform: capitalize; */
    margin-top: 0;
    margin-bottom: 11px;
}

    .gallery-header p {
        font-weight: 700;
        /*color: #f8f8f8;*/
        font-size: 16px;
        line-height: 24px;
        /* text-transform: capitalize; */
        padding: 0.2em;
    }

.header-avatar {
    display: flex;
    flex-direction: column;
    position: relative;
    /* bottom: -100px; */
    /* left: 0; */
    /* right: 0; */
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.manage-image-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    float: right;
}
    .header-avatar img {
        width: 104px;
        height: 104px;
        /* margin-bottom: 10px; */
        -webkit-border-radius: 52px;
        -moz-border-radius: 52px;
        border-radius: 52px;
        object-fit: cover;
        border-color: var(--custom-col);
        border-width:medium;
        border-style: solid;
    }

    .header-avatar p {
        color: black;
        text-transform: lowercase;
        font-size: 20px;
        font-weight: bold;
        margin-top: 13px;
    }

.gallery-actions {
    display: flex;
    width: 100%;
    max-width: 3000px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin: auto;
    margin-top: 100px;
}

    .gallery-actions .back-btn {
        outline: none;
        border: none;
        background-color: transparent;
        width: 20px;
        height: 20px;
        padding: 0;
        display: none;
    }

    .gallery-actions button {
        background-color: transparent;
        outline: none;
        border: none;
    }

        .gallery-actions button:nth-child(1) {
            margin-right: 10px;
        }

.gallery-grid {
    display: grid;
    /* gap: 1rem; */
    grid-template-columns: repeat(auto-fill, minmax(159px, 1fr));
    grid-template-rows: repeat(auto-fill, 142px);
    max-width: 3000px;
    margin-top: 28px;
    margin-left: auto;
    margin-right: auto;
    transition: all .5s;
    padding:  2px;
    min-height: stretch;
}
.gallery-exhibition .gallery-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 3000px;
    margin-top: 28px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-exhibition .gallery-grid .gallery-item{
    max-width: 200px;
    max-height: 200px;
}
img .exhibition-item {
    max-width: 33%;
    max-height: 300px;
}
p.exhibition-item {
    padding: 10px;
    white-space: pre-wrap;
}
.gallery-exhibition {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    /* margin-top: 40px; */
    transition: all .5s;
    margin-left: auto;
    margin-right: auto;.gall
}

.gallery-exhibition-item p{
    white-space: pre-line;
    padding-top: 1em;
}

.gallery-exhibition-item img {
    padding-right: 1em;
    padding-top: 1em;
    max-width: 35vw; 
}
.gallery-item {
    /*-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;*/
    cursor: pointer;
    /* max-height: 142px; */
    border: 2px solid var(--custom-col);
    border-radius: 8p;
}

.gallery-item:hover {
    border: 2px solid #9530D8;
}
.institution-gallery-grid-name {
    cursor: pointer;
    max-width: 400px;
    text-wrap: auto;
    line-break: anywhere;
}
a.institution-gallery-link:hover .child,
a.institution-gallery-link:focus .child {
    transform: scale(1.1);
}
.gallery-item-private {
    border: 2px solid red !important;
}
.gallery-folder-item:hover {
    border: 4px solid var(--custom-col);
    
}

.gallery-toc-item:hover {
    border: none;
    border: 2px solid #9530D8;
}
.gallery-toc-item {
    /*border: none;*/
    background-color: var(--custom-col);
    color: var(--custom-text-col);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: 2px solid white;
}

div.gallery-toc {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding: 2px;
    justify-content: space-evenly;
}

.gallery-item img {
    /* width: 100%; */
    /* height: 100%; */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    object-fit: cover;
}

.detail-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 40px auto 40px 20px;
}

    .detail-tabs .tab {
        outline: none;
        border: none;
        background-color: transparent;
        padding: 0;
        color: black;
        font-size: 17px;
        margin-right: 15px;
    }

    .detail-tabs .selected {
        border-bottom: 1px solid black;
    }

.bottom-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    z-index: 10;
    background-color: transparent;
    left: 0;
    right: 0;
    margin: 0 auto;
}

    .bottom-links a {
        font-weight: 600;
        font-size: 14px;
        line-height: 18px;
        color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

        .bottom-links a:nth-child(1) {
            margin-right: 40px;
        }

.gallery-modal {
    position: fixed;
    z-index: 1002;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    overflow: scroll;
    height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
}

.gallery-modal-slide {
    flex-direction: row !important;
    justify-content: space-around!important;
}

.gallery-modal .close-btn {
        /* position: fixed; */
        top: 40px;
        right: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 40px;
        width: 40px;
        z-index: 10;
    }
    .gallery-modal #pause-btn {
        position: fixed;
        top: 90px;
        right: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 40px;
        width: 40px;
        z-index: 10;
    }
    .gallery-modal #back-btn {
        position: fixed;
        top: 150px;
        z-index: 4;
        right: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 40px;
        width: 40px;
        z-index: 10;
    }
    .gallery-modal .slide-fwd-btn {
        position: fixed;
        top: 190px;
        right: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 40px;
        width: 40px;
        z-index: 10;
    }
.gallery-modal .togglePeople {
    position: fixed;
    top: 240px;
    right: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    height: 40px;
    width: 40px;
    z-index: 10;
}
    .gallery-modal .play-btn {
        position: fixed;
        top: 90px;
        right: 40px;
        background-color: transparent;
        border: none;
        outline: none;
        height: 40px;
        width: 40px;
        z-index: 10;
    }

    .gallery-modal h1 {
        color: white;
        font-size: 22px;
        font-weight: 600;
        line-height: 28px;
        text-align: center;
        margin: 40px 0;
    }

.gallery-modal-content {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: flex-start;
    width: 100%;
    max-height: 90vh;
    min-height: 90vh;
    /* margin-bottom: 20px; */
}

    .gallery-modal-content button {
        background: transparent;
        outline: none;
    }

    .gallery-modal-content .large-img {
        /* max-width: 915px;*/
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        min-height: 90vh;
        max-height: 100vh;
        object-fit: contain;
    }
    
    .gallery-modal-content .post-info {
        border: 1px solid white;
        -webkit-border-radius: 26px;
        -moz-border-radius: 26px;
        border-radius: 26px;
        display: flex;
        flex-direction: column;
        background: transparent;
        /*height: auto;*/
        

        /*width: 339px;*/
        /*min-height: 50vh;*/
        /*max-height: 80vh;*/
        min-width: 20%;

        margin-left: 30px;
        /* overflow-y: scroll; */
    }

.gallery-modal .gallery-modal-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    justify-content: space-around;
}

    .gallery-modal .gallery-modal-tabs .tab {
        outline: none;
        background: transparent;
        color: white;
        font-size: 17px;
        font-weight: normal;
        line-height: 21px;
        margin-right: 10px;
        border: solid 0px;
        position: relative;
        cursor: pointer;
        /* overflow: auto; */
        padding: 0;
    }

.modal-pagination {
    position: absolute;
    background: transparent;
    top: 50%;
}
.modal-pagination:focus {
    position: absolute;
    background: transparent;
    top: 50%;
    border: thin white groove;
}

.back-btn {
    left: 10px;
    z-index: 4;
    border: none;
}

.forward-btn {
    right: 10px;
    z-index: 4;
    border: none;
}

.selected-tab {
    border-bottom: 1px solid transparent !important;
}

.comments-tab:focus {
    border: thick white groove !important;
}
.add-comment:focus {
    border: thick white groove !important;
}
#togglePeople:focus {
    border: thick white groove !important;
}
.add-comment:focus {
    border: thick white groove !important;
}
:focus-visible {
    border: thick white groove !important;
}

.details-tab:focus {
    border: thick white groove !important;
}
.people-tab:focus {
    border: thick white groove !important;
}


.comments {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    overflow-y: auto;
    /* overflow-x: clip; */
    margin-bottom: 26px;
}

.comment {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
    border-bottom: 0 !important;
}



.comment-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comment-header {
    display: inline-flex;
    flex-direction: row;
}

.comment-author {
    color: white;
    margin: 0;
    margin-right: 5px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
}

.comment-date {
    color: white;
    font-weight: 400;
    font-size: 10px;
    margin: 0;
    line-height: 1;
}

.comment-text {
    color: white;
    font-weight: 200;
    font-size: 15px;
    margin: 0;
    max-width: 80vw;
    word-break: break-word;
}

.gallery-comment-author {
    margin: 0;
    margin-right: 5px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
}
.gallery-comment-date {
    
    font-weight: 400;
    font-size: 10px;
    margin: 0;
    line-height: 1;
}

.galkery-comment-text {
    
    font-weight: 200;
    font-size: 15px;
    margin: 0;
    max-width: 80vw;
    word-break: break-word;
}
.comment-body button {
    background-color: transparent;
    outline: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin-top: 10px;
}

.reply-comment {
    margin-left: 30px;
}

.add-comment {
    text-transform: capitalize;
    color: white;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid white;
    padding: 15px;
    width: 150px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin-top: 56.5px;
    margin-bottom: 50px;
}

.comment-box {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

    .comment-box textarea {
        color: white;
        font-size: 14px;
        font-weight: 300;
        padding: 5px 15px;
        border: 1px solid white;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background: transparent;
        resize: none;
        outline: none;
    }

    .comment-box .checkbox {
        outline: none;
        border: none;
        background: transparent;
        padding: 0;
    }

    .comment-box div {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

        .comment-box div p {
            color: white;
            font-weight: 600;
            font-size: 17px;
            margin-left: 10px;
        }

    .comment-box .submit-btn {
        text-transform: capitalize;
        color: white;
        font-size: 17px;
        font-weight: 500;
        border: 1px solid white;
        padding: 15px;
        width: 150px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        margin-top: 16.5px;
        margin-bottom: 20px;
    }

.details {
    display: flex;
    flex-direction: column;
    padding: 40px 20px 0 20px;
    color: white;
    overflow: auto;
    -ms-overflow-style: none;
    
}

    .details span {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 30px;       
    }

        .details span .label {
            margin-right: 10px;
        }

    .details .edit-btn {
        text-transform: capitalize;
        color: white;
        font-size: 17px;
        font-weight: 500;
        border: 1px solid white;
        padding: 15px;
        width: 110px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        margin-top: 16.5px;
    }

details::-webkit-scrollbar {
    display: none;
}

.map-icons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

    .map-icons img {
        object-fit: contain;
    }

    .map-icons span {
        height: fit-content;
        align-items: center !important;
        margin-bottom: 0;
    }

        .map-icons span p {
            margin: 0;
            margin-left: 10px;
        }

    .map-icons button {
        padding: 0;
        border: none;
        outline: none;
        background-color: transparent;
        width: 25px;
        height: 25px;
    }

.map-container {
    width: 100%;
    height: 134px;
    margin-top: 10px;
}

    .map-container img {
        width: 100%;
    }
.horizontal-menu {
    display: flex;
    justify-content: space-evenly;
}
.site-crossbar {
    height: 83px;
    width: 100%;
    justify-content: space-around;
}

    .site-crossbar ul {
        width: 100%;
    }

#top-menu-skinny {
    display: none;
    background-color: var(--custom-col);
    color: white;
    font-weight: 600;
    font-size: larger;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
#bottom-menu-skinny {
    display: none;
    background-color: var(--custom-col);
    color: white;
    font-weight: 600;
    font-size: larger;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}
.tags {
    display: flex;
    flex-direction: column;
    padding: 40px 20px 0 20px;
}

    .tags p {
        color: white;
        font-weight: 400;
        font-size: 17px;
        line-height: 21px;
        margin-bottom: 20px;
    }

    .tags input {
        border: 1px solid white;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        outline: none;
        padding: 10px 15px;
        margin-bottom: 15px;
        font-size: 14px;
        color: white;
        background-color: transparent;
        font-weight: 300;
    }

    .tags button {
        background-color: #4CAAA2;
        color: white;
        width: 111px;
        height: 52px;
        font-size: 17px;
        outline: none;
        border: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        margin-top: 10px;
    }

.people {
    flex-direction: column;
    padding: 40px 20px 0 20px;
}

.person {
    border: 1px solid white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 5px 10px;
    color: white;
    font-weight: 400;
    font-size: 17px;
    width: fit-content;
    margin-bottom: 25px;
}

.people .add-btn {
    text-transform: capitalize;
    color: white;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid white;
    padding: 15px;
    width: 150px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin-top: 16.5px;
}

@media only screen and (max-width: 1424px) {
    .gallery-modal-content .large-img {
        width: 700px;
    }
    .embedpdf {
        height: max-content;
    }
}

@media only screen and (max-width: 1200px) {
    .gallery-modal-content .large-img {
        width: 550px;
    }
    .embedpdf {
        height: max-content;
    }
}

@media only screen and (max-width: 1024px) {
    .gallery-modal-content .large-img {
        width: 500px;
        /* margin-bottom: 40px; */
    }
    .embedpdf {
        height: max-content
    }
    .horizontal-slider { display: none !important;}
    .wrapper {
        flex-shrink: 0;
    }

    .gallery-modal {
        /* justify-content: flex-start; */
    }
    #top-menu-skinny{
        display: block;
    }
    #bottom-menu-skinny {
        display: block;
    }
    .horizontal-menu {
        
        display: none;
        flex-direction: column;
        overflow: visible;
        justify-content: space-evenly;
    }
    .horizontal-sub-menu {
        position: relative !important;
        background-color: var(--custom-background-col);
    }

    #profile-items {
        width: unset !important;
    }
    #top-menu{
        width: 80% !important;
        overflow-y:visible;
    }
    .top-arrows {
        width: 10% !important;
        display: flex;
        flex-direction: column;
        justify-content: space-around;

    }
    .site-crossbar {
        height: auto;
        justify-content: space-between;
        overflow-y: visible;
    }
        .site-crossbar ul {
            
            width: 90%;
            overflow: visible;
        }
}
.top-arrows {
    display: none;
}

#top-menu {
    margin-top: auto;
    margin-bottom: auto;
    /* margin-left:10px; */
    width: 100%;
}
.horizontal-menu__item {
    position: relative;
    z-index: 1000;
    /*width: 100%;*/
}

.horizontal-menu__link {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    /*width: 100%;*/
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: transparent;
    border-radius: 8px;
    color: var(--custom-col);
    border: none;
    border-bottom: 1px solid #e2e2e2;
    text-decoration: none;
    transition: all .2s ease-in-out;
    
}

.horizontal-menu__link svg {
    width: 24px;
    height: 24px;
    fill: #7e7e7e;
    margin-right: 1rem;
    transition: all .2s ease-in-out;
}

.horizontal-menu__link img {
    width: 24px;
    height: 24px;
    fill: #7e7e7e;
    margin-right: 1rem;
    transition: all .2s ease-in-out;
}

.horizontal-menu__link span {
    font-weight: 600;
    font-size: .95rem;
}

.horizontal-menu__link:hover {
    /*background-color: transparent;*/
    text-decoration: none;
    color: #4b4b4b;
}

.horizontal-menu__link:hover svg {
    fill: var(--custom-col);
}
    .horizontal-menu__link svg {
        fill: white;
    }
.horizontal-menu__title {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
   /* width: 100%;*/
    padding: 1rem;
    background-color: var(--custom-col);
    color: white;
    font-weight: 600;
    font-size: .95rem;
}

@media only screen and (max-width: 760px) {
    .gallery-actions {
        justify-content: space-between;
    }

        .gallery-actions .back-btn {
            display: block;
        }

    .gallery-container {
        padding: 51px 20px 40px 20px;
    }

    .gallery-header h1 {
        font-size: 20px;
    }

    .gallery-header p {
        font-size: 14px;
    }

    .gallery-header {
/*        padding: 20px;*/
    }
    .embedpdf {
        height: max-content;
    }
    #pdf-canvas {
        height: 50vh;
    }
    .horizontal-slider {
        display: none;
    }
    .wrapper {
        flex-shrink: 0;
    }

}

@media only screen and (max-width: 430px) {
    .gallery-container {
        padding: 0 0 0 0;
    }

    .gallery-header {
        -webkit-border-radius: 0 0 20px 20px;
        -moz-border-radius: 0 0 20px 20px;
        border-radius: 0 0 20px 20px;
    }

        .gallery-header::before {
            border-radius: 0 0 20px 20px;
        }

    .header-avatar {
        bottom: -100px;
    }

        .header-avatar img {
            border-radius: 16px;
            -webkit-border-radius: 16px;
            -mozborder-radius: 16px;
            width: 156px;
            height: 157px;
        }

    .gallery-grid {
        /* padding: 0 20px; */
    }

    .bottom-links {
        display: none;
    }

    .detail-tabs {
        display: flex;
    }
}

@media only screen and (max-width: 1024px) {
    .gallery-modal-content {
         flex-direction: column;
         /* margin: 40px 0; */
    }

        .gallery-modal-content .post-info {
            margin-left: 0;
            max-width: 100%;
            /* max-height: 10vh; */
            min-width: 90%;
        }

        .gallery-modal-content .large-img {
            min-height: 200px;
        }
}

@media only screen and (max-width: 520px) {
    .gallery-modal-content .large-img {
        width: 300px;
        min-height: 200px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 380px) {
    .gallery-modal-content .post-info {
        /* width: 300px; */
    }
}
.video {
    /*object-fit: contain;*/
    max-height: 90vh;
    margin: auto;
    width: 100% !important;
    height: auto !important;
}

.gallery-title {
  /*  min-height: 300px;*/
  position: relative;
  /* overflow: hidden; */
  text-align: left;
  /*padding: -0.8em;*/
  max-height: fit-content;
  //white-space:pre-line;
  text-shadow: -0.1em -0.1em 0.2em #000, 0.1em 0.1em 0.2em #000, -0.1em 0.1em 0.2em #000, 0.1em -0.1em 0.2em #000;
}
div.gallery-title h1{
    text-align: center;
}

.rmButtonHolder {
    /* right: 100px; */
    z-index: 1;
    text-align: right;
    margin: 0;
    padding-right: 20px;
    /*max-height: 2em;*/
    display: flex;
    flex-direction: row;
  
    /* text-shadow: none; */
    /* padding: 30px 0; */
    /* "transparent" only works here because == rgba(0,0,0,0) */
    /* background-image: linear-gradient(to bottom, transparent, #f8f8f8); */
   /* color: white;*/
}
.rmButton {
    /*font-size: 14px;*/
    cursor: pointer;
    /*text-shadow: -0.05rem -0.05rem 0.1rem #000, 0.05rem 0.05rem 0.1rem #000, -0.05rem 0.05rem 0.1rem #000, 0.05rem -0.05rem 0.1rem #000;*/
}


.horizontal-slider {
    height: 100%;
    width: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 5px;
    cursor: pointer;
}
.horizontal-divider-top {
    height: auto;
    width: auto;
    display: inline-flex;
    flex-direction: row;
    flex-grow: 2;
}
.horizontal-divider-inner-center {
    width: 0;
    height: 100%;
    border-collapse: collapse;
    border: 1px dashed white;
}
.horizontal-divider-inner-left {
    width: 50%;
    height: 100%;
}
.horizontal-divider-inner-right {
    width: 50%;
    height: 100%;
}
.horizontal-divider-bottom {
    height: auto;
    width: auto;
    display: inline-flex;
    flex-direction: row;
    flex-grow: 2;
}
.horizontal-divider-button {
    height: auto;
    color: white;
    display: inline-flex;
    flex-direction: row;
}
.horizontal-divider-inner-slider {
    display: inline-flex;
    flex-direction: row;
}
.horizontal-divider-inner-slider img {
    width: 10px;
    margin: 2px;
    height: 10px;
}
#galleryImagePreview {
    display: flex;
    flex-direction: row;
}
#galleryMasterImagePreviewHeader {
    display: flex;
    flex-direction: row;
}
/*#galleryImageUploadButton {
    width: 100%*/
/* top: -100px; */
/*}

#galleryMasterImageUploadButton {
    width: 100%;*/
/* top: -100px; */
/*}*/
.galleryImageUploadButtonText {
    color: white;
    text-shadow: -0.1em -0.1em 0.2em #000, 0.1em 0.1em 0.2em #000, -0.1em 0.1em 0.2em #000, 0.1em -0.1em 0.2em #000;
}
/*#galleryImageUploadButtonWrapper {
    width: fit-content;*/
    /* position: absolute; */
    /* top: 10px; */
    /* right: 10px; */
    /*color: white;
}
#galleryImageButtonWrapper {
    width: fit-content;*/
    /* position: absolute; */
    /* top: 80px; */
    /* right: 10px; */
    /*color: white;
}
#galleryMasterImageButtonWrapper {
    width: fit-content;*/
    /* position: absolute; */
    /* top: 20px; */
    /* right: 250px; */
    /*color: white;
}
#galleryMasterImageButton {

}
#galleryMasterImageUploadButtonWrapper {
    width: fit-content;*/
    /* position: absolute; */
    /* top: 20px; */
    /* right: 10px; */
    /*color: white;
}

#galleryImageRevertChange {*/
    /* position: absolute; */
    /*z-index: 5;
    user-select: none;*/
    /* top: 100px; */
    /* right: 10px; */
/*}

#galleryMasterImageRemoveButtonWrapper {
    position: absolute;
    z-index: 5;
    user-select: none;
    top: 20px;
    left: 10px;
}

#galleryMasterImageRevertChange {*/
    /* position: absolute; */
    /*z-index: 5;
    user-select: none;*/
    /* top: 20px; */
    /* left: 230px; */
/*}*/

/*.comment-avatar {
    width: 57px;
    height: 57px !important;
    border-radius: 400px !important;
    margin-right: 12px;
}*/
.comment-avatar {
    z-index: 1;
    min-width: 50px;
    
}

    .comment-avatar img {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        object-fit: cover;
    }

.comment-details {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    justify-content: space-around;
}

.comments .comment {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 1px !important;
    padding-top: 0 !important;
    /*border: thin groove silver;*/
}
.comment-bubble-highlight {
    background-color: var(--custom-col);
    width: auto;
    padding: 10px;
    border-color: var(--custom-text-col);
    border-width: thin;
    border-radius: 10px;
    margin: 5px;
}
.comment-header {
    width: 100%;
    margin-top: 0 !important;
}
.comment-reply-box {
    width: 100%;
}
.comment-trail {
    width: 40px;
    /*height: 100%;*/
}
.comment-avatar .comment-trail-hdr {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: row;
}
    .comment-avatar .comment-trail-hdr .comment-trail-right {
        border-left: thin solid var(--custom-text-col);
    }

.comment-trail-first .comment-trail-top .comment-trail-left {
}
.comment-trail-top .comment-trail-right {
    border-left: thin solid var(--custom-text-col);
    border-bottom: thin solid var(--custom-text-col);
    border-bottom-left-radius: 10px;
}
.comment-trail-first .comment-trail-btm .comment-trail-right {
    border-left: thin solid var(--custom-text-col);
}
.comment-trail-first .comment-trail-btm{
    height: calc(100% - 25px);
}
.comment-trail-last .comment-trail-top .comment-trail-left {
}
.comment-trail-last .comment-trail-top .comment-trail-right {
    border-left: thin solid var(--custom-text-col);
    border-bottom: thin solid var(--custom-text-col);
}
.comment-trail-middle .comment-trail-top .comment-trail-left {
}
.comment-trail-middle .comment-trail-btm .comment-trail-right {
    border-top-left-radius: 10px;
}
.comment-trail-last .comment-trail-btm .comment-trail-right {
    border-top-left-radius: 10px;
}

.comment-trail-first .comment-trail-btm .comment-trail-right {
    border-top-left-radius: 10px;
}

.comment-reply {
    display: flex;
}
.comment-trail {
    border-collapse: collapse;
}

.comment-trail-left {
    height: 100%;
    width: 20px;
}
.comment-trail-right {
    height: 100%;
    width: 20px;
}
.comment-trail-top {
    height: 25px;
    display: inline-flex;
}
.comment-trail-btm {
    display: inline-flex;
}
.comment-trail-first {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.comment-trail-middle {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.comment-trail-last {
    height: 40px;
    display: flex;
    flex-direction: column;
}

/* Channel Comments*/

.channel-comment-avatar {
    z-index: 1;
    min-width: 50px;
}

.channel-comment-avatar img {
        width: 20px;
        height: 20px;
        border-radius: 10px;
        object-fit: cover;
    }

.channel-comment-details {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    justify-content: space-around;
}

.channel-comments .comment {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    /*border: thin groove silver;*/
}

.channel-comment-bubble-highlight {
    background-color: rgba(0, 0, 0, 0.2);
    width: auto;
    text-align: left;
    padding: 10px;
    border-radius: 10px;
    margin: 5px;
}

.channel-comment-header {
    width: 100%;
    margin-top: 0 !important;
}

.channel-comment-reply-box {
    width: 100%;
}

.channel-comment-trail {
    width: 40px;
    /*height: 100%;*/
}

.channel-comment-avatar .channel-comment-trail-hdr {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: row;
}

    .channel-comment-avatar .channel-comment-trail-hdr .channel-comment-trail-right {
        border-left: thin solid silver;
    }

.channel-comment-trail-first .channel-comment-trail-top .channel-comment-trail-left {
}

.channel-comment-trail-top .channel-comment-trail-right {
    border-left: thin solid silver;
    border-bottom: thin solid silver;
    border-bottom-left-radius: 10px;
}

.channel-comment-trail-first .channel-comment-trail-btm .channel-comment-trail-right {
    border-left: thin solid silver;
}

.channel-comment-trail-first .channel-comment-trail-btm {
    height: calc(100% - 25px);
}

.channel-comment-trail-last .channel-comment-trail-top .channel-comment-trail-left {
}

.channel-comment-trail-last .channel-comment-trail-top .channel-comment-trail-right {
    border-left: thin solid silver;
    border-bottom: thin solid silver;
}

.channel-comment-trail-middle .channel-comment-trail-top .channel-comment-trail-left {
}

.channel-comment-trail-middle .channel-comment-trail-btm .channel-comment-trail-right {
    border-top-left-radius: 10px;
}

.channel-comment-trail-last .channel-comment-trail-btm .channel-comment-trail-right {
    border-top-left-radius: 10px;
}

.channel-comment-trail-first .channel-comment-trail-btm .channel-comment-trail-right {
    border-top-left-radius: 10px;
}

.channel-comment-reply {
    display: flex;
}

.channel-comment-trail {
    border-collapse: collapse;
}

.channel-comment-trail-left {
    height: 100%;
    width: 20px;
}

.channel-comment-trail-right {
    height: 100%;
    width: 20px;
}

.channel-comment-trail-top {
    height: 25px;
    display: inline-flex;
}

.channel-comment-trail-btm {
    display: inline-flex;
}

.channel-comment-trail-first {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.channel-comment-trail-middle {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.channel-comment-trail-last {
    height: 40px;
    display: flex;
    flex-direction: column;
}

.comment-button {
    /*width: auto;*/
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.toggle-people {
    FONT-WEIGHT: 500;
    text-transform: capitalize;
    color: white;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid white;
    /* padding: 15px; */
    /* width: 150px; */
    border-radius: 30px;
    -webkit-border-radius: 30px;
    margin: 5px;
    /* margin-bottom: 50px; */
}
.center-div {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#page-count-container {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    color: white;
    display: flex;
    justify-content: space-between;
}
#pdf-current-page {
    padding-left: 10px;
    padding-right: 10px;
}
#pdf-total-pages {
    padding-left: 10px;
    padding-right: 10px;
}
#pdf-contents {
    text-align: center;
}
#pdf-canvas {
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
}
#imageDescText {
    text-align: left;
    max-width: 50%;
    white-space: pre-wrap;
    padding: 10px;
    margin-right:10%
}

#goToGallery {
    width: 100%;
}

a.post-channel-notification {
    display: block;
    text-align: center;
    color: white;
    text-shadow: -0.1em -0.1em 0.2em #000, 0.1em 0.1em 0.2em #000, -0.1em 0.1em 0.2em #000, 0.1em -0.1em 0.2em #000;
}
button.post-channel-notification {
    text-align: center;
    width: 100%;
}
a.channel-button {
    color: white;
    text-shadow: -0.1em -0.1em 0.2em #000, 0.1em 0.1em 0.2em #000, -0.1em 0.1em 0.2em #000, 0.1em -0.1em 0.2em #000;
}
a.post-channel-content {
    color: white;
    text-shadow: -0.1em -0.1em 0.2em #000, 0.1em 0.1em 0.2em #000, -0.1em 0.1em 0.2em #000, 0.1em -0.1em 0.2em #000;
}

.limit-text {
    margin-bottom: 0;
    -webkit-line-clamp: 5;
    display: -webkit-inline-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
    z-index: 999
}

.gallery_white {
    color: white;
    text-align: center;
    margin-top: 0.5em;
}

.pulse_once {
    animation-name: pulse;
    animation-delay: 5s;
    animation-iteration-count: 3;
    animation-duration: 5s;
}
.new-gallery-item {
    border: solid 5px rgba(0,128,0,1);
    /*animation-name: pulse;
    animation-delay: 5s;
    animation-duration:  1s;
    animation-iteration-count: infinite;*/
}
@-webkit-keyframes pulse-in {
    0% {
        -webkit-box-shadow: 0 0 0 0;
    }

    70% {
        -webkit-box-shadow: 0 0 0 20px inset;
    }

    100% {
        -webkit-box-shadow: 0 0 0 0;
    }
}
@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0;
    }

    70% {
        -webkit-box-shadow: 0 0 0 2px;
    }

    100% {
        -webkit-box-shadow: 0 0 0 0;
    }   
}
@keyframes jiggle {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}
@keyframes rotate3d {
    0% {
        transform: rotateY(360deg) rotateX(360deg) rotateZ(360deg)
    }

    50% {
        transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg)
    }



}

.gallery-toggle {
    /*border: thin solid silver;
    border-radius: 10px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;*/
    padding-top: 0.5rem;
    /*background-color: rg;*/
}
.gallery-toggle-click-private .gallery-folder-item {
    border: 2px solid red;
    border-radius: 10px;
}
.gallery-toggle-nohide {
    border: thin solid silver;
    border-radius: 10px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    background-color: transparent;
}

@media only screen and (min-width: 851px) {
    .site-menu-flyout-tab {
        display: none;
    }

    .gallery-menu {
        display: block;
    }

    .channel-actions-area {
        display: block;
    }

    .site-sidebar {
        display: block;
    }

    .header-avatar {
        display: block;
    }
}

   @media only screen and (max-width: 850px) {
        .site-menu-flyout-tab {
            background-color: var(--custom-col);
            display: block;
        }

        .gallery-menu {
            display: none;
        }

        .channel-actions-area {
            display: none;
        }

        .site-sidebar {
            display: none;
        }

        .header-avatar {
            display: none;
        }
    }

    .gallery-menu {
    }

    .channel-description {
        display: flex;
    }

    .channel-event-location {
        display: flex;
        flex-direction: column
    }

    .channel-event-line {
        display: flex;
    }

    .channel-event-details {
        flex-direction: row;
        display: flex;
        justify-content: space-around;
    }

        .channel-event-details span {
            margin: 0.5rem;
        }

    .homepage {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .highlight-notification {
        outline: thin solid silver;
        animation-name: pulse;
        animation-delay: 1s;
        animation-duration: 2s;
        animation-iteration-count: 2;
    }
.gallery-toggle-click-private {
    border: 0.2rem solid red !important;
}
.gallery-toggle-click, .institution-gallery-grid-img {
    border: 0.2rem solid var(--custom-col);
    border-collapse: none;
}
.is-active .svg-inline--fa {
    color: white !important;
}

footer.floating-footer {
    background-color: var(--custom-background-col);
    color: var(--custom-col);
    display: flex;
    
    width: 100%;
    padding: 0.5rem;
    /*height: 5rem;*/
    bottom: 1rem;
    right: 0;
    

 
}
    .institution-footer-links {
        margin: auto;
        display: flex;
    }
        .institution-footer-links a {
            margin-top: auto;
            margin-bottom: auto;
            margin-left: 1rem;
            margin-right: 1rem;
        }
.institution-footer-links a img {
    height: 4rem;
}
.institution-login{
    margin: 5px;
}
.institution-register {
    margin: 5px;
}
.institution-login:hover {
    background-color: transparent;
    color: var(--custom-col);
    outline: var(--custom-col) 2px solid;
    text-shadow: none;
}
.institution-register:hover {
    background-color: transparent;
    color: var(--custom-col);
    outline: var(--custom-col) 2px solid;
    text-shadow: none;
}

.content-image-wide{
    height: auto;
    width: auto;
}
.content-image-tall {
    height: 100%;
    width: auto;
}

.content-tags span {
    text-align: center;
    color: white;
}
.content-tags {
    margin: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.image-controls {
    justify-self: flex-end;
    margin-left: auto;
    align-content: center;
}
.isSubMenu{
    background-color: white;
}
.horizontal-menu__item.hasSubMenu{
    position: relative;
    
    flex-direction: row;
}

.horizontal-menu__item{

}
.horizontal-sub-menu {
    flex-direction: column;
    width: 200%;
    position: absolute;
    left: 0;
    right: 0;
}
ul.horizontal-sub-menu {
    z-index: 1000;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
    ul.horizontal-sub-menu li a:hover {
        background-color: #fcfbfb;
    }
    ul.horizontal-sub-menu li a {
        background-color: white;
        width: 100%
    }
#channel-title{
    margin-top: 5px;
    color: var(--custom-col);
    font-size: x-large;
    font-weight:900;
    
}
.institution-gallery-folder-button{
    margin-bottom: 10px;
}
img#myProfile.avatar {
    margin: 10px;
    object-fit: cover;
    height: 62px;
    width: 62px;
}
img#myProfile2.avatar {
    margin: 10px;
    object-fit: cover;
    height: 62px;
    width: 62px;
}
.image-reaction .reactionValue{
    color: white;
}

input::placeholder {
    font-weight: 900;
    color: black;
}

textarea::placeholder {
    font-weight: 900;
    color: black;
}

.gallery-item-portrait {
    margin: 1rem auto;
    width: auto;
    height: auto;
    max-width: fit-content;
}
.gallery-item-landscape {
    margin: 1rem auto;
    width: 100%;
    height: auto;
    
}

.institution-text {
    color: var(--custom-text-col) !important;
    fill: var(--custom-text-col) !important;
}

    a.institution-text  {
        color: var(--custom-text-col) !important;
        fill: var(--custom-text-col) !important;
    }
        .institution-text.horizontal-menu__link:hover {
            color: var(--custom-col) !important;
            fill: var(--custom-col) !important;
            background-color: var(--custom-text-col) !important;
        }

.institution-text {
    color: var(--custom-text-col) !important;
    fill: var(--custom-text-col) !important;
}

/*.institution-text:hover {
    color: var(--custom-col) !important;
    fill: var(--custom-col) !important;
    background-color: var(--custom-text-col) !important;
}*/

.member-item__data{
    margin-top:auto;
    margin-bottom: auto;
}
.member-item{
    margin-top: 0.5rem
}