/*
Theme Name: anarcholib
Theme Main Styles
*/

html,body {
height:100%;
}

body {
margin: 0 !important;
padding: 0 !important;
/*overflow: hidden;*/
}

/*--------------------------------------------------------------
Site header & main menu
--------------------------------------------------------------*/

.header-wrapper.alib-bigmenu {
display: block;	
position: static;
width: 100%;
z-index: 9999;
margin: 0 0 30px 0;	
}

.header-container {
position: relative;	
margin: 0 auto;
}

#site-logo {
float: left;
background-repeat: no-repeat;
background-size: contain;
background-position: left center;
}

#site-logo a {
display: block;
width: 187px;
}

#site-logo:hover, #alib-social li a:hover, .alib-pagination a:hover, .alibmore-wrapper:hover span.gen-icon {
opacity: 0.6;
}

.header-wrapper.alib-bigmenu #site-logo a {
height: 80px;	
}	 

.header-wrapper.alib-bigmenu #menu-container {
height: 62px;
/*height: 40px;*/	
}

.header-wrapper.alib-bigmenu #social-wrapper {
display: block;
/*overflow: hidden;*/
}

.header-wrapper.alib-compmenu {
display: block;	
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 58px;
z-index: 9999;
}

.header-wrapper.alib-compmenu #social-wrapper {
display: none;
}

.header-wrapper.alib-compmenu #site-logo a {
height: 58px;
}

.header-wrapper.alib-compmenu #menu-container {
height: 39px;
}

/* Header search form */
#social-wrapper {
display: block;
width: 100%;
overflow: visible;
height: 34px;
}

#social-inner {
width: 1170px;
margin: 0 auto;
}

#social-container {
height: 30px;	
position: relative;	
float: right;
margin-top: 4px;
}

#social-container .widget-title {
display: none !important;
}

#social-container aside {
float: left;
margin-left: 20px;
}

#alib-social {
float: left;
list-style-type: none;
padding: 0;
font-size: 0;
}

.social-icon {
display: inline-block;
width: 22px;
height: 22px;
margin-left: 6px;
padding: 0;
background-repeat: no-repeat;
}

.social-icon a {
display: block;
width: 22px;
height: 22px;
}

.alib-srchwrapr {
position: relative;
width: 210px;
height: 26px;
overflow: hidden;
margin: 0;
padding: 0;
line-height: 26px;
font-size: 14px;
z-index: 100;
}

/* Menus */
#menu-container {
float: right;	
display: table;
}

#site-navigation {
display: table-cell;
vertical-align: bottom;
}

.alib-mobmwrap {
display: none;
}

/* Small menu */
.menu-toggle {
display: none;
}

/*--------------------------------------------------------------
Main site content
--------------------------------------------------------------*/
.site-responsive {
width: 1170px;
}

.site-content, .site-footer {
position: relative;	
overflow: hidden;
}

.site-content {
margin: 0 auto;
}

.site-footer {
margin: 20px auto 0 auto;
}

.content-area {
float: left;
width: 890px;
overflow: hidden;
padding-bottom: 30px;
}

/* Padding - Home page */
#relposts-wrapper, .relposts-wrapper {
padding: 22px;
}

#relposts-wrapper {
margin-bottom: 22px;
}

/* Padding - Index pages */
.blposts-wrapper, #grid-wrapper, .taxpage-meta, .alib-artindex {
padding: 14px;
}

.alib-artindex {
display: block;
padding: 14px;
}

.blposts-wrapper.alib-artindex {
padding: 0;
}

.blposts-index .entry-footer {
padding: 0 14px 12px 14px;	
}

.blposts-content.size-medium {
width: 558px;
height: 188px;
padding-right: 16px;
}

.entry-footer.size-medium {
padding: 0 16px 16px 0;
}

#grid-wrapper.alib-prodgrid {
padding: 0;
}

/* Padding - Single pages */
.blposts-single .entry-content {
padding: 0 20px;
}

.nav-links {
padding: 0;
}

#info-container, #alib-contactpg, #review-wrapper, .author-info, .comments-area, .entry-content.alib-sinpage {
padding: 20px;
}

.comments-area {
margin-top: 24px;
}

#review-wrapper {
display: block;	
margin-bottom: 22px;
}

#info-container #product-title {
margin-top: 0;
} 

.taxpage-content {
width: 636px;
}

.alib-archpg .blposts-index.alib-taxpage {
margin-top: 0;
}

/* Heading title */
#pgtitle-main {
margin-bottom: 20px;
padding: 6px;
}

#pgtitle-main h1 {
clear: none;
display: table-cell;	
margin: 0;
padding-left: 6px;
line-height: 26px;
font-size: 20px;
font-weight: 600;
}

#pgtitle-main span {
line-height: 26px;
font-size: 20px;
font-weight: 600;
}

.icon-heading {
float: left;	
display: inline-block;
width: 25px;
height: 25px;
overflow: hidden;
margin-left: 4px;
background-repeat: no-repeat;
background-position: center center;
}

.alib-datepad {
padding-left: 6px;
}

.single-audtitle {
padding: 0 20px;
}

.single-audio .audio-title h4 {
margin: 0.9em 0 0.2em 0;
font-size: 14px;
}

/*--------------------------------------------------------------
Sidebar & Widgets
--------------------------------------------------------------*/
.site-content .widget-area {
float: right;
width: 280px;
overflow: hidden;
padding-left: 24px;
}

#widgets-wrapper aside, #footer-sidebar aside, div.textwidget {
font-size: 13px;
}

#widgets-wrapper .alib-srchwrapr, #footer-sidebar .alib-srchwrapr {
width: 100%;
}

#widgets-wrapper aside.widget {
padding: 14px;
}

#widgets-wrapper h3.widget-title, #footer-sidebar h3.widget-title {
text-transform: uppercase;
margin: 0 0 1em 0;
padding-bottom: 0.2em;
}

#widgets-wrapper ul, #footer-sidebar ul {
list-style: none;
margin: 0;
padding: 0;
}

#footer-sidebar aside {
margin: 0;
padding-right: 22px;
}

#footer-sidebar aside.widget:last-of-type {
padding-right: 0 !important;
}

#widgets-wrapper ul li, #footer-sidebar ul li {
margin-bottom: 16px;
padding-bottom: 3px;
}

#footer-sidebar ul li:last-child {
margin-bottom: 0;
}

#widgets-wrapper ul li:last-child {
margin-bottom: 8px;
}

#widgets-wrapper ul.contactform li, #footer-sidebar ul.contactform li {
border-bottom: none !important;
}

.textwidget {
text-align: justify;
}

/* custom comments widget w. gravatar */
.alib-recom li.alib-recomwrap {
margin-bottom: 20px !important;
padding-bottom: 6px !important;
}

.alib-recom li.alib-recomwrap:last-child {
margin-bottom: 0 !important;
}

.alib-recom img.avatar {
display: block;
float: left;
overflow: hidden;
}

.alib-recometawrp {
display: block;
height: 38px;
overflow: hidden;
}

.alib-recometa {
margin-left: 5px;
padding: 0 4px;
}

