/* CSS Document */
html {
    background: #fff url(../images/bgbody.jpg) repeat 0 0;
    margin: 0;
    padding: 0;
    font: normal 14px/1.57em Verdana, Arial, Tahoma, sans-serif;
    color: #485B67;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    margin: 0;
    padding: 0;
}
#page {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: url(../images/bgbluebar.gif) repeat-x 0 151px;
}
.wrapper {
    display: block;
    max-width: 1000px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}
.innerwrap {
    display: block;
    width: 100%;
    max-width: 904px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}
.site-header {
    width: 100%;
    height: 188px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}
#sitename {
    display: block;
    width: 522px;
    height: 69px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: url(../images/flashing_details.png) no-repeat 0 0;
    position: absolute;
    bottom: 44px;
    left: 0;
}
#subtitle {
    display: block;
    width: 318px;
    height: 16px;
    margin: 0;
    padding: 0;
    background: url(../images/construction_guide.gif) no-repeat 0 0;
    position: absolute;
    left: 0;
    bottom: 12px;
    z-index: 10;
}
#main {
    display: block;
    max-width: 904px;
    height: auto;
    overflow: hidden;
    background: #fff;
    margin: 0;
    padding: 0;
    min-height: 700px;
    position: relative;
}
#navbar {
    width: 204px;
    height: auto;
    overflow: hidden;
    float: left;
    clear: left;
    margin: 0 60px -15000px 0;
    padding: 0 0 15000px 0;
    background: #799BAD url(../images/navbar_texture.png) repeat-y -2px 0;
    border:none;
}
#content {
    /* width:550px; */
    width: 610px;
    height: auto;
    overflow: hidden;
    margin: 45px 0 0;
    padding: 0;
    float: left;
    clear: right;
    color: #485B67;
}
#content h1, #content h2, #content h3 {
    font: normal 26px/normal Verdana, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", sans-serif;
    margin: 0 0 0.5em;
    padding: 0;
    color: #016D96;
    float:none;
    clear:both;
}
#content h2 {
    font-size: 18px;
    color: #016D96;
    font-weight: bold;
    margin: 0 0 0.3em;
}
#content h3 {
    font-size: 14px;
    color: #016D96;
    margin: 0 0 0.5em;
    font-weight: bold;
}
#content h3.title {
    color: #4D555A;
}
#resourcespage h3.title {
    font-size:17px;
    color: #485B67;
}
#content p {
    margin: 0 0 1.5em;
    padding: 0;
}
#content a {
    color: #007FB0; /*#007caa; */
    text-decoration: none;
}
#content a:visited {
    color: purple;
    text-decoration: underline;
}
#content a:hover {
    text-decoration: underline;
}
#content a.more {
    color: #677C8C;
    font-weight: bold;
    text-transform: uppercase;
}
#resources{
 display:block;
 width:100%;
 height:auto;
 overflow:hidden;
 margin:1em 0;
 padding:0;
 clear:both;
 float:none;   
}

.bookstores {
    float: none;
    clear: both;
    margin: 1em 0 3em;
}
.primary {
    width: 360px;
    height: auto;
    overflow: hidden;
    float: left;
    clear: left;
    margin: 0;
    padding: 0;
}
.secondary {
    width: 205px;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: right;
    clear: right;
    font-size: 13px;
    color: #016D96;
}
.primary ul, .secondary ul {
    list-style-type: disc;
    margin: 0.25em 0 1.5em 0.75em;
    padding: 0 0 0 0.5em;
    line-height: normal;
}
.primary ul li {
    margin: 0 0 0.5em;
    padding: 0;
}
#content ul.overline {
    text-decoration: line-through;
}
#book, #bookinfo {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 0 1em;
    padding: 0;
    clear: both;
}
.secondary .topgraphic {
    float: none;
    clear: both;
    margin:0;
}
.secondary ul {
    list-style-type: disc;
    margin: 0.25em 0 1.5em 0.75em;
    padding: 0 0 0 0.5em;
}
.secondary ul li {
    margin: 0 0 0.75em;
    padding: 0;
}
#content .secondary a {
    color: #016D96;
}
#content .secondary a.enlarge {
    color: #66717C;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
