/* -----------------------------------------------------
 * Layout settings
 * ----------------------------------------------------- */
/* -----------------------------------------------------
 * App-wide specs: colors, dimensions, etc.
 * Controller- and page-specific variables should be declared in
 * the controller-specific SASS stylesheet.
 * ----------------------------------------------------- */
/*
 * Utopia-specific SASS variables and mixins.
 */
/* Page layouts
 */
/* -----------------------------------------------------
 * Grids
 *
 * Programmatically generate the widths of elements that
 * belong in the grid.
 *
 * Usage:
 *
 * .container
 *   @include row
 *   .primary
 *     @include col(8)
 *     @include internal-margin
 *   .secondary
 *     @include col(4)
 *     @include last
 * .container
 *   @include row
 *   .tertiary
 *     @prepend(4)
 *     @include(4)
 *     @append(4)
 *
 * Inspired by:
 *   http://bjorkoy.com/2010/05/css-grids-with-sass/
 * ----------------------------------------------------- */
/* math magic */
/* create row div */
/* create a column div */
/* make an element span n columns */
/* the first and last columns in a row needs these */
/* prepend n blank columns */
/* append n blank columns */
/*
 * Book display styles.
 */
.bookTitle, input.bookTitle {
  font-size: 12px !important;
  font-weight: bold;
  line-height: 15px;
}

.bookSubTitle, input.bookSubTitle {
  font-size: 12px;
  font-weight: bold;
  overflow: hidden;
}

.bookAuthors {
  box-sizing: border-box;
  font-size: 11px;
  height: 30px;
  line-height: 14px;
  margin-right: 10px;
  overflow: hidden;
  padding-top: 1px;
}

.bookDescription {
  margin-bottom: 5px;
}

div.bookDescription p {
  padding-bottom: 10px;
}

.bookDescriptionLabel {
  font-weight: bold;
  color: silver;
  margin-top: 15px;
  margin-bottom: 0px;
}

div.bookThumbnail {
  position: relative;
  float: left;
  width: 140px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-top: 5px;
  margin-left: 0px;
}
div.bookThumbnail span {
  font-size: 11px;
  white-space: nowrap;
  display: block;
  margin-top: -5px;
  clear: left;
}
div#bookProperties {
  float: right;
  width: 270px;
  background: white;
  padding-top: 5px;
}
div#bookTags {
  float: right;
  font-size: 11px;
  width: 178px;
  padding: 0px;
}
div#bookTags h2 {
  color: #505050;
  font-size: 13px;
  line-height: 15px;
  font-weight: normal;
  margin: 0px;
  margin-bottom: 2px;
  padding: 0px;
}
div#bookActions {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 11px;
}
div.bookAnnounce {
  width: 198px;
  font-size: 11px;
  padding: 10px;
  border: 1px solid silver;
}

td.fieldDescription {
  margin: 0px;
  text-align: right;
  width: 150px;
  text-transform: uppercase;
  padding-right: 10px;
  color: silver;
  white-space: nowrap;
}

.ie6 td.fieldDescription {
  width: 150px;
}

.clickToEdit {
  color: #00abf1;
}

div#bookCovers table {
  width: 350px;
}
div#bookCovers table th {
  text-align: left;
  color: silver;
}
div#bookCovers table td {
  padding-top: 3px;
  line-height: 20px;
}

#example_text {
  width: 110px;
  font-size: 18px;
  color: #a29c83;
}

#example_image {
  width: 451px;
}

.sales_table .title-column, .sales_table .cover_column, .sales_table .channel-column {
  white-space: normal;
}
.sales_table .title-column {
  max-width: 297px;
  word-wrap: break-word;
}
.sales_table .cover_column {
  padding-left: 5px;
  width: 60px;
}
.sales_table .qty_column {
  text-align: right;
  padding-right: 5px;
  width: 40px;
}
.sales_table .profit_column {
  text-align: right;
  width: 50px;
}
.sales_table .statement-footer {
  padding-right: 30px;
}
.sales_table tr.footer {
  float: none;
  background: none;
}
.sales_table tr.footer td {
  text-align: right;
}

