/*
	Theme Name: Berklee Press
	Theme URI: none
	Description: Berklee Press Theme
	Version: 1.0
	Author: Rob
	Author URI: http://idrawcircles.com
	Tags: 

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
    Action Colors: #078eb4
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 18px/160% Helvetica, Arial, sans-serif;
	color:#111;
    background: white;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
    max-height:100%;
}
a {
	color:#ed243d;
	text-decoration:none;
}
a:hover {
	color:#000;
    text-decoration: none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
.footer .textwidget a{
    color:white;
    text-decoration: underline;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
ul,ol{
    padding: 0 0 0 20px;
} 
ul.children ,ol.children{
    padding: 0 0 0 0px;
}

.navbar-header .dropdown-menu h4 {
	border-bottom: 1px solid #D7d7d7;
	margin-top: 0;
	padding-bottom: 15px;
	margin-bottom: 10;
}
.bol-offerings a {
	display: block;
	padding: 5px;
}
.buy-note {
	background: #FFF; padding: 15px; margin-top: 7px; margin-bottom: 15px; color: #333; font-size: 12.5px; line-height: 1.5;
	position: relative;
	box-shadow: 2px 3px 10px rgba(0,0,0,0.3);
}

.buy-note:after {
bottom: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-bottom-color: #fff;
border-width: 10px;
left: 45%;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.pagination{
    margin-bottom: 10px;
    margin-top:0;
}
.page-numbers{
    padding: 5px 8px;
    margin-right: 3px;
    min-width: 30px;
    font-size: 14px;
    border:1px solid  #eee;
}
.page-numbers.current{
    background: #ed243d;
    color: white;
    border:1px solid  #ed243d;
}
/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
.container[role=main]{
    margin-top:20px;
    margin-bottom:20px;
}
.container-fluid{
    margin:0; 
}
.container-fluid .container{
     
} 
.page-title h3{
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.search h4{
    margin: 0;
} 
 .title-header{
    background:#f9f9f9; 
    padding:10px 0;
}
.single .title-header{
    min-height: 120px;
}
.single #content{
    margin-top: 20px;
}
.banner-section{
    border-top:1px solid #eee;
    padding-top:20px;
    padding-bottom:20px;
}
.breadcrumb{ 
    font-weight: bold !important;
    background: none;
    padding: 0; 
    margin:0;
    list-style: none;
    border-radius: 0;
    width:auto;
    display: inline-block;
}
.breadcrumb>li+li:before{
    content: "|\00a0"; 
}
.callout{
    background: rgba(0,0,0,.03);
    border:1px solid #eee;
    padding:10px;
    display: block;
}
.callout-sm{
    padding:5px 10px;
    line-height: 1;
    font-size:14px;
    margin:0px 0 10px;
    color: #111;
}
.callout-author{
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 0px; 
} 
.callout-author h5{
    margin-top:0;
    font-size: 100%;
}
.award-callout{
    background: no-repeat url('img/award-winner.png');
    background-size: contain;
    width: 100px;
    height:30px;
    position: absolute;
    margin-top:-10px;
    margin-left:-7px;
}
/* header */
.header{
    border-top:0px solid #ed243d;
}
/* logo */
.logo{ 
    padding:10px ;
}
.logo-img {

}
/* nav */
.nav{
    float: left;
    display: inline-block;
}

