.slider_wrapper {
    max-width: 1300px;
    margin: 0 auto;
}
.slider_wrapper > div {
    padding-bottom: 42%;
}

body {
    font-family: Georgia, serif;
}

a {
    text-decoration: none;
    color: #484537;
}
header {
    width: 100%;
    max-width: 1300px;
    height: 140px;
    display: block;
    margin: 0 auto;
    padding: 0;
    background-color: #c9c8a1;
    position: relative;
}
#logo {
    display: inline-block;
    width: 25%;
    height: 100%;
    background-color: #8a916f;
    text-align: center;
}
#logo > a {
    padding: 10px;
}
#logo img {
    width: 100%;
    max-width: 340px;
    height: auto;
}
nav.horizontal-nav {
    width: 75%;
    max-width: 1300px;
    display: inline-block;
    margin: 0;
    padding-top: 50px;
    color: #f6ffd5;
    height: 40px;
}
#main-nav {
    width: 100%;
    text-align: right;
    display: block;
    padding-left: 15px;
    line-height: 40px;
    color: white;
}
#main-nav a {
    color: #484537;
}
#main-nav > li {
    padding: 0 30px 0 0;
}
#main-nav > li > a {
    font-size: 130%;
    text-shadow: 2px 2px 2px rgba(200, 200, 200, 1);
    cursor: pointer;
    transition: color 0.4s ease;
}
#main-nav > li:hover > a {
    color: #8a916f;
    transition: color 0.4s ease;
}
#main-nav > li > ul {
    transition: max-height 0.4s ease-out;
    background-color: #c9c8a1;
    top: 40px;
    padding: 0;
    width: 15em;
}
#main-nav > li:hover > ul {
    transition: max-height 0.4s ease-in;
}
#main-nav > li > ul > li {
    padding: 10px 20px;
    line-height: 150%;
}
#main-nav > li:hover > ul > li:hover {
    background-color: #e9ddaf;
    transition: background-color 0.4s ease;
}
#main-nav > li > ul > li > a {
    font-size: 115%;
    color: #5c5c5c;
}
.rowlist_wrapper[data-id="aboutme"] {
    padding: 30px 40px;
    min-height: 20em;
}
.rowlist_wrapper[data-id="aboutme"] ul > li.gridbox_cat_textcontent {
    background-color: transparent;
}
.rowlist_wrapper[data-id="aboutme"] .item_thumbnail {
    width: 30%;
}
.rowlist_wrapper[data-id="aboutme"] a {
    color: #484537;
}
.rowlist_wrapper[data-id="aboutme"] h3 {
    text-align: center;
    padding-bottom: 1em;
}
.rowlist_wrapper[data-id="aboutme"] .item_lead {
    text-align: justify;
}
.zsgallery_overlay_left {
    color: #edf4cb;
    background-color: rgba(138, 145, 111, 0.6);
}
.zsgallery_overlay_left > span {
    font-size: 180%;
    font-weight: normal;
    text-shadow: 2px 2px 2px rgba(60, 60, 60, 0.76);
    line-height: 120%;
    padding-top: 40px;
}
.zsgallery_overlay_left > div {
    font-size: 100%;
    text-shadow: 2px 2px 2px rgba(60, 60, 60, 0.76);
}
.gridlist_wrapper.news {
    background-color: #c9c8a1;
    color: #504416;
    min-height: 20em;
}
.gridlist_wrapper.reviews {
    background-color: #8a916f;
    color: #f5fed3;
    min-height: 20em;
}

