/*
    born_genealogy/styles.css 
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height:     100%;
    overflow-y: scroll;
}

body {
    height:           100%;
    font-family:      Georgia, "Times New Roman", serif;
    background-color: white;
    background-image: url( lightpaperfibers.png );
}

#frame {
    margin: 0 auto;
    width:  1050px;
    height: 100%;
}

#header {
    margin: 5px 0 10px 0;
}

#logo-container {
    margin:      0 auto;
    text-align:  center;
}

.backlink {
    margin:      5px auto;
    font-family: Verdana, "sans serif";
    font-size:   0.8em;
    text-align:  center;
}

#logo-graphic {
   height: 75px;
}

.site-title {
    text-align:  center;
    font-weight: bold;
    font-size:   2em;
    color:       #006400;
}

ul.menu {
    list-style-type: none;
    margin:          0;
    padding:         3px 0;
    text-align:      center;
} 

li.menu {
    font-family: Verdana, "sans serif";
    font-size:   0.9em;
    margin:      0 20px;
    display:     inline;
}

li.menu:first-child {
    margin: 0 20px 0 0;
}

li.menu:last-child {
    margin: 0 0 0 20px;
}

.page_title {
    width:       630px;
    margin:      10px 0;
    font-weight: bold;
    font-size:   1.3em;
    text-align:  center;
    color:       #006400;
}

#text {
    left:        0px;
    width:       620px;
    margin:      0;
    padding:     0 5px;
    font-size:   1.2em;
    line-height: 1.4em;
    color:       #000064;
}

.text_title {
    margin:      10px 0 0 0;
    font-weight: bold;
    color:       #006400;
}

#notes_frame {
    position: fixed;
    width:    390px;
    top:      180px; /* Adjust visually according to what header elements are present */
    left:     calc( 50% + 125px);
}

#notes_title {
    width:       100%;
    height:      20px;
    margin:      0 0 5px 0;
    padding:     0;
    font-weight: bold;
    text-align:  center;
    color:       #640000;
}

#notes_text {
    width:        100%;
    height:       350px;
    margin:       0px;
    padding:      5px;
    font-size:    1em;
    line-height:  1.2em;
    border:       1px solid #000064;
    color:        #000064;
    background-color: #F7F7FA;
    overflow:     scroll;
}

a { text-decoration: none; }
a:link { color: blue; }
a:visited { color: blue; }
a:active { color: red; }
a:hover { color: #FF4000; }

span.note, .scrip 
{
    color: blue;
    cursor: pointer;
    cursor: hand;
}

span.note:hover, .scrip:hover
{
    color: orange;
}

@media ( max-width: 1049px ) {

    #logo-graphic {
        display: none;
    }

    #frame {
        width: 100%;
    }

    .page_title {
        width: 100%;
    }

    #text {
        width:      600px;
        height:     calc( 100% - 325px );
        min-height: 220px;
        margin:     0 auto;
        border:     solid 1px #000064;
        overflow-y: scroll;
    }

    .text_title {
        width:      100%;
        height:     auto;
    }

    #notes_frame {
        position: relative;
        width:    600px;
        top:      auto;
        left:     auto;
        margin:   5px auto 0 auto;
    }

    #notes_title {
        width: 100%;
        height: auto;
    }

    #notes_text {
        width:  100%;
        height: 160px;
    }
}

@media ( max-width: 599px ) {
    #text {
        width: 100%;
    }

    #notes_frame {
        width: 100%;
    }
}

/*============== Paragraph styles =================*/
p {
    margin: 12px 0px 12px 0px;
}

p.centered {
    text-align: center;
}

.indent-line1 {
    text-indent: 20px;
}

.no-top-margin {
    margin-top: 0;
}

.no-bottom-margin {
    margin-bottom: 0;
}

.no-vert-margins {
    margin-top:    0;
    margin-bottom: 0;
}

.in1 {
    margin-left: 20px;
}

.in2 {
    margin-left: 40px;
}

.in3 {
    margin-left: 60px;
}

.in4 {
    margin-left: 80px;
}
/*===========================================================*/