.site-footer {
    width: 100%;
    height: 150px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
    background: url(../images/bgfooter.jpg) no-repeat center top;
}
.site-footer p {
    display: block;
    clear: both;
    margin: 1em 0;
}
#overlay {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #333;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity: 0.5;
    display: none;
}
#menutoggle {
    width: 60px;
    height: 39px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 10px;
    z-index: 3000;
    display: none;
    background: url(../images/menu_toggle.gif) no-repeat 0 0;
    cursor: pointer;
    background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
    -o-background-size: 100% auto;
    -webkit-background-size: 100% auto;
}
.clear, .separator {
    width: 100%;
    height: 1px;
    overflow: hidden;
    display: block;
    float: none;
    clear: both;
    margin: 0;
    padding: 0;
    background:none;
}
.spearator {
    margin: 0 0 3em;
}
.alignleft {
    float: left;
    clear: left;
    margin: 0.3em 1em 2em 0;
}

.alignleft:before {
    width: 100%;
    height: 1px;
    overflow: hidden;
    clear: both;
    float: none;
}
.alignright {
    float: right;
    clear: right;
    margin: 0.3em 0 2em 1em;
}
#leftnav {
    display: block;
    width: 204px;
    height: auto;
    overflow: hidden;
    margin: 23px 0 0 0;
    padding: 0;
}
#leftnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#leftnav ul li {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 0 7px;
    padding: 0;
    background: url(../images/bgnav_links.jpg) no-repeat 0 0;
    position: relative;
}
#leftnav ul li a, #leftnav ul li a:visited {
    display: block;
    height: 30px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-indent: 20px;
    font: bold 13px/30px Verdana, Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}
#leftnav ul li.publications > a{
   cursor:default;
}


#leftnav ul li ul {
    width: 100%;
    height: auto;
    margin: 0 0 0 15px;
    padding: 0 0 10px;
    overflow: hidden;
    border: none;
}
#leftnav ul li ul li {
    background: none;
    margin: 0 0 5px;
    padding: 0;
}
#leftnav ul li ul li a, #leftnav ul li ul li a:visited {
    font-weight: normal;
    line-height: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
}


#leftnav ul li.publications {
    height: 125px;
 /* height: 30px;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    -o-transition: all 2s ease;
    */
}
/*
#leftnav ul li.publications:hover, #leftnav ul li.publications.selected, #leftnav ul li.publications.active {
    height: 125px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}
*/
#leftnav ul li ul li a {
    color: #fff;
}
#leftnav ul li a:hover {
    color: #eee;
}
#leftnav ul li.active > a {
    color: #78CCD0;
}
#leftnav ul li.publications {
    background-position: 0 -30px;
}
#leftnav ul li.order {
    background-position: 0 -270px;
}
#leftnav ul li.author {
    background-position: 0 -300px;
}
#leftnav ul li.resources {
    background-position: 0 -330px;
}
#leftnav ul li.contact {
    background-position: 0 -360px;
}
#footernav {
    display: block;
    width: 750px;
    height: auto;
    clear: both;
    margin: 1em auto;
    padding: 0;
}
#footernav ul {
    list-style-type: none;
    margin: 0 auto 1em;
    padding: 0;
    width: auto;
    height: auto;
}
#footernav ul li {
    display: inline;
    clear: none;
    margin: 0 15px;
    padding: 0;
}
#footernav ul li:first-child {
    margin-left: 0;
}
#footernav ul li:last-child {
    margin-right: 0;
}
#footernav ul li a, #footernav ul li a:visited {
    font: bold 0.8em/1.8em Verdana, Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#footernav ul li a:hover {
    color: #000;
}
#footernav ul li.active a {
    color: #78CCD0;
}
#paypal_button{
 width:120px;
 height:40px;
 overflow:hidden;
 margin:0;
 padding:0;
 diplay:block;
 clear:both; 
}
.organizations,
.resourceslist{
 display:block;
 clear:both;
 margin:0 0 1.5em;
 padding:0;   
 list-style-type:none;
}
.organizations li, .resourceslist li{
 margin:0 0 0.25em 1em;
 padding:0;   
}
.resourceslist li{
 margin:0 0 1.25em;  
}
.organizations .first-word{
 display:block;
 float:left;
 clear:left;
 margin:0;
 padding:0;
 width:80px;
}
section.publications{
 display:block;
 width:50%;
 min-width:270px;
 max-width:300px;
 float:left;
 clear:left;   
}
.imgright{
  display:block;
  float:right;
  clear:right;  
  margin:0 0 0 0;
}
.imgleft{
 display:block;
 float:left;
 clear:left;   
 margin:0 0 1em 0;
}
ul#companies{
 display:block;
 width:180px;
 list-style-type:none;
 margin:0 1em 0.5em 0;
 padding:0;  
 float:left;
 clear:left; 
}
ul#companies li{
  margin:0 0 0.25em;
  padding:0;  
}

