 /* THOREAU CSS */

/* COLOR REFERENCES
	
Green: #007964
Dark Green:  #004e47
Orange: #f87d00
Yellow:	#57cd5d

Salmon: #dd5638
Blue Gray: #3e4249

*/

/* ==== GENERAL ==== */

body {
	margin-top: 50px; /* fixes issue where navigation was sucking content up into it */ 
	font-family: 'vera-sans', Helvetica, sans-serif;
	font-size: 16px;
	background: url('../img/tile.jpg') top left repeat;
}

/* ==== GLOBAL ==== */

h1, h2, h3, h4, h5, h6 {
	-webkit-font-smoothing: antialiased; /*sexy smooth headers that are bold */
	text-rendering: optimizeLegibility;
	font-weight: bold;
}

/* overriding default heading properties */

h1 {
	font-size: 3em;
}

h1, h2 {
	margin: 0 0 40px;
}

h3 {
	margin: 20px 0;
}

h4 {
	font-size: 18px;
}

p.margin-top-20 {
	margin: 20px 0px 10px;
	padding: 0px;
}

.orange {  /* for links */
	color: #f87d00;
	text-decoration: underline;
}

.small-text {
	font-size: 0.95em;
}

.btn {
	font-weight: bold;
}

.btn-danger {
/*	background-color: #991d00;
	border-color: #571000; */
	background-color: #f87d00;
	border-color: #a69600;
	margin-top: 20px;
	padding-top: 8px !important;
	padding-bottom: 6px !important;
	font-size: 16px !important;
}

.quotemark_large, .quotemark_large_end {
/*	font-family: 'IM Fell Great Primer', serif; */
	font-family: serif;
	font-size:2.7em;
	color: #f87d00;
	line-height: 1.0em;
}

.quotemark_large_end {
	vertical-align: -75%;
	padding-left: 4px;
}

p.quote_section {
	margin-top: -30px !important;
	padding-top: 0px !important;
	padding-bottom: 25px;
}

.quote {
	font-size: 1.3em;
}

.quote_attribution {
	float: right;
	margin: 0px;
	padding: 0px 20px 0px 0px;
}

.clearfix {
	clear:both;
}

.no_bottom_margin_padding {
	 margin-bottom: 0; 
	 padding-bottom: 0;
}

.secondary_page p {
	margin: 0px auto 18px;
}

/* ===== HEADER section ==== */

.navbar-wrapper .container {
    padding: 0 50px !important;
}

.navbar-default {
	background-color: #007964;
	background-color: #3c7983;
	background-color: #48919d;
/*	background-color: #5c789b; */
	border-color: #666;
	border-bottom:2px solid #edd68e;
	border-bottom:1px solid #d6b06e;
}

.navbar-brand {
	padding: 0px;
}

/* ======= nav navbar-nav navbar-right ======== */
/*
ul.nav a:link {
	color:#004e47 !important;
}

ul.nav a:hover {
	color:#f7cd5d !important;
}
*/

.navbar .nav > li > a {
    color: #004e47;
    color: #2b5a61;
}
.navbar .nav > li > a:hover {
    color: #eee;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
    background-color: #004e47 !important;
    background-color: #2b5a61 !important;
    color: #FFF !important;
}

/* set active item to green and lighter grey */ 
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus { 
	background-color: #004e47;
	background-color: #2b5a61; 
	color: white; 
}

.navbar .order a:link {
    color:#FCF99F !important;
}


/* ==== HERO (HOME TOP) section ==== */

/* ADDED 03-23-22 */
/* OVERRIDES BOOTSTRAP MIN CSS FILE */

#intro .container {
    display:flex;
    flex-direction:row;
    justify-content:center;
}



/* ADDED 02-06-22 */

#intro .container .banner-row {
	display:flex !important;
	flex-direction: row;
	justify-content: center;
}


/* ------- ADDED 03-15-17 -------- */
#home-desc {
	margin:0 4%;
}


