img {
    width: auto;
    height: auto;
    max-width: 100%;
}


/* Post */

.post .entry-title {
    width: auto;
}

.post .entry-content {
    display: flex;
    flex-direction: column;
}

.post .entry-content img.alignleft {
    margin: 0 1em 1em 0;
}

.post .entry-content p {
    /* display: flex; */
    flex-direction: column;
}


/* Story */

.story .alignleft {
    float: left;
    width: 100%;
    max-width: 40%;
    margin: 0 1em 1em 0;
}

.story .alignleft img {
    float: none;
    margin: 0;
}

.story .alignright {
    float: right;
    width: 100%;
    max-width: 40%;
    margin: 0 0 1em 1em;
}

.story .entry-content div.wp-caption {
    width: 100% !important;
}


/* Comments */

.story #comments ol.commentlist,
.story #comments ol.commentlist li {
    width: 100%;
}


/* Colgroups */

.colgroup.colgroup5 {
    display: flex;
    width: 100%;
    border-spacing: 0;
}

.colgroup5 .col {
    display: table-cell;
    float: none;
    width: auto;
    vertical-align: top;
    padding: 15px 33px 1em;
    position: relative;
}

.colgroup5 .colA {
    background: url("images/texture4.jpg") 0 0 repeat;
    width: auto !important;
}

.colgroup5 .colB {
    min-width: 207px;
    /* 273 minus padding */
}

.colgroup.colgroup4 {
    display: table;
    width: 100%;
    border-spacing: 0;
}

.colgroup4 .col {
    display: table-cell;
    float: none;
    width: auto;
    vertical-align: top;
    position: relative;
}

.colgroup4 .colB {
    width: 41.3%;
}

.colgroup4 .colA {
    border: 6px solid white;
    overflow: hidden;
    width: 58.7%;
}

.colgroup4 .colA img.pic {
    border: none;
    height: 100%;
    min-width: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
}


/* Homepage layout */

#homepage .crossfade a {
    text-decoration: none;
}

#homepage .slide blockquote.featured {
    color: #58707b;
    font-size: 25px;
    margin: 15px 25px 15px 35px;
    font-weight: 700;
    font-style: normal;
    background: transparent url("images/icon-quotes-before.png") no-repeat scroll 0 0;
    padding: 13px 0 0 50px;
}

#homepage .slide blockquote.featured cite {
    font-family: Georgia;
    font-size: 18px;
    font-weight: 300;
    line-height: 23px;
}

#homepage .slide blockquote.featured img.quote {
    margin: 12px 0 0 12px;
}

#homepage .slide blockquote.featured.long-quote {
    font-size: 18px;
}

#homepage .slide blockquote.featured .nowrap {
    margin-bottom: 10px;
}

.colgroup.colgroup6 {
    display: table;
    width: 100%;
    border-spacing: 0;
    margin-bottom: 32px;
}

#homepage .colgroup.colgroup6 {
    display: flex;
}

#homepage .colgroup.colgroup6 .colA {
    display: flex;
    align-items: center;
}

.colgroup.colgroup6:after {
    content: "";
}

.colgroup6 .col {
    display: table-cell;
    float: none;
    width: auto;
    vertical-align: middle;
    position: relative;
}

.colgroup6 .colB .boxA#featured-quote .inner {
    position: static;
    min-height: 345px;
}

.colgroup6 .colB .boxA {
    background: none;
}

.colgroup6 .colB {
    background-color: #fff;
    background-image: none;
    height: 100%;
    position: relative;
    width: 50%;
}

.colgroup6 .colB .home-pic-container {
    border: 4px solid #fff;
    bottom: 0;
    float: none;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
}

.colgroup6 .colA {
    width: 50%;
    background-color: #fff;
}

.colgroup6 .colB img.home-pic {
    bottom: 0;
    height: auto;
    /****************************************************************/
    left: 50%;
    max-width: none;
    min-width: 100%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: auto;
    /*z-index: 9;*/
}

.colgroup6 .colA blockquote {}

.featured-listing .listA {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
}

.featured-listing .listA>li {
    width: 32.5%;
    display: inline-block;
    float: none;
    vertical-align: top;
}

.featured-listing #featured-sections.listA li#fs-news-and-events {
    background-color: transparent;
    background-image: none;
}

