#main {
    flex-direction: column;
}
.actual-body {
    width: inherit;
}
.pieces-slideshow {
    margin: 10px 18px;
}
body > div:last-child {
    width: 100% !important;
}

                        /* Portfolio Image Thumnails */
.SSSlideLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.SSSlideLink {
    flex: 0 18.75%;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #AB9;
    box-shadow: 0 0 3px #BCA;
    margin-bottom: 1.25%;
}
.SSSlideLink:hover {
    border-color: #9A8;
    box-shadow: 0 0 5px #897;
}
.SSSlideLink img {
    width: 106%;
    height: auto;
    margin: 0 -3%;
}
.thumbCaption {
    text-align: center;
    margin-top: 0;
}
@media (max-width: 968px) {
    .SSSlideLink {
        flex-basis: 23.75%;
    }
}
@media (max-width: 700px) {
    .SSSlideLink {
        flex-basis: 32.1%;
    }
}
@media (max-width: 530px) {
    .SSSlideLink {
        flex-basis: 48.75%;
    }
}

/* Portfolio Image Slides - containers */

.overlayWedge {
    position: fixed;
    min-height: 100vh;
    min-width: 100vw;
    background-color: rgba(83, 71, 65, 0.9);
}
.SlideShowContentPanel {
     width: 700px !important;
     height: 560px !important;
}
.SSSlide {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border: 10px solid #BBCCAA;
    border-radius: 6px;
    margin-right: -636px;
    position: relative;
    top: 22px;
    left: 22px;
}

/* Portfolio Slide Captions */
.SlideShowCaptionPanel {
    position: absolute;
    z-index: 94;
    top: -29px !important;
    left: 25px !important;
}
.SSSlideCaption {
    color: #FFFFFF;
    font-size: 16px;
    font-family: stretch;
}

/* The close button, first the container, then the text */
#u489 {
    position: absolute;
    top: -25px !important;
    width: 100px;
    background-color: #BBCCAA;
    border-radius: 6px;
    padding-bottom: 4px;
}
#u490-4 {
    z-index: 120;
    width: 90px;
    min-height: 16px;
    padding-top: 5px;
    color: #FFFFFF;
    line-height: 1.1;
    font-size: 18px;
    text-align: center;
    font-family: stretch;
    position: relative;
    margin-right: -20px;
    left: 4px;
}

/* Below: Previous button, Next button, and a running count */
#u492-4 {
    position: absolute;
    z-index: 124;
    width: 140px;
    min-height: 36px;
    padding: 6px;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    font-family: stretch;
    top: 1505px;
    left: 65px;
}
#u493-4 {
    position: absolute;
    z-index: 128;
    width: 140px;
    min-height: 36px;
    padding: 6px;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    font-family: stretch;
    top: 1505px;
    left: 655px;
}
#u517-4 {
    position: absolute;
    z-index: 132;
    width: 140px;
    min-height: 17px;
    padding: 6px;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    font-family: stretch;
    top: 1505px;
    left: 350px;
}
.SSFirstButton,
.SSPreviousButton,
.SSNextButton,
.SSLastButton,
.SSSlideLink,
.SSCloseButton {
    cursor: pointer;
}
.SSSlideLoading {
    background-image: url("../images/loading.gif");
    background-position: center center;
    background-repeat: no-repeat;
}
.SSSlideVisible img, .SSSlideHidden img {
    width: 100%;
}
#u510 {
    background: none;
}

@media only screen and (min-width: 630px) {
    .LightboxContent {
        top: 50% !important;
        left: 50% !important;
        margin-top: -290px !important;
        margin-left: -360px !important;
    }
    .SlideShowContentPanel {
         height: 560px !important;
         width: 700px !important;
    }
    .SSCloseButton {
        left: 620px !important;
    }
    #u517-4 {
        top: 578px !important;
        left: 284px !important;
    }
    #u493-4 {
        top: 578px !important;
        left: 539px !important;
    }
    #u492-4 {
        top: 578px !important;
        left: -1px !important;
    }
 }
@media only screen and (max-height: 630px) {
    .LightboxContent {
        top: 50% !important;
        left: 50% !important;
        margin-top: -250px !important;
        margin-left: -310px !important;
    }
    .SlideShowContentPanel {
         height: 480px !important;
         width: 600px !important;
    }
    .SSCloseButton {
        left: 520px !important;
    }
    #u517-4 {
        top: 498px !important;
        left: 234px !important;
    }
    #u493-4 {
        top: 498px !important;
        left: 517px !important;
    }
    #u492-4 {
        top: 498px !important;
        left: -26px !important;
    }
 }
@media only screen and (max-width: 720px) {
    .pieces-slideshow {
        margin: 0.75rem 0;
    }
    .LightboxContent {
        top: 50vw !important;
        left: 2vw !important;
        margin-top: auto !important;
        margin-left: auto !important;
    }
    .SlideShowContentPanel {
         height: 77.5vw !important;
         width: 96vw !important;
    }
    .SSSlide {
        box-sizing: border-box;
        border-width: 5px;
    }
    .SSCloseButton {            /* Close */
        display: none;
    }
    #u517-4 {                   /* Count */
        top: 79vw !important;
        left: 40vw !important;
    }
    #u493-4 {                   /* Next */
        top: 79vw !important;
        left: 80vw !important;
    }
                           
    #u492-4 {                   /* Previous */
        top: 79vw !important;
        left: 2vw !important;
    }
    .SSCloseButton, #u517-4, #u493-4, #u492-4 {
        width: auto;
        padding: 0;
    }
 }
@media only screen and (max-width: 440px) {
    .SlideShowCaptionPanel {
        top: -3rem !important;
    }
    .SlideShowCaptionPanel p {
        margin-left: -1.2rem;
        font-size: 14px;
    }
    .SlideShowCaptionPanel span {
        display: block;
        margin-left: 1.2rem;
    }
}