/* sidebar */
.sidebar {
        padding: 10px;
    border: 1px solid #eee;
    margin: 0px 0 10px;
    background: #f9f9f9;
}
.sidebar h3{
    font-weight: bold;
}
.sidebar ul.styleless-list li h3 a{
    display: inline-block;
    color:#ed243d;
}
.affix-bottom {
    position: relative
}
/* footer */
.footer { 
    background: #d9253c;
    padding-top:0px;
    padding-bottom: 20px;
     color:white;
}
.footer h4, .footer p{
    color:white;
    padding-top:20px;
} 
.footer .textwidget{
    margin-bottom: 10px;
}
.footer li a{
     color:rgba(255,255,255,.8);
    display: block;
    padding:0px 10px 0 10px;
    line-height: 3;
}
.footer li a:hover{
    background: rgba(0,0,0,.1);
    color: white;
}
.footer ul, .footer li{
    list-style: none;
    margin: 0;
    padding:0;
} 
.footer li{
    border-top: 1px solid rgba(255,255,255,.1);
    
} 
.footer hr{
    border-color: rgba(255,255,255,.1);
}
.footer .col-sm-4{
    margin-bottom:20px;
}
.footer .footer-cat ul {
    -moz-column-count: 2;
    -moz-column-gap: 15px;
    -webkit-column-count: 2;
    -webkit-column-gap: 15px;
    column-count: 2;
    column-gap: 15px;
}
/* others */
.wp-post-image{
    float: left;
    margin-right:0px;
}
.author-thumb{
    padding-right:0; 
}
.single .author-thumb{
     
    padding-right:15px;
    float: left;
}
.author-thumb img{
    border-radius: 0px;
    width: 200px;
}
.single-post .author-thumb img{ 
    width: 100px;
}
.author-thumb-gray img{
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    float: none;  
} 

.author-thumb-gray:hover img{
     
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}


 
.author-grid h3{
    float: none;
}
 a.book-thumb{ 
  box-shadow: 0 0.125em 0.5em 0 rgba(0,0,0, 0);
  transition: box-shadow .3s ease-in-out;
}
a.book-thumb:hover{ 
  box-shadow: 0 0.5em 1.5em 0 rgba(0,0,0, 0.1); 
}




.hero{ 
    text-align: center;
    padding: 0;
    z-index: -1; 
    min-height: 340px;
}
.hero h1{
    margin:0 auto;
    padding:100px 0 0;
    width:100%;
    text-align: left;
    text-shadow: 0 0 5px rgba(0,0,0,1);
    
}

ul.styleless-list{
    margin:0;
    padding:0;
    
    list-style: none;
}
.single ul.styleless-list{ 
    padding:0px 0 10px;
    color: #333;
}
.container[role=main] ul.styleless-list li, .side-bar ul.styleless-list li {
    margin:0;
    padding:0; 
    color:#666; 
    list-style: none;
    
}
.container[role=main] ul.styleless-list li a, .side-bar ul.styleless-list li a{
    margin:0;
    display: block;
    padding:3px 0; 
    color:#666;
}
.container[role=main] ul.styleless-list li.current_page_item>a, .side-bar ul.styleless-list li.current_page_item>a{
    color:#ed243d;
}

.container[role=main] ul.styleless-list li h4 a, .side-bar ul.styleless-list li h4 a, .container[role=main] .side-bar ul.styleless-list li h3 a{
    
    color:#ed243d;
}
.container[role=main] ul.styleless-list li.current-cat > a, .container[role=main] li.current_page_item > a{
    color:#ed243d;
    font-weight: bold;
}

/*------------------------------------*\
	Images
\*------------------------------------*/
 
a.book-thumb-sm img{
    padding: 5px;
    border:1px solid #e9e9e9;
} 
 
a.book-thumb { 
    border:1px solid #eee;
    background: white;
    height:216px;
     -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
    -ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
    
    -webkit-justify-content: center; 
  justify-content: center; 
}
a.book-thumb .book-img { 
    width: auto;
   /* height: auto;*/
    max-height: 100%;
    max-width: 100%;
    padding: 5px;
} 
/*a.book-thumb {
    display: block; 
    border:1px solid #e9e9e9;
    background: white;
    min-height:244px;
  position: relative;
}
a.book-thumb .book-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
} */
/*------------------------------------*\
	GALLERY
\*------------------------------------*/
.gallery-item{
    width:60px; 
    height:60px;
    float: left;
    margin: 0px 10px 10px 0;
}
.gallery-item img{
    border:1px solid #eee;
    
    width:60px; 
    height:60px;
}
/*------------------------------------*\
	NAVIGATION
\*------------------------------------*/

.navbar{
        position: relative; 
    margin-bottom: 0px;
    border: 0px solid transparent;
    background: #fff;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    box-shadow: 0 0px 20px rgba(0,0,0,.1);
 } 