#intro {
	background: url('../img/hero_bg_new_widened4c.jpg') 50% 0 no-repeat fixed;
	min-height: 500px;
	padding: 60px 0; /* originally 40px; increased to show more cabin upon scrolling */
	color: #000;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-webkit-box-shadow: 0 8px 6px -6px #666;
	-moz-box-shadow: 0 8px 6px -6px #666;
	box-shadow: 0 8px 6px -6px #666;
}

#intro article {
	width: 96%;
	margin: 0 2% !important;
	text-align: center;
}

#intro .hero-row {
	margin-top: 30px;
}

#intro .hero-text {
	max-width: 660px;
	margin: 10px 15px 0px 0px;
	padding: 20px 10px;
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBa with 0.8 opacity */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    line-height: 24px;
}

#intro .hero-text h1 {
	margin-bottom: 0px !important;
	color: #007964;
	color: #48919d;
/*	color: #5c789b;	*/
}

#intro .hero-text .lead {
	font-size: 1.4em;
	font-weight: normal;
	font-weight: 500;
	color:#f87d00;
}

#intro .hero-text ul {
	margin: 15px 0px;
	text-align: left;
}


#intro .cover-img-lg {
	margin: 10px auto 0;
	padding: 0px 0px 0px 15px;
}

#intro .cover-img-lg img {
	max-width: 400px;
	border:none;
	margin:0px;
	padding: 0px;
}



/* ================================ HOME - GLOBAL ================================== */

.home-row {
	padding: 30px 0px;
}

.home-row h3 {
	color:#004E47;
	color:#3c7983;
	text-transform:uppercase;
}

.home-row .col-sm-4 {
	width: 33%;
}

.home-row .col-sm-4 p {
	padding-right: 15px;
}

.home-row {
	font-size: 90%;
}

.home-row h5 {
	color:#0f69bd;
	font-size: 1.1em;
}



/* ================================ SPEECH BUBBLE - TESTIMONIALS SECTION ================================== */

#testimonials {
	display:flex !important;
	flex-direction: row;
	justify-content: center;
	max-width: 920px;
	margin: 50px auto 0px; /* used to be 0 instead of auto */
	padding: 0; /* used to be 0px 0px 0px 70px; */
}

ul.speech {
	position: relative;
	width: 100%;
	max-width: 1000px;
	min-width: 650px;
	height: 100px;
	text-align: center;
	padding: 10px 40px 0px;
/*	background-color: #eee; */
	background-color: rgba(186, 175, 143, 0.74);
/*	border: 1px solid #eee; */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-webkit-box-shadow: 2px 2px 4px #888;
	-moz-box-shadow: 2px 2px 4px #888;
	box-shadow: 2px 2px 4px #888;
}

ul.speech:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 25px;
	top: 100px;
	border: 15px solid;
	border-color: #ccc transparent transparent #ccc;
}

ul.speech:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 27px;
	top: 100px;
	border: 13px solid;
/*	border-color: #eee transparent transparent #eee; */
	border-color: #b9ae8f transparent transparent #b9ae8f;
}

#testimonials .carrot {
    display:none;
}

#my-textrotator {list-style: none;}
#my-textrotator li {display: none;}



/* ================================ HOME - AUTHOR COLUMN SECTION ================================== */

#row3-author {
	display:flex;
	flex-direction:row;
	justify-content: center;
	margin-top:0px;
	padding-top:10px;
	margin-bottom:25px;
}

#row3-author .row {
    display:flex;
    flex-direction: row;
    justify-content: center;
}

#row3-author .col-sm-4 {
    padding-right: 0;
    padding-left: 30px;
}

#row3-author .col-sm-4 p {
	padding-right: 10px !important;
}

#row3-author .news-events {
    width: 28% !important;
}

.author img {
	max-width: 110px;
	float: left;
	margin: 0px 10px 0px 0px;
	border: 1px solid #004e47;
}

.author p, .blog p {
	font-size:1.1em;
}

#row3-author .news-events p {
	width:92%;
	font-size:1.1em;
	margin-top:0;
	padding-top:0;
}