.importantNotice.syp_payment {
  margin-top: 10px;
}
.importantNotice.syp_payment .reference {
  width: 200px;
  text-align: right;
  padding-right: 10px;
}

#syp_signup .slickshadow {
  padding: 20px;
  margin-bottom: 20px;
}
#syp_signup .address_details {
  margin-top: 0px;
}
#syp_signup #paypal_currency {
  margin-top: 10px;
  border-top: 1px solid #d2e2ae;
}
#syp_signup table.seller td {
  text-align: left;
  vertical-align: top;
  min-width: 150px;
}

#tax_address_info, #syp_signup .payment_options {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dotted #d2e2ae;
}

#contentMainWrap #isyp_save {
  margin-bottom: 5px;
}
#contentMainWrap #isyp_save .button {
  font-size: 1em;
  line-height: 1.46em;
}

#syp_signup #paypal_email_address input[disabled=disabled] {
  background-image: url("/images/backgrounds/patternGray_light.gif");
}
#syp_signup div.new-paypal {
  border: 2px solid #07b1f0;
  padding: 10px;
  margin-left: -10px;
  width: 695px;
  overflow: auto;
}
#syp_signup div.new-paypal div.logo {
  float: left;
  margin-top: auto;
  margin-bottom: auto;
  width: 60px;
}
#syp_signup div.new-paypal div.paypal-text {
  width: 620px;
  float: left;
}
#syp_signup div.new-paypal div.get-paid-paypal {
  color: #07b1f0;
  font-size: 12pt;
  margin-bottom: 5px;
}
#syp_signup div#seller_tax_form {
  padding-top: 40px;
}
#syp_signup div.newsletter {
  margin-bottom: 25px;
}

#currency_checkbox {
  border: 1px solid #d2e2ae;
  width: 297px;
  padding: 10px;
  float: right;
}

#currency_list {
  width: 150px;
  float: left;
}

.us_citizen {
  width: 130px;
}

.not_a_us_citizen {
  width: 301px;
  margin-left: 10px !important;
  padding-left: 20px !important;
  border-left: 1px solid #d2e2ae;
}

.indented_checkbox {
  margin-left: 22px;
}

.nospace, h4.caps {
  margin-top: 0;
}

.fieldWithErrors {
  display: inline;
}
.fieldWithErrors input {
  border: none;
}

div#bookstoreSlurperHeader {
  margin-bottom: 10px;
  width: 530px;
}

a#delicious {
  background: url(/images/icons/IconDelicious.png) no-repeat left center;
}
a#digg {
  background: url(/images/icons/IconDigg.png) no-repeat left center;
}
a#google {
  background: url(/images/icons/IconGoogleBookmarks.png) no-repeat left center;
}
a#reddit {
  background: url(/images/icons/IconReddit.png) no-repeat left center;
}
a#stumble {
  background: url(/images/icons/IconStumbleUpon.png) no-repeat left center;
}
a#facebook {
  background: url(/images/icons/IconFacebook.png) no-repeat left center;
}

.search-field {
  width: 260px;
}
.search-field input.textfield {
  font-family: ARSMaquettePro, Arial, sans-serif;
  width: 254px;
  font-size: 13px;
  height: 16px;
  margin: 0;
  background-color: #f3f4f5;
  border-radius: 3px;
  border: 1px solid #d7d8d9;
}
.search-field input.textfield:focus {
  border: 1px solid #d4ecf5;
}

#bookstore-search.searchbar .button.primary {
  padding: 2px 14px 4px;
}

select#category {
  width: auto;
  height: auto;
}

input.select, select {
  width: 150px;
  border: 1px solid #a29c83;
  margin-top: 0px;
  margin-bottom: 3px;
  padding: 3px 3px 3px 9px;
  font: normal 12px ARSMaquettePro, Arial, Helvetica, sans-serif;
  color: #535143;
  background-image: none;
  height: 24px;
}

select#show_option_input {
  width: auto;
}

.ie7 #filter {
  margin-top: 3px;
  margin-left: 3px;
}

.ie6 #filter {
  margin-top: 3px;
  margin-left: 3px;
}
.ie6 .filter {
  position: relative;
  left: 20px;
  width: 103px;
}
.ie6 #filter {
  position: absolute;
  z-index: 0 !important;
}

