/*
Theme Name: Antony Loewenstein II (REDUX)
Theme URI: http://antonyloewenstein.com/
Description: A magical custom theme especially crafted for Antony Loewenstein.
Author: Matthew Kerr
Author URI: Soon.
Version: 2.0
Tags: black, blue, white, one-column, fixed-width, custom-header, custom-background, threaded-comments, microformats, rtl-language-support

License: Copyright Antony Loewenstein
License URI:

General comments (optional).
*/




html {
  background: white;
  text-rendering: optimizeLegibility;
  -webkit-overflow-scrolling: touch;
}

.post-image-container {
    -webkit-overflow-scrolling: touch;
}

p { margin-bottom: 1em; }

#main-header {
  padding-top: 1em;
  padding-bottom: 1em;
}


#masthead.container {
}

#masthead-border {
  background-image: url('/wp-content/themes/alredux/images/vertical-repeater-spritemap.png');
  width: 100%;
  height: 3px;
}


#main-container {  }


#loop {margin-top:-120px;}

#header-1, #header-2, #header-3 {
  height: 148px;
  background-repeat: no-repeat;
  background-position: center 4px;
  margin-bottom: 1em;
  margin-top: 1em;
}

#main {
  padding-top: 120px;
  padding-bottom: 120px;
}

#books, #books *, .header-wrapper, .header-wrapper * {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all 0.5s;
}

#books {
  position: fixed;
  top: 10px;
}

.smaller #books {
  position: fixed;
  top: -36px;
}

#books .book-content { display: none; }
#books .book-cover { display: block; }
#books .book-cover img { width: 46px; height: 71px; margin-top: 10px; }
#books:hover { margin-left: -25px; }
#books:hover .book { margin-left: -15px; }

.book {
  display: inline-block;
  margin-left: -40px;

  position: relative;
}

#books-display {
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  top: 0;
  overflow: scroll;
}

#books-display .book {
  display: block;
  float: left;
  margin-left: 0;
  width: 33%;

  position: relative;

}


#books-display .book-wrapper {
  padding: 30px 30px;
}

#books-display {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all 0.5s;

}

#books-display {
  background-color: #222;
  opacity: 0;
  position: fixed;
}

#books-display.active { opacity: 1; z-index: 2001; }

#books-display .book:nth-child(3n+4) {
  clear: left;
}

#books-display .book-content {
  display: block;
  font-weight: 200;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 20px;
}

#books-display .book-content img {
  float: none;
  clear: both;
  text-align: center;
  padding: 0 0 32px 0;
  display: block;
}

#books-display .book-cover { display: block; }
#books-display .book-cover img { width: 170px; height: 262px; margin-top: 0; }

.header-border-top {
  background-image: url("/wp-content/themes/alredux/images/header-border-top.png");
  background-repeat: repeat-x;
  background-attachment: scroll;
  height: 4px;
}

.header-border-bottom {
  background-image: url("/wp-content/themes/alredux/images/header-border-bottom.png");
  background-repeat: repeat-x;
  background-attachment: scroll;
  height: 4px;
}

.header-border-left {
  background-color: #f9f9f8;
  width: 4px;
  margin-top: 0;
  margin-bottom: 0;
  height: 144px;
  float: left;
}

.header-border-right {
  background-color: #f9f9f8;
  width: 4px;
  margin-top: 0px;
  margin-bottom: 0;
  height: 144px;
  float: right;
}

#search-box {
	margin-top: 0;
}

#search {
  color: #888;
}

#searchform input#s {
  border-radius: 23px;
  background-color: rgba(202,213,227,0.79);
  border: none;
  padding:  4px 4px 4px 19px;
  background-image: url("/wp-content/themes/alredux/images/search.png");
  background-position: 3px center;
  background-repeat: no-repeat;
  color: #fff;
  width: 155px;

}

