/*
Theme Name: Mountain Pagoda
Theme URI: https://wordpress.org/themes/mountainpagoda/
Author: Tony Brasunas
Author URI: https://tonybrasunas.com
Description: Intended as a gorgeous and engaging blog theme with modern typography, mobile responsiveness, and bright colors.
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: mountain pagoda, pagoda, china, red, blue, photograph, mountain, grasses, responsive
Text Domain: mountainpagoda

Use this theme to make something beautiful and share what you've learned with others.
*/

  /*@viewport {
     zoom: 1.0;
    width: extend-to-zoom;

  }
*/

/* Important classes to remember: 
 * figure.title-image - will move the title image up even with the date
 * figure.title-image.no-float will move the image central and even with the date
 * figure.shadowed will add drop shadow around the image, such as book cover
 * ul.padded - items will have space between them
 * ul.spaced - items will have line-height closer to p
 * img.no-float - won't float to the right
 * img.alignnone - won't float to the right
 * .also-posted-at - special space for links to other sites
 * .bordered - 2px red border
 */


  @font-face {
    font-family: 'Burin Sans';
    src: url('fonts/ATBurinSans-webfont.eot');
    src: url('fonts/ATBurinSans-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/ATBurinSans-webfont.woff2') format('woff2'),
       url('fonts/ATBurinSans-webfont.woff') format('woff'),
       url('fonts/ATBurinSans-webfont.ttf') format('truetype'),
       url('fonts/ATBurinSans-webfont.svg#burin_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: "Chaparral Pro";
    src: url("fonts/ChaparralPro-Regular.otf");
  }
  /* @font-face {
    font-family: "Chaparral Pro";
    src: url("fonts/ChaparralPro-Bold.otf");
    font-weight: bold;
  }
  */
  @font-face {
    font-family: "Chaparral Pro";
    src: url("fonts/ChaparralPro-Italic.otf");
    font-style: italic;
  }
  @font-face {
    font-family: "Chaparral Pro";
    src: url("fonts/ChaparralPro-BoldItalic.otf");
    font-weight: bold;
    font-style: italic;
  }

  body {
    font-family: "Chaparral Pro", Garamond,"Book Antiqua","Palatino Linotype",Palatino,serif;
    color:#333;
    margin: 0;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	-webkit-background-size: cover;
	background-image: url('http://www.tonybrasunas.com/blogBackgrounds/bg_appenzell.jpg'); 
    /* background: url('http://www.tonybrasunas.com/blogBackgrounds/bg_pagoda-landscape.jpg') no-repeat center center fixed;
	 background: url('http://www.tonybrasunas.com/blogBackgrounds/snair.jpg') no-repeat center center fixed; 
	 background: url('http://www.tonybrasunas.com/blogBackgrounds/simon-berger.jpg') no-repeat center center fixed;
	 background: url('http://www.tonybrasunas.com/blogBackgrounds/suket-dedhia.jpg') no-repeat center center fixed;
	 background: url('http://www.tonybrasunas.com/blogBackgrounds/tyler-lastovich.jpg') no-repeat center center fixed; */
  }

  body.dh {
	background-image: url('http://www.tonybrasunas.com/blogBackgrounds/bg_pagoda-landscape.jpg') !important;
  }

  .black {
    color:#333 !important;
  }
  .red {
    color:#FA2424 !important;
  }

  a {
    color: #FA2424;
    /* font-weight:bold; */
  }
  a:hover {
    color:#0971B2;
  }
  h1 {
    font-family: "Burin Sans";
    font-size: 40px;
    color: #FA2424;
    text-transform:uppercase;
  }
  h2 {
    font-family: "Burin Sans";
    color: #FA2424;
  }
  h3 {
    font-family: "Burin Sans";
    font-size: 16px;
    color: #FA2424;
    text-transform:uppercase;
  }

  #wpd-editor-wraper-0_0 {
	display: block !important;
  }
        .ruled {
            color: #444;
            border-bottom: 1px solid #999;
            margin-right: 12px;
        }

    /* LIST STYLING */
  ul {
    list-style-type: square;
  }
    ul.normal {
        margin: 5px;
    }
        ul.normal li {
          color: #28282D;
        }
        ul.normal.flush li {
          margin-left: -20px;
        }
        ul.normal.flush li em {
            display: block;
            margin-left:25px;
          }
    ul.padded li {
      margin-bottom:15px;
    }
	ul.spaced li {
		line-height: 28px;
	}
    ol.lined-numbers {
    counter-reset: li;
  }
    ol.lined-numbers > li  {
      position:relative; /* Create a positioning context */
      margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
      padding:4px 8px; /* Add some spacing around the content */
      list-style:none; /* Disable the normal item numbering */
      border-top:2px solid #666;
      background:#f0f0f0;
    }
    ol.lined-numbers > li:before {
      content:counter(li);
        counter-increment:li;
      position:absolute;
      top:-2px;
      left:-2em;
      -moz-box-sizing:border-box;
      -webkit-box-sizing:border-box;
      box-sizing:border-box;
      width:2em;
      /* Some space between the number and the content in browsers that support
         generated content but not positioning it (Camino 2 is one example) */
      margin-right:8px;
      padding:4px;
      border-top:2px solid #666;
      color:#fff;
      background:#666;
      font-weight:bold;
      font-family:"Helvetica Neue", Arial, sans-serif;
      text-align:center;
            font-size: 24px;
    }
    ol.big-numbers {
    counter-reset: li;
  }
    ol.big-numbers > li  {
            position: relative;
            margin: 0 0 6px 2em;
            padding: 4px 8px;
            list-style: none;
    }
    ol.big-numbers > li:before {
            content: counter(li);
            counter-increment: li;
            position: absolute;
            left: -2em;
            box-sizing: border-box;
            width: 2em;
            margin-right: 8px;
            padding: 4px;
            color: #fff;
            background: #fa2424;
            font-weight: bold;
            font-family: "Helvetica Neue", Arial, sans-serif;
            text-align: center;
            border-radius: 14px;
            font-size: 24px;
    }
    /* End List Styles */

  .link-arrow {
    color: #fa2424 !important;
    font-size: 300%;
    font-weight: bold;
    float: right;
    vertical-align: bottom;
    margin-right: 12px;
  }
  #wrapper {
    margin: 5px auto 15px;
    position: relative;
    text-align:right;
  }
  .rightward {
    margin-right:6% !important;
  }
  section#header {
    background: rgba(250, 0, 0, .85);
    height: 90px;
    margin: 15px 0;
    text-align:right;
    width: 100%;
  }
    section#header h1 {
      font-family:"Burin Sans";
      font-size:60px;
      font-weight: bold;
      color:#FFF;
      margin-bottom: -20px;
      letter-spacing:15px;
      cursor: pointer;
    }
      section#header.double-happiness h1 {
          letter-spacing:5px;
      }
    nav {
      font-family: "Burin Sans";
      font-size: 18px;
      height: 16px;
      margin: 0 4px;
      padding: 10px 0;
      text-align: right;
    }
      nav a {
        color: #FFF;
        text-decoration:none;
        margin: 0 11px 0 80px;
      }
	  nav a.highlighted {
		background: white;
		border-radius: 5px;
		padding: 1px 10px;
		color: #fa2424;
		display: inline-block;
	  }
      nav a:hover, nav a.selected {
        text-decoration:underline;
        color: #FFF;
      }
		nav a.highlighted:hover, nav a.highlighted.selected {
        	color: #fa2424;
      	}
      nav a:active {
        text-decoration:underline;
      }
  section#subheader {
    margin: 5px 0 5px;
    text-align:right;
    font-family: "Burin Sans";
    font-weight: bold;
    font-size:16px;
    color: #777;
	text-shadow: 6px 0px 8px #EEE;
  }
    #subheader img.author-photo {
        border: 2px solid #AAA;
        border-radius: 8px;
        margin: 5px 10px;
        vertical-align: middle;
    }

  .blocks {
    display:inline-block;
    background: rgba(255,255,255,0.93);
    border-radius: 15px;
    vertical-align: top;
  }

  /* LEFT SIDE */
  section#promotion {
    width: 15%;
    max-width: 200px;
    min-height: 200px;
    margin:0 2% 3%;
    display: inline-block;
    }
    body.rwb #promotion .dh.promo, 
	body.home #promotion .dh.promo,
	body.main #promotion .dh.promo,
	body.dh #promotion .rwb.promo {
	  display: none;
    }

    div.promo {
      margin: 0 0 30%;
      min-height: 130px;
      padding: 10% 12%;
      text-align: left;
      width: 85%;
      font-family:"Burin Sans";
      line-height: 110%;
      font-size:99%;
    }
      div.promo h1 {
        margin: 2% 0;
        line-height:75%;
        font-style:italic;
      }
      div.promo h2 {
        margin: 2% 0;
        text-transform:uppercase;
        font-size: 30px;
        line-height:75%;
      }
      div.promo h3 {
        margin: 2% 0;
      }
      div.promo a {
        text-decoration:none;
        color: #333;
      }
      div.promo .social-buttons img {
        padding: 0 20px 8px 10px;
      }

  /* MAIN */
  section#main {
    width:72%;
    max-width:900px;
    min-height:460px;
    padding:15px 25px;
    text-align:left;
    margin: 0 2.5% 550px 2%;
  }
    #content, aside, article .entry-text, article .entry-date {
      display:inline-block;
      vertical-align:top;
    }
    #content {
    	border-right: 2px dashed #a7cae8;
    	font-size: 20px;
    	margin: 2% 0 0;
	    padding: 0 2% 0 0;
	    width: 70%;
    }
    header.category {
		background: white none repeat scroll 0 0;
		border: 2px dashed #fa2424;
		font-style: italic;
		margin: 5px 10px 50px;
		padding: 15px;
    }
    article.entry {
      	border-top:2px dashed #a7cae8;
      	padding-top: 40px;
      }
      article.entry:first-of-type {
          border-top:none;
          padding-top: 0;
        }
    article .entry-title {
      margin: 0 0 5% 10%;
      line-height: 90%;
      font-size: 40px;
    }
      .entry-title a, .entry-title a:hover {
        text-decoration:none;
        color:#FA2424;
      }
    article .page-title {
      margin: 0 0 2%;
      line-height: 90%;
    }
	article .title-image {
		margin: -7px -5px 0 15px;
	}
    article .entry-date {
      background-color: #fa2424;
      border-radius: 5%;
      box-shadow: 2px 2px 2px #444;
      color: white;
      font-size: 80%;
      max-width: 80px;
      min-height: 60px;
      padding: 1%;
      text-align: center;
      width: 7%;
      line-height: 150%;
      font-family: "Burin Sans";
      }
      article .entry-date .date {
        font-size: 200%;
	display:block;
      }
	article .wp-block-cover p strong {
		line-height: 100%;
		font-family: arial;
		font-weight: bold;
	}
	.wp-block-cover {
		margin-bottom: 20px;
	}
    article .entry-text {
      margin: -3px 0 40px;
      padding-bottom: 5px;      
    }
	article div.entry-text:not(.page) {
		width: 90%;
	}

    /* DROP CAP & FIRST LINE */
    article .entry-text.dropcap > p:first-of-type:first-letter, p.dropcap:first-letter {
        color: #fa2424;
        float: left;
        font-size: 500%;
        line-height: 80%;
        padding: 0.05em 0.10em 0;
      }

      article .entry-text.dropcap > p:first-of-type:first-line, p.dropcap:first-line {
        text-transform:uppercase;
        letter-spacing: 3px;
      }
      p.no-dropcap:first-letter {
        color: inherit !important;
        float: none !important;
        font-size: inherit !important;
        line-height: inherit;
        padding: inherit;
      }
      p.no-dropcap:first-line {
        text-transform: none !important;
        letter-spacing: normal !important;
        font-variant: inherit !important;
        font-size: inherit !important;
      }

      
    /*  temporary firefox fix for dropcap on homepage */
        body:not(:-moz-handler-blocked) #main.index .entry-text.dropcap > p::first-letter  {
                    float:none !important;
                }


    article h1 {
      font-family:Burin Sans;
      margin: 0;
      font-size: 44px;
    }
      article h2 {
        font-family:Burin Sans;
        color:#FA2424;
        font-size: 33px;
      }
      article h2.subhead {
        font-size: 26px;
		margin: 20px 0 10px !important;
      }
	  article .entry-text h2 { 
		  margin: 30px 0 10px
	  }
      article h3 {
        margin-bottom: 10px;
        font-size: 21px;
        text-transform:uppercase;
      }
      article h4, .subhead2 {
        font-family:Burin Sans;
        color:#FA2424;
        margin: 15px 0 0;
        font-size: 23px;
      }
      article h5, .subhead3 {
        font-family: "Burin Sans";
        font-size: 17px;
        font-weight: bold;
      }
      article .section-break {
        border-top: 1px solid #712;
        margin: 40px 0 20px;
        padding-top: 12px;
        width: 75%;
      }
      article p, article .entry-text > ol li {
        margin: 0 1% 12px 0;
                line-height: 32px;
      }
      article .clear {
	clear: both;
      }
      article ol li {
        margin: 0 1% 15px;
                line-height: 30px;
      }

	 /* BUTTON */
	  article .wp-block-button a {
		font-family: 'burin sans';
		margin: 30px auto;
	  }

     /* BLOCKQUOTES & PULLQUOTES */
      article blockquote {
        background: #fff none repeat scroll 0 0;
        border: 1px dashed #ccc;
        line-height: 140%;
        margin: 25px;
        padding: 12px 8px 5px;
      }
	article blockquote.pullquote {
	  font-size: 22px;
	  font-style: italic;
	  border: none;
	}
	article div.pullquote {
		font-size: 35px;
		font-style: italic;
		margin: 25px 15px 25px 45px;
	}
	article div.feature {  
		border: 4px dashed #ccc;
		border-radius: 5px;
		margin: 2px 2px 30px;
		padding: 15px;
	}
      	article .note {
        	font-style: italic;
	        margin: 25px 3px;
	}
	article div.graf--mixtapeEmbed {
		margin: 25px;
	}
      article .photo-block {
        float:right;
        width:300px;
        margin: 0 0 15px;
		text-align: center;
      }
        article .photo-block .caption {
          font-size:75%;
		  margin-top: -1em;
        }
		/* IMAGES & PHOTOS */
		article .photo-block img {
			float: none !important;
		}
        article .entry-text img {
          float: right;
          margin: 10px;
	  	  max-width: 100%;
        }
        article img.no-float,
		article figure.no-float img {
             float:none !important;
    	  }
		article figure.shadowed img /* Book Cover */ {
			box-shadow: 3px 3px 3px #555;
		}
		 
		article img.alignnone {
 			margin: 4px 0 10px;
			float: none;
		}	

      article .bordered {
        border: 2px solid #FA2424;
      }
      article .photo {
        float:right;
        margin: 0 0 15px 20px
      }
      article img.entryimage, .entryimage {
        border:1px solid #CCC;
        margin: 0 4px 15px 15px;
        float:right;
        }
        article img.big {
          float: none;
          margin: 40px 0 60px;
          width: 90%;
        }
      article .entry-caption {
        border: 1px solid #ccc;
        float: right;
        font-family: sans-serif;
        font-size: 65%;
        margin: 0 4px 15px 15px;
        padding: 5px 0;
        text-align: center;
      }
        article .entry-caption img {
          float: none;
          margin: 0;
        }
	article .image-caption {
	  font-size: small;
	  background: #EEE;
 	  margin: -33px 5% 15px;
	  text-align: center;
	  padding: 5px;
	}
	article .embed-caption {
	  font-size: small;
	  background: #EEE;
	  margin: -20px 10% 20px;
	  text-align: center;
	  padding: 5px;
	}
    article figcaption {
		font-size: 14px;
		font-family: sans-serif;
		margin: 5px 0px 0 20px;
	}
      article .postline {
        font-size: 65%;
		float: left;
		width: 58%;
        margin: 22px 8px 8px 0;
        color: #777;
        position:relative;
        font-family: 'burin sans', arial;
      }
	
	/* SOCIAL SHARE */
    article .heateor_sss_sharing_container {
        position: relative;
		z-index: 10;
        top: 50px;
        left: 50px;
    }

	/* ALSO POSTED AT */
	article .also-posted-at {
		width: 38%;
		float: right;
        margin: 22px 0 8px 8px;
		font-size: 65%;
		font-family: 'burin sans', arial;
		opacity: 0.7;
	}
		article .also-posted-at li {
			list-style-type: disclosure-closed;
		}
		article .also-posted-at li:first-of-type {
			margin-top: -1em;
		}
	    article hr  {
			height: 0;
			width: 50%;
			border-top: 2px dashed #FA2424 !important;
			color: #fff;
			margin: 50px auto;
		}
      article a {
        text-decoration:none;
        color:#FA2424;
      }
        article a:hover {
          text-decoration:underline;
        }
        a.black {
          color:#231F20 !important;
          text-decoration:underline !important;
        }
    #content #more-entries {
      margin: 0 auto;
      width: 100%;
      text-transform: uppercase;
      font-size: 75%;
      text-align: center;
    }
      #content #more-entries a {
        text-decoration:none;
        margin: 12px;
      }

    /* RIGHT SIDE */
    aside {
      width:25%;
      padding:5px 0 0 15px;
    }
      aside h3 {
        margin: 5px 0 0;
	border-top: 2px dashed #a7cae8;
	padding: 12px 0;
      }
      aside .social-buttons h3 {
        font-size:15px;
      }
      aside .social-buttons {
        margin: 5px 0 5px 0;
      }
        aside .social-buttons img  {
          opacity: .8;
        }
        aside .social-buttons .fb-like {
          margin: 5px 50px;
        }