.navbar-nav ul.interests {
    -moz-column-count: 2;
    -moz-column-gap: 15px;
    -webkit-column-count: 2;
    -webkit-column-gap: 15px;
    column-count: 2;
    column-gap: 15px;
}
.navbar-nav ul>li a{ 
    display: block;
    padding:10px;
    line-height: 1.3;
    font-weight: 500;
}
.nav>li{
    border:0 none;
}
.home .navbar{
    background-color: transparent;
}
.navbar-collapse{
    padding:0;
}
.navbar a{
    color:#000; 
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255,255,255,0);
}

.navbar-nav>li>a{
    padding:20px 15px;
    font-size: 14px;
    line-height: 1;
}
.navbar-nav>li>a:hover, .navbar a:hover, .nav .open>a, .nav .open>a:hover, .nav .open>a:focus{
    background: rgba(0,0,0,.05);
}
.navbar-nav>li.active{
    border-top:5px solid #000;
    margin-top:-5px;
}
.navbar-header{
    float: none;
}
.navbar-collapse.collapse{ 
}
.navbar-brand{
    padding:9px 15px 0 0px;
    height: auto;
}
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand{
    margin-left: 0;
}
.navbar-brand img{
    width:120px;
}
.navbar-toggle .icon-bar {
    background-color: white;
}
#searchform{
    margin: 9px 0 0 5px;
    float: left;
    width: 100%;
}
#searchform .search-btn{
    background: none;
    border:0px none;  
    position: absolute;
    top: 11px;
    right: 15px;
}
#searchform input[type="text"]{
    border:1px solid rgba(0,0,0,.3);
    padding:5px 10px;
    width: 100%;
    font-size: 16px;
}
#crumbs {
    list-style: none;
    padding:0;
}
#crumbs li{
    display: inline-block;
}

#crumbs li::after { 
    content: " > ";
}
#crumbs li:last-child::after { 
    content: "";
}

.single-extra li{
    font-size: 12px;
}


/*------------------------------------*\
    FOOTER FORM
\*------------------------------------*/

.footer-form {
    background: #333; 
    padding: 30px 0;
}

.footer-form h2 {
   color: #F2F2F2;
   font-size: 2.5rem;
   line-height: 1.7;
   margin: 0 0 15px 0;
   text-shadow: none;
    font-weight: bold;
}

.footer-form p {
   color: #FFF; 
}

.footer-form ul {
   color: #F2F2F2;
   margin: 20px 0 ;
} 


/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}
h1{
    margin:0 0 5px;
    font-size: 44px;
    font-weight: 200;
} 
h2{
    margin:0 0 10px 0;
    font-size: 24px;
    font-weight: 100;
}
.home h1{
        font-size: 40px;
    line-height: 140%;
    color: white;
    width: 90%;
           margin: 0;
    font-weight: 400;
}
.home h2{
           margin: 0;
    font-size: 21px;
    line-height: 140%;
    color: white;
    width: 70%;
    text-shadow: 0 0 5px rgba(0,0,0,1);
    text-align: left;
}

.single h2{
    margin-bottom: 5px;
}
h3{
    font-size: 14px;
    line-height: 120%;
    margin: 5px 0 3px; 
    width: 100%;
    font-weight: bold;
}
h3.thumb-title a{
    color:#333;
    font-weight: normal;
}
.author-title h3{
    font-weight: bold;
}
h4{
    font-size: 18px;
    font-weight: bold;
    margin:10px 0 5px;
}
  h5  {
      font-size: 16px;
      font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
}
.author-list h5{
    font-size:16px;
}
.books h3{
    float:left;
    font-weight: normal;
    
}
h3.thumb-title{
    font-size:12px; 
}