.news-events form {
	margin-top: 10px;
	padding:10px 15px;
	width:80%;
	float:left;
	border-radius: 5px;
	background: rgba(72, 145, 157, .6);
}

.news-events input.field {
	width:90%;
	margin: 3% 5%;
	padding: 5px 10px;
	line-height: 1.2em;
	border-radius: 5px;
}

.news-events input.submit-btn {
	width:60%;
	float: center;
	margin: 4% 20%;
	padding: 5px 0;
	line-height: 1.2em;
	border-radius: 5px;
	border: 2px solid #fff;
	color: #fff;
	font-weight: bold;
	background: rgba(72, 145, 157, .4);
}


/* ================================ HOME - THOREAU SECTION ================================== */

#row4-thoreau {
	background: #b9ae8f;
}

#row4-thoreau .row {
	width:86%;
	margin: 0 7%;
	padding-bottom: 30px;
}

#row4-thoreau .thoreau-quotes, #row4-thoreau .thoreau-img {
    padding: 0 !important;
}

#row4-thoreau h2 {
	text-align: right;
/*	font-family: 'Quintessential', cursive; */
	font-family: 'Arizonia', cursive;
	text-transform: none;
	color: #000;
	font-size:3.0em;
	margin:0;
	padding:0;
	padding-right:2%;
}

#row4-thoreau p {
	font-size: 1.2em;
}

.thoreau-img img {
	float: right;
	margin: 0px 0px 0px 10px;
	max-width: 220px;
	border: 1px solid #004e47;
}

.thoreau-quotes img {
	float:left;
	margin: -40px 0 0;
	width: 93%;
	height: 93%;
    max-width: 600px;
}

.book_title {
	font-size: 1.2em;
	font-weight: normal;
	font-style: italic;
}



/* ================================ HOME ROW 5 - KAYAK BOOKS SECTION ================================== */

#row4-kayak-books .container {
    padding: 2% 4%;
}

#row4-kayak-books .row {
	padding-bottom: 10px;
}

#row4-kayak-books {
	background: #ffffff;
}

#row4-kayak-books h3, #row4-kayak-books .intro_text {
	margin: 0 auto !important;
	padding: 0 0 10px !important;
	text-align: center;
}

#row4-kayak-books p.intro_text {
	font-size: 1.35em !important;
}

#row4-kayak-books .kayak-book {
	margin-top: 10px;
}

.kayak-book img {
	max-width: 190px;
	float: left;
	margin: 0px 25px 0px 0px !important;
	border: 1px solid #004e47;
}

.book_title {
	font-size: 1.1em;
	font-weight: bold;
	font-style: italic;
}

.kayak-book p {
	font-size:1.2em;
	line-height:1.5em;
}

#row4-kayak-books a {
    color: #337ab7;
    font-weight:bold;
}


/* ================================ HOME ROW 6 - LYTTON PUBLISHING SECTION ================================== */

#row5-lytton {
	background: white;
	background: #766e5a;
	background: #b9ae8f;
}

#row5-lytton .container {
	padding: 2% 4% 2.5%;
}

 #row5-lytton .container .row {
    display: flex !important;
    flex-direction: inherit;
    justify-content: center !important;
    align-items: center !important;
}

#row5-lytton h3 {
	margin-bottom:5px;
	padding-bottom:5px;
	font-size:1.5em;
	color:#fff;
}

#row5-lytton h5 {
	margin-top:0px;
	padding-top:0px;
	font-size:1.1em;
	text-transform: uppercase;
}

.lytton-desc p {
	font-size: 1.15em !important;
}

.lytton-desc img {
	width: 100%;
	margin: 20px 0px 30px;
}

.lytton-img {
	margin-bottom: 0px !important;
}

#row5-lytton .lytton-img img {
    width: 100%;
    max-width: 704px;
    margin:0 auto !important;
}


/* =============================== ABOUT WEBPAGE ========================================= */





/* =============================== AUTHOR WEBPAGE ========================================= */
	