#filter #selected {
  background-color: #cbf1ff;
}

.search-input {
  margin-bottom: 10px;
}
.search-input ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.search-input ul li {
  float: left;
  padding-right: 10px;
}

.ie7 .search-input .slickbutton {
  width: 95px;
}

div.searchbar {
  position: relative;
  background: white;
  border-size: 0px;
  overflow: hidden;
  margin-bottom: 10px;
  margin-top: 10px;
}

div#simplePaginator {
  text-align: right;
  height: 30px;
}

#my_store_books a {
  color: #00abf1;
}
#my_store_books select {
  border: 1px solid #00abf1;
}
#my_store_books .pagination a:hover {
  background-color: #00abf1;
  border-color: transparent;
  color: white;
}
#my_store_books #display_controls {
  margin-left: 20px;
}
#my_store_books #display_controls li.sortby, #my_store_books #display_controls label {
  color: #979797;
  font-weight: bold;
}
#my_store_books #display_controls ul#sort_order {
  float: left;
  margin: 2px 10px 0 0;
}
#my_store_books #display_controls ul#sort_order li {
  float: left;
  margin: 0 10px 0 0;
  padding: 0;
  list-style: none;
}
#my_store_books #display_controls ul#sort_order li a.selected {
  border: 1px solid #00abf1;
  border-radius: 5px;
  color: white;
  background-color: #00abf1;
  pointer: none;
  padding: 0 4px;
}
#my_store_books #display_controls #show_options {
  float: left;
  width: 300px;
}
#my_store_books #books_wrapper {
  clear: both;
}

/*
 * Print Books | ebooks tab bar on the /my/store/ebooks page
 */
#book-type-tabs-container {
  text-align: center;
  clear: both;
  margin-bottom: 5px;
}
#book-type-tabs-container ul#book-type-tabs {
  vertical-align: middle;
  display: inline-block;
  margin: 0;
  padding: 0;
  margin: 0 auto;
  text-align: left;
  padding-left: 90px;
}
#book-type-tabs-container ul#book-type-tabs li {
  background: #d9d9d9;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFFFFFF', endColorstr='#FFD9D9D9');
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #d9d9d9));
  background-image: -webkit-linear-gradient(top, #ffffff, #d9d9d9);
  background-image: -moz-linear-gradient(top, #ffffff, #d9d9d9);
  background-image: -o-linear-gradient(top, #ffffff, #d9d9d9);
  background-image: linear-gradient(top, #ffffff, #d9d9d9);
  text-shadow: 0 1px 0 white;
  border-color: #939393;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  display: block;
  float: left;
}
#book-type-tabs-container ul#book-type-tabs li:hover {
  background: silver;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE6E6E6', endColorstr='#FFC0C0C0');
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e6e6e6), color-stop(100%, #c0c0c0));
  background-image: -webkit-linear-gradient(top, #e6e6e6, #c0c0c0);
  background-image: -moz-linear-gradient(top, #e6e6e6, #c0c0c0);
  background-image: -o-linear-gradient(top, #e6e6e6, #c0c0c0);
  background-image: linear-gradient(top, #e6e6e6, #c0c0c0);
}
#book-type-tabs-container ul#book-type-tabs li a {
  color: #535143;
  padding: 0.5em 1em;
  display: block;
  cursor: pointer;
  text-decoration: none;
  float: left;
}
#book-type-tabs-container ul#book-type-tabs li a:hover {
  color: #333333;
}
#book-type-tabs-container ul#book-type-tabs li.selected, #book-type-tabs-container ul#book-type-tabs li:active {
  background: #767676;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5d5d5d), color-stop(100%, #767676));
  background-image: -webkit-linear-gradient(top, #5d5d5d, #767676);
  background-image: -moz-linear-gradient(top, #5d5d5d, #767676);
  background-image: -o-linear-gradient(top, #5d5d5d, #767676);
  background-image: linear-gradient(top, #5d5d5d, #767676);
  text-shadow: 0 -1px 0 #333333;
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.3);
}
#book-type-tabs-container ul#book-type-tabs li.selected a, #book-type-tabs-container ul#book-type-tabs li:active a {
  cursor: text;
  background: transparent;
  color: white;
}
#book-type-tabs-container ul#book-type-tabs li:first-child {
  border-radius: 6px 0 0 6px;
  border-left-width: 1px;
}
#book-type-tabs-container ul#book-type-tabs li:last-child {
  border-radius: 0 6px 6px 0;
}

div#horizontal_rows_of_books .separator-first {
  clear: both;
  border-bottom: 2px solid #c3e28e;
  margin: 10px 0;
}

#horizontal_rows_of_books {
  padding: 0px 10px 10px 10px;
}
#horizontal_rows_of_books .spinner {
  float: right;
}
#horizontal_rows_of_books .pagination {
  margin: 0px 0px 10px 0px;
  float: right;
}
#horizontal_rows_of_books .separator {
  clear: both;
  border-bottom: 1px dotted #535154;
  margin: 10px 0;
}