.widget_nav_menu  a, .text-sm, small, .footer .textwidget, ul.styleless-list li, .courses-list p, .search-results p{
    font-size: 14px;
    line-height: 140% ;
    font-weight: 500;
    
}
.dropdown-menu ul.styleless-list li{
    margin-left: -10px;
}
.text-mini{
    font-size: 12px;
    line-height: 1.7 ;
}
.author-sm, .author-sm a{
    color:#666;
        font-size: 12px;
    line-height: 1;
    margin-bottom: 0;
}
.author-sm a:hover{
    color:#000;
    text-decoration: underline;
}
.author-sm span:last-child, .author-link span:last-child, .format-type span:last-child{
    display: none;
}
.single-content p, .single-content li{
        font-size: 18px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 140%;
}
.content{
    margin:20px 0 5px;
    border-bottom: 1px solid #eee;
}
/*hide then show button on single.php */
.extra-content {
    height:150px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
} 
.extra-content .extra-btn{ 
    position: absolute;
    bottom: 0; 
    display: block; 
    padding:60px 0 0px; 
    text-align: center; 
    width:100%;
    background: rgba(255,255,255,0);
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(254,254,254,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(80%, rgba(254,254,254,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(254,254,254,1) 80%);
background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(254,254,254,1) 80%);
background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(254,254,254,1) 80%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(254,254,254,1) 80%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fefefe', GradientType=0 );
}
.extra-content .extra-btn hr{
    border-color: #eee;
    margin-bottom: -15px;
}
.extra-content .extra-btn .btn{
    padding-right: 40px;
    padding-left: 40px;
}
/*------------------------------------*\
	Buttons
\*------------------------------------*/
.bp-btn-primary{
    background: #ed243d;
    color: white;
    border-radius: 4px;
}
.bp-btn-secondary{
    border:1px solid #ed243d;
    background: transparent;
    color: #ed243d;
    border-radius: 4px;
}
.buy-button-disabled p{
    border:1px solid #ccc;
    background: transparent;
    color: #999;
    border-radius: 4px;
    margin:10px 0 10px;
    width:100%;
    padding:6px 12px;
}
.bp-btn-default{
    border:1px solid #ed243d;
    color: #ed243d;
    background:white;
    border-radius: 4px;
}

.buy-button a {
    padding: 10px 25px;
    background: #ed243d;
    color: white;
    display: inline-block;
    width: 100%;
    margin: 10px 0 10px; 
    text-align: center;
    font-size:18px;
    font-weight: bold;
    border-radius: 4px;

    
}
.buy-button a:hover, .bp-btn-primary:hover{
    background: #111;
    text-decoration: none;
    color: white;
}
.buy-button-sm a{
    font-size: 14px;
    padding: 5px 10px;
}

.details-side {
    background: #f9f9f9;
    clear: both;
    padding:10px 15px;
    border:1px solid #eee;
    border-width: 0 1px 1px;
}
.details-side h4{
    margin-bottom: 0;
}
.navbar-fixed-top .author-thumb img{
    width:40px;
    padding:10px 10px 0 0;
}
.book-image .wp-post-image{
    float: none;
    width:auto;
}
.single .book-grid:nth-child(8),.single .book-grid:nth-child(9),.single .book-grid:nth-child(10),.single .book-grid:nth-child(11),.single .book-grid:nth-child(12){ 
    display: none;
    }
.author-grid{
     min-height: 160px;
        margin-bottom: 30px;
    margin-right:-1px;
}
.side-courses{
        display: block;
        margin-top:10px;
    border-width: 1px;
    }
.footer-courses{
    display: none;
}
.single .content  h6{
    width: 180px;
    font-style: italic;
    border-right: 3px solid red;
    padding-right: 10px;
    margin-right: 10px;
    float: left;
    margin-left: -40px;
    min-height: 100px;
    font-size: 18px;
    color: #999;
}
.side-content{
    border-left: 1px solid #eee;
        border-top: 0px solid #eee;
}
.book-grid{
    padding:10px;
    
    margin-right:-1px;
}
.author-thumb-gray img{
    width:100%;
}
#search-me{
        float: right;
    margin-right: -10px; 
    padding-left: 5px;
    }
.nav{
        width: auto;
    }
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/