img.author-main {
	max-width: 300px;
	float: left;
	margin: 0px 20px 10px 20px;
	border: 1px solid #004e47;
}



/* =============================== CONTENTS WEBPAGE ========================================= */


.toc {
	position: relative;
	border: solid 1px #ddd;
	background: white;
	padding: 0px 20px;
	margin: 0 0 40px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.toc header {
	padding: 20px 0px 0px;
}

.toc header h3 {
	margin: 0 0 15px;
	padding: 0 0 15px;
	border-bottom: solid 1px #ddd;
}

.toc_intro {
	text-align: left;
}
	
.toc_intro img {
	max-width: 170px;
	height: auto;
	clear:both;
	margin: 0px 30px 30px 20px;
	border: 1px solid #004e47;
}

.toc h3 {
	color:#0f69bd;
	clear: both;
}

.toc_list p {
	padding-bottom: 15px;
}

.book_number, .book_chapter, .read_more {
	color: #f87d00;
	font-size: 0.9em !important;
	font-weight: normal !important;
	text-transform: uppercase;
}

.section_title {
	font-size: 1.2em;
	font-weight: bold;
}

.location {
	font-size: 1.2em;
}

.route {
	font-size: 1.0em;
}

.chapter_title {
	font-family: 'Laila', serif;
	font-size: 1.7em;
}

.read_more a:link {
	color:#f87d00;
	text-decoration: underline;
}

/* ========= FOR "Read More" Excerpts Section ========== */

.excerpt-section {
    padding-left:20px;
}


/* =============================== INSIDE PAGE 2 TEMPLATE ========================================= */


.feature-image, .blog1-feature-image, .blog2-feature-image {	
	display: table;
	width: 100%;
}

.feature-image-default {
	background: url('../img/feature-image2.jpg') no-repeat;
	background-size: cover;
}

.feature-image-default-alt {
	background: url('../img/feature-image1.jpg') no-repeat;
	background-size: cover;
}

.blog1-feature-image-default-alt {
	background: url('../img/blog1-banner.jpg') no-repeat;
	background-size: cover;
	min-height: 380px;
}

.blog2-feature-image-default-alt {
	background: url('../img/blog2-banner.jpg') no-repeat;
	background-size: cover;
	min-height: 380px;
}

.feature-image h1, .blog1-feature-image h1, .blog2-feature-image h1 {
	display: table-cell;
	vertical-align: middle;
	text-align: center !important;
	color: white;
	padding: 100px 0px;
}

.feature-image h1::after {
	position:absolute;
	top:274px;
	left:18px;
    content: " Photograph of Walden Pond ";
    font-family: cursive;
    font-size:17px;
	vertical-align: bottom;
}

.blog1-feature-image h1::after {
	position:absolute;
	top:384px;
	left:18px;
    content: "Gorey Castle looking across to the coast of France";
    font-family: cursive;
    font-size:18px;
	vertical-align: bottom;
	text-shadow: 2px 2px #444444;
}

.blog2-feature-image h1::after {
	position:absolute;
	top:384px;
	left:18px;
    content: "Petroglyphs National Monument in Albuquerque, NM";
    font-family: cursive;
    font-size:18px;
	vertical-align: bottom;
	text-shadow: 2px 2px #444444;
}

.sidebar {
	padding: 30px 20px;
	padding: 40px 20px 30px 5px;
}

.sidebar .book-cover {
    display:flex;
    flex-direction:row;
    justify-content: center;
}

.book-cover img {
	max-width: 370px;
	width: 100%;
}

.sidebar .widget {
    max-width: 370px;
    margin: 0 auto 40px;
    text-align: center;
}

/* ================ SIGN UP SECTION ================= */

#signup {
	text-align: center;
	background: url('../img/feature-image7b.jpg') 50% 0 no-repeat fixed;
/*	background-size: cover; */
	min-height: 500px;
	color: white;
	padding-bottom: 140px;
}