/** Comments **/
.comment-form-comment textarea {
    height: 120px;
    width: 92%;
    padding: 10px;
    border: 2px dashed #999;
    color: #555;
}
li.comment {
    list-style-type: none;
    background: white;
    padding: 15px;
    margin: 40px 15px 0 -20px;
    border: 1px dashed #999;
}
li.comment img.avatar {
	height: 70px;
	width: 70px;
}
div.comment-author {
    font-size: 18px;
    text-transform: uppercase;
}
div.comment-author span.says {
	display: none;
}
div.comment-metadata time {
	font-size: 12px;
	color: #AAA;
	font-family: sans-serif;
}
div.comment-content {
	margin: 10px 0;
}
a.comment-reply-link {
    border: 1px solid #FA2424;
    padding: 5px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
}
a.comment-edit-link {
	margin: 15px;
	text-transform: uppercase;
	font-size: 16px;
	color: white;
	background: #FA2424;
	border-radius: 5px;
	border: 1px solid #FA2424;
	padding: 4px 10px;
}
form.comment-form label {
    width: 16%;
    display: inline-block;
    margin: 0 5px;
}
p.comment-form-cookies-consent label {
    width: 80% !important;
    margin-top: 11px;
    font-size: 14px;
    line-height: 17px;
}
p.logged-in-as a:last-of-type,
p.logged-in-as span.required-field-message {
	display:none;
}
p.form-submit input {
    font-size: 19px;
    width: 25%;
    color: #fa2424;
    background: white;
    border: 1px dashed #999;
	cursor: pointer;
	margin-left: 22%;
}
p.form-submit input:hover {
	color: #999;
}
      /** SUBSCRIBE FORM - MailChimp 
      .subscription-form input {
        display: inline;
        font-family: "Burin Sans";
        padding: 11px;
        margin: 0 0 0 10px;
      }
        .subscription-form h3 {
          display: none;
        }
        .subscription-form input[type='email'] {
          border: 1px solid #fa2424;
          width: 80%;
          font-weight: bold;
        }
        .subscription-form input[type='submit'] {
          background: none repeat scroll 0 0 #fa2424;
          color: white;
          border: none;
          font-size: 75%;
          text-transform: uppercase;
          cursor:pointer;
          border-bottom-left-radius: 6px;
          border-bottom-right-radius: 6px;
        }
        .subscription-form div.mce_inline_error {
            background-color: #6b0505;
            margin: 0 10px !important;
            padding: 5px 10px;
            z-index: 1;
            width: 60%;
          }
        .subscription-form div.mce-error-response {
          background: white none repeat scroll 0 0;
          font-family: burin sans;
          margin: 0 5% !important;
          padding: 3px;
        }
		**/

		/** SUBSCRIPTION FORM - Substack **/
		#custom-substack-embed form {
    		height: 5rem !important;
			background: linear-gradient(145deg, cornflowerblue, #ff2424);
		}
		#custom-substack-embed form input {
			background-color: white !important;
			color: #444;
			font-size: 75%;
			padding-left: 0.5rem;
			padding-right: 0.5rem;
		}
		#custom-substack-embed form button {
			padding-left: 0.5rem;
			padding-right: 0.5rem;
		}
		#custom-substack-embed p.success {
			color: #FA2424;
			font-style: italic;
		}

      .subscription-rss {
        background: url("images/button_rss.png") no-repeat scroll 5px 12px rgba(0, 0, 0, 0);
        height: 60px;
        margin: 5px;
      }
        .subscription-rss a {
          display: block;
          font-family: "Burin Sans";
          font-size: 75%;
          word-spacing: 1.6px;
          font-weight: bold;
          margin: 6px 6px 5px 65px;
          text-decoration: none;
          text-transform: uppercase;
          padding: 25px 0;
        }
          .subscription-rss a:hover {
            color:#FA2424;
            text-decoration:underline;
          }
      aside .get-the-book {
        background: url("/wp-content/uploads/2016/01/Double-Happiness-by-Tony-Brasunas-SmallFrontCover.jpg") no-repeat scroll 0px 0px rgba(0, 0, 0, 0);
        height: 82px;
        margin: -8px 12px 12px;
        cursor: pointer;
      }
        aside .get-the-book a {
          display: block;
          font-family: "Burin Sans";
          word-spacing: 1.6px;
          font-weight: bold;
          margin: 6px 6px 5px 65px;
          text-decoration: none;
          color: #444;
          padding: 25px 0;
        }
          aside .get-the-book a:hover {
            color:#FA2424;
            text-decoration:underline;
          }
      aside div.epigraph {
        font-size: 90%;
        margin: -5px 0 20px;
      }
        aside .epigraph i {
          letter-spacing: 3px;
          font-family: "Burin Sans";
		  font-size: 14px;
        }
	aside .epigraph p {
	   margin: 5px 0 0 15px;
	   text-indent: -15px;
	}
      aside ul {
        list-style-type: square;
        margin:0;
      }
        aside ul li {
          margin: 0 0 15px -20px;
        }
        aside ul a {
          text-decoration: none;
          font-weight:bold;
          color:#444;
        }
        aside ul a:hover {
          color:#FA2424;
        }
        aside #recent-comments li.recent-comment {
          margin-left: -35px;
        }
		aside #recent-comments img { 
			vertical-align: text-top; 
			float: right; 
			margin: 0 0 5px 5px;
		}
		aside #recent-comments p {
			margin-top: 5px;
			min-height: 50px;
			font-weight: normal;
		}
        #recentcomments {
          margin: -10px 0 0 22px;
        }
	section.archives p > a {
		margin: 12px;
		text-decoration: none;
	}

   /* FOOTER */
     section#footer {
    height: 16px;
    padding: 12px 0;
    margin: 0 auto;
  }

  /* MOBILE NAVIGATION */
  section#header #mobile-menu {
    display: none;
    position: relative;
    float:left;
    top: 10px;
    left: 10px;
    cursor: pointer;
  }
  section#mobile-nav {
    position: fixed;
    background: #EEE;
    width: 320px;
    top: 0;
    left: 0;
    height: 100%;
    display: none;
    z-index:10;
    box-shadow: 3px 3px 8px #333;
  }
    #mobile-nav #mobile-nav-close {
      font-family: arial;
      font-size: 150%;
      font-weight: normal;
      margin: 0;
      position: relative;
      text-align: right;
      top: 5px;
      color: #BBB;
    }
    #mobile-nav a {
      border-bottom: 1px solid #999;
      color: #444;
      display: block;
      text-align: left;
      margin: 15px 0px;
      height: 30px;
      text-transform: uppercase;
      text-decoration: none;
      padding: 0 5px;
      font-family: burin sans;
    }
	#mobile-nav a.red-link {
	  color: #FA2424;
	}

