﻿#page-wrapper {
    padding: 15px;
    min-height: 568px;
    background-color: white;
}


@media (min-width: 768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 15px;
        border-left: 1px solid #e7e7e7;
    }

    #main-wrapper {
        position: inherit;
        margin: 0 200px 0 0;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}

.rightbar {
    background-color: #eee;
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
}

#actionbar, #favourites {
    min-width: 176px; /*width of accordion menu*/
    top: 0;
    bottom: 0;
    margin: 0;
    min-height: 100%;
    padding: 0;
    display: table;
    position: relative;
    text-align: center;
}

    #favourites h3 {
        margin: 0;
        padding: 5px;
        background-color: black;
        color: white;
        font-size: 1.2em;
    }

    #favourites ul {
        list-style: none;
        text-align: center;
        padding: 0;
        margin: 5px 0;
    }

        #favourites ul:after {
            content: " ";
            display: block;
            clear: both;
        }

 table #favourites ul li {
    width: 85px;
    height: 70px;
    font-size: .9em !important;
}

#favourites ul li {
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    width: 85px;
    height: 70px;
    float: left;
    font-size: .9em;
    text-align: center;
    border: 1px solid black;
    white-space: normal;
}

    #favourites ul li a {
        display: inline-block;
        height: 100%;
        padding: 5px;
        font-size: .9em;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
        width: 100%;
    }


    #favourites ul li:nth-child(2n+2) {
        margin-right: 0;
    }

    #favourites ul li a:hover {
        color: white;
        background-color: blue;
        font-size: 1.0em;
    }



#actionbar .menuheader { /*CSS class for menu headers in general (expanding or not!)*/
    font: bold 14px Arial;
    color: white;
    background: black url(images/titlebar.png) repeat-x center left;
    text-transform: uppercase;
    padding: 4px; /*header text is indented 10px*/
    cursor: pointer;
    margin: 0;
}

#actionbar .submenu, .subheader { /*CSS class for menu headers in general (expanding or not!)*/
    font: bold 14px Arial;
    color: black;
    margin-bottom: 1px; /*bottom spacing between header and rest of content*/
    text-transform: uppercase;
    padding: 4px 0 4px 10px; /*header text is indented 10px*/
    border-bottom: 1px dotted #c0c0c0;
}

#actionbar .openheader { /*CSS class to apply to expandable header when it's expanded*/
    background-image: url(images/titlebar-active.png);
}

#actionbar ul { /*CSS for UL of each sub menu*/
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
}

    #actionbar ul li {
        padding-bottom: 3px; /*bottom spacing between menu items*/
        margin: 0;
    }

#optionslist, .optionslist {
    overflow: auto;
}

    #optionslist ul li {
        padding-bottom: 3px; /*bottom spacing between menu items*/
        position: relative;
    }

    #optionslist p {
        line-height: 1.2em;
        margin-left: 20px;
        text-align: justify;
    }

#actionbar ul li a {
    margin: 0;
    color: #808080;
    background: url(images/arrow.gif) no-repeat center left; /*custom bullet list image*/
    display: block;
    padding: 3px 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #dadada;
}


    #actionbar ul li a:hover { /*hover state CSS*/
        color: #A70303;
        /* color: white; */
        background-color: #CCCCFF;
        /* background-color: grey; */
    }