#hero h1 a, #hero h1 a:hover, #hero h1 a:active, #hero h1 a:visited, #hero h1 {
  text-decoration: none;
  font-weight: Bold;
  color: white;

  font-size: 34px;
  letter-spacing: 5px;
  text-align: center;
}

.navigation {
  text-align: right;
  margin-bottom: 1em;
}

.navigation li {
  margin: 0 0.25em;
  padding: 0px;
  overflow: visible;
  list-style: none;
  float: left;
  vertical-align: bottom;
}

#social-navigation li img {
  width: auto;

}

#navigation-box, .navigation li a, .navigation li a :active, .navigation li a:visited {
  font-weight: 500;
  color: #E4E4E4;
  line-height: 16px;
  letter-spacing: 0px;
  text-transform: uppercase;

  text-decoration: none;
  font-size: 13px;
}

.navigation li a:hover {
    color: white;
}


.post-wrapper {
  padding: 4em 0;
}


.post-container {
  width: 100%;
  z-index: 2;
  position: relative;
  background: #fff;

}

.post-image-container {
  z-index: 1;
  margin: -6px 0;
  width: 100%;
  height: 350px;
  position: relative;

  opacity: 0.8;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}


.entry-content {
	margin-bottom: 3px;
}

div.article {

  background: none;

}

.post h2, .post h2 a {

  font-size: 24px;
  color: #0E3C78;
  line-height: 28px;
  letter-spacing: 2px;

	font-weight: bold;
	margin-bottom: 11px;
	font-size: 1.15em;

}

.post blockquote em, .post blockquote {
	font-weight: normal;
	font-size: 15px;
  color: #565656;
}

.post blockquote {
  font-weight: 500;
  font-size: 14px;
  color: #565656;
  line-height: 20px;
  letter-spacing: 0px;
}

.post blockquote em {
  font-style: italic;
}

.post blockquote strong em {
	font-weight: bold;
}


.post blockquote {
	border-left: 1px solid #D1D1D1;
	padding-left: 20px;
	padding-right: 20px;
	background: none;
}

#article .entry {
	margin-bottom: 2em;
}

#article h3 {
  background: transparent;
  border: none;
  font-size: 16px;
  font-family: 'proxima-nova';
  color: #333;
  padding: 0.25em 0;
  cursor: pointer;
}

#article div.entry {
  border: none;
}

#article div.entry a {
  color: rgba(56,95,144,1.0);
}

#article h3:hover {
  color: rgba(56,95,144,1.0);
}

img.alignleft {
	float: left;
	margin-right: 8px;
}
.post p {
	text-align: justify;
	font-weight: 500;
  font-size: 15px;
  color: #424242;
  line-height: 20px;
  letter-spacing: 1px;
}

 a,  a:active,  a:visited {
  color: #395f90;
  text-decoration: none;
}

 a:hover {
	text-decoration: underline;
}


.post-social-wrapper {
  padding-top: 3em;
  padding-left: 1em;
  padding-right: 1em;
}


.post-social-item {
	padding:0em;
}

#fb.social-icon { background-image: url(/wp-content/themes/alredux/images/fb.png) ; width: 32px; height: 32px; background-size: contain; }
#gp.social-icon { background-image: url(/wp-content/themes/alredux/images/gp.png) ; width: 32px; height: 32px; background-size: contain; }
#tw.social-icon { background-image: url(/wp-content/themes/alredux/images/tw.png) ; width: 32px; height: 32px; background-size: contain; }

#fb.social-icon:hover { background-image: url(/wp-content/themes/alredux/images/fb-hover.png) ; width: 32px; height: 32px; background-size: contain; cursor: pointer; }
#gp.social-icon:hover { background-image: url(/wp-content/themes/alredux/images/gp-hover.png) ; width: 32px; height: 32px; background-size: contain; cursor: pointer; }
#tw.social-icon:hover { background-image: url(/wp-content/themes/alredux/images/tw-hover.png) ; width: 32px; height: 32px; background-size: contain; cursor: pointer; }