/* Page Specific Mark-Up */

/* JOIN THE JOURNEY */
#bookstorelist li {
  margin-bottom:15px;
}
#join-the-journey h5 {
  margin:0;
}
#join-the-journey .entry-text img {
  float:none;
}
#join-the-journey .book-block {
  display: inline-block;
  width: 180px;
  margin: 0 8px 25px 0;
}
#join-the-journey .buy-block {
  display:inline-block;
  margin:15px 0 25px 0;
  width:59%;
  vertical-align:top;
}
   #join-the-journey .buy-block a {
    text-decoration: none;
}
#join-the-journey #ebook {
  margin-bottom: 60px;
}
   #join-the-journey a.ebooklink {
      display: block;
      font-family: Burin Sans;
      font-weight: bold;
      margin: 8px 0 0;
  }



/* ABOUT ME */
#about-me iframe, #about-me .entry-text img {
  border: 2px solid #FA2424;
}

/* ABOUT THE BOOK */

/* FOR THE MEDIA */
#for-media {
}
#download-photos {
  font-size: 11px;
  }
  #download-photos h3 {
    clear: both;
  }
  #download-photos img {
    clear: both;
    float: left;
    margin: 25px 2px 2px -2px;
  }
  #download-photos span  {
    display: block;
    float: left;
    margin: 100px 5px;
  }
  #download-photos .photolink {
    display: block;
    float: left;
    margin: 100px 2px;
    padding: 0 3px;
  }

