﻿@charset "utf-8";
/* CSS Document */
html {
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	overflow-y: scroll;
}
@media only screen and (max-width: 767px) {
body {
	margin: 2%;
}
input[type="text"] {
	border: 1px solid #cecece;
}
.mobile-display {
	display: block;
}
.hide-elements #logo {
    height: 20px;
}
.mobile-hide, #nav-meta, #nav-global {
	display: none !important;
}
.mobile-nav-menu {
	float: left;
}
.mobile-menu {
	margin-top: 6%;
	margin-bottom: 7%;
}
.mobile-nav {
	display: none;
	margin-bottom: 5%;
}
.mobile-nav a {
    margin-top: 0.3%;
	text-decoration: none;
}
.mobile-menu a, .mobile-nav a {
    font-weight: bold;
    font-family: sans-serif;
    font-size: 4.5vw;
    letter-spacing: 0.1em;
    color: white;
    display: block;
    padding: 4%;
}
.mobile-nav a {
    color: white;
    background-color: #939393;
}

.update h2, .book-chapter-tabs h2.sub-title {
	font-size: 13px !important;
}
.update-email input[type="text"], .update-billing input[type="text"], 
.update-shipping input[type="text"] {
	width: 100%;
}
/* format page*/
.title {
	margin-top: 1%;    
}
h1.page-title {
	font-size: 4.5vw !important;
}
h2.sub-title {
	font-size: 2.5vw !important;
	margin-top: 2%;
}
.button.register-login-button {
	width: 30%;
	margin-top: 3%;
	font-size: 2.5vw;
	padding: 2%;
}
.register .cancel-button {
    margin-top: 0 !important;
    position: relative !important;
    float: right;
}
.book-image, .buy-chapter .book-image {
	width: 35%;
	padding: 2%;
}
.book-info, .buy-chapter .book-info {
	width: 60%;
}
.format-page .buy-formats {
	margin: 0px 0 1% 0;
}
#book-details {
	margin-top: 16%;
}
.book-title {
	font-size: 4vw;
	margin-top: 2%;
}
.book-subtitle {
	font-size: 3vw;
	margin-top: 2%;
}
.book-author {
	font-size: 2.7vw;
	margin-top: 2%;
}
.sale-type {
	font-size: 4.5vw;
	margin-left: 2%;
	float: none;
}
.format-types {
	float: none;
	margin-left: 2%;
}
.format {
	width: 40%;
	margin-right: 4%;
	margin-bottom: 3%;
	padding: 1%;
}
.format label {
	font-size: 3.2vw;
	line-height: 18px;
}
.rent-formats {
	margin-bottom: 4%;
}
.buy-button {
	padding: 3.5%;
	margin-left: 1%;
	width: 30%;
	font-size: 3.7vw;
}
/* buy chapter page */
.buy-chapter .button.register-login-button {
	margin-top: 1.8%;
}
.buy-chapter .title {
	margin-top: 2%;
}
.buy-chapter #book-details {
	margin-top: 12%;
}
.buy-chapter #book-details {
    background-color: none;
}
.buy-chapter-tab .table div.format-price {
    background-color: #b1f9b1;
}
.buy-chapter-tab a.format {
    background-color: transparent;
    width: 100%;
}
.buy-chapter-tab .table .checkbox {
    margin-left: 0;
}
.buy-chapter-tab .table .format label {
        padding-left: 20px;
}
.buy-chapter-tab a.format label img {
    margin-top: 1px;
}
.format-page .buy-formats {
    float: none;
}
.book-chapter-tabs {
	margin-top: 5%;
	margin-bottom: 3%;
}
.tabs {
	height: 5.4%;
}
.tab-header {
	font-size: 4.5vw;
}
.book-chapter-tabs h2{
	    margin-top: 5%;
}
.buy-chapter h4.sub-title {
	font-size: 3.5vw;
	margin-top: 4%;
}
.buy-chapter #buy-book-tab .sale-type, .buy-chapter #buy-book-tab .format-types, .buy-chapter #buy-book-tab .buy-button {
	margin-left: 0;
}
.buy-chapter #buy-book-tab .sale-type {
	font-size: 14px;
}
.buy-chapter .table {
	margin-top: 4%;
}
.buy-chapter .table-header {
	font-size: 3.4vw;
}
.table-header .cell.number {
	width: 4%;
}
.table-header .cell.chapter {
	width: 30%;
}
.table-header .cell.format-price {
	width: 12%;
}
.row .cell {
	font-size: 3vw;
}
.row .cell.chapter {
	line-height: 14px;
}
.cell p.author {
	margin-top: 2%;
}
.row .cell.number {
	vertical-align: top;
}
.buy-chapter .format label {
	font-size: 2.8vw;
	line-height: 14px;
	margin-top: 4%;
}
.buy-chapter #buy-chapter-tab .buy-button {
	margin-right: 4.3%;
}
/* view cart page */
body.ship-pay-page #summary-security,
.view-cart #summary-security{
	position: relative;
	width: 96%;
}
body.ship-pay-page #summary-security {
	top: 20%;    
}
body.ship-pay-edit-page #summary-security{
top: 20%;
}
.view-cart #summary-security {
	top: 11%;
	width: 100%;
}
.view-cart #order-summary p {
	border-bottom: none;
}
.view-cart #order-summary input {
	line-height:2.5;
}
#summary-security img {
	display: none;
}
#order-summary h2 {
	font-size: 3vw !important;
	padding: 1%;
	margin-bottom: 2%;
}
#order-summary p {
	font-size: 11px;
    margin-right: 3%;
	border-bottom: 1px dotted #ccc;
	line-height: 1.8;
}
#order-summary p:last-child {
	border-bottom: none;
}
p.num-items {
	margin-top: 1%;
	margin-bottom: 0;
}
#order-summary input {
	margin-top: 1%;
	width: 71%;
}
.apply-button {
	margin-top: 1.3%;
}
p.subtotal {
	margin-top: 4%;
}
#order-summary .checkout-button {
	margin-top: 2%;
	font-size: 4vw;
	padding: 3%;
}
span#subtotal {
	padding-right: 56%;
}
.view-cart .button.register-login-button {
	margin-top: 2%;
}
.view-cart-table #summary-security, .ship-pay-page #summary-security {
	float: left;
    clear:both;
    position:relative;
    margin-top: 2%;
    width:100%;
}
.container-small #order-summary {
    padding: 0;
}
.view-cart-table {
	clear: both;
	float: left;
	margin-top: 2%;
    width: 100% !important;
}
.view-cart-table th {
	font-size: 12px;
	text-align: left;
}
.view-cart-table td {
	font-size: 11px;
}
.view-cart-table td .final-quantity{
    margin-left: 30%;
}
.view-cart-table input {
    width: 40px;
}
.view-cart-table tbody td:first-child,
.view-cart-table th:first-child {
	display: none;
}
li.cart-title {
    font-size: 11px;
}
li.cart-author {
	font-size:10px;
}
li.cart-format {
    font-size: 9px;
}
p.availability {
	font-size: 10px;
}
a.link.remove-item {
	margin-left: -14.7%;
    margin-top: 8%;
}
#buttons .button, #buttons1 .button {
	padding: 3%;
	width: 36%;
	font-size: 3vw;
    margin-bottom: 12px;
}
#buttons .continue-button {
	margin-top: 0;
}
.fixed-order-summary {
	    position: fixed;
    z-index: 34;
    background-color: white;
}

