body{
	background-color: #F5F5F5;
}

.ap-top-bar{
	height: 40px;
	border-bottom: 1px solid #e5e5e5;
	background-color: #FFFFFF;
}

.ap-header-wrapper{
	height: 180px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.ap-top-author-details{
    background-color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
    border: 1px solid #EEEEEE;
    border-radius: 5px;
    padding: 30px;
    padding-top: 50px;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
}

.ap-top-author-details h1{
	line-height: 1;
	text-align: center;
	font-size: 22px;
	color: #000000;
	font-weight: bold;
}

.ap-top-author-details h2{
	padding: 8px 10% 0 10%;
	font-size: 20px;
	font-weight: normal;
	line-height: 1.4;
	text-align: center;
	color: #666666;
	font-family: "proxima-nova",Arial,Helvetica,sans-serif;
}

.ap-wrapper{
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	margin-bottom: 20px;
	margin-top: -130px;
}

body[data-gridstack-number-columns="1"] .ap-wrapper{
	max-width: 900px;
}

body[data-gridstack-number-columns="2"] .ap-wrapper{
	max-width: 900px;
}

.ebook-three-section{

}

.ap-extra-mt{
	margin-top: 60px;
}

.ap-profile-image-wrapper{
    text-align: center;
    width: 110px;
    margin: 0 auto;
    margin-bottom: -50px;
    position: relative;
    z-index: 10;
}

.ap-profile-image-inner-wrapper{
	display: inline-block;
	margin: -3px 2px 0;
	vertical-align: middle;
	border-radius: 50%;
	width: 110px;
	height: 110px;
	-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
	border: 1px solid #ddd;
	padding: 5px;
	background-color: #FFFFFF;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

.ap-profile-image{
	border-radius: 50%;
	width: 100px;
	height: 100px;
	display: block;
	background-size: cover;
	background-position: 50% 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
}

.ap-profile-name{
	color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.ap-profile-bio{
    color: #777777;
    font-style: normal;
    line-height: 25px;
}

.ap-author-details-button-wrapper{
	text-align: center;
	margin-top: 20px;
}

.ap-author-details-button-wrapper .default-state .btn{
    font-size: 16px;
    padding: 10px 20px;
}

.ap-author-details-button-wrapper .default-state .btn:last-child{
	margin-left: 5px;
}

.ap-author-details-button-wrapper .default-state .initial-follow-button .glyphicon{
	font-size: 13px;
	margin-right: 5px;
}

.ap-author-details-button-wrapper .clicked-state .follow-form-input-wrapper{
    display: inline-table;
    max-width: 280px;
    position: relative;
    margin-bottom: 10px;
}

.ap-author-details-button-wrapper .clicked-state input[type="text"]{
	color: #666666;
    font-size: 16px;
    box-shadow: none;
    height: 50px;
    border: 1px solid #E0E5E9;
    display: block;
    margin: 0;
    padding: 16px;
    font-size: 18px;
    background-color: #ffffff;
    -webkit-transition: all 150ms;
    transition: all 150ms;
    display: table-cell;
    max-width: 230px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.ap-author-details-button-wrapper .clicked-state input[type="text"]:hover{
	border: 1px solid #B4C0CB;
}

.ap-author-details-button-wrapper .clicked-state input[type="text"]:focus,
.ap-author-details-button-wrapper .clicked-state input[type="text"]:active{
	border-color: #1fb6ff;
}

.ap-author-details-button-wrapper .clicked-state .btn{
    padding: 15px 20px;
    top: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    padding-top: 14px;
    right: 0px;
    display: table-cell;
    width: auto;
}

.ap-author-details-button-wrapper .clicked-state p{
	color: #999999;
	font-size: 14px;
}

.ap-author-details-button-wrapper .clicked-state input[type="text"].border-red{
	border-color: #FF1F5A;
}

.ap-author-details-button-wrapper .success-state .icon{
    background-color: #4BBB8B;
    color: #FFFFFF;
    font-size: 25px;
    border-radius: 50%;
    display: inline-block;
    width: 50px;
    height: 50px;
    padding-top: 12px;
}

.ap-latest-works{
	border-bottom: 1px solid #EEEEEE;
    border-top: 1px solid #EEEEEE;
    color: #222222;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    padding-bottom: 12px;
    padding-top: 12px;
    text-transform: uppercase;
}

.ap-separator-line{
	width: 60%;
	height: 3px;
	background-color: #000;
	margin: 0 auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

.ap-profile-social{
    margin-top: 16px;
    overflow: hidden;
   text-shadow: none;
   text-align: center;
}

.ap-profile-social ul{
	padding: 0px;
	margin: 0px;
}

.ap-profile-social ul li{
	list-style-type: none;
	margin-right: 10px;
	display: inline;
}

.ap-profile-social ul li:last-child{
	margin-right: 0px;
}

.ap-profile-social li a{

}

.ap-twitter{
	display: inline-block;
	height: 24px;
	width: 24px;
	color: #DDDDDD !important;
	font-size: 20px;
}

.ap-facebook{
	display: inline-block;
	height: 24px;
	width: 24px;
	color: #DDDDDD !important;
	font-size: 20px;
}

.ap-twitter:hover{
	color: #AAAAAA !important;
	text-decoration: none;
}

.ap-facebook:hover{
	color: #AAAAAA !important;
	text-decoration: none;
}

.ap-website{
}

.ap-website:hover{
	text-decoration: underline;
}

.ap-ebooks-wrapper{
	margin-top: 25px;
	padding-top: 20px;
	text-align: center;
	position: relative;
}

.opacity-0{
	filter: alpha(opacity=0); /* internet explorer */
	-khtml-opacity: 0;      /* khtml, old safari */
	-moz-opacity: 0;       /* mozilla, netscape */
	opacity: 0;           /* fx, safari, opera */
}

.loading-ebook-boxes{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	background-image: url('../ap-book-cover.html');
	background-repeat: no-repeat;
	background-position: 50% 75px;
}

.ap-ebook{
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	overflow: hidden;
	/* Need to override a link background properties */
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: 0 0 !important;
}

.ap-ebook:nth-child(3n+3){
	margin-right: 0px;
}

.ap-ebook-title{
	text-align: center;
	margin: 0px;
	color: #222222;
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	color: #FFFFFF;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	opacity: 0;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.ap-ebook-title:hover{
	opacity: 1;
}

.ap-ebook-title .outer{
	display: table;
	position: absolute;
	height: 100%;
	width: 100%;
}

.ap-ebook-title .middle{
	display: table-cell;
	vertical-align: middle;
}

.ap-ebook-title .inner{
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}

.ap-ebook-title a{
	border-bottom: 1px solid #DDDDDD;
}

.ap-ebook-title a:hover{
	border-color: #AAAAAA;
	text-decoration: none;
}

.display-product-titles .ap-ebook{
	transition: all .4s ease-in-out;
}

.display-product-titles .ap-ebook:hover{
	transform: scale(1.025);
}

.display-product-titles .ap-ebook-title{
    opacity: 1;
    position: absolute;
    filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=transparent, endColorstr=rgba(0, 0, 0, 0.35), GradientType=0)";
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.35));
    padding-top: 30px;
    padding-bottom: 15px;
    height: auto;
}

.display-product-titles .ap-ebook-title .outer{
    display: inline;
    position: static;
}

.display-product-titles .ap-ebook-title .middle{
	display: inline;
}

.display-product-titles .ap-ebook-title .inner{
	display: inline;
}

.ap-ebook-cover{
	display: block;
	position: relative;
}

.ap-dark-view{
	background-color: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    display: none;
    height: 100%;
    letter-spacing: 2px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 0;
    width: 100%;
}

.ap-move-page-up{
	margin-top: -30px;
}

.ap-dark-view-inner{
	background-image: url("../ap-view.html");
    background-position: 115px 85px;
    background-repeat: no-repeat;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-top: 90px;
}

.ap-footer{
	color: #999999;
	padding-top: 30px;
	padding-bottom: 30px;
	font-size: 12px;
	text-align: center;
}

.ap-footer a{
	color: #444444;
}

.ap-ebook-price{
    font-weight: normal;
    position: absolute;
    top: 10px;
    background-color: #3A8BBB;
    color: #FFFFFF;
    padding: 10px;
    right: 0px;
    font-size: 15px;
    height: 38px;
    line-height: 38px;
    padding-top: 0px;
    padding-bottom: 0px;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.14);
}

.ap-ebook-price:before{
	content: '';
	height: 0;
	position: absolute;
	width: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 19px 15px 19px 0px;
	border-right-color: #3A8BBB;
	position: absolute;
	top: 0px;
	right: 100%;
}

.ap-grid-sizer{
	width: 210px;
	position: absolute;
	border-radius: 8px 8px 8px 8px;
	float: left;
	margin: 10px 1%;
}

.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-default{
	background-color: #eeeeee;
	background-image: -moz-linear-gradient(#fcfcfc, #eee);
	background-image: -webkit-linear-gradient(#fcfcfc, #eee);
	background-image: linear-gradient(#fcfcfc, #eee);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fcfcfc', endColorstr='#eee');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fcfcfc', endColorstr='#eee')";
	background-repeat: repeat-x;
	color: #000000 !important;
	font-weight: bold;
	border-color: #d5d5d5;
}

.btn-default:hover{
	background-color:#F5F5F5;
	background-image: none;
	text-decoration: none;
	border-color: #AAAAAA;
}

.ap-top-author-details .on-the-web-wrapper{
	text-align: center;
	position: absolute;
	top: 20px;
	right: 20px;
}

.ap-top-author-details .on-the-web-wrapper img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    opacity: 0.3;
}

.ap-top-author-details .on-the-web-wrapper a:last-child img{
	margin-right: 0px;
}

.ap-top-author-details .on-the-web-wrapper a:hover img{
	opacity: 0.5;
}

.ap-top-author-details .on-the-web-wrapper .tooltip-inner{
	padding: 5px 10px;
	background-color: #444444;
}

.ap-top-author-details .on-the-web-wrapper .tooltip.top .tooltip-arrow{
	border-top-color: #444444;
}

.social-btn{
	padding-bottom: 8px;
    padding-top: 8px;
}

.ap-collections-wrapper{
	text-align: center;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 20px;
}

.ap-collections-wrapper a{
	border-radius: 5px;
	padding: 4px 14px;
	font-size: 13px;
	display: inline-block;
	border: 1px solid #CCCCCC;
	background: #FFFFFF;
	color: #666666;
	cursor: pointer;
	margin-right: 5px;
	margin-top: 10px;
	transition: all .2s ease;
}

.ap-collections-wrapper a:last-child{
	margin-right: 0px;
}

.ap-collections-wrapper a:hover{
	border-color: #999999;
}

.ap-collections-wrapper a:active{
	-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
	box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.ap-collections-wrapper a.active,
.ap-collections-wrapper a.active:hover{
    color: #FFFFFF;
    background-color: #2D95C6;
    border-color: #2D95C6;
}

/** START SPINNER **/

.spinner {
  margin: 100px auto;
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #CCC;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  } 20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/** END SPINNER **/

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 10px;
    margin-left: 5px;
    line-height: 1.42857143;
    color: #1798be;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 15px;
 	border-radius: 5px;
 	text-shadow: none;
}

.pagination>li>a:hover{
	background-color: #1798be;
	color: #ffffff;
	border-color: #1798be;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #999999;
    cursor: default;
    background-color: transparent;
    border-color: transparent;
}

.pagination .next a, .pagination .prev a{
	font-size: 11px;
	line-height: 21.428px;
}

.profile-page-footer{
	font-size: 12px;
	/* Important to make section far from above, especially when pagination is there */
	margin-top: 50px;
	margin-bottom: 10px;
	text-align: center;
	color: #999999;
}

.profile-page-footer a{
	color: #666666;
}

.profile-page-footer a#footer-show-more-link{
	color: #999999;
	position: relative;
	top: 2px;
	background-image: none;
}

.profile-page-footer a#footer-show-more-link:hover{
	text-decoration: none;
	color: #444444;
}

.footer-more-section{
	color: #999999;
	text-align: center;
	font-size: 12px;
}

.footer-more-section a{
	color: #999999;
}

.share-seller-profile-modal{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.9);
	/* Need a high z-index to cover cart launcher */
	z-index: 2147483647;
}

.share-seller-profile-modal .close-button-outer{
    padding: 25px;
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    cursor: pointer;
	margin: 10px 10px 0 0;
	background-color: #F7F7F7;
}

.share-seller-profile-modal .close-button{
    position: relative;
    height: 100%;
    width: 100%;
}

.share-seller-profile-modal .close-button:before{
	width: 1px;
	left: calc(50% - .5px);
	transform: rotate(-45deg);
	content: '';
	position: absolute;
	top: -20.71068%;
	left: calc(50% - 1px);
	width: 1.5px;
	height: 141.42136%;
	border-radius: 1px;
	background-color: #AAAAAA;
}

.share-seller-profile-modal .close-button:after{
	width: 1px;
	left: calc(50% - .5px);
	transform: rotate(45deg);
	content: '';
	position: absolute;
	top: -20.71068%;
	left: calc(50% - 1px);
	width: 1.5px;
	height: 141.42136%;
	border-radius: 1px;
	background-color: #AAAAAA;
}

.share-seller-profile-modal .close-button-outer:hover .close-button:before,
.share-seller-profile-modal .close-button-outer:hover .close-button:after{
	background-color: #666666;
}

.share-seller-profile-modal .outer{
	display: table;
	position: absolute;
	height: 100%;
	width: 100%;
}

.share-seller-profile-modal .middle{
	display: table-cell;
	vertical-align: middle;
}

.share-seller-profile-modal .inner{
	margin-left: auto;
	margin-right: auto;
	width: 400px;
}

.share-seller-profile-modal .inner h2{
    margin-bottom: 20px;
    margin-left: 15px;
}

.share-seller-profile-modal .inner ul{
	list-style-type: none;
	padding-left: 0px;
}

.share-seller-profile-modal .inner ul li{
    display: block;
    margin-bottom: 10px;
    font-size: 25px;
    border-top: 1px solid #E3E5E6;
    padding-top: 10px;
    padding-left: 10px;
}

.share-seller-profile-modal .inner ul li a{
	color: rgba(45,55,65,.85);
}

.share-seller-profile-modal .inner ul li a:hover{
	color: #3A8BBB;
}

.share-seller-profile-modal .inner ul li a:hover .icon{
	color: rgba(45,55,65,.85);
}

.share-seller-profile-modal .inner ul li a .img-wrapper{
	width: 25px;
	margin-right: 10px;
	display: inline-block;
}

.share-seller-profile-modal .inner ul li a .img-wrapper img{
	width: 25px;
	height: 26px;
}

.share-seller-profile-modal .share-store-wrapper li.copy-link input[type="text"]{
	width: 10px;
	/* internet explorer */
	filter: alpha(opacity=0);
	/* khtml, old safari */
	-khtml-opacity: 0;
	/* mozilla, netscape */
	-moz-opacity: 0;
	/* modern browsers */
	opacity: 0;
}

.infinite-scroll-loading-animation-wrapper{
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}

.infinite-scroll-loading-animation-wrapper .loading-animation{
	display: inline-block;
	width: 50px;
	height: 50px;
	background-color: #FFF;
	border-radius: 50%;
	padding: 5px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.infinite-scroll-loading-animation-wrapper .loading-animation svg{
	opacity: 0.3;
}

.ap-ebooks-wrapper .grid-stack>.grid-stack-item>.grid-stack-item-content{
	overflow: hidden;
	background-color: rgba(255,255,255,0.5);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22);
	-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22);
	-moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22);
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.ap-ebooks-wrapper .grid-stack>.grid-stack-item>.grid-stack-item-content:hover{
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.ap-ebooks-wrapper .grid-stack>.grid-stack-item>.ui-resizable-se{
	width: 40px;
	height: 40px;
	background-size: 30px;
	background-color: #FFFFFF;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 4px 0px;
}

body[data-seller-has-products="0"] .profile-page-footer{
	display: none;
}

@media only screen
and (max-width : 1000px) {

	.ap-wrapper{
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
	}

	.share-seller-profile-modal .inner{
		width: 100%;
	}

	.ap-top-author-details{
		margin-left: 0px;
		margin-right: 0px;
	}

	.ap-top-author-details .on-the-web-wrapper{
		position: static;
		margin-top: 20px;
	}

	.share-seller-profile-modal .close-button-outer{
		margin: 0px;
	}

	.ap-top-author-details h2{
		padding: 8px 0 0 0;
	}

}