.loop-comments {
	font-size: 0.8em;
	margin-top: 8px;
  margin: 2em 0;
  text-align: center;
}

.intro {
	background-color: #fdfdd8;
	padding: 5px;
	margin-bottom: 25px;
	font-size: 0.8em;
	box-shadow: 0 3px 3px #999;
	line-height: 1.5em;
  z-index: 900;
  position: relative;
  clear:both;
}


.intro p {
	margin: 2.5em 3.5em;
}

.intro p strong {
	font-size: 1.2em;
}

.post-body-wrapper {
}

.post-border-top {
  background-image: url('/wp-content/themes/alredux/images/zig-bottom.png');
  width: 100%;
  height: 6px;
	background-position: top;
  background-repeat: repeat-x;
  position: relative;
  z-index: 2;
}

.post-border-bottom {
  background-image: url('/wp-content/themes/alredux/images/zig-top.png');
  width: 100%;
  height: 6px;
  background-position: bottom;
  background-repeat: repeat-x;
  position: relative;
  z-index: 2;
}



p.alignright {
float: right;
text-align: right;
}

div.idc-tb {
	margin-bottom: 2em !important;
	margin-top: 1em !important;
}

div.idc-tb-t {
	line-height: 1.6em !important;
	font-size: 0.9em !important;
}

div.idc-tb p.idc-tb-title a{
	color: #000 !important;

}

p.idc-tb-title {
		margin-bottom: 0.5em !important;

}


div#idc-container-parent. {

}

#post h2 {
  font-size: 1.6em;

}

.post-date{
  text-align: left;
	color: #797979;
	font-weight: light;
	font-size: 0.8em;
  margin-bottom: 1em;
}

#footer-container {
  background-color: white;
  position:fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  opacity: 0.95;
}

#footer {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  line-height: 14px;
  letter-spacing: 0px;

  padding: 1em 0 0 0 ;
}


#footer-nav .navigation {
  text-align: center;
}

#footer-nav a {
  font-weight: 500;
  font-size: 14px;
  color: #555;
  line-height: 17px;
  letter-spacing: 0px;
  text-transform: capitalize;

}

#footer li.page_item { list-style: none; display: inline-block; float: none; }


#twitter_update_list li { margin-bottom: 1em; }

p#tag-cloud {
  text-transform: uppercase;
  text-align: justify;
}

#archive-list li {
    margin: 0;
    padding: 0;
}

input#email-form, #hiurx-hiurx {
  background: #dededa;
  border: solid 1px #eee;
  border-radius: 4px 4px 4px 4px;
}

#social-navigation input#email-form, #hiurx-hiurx {
	background: #dededa;
    border: solid 1px #666;

}

div.entry {
}

.tabby-list li {
  display: inline;
}

.tabby-list li a {
  color: #888;
  font-style: italic;
  font-size: 9pt;
}

li.ui-state-active a {
  color: #3371A3;
  text-decoration: underline;
  font-size: 1.1em;
}

#meta-footer {
  padding: 0 0 0 0;
  font-size: 0.9em;
  color: #bbb;
  text-align: center;
}



#footer p#tag-cloud a, #footer p#tag-cloud a:active, #footer p#tag-cloud a:visited { color: #ddd; font-weight:light; text-decoration: none; line-height: 1.2em; }

#footer a:hover, #footer p#tag-cloud a:hover  { color: #68abfa; text-decoration: underline; }

#footer-border {
  background-image: url('/wp-content/themes/alredux/images/zig-bottom.png');
  width: 100%;
  height: 6px;

	background-attachment: scroll;
	background-position: 0;
  background-repeat: repeat-x;
  margin-top: -6px;
}

#nav-links {
  color: #666;
  font-size: 0.75em;
  padding-top: 1em;
  text-align: center;
  padding-bottom: 150px;
  margin-bottom: 150px;
}