#signup h2 {
	margin-top: 140px;
	font-weight: normal;
}

#signup h2 strong {
	border-bottom: solid 2px #dd5638;
}

#signup .btn {
/*	margin-bottom: 140px; -------------- */
	font-size: 24px;
}

footer {
	background: #48919d !important;
	color: white;
	padding: 20px 0 10px;
	font-size: 0.95em;
}

footer nav {
    text-align: center;
}

footer p {
	margin: 0;
}

footer a:link, footer a:visited {
	color: white;
}

footer a:hover {
	color: #dd5638;
	color: #2b5a61 !important;
}

footer li.signup-link a {
	color: #dd5638;
	color: #2b5a61;
	color:#FCF99F;
}

footer li.signup-link a:hover {
	font-weight: bold;
}

    
.pull-right a:link {
	/* color:#FCF99F; */
	text-decoration: underline !important;
}



/* ==== BLOG ==== */

.blog-image-section {
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    margin: 30px auto 20px;
}

.blog-image-section img {
    width: 94%;
    margin:0 3% 2.5%;
    max-width: 600px;
}

.post, .widget, #comments {
	position: relative;
	border: solid 1px #ddd;
	background: white;
	margin: 0 0 40px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.post header,
.post .post-excerpt,
.post .post-body,
#comments .comments-wrap {
	padding: 20px;
}

.post header h3 {
	margin: 0 0 15px;
	padding: 0 0 15px;
	border-bottom: solid 1px #ddd;
}

.post header h1 {
	margin: 0 0 15px;
	padding: 0 0 15px;
	border-bottom: solid 1px #ddd;
	font-size: 24px;
}

.post-image {
	height: auto;
}

.post-details {
	font-size: 12px;
	width: 90%;
}

.post-details i.fa {
	padding-left: 10px;
}

.post-details i.fa:first-child {
	padding: 0;
}

.blog-sidebar .widget h4 {
	padding-top:20px !important;
}

.blog-sidebar .left {
	max-width:280px;
	margin: 0 auto;
	text-align:left !important;
}

.widget h4, .widget p {
	margin-left: 20px;
	margin-right: 10px;
}

/* === COMMENTS === */

.post-comments-badge {
	height: 70px;
	width: 70px;
	position: absolute;
	top: 25px;
	right: 20px;
	border: none;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	background: #79b044;
	text-align: center;
	display: table;
}

.post-comments-badge a {
	display: table-cell;
	vertical-align: middle;
	color: white;
	font-size: 20px;
	line-height: 20px;
}

.post-comments-badge i.fa {
	display: block;
	font-size: 15px;
	padding: 0;
	margin-bottom: 4px;
}

.post-comments-badge:hover {
	background-color: #8bc653;
}

#comments h3 {
	text-align: center;
}

#comments h4 {
	font-size: 1.3em;
}

#comments ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

#comments ol li {
	background: rgba(0,0,0,0.02);
	padding: 10px 20px;
	margin: 10px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: solid 1px rgba(0,0,0,0.03);
}

#comments ol li ol.children {
	padding: 0;
	list-style: none;
	font-size: 0.96em;
}

#leave-comment {
	margin: 40px 0 0;
	padding: 20px 0 0;
	border-top: solid 1px #eee;
}

/* -------------------  OVERRIDING BOOTSTRAP CSS DOCUMENT --------------------- */
/* hamburger menu in navbar at smaller screen sizes now turns white */
.icon-bar {
	background-color:#ffffff !important;
}



/* --- MEDIA QUERIES --- */
/* --- MEDIA QUERIES --- */
/* --- MEDIA QUERIES --- */


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

    .thoreau-quotes img {
	    margin: -20px 0 0;
    }

}


@media screen and (max-width:1300px){
    
    #row4-thoreau .row {
        width: 90%;
        margin: 0 5%;
    }

    .thoreau-quotes img {
	    width: 95%;
	    height: 95%;
    }

}