.alib-recometa .icon-date {
margin-top: 2px;
}

.alib-recomauth, .alib-recomdate {
line-height: 19px;
margin: 0;
padding-left: 1px;
overflow: visible;
}

.alib-recomauth {
display: block;
height: 19px;
font-size: 13px;
font-weight: 600;
overflow: hidden;
}

.alib-recomdate {
padding-left: 3px;	
display: inline-block;
vertical-align: middle;
font-size: 11px !important;
line-height: 20px;
font-weight: 700;
}

.alib-recomexcrpt {
display: block;	
margin-top: 5px;
font-size: 13px;
}

/* Banner w. Image Widget */
.bannerimg-widget p {
margin-bottom: 0;
padding: 0;
font-size: 13px;
}

.author-image.banner-widget img {
width: 100%;
/*max-width: 225px;*/
padding: 0 0 8px 0;
}

/* Style switcher */

fieldset.colorsw-container {
position: absolute;
top: -52px;
left: -94px;
z-index: 999;
}

.colorsw-wrapper {
  float: none;
  clear: both;
  display: block;
  padding: 1px 10px 8px 10px;
border-radius: 0px 0px 0px 10px;
-moz-border-radius: 0px 0px 0px 10px;
-webkit-border-radius: 0px 0px 0px 10px;
}

.colorsw-text {
display: block;
font-size: 12px;
line-height: 14px;
margin-bottom: 4px;
padding: 0;
color: white;
}

.colorsw-wrapper label {
  float: left;
  clear: none;
  display: block;

  margin-right: 8px; 
  width: 50px;
  height: 20px;
  cursor: pointer;
  overflow: hidden;

}

.colorsw-wrapper label.colorsw-active {
border: 1px dotted gray;
}

.colorsw-wrapper label:hover {
opacity: 0.6;
}

.colorsw-wrapper label#darkcol {
  background-color: black;
}


.colorsw-wrapper label#lightcol {
  margin-right: 0;
  background-color: whitesmoke;
}

.colorsw-wrapper input[type=radio], .colorsw-wrapper input.colorsw-opt {
  float: left;
  clear: none;
  visibility: hidden;
}

#colorsw-button {
position: absolute;
bottom: -27px;
right: 0;
	
display: block;	
width: 28px;
height: 28px;

cursor: pointer;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
overflow: hidden;
}

#colorsw-button, .colorsw-wrapper {
border: 1px solid #424242;
border-top: none;
background-color: #282828;
}

/* Tags Cloud Widget */

.tagcloud a {
display: inline-block;
height: 26px;
line-height: 26px;
padding: 0 4px;
margin: 0 0 -2px !important;
font-weight: 700;
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
text-overflow: ellipsis;
opacity: 0.85;
}

.tagcloud a:hover {
opacity: 1;
}


/*--------------------------------------------------------------
Blog posts - index page
--------------------------------------------------------------*/
.entry-title {
font-weight: 600;
}

h2.entry-title {
padding-bottom: 4px;
}

div.alib-blog:nth-child(n+6) {
float: left;
width: 48.9%;;
margin-right: 2.2%;
overflow: hidden;
}

div.alib-blog:nth-child(n+6) .blposts-thumb {
width: 435px;
height: 244px;
}

div.alib-blog:nth-child(n+6) .blposts-thumb.audio-embed {
}

div.alib-blog:nth-child(n+6) .thumbimg-wrapper {
height: 214px;
}

div.alib-blog:nth-child(n+6) .blposts-content {
width: 100%;
}	

div.alib-blog:nth-child(odd) {
margin-right: 0 !important;
}	

.blposts-index {
margin: 0 0 20px;
}

.blposts-index .flexslider .slides img  {
/*width: auto;*/
height: 250px;
}

.blposts-thumb {
float: left;
width: 444px;
height: 247px;
overflow: hidden;
position: relative;	
}

.blposts-thumb iframe {
display: block;	
width: 444px;
height: 247px;
}

.alib-audio{
position: relative;	
display: block;
width: 100%;	
}

.thumbimg-wrapper {
position: relative;
height: 219px;
overflow: hidden;
}

.blposts-thumb img, .thumbimg-wrapper img {
width: 100%;
height: auto;	
display: block;
}

.blposts-thumb.gallery-index {
}

.blposts-thumb.cite-image {
display: block;
padding: 16px;
background-repeat: no-repeat;
}

.blposts-thumb.cite-image img {
width: 80px;
height: 106px;	
display: block;
overflow: hidden;
display: none;
}

.quote-wrapper {
vertical-align: middle;
padding: 0 14px;
}

blockquote.blposts-quote {
margin: 0;
}

.blposts-quote p {
margin-bottom: 0.8em;
font-size: 18px;
font-weight: 600;
font-style: italic;
line-height: 1.8em;
text-align: justify;
}

.blposts-quote.alib-indexpg p {
max-height: 174px;
line-height: 30px;
overflow: hidden;
}

.quote-mark {
display: inline-block;
width: 55px;
height: 46px;
margin: 0 10px -5px 0;
background-image: url('../images/icons/icon_quote_55x46px.png');
}

.blposts-quote cite {
display: block;	
text-align: right;
font-size: 16px;
font-style: normal;
font-weight: 400;
}

.pstformat-icon {
display: block;
width: 28px;
height: 28px;
overflow: hidden;
position: absolute;
top: 4px;
right: 4px;
background-repeat: no-repeat;
background-position: center center;
z-index: 2000;
}

.centerd-icon {
display: block;
width: 40px;
height: 40px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -20px;
margin-left: -20px;
background-repeat: no-repeat;
background-position: center center;
z-index: 999;
}

span.icon-link {
display: none;
}

a.alib-linkhover {
display: block;
}

a.alib-linkhover img {
width: 100%;
height: auto;
} 

.relposts-thumb.cont-single {
position: relative;
background-color: transparent;
}

.meta-section.alib-cats, .meta-section.alib-tags {
padding-bottom: 8px;
}

.meta-section.alib-date {
float: left;
padding-right: 10px;
}

.meta-section.alib-date, .meta-section.alib-comments {
float: left;
padding-top: 8px;
}

.alib-edit{
float: right;
padding-top: 8px;
}

.alib-edit a {
font-weight: 600;
}

.meta-icon {
float: left;
display: inline-block;
width: 14px;
height: 14px;
overflow: hidden;
background-repeat: no-repeat;
background-position: center center;
}

.meta-links {
display: table-cell;
line-height: 14px;
font-size: 13px;
font-weight: 600;
padding-left: 3px;
vertical-align: middle;
float: left;
overflow: hidden;
}

.meta-links.cat-links, .meta-links.tags-links {
float: none;
}

.meta-links time {
line-height: 15px;
}	

.meta-container.indexpg-meta {
margin: 20px 0;
padding: 0;
border: none;
}

.meta-container.indexpg-meta .meta-icon {
display: inline-block;
width: 24px;
height: 24px;
}

.meta-container.indexpg-meta a {
display: inline-block;
margin: 0 2px 4px;	
padding: 0 8px;
line-height: 24px;
}	

.meta-container.indexpg-meta .meta-section {
padding-bottom: 0;
}