.floatleft {
  float:left;
  clear:none;
  margin: 0.3em 0 2em 0;  
}


/*----------------------------------------------*/
@media screen and (min-width:1001px) {
    body {
        background: url(../images/bgheader.jpg) no-repeat center 0;
    }
}

/*----------------------------------------------*/
@media screen and (max-width:1000px) {
    body {
        background: none;
    }
    #page {
        background: none;
    }
    .wrapper {
        margin: 0;
    }
    .innerwrap {
        max-width: 100%;
    }
    .site-header {
        width: 100%;
        height: 188px;
        height: 18.8vw;
        background: url(../images/bgheader_medium.jpg) no-repeat right bottom;
    }
    #sitename {
        left: 48px;
    }
    #subtitle {
        left: 48px;
    }
    .innerwrap {
        margin: 0;
    }
    #main.onecolumn {
        margin: 0 48px;
    }
    .onecolumn #navbar {
    }
    .onecolumn #content {
        width: 55vw;
        max-width: 550px;
    }
    #main.twocolumns {
        margin: 0 10px 0 48px;
    }
    .twocolumns #navbar {
        margin: 0;
    }
    .twocolumns #content {
        width: 70%;
        margin: 45px 5px 0;
        padding: 0;
        max-width: 700px;
        float: right;
    }
    .primary {
        width: 68%;
    }
    .primary {
        width: 65%;
        max-width: 360px;
    }
    .secondary {
        width: 30%;
        max-width: 205px;
        min-width: 170px;
    }
}

@media screen and (max-width:930px){
     section.publications{
     display:block;
     width:100%;
     float:none;
     clear:both;
     min-height:50px;
     min-width:100%;
     max-width:100%;
    }
    
    .imgright, .imgleft{
      display:block;
      float:none;
      clear:both;  
      margin:0 auto 0.5em;
      padding:0;
    }

}


@media screen and (max-width:860px) {
    .site-header {
        width: 100%;
        height: 160px;
        height: 18vw;
        background: url(../images/bgheader_medium.jpg) no-repeat right bottom;
    }
    #sitename {
        left: 10px;
        width: 303px;
        height: 40px;
        background: url(../images/flashing_details_med.png) no-repeat 0 0;
    }
    #subtitle {
        width: 240px;
        height: 12px;
        left: 10px;
        bottom: 13px;
        background: url(../images/construction_guide_med.gif) no-repeat 0 0;
    }
    #main.onecolumn, #main.twocolumns {
        margin: 0 10px;
    }
    .onecolumn #navbar {
        margin-right: 40px;
    }
    .onecolumn #content {
        width: 60vw;
        min-width: 470px;
        max-width: 550px;
    }
    .twocolumns #navbar {
        margin-right: 0;
    }
    .twocolumns #content {
        width: 65vw;
        min-width: 470px;
        max-width: 550px;
    }
    .primary {
        float: none;
        width: 100%;
        max-width: 550px;
    }
    
    .secondary {
        width: 100%;
        max-width: 100%;
        float: none;
        clear: both;
    }
    #book {
        width: 190px;
        float: left;
        clear: left;
    }
    #bookinfo {
        float: left;
        clear: right;
        width: 55%;
        max-width: 400px;
        min-width:120px;
    }

}