.featured-listing ul#featured-sections.listA li .desc,
.featured-listing ul#featured-sections.listA li#fs-news-and-events .desc {
    margin: 0 0 0 10px;
    padding: 0;
    display: inline-block;
    /*width: 175px;*/
    width: calc(100% - 130px);
    vertical-align: top;
    line-height: 17px;
}

.featured-listing ul#featured-sections.listA li .desc a,
.featured-listing ul#featured-sections.listA li#fs-news-and-events .desc a {
    margin-top: 5px;
    background: none;
}

.featured-listing ul#featured-sections.listA li a {
    display: inline-block;
    vertical-align: top;
}

.featured-listing ul#featured-sections.listA li a img {
    width: 105px;
}

.featured-listing ul#featured-sections.listA li .desc h3 {
    line-height: 18px;
    color: #fff;
}


/* HomePage Slider */

.group.overlap {
    position: relative;
}

.group.overlap>* {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.group.overlap.crossfade {
    overflow: hidden;
    /*min-height: 355px;*/
}

.group.overlap.crossfade>* {
    display: none;
}

.group.overlap.crossfade> :first-child {
    display: block;
}

.group.overlap.crossfade>img {
    z-index: auto;
}

article#homepage .group.overlap.crossfade menu {
    display: block;
    bottom: -10px;
    position: absolute;
    top: auto;
    left: calc(50% - 50px);
}

article#homepage .group.overlap.crossfade menu button {
    width: 7px;
    height: 7px;
    overflow: hidden;
    border: 0;
    background: #e4e8eb none repeat scroll 0 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    content: "";
    padding: 0;
    margin: 0 2px;
    cursor: pointer;
}

article#homepage .group.overlap.crossfade menu button:after {}

article#homepage .group.overlap.crossfade menu button.on {
    background: #fff;
}


/* Sidebar */

#sidebar {
    background-image: none;
    background-color: #eaefe2;
    border-bottom-right-radius: 32px;
}

#sidebar img.quote {
    margin-left: 15px;
    float: right;
}


/* Archives */

#sidebar .widget_archive ul li:nth-child(n+13) {
    display: none;
}


/* comments ? */

#respond {
    width: auto;
}


/* experimental: http://dev.topleftdesign.com/annesebba/book-reviews-all/page/2/ */

.story div {
    width: 100%;
    margin: 0 16px 16px 0;
}

.story div.avatar {
    width: auto;
}


/* nav */

.nav-next {
    right: 0;
    position: static;
}

.story nav#nav-below div.nav-next a,
.story nav#nav-below div.nav-previous a {
    width: auto;
}

.story nav#nav-below div.nav-next,
.story nav#nav-below div.nav-previous {
    width: 45%;
    display: inline-block;
    margin: 0;
}

.story nav#nav-below div.nav-previous {
    margin-right: 4%;
}


/* NextGen gallery in gallery page */

.slideshowlink {
    display: none;
}

.ngg-basic-thumbnails-carousel img {
    border: 4px solid #fff;
}

.ngg-gallery-thumbnail a {
    pointer-events: none !important;
}

#shShutter,
#shDisplay,
#shWrap {
    display: none;
}

