#container, .pageborder{
    border-bottom: none;
}
img.a, img.b{
    border: none;
}
#details{
    position: absolute;
    top: 270px;
    left: 24px;
    width: 940px;
    height: 530px;
    border: solid 1px #764D00;
    background-color: #FFF;
    z-index: 11;
    display: none;
}

#close{
    width: 922px;
    height: 20px;
    background-color: #764D00;
    color: #FEEFDB;
    padding: 4px 10px;
    position: absolute;
    top: 250px;
    left: 24px;
    z-index: 12;
    display: none;
    text-align: right;
    font-family: "jubilat-n7","jubilat",sans-serif;
    font-style: normal;
    font-weight: 700;

}
a#close{
    text-decoration: none;
    font-weight: bold;
    display: block;

}

a#close:hover{
    cursor:pointer;
}

img#demotitle{
    margin-left: 30px;
    margin-top: 5px;
}

ul.subnav {
    margin-left: 15px;
}
ul.subnav li a{
    display: inline-block;
    width: 270px;
    height: 120px;
    margin: 4px;
    text-decoration: none;
    float: left;
    margin-top: 0;
    padding-top: 0;

}

ul.subnav li.onehalf a{
    width: 410px;
    height: 120px;
    margin: 4px;
    text-decoration: none;
    float: left;
    margin-top: 0;
    padding-top: 0;

}

.demoitems td h1, #details .heading h1, #details .heading h2{
    /* font-family: 'Alegreya SC', serif; */
    color: #9966CC;
    color: #649c41;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    font-family: "blackoak-std",serif;
    font-style: normal;
    font-weight: 400;
}

.demoitems td h1{
    font-size: 12px;
    text-decoration: none;
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    font-family: "blackoak-std",serif;
    font-style: normal;
    font-weight: 400;
}
#details .heading{
    padding: 15px 0;
}
#details .heading h1{
    font-size: 26px;
    letter-spacing: 0;
    font-family: "blackoak-std",serif;
    font-style: normal;
    font-weight: 400;

}

#details .heading h2{
    font-size: 22px;
    letter-spacing: 0;
    color:#774D00;
    font-family: "blackoak-std",serif;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}



.demoitems td{
    width: 333px;
    height: 125px;
    margin: 0px;
    padding: 0;
    text-align: center;
    overflow: hidden;

}
.demoitems.secondrow{
    margin-left:85px;
}

.demoitems.secondrow td{
    width: 355px;
}
.demoitems td img{

    margin: 0;
    padding: 0;
}



#details .heading h1 {
font-size: 36px;
font-family: "jubilat-n7","jubilat",sans-serif;
font-style: normal;
font-weight: 700;
}

#details .heading h2 {
font-size: 28px;
color: #774D00;
font-family: "jubilat-n7","jubilat",sans-serif;
font-style: normal;
font-weight: 700;
}

.demoitems td h1 {
font-family: "jubilat-n7","jubilat",sans-serif;
font-style: normal;
font-weight: 700;
color: #9966CC;
color: #649c41;
text-decoration: none;
font-size: 20px;
line-height: 24px;
margin: 0;
padding: 0;
}

#closer{
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    background-color: rgba(0,0,0,.3);
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

#closer:hover{
    cursor: pointer;
}
img#gbgtop{
    z-index: 4;
}

.sidesubnav{
    width: 940px;
    text-align: center;
    height: 30px;
    position: absolute;
    overflow: hidden;
    top: 770px;
    left: 26px;
    display: block;
    vertical-align: top;
    background-color: #f0e5d2;
    display: none;
    z-index: 30;
}
.sidesubnav img{
    border: none;
    background-color: transparent;
    padding: 0 25px;


}
.sidesubnav h1{
    display: inline-block;
    font-size: 17px;
    /*font-family: 'Alegreya SC', serif;*/
    color: #764E00;


    line-height: 18px;
    margin:8px 15px;
    font-family: "jubilat-n7","jubilat",sans-serif;
    font-style: normal;
    font-weight: 700;
}

.sidesubnav h1 a{
    font-family: "jubilat-n7","jubilat",sans-serif;
    font-style: normal;
    font-weight: 700;

    color: #9966CC;
    color: #774D00;
    text-decoration: none;
}