@media screen and (max-width:1250px){
    
    #row3-author .col-sm-4 {
        width: 32%;
    }
    
    #row3-author .news-events p {
	    width:94%;
    }
    
    footer .author {
        display: inline-block;
        margin-left: 15px;
    }
    
}


@media screen and (max-width:1220px){
    
    #row4-thoreau .row {
        width: 90%;
        margin: 0 5%;
    }

    .thoreau-quotes img {
	    margin: 0;
	    width: 93%;
	    height: 93%;
    }

}


@media screen and (max-width:1175px){
    
    #row3-author .container {
        padding: 0 9%;
    }

    #row3-author .col-sm-4 {
        width: 50%;
        padding-right: 15px;
        padding-left: 15px;
    }
    
    #row3-author .row {
        display:flex;
        flex-direction:row;
        flex-wrap:wrap;
        justify-content:center;
    }
    
    #row3-author .news-events {
        margin-top: 1%;
        width: 750px !important;
        text-align: center;
    }
    
    #row3-author .news-events p {
	    width:100%;
    }
    
    .news-events form {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: no-wrap;
        margin: 10px auto;
        padding: 2%;
        width: 80%;
        float: none;
        border-radius: 5px;
    }
    
    #row3-author .news-events input.field {
        width: 45%;
        margin: 1%;
        padding: 5px 10px;
        line-height: 1.4em;
    }
    
    #row3-author .news-events .tablet-hide {
        display:none !important;
    }
    
    #row3-author .news-events input.submit-btn {
        width: auto;
        margin: 1% !important;
        padding: 5px 30px;
        line-height: 1.4em;
    }


@media screen and (max-width:1135px){
    
    #row3-author .container {
        padding: 0 7%;
    }
    
    #row5-lytton .container .row {
        flex-direction: column !important;
    }
    
    #row5-lytton .row .col-sm-4, #row5-lytton .row .col-sm-8 {
        width: 74% !important;
        margin: 1% 13% !important;
    }

    #row5-lytton .row .col-sm-8 {
        display: flex;
        justify-content: center;
    }

    #row5-lytton h3 {
        margin: 5px 0 20px;
    }

}

@media screen and (max-width:1085px){
    
    #row3-author .container {
        padding: 0 6%;
    }

    #row3-author .col-sm-4 {
        width: 50%;
        padding-right: 0px;
        padding-left: 20px;
    }
    
    #row3-author .news-events {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    
}


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

    #intro .cover-img-lg img {
        max-width: 360px;
    }
    
    #testimonials {
        padding: 0 50px;
    }
    
    ul.speech {
        max-width: 1000px;
        min-width: 600px;
        height: 120px;
        padding: 10px 40px 0px;
    }
    
    ul.speech:before {
        top: 120px;
    }
    
    ul.speech:after {
	    top: 120px;
    }
    
    #row5-lytton .row .col-sm-4, #row5-lytton .row .col-sm-8 {
        width: 80% !important;
        margin: 1% 10% !important;
    }

}


@media screen and (max-width:990px){
    
    #intro .hero-text h1 {
    font-size: 2.6em;
    margin-top: 10px;
    }

    #intro .cover-img-lg img {
        max-width: 320px;
        border: 1px solid #4b7083;
    }
    
    #signup h2 {
	    font-size: 1.85em;
    }
}