@media screen and (min-width:641px) and (max-width:760px) {
#navbar {
    margin-right: 20px;
}


#main.onecolumn, #main.twocolumns {
    margin: 0 10px;
}
.twocolumns #navbar {
    margin-right: 0;
}
.onecolumn #content {
    width: 58vw;
    min-width: 300px;
    max-width: 500px;
}
.twocolumns #content {
    width: 60vw;
    min-width: 350px;
    max-width: 550px;
}
#book {
    width: 180px;
    float: left;
    clear: left;
}
#bookinfo {
    width: 50%;
    float: left;
    clear: right;
    min-width: 200px;
    max-width: 300px;
}
.imgleft{
  padding:0 1em 1em 0;
}
.imgright{
 padding:0 0 1em 1em;
}
#footernav {
    display: block;
    width: 98%;
    margin: 1em auto;
    max-width: 750px;
}
#footernav ul {
    margin: 0;
    padding: 0;
}
#footernav ul li {
    margin: 0 20px;
}
}

@media screen and (max-width:640px) {
.site-header {
    width: 100%;
    height: 100px;
}
#sitename {
    left: 30px;
}
#subtitle {
    left: 30px;
}
#main.onecolumn, #main.twocolumns {
    margin: 0;
    padding: 0;
}
#menutoggle {
    display: block;
    right: 30px;
}
#overlay {
}
.onecolumn #navbar, .twocolumns #navbar {
    width: 100%;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    background: none;
    margin: 0;
    padding: 0;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}
#navbar.inactive {
    height: 0;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
}
#navbar.active {
    height: 460px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}
#leftnav {
    width: 100%;
    height: auto;
    background: #799BAD;
    margin: 0;
    pading: 0;
}
#leftnav ul li {
    margin: 0 0 1px;
    background: url(../images/bgnav_mobile.jpg) repeat 0 0;
}
#leftnav ul li a {
    font-size: 15px;
}



.onecolumn #content, .twocolumns #content {
    width: 96%;
    margin: 45px auto;
    min-width: 96%;
    max-width: 96%;
    float: none;
    clear: both;
}


.primary, .secondary {
    width: 100%;
    max-width: 100%;
    min-width:100%;
    margin: 0 0 2em;
    padding: 0;
    float: none;
    clear: both;
}


#leftnav ul li.publications {
   height: 195px;;
}
#leftnav ul li.publications:hover,  #leftnav ul li.publications.selected,  #leftnav ul li.publications.active {
    height: 195px;
}
#leftnav ul li a, #leftnav ul li a:visited {
    display: block;
    height: 45px;
    line-height: 45px;
}
#leftnav ul li ul {
    margin: 0;
    padding: 0;
}
#leftnav ul li ul li {
    border: none;
    border-top: solid 1px #799BAD;
    padding: 0 0 0 20px;
}
#leftnav ul li ul li a, #leftnav ul li ul li a:visited {
    line-height: 45px;
    height: 45px;
}
#footernav {
    display: block;
    width: 98%;
    margin: 1em auto;
    max-width: 750px;
}
}

@media screen and (max-width:480px) {
#sitename {
    width: 250px;
    height: 33px;
    left: 10px;
    background: url(../images/flashing_details_small.png) no-repeat 0 0;
}
#subtitle {
    width: 200px;
    height: 10px;
    left: 10px;
    background: url(../images/construction_guide_small.gif) no-repeat 0 0;
}
#main {
    margin: 0;
}
#content {
    width: 96%;
    margin: 40px auto;
    min-width: 300px;
    max-width: 460px;
}
#menutoggle {
    display: block;
    right: 5px;
    width: 45px;
    height: 29px;
    top: 18px;
}
#navbar {
    left: 10px;
}
}
