/* ==========================================================================
   Boilerplate styles 
   ========================================================================== */

html, body {
	height: 100%;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: .9em;
    line-height: 1.7;
    font-family: 'corpreg', Helvetica, sans-serif;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}
img.retailericon {
    vertical-align: top;
	margin-top: 2px;
}

.retailericon:hover { 
	-moz-box-shadow: 0 0 2px #666; 
	-webkit-box-shadow: 0 0 2px #666; 
	box-shadow: 0 0 2px #666; 
} 

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

a, a:link, a:visited {
	color: #f3901e;
	font-family: 'corpbld';
	text-decoration: none;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

/* ===================
    ALL: Light Theme
   =================== */
   
.brandonreg {
	font-family: 'brandonreg';
}

.header-container {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
}

.main-container {
	background: #edeeee;
}

.tertiary-container {
	background: #e2e3e4;
}

.main-container, .tertiary-container {
	background-image: url(../img/shadow_header.png);
	background-position: center top;
	background-repeat: no-repeat;
}

.footer-container {
	 /* fallback */
  background-color: #58595b;

  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58595b), to(#000000));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #58595b, #000000);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #58595b, #000000);

  /* IE 10 */
  background: -ms-linear-gradient(top, #58595b, #000000);

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #58595b, #000000);
}

.title {
    text-transform: uppercase;
    font-size: 1.2em;
    font-family: 'brandonblk';
    letter-spacing: .1em;
    padding-top: 12px;
    color: #444;
    min-width: 200px;
}

.subtitle {
	font-size: 1.1em;
	margin-top: .1em;
	margin-bottom: .1em;
}

.main article {

}

.pcss3t label {
	font-family: 'brandonreg';
	text-transform: uppercase;	
}

.secondary.authorpg .brandonreg {
	font-size: 1.5em;
}

.desc_ap h4 {
	font-size: 1.1em;
	margin-bottom: 0;
	padding-bottom: 0;
}

.authorpic {
		width: 55%;
		margin:auto;
	}
	
.authorpic img {
	width: 100%;
}

.authwrap {
	padding: 0 0 60px 0;
	}

.authorpic.aappic {
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}	
	
#pagedresults,.multipagedresults {
	list-style: none;
}

#pagedresults li{
	
}

.main.searchresult h3 {
		font-size: 1.4em;
		margin-top: 13px;
		margin-bottom: 0;
	}
	
	.main.searchresult h4 {
		margin-bottom: 10px; 
	}
	
.selectbox {
	padding-right: 5%;
}

#lightbox_content {
	background: #fff;
	padding: 5%;
}

#searchcriteria {
	padding-top: 13px;
}

.collheader {
	font-size: 1.2em;
	padding-top: 1em;
	border-top: 1px solid #eee;
}

.collectionswrap {
	padding-bottom: 1em;
}

.collectionswrap ul {
	list-style: none;
	padding-left:0;
}

.collectionswrap ul li {
	padding-bottom: .5em;
}

iframe {
	max-width: 100% !important;
} 

.authorblock ul {
	list-style: none;
	padding:0;
}

.authorblock h4 {
	margin-bottom: -10px;
	font-size: 1.1em;
}

.errormsg {
	text-align: center;
	margin-bottom: 0;
}
	
/* ===================
    ALL: IE Fixes
   =================== */
   
   .lt-ie9 #subjmenu li a{
   		width: 25%;
   }
   

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    float:left;
    margin-bottom: 10px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
}

header nav {
	float:none;
}

header nav a {
	color: #444 !important;
}

nav a:hover {
    color: #999;
}

nav a:hover {
    text-decoration: none;
}

.subj {
	color: #f3901e!important;
}

#dropdown li:hover > ul{
	display: block;
}

#dropdown ul{
    list-style: none;
    margin: 0;
    padding: 10px;    
    display: none;
    position: absolute;
    top: 160px;
    left: 5px;
    z-index: 99999;    
    background: #fff;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
     box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
    
}

#dropdown ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
}

#dropdown ul a{    
    padding: 7px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    text-align: left;
}

#dropdown ul a:hover{    
    color: #f3901e !important;
}

.dropdowncol{
	float:left;
}

.dropdowncolpad{
	padding-right: 1em;
	width: 45%;
}

#search input[type='text'] {
	border:none;
	padding: 10px 0 10px 10px;
	font-family: 'corpreg';
	width: 210px;
	outline: none;
}