@media screen and (max-width:965px) {
    
    footer .container {
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        padding-bottom: 20px;
    }
    
    footer .col-sm-6 {
        width: 98%;
        margin: 20px auto 5px;
    }
    
    footer .col-sm-3 {
        width: 50%;
        text-align: center;
    }
    
    footer .pull-right {
        float: none !important;
    }
    
    footer .author {
        display: inline;
        margin-left: auto;
    }

}


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

    #row4-thoreau .row {
        width: 92%;
        margin: 0 4%;
    }
    
    #row4-thoreau .row:last-child {
        padding-bottom: 15px;
    }

    .thoreau-quotes img {
	    margin: 0;
	    width: 95%;
	    height: 95%;
    }

    #row4-kayak-books .row:first-child {
        padding: 20px 20px 10px !important;
    }

    #row4-kayak-books .row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    #row4-kayak-books .intro_text {
        max-width: 550px;
    }
    
    .row .kayak-book {
        width: 90% !important;
        margin-top:20px !important;
    }
    
    .row .kayak-book:last-child {
        padding-top:30px !important;
    }
    
    #row5-lytton .row .col-sm-4, #row5-lytton .row .col-sm-8 {
        width: 90% !important;
        margin: 1% 5% !important;
    }
    
    #signup .col-sm-6 {
        width: 100%;
        margin: 0 auto !important;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }
    
    #signup h2, #signup p {
        width: 90% !important;
        text-align:center !important;
    }

    #signup h2 {
        margin: 140px auto 40px;
        max-width: 450px;
    }
    
    #signup p {
        margin: 0 auto 10px;
        max-width: 400px;
    }

}


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

    #intro .banner-row {
        flex-direction: column-reverse !important;
    }
    
    #intro .hero-text {
        margin: 10px auto 0px;
    }
    
    #intro .cover-img-lg {
        margin: 0px auto 20px;
        padding: 0px;
    }
    
    #row4-thoreau .row {
        float: none !important;
        width: 100% !important;
        padding-bottom: 30px !important;
    }

    #row4-thoreau h2 {
        padding-top: 20px;
    }

    #row4-thoreau h2, #row4-thoreau .intro_text {
        float: none !important;
        text-align:center;
    }
    
    #row4-thoreau .row:last-child {
        display: flex !important;
        flex-direction: column-reverse !important;
        justify-content: center !important;
        width: 100%;
        margin: 0 auto;
    }
    
    #row4-thoreau .thoreau-quotes, #row4-thoreau .thoreau-img {
        width: 100%;
        display: flex !important;
        justify-content:center !important;
        margin: 0 auto !important;
    }

    #row4-thoreau .thoreau-quotes {
        padding: 0 5% 1% !important;
    }
    
    #row4-thoreau .thoreau-quotes img {
        float: none !important;
        max-width: 550px;
	    margin: 0 auto;
	    width: auto;
	    height: auto;
    }
    
    #row4-thoreau .thoreau-img {
        width: 100%;
        display: inline !important;
        margin: 0 auto !important;
        padding: 0 5% 6% !important;
    }
    
    .thoreau-img img {
        float: left !important;
        margin: 0px 20px 0px 0px;
        max-width: 220px;
    }
    
    /* ----- PHOTO GALLERY PAGE ----- */
    
    .html5gallery {
        display: flex !important;
        position: relative;
        width: 100% !important;
        height: 100% !important;
        flex-direction: row;
        justify-content: center !important;
        align-items: center !important;
    }

    
    .html5gallery-container-0 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 470px;
    }
    
    .html5gallery-box-0 {
        width: 100% !important;
        height: 100% !important;
        max-width: 800px !important;
        max-height:440px !important;
    }

  
    .html5gallery-elem-0, .html5gallery-elem-img-0 {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        overflow: visible !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:center !important;
        align-items: center !important;
    }
    
    .html5gallery-elem-image-0 {
       width: 90% !important;
       height:100% !important;
       margin: 0 5% !important;
       position: relative !important;
       left: 0 !important;
    }
    
    .html5gallery-car-0 {
        background: #ffffff !important;
        border: none !important;
    }

/*    
    .photo-gallery:after {
        clear: both !important;
        display:inline-block !important;
        width: 100% !important;
        height:4px !important;
        background-color: red !important;

    }
*/


}


@media screen and (max-width:780px) {
    
    ul.speech {
        min-width: 250px;
        height: auto;
        padding: 10px 40px 0px;
    }
    
    ul.speech:before {
        display:none;
    }
    
    ul.speech:after {
	    display:none;
    }
    
    #testimonials a {
        float:right;
        margin-right: 30px;
    }
    
    #testimonials .carrot {
        display:initial;
    }
    
    #testimonials .col-sm-4 {
        width: auto;
    }
    
    .row .kayak-book {
        width: 97% !important;
    }

}


