﻿/* General styles for all menus */
/* https://tympanus.net/codrops/2013/04/17/slide-and-push-menus/ */

/*.help-contents {
    position: fixed;
    bottom: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
}*/

.help-spmenu {
    background: #47a3da;
    position: absolute;         /* 2023-12-20 - DP - changed from fixed to allow scrolling (5979)*/
    margin-top : 55px;
}
    .help-spmenu button {
        margin-top : -50px;
        margin-right: 20px;
        float: right;
    }

    .help-spmenu div {
        color : white;
        padding: 10px;
    }

    .help-spmenu h3 {
        color: #afdefa;
        font-size: 1.9em;
        padding: 20px;
        margin: 0;
        font-weight: 300;
        background: #0d77b6;
    }

    .help-spmenu a {
        display: block;
        color: #fff;
        font-size: 1.1em;
        font-weight: 300;
    }

        .help-spmenu a:hover {
            background: #258ecd;
        }

        .help-spmenu a:active {
            background: #afdefa;
            color: #47a3da;
        }

/* Orientation-dependent styles for the content of the menu */

.help-spmenu-vertical {
    width: 33%;
    height: 100%;
    top: 0;
    z-index: 1000;
}

    .help-spmenu-vertical a {
        border-bottom: 1px solid #258ecd;
        padding: 1em;
    }

.help-spmenu-horizontal {
        width: 100%;
        height: 150px;
        left: 0;
        z-index: 1000;
        overflow: hidden;
    }

    .help-spmenu-horizontal h3 {
        height: 100%;
        width: 20%;
        float: left;
    }

    .help-spmenu-horizontal a {
        float: left;
        width: 20%;
        padding: 0.8em;
        border-left: 1px solid #258ecd;
        }

/* Vertical menu that slides from the left or right */

.help-spmenu-left {
    left: -33%;
}

.help-spmenu-right {
    right: -33%;
}

.help-spmenu-left.help-spmenu-open {
    left: 0px;
}

.help-spmenu-right.help-spmenu-open {
    right: 0px;
}

/* Horizontal menu that slides from the top or bottom */

.help-spmenu-top {
    top: -150px;
}

.help-spmenu-bottom {
    bottom: -150px;
}

.help-spmenu-top.help-spmenu-open {
    top: 0px;
}

.help-spmenu-bottom.help-spmenu-open {
    bottom: 0px;
}

/* Push classes applied to the body */

.help-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.help-spmenu-push-toright {
    left: 33%;
}

.help-spmenu-push-toleft {
    left: -33%;
}

/* Transitions */

.help-spmenu,
.help-spmenu-push {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Example media queries */

@media screen and (max-width: 55.1875em) {

    .help-spmenu-horizontal {
        font-size: 75%;
        height: 110px;
    }

    .help-spmenu-top {
        top: -110px;
    }

    .help-spmenu-bottom {
        bottom: -110px;
    }
}

@media screen and (max-height: 26.375em) {

    .help-spmenu-vertical {
        font-size: 90%;
        width: 190px;
    }

    .help-spmenu-left,
    .help-spmenu-push-toleft {
        left: -190px;
    }

    .help-spmenu-right {
        right: -190px;
    }

    .help-spmenu-push-toright {
        left: 190px;
    }
}
