/* GLOBAL STYLES */
/* Remove FORMAT link */
#using a {
    visibility: hidden;
}

/* Fix menu height scrolling issue */
.menu {
    max-height: auto !important;
}

/* Hide horizontal scroll bar */
body {
    overflow-x: hidden !important;
}

/* HIGHLIGHT SLIDESHOW */
/* Show caption without using button */
.image-set-slideshow-item-caption {
    display: block !important;
}
.image-set-slideshow-show-caption {
    display: none !important;
}

/* Caption styles */
.image-set-slideshow-item-caption-contents {
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 10px !important;
}
.image-set-slideshow-item-caption {
    background-color: rgba(0,0,0,0.2);
    bottom: -34px !important;
}

/* STANDARD SLIDESHOW */
/* Slideshow arrow positioning and size */
#content_page_wrapper .format-slideshow--slideshow_01 .format-slideshow__arrow svg {
    width: 15px !important;
    height: auto !important;
}
@media only screen and (max-width: 600px) {
    #content_page_wrapper .format-slideshow--slideshow_01 .format-slideshow__arrow svg {
        width: 10px !important;
    }
}

/* Adjust arrow position for wider screens */
@media only screen and (min-width: 768px) {
    #content_page_wrapper .format-slideshow--slideshow_01 .format-slideshow__arrow--left {
        left: 50px !important;
    }
    #content_page_wrapper .format-slideshow--slideshow_01 .format-slideshow__arrow--right {
        right: 50px !important;
    }
}

/* Adjust caption position */
@media (max-width: 767px) {
    #content_page_wrapper .format-slideshow--slideshow_01 .format-slideshow__slide-content {
        position: absolute !important;
        width: 100%;
        height: auto !important;
        bottom: 5% !important;
        left: 0;
        right: 0;
        justify-content: center;
    }
} 

/* MISC ADJUSTMENTS */
/* Adjustments for small screens */
@media only screen and (max-width: 767px) {
    .sidebar .sidebar-wrap {
        position: relative !important;
        width: 90% !important;
        min-height: 62px;
        box-sizing: border-box;
        margin: 0px auto;
    }
}

/* Collapse for summary */
summary {
    cursor: pointer;
}
.read-more {
    font-weight: bold;
    text-decoration: underline;
    color: black;
    background-color: yellow;
    padding: 0 2px;
    font-style: italic;
}
summary:hover .read-more {
    color: red;
}
details[open] .read-more {
    background-color: transparent;
}

/* Sidebar styles */
.sidebar .sidebar-wrap {
    position: fixed;
    width: 250px;
    z-index: 9;
}

/* Hide thumbnails in slideshow */
.image-set-slideshow-thumbs-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    visibility: hidden;
}