.indexpg-meta.sinpost-meta {
padding: 0 20px;
}

.blposts-content {
position: relative;	
float: right;
width: 50%;
height: 247px;
overflow: hidden;
}

.blposts-wrapper {
min-height: 247px;
}

.entry-content {
text-align: justify;
}

.blposts-index .entry-footer {
width: 100%;	
position: absolute;
left: 0;
bottom: 0;
}

.meta-container {
padding: 8px;
}

.cat-links, .tags-links, .comments-link, .edit-link {
font-weight: 600;
}

/*Paginate blog posts*/
.alib-pagination {
clear: both;	
display: block;	
line-height: 30px;
width: 890px;
margin-top: 10px;
text-align: center;
}

.alib-pagination span, .alib-pagination a {
font-size: 18px;
padding: 3px 8px;
}

.alib-pagination a.prev {
margin-right: 5px;
padding: 3px 10px;
}

.alib-pagination a.next {
margin-left: 5px;	
}

.alib-pagination a.prev, .alib-pagination a.next {
padding: 3px 10px;
}

.alib-pagination span.dots  {
background-color: transparent !important;
}

/*--------------------------------------------------------------
Standard Word Press elements
--------------------------------------------------------------*/
.alib-thecontent a {
font-weight: 600;
font-style: italic;
}

.alib-thecontent hr {
border-top-width: 1px;
border-top-style: solid;
}

/*--------------------------------------------------------------
Blog posts - single page
--------------------------------------------------------------*/
.blposts-single .alib-thecontent {
margin-top: 16px;	
}

.blposts-single h1.entry-title {
font-size: 22px;
}

.blposts-single .entry-footer {
position: relative;
left: 0;
bottom: 0;
}

.thumb-singlepost, .single-img img {
display: block;	
position: relative;
float: none;
width: 100%;
height: auto;
}

.thumb-singlepost.cite-image {
padding: 16px;
overflow: hidden;
}

.thumb-singlepost.cite-image img {
position: relative;
float: left;
display: block;
width: 120px;
height: auto;
}

.thumb-singlepost .single-quote {
padding-left: 142px;
}

.thumb-singlepost .single-cite {
margin-bottom: 0;
}

/* flexslider gallery */
[id^="carousel"] {
height: 92px !important; 
overflow: hidden;
}

.audio-single {
display: block;
}

.thumb-singlepost div.audio-single {
margin-bottom: 6px;
}

.post-navigation {
margin: 16px 0 20px 0;	
}

.nav-previous {
float: left;
}

.nav-next {
float: right;
}

.nav-previous a, .nav-next a {
display: inline-block;
font-size: 14px;
line-height: 22px;
overflow: visible;
vertical-align: middle;
}

.nav-icon {
display: inline-block;
width: 22px;
height: 22px;
overflow: hidden;
background-repeat: no-repeat;
background-position: center center;
}

.nav-icon.icon-larrw {
float: left;
margin-right: 3px;
}

.nav-icon.icon-rarrw {
float: right;
margin-left: 3px;
}

.nav-links a span.nav-title {
	 display: inline-block;
    text-overflow: ellipsis; /* will make [...] at the end */
    max-width: 270px; /* change to your preferences */
    white-space: nowrap; /* paragraph to one line */
    overflow: hidden; /* older browsers */
}	

#relposts-wrapper h3 {
margin: 0 0 1.3em 0;
padding-bottom: 0.3em;
}

.relpost-item {
position: relative;
overflow: hidden;
}

.relpost-item a.relpost-link {
display: block;
height: 158px;
}

.relpost-item .entry-title {
margin-top: 0.4em;	
}

.relpost-item.product-overflow {
overflow: visible !important;
}

.relpost-item.alib-relpost {
margin-bottom: 12px;
}

#relposts-wrapper a:last-child, #relposts-wrapper div.relpost-item:last-child,
.relposts-wrapper div.relpost-item:last-child, #relposts-wrapper div.relpost-item.product-overflow:nth-child(6),
.relposts-newspaper div.relpost-item.product-overflow:nth-child(5) {
margin-right: 0px !important;
clear: right;
}

.relposts-newspaper .product-overflow {
text-align: center;
}

.relposts-thumb  {
display: block;
position: relative;	
width: 100%;
height: 158px;
overflow: hidden;
}

.relposts-thumb.thumb-portrait {
position: relative;	
height: 332px;
}

.relposts-newspaper .relposts-thumb.thumb-portrait {
height: 284px;
}

.relposts-thumb img {
display: block;
width: 100%;
height: auto;
}

.relposts-thumb.thumb-portrait img {
width: 100%;
height: auto;
position: absolute;
left: 0;
bottom: 0;
}

.relposts-thumb .flexslider .slides img {
  width: auto;
  height: 158px !important;
}

.relposts-thumb .icon-play {
position: absolute;
top: 79px;
}

.comment-form-url {
display: none;
}

.quote-relmark {
display: block;
width: 34px;
height: 28px;
margin: 12px auto 0 auto;
background-image: url('../images/icons/icon_quote_34x28px.png');
}

.relposts-thumb .relpost-quote {
text-overflow: ellipsis;
word-wrap: break-word;
overflow: hidden;
margin: 8px 0;
font-size: 18px;
font-weight: 600;
line-height: 1.4em;
max-height: 4.2em;
text-align: center;
}

.relposts-thumb .relpost-quote p {
  text-align: center;
  padding: 0 12px;
}

.relpost-ellipsis {
display: block;
width: 34px;
height: 8px;
margin: 0 auto;
}

/* template "Articles" */
.thumb-singlepost.alib-article {
margin-top: 12px;
}

/* wp built in elements - image with caption */
.wp-caption-text {
font-size: 13px;
font-style: italic;
}


/*--------------------------------------------------------------
Home Page
--------------------------------------------------------------*/
.sect-title {
display: inline-block;	
margin-bottom: 1px;
padding: 6px 10px 6px 6px;
}

.sect-title h2 {
clear: none;
display: inline-block;
margin: 0;
padding-left: 6px;
line-height: 26px;
font-size: 20px;
font-weight: 600;
}

.thumbs-row div.relpost-item:nth-child(3),
.thumbs-row div.relpost-item:nth-child(6),
.book-wrapper div.one_half:nth-child(2),
.alib-articlerow.article-newsrow div.relpost-item:nth-child(4) {
margin-right: 0px !important;
}

.homepg-thumb {
position: relative;
overflow: hidden;	
}

/* Center images on home page & index pages */
a.alib-imgcenter {
  width: 100%;	
  height: inherit;
  display: inline-block;
  position: relative;
  overflow: hidden;
}


a.alib-imgcenter img {
position: absolute;
max-width: 100%;
top: 50%;
-webkit-transform: translateY(-50%); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: translateY(-50%); /* IE 9 */
transform: translateY(-50%); /* Firefox 16+, IE 10+, Opera */
}


/*
a.alib-imgcenter img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}	
*/

.alib-artnine {
}

.thumbs-add {
position: relative;
}

.thumbs-column p {
margin-bottom: 10px;
}