/* MANUSCRIPT EXCERPTS */
.manuscript-excerpt {
  width: 95%;
}
	.manuscript-excerpt .bottom-links {
	  display: block;
	  float: left;
	  width: 50%;
	  text-align: center;
	  margin-top: 100px;
	}

/* SUBSCRIBE PAGE */
#subscribe aside#sidebar .subscription-form {
  display:none;
}
#subscribe .subscription-form {
	margin: 30px;
}

/* ERROR 404 PAGE */
section.error-404 {
  background: rgba(255,255,255,0.85);
  padding: 2%;
  width: 80%;
  border-radius: 12px;
  margin: 0 auto;
}


/* MEDIA QUERIES */
/* "desktop" */
@media only screen and (max-width: 1250px) {
  .desktop {
    display:none !important;
  }
  section#promotion {
    margin: 0 2% 3%;
    max-width: 80%;
    width: 80%;
    min-height: 200px;
    text-align:left;
  }
  div.promo {
    margin: 0 30px;
    padding: 20px;
    text-align: left;
    width: 30%;
    height: 220px;
    display: none;
  }
    .keeper {
      display: inline-block !important;
    }
}

@media only screen and (max-width: 1080px) {
  nav a {
    margin-left: 20px;
    font-size: 18px;
  }
  section#header #mobile-menu {
    display:block;
  }
  section#header h1#nameplate  {
    font-size: 48px;
  }
  div.promo {
    height:250px !important;
  }
  #content, #sidebar {
    width: 98%;
    border: none;
  }
  #sidebar {
    border-left: none;
    border-top: 3px dashed #A7CAE8;
    margin-top: 50px;
  }
  aside #social-buttons {
    display: none;
  }
  aside .subscription-form h3 {
    display: block;
  }

}

