﻿body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 2vw;
    font-weight: 400;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    background-image: url(Photos/Starfield.jpg);
}

#apDivFloatRight {
    position: absolute;
    z-index: auto;
    height: 200px;
}

.twoColHybRtHdr #container {
    width: 95vw;
    margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
}

.twoColHybRtHdr #header {
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 10px;
    background-color: #FFF;
}

.twoColHybRtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 7vw;
    font-style: italic;
    font-weight: bolder;
    color: #FFF;
}

#MenubarWrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    #MenubarWrapper a {
        color: #FFF;
        font-size: 2.5vw;
        text-align: center;
        text-decoration: none;
        margin: 0 1em 0 1em
    }

        #MenubarWrapper a:hover {
            color: cyan;
            font-style: italic;
            font-size-adjust: 0.6;
        }
.wrapper {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 10px;
    background-color: #FFF;
}

.ImageBook {
    width: 9vw;
    height: auto;
    margin: 2px 1em 2px 1em;
    -webkit-box-shadeow: 10px 10px 5px #999;
}

.twoColHybRtHdr #sidebar1 {
    float: right;
    width: 14vw; /* the background color will be displayed for the length of the content in the column, but no further */
    height: 21vw;
    padding: 10px 0;
    margin: 1em 1em 1em 1em;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    border: medium ridge #CCC;
    border-radius: 20px;
    z-position: 2;
}

.twoColHybRtHdr #sidebar1 h3 {
        margin-left: 2em; /* the left and right margin should be given to every element that will be placed in the side columns */
        margin: .5em 1em 10px 2em;
        font-family: "Times New Roman", Times, serif;
        font-size: 2vw;
        font-style: italic;
        font-weight: 500;
    }

    .twoColHybRtHdr #sidebar1 p {
        margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
        margin-right: 10px;
        font-family: "Times New Roman", Times, serif;
        font-size: 1em;
    }

.twoColHybRtHdr #mainContent {
    width: 95vw;
    border: thick ridge #CCC;
    border-radius: 20px;
    margin: 12px 2em 1em 2em;
    padding-right: 5px;
    padding-left: 5px;
    background-image: url(Bkgnd/seamless-light-gray-material-background.jpg);
    z-index: 1;
}

.twoColHybRtHdr #footer {
    padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background: #DDDDDD;
}

    .twoColHybRtHdr #footer p {
        margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    }

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}

#header a {
    font-size: 3vw;
    font-size: 3vw;
    color: gold;
    font-style: italic;
    font-weight: 600;
}

/* place css fixes for all versions of IE in this conditional comment */
.twoColHybRtHdr #sidebar1 {
    padding-top: 30px;
}

.twoColHybRtHdr #mainContent {
    zoom: 1;
    padding-top: 15px;
}