.gridlist_wrapper.reviews h3,
.gridlist_wrapper.news h3 {
    color: #f6ffd5;
    text-align: center;
    width: 100%;
    padding-bottom: 1em;
}
.gridlist_wrapper.news h3,
.gridlist_wrapper.news a {
    color: #504416;
}
.gridlist_wrapper.reviews a {
    color: #f6ffd5;
}
.gridlist_body.reviews {
    padding-top: 20px;
}
.gridlist_wrapper.reviews .contentbox,
.gridlist_wrapper.news .contentbox {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    margin: 10px 60px;
    max-width: 100%;
}
.gridlist_wrapper.reviews .item_body,
.gridlist_wrapper.news .item_body {
    display: block;
    order: 1;
    flex-grow: 1;
    flex-shrink: 1;
    height: 100%;
}
.gridlist_wrapper.news .item_lead {
    padding-left: 20px;
}
.gridlist_wrapper.reviews .contentbox .item_thumbnail {
    background: #e8dcaf;
    background: -moz-linear-gradient(top, #e8dcaf 0%, #8d9470 100%);
    background: -webkit-linear-gradient(top, #e8dcaf 0%, #8d9470 100%);
    background: linear-gradient(to bottom, #e8dcaf 0%, #8d9470 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#e8dcaf",
            endColorstr="#8d9470",
            GradientType=0
        );
    padding: 25px;
    display: block;
    order: 2;
    flex-grow: 1;
    flex-shrink: 0;
}
.mainpage .newsletterform fieldset {
    border: none;
    text-align: center;
}
.mainpage .newsletterform legend {
    font-size: 160%;
    font-weight: bold;
    line-height: 140%;
    padding-top: 20px;
    color: #484537;
}
.mainpage .newsletterform input[type="text"] {
    border: 2px solid #cacaca;
    height: 2em;
}
.mainpage .newsletterform input[type="submit"] {
    font-size: 160%;
    background-color: #c9c8a1;
    color: #504416;
    border: 1px solid #e9ddaf;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
}
.mainpage .newsletterform .wbg_formfield_caption {
    display: none;
}
.wbg_formfield_container[data-input="captcha"] {
    width: 310px;
    margin: 0 auto;
}
.main_bg {
    width: 100%;
    max-width: 1300px;
    display: block;
    margin: 0 auto;
    background-color: #dde9af;
}
.page_category_index.rtecontent {
    background-color: transparent;
    color: white;
    padding: 0;
}
.page_category_books,
.page_category_x {
    background-color: #dde9af;
}
h1.articletitle {
    text-align: center;
    color: #484537;
    padding: 30px 70px 20px 70px;
}
.page_category_books .blog {
    padding: 0 70px 20px 70px;
    line-height: 130%;
    font-size: 110%;
    text-align: justify;
    color: #484537;
}
.imageonly > ul {
    margin: 0;
}
.gridbox_cat_books {
    text-align: center;
}
.gridbox_cat_books .contentbox {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}
.gridbox_cat_books .item_body {
    width: 90%;
    margin: 0 auto;
    background: #e8dcaf;
    background: -moz-linear-gradient(top, #e8dcaf 0%, #8d9470 100%);
    background: -webkit-linear-gradient(top, #e8dcaf 0%, #8d9470 100%);
    background: linear-gradient(to bottom, #e8dcaf 0%, #8d9470 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(
            startColorstr="#e8dcaf",
            endColorstr="#8d9470",
            GradientType=0
        );
    padding: 20px;
}
.gridbox_cat_books .crop {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.gridbox_cat_books .inline {
    float: none;
}
.gridbox_cat_books .image {
    width: auto;
    height: 290px;
    margin: 0 auto;
}
.zsCarousel.gridlist_body.news,
.zsCarousel.gridlist_body.reviews {
    position: relative;
    min-height: 20em;
}
.zsCarousel.gridlist_body.news .pagecarousel_pager {
    position: absolute;
    bottom: 1em;
    right: 1em;
}
.zsCarousel.gridlist_body.news .pagecarousel_pager button {
    border: 2px solid #504416;
}
.pagecarousel_pager button.current {
    background-color: #504416;
}
.zsCarousel.gridlist_body.reviews .pagecarousel_pager {
    position: absolute;
    bottom: 1em;
    left: 1em;
}
.copy {
    display: inline-block;
    margin-right: 1em;
}
#footer-nav {
    display: inline-block;
}
#footer-nav > span {
    border-left: 1px solid #484537;
    padding-left: 1em;
    padding-right: 1em;
}
#cookieWarningContainer {
    background-color: rgba(22, 22, 22, 0.6);
    padding: 8px;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.66);
}
#cookieWarningContainer button {
    background-color: #009fe3;
    border: 1px solid #009fe3;
    color: white;
}
.rte_class_color1,
.rte_class_c1narrow {
    background-color: #eef9fcff;
    color: #165991;
}
.rte_class_color2,
.rte_class_c2narrow {
    background-color: #165991;
    color: white;
}
.page_category_index .gallery_stripe.fullcolumn > div {
    height: 12em;
}
.page_category_index .gallery_stripe.fullcolumn > div .zsgallery_preview_row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}
.page_category_index .gallery_stripe.fullcolumn .zsgallery_thumbnail {
    background-color: transparent;
    box-shadow: initial;
    display: block;
    width: 150px;
    margin: 0 20px;
}