/* "tablet" */
@media only screen and (min-width: 760px) and (max-width: 1080px) {
  .tablet {
    display: block !important;
  }
}


@media only screen and (max-width: 760px) {
  .mobile {
    display:block !important;
  }
  nav a {
    margin-left: 20px;
    font-size: 15px;
  }
  section#header h1#nameplate  {
    font-size: 35px;
    margin-left: 50px;
  }
  section#subheader {
    display:none;
  }
  article .entry-date {
    display:none;
  }
  article .entry-title {
    margin-left: 0;
  }
  #join-the-journey .buy-block {
    display: block;
    margin: -35px 0 50px 0;
  }
  .mobile-expandable {
    width:100% !important;
  }



}

/* "mobile" */
@media only screen and (max-width: 560px) {
  section#header {
    height: 180px;
  }
  nav a {
    margin: 7px 20px 0;
    display: block;
  }
  article .entry-title {
    font-size: 130%;
  }
  article .entry-text {
    width: 100%;
  }
    article .entry-text img {
      float: none;
      margin: 10px 10px 15px;
    }
  article .entry-caption {
    width: 100% !important;
  }
}


/* Fix Webkit issues */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  article .entry-text.dropcap > p:first-of-type:first-line, p.dropcap:first-line {
  font-size:24px;
  font-variant: small-caps;
 }

  article .entry-text.dropcap > p:first-of-type:first-letter, p.dropcap:first-letter, .wpsdc-drop-cap {
        font-size: 385%;
 }

}