.thumbs-column:first-of-type {
margin-bottom: 30px;
}

.thumbs-column:nth-child(2) {
position: absolute;
top: 50%;
transform: translate(0,-50%);
}

.thumbs-column:last-child {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
}

.homepg-thumb.onethird-inarow {
height: 135px;
}	

/* Tweak flexslider height*/
.homepg-thumb.onethird-inarow .flexslider {
height: 135px;
}

.homepg-thumb.onethird-inarow .flex-direction-nav a,
.homepg-thumb.onefourth-inarow .flex-direction-nav a {
width: 40px;
height: 40px;
margin: -20px 0 0;
}

.homepg-thumb.onethird-inarow .flex-direction-nav .flex-prev,
.homepg-thumb.onefourth-inarow .flex-direction-nav .flex-prev,
#alib-imgslider .flex-direction-nav .flex-prev,
.alib-blog .flex-direction-nav .flex-prev  {
opacity: 0.9;
left: 10px !important;
}	

.homepg-thumb.onethird-inarow .flex-direction-nav .flex-next,
.homepg-thumb.onefourth-inarow .flex-direction-nav .flex-next,
#alib-imgslider .flex-direction-nav .flex-next,
.alib-blog .flex-direction-nav .flex-next {
opacity: 0.9;
right: 10px !important;
}	

#alib-imgslider .flex-direction-nav .flex-prev {
opacity: 0.9;
left: 22px !important;
}

#alib-imgslider .flex-direction-nav .flex-next {
opacity: 0.9;
right: 22px !important;
}

.alib-featvideo, .alib-featvideo iframe {
height: 204px; 
}

.alib-featvideo iframe {
/*width: 100% !important;*/
width: 470px;
}

.vidembed-excerpt {
display: none;	
}

.vidembed-title h3 {
font-size: 15px;	
margin-bottom: 4px; 
padding-bottom: 0;	
border-bottom: none;
}

.homepg-thumb.onefourth-inarow, .homepg-thumb.onefourth-inarow .flexslider {
height: 151px;
}

.alib-bordpad h3 {
padding-bottom: 4px;
}

.alib-bordpad h4 {
display: block;	
padding-bottom: 4px !important;
}

#newsp-banner {
display: block;
width: 100%;
height: 100px;
overflow: hidden;
background-repeat: no-repeat;
background-size:contain;
background-position: center center;
}

#ad-image {
width: 100%;
overflow: hidden;
}

#ad-image a {
height: 525px;
overflow: hidden;
}

#ad-image img {
display: block;
width: 100%;
height: auto;
margin-top: 12px;
}

#ad-image h3 {
margin: 0;
padding: 0 5px;
text-align: left;
font-size: 15px;
line-height: 24px;
}	

#ad-content {
display: none;	
overflow: hidden;
}

.ad-thumb {
float: left;
width: 110px;
height: 62px;
overflow: hidden;
margin-right: 10px;
}

.ad-thumb img, .book-image img {
display: block;
width: 100%;
height: auto;
}

.book-image {
float: left;
}

.bookimg-two {
width: 220px;
}

.book-image.bookimg-eight {
float: none;	
position: relative;
width: 100%;	
height: 195px;
}

.book-image.bookimg-eight img {
position: absolute;
left: 0;
bottom: 0;	
}

.entry-header.homepg-books h3.entry-title {
font-size: 16px;
font-weight: 600;
margin: 0;
padding: 0 0 0.2em 0;
}

.entry-header.homepg-books h4 {
font-size: 14px;
font-weight: 700;
margin: 0 0 4px 0;
padding: 0.2em 0 1.1em 0;
}

.book-excerpt {
overflow: hidden;
}

.alib-artwrapper div.relpost-item {
position: relative;
display: inline-block;
}

.alib-articlerow div.relpost-item:nth-child(-n+6) {
margin-bottom: 22px;
}

.alib-articlerow h4 {
padding-bottom: 4px;
margin-bottom: 0.7em;	
}

.alib-articlerow .entry-footer {
}

.alib-articlerow div.entry-meta {
display: inline-block;
width: 100%;
position: absolute;
bottom: 0;
}

.alib-homepg div.entry-meta, .alib-searchpg div.entry-meta {
padding: 5px;
}

.alib-homepg .meta-wrapper, .alib-searchpg .meta-wrapper {
float: right;
}

.alib-more {
display: block;	
margin: 1px 0 20px 0;
text-align: right;
}

.alibmore-wrapper {
display: inline-block;
padding: 0 11px;
}

.alibmore-wrapper.alib-hmslider {
display: inline-block;
border: none;
margin: 0 0 -10px 0;
padding: 0;
float: right;
text-align: right;
background-color: transparent !important;
}

.gen-icon {
display: inline-block;	
width: 20px;
height: 20px;
overflow: hidden;
background-repeat: no-repeat;
background-position: center center;
}

.more-link, .gen-icon {
line-height: 36px;
vertical-align: middle;	
}

.more-link {
font-size: 16px;
font-weight: 600;
}

.icon-play {
display: block;
width: 44px;
height: 44px;
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
background-repeat: no-repeat;
z-index: 200;
}

#alib-imgslider {
position: relative;
margin-bottom: 30px;
opacity: 0;
}

.relpost-item.article-margin {
width: 100%;
}

.relthree-wrap {
position: relative;	
display: block;
overflow: hidden;
margin-right: 0;	
}

.relthree-wrap footer {
position: absolute;
left: 0;
bottom: 0;
width: 100%;	
}

.homepg-comm {
margin-left: 10px;
}

.alib-rowfoura h3, .alib-rowfourb h3 {
padding-bottom: 4px;
}

.alib-radiorow div.relpost-item, .alib-radiorow div.relpost-item:nth-child(-n+6) {
margin-bottom: 0;
}

/*--------------------------------------------------------------
Custom post type "books" - index page
--------------------------------------------------------------*/
#grid-wrapper {
width: 100%;	
}

.posts-grid {
width: 25%;
overflow: hidden;
padding-left: 20px;
padding-right: 10px;
padding-top: 20px;
padding-bottom: 20px;
display: inline-block;
vertical-align: top;
margin-right: -4px;
}

.product-thumb {
position: relative;	
display: block;
border: none;	
width: 185px;
height: 280px;
overflow: hidden;
}

.product-hover {
display: block;
position: relative;
top: 0;
-webkit-transition: top .25s ease-out;
-moz-transition: top .25s ease-out;
-ms-transition: top .25s ease-out;
transition: top .25s ease-out;
}

.product-hover:hover, .product-hover:active {
top: -8px;
}

.posts-grid img {
position: absolute;
left: 0;
bottom: 0;
display: block;
width: 100%;
height: auto;
}

.entry-header.alib-books h2.entry-title {
font-size: 14px;
font-weight: 600;
margin: 0.6em 0 0;
padding-bottom: 4px;
}

.entry-header.alib-books h3 {
font-size: 12px;
font-weight: 700;
text-align: right;
margin: 0;
padding: 4px 0 0;
}

/*--------------------------------------------------------------
Standard WP widgets
--------------------------------------------------------------*/
.current-cat, .current-cat a {
font-weight: 600;
cursor: default;
}