@media only screen and (max-width:767px) {
    body {
	font-size: 16px;
}
    .single .title-header{
    min-height: auto;
}
    .navbar-collapse {
        width:100%;
    }
    .dropdown-menu ul.styleless-list li{
    margin-left:0px;
}
    .nav>li{
        border-top: 1px solid #ddd;
        
    }
    .nav>li:first-child{
        border-top: 0px solid #ddd;
    }
    .navbar button {
    font-size: 21px;
    padding: 6px;
}
   .navbar #searchform .search-btn{
       padding:4px 10px;
   }
    .home h1{
        width: 90%;
        padding:30px 0;
    }
    .home h2{
        width: 90%;
    }
    .footer-courses{
    display: block;
}
    .side-courses{
        display: none;
    }
    .similar-authors{
        border-bottom: 1px solid #eee;
        padding-bottom: 7px;
        margin-bottom: 10px;
    }
    .side-content{
        
        border-top: 1px solid #eee;
        border-left: 0px solid #eee;
    }
    .similar-authors:last-child{
        border-bottom: 0 none;
    }
     .container[role=main] .author-thumb img{
        width: 120px;
    }

.details-side{
    margin-left: -15px;
    margin-right: -15px;
    border-width:0;
}
    .container[role=main], hr{
            margin-top: 10px;
    margin-bottom: 10px;
    } 
    .dropdown-menu {
    width: 750px;
  }
    .col-xs-offset-4.author-thumb{
    padding-left:0;
}
    h1{
        font-size:200%;
    }

    h2{
        font-size: 100%;
    }
    h4{
        font-size: 100%;
    }
    .navbar-nav .open .dropdown-menu{
        margin:0;
        padding: 0;
    }
    .navbar-nav ul>li a{
        line-height: 1;
    }
    .navbar-nav>li>a{
        padding:15px 10px;
    }
    .navbar-nav ul.interests{
        column-gap:2px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .navbar-nav ul.styleless-list{
        margin-left: -10px;
        margin-right: -10px;
    }
    #searchform{
        margin:0;
    }
    #searchform input[type="text"]{ 
    }
    #search-me{
        float: none;
        margin-right: 0px; padding-left: 5px;
    }
    #searchform .search-btn{ 
            top: -2px;
    right: 12px;
    }
    .navbar-nav{
        margin:7.5px 0;
    }
    .nav{
        width: 100%;
    }
    .navbar-toggle{
        margin-right: -10px;
    }
    .home .side-bar {
        display: none;
    }
    .title-switch{
        display: none;
    } 
    .title-top{
        display: block;
    }
    
    .book-grid{
        min-height:300px;
    }
    .book-image{ 
        margin-top:0px; 
    }
    a.book-thumb{
        height: 210px;
    }
    .affix{
        position: static;
    }
    #thumbnail-lg{
        float: none;
        min-height:50px; 
        margin-top:10px;
        margin-bottom:10px;
        border-bottom: 1px solid #eee;
    }
    .book-image{ 
    top: 0px; 
    padding: 10px 20px;
        margin:0 auto;
    background: none;
    border: 0px solid #eee;
    box-shadow: 0 0.125em 0.5em 0 rgba(0,0,0, 0.0); 
        text-align: center;
}
    
.footer .footer-cat ul {
    -moz-column-count: 1;
    -moz-column-gap: 0px;
    -webkit-column-count: 1;
    -webkit-column-gap: 0px;
    column-count: 1;
    column-gap: 0px;
}
     .single .book-grid:nth-child(5), .single .book-grid:nth-child(4){
        display: none;
    }
}

