/* test of hiding first level of memu bar, conditional on screen width */

#top-nav {
    position: relative;
    display: block;
/*     background:#87CEEB;   */     /* R colour 589 */
  /*  background:#87ceff;    */  /* R colour 590 */
    background:#AEEEEE;      /* R colour 521 */
}

#top-nav img#pines-wide {     /* the home icon */
    position: absolute;
    display: inline;
    top: 0px;
    left: 0px;
    z-index: 1;    
}

#top-nav img#home0 {     /* the home icon */
    position: relative;
    display: inline;
    top: 0px;
    left: 0px;
    z-index: 10;    
}

img#background {
    position: relative;
    overflow: hidden;
    background-color: green;
    z-index: 1;    
}

.pad1, .pad2 {
    position: relative;
    bottom: 14px;
    padding: 10px 2px 10px 2px;  /* TRBL */
    border: thin solid black;
    margin: 0px 0px;
    line-height: 1.0;
    font-size: 9pt;
}

.pad1 {
    display: none;
}

.pad2 {
    display: inline;
    background-color: #43CD80;  /* R colour 577 */
}

@media screen and (min-width: 340px) {
    .pad1, .pad2 {
        font-size: 11pt;
        padding-left: 4px;
        padding-right: 4px;        
    }
}

@media screen and (min-width: 900px) { /* laptop etc. */
    .pad1 {
        display: inline;
    }
}