/*--------------------------------------------------------------
Custom post type "books" - single page
--------------------------------------------------------------*/
#singlepg-wrapper {
padding-bottom: 0;
}

#product-wrapper, #info-wrapper {
min-height: 474px;
}  

#product-wrapper {
display: table;	
width: 100%;
}

.product-child {
display: table-cell;
vertical-align: top;
}

#product-image {
display: block;
width: 316px;
}

#buyprod-image, #product-image img {
display: block;
width: 100%;
height: auto;
}

.product-content{
display: inline-block;
height: 100%;
width: 100%;
}

#product-info {
width: 854px;
}

#info-wrapper {
position: relative;		
padding-left: 20px;
}

#info-container {
display: block;
height: 100%;
}

.product-content #info-container {
min-height: inherit; /* Required for Firefox */
}

#product-title {
font-size: 22px;	
font-weight: 600;
margin: 0.5em 0 0;
padding-bottom: 0.2em;
}

#product-cats {
font-size: 15px;	
font-weight: 600;
margin: 0.3em 0;
}

#product-description {
margin-top: 16px;	
font-size: 14px;
}

#short-description {
display: block;
margin: 0;
}

#short-description ul, #short-description ol  {
margin-left: 0;
padding-left: 20px;
}

.alibicon-small {
display: inline-block;
width: 16px;
height: 16px;
margin-left: 4px;
vertical-align: middle;
background-repeat: no-repeat;
background-position: center center;
}

#buy-info {
display: block;
position: absolute;
bottom: 1px;
width: 100%;
padding: 0 66px 20px 0;
}

#buy-info.neswp-download {
position: relative;
margin: 0;
padding: 0;
}

#buy-info.neswp-download #download-wrapper {
padding: 0;
}

#download-wrapper {
margin-top: 12px;
padding-top: 12px;
font-size: 14px;
font-weight: 400;
}

.download-cont {
float: right;
min-width: 160px;	
margin-left: 20px;
}

.download-cont a {
display: block;
font-weight: 600;
cursor: pointer;	
padding: 10px 4px 10px 10px;
}

#download-section {
float: left;	
display: block;
line-height: 19px;
min-width: 90px;
height: 32px;	
margin: 0 8px 0 0;
text-align: center;
}

#download-section span {
display: block;
}

span.text-epubgr {
font-size: 16px;		
}	

.alibicon-big {
overflow: hidden;	
display: block;
width: 38px;
height: 38px;
vertical-align: text-top;
background-repeat: no-repeat;
background-position: center center;
}

.review-title h3 {
margin: 0 0 0.6em 0;
padding-bottom: 0.3em;
}

#product-review {
margin-bottom: 0;
font-size: 14px;
text-align: justify;
}

.wiki-link {
float: right;
display: inline-block;	
}

.author-info .alib-more {
margin-bottom: 22px;
}

.readmore-wrap {
margin-top: 12px;	
padding: 10px;
font-size: 14px;
line-height: 16px;
display: inline-block;
float: right;
}

.wiki-link .readmore-wrap {
margin-top: 6px;
}

.author-desc p {
text-align: justify;	
}

.author-desc p:last-of-type {
text-align: justify;
margin-bottom: 0;
}

.author-image img {
display: block;
width: 120px;	
height: auto;
float: left;
display: inline-block;
padding-right: 10px;
}

#buyprod-modal {
display: block;
width: 700px;
overflow: hidden;
}

.buyprod-wrap {
text-align: left;	
padding: 20px;
}

#buyprod-image {
display: block;
width: 200px;
float: left;
margin: 0 10px 10px 0;
}

.buyprod-cont {
display: block;	
overflow: hidden;
}

.books-commwrap .comments-area {
margin-top: 0;
}

/*--------------------------------------------------------------
Custom post type "newspaper" - index page
--------------------------------------------------------------*/
.entry-header.alib-newspaper h2.entry-title {
font-size: 14px;
font-weight: 600;
text-align: center;
margin: 0.6em 0 0;
padding-bottom: 4px;
}

.product-thumb.alib-newspaper {
position: relative;	
width: 185px;
height: 263px;
}

/*--------------------------------------------------------------
Custom post type "newspaper" - single page
--------------------------------------------------------------*/
#newsp-wrapper {
display: table;	
width: 100%;
}

#newsp-meta {
position: relative;		
padding-left: 20px;
min-height: 450px; 
}

/* Required for Firefox */
#newsp-meta #info-container {
min-height: inherit;
}

#newsp-meta #product-title {
font-size: 18px;
}

/* Newspaper articles */

.newspart-wrapper {
}

.newsp-articleimg {
float: left;
width: 110px;
height: auto;
margin-bottom: 18px;
overflow: hidden;
position: relative !important;
}

.newsp-articleimg img {
display: block;
}

.newspart-container {
position: relative;	
overflow: hidden;
padding-left: 8px;
}

.newspart-container p { 
font-size: 13px;
}

.newspart-title {
overflow: hidden;	
}

.newspart-title h3 {
margin: 0 0 0.4em !important;
padding: 0 0 4px !important;
line-height: 17px !important;
}

.newspart-title h3 a {
font-style: normal;	
}

/*--------------------------------------------------------------
Listen RadioX - compact player
--------------------------------------------------------------*/
.alib-listenx {
display: block;
width: 380px;
min-height: 485px;
position: fixed;
top: 0;
left: 0;
}

.listenx-wrapper {
position: relative;
padding: 0 36px 36px;
}

#radiox-title h1 {
display: none;
}

#radiox-logo {
display: block;
width: 380px;
height: 45px;
margin-top: 20px;
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
#footer-sidebar {
padding: 22px 0 8px 0;
}

#footer-sidebar .widget {
float: left;
width: 23.8%;
margin-right: 1.6%;
}

#footer-sidebar aside.widget:last-of-type {
margin-right: 0 !important;
}

.site-info {
width: 100%;	
}

#alib-copyleft {
float: left;
height: 40px;
padding-right: 20px;
line-height: 40px;
font-size: 14px;	
font-weight: 400;
overflow: hidden;
}

/* Footer menu */
#menu-footer-menu {
list-style: none;
height: 40px;
margin: 0;
padding: 0;
text-align: right;
}

#menu-footer-menu li {
display: inline-block;
margin-left: 12px;
line-height: 40px;
}

#menu-footer-menu li a {
font-size: 14px;
font-weight: 600;
}

/*--------------------------------------------------------------
Custom post type "books" - taxonomy pages
--------------------------------------------------------------*/
.author-info.taxonomy-page {
margin: 0 0 20px 0;
}

.blposts-index.alib-taxpage {
margin-top: 40px;
}

.taxpage-thumb {
position: relative;
float: left;
width: 200px;
overflow: hidden;
}

.taxpage-thumb img {
display: block;
width: 100%;
height: auto;
}

.taxpage-content {
position: relative;	
float: right;
overflow: hidden;
}

.taxpage-content h2.entry-title {
font-size: 18px;
}

.blposts-wrapper.alib-taxpage {
padding: 0;
min-height: 300px;
}