/* login page */
.login-page .checkout-process {
	margin-top: 3%;
}
ul.checkout-process li span.number, 
ul.checkout-process li.active span.number {
    padding: 3px 3px 2px 6px;
}
.login-account, .login-accountG, .create-account {
	float: none;
	width: 100% !important;
	margin-top: 4%;
}
.login-page h2 {
    font-size: 4vw !important;
}
p.email {
    margin-top: 3%;
}
p.password {
    margin-top: 2%;
}
.login-account input, .login-accountG input {
    height: 28px;
    /*height: 6.3%;*/
}
a.forgot-password {
	font-size: 3vw;
	margin-top: 0;
}
.login-account .login-button, .login-accountG .login-button {
    padding: 3%;
    margin-top:	3%;
}
.create-account {
	    margin-top: 6%;
}
#register {
	width: 100%;
}
#register .create-button {
	margin-top: -8.7%;
}
#register .cancel-button {
    margin-top: 2%;
}
#register .cancel-button, #register .create-button {
	width: 30%;
}
.button.register-button, .button.guest-button,
.login-account .login-button, .login-accountG .login-button {
	font-size: 4vw;
}
.button.register-button, .button.guest-button {
    width: 94%;
    padding: 3%;
}
.create-account hr {
    width: 100% !important;
    margin-top: 4.5% !important;
}
.create-account .or {
	margin-left: 46%;
	padding: 2% 0;
    font-size: 4vw;
}
.login-page #site-info {
	margin-top: 5%;
}