#newsletter-container, #donate-container {
  margin: 0.25em 0 0 0;
}

#newsletter-container input,  #donate-container input {
  background-color: rgba(202,213,227,0.79);
  border: none;
  padding:  4px 4px 4px 4px;
  color: #333;
  background-image: none;

}

#newsletter-container input:hover,  #donate-container input:hover, #newsletter-container input:focus, #searchform input#s:hover, #searchform input#s:focus {
  background-color: rgba(243,248,253,0.94);
}


#newsletter-container input[type=submit]:hover {
  background-color: #fff;
  color: #5D7593;
}

#donate-container input.donate-button {
  background-color: #ffffb6;
}

 #donate-container input.donate-button:hover {
  background-image: none;
  background-color: #fff;
  color: #5D7593;
}

#nav-links a {
  color: #666;
}

#clear {
	clear: both;
}

#article.entry{
	padding-left: 1em;
	font-size: 0.8em;
}

#article div.entry strong {
	display: inline;
	font-size: 1.2em;
	margin-top: 1em;
}

#article div.entry strong:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 4px;
}

img.alignright{
	float: right;
	padding-left: 10px;
}

 div#article.entry a,  div#article.entry a strong {
	padding-top: 4px;
	font-weight: normal;
	font-style: normal;
	margin-top: 0;
}

#linkcat-4 li, #linkcat-5 li, #linkcat-4 li h2, #linkcat-5 li h2, #archives-list li {
  list-style: none;
  margin-left: 0;
}

a.clicker {
	font-size: 1.5em;
	text-decoration: none;
	color: #000;

}

#tag-cloud {
  margin: 3em 12em;
}

.header-wrapper {
  width: 100%;
  z-index: 1;
  top:0;
  background: rgba(56,95,144,0.80);
}

.header-wrapper.smaller {
}

.header-wrapper.smaller #main-header {
  padding: 0 inherit;
}

.header-wrapper.smaller #hero h1 {
  font-size: 20px;
  text-align: left;
}

.header-wrapper.smaller #hero h1 a {
  font-size: 20px;
}

.header-wrapper-wrapper {
  z-index: 1000;
  position: fixed;
  width: 100%;
}

#header-border {
  background-image: url('images/header-triangle.png');
  background-repeat: repeat-x;
  background-attachment: scroll;
  height: 4px;
  position: relative;
  top: 4px;

}

#main-container.wrapper {
  width: 100%;
  margin-top: 0;
  z-index: 2;
  position: relative;
}

.hidden { display: none; }





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

  .post p {
    text-align: left;
    font-size: 35pt;
    color: #424242;
    line-height: 1.3em;
    letter-spacing: 0px;
  }

  .post h2, .post h2 a {
     font-size: 38pt;
     letter-spacing: 1px;
     line-height: 1.3em;

     text-align: left;
  }


  #books-display, #books {
    display: none;
  }

  .social-icon {
    width: 92px !important;
    height: 92px !important;
  }

  .post-social-wrapper {
    padding-left: 0em;
    margin-left: -1.3em;
  }

  #navigation-box, .navigation li a, .navigation li a :active, .navigation li a:visited {
    line-height: 43px;
    font-size: 38px;
    padding-right: 0.5em;
  }


.liker { margin: 1.5em 0 0 10px; }

  #nav {padding-left: 0px ; width: 960px; padding-bottom: 0.5em;}

  #hero { padding-left: 0px ; }

  #hero h1 a { font-size:50px !important; letter-spacing: 3px !important; text-align: left; }

  #social-navigation, #search-box, #newsletter-container {display: none;}



  .header-wrapper.smaller #main-header {
    padding: inherit;
  }

  .header-wrapper.smaller #hero h1 {
    font-size: inherit;
    text-align: left;
  }

  .header-wrapper.smaller #hero h1 a {
    font-size: inherit;
  }



}