.blposts-thumb.size-medium {
position: relative;
float: right;
width: 302px;
height: 170px;
overflow: hidden;
}

.taxpage-content .entry-footer {
position: relative;
margin: 0;
padding: 0;
text-align: right;
}	

.taxpage-content .entry-footer a.post-edit-link {
line-height: 14px;
font-size: 13px;
}	


.blposts-content.size-medium {
position: relative;	
float: right;
overflow: hidden;
}

/*Columns*/
.one_half, .one_third, .one_fourth, .one_fifth, .one_sixth, .one_seventh, .one_eight, .two_third {
float: left;	
margin-right: 1.6%;
}

.one_half {
width: 49.2%;
}

.one_third {
width: 32.26%;
}

.one_fourth {
width: 23.8%;
}

.one_fifth {
width: 18.72%;
}

.one_sixth {
width: 15.33%;
}

.one_seventh {
width: 12.91%;
}

.one_eight {
width: 11.1%;
}

.two_third {
width: 66.13%;
}

.last {
margin-right: 0px !important;
clear: right;
}

/*--------------------------------------------------------------
Contact Page
--------------------------------------------------------------*/
#alib-contactpg {
padding-top: 5px;
padding-bottom: 5px;
}

ul.contactform {
position: relative;	
list-style: none;
list-style-position: inside;
margin-left: 0;
}

ul.contactform label {
font-size: 14px;
line-height: 30px;
padding-left: 5px;
position: absolute !important;
top: 0;
left: 0;
cursor: text;
} 

.contact-message textarea, .contact-author input, .contact-email input {
outline: none;
line-height: 30px;
font-size: 14px;
font-weight: 400;
margin: 0;
padding: 0 5px;
z-index: 10;
font-family: inherit;
}

.contact-message textarea {
resize: vertical;
}

.contact-message, .contact-author, .contact-email {
margin-bottom: 1.2em;
}

.contact-author {
float: left;
width: 49.2%;
}

.contact-email {
float: right;
width: 49.2%;
}

.contact-author input, .contact-email input {
height: 30px;
width: 100%;
}

.contact-submit {
clear: both;
text-align: right;
}

.contact-submit input {
margin-top: 6px;
padding: 12px;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
}

.contact-submit input:hover  {
border-style: solid;
}

/*jQuery Page Pleloader - Styles */
/* Preloader */
#preloader {
position: fixed;
top:0;
left:0;
right:0;
bottom:0;
z-index:9999; /* makes sure it stays on top */
opacity: 0.94;
}

#status {
	width:200px;
	height:200px;
	position:absolute;
	left:50%; /* centers the loading animation horizontally on the screen */
	top:50%; /* centers the loading animation vertically on the screen */
	background-image: url('../images/icons/status.gif'); /* path to your loading animation */
	background-repeat:no-repeat;
	background-position:center;
	margin:-100px 0 0 -100px; /* is width and height divided by two */
}

/* Responsive Styles*/
@media only screen and (max-width: 1200px) {

/*---------------------------------
Index pages
---------------------------------*/

/*Blogposts index */
.site-responsive, #social-inner {
width: 1000px;
}

.content-area {
width: 760px;
}

.blposts-content {
height: auto;
}

.blposts-thumb, .blposts-thumb iframe, .blposts-content {
float: none;
width: 100%;
}	

.blposts-thumb, .blposts-thumb iframe, .blposts-index .flexslider .slides img {
height: 425px;
}		

.thumbimg-wrapper {
/*height: 393px;*/
height: 397px;	
}

.blposts-thumb.cite-image {
height: auto !important;	
}

.blposts-index {
margin-bottom: 12px;
}

div.alib-blog:nth-child(n+6) {
float: none;
width: 100%;;
}

div.alib-blog:nth-child(n+6) .blposts-content {
width: 100%;
}

div.alib-blog:nth-child(n+6) .blposts-thumb, div.alib-blog:nth-child(n+6) .thumbimg-wrapper {
width: 100%;
height: 425px;
}

.bannerx-wrapper {
width: 196px !important;
}

/* Articles index */
.blposts-thumb.size-medium {
width: 270px;
}

.blposts-content.size-medium {
width: 460px;
}

/* Sidebar */
.site-content .widget-area {
width: 240px;
padding-left: 12px;
}

.widget {
margin-bottom: 12px;
}

/*Books & Newspaper*/
.posts-grid {
width: 33.33%;	
padding-left: 13px;	
padding-bottom: 4px;
}

/*1.51*/
.product-thumb {
width: 227px;
height: 343px;
}

/*1.42*/
.product-thumb.alib-newspaper {
width: 227px;
height: 322px;
}

/* Homepage */
.alib-artnine {
width: 100%;
}

.thumbs-add {
position: relative;
clear: both;
margin-top: 30px;
}

.one_third.thumbs-add {
width: 100%;
}

.thumbs-column {
position: relative;	
display: inline-block;
float: left;
width: 49.2%;
margin-bottom: 0 !important;
}

.thumbs-column:first-of-type {
margin-right: 1.6%;
}

.thumbs-column:nth-child(2){
position: static !important;
margin-right: 0;
transform: translate(0,0);
}

.thumbs-column:nth-child(3) {
display: none;
}

.thumbs-column p {
margin-bottom: 32px;
}

.thumbs-column div.entry-meta {
position: absolute;
left: 0;
bottom: 0;
display: inline-block;
width: 100%;
}

.alib-featvideo, .alib-featvideo iframe {
height: 264px; 
}

.homepg-thumb.onethird-inarow, .homepg-thumb.onethird-inarow .flexslider, .homepg-thumb.onefourth-inarow, .homepg-thumb.onefourth-inarow .flexslider {
height: 175px;
}	

.taxpage-content {
width: 507px;
}

.alib-pagination {
width: 760px;
}

.vidembed-excerpt {
display: block;	
}

.vidembed-title h3 {
margin: 0.72em 0; 
padding-bottom: 4px;	
}

.article-newsrow .alib-rowfour:last-child, .alib-articlerow .alib-rowfoura:last-child, .alib-articlerow .alib-rowfourb:last-child {
display: none;
}

.article-newsrow .alib-rowfour:nth-child(3), .alib-articlerow .alib-rowfoura:nth-child(3), .alib-articlerow .alib-rowfourb:nth-child(3) {
margin-right: 0;	
}

.alib-rowfour.one_fourth, .alib-rowfoura.one_fourth, .alib-rowfourb.one_fourth {
width: 32.26%;
} 

/*---------------------------------
Single pages
---------------------------------*/
span.bannerx-img {
width: 105px;
}

.relpost-item a.relpost-link {
height: 130px;
}

/*Books & Newspaper - single pages*/
.relposts-thumb {
height: 130px;
}

#product-image {
width: 250px;
padding: 22px 0 0 22px; 
}

#info-wrapper, #newsp-meta {
padding-left: 0;
}

.relposts-thumb.thumb-portrait {
height: 275px;
}

.relposts-newspaper .relposts-thumb.thumb-portrait {
height: 240px;
}

#buy-info {
padding: 0 40px 20px 0; 
}

}

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