@media (min-width: 768px) and (max-width:992px) {
    a.book-thumb{
        height: 197px;
    }
    .navbar-nav>li>a{
    padding:20px 10px; 
}
    .side-content{
        
        border-top: 1px solid #eee;
        border-left: 0px solid #eee;
    }
    .author-grid{
    min-height: 240px;   
}
    a.book-thumb .book-img{
        
        padding:5px 0;
    }
    .similar-authors:nth-child(3){
        display: none;
    }
.container {
    width: 100%;
} 
.dropdown-menu{
    width:720px;
} 
    .book-image{ 
        margin-top:0px;
    }
    .side-bar {
        display: block;
    }
    
    .title-top{
        display: none;
    } 
    .title-switch{
        display: block;
    }
    .book-grid{
        min-height:250px;
    }
    .single .book-grid{
        min-height: 240px;
    }
    #thumbnail-lg{
        float: right; 
        min-height:50px; 
        margin-top:-80px
    }
    .book-image{ 
        top: 20px; 
        padding: 15px 10px;
        background: white;
        border: 1px solid #eee;
        box-shadow: 0 0.125em 0.5em 0 rgba(0,0,0, 0.1);
        float: left;
        text-align: center;
    }
    .single .book-grid:nth-child(5), .single .book-grid:nth-child(4){
        display: none;
    }
    
}
@media only screen and (min-width:993px) {
    .dropdown-menu {
    width: 930px;
  }
    #thumbnail-lg{
        float: right; 
        min-height:50px; 
        margin-top:-80px
    }
    .book-image{ 
        top: 20px;  
        padding: 20px;
        background: white;
        border: 1px solid #eee;
        box-shadow: 0 0 0.75em 0 rgba(0,0,0, 0.1);
        text-align: center;
    }
    .book-grid{
        min-height:250px;
    }
    .single .book-grid{
        min-height:240px;
    }
}
 
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}
@media (min-width: 1200px){
    .book-image{   
        text-align: center;
    }
    .dropdown-menu {
    width: 1130px;
  }
     .book-grid{
        min-height:250px;
    }
    .single .book-grid{
        min-height:290px;
    }
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
 
/*-------*\
Navigation
\*-----*/
.nav li.current-menu-parent > a{
    background: #fff;
}
.nav li.current-menu-parent > a{
    background: rgba(255,255,255,.2);
}
.dropdown-header{
     padding:0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
 }
.dropdown-menu>li.dropdown-header>a{
    color: black;
    text-decoration: none;
    cursor: default; 
    font-weight: bold;
}  
.dropdown-menu>li>a:hover{
    background: #eee;
}
.dropdown-menu>li.dropdown-header>a:hover{
    background: none;
}
.dropdown-menu  {
    position: absolute;
    top: 100%;
    left: -150px !important;
    z-index: 1000;
    display: none;
    float: left; 
    padding: 20px;
    margin: 0 15px;
    list-style: none; 
    background-color: #fff;
        border: 1px solid rgba(0,0,0,0.15); 

}
/*dropdown 
ul.menu,ul.menu ul,ul.menu li,ul.menu a {
display:block;
margin:0;
padding:0;  
}
ul.menu{
    display: inline;
}
.footer ul.menu{
    display: block;
}
ul.menu ul {
display:none;
        width: 190px;
}
 
 
ul.menu li:hover {
z-index:999;
}
ul.menu li:hover > ul {
display:block;
position:absolute;
float:left;
} 
ul.menu li {
float:left;
width:auto;
}
ul.menu ul li {
float:left;
width:280px;
    
}
ul.menu ul li ul {
float:left;
width:190px;
position:absolute;
left:100%;
top:0;
}
ul.menu-ver,ul.menu-ver ul {
width:14em;
}

div.menu-center ul.menu {
float:left;
position:relative;
left:50%;
}

div.menu-center ul.menu li {
position:relative;
left:-50%;
}

div.menu-center ul.menu li li {
left:auto;
}

 

ul.menu li a {
padding:10px;
}

ul.menu li a:link,ul.menu li a:hover,ul.menu li a:visited,ul.menu li a:active {
text-decoration:none; 
    color: black;
}

 
.menu-center {
float:right;
margin-right:95px;
}

 
ul.menu li a:hover {
background: #666; 
color:black;
}
dropdown end*/
 
/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.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;
	}
	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;
	}
}



 



#details {
    margin-bottom:20px;
}
.author-link {
    margin-bottom: 0;
}
 

.author-call-out {
    background: #f9f9f9;
    padding:0;
    margin:15px 0 15px 15px;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
} 

.page-title {
    margin:10px 0 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 140%;
}

.label {
  display: inline;
  padding: .2em .6em .2em;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 1em;
    margin-right: 5px;
}
.label.label-default{
    background: #aaa;
}
.label.label-default.featured, .label.label-default.featured-best-sellers, .label.label-default.featured-award-winners, .label.label-default.featured-textbooks {
    display: none;
}

.author-excerpt {
    margin-bottom: 10px;
}

.flex-grid {
    -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
     
    -webkit-flex-wrap: wrap; 
    flex-wrap: wrap;
    
} 

.link-sm {
    font-size: 12px;
}