.share_popup_wrapper {
  position: relative;
  z-index: 1001;
}
.share_popup_wrapper .share_book_popup {
  position: absolute;
  top: 0;
  left: 0px;
  z-index: 1000;
  text-align: left;
  background-color: white;
  color: #535143;
  border: 1px solid #535143;
  border-radius: 9px;
  padding: 0px;
  overflow: visible;
  width: 400px;
}
.share_popup_wrapper .share_book_popup .dialog_title {
  display: block;
  text-align: left;
  text-transform: uppercase;
  width: auto !important;
  margin: 10px 10px 0 10px;
}
.share_popup_wrapper .share_book_popup .dialog_title a.close {
  text-align: center;
  font-weight: bold;
  line-height: 1;
  height: 17px;
  width: 17px;
  float: right;
}
.share_popup_wrapper .share_book_popup .dialog_title a.close:hover {
  text-decoration: none;
}
.share_popup_wrapper .share_book_popup .dialog_title h5 {
  float: left;
}
.share_popup_wrapper .share_book_popup .dialog_content {
  clear: both;
  display: block;
  padding: 10px;
}
.share_popup_wrapper .share_book_popup .share_icons_wrapper ul {
  list-style: none;
  height: 41px;
  padding: 0 0 0.5em;
  margin: 0;
}
.share_popup_wrapper .share_book_popup .share_icons_wrapper ul li {
  float: left;
  margin-left: 12px;
}
.share_popup_wrapper .share_book_popup .share_icons_wrapper ul li a img {
  top: 2px;
  position: relative;
  margin-right: 3px;
}
.share_popup_wrapper .share_book_popup .share_icons_wrapper .preview_notice {
  margin-left: 10px;
  width: 300px;
}
.share_popup_wrapper .share_book_popup .link_wrapper {
  margin-left: 10px;
}
.share_popup_wrapper .share_book_popup .link_wrapper label {
  font-weight: normal;
  margin-right: 5px;
  color: #999999;
}
.share_popup_wrapper .share_book_popup.send_book {
  width: 290px;
  left: -160px;
  border: 1px solid #666666;
}
.share_popup_wrapper .share_book_popup.send_book .dialog_title {
  background-color: white;
}
.share_popup_wrapper .share_book_popup.send_book .dialog_title .close {
  color: #00ace5;
}
.share_popup_wrapper .share_book_popup.send_book .dialog_title h5 {
  color: #666666;
  margin-left: 3px;
  font-size: 1.2em;
  padding: 0px;
}
.share_popup_wrapper .share_book_popup.send_book .share_icons_wrapper ul {
  padding: 0px;
  margin-left: 10px;
}
.share_popup_wrapper .share_book_popup.send_book .share_icons_wrapper ul li {
  margin-left: 0px;
  padding: 0px 0px 10px 0px;
  margin-bottom: 10px;
  border-bottom: 1px solid #cccccc;
  width: 250px;
}
.share_popup_wrapper .share_book_popup.send_book .share_icons_wrapper ul li img {
  padding-right: 4px;
  vertical-align: middle;
}
.share_popup_wrapper .share_book_popup.send_book .share_icons_wrapper ul li a {
  font-size: 1.2em;
}
.share_popup_wrapper .share_book_popup.send_book .share_icons_wrapper ul li .options {
  font-family: "ARSMaquetteProMedium", sans-serif;
  font-size: 1.2em;
  color: #666666;
}