/*place order page */
.place-order .title, .ship-pay-page .title {
	float: none;
	width: 100%;
}
.place-order ul.checkout-process {
    margin-top: 3%;
}

/* preferred buyers page */

.preferred-buyer-page .button.register-login-button {
	margin-top: 2%;
}
.display-info {
	    margin-top: 12%;
}
.preferred-buyer-page #item-input {
	display: block;
    width: 44%;
    height: 5.5%;
}
.preferred-buyer-page #item-num-input {
    width: 24%;
	    height: 4.3%;
}
#container .display-button {
    padding: 1.8%;
    margin-top: 3%;
}
#container .go-button {
    width: 5%;
    padding: 1.5%;
}
.keycode-input {
	margin-top: 4%;
}
span.required {
    padding-left: 1%;
    font-size: 4vw;
}
.preferred-buyer-page .item-input, .preferred-buyer-page .item-num-input {
    height: 4.3%;
    margin-top: 2%;
    width: 45%;
}
.display-button {
	    padding: 1%;
}
p.foot-note {
    margin-top: 4%;
    margin-bottom: 5%;
}
.preferred-bookbuyer-table th {
	font-size:12px;
	text-align: center;
}
.preferred-bookbuyer-table td {
	font-size: 11px;
	font-weight: normal;
	padding: 2% 2% 2% 1%;
}
.preferred-bookbuyer-table input {
    width: 40px;
    height: 26px;
}
.place-order-info h2 {
	    font-size: 3.5vw;
}
.place-order-info ol {
    margin-left: 4%;
    font-size: 3.5vw;
}
.place-order-info ol li {
    margin: 3% 0;
}
.header-format {
    padding-left: 7%;
}
.item-title {
    padding-left: 8.8%;
    width: 28%;
}
.item-quantity {
    margin-left: -4%;
}
ul.pagination {
    margin: 6% 0 2% 2%;
}

/* product not available page */
.unavailable-page .button.register-login-button {
	    margin-top: 2%;
}
.unavailable-page .title {
	margin-bottom: 6%;
}

/* shipping payment page */

.ship-pay, .user-menu {
	    float: none;
		width: 100%;
}
body.ship-pay-page #summary-security {
	width: 100%;
    top: 8%;
}
body.ship-pay-page .ship-pay {
	margin-top: 65%;
}
.ship-pay h2 {
	margin: 3% 0;
}
.user-menu {
    text-align: right;	    
}
.ship-pay h2 {
	font-size: 4vw;
}
p.welcome-user, ul.menu-options {
	    display: inline;
}
.ship-address-table, .ship-address-table .row,  .ship-address-table .cell,
.payment-table, .payment-table .row, .payment-table .cell,
.bill-address-table, .bill-address-table .row, .bill-address-table .cell,
.update-shipping.show, .update-billing.show, 
.update-billing .table, .update-billing .row, .update-billing .cell,
.update-password-table, .update-password-table .row, .update-password-table .cell {
	display: block;    
}
.ship-address-table .row .cell,
.payment-table .row .cell,
.bill-address-table .row .cell,
.ship-pay-page input[type="text"],
.ship-pay-edit-page input[type="text"] {
	width: 100%;
}
.ship-address-table .cell{
    width:100%;
    padding-bottom:3%;
}


