/* Class A */

.class-a h4 {
    font-size: 20px;
    font-weight: 600;
}

.class-a-small h4 {
    font-size: 18px;
    font-weight: 500;
}
.class-a-smaller h4 {
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width:1100px) {
    .class-a h4 {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .class-a-small h4 {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .class-a-smaller h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
}
@media screen and (max-width:1023px) {
    .class-a h4 {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .class-a-small h4 {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .class-a-smaller h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
}
@media screen and (max-width:860px) {
    .class-a h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .class-a-small h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .class-a-smaller h4 {
        font-size: 14px !important;
        font-weight: 500 !important;
    }
}
@media screen and (max-width:600px) {
    .class-a h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .class-a-small h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .class-a-smaller h4 {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

}

/* End Class A */

/* Class B */

.class-b, .class-b-4c, .class-b-wider  {
    display: table;
    width: 100%;
    clear: both;
    margin: 0 auto;
}

.class-b .listing-item {
    width:30%;
    display: inline-block;
    margin: 5px 1.65% 18px 1.65%;
    line-height: 1.4;
    vertical-align: top;
}

@-moz-document url-prefix() {
    .class-b .listing-item {
        margin: 5px 1.5% 17px 1.5%;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .class-b .listing-item {
        margin: 5px 1.5% 17px 1.5%;
    }
}

.class-b-wider .listing-item {
    display: inline-block;
    margin: 5px 3% 17px 0;
    line-height: 1.4;
    width:31.3%;
    vertical-align: top;
}

.class-b-4c .listing-item {
    display: inline-block;
    margin: 5px 3% 17px 0;
    line-height: 1.4;
    width:22%;
    float: left;
    vertical-align: top;
}

.class-b .listing-item img{
    height: 160px;
    width: auto;
    overflow: hidden;
    min-width: 100%;
    min-height: 100%;
}

.class-b .listing-item h4, .class-b-4c .listing-item h4, .class-b-wider .listing-item h4 {
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #444444 !important;
    text-decoration: none;
    padding: 12px 0 5px 0 !important;
    text-align: left;
    display: block !important;
}

.class-b .listing-item h4 a, .class-b-4c .listing-item h4 a, .class-b .listing-item h4 a:visited, .class-b-4c .listing-item h4 a:visited, .class-b-wider .listing-item h4 a:visited {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
}

.class-b .listing-item .meta-container, .class-b-4c .listing-item .meta-container {
    line-height: 26px;
}

.class-b .listing-item h4 a, .class-b-4c .listing-item h4 a, .class-b .listing-item h4 a:visited, .class-b-4c .listing-item h4 a:visited {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
}

@media screen and (max-width:860px) {
    .class-b .listing-item, .class-b-4c .listing-item {
        width: 100%;
        float: none;
        margin: 5px 0 16px 0 !important;
        line-height: 1.4;
    }
}

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

    .class-b .listing-item, .class-b-4c .listing-item {
        width: 100%;
        float: none;
        margin: 5px 3% 16px 0;
        line-height: 1.4;
    }

}

/* End Class B */

/* Class C */

.class-c h4 {
    font-size: 20px;
    font-weight: 600;
}

.class-c-small h4 {
    font-size: 18px;
    font-weight: 500;
}
.class-c-smaller h4 {
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width:1100px) {
    .class-c h4 {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .class-c-small h4 {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .class-c-smaller h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
}

@media screen and (max-width:1023px) {
    .class-c h4 {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .class-c-small h4 {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .class-c-smaller h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
}

@media screen and (max-width:860px) {
    .class-c h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .class-c-small h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .class-c-smaller h4 {
        font-size: 14px !important;
        font-weight: 500 !important;
    }
}

@media screen and (max-width:600px) {
    .class-c h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .class-c-small h4 {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .class-c-smaller h4 {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

}

/* End Class C*/

/* Class D */

/* End Class D*/


/* Deborah's display-posts styles */

/* Waterfall posts */
/*
.waterfalls .display-posts-listing {
    display: inline-block;
    width: 100%;
}


.waterfalls .listing-item:nth-child(3n+3) {
    margin-right: 0;
}

/* Top 10 Lists + Photo Journal Featured Photos */
/*
.waterfalls .listing-item {
    width: 31.3%;
    float: left;
    margin: 5px 3% 15px 0;
    line-height: 1.4;
}

.waterfalls .listing-item a.image {
    display: block;
    height: 160px;
    overflow: hidden;
}

.waterfalls .listing-item img {
    min-height: 100%;
    min-width: 100%;
}

.waterfalls .listing-item a.title {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: inline-block !important;
    padding: 12px 0 !important;
    text-align: left;
}

.waterfalls ul.display-posts-listing {
    font-size: 16px;
    font-weight: normal;
    margin: 10px 30px 30px;
}

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

    .waterfalls .display-posts-listing .listing-item {
        width: 100%;
        float: none;
        margin: 5px 3% 15px 0;
        line-height: 1.4;
    }

}

/* End Deborah's display-posts styles */

/* Johnny's display-posts styles */
.display-posts-listing .listing-item {
    clear: both;
    list-style-type: none;
    margin-top: 22px;
    margin-bottom: 22px;
    padding: 5px; 
}

.display-posts-listing img {
    object-fit: cover;
    float: left;
    display: block;
    margin: 0 10px 10px 0;
    width: 160px;
    height: 160px;
    margin-bottom: 22px;
}

.display-posts-listing .title {
    display: block;
    font-size:18px;
    font-weight: bold;
    text-decoration: none;
}

.display-posts-listing span.date,
.display-posts-listing span.author {
    text-decoration: none;
    font-style: italic;
}

#latest-posts-sidebar-acf a.title,
#latest-posts-sidebar-acf a.title:visited, 
#trip-report-related-itinerary-acf a.title,
#trip-report-related-itinerary-acf a.title:visited {
    display: block;
    color: inherit;
    font-size:13px;
    font-family: inherit;
    text-decoration: none;
}

#latest-posts-sidebar-acf span.date,
#latest-posts-sidebar-acf span.author {
    color: inherit;
    font-size:12px;
    font-family: inherit;
    text-decoration: inherit;
}

#latest-posts-sidebar-acf span.excerpt {
    display:block;
    color: inherit;
    font-size:11px;
    font-family: inherit;
    text-decoration: inherit;
    line-height: 1.5em;
}