@media only screen and (max-width: 968px) {
    /* Images */
    div.articles .post .entry-content img.alignnone {
        float: none;
        height: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    /* Colgroups */
    .colgroup5 .colB {
        width: 250px;
    }
    .colgroup5 .col {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (max-width: 767px) {
    nav#navbar #nav {
        display: none;
    }
    nav#navbar input#nav-controller[type="checkbox"]:checked~ul#nav {
        display: inline-block;
    }
    .edge {
        float: none;
        margin-top: 0;
    }
    /* Colgroups */
    .colgroup.colgroup5,
    .colgroup5 .col {
        display: block;
        width: auto;
    }
    .colgroup.colgroup5 .col:after {
        content: "";
        display: table;
        clear: both;
    }
    .colgroup.colgroup5 .colB {
        width: auto;
    }
    /* Sidebar */
    #sidebar blockquote {
        margin: 0 0 0.5em;
    }
    #sidebar aside.widget_calendar {
        width: 49%;
        float: left;
    }
    #sidebar aside.widget_text {
        width: 49%;
        float: right;
        vertical-align: top;
    }
    #sidebar aside.widget_categories {
        clear: both;
    }
    #sidebar aside.widget_categories ul li,
    #sidebar aside.widget_archive ul li,
    ul.articles li,
    ul.reviews li {
        display: inline-block;
        width: 48%;
        vertical-align: top;
        margin-right: 1.5%;
    }
    #sidebar aside.widget_categories ul li:first-child,
    #sidebar aside.widget_archive ul li:first-child {
        border-top: 1px solid #ccc;
    }
    #sidebar .nav-next {
        position: static;
    }
    #sidebar #gallery-1 img {
        float: left;
        margin-right: 20px;
    }
    #sidebar .side-br img {
        float: right;
        margin-left: 20px;
    }
    #sidebar .side-br {
        clear: both;
        padding-top: 20px;
    }
    /* Homepage */
    .featured-listing ul#featured-sections.listA li .desc {
        width: 95%;
        display: block;
    }
    .featured-listing ul#featured-sections.listA li a img {
        width: 95%;
        display: block;
        margin-bottom: 25px;
    }
    .featured-listing ul#featured-sections.listA>li a {
        display: block;
    }
    .featured-listing .listA>li {
        width: 32.8%;
    }
    #homepage .colgroup.colgroup6 {
        align-items: center;
        flex-direction: column-reverse;
        justify-content: center;
    }
    #homepage .colgroup.colgroup6 .colA,
    #homepage .colgroup.colgroup6 .colB {
        width: 100%;
    }
}

@media only screen and (max-width: 625px) {
    /* Colgroups */
    .colgroup.colgroup4,
    .colgroup4 .col {
        display: block;
        width: auto;
    }
    .colgroup.colgroup4 .col:after {
        content: "";
        display: table;
        clear: both;
    }
    .colgroup.colgroup4 .colB {
        width: auto;
        margin-top: 25px;
    }
    /* Homepage layout */
    .colgroup.colgroup6,
    .colgroup6 .col {
        display: block;
        width: auto;
        /* */
    }
    .colgroup.colgroup6 .col:after {
        /*content: ""; display: table; clear: both;*/
    }
    .colgroup.colgroup6 .colB {
        /*width: auto; margin-top: 25px; */
    }
    .colgroup6 .colB {
        display: table-header-group;
    }
    .colgroup6 .colA {
        display: table-footer-group;
        vertical-align: top;
    }
    .colgroup6 .colB .home-pic-container {
        border: none;
        overflow: visible;
        position: static;
        display: block;
    }
    .colgroup6 .colB img.home-pic {
        position: static;
        display: block;
        transform: none;
        height: auto;
        width: 100%;
    }
    /*.group.overlap.crossfade {
	min-height: 0;
}*/
    .colgroup6 .colB .boxA#featured-quote .inner {
        min-height: 0;
    }
    /*.colgroup6 .colB #featured-quote blockquote {padding: 0.25em 0 0 42px; margin: 23px 32px 0; position: static; background: transparent url("images/quotes1-before.png") no-repeat scroll 0 0;}*/
    .colgroup6 .colB #featured-quote.boxA .inner {}
    .colgroup6 .colB .boxA .inner {
        margin-bottom: 0;
    }
    /* Gallery */
    #gallery li {
        margin: 10px 10px 0 0;
    }
    #gallery li.active {
        margin: 10px 0;
        height: auto;
        width: 100%;
    }
    .gallery #gallery li.active img.original {
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    /* Homepage */
    .featured-listing ul#featured-sections.listA li .desc {
        width: 60%;
        display: inline-block;
        margin: 0 0 0 5%;
    }
    .featured-listing ul#featured-sections.listA li a img {
        width: 100%;
        display: inline-block;
        margin-bottom: 15px;
    }
    .featured-listing ul#featured-sections.listA>li>a {
        display: inline-block;
        width: 30%;
    }
    .featured-listing .listA>li {
        width: 100%;
    }
    /* gallery in gallery page */
    .ngg-galleryoverview.carousel-view .ngg-gallery-thumbnail img {
        max-width: auto !important;
    }
}

.ngg-gallery-thumbnail a img {
    min-width: 85px;
}