/*---------------------------------
Header
---------------------------------*/
.header-wrapper, .header-wrapper.alib-bigmenu, .header-wrapper.alib-compmenu {
position: static !important;
}

.header-wrapper.alib-compmenu #social-wrapper {
display: block;
}

.header-wrapper.alib-compmenu #site-logo {
height: 80px;
}

.site-content {
margin-top: 0;
}

#alib-menuwrap {
display: none;
}

.alib-mobmwrap {
display: block;
}

#menu-container {
height: 0;
}

/*---------------------------------
Index pages
---------------------------------*/
/*Blogposts index */
.site-responsive, #social-inner, .content-area {
width: 760px;
}

.slicknav_nav  {
	width: 760px;
}

/* Articles index */
.blposts-thumb.size-medium {
width: 270px;
}

/* Sidebar */

.site-content .widget-area {
float: none;	
width: 100%;
padding-left: 0;
}

.widget {
margin-bottom: 12px;
}

.homepg-thumb.onethird-inarow {
height: 135px;
}	

/*Realted posts container*/
.relpost-item.one_third {
width: 49.2%;
}

.relposts-thumb {
height: 198px;
}

#relposts-wrapper div.relpost-item.one_third:nth-child(3n) {
margin-right: 0;
}

/*Books & Newspaper*/
.posts-grid {
width: 33.33%;	
padding-left: 13px;	
padding-bottom: 4px;
}

/*1.51*/
.product-thumb {
width: 227px;
height: 343px;
}

/*1.42*/
.product-thumb.alib-newspaper {
width: 227px;
height: 322px;
}

/* Homepage */

.alibmore-wrapper.alib-hmslider {
display: none;
}

.alib-homepg span.alib-caption {
font-weight: 400;
font-size: 14px;
}

.alib-homepg .flex-caption h2 {
padding: 0;
}

.alib-artwrapper div.two_third {
float: none;
width: 100%;
}

.thumbs-row div.relpost-item {
margin-right: 1.6%;
}

.thumbs-row div.relpost-item:nth-child(3) {
margin-right: 1.6% !important;
}

.thumbs-row div.relpost-item:nth-child(even) {
margin-right: 0;	
}

.thumbs-row div.relpost-item:last-child {
display: none;	
}

.thumbs-add.one_third {
clear: both;
width: 100%;	
}

.alib-rowfour.one_fourth, .alib-rowfoura.one_fourth, .alib-rowfourb.one_fourth {
width: 49.2%;
margin-right: 1.6%;
} 

.article-newsrow .alib-rowfour:last-child, .alib-articlerow .alib-rowfoura:last-child, .alib-articlerow .alib-rowfourb:last-child {
display: block;
}

.article-newsrow .alib-rowfour:nth-child(3), .alib-articlerow .alib-rowfoura:nth-child(3), .alib-articlerow .alib-rowfourb:nth-child(3) {
margin-right: 1.6%;
}

.article-newsrow .alib-rowfour:nth-child(even), .alib-articlerow .alib-rowfoura:nth-child(even), .alib-articlerow .alib-rowfourb:nth-child(even) {
margin-right: 0;	
}

#ad-image a {
height: auto;
}

.alib-articlerow .alib-rowfoura:nth-child(-n+2), .alib-articlerow .alib-rowfourb:nth-child(-n+2) {
margin-bottom: 22px !important;
}

.front-cover.one_third {
width: 450px;
margin: 0 0 30px 155px;
}

.book-image.bookimg-two {
float: none;
width: 322px;
margin: 0 auto 20px auto;
}

.book-excerpt {
padding: 0;
}

.front-cover .one_eight {
width: 23.8%;
}

.front-cover .one_eight:nth-child(n+5) {
display:none;  
}

.front-cover .one_eight:nth-child(4)  {
margin-right: 0;
}

.book-image.bookimg-eight {
min-height: 270px;
}

.alib-featvideo, .alib-featvideo iframe {
height: 198px; 
}

.homepg-thumb.onethird-inarow, .homepg-thumb.onethird-inarow .flexslider {
height: 198px;
}	

.homepg-thumb.onefourth-inarow, .homepg-thumb.onefourth-inarow .flexslider {
height: 198px;
}

.taxpage-content {
width: 507px;
}

.alib-pagination {
width: 760px;
}

/*---------------------------------
Single pages
---------------------------------*/
.relpost-item a.relpost-link {
height: 198px;
}

span.bannerx-img {
width: 105px;
}

.relposts-thumb.thumb-portrait {
height: 210px;
}

div.relpost-item.product-overflow h4 {
display: none;
}


.download-cont {
width: 160px !important;
min-width: 160px !important;
margin-bottom: 10px;
}

.download-cont:last-child {

margin-bottom: 0;
}

/* Banner w. Image Widget */
.author-image.banner-widget img {
padding: 0 10px 0 0;
}

/* Footer sidebar */
#footer-sidebar .widget {
float: left;
width: 49.2%;
margin-right: 1.6%;
}

#footer-sidebar aside:nth-child(1), #footer-sidebar aside:nth-child(2) {
margin-bottom: 36px;	
}

#footer-sidebar aside:nth-child(2n) {
margin-right: 0 !important;
padding-right: 0;
}

}

@media only screen and (max-width: 768px) {
.site-responsive, #social-inner, .content-area {
width: 480px;
}

.slicknav_nav  {
	width: 480px;
}

/*---------------------------------
Index pages
---------------------------------*/
/* Blogposts index */
.blposts-thumb, .blposts-thumb iframe, .blposts-index .flexslider .slides img {
height: 270px;
}	

.thumbimg-wrapper {
height: 240px;	
}

.alib-audio{
margin-top: 0;
}

/* Homepage */

.alib-homepg .flex-caption h2 {
font-size: 14px;
font-weight: 700;
text-align: center;
}

a.caption-link {
padding: 6px 10px !important;
}

.thumbs-column {
clear: both;	
float: none;
width: 100%;
margin: 0;
}

.thumbs-column:first-child {
margin-bottom: 36px !important;	
}

.thumbs-column:last-child{
margin-bottom: 0 !important;	
}

.relpost-item.one_third:last-of-type {
margin: 0;
}

.alib-articlerow div.relpost-item:last-child {
margin-bottom: 0;
}

.alib-rowfour, .alib-rowfoura, .alib-rowfourb {
float: none;	
width: 100%;
margin-right: 0;
}

.alib-rowfour:last-child {
margin-bottom: 22px !important;
}

.ad-thumb {
float: none;
width: 100%;
margin: 0;
}

.add-padding, .books-eight {
display: none;
}

.relpost-item.product-overflow {
float: none;
width: 100%;
margin-bottom: 30px;
}

.relpost-item.product-overflow:last-child {
margin-bottom: 0;
}

.book-image.bookimg-two {
width: 100%;
}

.product-overflow .book-excerpt {
padding: 0 !important;
}

.homepg-thumb.onethird-inarow, .homepg-thumb.onethird-inarow .flexslider,
.homepg-thumb.onefourth-inarow, .homepg-thumb.onefourth-inarow .flexslider,
.ad-thumb, .alib-featvideo, .alib-featvideo iframe {
height: 245px;
}	

