    @media (max-width: 650px) { /* for phones */
        #iconLanguageBar {
            height: 44px;
        }
        #iconLanguageBar a.icon { /* this is the three-bar Menu Nav button */
            display: block;
        }
        #langOpts {
            line-height: 44px;
        }
        #menubar {
            display: none;
        }
        h1 {
            padding: 10px 5px 5px; 
        }
        #slideshow {
            margin: 5px 0 15px;
        }
        #topSlideshowControls button#begin  {
            margin-left: 6px;
            margin-right: 5px;
        }
        #topSlideshowControls button#toggle  {
            margin-left: 5px;
            margin-right: 6px;
        }
        #slideRotate {
            margin: 0 auto;
            /*max-width: 480px;*/
            /*max-height: 530px;*/
        }
        #slide img {
            width : 100%;
            padding: 0;
        }
    }
    @media (min-width: 651px) { /* for everything larger */
        #iconLanguageBar {
            height: 22px;
        }
        #iconLanguageBar a.icon { /* this is the three-bar Menu Nav button */
            display: none;
        }
        #langOpts {
            line-height: 22px;
        }
        #menubar {
            display: block;
        }
        h1 {
            padding: 20px 5px 10px; 
        }
        #slideshow {
            margin: 20px auto 20px;
        }
        #slideRotate {
            margin: 20px auto 30px;
            /*max-width: 512px;*/
            /*max-height: 530px;*/
        }
        #slide img {
            padding: 15px;
        }
    }

    /* Include padding and border in the total width and height of all the elements */
    * {
      box-sizing: border-box;
    }
    body {
        margin: 0;
        background-color: #FFFFFF;
    }
    #iconLanguageBar {
        display: block;
        width: 100%;
        background-color: #DDCCFF;
    }
    #iconLanguageBar a.icon { /* this is the three-bar Menu Nav button */
        /* display is set in @media */
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 9px;
        padding-bottom:9px;
        padding-left: 13px;
        padding-right: 13px;
        background-color: #DDDDDD;
    }
    #iconLanguageBar a.icon span { /* These are each of the three bars (see below for transform) */
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background-color: #111111;
        margin: 5px 0;
        transition: all .2s ease-in-out;
    }
    .bar1 {
        transform: translateY(7px) rotate(45deg);
    }
    .bar2 {
        transform: scale(0);
    }
    .bar3 {
         transform: translateY(-7px) rotate(-45deg);
    }
    #iconLanguageBar p#langOpts {
        /* line-height is set in @media */
        font-family: Arial, sans-serif;
        float: right;
        margin: 0px 20px;
    }
    #lang a {
        text-decoration: none;
    }
    a#lang-all {
        border: solid 1px #000000;
        padding: 0 3px;
        margin: 0 3px;
        text-decoration: none;
    }
    div#myLinks {
        display: none;
        background-color: #BDCDF0;
    }
    div#myLinks ul {
        line-height: 120%;
        list-style: none outside none;
        padding: 10px;
        padding-left: 16px;
    }
    div#myLinks ul li {
        color: #3399CC;
        font-family: Arial, sans-serif;
        font-size: 22px;
        padding: 6px;
    }
    div#myLinks ul li a {
        text-decoration: none;
    }
    div#myLinks ul li.active a {
        text-decoration: none;
        color: #000000;
    }

    /* top navigation menu bar - display on screens wider than  650px */
    #menubar {
        /*width: 790px;*/
        width: 100%;
        height: 35px;
        margin: 0px;
        padding: 0px;
        border-width: 2px 0px 2px 0px;
        border-color: #036523;
        border-style: solid none solid none;
        background-color: #BDCDF0;
        text-align: center;
    }
    #menubar ul {
        list-style-type: none;
        margin: 7px;
        padding: 0;
    }
    #menubar ul li {
        display: inline;
        padding: 6px 13px 5px 13px;  
        margin: 0;
        font-family: Arial, sans-serif;
        font-size: large;
        font-weight: bold;
        color: #115599;
    }
    #menubar ul li a {
        text-decoration: none;
        color: #115599;
    }
    #menubar ul li a:hover {
        text-decoration: underline;
        color: #036523;
    }
    #menubar ul li.active a {
        text-decoration: none;
        color: #000000;
    }
    #menubar ul li.active a:hover {
        text-decoration: none;
        color: #000000;
    }

    h1 {
        width: 100%;
        color: #3399CC;
        font-family: "Bradley Hand";
        font-size:150%;
        text-align: center;
        margin: 0;
        display: inline-block;
        background-color: #FFFFFF;
    }
    .caption {
        color: #3399CC;
        font-family: "Bradley Hand";
        text-align: center;
        margin: 12px 0;
    }
    .selected {
        font-weight: bold;
    }
    #separatorBar {
        width: 100%;
        height: 5px;
        background-color: #330000;
    }
    #slideshow {
        width: 100%;
        max-width: 770px;
        max-height: 670px;
        /* margin is set in @media */
        background-color: #FFFFFF;
    }
    #topSlideshowControls {
        display: block;
        width: 100%;
        padding: 0 0 10px;
        text-align: center;
        background-color: #FFFFFF;
    }
    #topSlideshowControls .prev-next-arrows {
        color: #000000;
        font-family: "Helvetica";
        font-size: x-large;
        padding: 0 5px;
    }
    #topSlideshowControls button {
        width: 65px;
        margin: 0 10px;
    }
    #topSlideshowControls #photoNum {
        color: #000000;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    #slideRotate { 
        width:100%;
        border: 0;
        background-color: #FFFFFF;
    }
    #slide {
        height: 512px;
        max-width: 512px;
        max-height: 512px;
        width:100%;
        max-width: 480px;
        max-height: 480px;
        margin: auto;
    }
    #slide img {
        /* width and padding are set in @media */
        height: auto;
        max-width: 480px;
        max-height: 480px;
        background-color: #EEEEEE;
    }