.ngg-gallery-thumbnail {
    margin: 10px 0% 5px;
}

.ngg-gallery-thumbnail a img {
    max-width: 107px !important;
}

.ngg-basic-thumbnails-carousel-list {
    gap: 2%;
}

@media only screen and (max-width: 560px) {
    .ngg-gallery-thumbnail {
        margin: 5px 0% 5px;
    }
    .ngg-basic-thumbnails-carousel-list {
        gap: 3.6%;
    }
}


/* gallery */

@media (min-width: 540px) {
    .ngg-basic-thumbnails-carousel-list {
        max-width: 550px !important;
        min-width: 520px;
    }
}

@media only screen and (max-width: 380px) {
    .ngg-basic-thumbnails-carousel-list {
        justify-content: space-between !important;
    }
    .ngg-gallery-thumbnail a img {
        min-width: 40vw;
        max-width: 41vw !important;
    }
}

@media only screen and (max-width: 420px) {
    .ngg-basic-thumbnails-carousel-list {
        gap: 3.8%;
    }
}

@media only screen and (max-width: 320px) {
    .ngg-gallery-thumbnail a img {
        max-width: 40vw !important;
    }
}

@media only screen and (max-width: 300px) {
    .ngg-gallery-thumbnail a img {
        max-width: 45vw !important;
    }
}

@media only screen and (max-width: 530px) {
    /* Colgroups */
    .colgroup.colgroup5 .colA .story div {
        float: none;
    }
    .colgroup.colgroup5 .colA .story div.comment-respond#respond {
        float: left;
        width: 95%;
    }
    .colgroup.colgroup5 .colA .story .alignleft {
        max-width: 100%;
    }
    /* Social */
    .story #social-buttons .share {
        margin: 0;
    }
    #social-buttons .social-twitter {
        width: 80px;
    }
    /* comments */
    #comments {
        width: 100%;
    }
    #comments #respond {
        padding: 10px;
    }
    #respond input#author,
    #respond input#email,
    #respond input#url,
    #respond input#captcha,
    #respond textarea {
        width: 99%;
    }
    /* Sidebar */
    #sidebar aside.widget_calendar {
        width: 100%;
        display: block;
    }
    #sidebar aside.widget_text {
        width: 100%;
        display: block;
    }
    #sidebar aside.widget_categories ul li:first-child,
    #sidebar aside.widget_archive ul li:first-child {
        border-top: none;
    }
    #sidebar {
        text-align: center;
    }
    #sidebar blockquote {
        text-align: left;
    }
    #sidebar #gallery-1 img {
        float: none;
        margin-right: 10px;
    }
    #sidebar .side-br img {
        float: none;
        margin-left: 10px;
    }
    #sidebar img.quote {
        float: right;
    }
    #sidebar aside.widget_categories ul li,
    #sidebar aside.widget_archive ul li,
    ul.articles li,
    ul.reviews li {
        display: block;
        width: 100%;
    }
    /* experimental */
    .colgroup.colgroup5 .colA .story .avatar img {
        width: auto;
    }
    /*.colgroup6 .colB #featured-quote.boxA .inner, 
	.group.overlap.crossfade {
		height: auto;
		
	}
	.colgroup6 .colB #featured-quote.boxA .inner {
		min-height: auto;
	}*/
    /*.colgroup6 .colB {
		min-height: auto;
	}
	.colgroup6 {
		height: auto;
	}*/
}

@media only screen and (max-width: 445px) {
    /* Social */
    .story #social-buttons {
        overflow: visible;
        height: 52px;
    }
    /* nav */
    .story nav#nav-below div.nav-next,
    .story nav#nav-below div.nav-previous {
        width: 100%;
        display: block;
    }
    .story nav#nav-below div.nav-next a,
    .story nav#nav-below div.nav-previous a {
        text-align: center;
    }
}

#header #tagline {
    display: block;
    float: none;
    text-align: center;
    margin: 10px 15px 30px 15px;
}

#header #logo {
    display: block;
    float: none;
    margin: 0 auto;
}

nav#navbar {
    margin: 0 auto;
    text-align: center;
}

nav #nav {
    /*fix responsive menu after this! */
    float: none;
    display: inline-block;
    height: 34px;
}