#search input[type='submit'], #advancedSearch input[type='submit']{
	background: #f7ac40;
	background-image: url(../img/search.png);
	background-repeat: no-repeat;
	background-position: center; 
	text-indent: -9999px;
	height: 50px;
	width: 57px;
	border: none;
}

#search {
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: .8em;
    width: 280px;
    margin-top: 0;
}

/* ==============
    MOBILE: Main
   ============== */
   
.main-container {
	min-height: 200px;
}
   
.slider {
	border-top: 1px solid #ccc;
	margin-top: 10px;
}

.main, .secondary, .tertiary {
    padding: 20px 0;
}

.main article h1, .secondary article h1, .tertiary h1 {
    font-size: 2em;
}

.main aside, .secondary aside, .tertiary aside {

}

.footer-container footer {
    padding: 15px 0;
    color: #fff;
}

.collectionblock img{
	width: 55%;
	margin-left: 20%;
}

.firstcover {
	margin-bottom: -75%;
}

footer aside {
	float: left;
	font-size: .8em;
	padding-top: 14px;
}

.socialblock {	
	margin-bottom: 1em;
}

.main.authorpg article {
	width: 70%;
	margin: auto;
}

.main.collectionpg .collectionblock {
	width: 150%;
	margin-left: -20%;
}

.secondary.searchresult .twoblock {
	float:none;
}

.main.searchresult ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main.searchresult .dropdowncol {
		float:none;
	}
	