@media screen and (max-width:768px) {
    
    #signup {
        background: url(../img/feature-image7b.jpg) 50% 10% no-repeat fixed; /* changed from 0 to 10% */
        min-height: 400px;
    }
}


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

    .navbar-wrapper .container {
        padding: 0 35px 0 50px !important;
    }
    
    .sidebar {
        padding: 10px 20px 30px;
    }
    
    .sidebar .book-cover  img {
        max-width: 340px !important;
    }
    
    .sidebar .widget {
        border: none;
        background: none;
    }
    
    .sidebar .widget p {
        text-align: center;
    }
    
    .excerpt-section {
        padding: 0 20px;
    }
}



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

    #testimonials {
        padding: 0 2%;
    }
    
    #row3-author .row {
        padding: 0 4% !important;
    }

    #row3-author .col-sm-4 {
        padding-left: 15px;
    }
    
    #row3-author .news-events {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
    
    #row5-lytton .row .col-sm-4::after {
        width: 100%;
        content:url('/assets/img/lytton-books-vertical.png');
        display:flex;
        justify-content:center;
        padding-top: 30px;
    }

    #row5-lytton .row .col-sm-8 {
        display:none;
    }
    
}


@media screen and (max-width:725px) {
    
    #row3-author .row {
        padding: 0 4% !important;
    }

    #row3-author .col-sm-4 {
        display: block;
        width: 100% !important;
        padding-right: 0px;
        padding-left: 0px;
        padding-bottom: 10px;
    }

    #row3-author .col-sm-4 p {
        padding-right: 0px !important;
    }

    .news-events form {
        width: 100%;
    }

}


@media screen and (max-width:650px) {
    
    ul.speech {
        padding: 10px 25px 0px;
    }

}


@media screen and (max-width:585px) {
    
    #row3-author .news-events p {
	    width:80%;
	    margin: 0 10%;
    }
  
    .news-events form {
        flex-wrap: wrap !important;
        padding: 2%;
    }
    
    #row3-author .news-events input.submit-btn {
        padding: 5px 40px;
    }
    
    #row4-thoreau .thoreau-img img {
        max-width: 180px;
    }
    
    #row4-thoreau .thoreau-quotes img {
        padding: 0 14% !important;
    }

}


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

    .page-title {
        font-size: 2.3em;
    }
    
    .feature-image h1::after {
        top: 258px;
    }
    
    .blog1-feature-image h1::after, .blog2-feature-image h1::after {
        top: 288px;position:absolute;
        margin: 0 90px !important;
        line-height:25px;
    }
    
    #row4-kayak-books .kayak-book {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .kayak-book p {
        margin: 25px 0 10px !important;
    }
    
    .row .kayak-book:last-child {
        padding-top: 20px !important;
    }
    
    #signup {
        background: url(../img/feature-image7b.jpg) 50% 30% no-repeat fixed; /* changed from 0 to 30% */
        min-height: 380px;
        padding-bottom: 120px;
    }
    
     #signup h2 {
        font-size: 1.6em;
    }
    
    #signup p {
        max-width: 350px;
    }
    
}


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

    #intro {
        background-size:cover;
    }
    
    #home-desc {
        margin: 0 2%;
    }
    
    ul.speech {
        padding: 10px 15px 0px;
    }
    
    #row3-author h3 {
        text-align: center;
    }
    
    #row4-kayak-books h3 {
        font-size: 1.7em;
        line-height: 1.35em;
    }
    
    .blog1-feature-image h1::after, .blog2-feature-image h1::after {
        margin: 0 70px !important;
    }

}

@media screen and (max-width: 480px) {
    
    #row3-author .news-events input.field {
        width: 80%;
        margin: 1% 10%;
    }
    
    #row4-thoreau .thoreau-img {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .thoreau-img img {
        float: none !important;
        margin: 0px 20px 20px 0px;
        max-width: 220px;
    }
    
}