.ship-methods {
    margin-bottom: 3%;
}
.payment-table {
		margin-bottom: 4%;
}
ship-pay-page #buttons,
.ship-pay-edit-page #buttons {
	margin: 0;
    padding: 0;
}

/* shipping payment edit page */

body.ship-pay-edit-page #summary-security {
	width: 100%;
}
body.ship-pay-edit-page .row .cell {
	border-bottom: none;
}

/* Account info page */
ul.menu-options {
	padding: 1% 0;
}
.update h2 {
	margin: 4% 0;
}
.account-info .tabs li.active {
    line-height: 22px;
}
.account-info .tabs,
.buy-chapter .tabs {
	height: 33px;
}
.buy-chapter .buy-button {
    margin-left: 24px;
    margin-bottom: 15px;
}
.buy-chapter-tab .chapter-name {
    font-size: 12px;
}
.buy-chapter-tab p.author {
    font-size: 11px;
}
.buy-chapter .table div.chapter {
    margin-left: 7px;
    padding: 4px 0;
}
.buy-chapter-tab .table {
    width: 100%;
}
.account-info .tabs li {
	width: 30%;
	line-height: 21px;
}
.update-email {
	width: 98%;
}
.new-email, .new-password {
	float: none;
}
.new-password h4 {
    margin-top: 7%;
    margin-bottom: 4%;
}
.new-email h4, .update-billing h4,
.update-shipping h4 {
    margin-top: 5%;
    margin-bottom: 2%;
}
.retype-password {
	padding-left: 0;
}
.update-shipping.hide, .update-billing.hide {
	display: none;
}
.update-email .save-button {    
    margin-left: 0;
    margin-bottom: 4%;
}
.update-billing input[type="text"], 
.update-shipping input[type="text"],
.update-billing select, .update-shipping select {
	width: 100%;
}
.update-email .save-button,
.update-billing .save-button, 
.update-shipping .save-button {
    width: 93%;
    padding: 3%;
}
.register {	
	width: 100% !important;	
}
.register .create-button {
	/*float: right;
	width: 45%;
	margin-top: -10%;*/
}
/* order history page */

.order-history-table th {
    text-align: center;
    font-size: 11px;
}
.order-history-table td {
    font-size: 10px;
    padding: 1%;
    text-align: center;
}
.order-history .row .cell {
	text-align: left;
	padding-left: 2%;
}
.order-history .product-type {
    width: 16%;
    margin-left: 3%;
}
.order-history .total {
    margin-left: 8%;
}
.order-history .details {
    margin-left: 0;
    float: right;
}
.order-tracking-table, .shipping-product-table {
	float: none;
}
.view-details-information {
	clear: both;
}

/* stick sidebar */
.view-cart #summary-security.affix,
.ship-pay-page #summary-security.affix,
.ship-pay-edit-page #summary-security.affix {
        position: fixed;
    top: 0;
    width: 96%;
    float: none;
    background-color: white;
    margin-left: 0;
    margin-top: 0;
	box-shadow: 1px 3px 11px #ccc;
}
#summary-security.affix img {
	display: none;
}
#summary-security.affix #order-summary input {
	width: 68%;
    height: 31px;
}
#dvContact, #dvShipping {    
    padding-top: 18px;       
}
#dvContact a, #dvShipping a {
   padding-left: 0px;
}
.account-info .section {
    width: 100%;
}
.account-info h2 {
    display: block;
    font-size: 3vw;
}
}


/* target iPhone only */
@media (max-device-width:320px) {
h2.sub-title {
	font-size: 2vw !important;
}
}