.impblock {
	padding-bottom: 50px;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Light Generic styles
   ========================================================================== */

.flex-container {
	background-image: url(../img/shadow_feature.png);
	background-position: top right;
	background-repeat: no-repeat;
	padding-right: 2em;
	padding-left: 2em;
}

.logo {
	padding-top: 25px;
	margin-bottom: 40px;
}

.promo {
	padding-left: 2em;
	text-transform: uppercase;
	font-family: 'brandonblk';
	font-size: 1em;
}

.promo_booktitle {
	font-family: 'corpbld';
	font-size: 1em;
}

.secondary h2 {
	font-family: 'brandonblk';
	text-transform: uppercase;
	font-size: 1em;
	padding-bottom: .5em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 30px;
}

.secondary-header {
	color: #f3901e;
	font-family: 'brandonreg';
	font-size: 1.7em;
	margin-bottom: -2px;
}

.featuredauthor-books {
	padding-bottom: 10px;
}

.booksby-bookcover {
	padding-right: 10px;
	background-image: url(../img/shadow_booksby.png);
	background-position: top right;
	background-repeat: no-repeat;
	width: 30%;
	padding-bottom: 20px;
}

.booksby-bookcover img {
	-webkit-box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
     box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
     width: 100%;
     margin-bottom: 5px; 
}

.secondary.authorpg .booksby-bookcover {
	width: 50%;
	margin:auto;
}

.secondary.searchresult .booksby-bookcover {
	width: 80%;
}

.secondary.searchresult .twoblock {
	width: 100%;
}

.secondcover {
	/* Safari */
	-webkit-transform: rotate(-5deg);
	/* Firefox */
	-moz-transform: rotate(-5deg);
	/* IE */
	-ms-transform: rotate(-5deg);
	/* Opera */
	-o-transform: rotate(-5deg);
	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
}

.secondcover img{
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

footer nav a {
	color: #fff !important;
}

.credit img {
	margin-top: -4px;
	margin-left: 4px;
}

.bookcover, .authorphoto {
	background-image: url(../img/shadow_feature.png);
	background-position: top right;
	background-repeat: no-repeat;
}

.bookcover img, .authorphoto img {
	width: 94%;
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.titleblock h3, .authorblock h3 {
	font-family: 'brandonreg';
	font-size: 2em;
	margin-bottom: 0;
}

.titleblock p, .authorblock p {
	font-size: 1.05em;
}

.authortitle {
	font-size: 1.4em;
}

.authortitle a {
	font-family: 'corpreg';	
}

.secondary.bookpg h3 {
	font-family: 'brandonblk';
	font-size: 1em;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding-bottom: .5em;
	border-bottom: 1px solid #ccc;
}

.socialblock {
	padding-top: 1.5em;
	padding-bottom: .5em;
}

.socialblock a {
	margin-right: 20px;
}

.formatblock {
	margin-bottom: 1em;
}

.triggertab5 {
	margin-top: 2em;
}
div.detailblock  {
	padding-bottom: 2em;
	margin-bottom: 0 ;
	
}


.detailblock ul {
	list-style: none;
	padding-left:0;
	padding-right: 10px;
	margin-bottom: 0 ;
	margin-top: 0 ;
}

.detailblock li {
	padding-bottom: .4em;
}

.detailblock li label {
	font-family: 'corpbld';
	padding-right: 5px;
}

.readercomments h5 {
	font-size: 1em;
	margin-top: 20px;
	margin-bottom: 10px;
	font-family: 'corpbld';
}

.comment {
	padding-bottom: 1em;
}

.authorbooks .wrap {
	padding-bottom: 50px;
}

.authorbooks h3 {
	margin-top: .3em;
}

.related {
	font-family: 'brandonblk';
	text-transform: uppercase;
	text-align: center;
	font-size: 1.3em;
	color: #666;
	letter-spacing: .15em;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 30px;
}

.booktitle {
	font-size: 1.05em;
	margin-bottom: 0;
	
}

.implist ul {
	list-style: none;
	margin-top: 0;
}

.secondary.appg .impblock h3 {
	padding-left:none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    header nav a {
        float: left;
        width: 20%;
        margin: 0 1%;
        padding: 25px 1%;
        margin-bottom: 0;
    }

    header nav li:first-child a {
        margin-left: 0;
    }

    header nav li:last-child a {
        margin-right: 0;
    }
    
    
/* ====================
    INTERMEDIATE: Main 
   ==================== */
   
	.authorpic {
		width: 38%;
		overflow: hidden;
		float:left;
	}
	
	.authorpic.aappic {
		width: 30%;

	}
	
	.authorpic.appic {
		width: 20%;

	}
	
	.bookpic {
		width: 32%;
		overflow: hidden;
		float: left;
	}
	
	.authorpic img {
		width: 100%;
		margin-left: 0;
	}	
	
	.desc_hp {
		width: 57%;
		float: right;
	}
	
	.desc_ap {
		width: 62%;
		float: right;
	}
	
	.desc_aap {
		width: 65%;
		float: right;
	}
	
	.desc_app {
		width: 77%;
		float:right;
	}
	
	.collectionblock {
		width: 35%;
		float:left;
		margin-bottom: 90px;
	}
	
	.collectionblock img {
		width: 100%;
		margin-left: 0;
	}
	
	.secondary-header {
		margin-top: -2px;
		line-height: 1.2em;
	}
	
	.slider {
		border-top: none;
		margin-top: 0;
	}
	
	.firstcover {
		margin-bottom: -130%;
	}
	
	.secondcover img {
		margin-left: -20px !important;
	}
   
   .firstcover{
		background-image: url(../img/shadow_booksby.png);
		background-position: top right;
		background-repeat: no-repeat;
		padding-right: 12px;
	}

	.secondary.authorpg .booksby-bookcover {
		width: 30%;
		margin:0;
	}
	
	.main.collectionpg .collectionblock {
	width: 100%;
	margin-left: 0;
	margin-bottom: 0;
	}
	
	.secondary.searchresult .booksby-bookcover {
	width: 42%;
	float:left;
	margin-right: 15px;
}

	.main.searchresult article {
		width: 100%;
		float:none;
	}
	
	.main.searchresult aside {
		width: 100%;
		margin-left: 0;
	}
	
	.main.searchresult .dropdowncol {
		padding-right: 2%;
		float:left;
	}

	.secondary.appg .impblock {
		padding-left: 17%;
	}	
	
	.impblock h3 {
		padding: 0 0 0 40px;
	}

	.initalhidden{
		display:none;
	}
	
	.formrow {
		padding: 0 0 .5em 0;
	}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    IPAD: CSS3 Effects
   ==================== */

  .header-container {
  	
  }
  
  
    .main aside, .secondary aside, .tertiary aside {
        
    }

/* ============
    IPAD: Menu
   ============ */

    .title {
        float: left;
        max-width: 50%;
        padding-top: 40px;
    }

    header nav {
        float: right;
        width: 45%;
    }
    
    #search {
    	float:right; 
    	margin-top: 10px;
    }

	#dropdown ul {
		top: 130px;
    	left: 60%;
	}

/* ============
    IPAD: Mains
   ============ */


    .secondary article {
        float: left;
        width: 45%;
    }

    .secondary aside {
        float: right;
        width: 45%;
    }
    
    .main article {
    	float:left;
    	width: 47%;
    } 
    
    .main aside {
    	float: left;
    	width: 47%;
    	margin-left: 35px;
    }
    
    .bookpg article {
    	width: 41%
    }
    
    .authorpg aside {
    	width: 45%;
    	float:right;
    }
    
    .main.authorpg aside {
    	width: 54%;
    	float:right;
    	margin-left:15px;
    	margin-top: 15px;
    }
    
    .bookpg aside {
    	width: 54%;
    	float:right;
    	margin-left:30px;
    	margin-top: 15px;

    }
    
    .authorpg article {
    	width: 45%
    }
    
    .main.authorpg article {
    	width: 38%;
    	margin-top: 15px;
    	margin-bottom: 15px;
    }
    
    .authorphoto {
    }

	.authwrap {
	padding: 0 45px 15px 0;
	}
	
	.pubwrap {
	padding: 10px 10px 40px 0;
	}

    .coverblock-bookpg {
    	
    }
    
    .pcss3t > ul{
   
    	}
    	
    footer aside {
	float: right;
	}
	
	.main.collectionpg .collectionblock {
	width: 80%;
	margin-left: 15%;
	margin-bottom: 0;
	}
	
	.secondary.searchresult .twoblock {
	width: 50%;
	float:left;
	}
	
	.main.searchresult article {
		width: 100%;
		float:none;
	}
	
	.main.searchresult aside {
		width: 100%;
		margin-left: 0;
	}
	
	.main.searchresult .dropdowncol {
		padding-right: 2%;
	}
	
	.aapg .fourblock {
	margin-bottom: 30px;
	}

}

@media only screen and (min-width: 950px) {

/* ============
    Wide: Menu
   ============ */

 .title {
        max-width: 30%;
        padding-top: 10px;
    }
    
 .Owner {
 	 max-width: 300px;
        position: absolute;  
    }
    
    #dropdown ul {
		top: 65px;
    	left: 32%;
	}


/* ===============
  	Wide: Mains
   =============== */

	.main-container {
		min-height: 250px;
	}
	
	.main article {
    	float:left;
    	width: 45%;
    } 
    
    .main aside {
    	float: left;
    	width: 40%;
    	margin-left: 75px;
    }
    
    .main.authorpg aside {
    	width: 57%;
    	float:right;
    }
    
    
    .bookpg article {
    	width: 35%;
    }
    
    .authorpg aside {
    	width: 45%;
    	float:right;
    }
    
     .bookpg aside {
    	float: right;	
    	width: 54%;
    }
    
    .authorpg article {
    	width: 45%;
    }
    
    .coverblock-bookpg {
    	
    }
    
    .pcss3t > ul{
	

	}
	
	.authorphoto {
	}
	
	.secondary.searchresult .booksby-bookcover {
		margin-right: 20px;
	}
	
		
	.main.searchresult article {
		width: 18%;
		float:left;
	}
	
	.main.searchresult aside {
		width: 80%;
		margin-left: 1%;
	}
	
	.main.searchresult .dropdowncol {
		padding-right: 2%;
	}
	
	.pcss3t {
		min-height: 500px;
	}
	
	
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
     .coverblock-bookpg {
    
    }
	
	.pcss3t > ul{
	background-position: 55% 0;
	}
	
	#dropdown ul {
		top: 65px;
    	left: 35%;
	}
	
	.authorphoto {
	}
	
	.main.collectionpg .collectionblock {
	width: 70%;
	margin-left: 15%;
	margin-bottom: 0;
	}
	
	.main.searchresult article {
		width: 20%;
	}
	
	.main.searchresult aside {
		width: 70%;
		margin-left: 2%;
	}
	
	.main.searchresult .dropdowncol {
		padding-right: 3%;
	}
	
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.right {
	float: right;
}

.left {
	float: left;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
  div.pcss3t radio, div.pcss3t label,.socialblock,.triggertab5
  {
       display: none;
    }
    a,
    a:visited {
        text-decoration: underline;
    }

   #detailblockhider{
       display: block !important;
    }

	.coverblock-bookpg {
		width: 20%;
		margin-top: 0 !important;
		
	}
	
	.bookpg aside {
		float:none;
	}
	
	#search, #subjmenu, .tertiary-container, .footer-container {
		display:none;
	}
	
    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}