div.gridlist_wrapper[data-id="whyus"] {
    background-color: #eef9fc;
    height: 14em;
}
div.gridlist_wrapper[data-id="whyus"] img {
    width: 80px;
    height: auto;
    padding-top: 1.5em;
}
div.gridlist_wrapper[data-id="whyus"] .gridlist_body,
div.gridlist_wrapper[data-id="whyus"] .gridlist_body > ul {
    height: 100%;
}
div.gridlist_wrapper[data-id="whyus"] .contentbox {
    text-align: center;
    color: #427aa7;
    font-size: 90%;
}
div.gridlist_wrapper[data-id="whyus"] .lead {
    padding-top: 1.5em;
}
.rowlist_body > ul > li {
    background-color: #c9c8a1;
    padding: 20px;
    margin-bottom: 20px;
}
.rowlist_body > ul > li:last-child {
    margin-bottom: 0;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox,
.rowlist_body > ul > li.gridbox_cat_blog .contentbox {
    display: block;
    padding-top: 2.5em;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox h3,
.rowlist_body > ul > li.gridbox_cat_blog .contentbox h3 {
    position: absolute;
    top: 0;
    left: 20px;
    width: 80%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox .datetime,
.rowlist_body > ul > li.gridbox_cat_blog .contentbox .datetime {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    text-align: right;
    color: #484537;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox .item_body,
.rowlist_body > ul > li.gridbox_cat_blog .contentbox .item_body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-grow: initial;
    flex-shrink: initial;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox .item_body .item_thumbnail,
.rowlist_body
    > ul
    > li.gridbox_cat_blog
    .contentbox
    .item_body
    .item_thumbnail {
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-block;
    margin-right: 20px;
}
.rowlist_body > ul > li.gridbox_cat_news .contentbox .item_body .item_lead,
.rowlist_body > ul > li.gridbox_cat_blog .contentbox .item_body .item_lead {
    flex-grow: 1;
    flex-shrink: 1;
    display: inline-block;
    font-size: 120%;
}
.gridbox_cat_blog .image {
    width: 300px;
    height: 240px;
}
footer {
    background-color: #8a916f;
    color: #f6ffd5;
    padding: 20px;
    width: 100%;
    height: auto;
    max-width: 1300px;
    display: block;
    margin: 0 auto;
}
footer a {
    color: #f6ffd5;
}
/* Responsive definitions for landscape view */
@media screen and (min-width: 600px) and (max-width: 1024px) and (hover: none),
    screen and (orientation: landscape) and (max-width: 1024px) and (hover: none) {
    #logo {
        width: 50%;
    }
    .zsgallery_overlay_left {
        width: 50%;
    }
    .rowlist_body > ul > li {
        padding: 0;
    }
    .rowlist_wrapper[data-id="aboutme"] {
        padding: 0;
    }
    .rowlist_wrapper[data-id="aboutme"] .item_thumbnail {
        padding-top: 60px;
    }
    .main_bg {
        padding-top: 10px;
    }
    h1.articletitle {
        padding: 10px 10px;
    }
    .page_category_books .blog {
        padding: 0 10px;
    }
}

@media screen and (orientation: portrait) and (max-width: 599px) {
    #logo {
        width: 100%;
    }
    #logo img {
        width: 80%;
    }
    .slider_wrapper {
        display: none;
    }
    .zsgallery_overlay_button.zsgallery_overlay > button,
    .zsgallery_overlay_button.zsgallery_overlay > button:active,
    .zsgallery_overlay_button.zsgallery_overlay > button:focus {
        width: 25vw;
        height: 7vw;
        font-size: 4vw;
    }
    .rowlist_body > ul > li {
        padding: 0;
    }
    .rowlist_body > ul > li .contentbox {
        display: block;
    }
    .rowlist_wrapper[data-id="aboutme"] {
        padding: 0;
    }
    .rowlist_wrapper[data-id="aboutme"] .item_thumbnail {
        width: 100%;
    }
    .zsgallery_overlay_left {
        display: none;
    }
    .gridlist_wrapper.reviews {
        height: initial;
    }
    .gridlist_wrapper.reviews .contentbox,
    .gridlist_wrapper.news .contentbox {
        display: block;
        padding: 0;
        margin: 0;
    }
    .gridlist_wrapper.reviews .contentbox .item_lead,
    .gridlist_wrapper.news .contentbox .item_lead {
        padding: 0 5px;
    }
    .gridlist_wrapper.reviews .contentbox .item_thumbnail {
        height: 17em;
        flex-grow: initial;
        text-align: center;
    }
    .wbg_form.newsletterform {
        max-width: 100%;
        overflow: hidden;
    }
    .rowlist_body > ul > li.gridbox_cat_news .contentbox,
    .rowlist_body > ul > li.gridbox_cat_blog .contentbox {
        padding: 0;
    }
    .rowlist_body > ul > li.gridbox_cat_news .contentbox h3,
    .rowlist_body > ul > li.gridbox_cat_blog .contentbox h3 {
        position: initial;
        top: 0;
        left: 0;
        white-space: normal;
    }
    .rowlist_body > ul > li.gridbox_cat_news .contentbox .datetime,
    .rowlist_body > ul > li.gridbox_cat_blog .contentbox .datetime {
        position: initial;
        top: 0;
        left: 0;
    }
    .rowlist_body > ul > li.gridbox_cat_news .contentbox .item_body,
    .rowlist_body > ul > li.gridbox_cat_blog .contentbox .item_body {
        padding-top: 10px;
    }
    h1.articletitle {
        padding: 10px 5px;
    }
    .page_category_books .blog {
        padding: 0 5px;
    }
}