.alib-rowfour.one_fourth, .alib-rowfoura.one_fourth, .alib-rowfourb.one_fourth {
width: 100%;
margin-right: 0;
} 

.relthree-wrap {
height: auto;
margin-top: 0.5em;
}

/* Articles index */
.blposts-thumb.size-medium {
width: 100%;
height: auto;
margin-bottom: 6px;
padding-right: 0;
}

.blposts-content.size-medium {
width: 100%;
}

/* Post Navigation */
.nav-links a span.nav-title {
max-width: 190px; /* change to your preferences */
}	

/*Books & Newspaper*/
.posts-grid {
width: 50%;	
padding-left: 6px;	
padding-bottom: 4px;
}

/*1.51*/
.product-thumb {
width: 227px;
height: 343px;
}

/*1.42*/
.product-thumb.alib-newspaper {
width: 227px;
height: 322px;
}

.alib-pagination {
width: 100%;
}

/* Footer sidebar */
#footer-sidebar .widget {
float: none;
width: 100%;
margin: 0 0 30px 0;
padding: 0;
}

/*---------------------------------
Single pages
---------------------------------*/
.relpost-item a.relpost-link {
height: 245px;
}

.thumb-singlepost.cite-image img {
position: relative;
float: left;
display: inline;
width: 110px;
height: auto;
margin-right: 12px;
padding: 0;
}

.thumb-singlepost .single-quote {
padding-left: 0;
}

.blposts-content.size-medium {
height: auto;
padding-right: 0;
}

/*Books & Newspaper - single pages*/
#product-image {
display: block;	
width: 320px;
height: auto;
padding: 22px;
margin: 0 auto;
}

#product-info, .product-child, #buy-info {
display: block;
width: 480px;
}

#newsp-meta {
min-height: 220px;
}

#buy-info {
padding: 22px 44px 12px 0;
}


/*
#buy-info.neswp-download, #buy-info.neswp-download #download-wrapper {
margin: 0;
padding: 0;
background-color: red;
}
*/

#buy-info.neswp-download, #buy-info.neswp-download #download-wrapper {
margin: 0;
padding: 0;
}

#buy-info.neswp-download .download-cont {
display: block;
clear: both;
float: none;
overflow: hidden;	
margin: 0 auto 10px auto;
}



.blposts-wrapper.alib-taxpage {
height: auto;
min-height: auto;
margin-top: 10px;
}

.taxpage-content {
width: 100%;
}

.taxpage-thumb {
width: 220px;
} 

#buyprod-image {
float: none;
}

.remodal, #buyprod-modal {
width: 480px !important;
overflow: hidden;
}

#buyprod-image {
width: 140px;
}

/* Related projects */
.relpost-item.one_third {
width: 100%;
margin: 0 0 36px; 0;
}

#relposts-wrapper div.relpost-item:last-child {
margin: 0 auto !important;
}

.relpost-item.one_fifth {
display: block;	
float: none;
width: 220px;
height: auto;
margin: 0 auto 34px auto;
padding: 0;
text-align: center;
}

.relpost-item.one_fifth h4 {
margin-top: 0;
}

.relposts-thumb.thumb-portrait {
height: 345px;
}

.relposts-newspaper .relposts-thumb.thumb-portrait {
height: 616px;
}

.relposts-thumb {
height: 245px;
vertical-align: middle;
}

#relposts-wrapper div.relpost-item.product-overflow:nth-child(6) {
display: none;
}

}

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

.site-responsive, #social-inner, .content-area {
width: 320px;
}

.slicknav_nav  {
	width: 320px;
}

.homepg-thumb.onethird-inarow, .homepg-thumb.onethird-inarow .flexslider,
.homepg-thumb.onefourth-inarow, .homepg-thumb.onefourth-inarow .flexslider,
.ad-thumb, .alib-featvideo, .alib-featvideo iframe {
height: 155px;
}	

.flex-caption, .flex-control-nav {
display: none !important;
}

.blposts-index {
margin: 0 0 12px 0;
}

.blposts-content {
height: auto;
min-height: initial;
}

.blposts-thumb {
height: 180px;
}

.thumbimg-wrapper {
height: 150px;
}

.posts-grid {
width: 100%;	
padding: 0 0 2px 0;	
margin-bottom: 30px;
text-align: center;
}

.posts-grid:last-child {
margin-bottom: 0;
}

.entry-header.alib-books h3 {
text-align: center;
}

.product-thumb,.product-thumb.alib-newspaper {
margin: 0 auto;
text-align: center;
}

/*1.51*/
.product-thumb {
width: 280px;
height: 423px;
}

/*1.42*/
.product-thumb.alib-newspaper {
width: 280px;
height: 400px;
}

.entry-content p {
margin-bottom: 60px;
}

.contact-author, p.comment-form-author, p.comment-form-email {
float: none;
width: 100%;
}

.contact-email {
width: 100%;
}

/*---------------------------------
Single pages
---------------------------------*/
[id^="carousel"] {
display:none; 
}

#download-wrapper {
padding-top: 12px;
}

.thumb-singlepost.cite-image img {
display: none;	
}	

.alib-srchwrapr {
width: 130px;
}

/*Books & Newspaper - single pages*/
.relposts-thumb, .relpost-item a.relpost-link {
height: 155px;
}

.relposts-newspaper .relposts-thumb.thumb-portrait {
height: 390px;
}

#product-info, .product-child, #buy-info {
display: block;
width: 320px;
}

#download-wrapper {
border-top: 0;
}

div.download-cont {
width: 130px;
min-width: 130px;	
max-width: 130px;	
margin-left: 8px;	
margin-bottom: 10px;
}

#short-description {
padding-bottom: 0;
margin-bottom: 20px;
}

.author-image img {
width: 80px;	
}

.remodal, #buyprod-modal {
width: 320px !important;
}

.newsp-articleimg {
float: none;
width: 100%;
height: auto;
}

.newsp-articleimg {
margin-bottom: 8px;
}

.newspart-container p { 
margin-bottom: 20px;
}

.newspart-container {
padding-left: 0;
}

/* Post Navigation */
.nav-links a span.nav-title {
max-width: 260px; /* change to your preferences */
}	

.nav-previous, .nav-next {
float: none;
text-align: center;
}

.nav-previous {
margin-bottom: 14px;
}

}

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

.alib-srchwrapr {
display: none;
}

#site-logo {
margin-left: 10px;
}

.header-wrapper.alib-bigmenu #site-logo a {
height: 84px;
}

.header-wrapper.alib-bigmenu #menu-container {
height: 0;
}

.slicknav_btn {
top: 4px !important;
right: 10px !important;
}

#site-navigation {
}

.slicknav_menu {
width: 310px !important;	
padding: 0 10px !important;
margin: 0 auto;
}


.site-responsive, #social-inner, .content-area {
width: 100% !important;
}

.slicknav_nav  {
width: 100% !important;
}

.remodal, #buyprod-modal {
width: 260px !important;
}

}

/* Zlatko: 1st page quote */
.home-page-quote {
    padding: 22px;
    margin-bottom: 10px;
}
