
/*
        sticky footer stuff
*/
html, body {
    height: 100%;
}
/* used for sticky footer */
.wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -355px; /* Set same as footer height. */
}


::selection {
    background: #0390fa;
}
::-moz-selection {
    background: #0390fa;
}
::-webkit-selection {
    background: #0390fa;
}
::-webkit-input-placeholder  { color:#ccc; }
input:-moz-placeholder { color:#ccc; }

#main {
    z-index: 1;
    position: relative;

}
.bg-top {
    background: url(/img/page-bg-top.gif) repeat-x;
}

/* --- header --- */
.header-wrap {
    background: #242b35;
}
header {
    width: 960px;
    margin: 0 auto;
}
.logo {
    float:left;
    background:url(../img/logo.png) no-repeat;
    width: 121px;
    height: 61px;
    margin: 20px 10px;
    overflow:hidden;
    text-indent: -9999px;
}
.home-logo {
    float:left;
    margin: 10px;


}

/* --- NAVIGATION ---*/

.no-js nav.nav-primary li:hover ul{
    display:block;
}


.nav-primary{
    clear:both;
}

.page-container {
    width: 960px;
    margin: 0 auto;
    padding: 20px;
    position:relative;
}

.page-margin {
    width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-heading {
    margin: 0 0 10px;
}
.page-heading h1 {

    line-height: 1.25;
    font-size:24px;
    font-weight: bold;
    /*    padding: 20px 10px 10px;*/
    margin:0;
}

.breadcrumb li a,
.breadcrumb li a:visited {
    text-decoration: none;
}
.breadcrumb li a:hover {
    text-decoration:underline;
}

.breadcrumb {
    padding: 7px 14px;
    margin: 0 0 20px;
    list-style: none;
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}

.breadcrumb li {
    display: inline-block;
    margin:0;
    text-shadow: 0 1px 0 #ffffff;

}

.breadcrumb .divider {
    padding: 0 5px;
    color: #999999;
}

.breadcrumb .active a {
    color: #333333;
}

/* --- FOOTER --- */

.push {height:355px;}

.footer-wrap {
    background: #242b35;
    height: 275px;
    margin:0;
    font-size:12px;
}

footer {
    width: 960px;
    margin: 0 auto;
    color: #fff;
}

footer a,
footer a:visited,
footer a:focus{
    color: #fff;
}
footer a:hover {
    color: #fff;
    text-decoration:underline;
}


.footer-wrap-alt {
    background: #141b24;
    height:80px;
    margin:0;
}


.footer-nav {
    margin: 0 auto;
    padding: 30px 0 10px;
    text-align: center;
    text-transform: uppercase;
}

.footer-nav ul {
    margin: 0;
}
.footer-nav li {
    display:inline-block;
    list-style: none;
    margin:0;

}
.footer-nav li a,
.footer-nav li a:visited{
    text-decoration:none;
    padding: 0 16px 0 0;
    color: #fff;
    font-size:12px;
}
.footer-nav li a:hover {
    color: #fff;
    text-decoration:underline;
}


footer .copyright {
    float:right;
    margin: 20px 5px 0;
}
.footer-column-heading {

}

.footer-columns {padding:20px;}

/* --- interior structure --- */


/* sidebar */


/* interior nav */

.sidebar-nav {
    position: relative;
    padding: 0px 0;
    margin: 0 0 20px;
    clear:both;
    background: #f8f8f8;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /*	font-size: 18px;*/
}
.sidebar-nav ul {
    margin:0 ;
    padding:0;
    list-style:none;
    /*	font-size:16px;*/
}
.sidebar-nav ul li{
    margin: 0;
    list-style:none;
}
.sidebar-nav ul li.item a,
.sidebar-nav ul li.item a:visited{
    line-height: 36px;
    display: block;
    text-decoration:none;
    padding: 0 20px;
}
.sidebar-nav ul.level-1 {
    /*    border: 1px solid #ccc;*/
    border-bottom: none;
}
.sidebar-nav ul.level-1 > li.item > a,
.sidebar-nav ul.level-1 > li.item > a:visited{
    font-weight: bold;
    /*	font-size: 16px;*/

    /*	border-bottom: 1px solid #ccc;*/
    padding: 0 10px;
    line-height: 18px;

}
.sidebar-nav ul > li.item > a:hover{
    background: #fff;

}
.sidebar-nav ul.level-1 li.current-root{
    /*	border-bottom: 1px solid #ccc;*/
}
.sidebar-nav ul.level-1 li.current-root > a{
    border-bottom:none;
    color: #005580;
}

.sidebar-nav ul li.item-current > a,
.sidebar-nav ul li.item-current > a:visited{

    text-decoration:none;

}
.sidebar-nav ul ul{
    /*    border-bottom: 1px solid #ccc;*/
}


.sidebar-nav ul ul ul li.item a {
    padding-left: 50px;
}

/* content */
.content {
    float:left;
    padding: 20px 0;
    width: 690px;

}


.paginator_info {
    float:right;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    line-height: 34px;
    /*	background: #eee;*/
    /*	border: 1px solid #d3d3d3;*/
}

.pagination-wrap {
    height: 36px;
    padding: 3px 20px 3px 3px;
    margin: 20px 0;
    list-style: none;
    background-color: #fbfbfb;
    background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
    background-image: linear-gradient(top, #ffffff, #f5f5f5);
    background-repeat: repeat-x;
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;

}



.pagination-wrap ul {
    display: inline-block;
    /*  *display: inline;*/
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    margin: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /*  *zoom: 1;*/
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-wrap li {
    display: inline;
}

.pagination-wrap a {
    float: left;
    padding: 0 14px;
    line-height: 34px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-left-width: 0;
}

.pagination-wrap a:hover,
.pagination-wrap .current a {
    background-color: #f5f5f5;
}

.pagination-wrap .current a {
    color: #999999;
    cursor: default;
}

.pagination-wrap .disabled span,
.pagination-wrap .disabled a,
.pagination-wrap .disabled a:hover {
    color: #999999;
    cursor: default;
    background-color: transparent;
}

.pagination-wrap li:first-child a {
    border-left-width: 1px;
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.pagination-wrap li:last-child a {
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}


.flash-message {
    font-size: 10px;
    background-color:#ffdad5;
    border:1px solid #f29e93;
    padding:20px;
    margin:20px;
}
.flash-message ul {
    padding: 0 0 0 10px;
    /*    margin:0;
        padding:0;*/
}

.flash-message-title {
    font-size: 20px;
    line-height: 1.1em;
    letter-spacing: -.02em;
    padding: 0;
    margin: 0 0 .3em 0;
}

/*.nav-primary ul li.item-current a {
    background: #fff;
}*/

.login-wrap {
    float:right;
    padding: 5px;
}
.login-wrap a {
    color:#fff;
    text-transform: uppercase;
    font-size:10px;
}

.link-login {
    border-right: 1px solid #ccc;
    padding-right: 11px;
}

.link-register {
    padding-left: 7px;
}


.tophat-wrap {background:#000;}
.tophat {width:949px; margin:0 auto; color:#fff; font-size:12px; padding-top:2px;}
.tophat-text {
    float: left;
    margin-top: 4px;

    font-style: italic;
}


.inline-edit-mode-off .page-property-edit-wrap{
    display:none;
}

.author-info-box .author-photo{
    float:left;
    margin: 0 14px 14px 0;
}

.navbar-inner {
    padding-left:0;
    padding-right:0;
}


.header-wrap .navbar .brand {
    float: left;
    display: block;
    padding: 30px 20px 30px;
    margin-left: -13px;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 0 #242b35;
    margin-right: 10px;
}

.header-wrap .navbar .nav > li {
    float: left;
    border-right: 1px solid #1b2128;
}
.header-wrap .navbar .nav > li a {
    padding-top:30px;
    padding-bottom:30px;
}
.header-wrap .navbar .nav {
    position: relative;
    left: 0;
    display: block;
    float: right;
    margin: 0 10px 0 0;
}

/*.carousel {
    margin-top: -20px;
}
.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    top:0;
    padding: 15px;
    color:#fff;
    width:410px;
    background:transparent;
    text-shadow: 1px 1.732px 2px rgb( 0, 0, 0 );
}
.carousel-caption h2 {
    font-size:24px;
    line-height:30px;
}*/
.call_to_action_bar {
    border: 1px solid #ccc;
    background: white;
    padding: 30px;
    font-size: 23px;
    font-weight: bold;
    margin-top:30px;
    margin-bottom:30px;
}
.call_to_action_bar p {margin:auto;}


/* Carousel base class */
.carousel {
/*    margin-bottom: 60px;*/
}

.carousel .container {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.carousel-control {
    background-color: transparent;
    border: 0;
    font-size: 120px;
    margin-top: 0;
    text-shadow: 0 1px 1px rgba(0,0,0,.4);
}

.carousel .item {
    height: 300px;
}
.carousel img {
    min-width: 100%;
    height: 300px;
}

.carousel-caption {

    background-color:rgba(0,0,0,0.5);

    position: static;
    max-width: 550px;
    padding: 20px;
    margin-bottom: 5px;
    text-shadow: 1px 1.732px 2px rgb( 0, 0, 0 );
    margin-left: 400px;
}
.carousel-caption h1,
.carousel-caption .lead {
    margin: 0;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.4);
    opacity: 1;
}
.carousel-caption .btn {
    margin-top: 10px;
}
.book-quantity input {
    margin-bottom: 0;
}

#cboxClose {
    border: 0;
}

.book-info-modal {
    padding: 20px;
}

.subscription-item {
    background: #eee;
    padding: 15px;

}

.discount-strike {
    text-decoration: line-through;
    color: red;
}

.uneditable-input {
    border: none;
    color: inherit;
}

.confirming-order label {
    font-weight:bold;
}

.confirming-order .control-group{
    margin-bottom: 0;
}

.order-table td.text-right,
.order-table th.text-right{
    text-align: right;
}

.order-table td.key {
    text-align: right;
    font-weight: bold;
}
.cell-total {
    display: inline-block;
    text-align: right;
    width: 80px;
}

.show-md-tax .md-tax{
    display: inline-block;
}
.hide-md-tax .md-tax{
    display: none;
}
.hide-md-tax .no-md-tax {
    display: inline-block;
}
.show-md-tax .no-md-tax {
    display: none;
}


/** Table Styles */
table {padding: 0; margin: 0; width:100%; border:none; border-collapse: collapse; color: #333; background: #F3F5F7; font-size: 12px;}
table a {color: #3A4856; text-decoration: none; border-bottom: 1px solid #C6C8CB;}
table a:visited {color: #777;}
table a:hover {color: #000;}
table caption {text-align: left; text-transform: uppercase;  padding-bottom: 10px; font: 200% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;}
table thead th, table table thead th {background: #3A4856; padding: 15px 10px; color: #fff; text-align: left; font-weight: normal; white-space: nowrap;}
table thead th a, table table thead th a, table thead th a:hover, table table thead th a:hover, table thead th a:visited, table table thead th a:visited {color:#fff;}
table tbody, table thead {border-left: 1px solid #EAECEE; border-right: 1px solid #EAECEE;}
table tbody {border-bottom: 1px solid #EAECEE;}
table tbody td, table tbody th {padding: 5px; text-align: left;}
table tbody tr {background: #F3F5F7;}
table tbody tr.odd {background: #F0F2F4;}
table tbody  tr:hover {background: #EAECEE; color: #111;}
table tfoot td, table tfoot th, table tfoot tr {text-align: left; font-size:120%; border:none; text-transform: uppercase; background: #fff6cd; padding: 10px; font-weight:bold;}

.red {color:red;}
.blue {color:blue}
.green {color:green;}
.finalScore {font-size:24px; font-weight:bold;}
table.center tbody td {text-align:center;}
td.center {text-align:center;}

textarea.styledInput {height:350px!important; width:95%;}
.styledInput {width:95%;}
.button, .redButton {display:none;}

.small {font-size:12px; line-height:17px; margin-top:10px;}
.xsmall {font-size:10px; line-height:15px; margin-top:5px;}

.sidebarAffix {width:224px;}
.affix-bottom {position:absolute; bottom:10px;}
.affix {top:20px; }

h1, h2, h3 {
    line-height: 29px;
}
.hiddenTitleForPrinting {display:none;}

.breadcrumb li {
    display:inline;
}

#qualityMeasuresTable {width:400px;}
#scoresContainer {
	overflow: auto;
	width: 300px;
}