.sidesubnav h1 a:hover, .sidesubnav h1 a.current{
    font-family: "jubilat-n7","jubilat",sans-serif;
    font-style: normal;
    font-weight: 700;
    color: #774D00;
    color: #649c41;
    text-decoration: none;
}


img.floatleft{
    float: left;
    padding: 8px;
    margin-left: 15px;
}

#detail-size p, #detail-day p, #detail-fast p, #detail-distance p, #detail-elevation p{
    font-family: "news-gothic-std",sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    padding: 2px 10px 6px 25px;
    margin: 0;
    color: #191919;
}

#detail-size p a, #detail-day p a, #detail-fast p a, #detail-distance p a, #detail-elevation p a,
#detail-size h4 a, #detail-day h4 a, #detail-fast h4 a,
#detail-distance h4 a,
#detail-elevation h4 a{
    color: #786fa7;
    font-family: "news-gothic-std",sans-serif;
    font-style: normal;
    font-weight: 700;
}
#detail-size h4 a, #detail-day h4 a, #detail-fast h4 a,
#detail-distance h4 a,
#detail-elevation h4 a{
font-weight: 500;
}
#detail-size h4, #detail-day h4, #detail-fast h4, #detail-distance h4, #detail-elevation h4{
    color: #786fa7;
    font-family: "news-gothic-std",sans-serif;
    font-style: normal;
    font-weight: 700;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 16px;
    padding: 2px 10px 6px 25px;
    margin: 0;
}

#detail-size p em, #detail-day p em, #detail-fast p em, #detail-distance p em, #detail-elevation p em{
    color: #745223;
    font-style: normal;

}
#detail-size p em strong, #detail-day p em strong, #detail-fast p em strong, #detail-distance p em strong,
#detail-elevation p em strong{
    color: #745223;
}


#detail-size, #detail-day, #detail-fast, #detail-distance, #detail-elevation{
    position: absolute;
    top: 370px;
    left: 26px;
    width: 930px;
    height: 410px;
    background-color: #FFF;
    z-index: 12;
    display: block;
    overflow: hidden;
}

#detail-size{
    z-index: 13;
}

#detail-day{
    z-index:14;
}
#detail-fast{
    z-index: 15;
}

#detail-distance{
    z-index: 16;
}

#detail-elevation{
    z-index: 17;
}

#details img.a{
    background-color: #FFF;
    opacity: 1;
}
#details img.b{
    border: none;
    background-color: #FFF;

}

#details img.b{
    border: none;
}
.addspace{
    height: 25px;
}

.addspace-age{
    height: 15px;
}

.floatright{
    float: right;
    padding: 8px;
    margin-left: 150px;
}

#detail-westpoint img.floatright{
    margin-left: 15px;
}
#pagetear{
    z-index:4;
    width: 984px;
    height: 280px;
    overflow: hidden;
   left: 0px;
    position: absolute;
    top: 770px;
}

.inner-addspace{
    width: 990px;
    height: 15px;
}
img.inner-imgtop{
    margin-top: 15px;
}

#overlayref{
    position: absolute;
    top: 252px;
    z-index: 100;
    width: 960px;
    height: 900px;
    opacity: 1;
    display: none;
}

.floatright-age{
    margin-right: 127px;
    margin-left: 40px;
    float: right;
}

.floatright-height {
    margin-right: -10px;
    margin-left: 34px;

    float: right;
}

.floatright-women {
    margin-right: 180px;
    margin-left: 24px;
    float: right;
}
.floatright-occupation {
    margin-right: 25px;
    margin-left: 25px;
    float: right;
}

.floatright-race {
    margin-right: -10px;
    margin-left: 20px;
    float: right;
}

.floatright-hometown{
    margin-right: 36px;
    margin-left: 20px;
    float: right;
}

#watermark {
position: absolute;
top: 291px;
left: 44px;
z-index: 50;
opacity: 0.5;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -khtml-opacity: 0.5;
}

#details .heading{
    padding-bottom: 10px;
}

#pagetear{
    background-image: url(images2/pagetear.png);
    background-repeat: no-repeat;
    width:987px;
    height: 280px;
}

#pagetear{
    padding-top: 90px;
    text-align: center;
    font-size: 11px;
}

#pagetear p{
    font-style: normal;
    font-weight: 500;
}

#showmain {
    z-index: 100;
    position: absolute;
    left: 20px;
    top: 5px;
    font-size: 30px;
}