.share-links {
  vertical-align: middle;
}
.share-links .share-link-text, .share-links .blurb-fb-send, .share-links .like-btn, .share-links .share-image {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
}
.share-links .like-btn {
  height: 21px;
}
.share-links a:hover {
  text-decoration: none;
}
.share-links .share-link-text {
  margin: 0 3px 0 0;
}
.share-links .share-image img {
  height: 16px;
  display: block;
}

#email-it-body {
  padding: 0px;
}
#email-it-body label {
  text-transform: none;
  font-size: 1em;
  display: inline;
  margin: 0;
}
#email-it-body .small {
  font-size: 0.77em;
}
#email-it-body .button {
  font-family: ARSMaquettePro, Arial, sans-serif;
  margin-bottom: 15px;
}
#email-it-body .title {
  margin: 0;
  padding: 5px 0 0 0;
}
#email-it-body .buttonPanel .button {
  width: auto;
}
#email-it-body p {
  margin: 0.5em 0;
  font-size: 1em;
}
#email-it-body .textfield, #email-it-body textarea {
  width: 99%;
}

#email-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6em;
}

#dialog.email-overlay-ebook, #dialog.sms-overlay {
  background-color: white;
  top: 360px;
  left: -100px;
  border: 1px solid #666666;
  border-radius: 9px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
#dialog.email-overlay-ebook #dialog_title, #dialog.sms-overlay #dialog_title {
  font-family: ARSMaquettePro, Arial, sans-serif;
  font-size: 1.4em;
  margin: 0px 0px 0px 15px;
  padding: 0px;
  width: auto;
}
#dialog.email-overlay-ebook #dialog_content.content, #dialog.sms-overlay #dialog_content.content {
  padding: 0px 15px;
}
#dialog.email-overlay-ebook .button, #dialog.sms-overlay .button {
  margin: 10px 0px;
}

.dialog.emailme {
  background-color: white;
  font-family: ARSMaquettePro, Arial, sans-serif;
  border: 1px solid #666666;
  border-radius: 9px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
.dialog.emailme #dialog_title {
  width: auto;
  font-size: 1.4em;
  padding-left: 20px;
  font-family: ARSMaquettePro, Arial, sans-serif;
}
.dialog.emailme #dialog_content {
  padding: 0px 20px;
}

#bookshow_overlay #dialog_title {
  text-transform: none;
  background-color: white;
  color: #00adef;
}
#bookshow_overlay #dialog_title p {
  font-size: 30px;
  font-weight: normal;
  padding-left: 0;
}
#bookshow_overlay #dialog_title a.close {
  border: 1px solid #cccccc;
  padding: 3px;
  color: grey;
  font-size: 25px;
}

#app-notification-container {
  padding-bottom: 14px;
  margin-top: -20px;
}

.app-notification-bar {
  box-shadow: 0 6px 9px -4px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 238, 213, 0.92);
}
.app-notification-bar .inner {
  height: 70px;
}
.app-notification-bar.notification .icon:before {
  background-position: -200px -114px;
}
.app-notification-bar aside {
  display: none;
}
.app-notification-bar .content {
  display: inline-block;
  vertical-align: middle;
  font-family: ARSMaquettePro, Arial, sans-serif;
  color: #fb6826;
  padding: 15px 20px 15px 60px;
  font-size: 20px;
  line-height: 1.3em;
}
.app-notification-bar .content:before {
  content: "";
  height: 32px;
  width: 32px;
  left: 20px;
  position: absolute;
  background: url("/images/sprite-notification_icons.png") no-repeat;
}
.app-notification-bar .content a {
  color: #00a5d8;
}

/* book activity (metrics) page */
.lnk-ebooks-sales {
  padding: 10px;
}

.about_author_content_container .author_description {
  float: left;
}

#dropdown-menu-categoris__anchor {
  height: 0;
  margin-top: -60px;
  float: left;
}
