/* * * * * * * * * * * * * * * * * * * * * * * * *
 * AUTHOR: Nicholas Raia - Raia Designs Inc.     *
 * WEBSITE: http://raiadesigns.com               *
 * DATE: 5/25/16                                 *
 * * * * * * * * * * * * * * * * * * * * * * * * */

/*HIDE ADMIN BAR FOR TESTING*/
/*body.admin-bar #wpadminbar {
    display: none;
}
body.admin-bar {
    margin-top: -32px;
}*/

/**************************************************
                      GENERAL
***************************************************/
html, body {
    overflow-x: hidden;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Didot', serif;
}
p, li {
    font-family: 'Open Sans', sans-serif;
}
body .main-content {
    min-height: calc(100vh - 50px - 90px);
}
body .main-content > .container {
    width: auto !important;
    padding: 30px 15px 0;
    margin-right: auto;
    margin-left: auto;
}
body .main-content .main-content-inner {
    padding-bottom: 0;
}
body .main-content-inner > .row {
    padding: 30px 0 15px;
}
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
    outline: none;
    font-weight: bold;
    color: #404041;
}
a:hover {
    color: #de1339;
}
a.book-link {
    font-style: italic;
}
.page-header, .section-header {
    font-size: 3.235em;
}
.header-line {
    font-weight: 400;
    text-align: center;
}
.header-line::before {
    content: "";
    border-top: 1px solid #ccc;
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 0;
}
.header-line .text-container {
    background-color: #fff;
    padding: 0 15px;
    position: relative;
}
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
#back-to-top:hover {
    background: #e9ebec;
}
#back-to-top.show {
    opacity: 1;
}

.container-small {
    max-width: 890px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/*BUTTONS*/
.icon-btn {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
    border-radius: 0;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.icon-btn:hover {
    color: #404041 !important;
    border: 1px solid #404041;
    background-color: #fff;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.icon-btn i {
    margin-right: 5px;
}
.icon-btn.on-right {
    float: right;
    clear: both;
}
.icon-btn.social-btn {
    padding: 8.5px 9.5px;
    font-size: 14px;
}
.icon-btn.social-btn i {
    margin: 0;
}
.icon-btn i.faux-icon {
    font-style: normal;
    font-weight: bold;
    letter-spacing: 1px;
}
.icon-btn-container {
    overflow: auto;
}

#ic_signupform .elcontainer .submit-container input[type="submit"],
.btn-large {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.5rem;
}

/*FILTER & SORT BUTTONS*/
.filter-btns, .sort-btns {
    margin-bottom: 15px;
}
.sort-btns {
    position: absolute;
    top: 0;
    right: 10px;
}
.filter-btns ul, .sort-btns ul {
    padding: 0;
    list-style: none;
}
.filter-btns ul li, .sort-btns ul li {
    display: inline-block;
    margin-right: 5px;
}

.filter-btns ul li button, .sort-btns ul li button,
.filter-btns ul li a, .sort-btns ul li a {
    color: #404041 !important;
    background-color: #fff;
    border: 1px solid #404041;
    padding: 10px 16px 8px 16px;
}

.filter-btns ul li button:hover, .filter-btns ul li button.active, .sort-btns ul li button:hover, .sort-btns ul li button.active,
.filter-btns ul li a:hover, .filter-btns ul li a.active, .sort-btns ul li a:hover, .sort-btns ul li a.active {
    color: #fff !important;
    background-color: #de1339;
    border: 1px solid #de1339;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.sort-btns ul li a i {
    margin-left: 5px;
    margin-right: 0;
}
.sort-btns ul li a.up i {
    transform: rotate(180deg);
}

/**************************************************
                      NAVIGATION
***************************************************/

/* MAIN HEADER NAVIGATION */
.rd-navbar-main {
    height: 50px;
    margin-bottom: 0;
    background-color: #404041;
    border: none;
    border-radius: 0;
    z-index: 10;
}
.rd-navbar-main > .container {
    padding: 0;
}
.rd-navbar-main .rd-navbar-brand, .rd-navbar-main .rd-navbar-brand:hover, .rd-navbar-main .rd-navbar-brand:active, .rd-navbar-main .rd-navbar-brand:focus {
    display: inline-block;
    float: left;
    height: 50px;
    padding: 14px 15px;
    font-family: 'Didot', serif;
    font-size: 22px;
    font-weight: 400;
    font-style: normal;
    line-height: 22px;
    text-decoration: none;
    color: #fff;
}
.rd-nav-main {
    float: right;
}
.rd-nav-main > li {
    display: inline-block;
    float: none;
}
.rd-nav-main > li > a, .rd-nav-main > li > a:hover, .rd-nav-main > li > a:focus, .rd-nav-main > li > a:active, .rd-nav-main > li > a:visited {
    padding: 13px 6px;
    line-height: 20px;
    font-style: normal;
    font-weight: 300;
    text-decoration: none;
    color: #fff !important;
    font-family: 'Blair Std Light', sans-serif;
    text-transform: lowercase;
    font-size: 12px;
    transform: scaleY(1.5);
}
.rd-navbar-main .rd-navbar-main-inner {
    overflow: hidden;
    text-align: center;
}
.rd-navbar-main .rd-nav-main {
    display: inline-block;
}
.rd-nav-main > li > a,
.rd-nav-main > li > a:hover,
.rd-nav-main > li > a:focus,
.rd-nav-main > li > a:active,
.rd-nav-main > li > a:visited {
    padding: 12px 6px 6px 6px;
}

/* MAIN MOBILE NAVIGATION */
.rd-navbar-mobile {
    background-color: #404041;
    border-color: #404041;
    color: #fff;
    margin-bottom: 0;
}
.rd-navbar-mobile .navbar-brand, .rd-navbar-mobile .navbar-brand:hover, .rd-navbar-mobile .navbar-brand:focus {
    font-family: 'Didot', serif;
}
.rd-navbar-mobile .navbar-nav > li > a, .rd-navbar-mobile .navbar-nav > li > a:hover, .rd-navbar-mobile .navbar-nav > li > a:focus {
    font-family: 'Blair Std Light', sans-serif;
    text-transform: lowercase;
    transform: scaleY(1.5);
    font-size: 12px;
    color: #fff;
    font-weight: normal;
}
.rd-navbar-mobile .navbar-brand, .rd-navbar-mobile .navbar-brand:hover, .rd-navbar-mobile .navbar-brand:focus {
    color: #fff;
    padding: 14px 10px;
    font-size: 22px;
    line-height: 22px;
    font-weight: normal;
}
.rd-navbar-mobile .navbar-toggle {
    border-color: #fff;
}
.rd-navbar-mobile .navbar-toggle:focus, .rd-navbar-mobile .navbar-toggle:hover {
    background-color: #404041;
}
.rd-navbar-mobile .navbar-toggle .icon-bar {
    background-color: #fff;
}
.rd-navbar-mobile .navbar-collapse {
    border-color: #404041;
    border-top: none;
}

/*FOOTER NAVIGATION*/
.site-footer {
    background-color: #404041;
    height: 50px;
    overflow: hidden;
}
.site-footer > .container {
    padding: 0;
}
.site-footer .site-footer-inner {
    text-align: center;
}
.site-footer .site-footer-inner .navbar-nav:first-child li a {
    font-weight: normal !important;
    padding: 15px 5px;
    background-color: transparent !important;
    color: #fff !important;
}
.site-footer .site-footer-inner .navbar-nav:first-child li:first-child a {
    padding-left: 0;
}
.site-footer .site-footer-inner .navbar-nav:first-child > li {
    color: #fff;
    line-height: 50px;
}
.site-footer .site-footer-inner .navbar-nav.footer-right {
    float: right;
    display: inline-block;
}

.search-icon {
    border: none;
    padding: 14px;
    line-height: 1;
}

.search-icon,
.site-footer .site-footer-inner .navbar-nav.footer-right li a {
    color: #fff;
    background-color: transparent;
    font-size: 20px;
}
.site-footer .site-footer-inner .navbar-nav.footer-right li:last-child a {
    padding-top: 14px;
    padding-left: 7px;
    padding-right: 0;
}
.site-footer .site-footer-inner .navbar-nav.footer-right li:last-child a img {
    width: 20px;
    height: 20px;
}
.sub-footer {
    height: 40px;
    padding: 0;
    overflow: hidden;
    background-color: #2d2d2d;
}
.sub-footer .col-sm-12 {
    padding: 0;
}
.sub-footer p {
    color: #fff;
    font-size: 14px;
    margin: 0;
    display: inline-block;
}
.sub-footer p.rd_gdm {
    float: right;
}
.sub-footer p.rd_gdm img {
    width: 200px;
    height: 40px;
}
.sub-footer p.rd_copyright {
    float: left;
    padding: 10px 0;
}
.sub-footer p.rd_copyright a {
    color: #fff;
    font-weight: normal;
}

/**************************************************
                      HOME
***************************************************/

/*HOME PAGE*/
body.page-template-home .main-content > .container:first-of-type, body.page-template-home .main-content-inner > .row:first-of-type {
    padding-top: 0;
}
body.page-template-home .rd-navbar-main .rd-navbar-brand, body.page-template-home .rd-navbar-main .rd-navbar-brand:hover, body.page-template-home .rd-navbar-main .rd-navbar-brand:active, body.page-template-home .rd-navbar-main .rd-navbar-brand:focus {
    color: #fff;
}

/*FULLSCREEN BANNER*/
.fullscreen-banner {
    position: relative;
    padding-top: 50px !important;
    padding-bottom: 40px !important;
    /*background-image: url('http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/banner/demille_homepage_1920x1080.jpg');*/
    background-image: url('http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/banner/58095-cuban-affair-banners-1920x1080.jpg');
    /*background-color: #222222;*/
    background-color: #009b93;
    /*background-position: left center;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.fullscreen-banner .banner-content {
    display: none !important;

    display: inline-block;
    float: right;
    padding: 100px 105px 10px 10px;
}
.fullscreen-banner .banner-content .img-author > img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    padding-bottom: 20px;
}
.fullscreen-banner .banner-content .img-bestselling > img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}
.fullscreen-banner .scroll-btn {
    position: absolute;
    width: 100%;
    bottom: 70px;
    text-align: center;
}
.fullscreen-banner .scroll-btn > a {
    height: 75px;
    width: 75px;
    line-height: 75px;
    border: 2px solid white;
    color: #fff !important;
    border-radius: 100% !important;
    padding: 0;
    font-size: 45px;
    text-align: center;
    display: inline-block;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.fullscreen-banner .scroll-btn > a:hover {
    color: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

/*NEWSLETTER CTA*/
.newsletter-cta {
    background-color: #404041;
    text-align: center;
    padding: 0 !important;
    height: 63px;
    position: relative;
    top: -50px;
}
.newsletter-cta ul {
    height: 30px;
    margin-top: 10px;
    padding-left: 0;
    text-align: center;
}
.newsletter-cta ul li {
    display: inline-block;
    height: 30px;
}
.newsletter-cta ul li:nth-child(1) {
    display: inline-block;
    width: 25%;
    height: 30px;
    font-size: 20px;
    font-family: 'Didot', serif;
    color: #fff;
    text-align: right;
    padding-right: 10px;
    position: relative;
}
.newsletter-cta ul li:nth-child(2) {
    display: inline-block;
    width: 50%;
    height: 30px;
    text-align: center;
}
.newsletter-cta ul li:nth-child(3) {
    display: inline-block;
    width: 25%;
    height: 30px;
    text-align: left;
}
.newsletter-cta ul li a {
    display: inline-block;
    height: 30px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: normal !important;
    font-family: 'Open Sans', sans-serif;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    border: 1px solid transparent;
    line-height: 30px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.newsletter-cta ul li a:hover {
    background-color: transparent !important;
    border-color: #fff;
}
.newsletter-cta ul li .form-status-message {
    position: absolute;
    margin-left: 30px;
    color: #fff;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    line-height: 30px;
    height: 30px;
    display: inline-block;
}
.newsletter-cta .rd-btn-toggle {
    width: 180px !important;
    position: absolute;
    top: -1px;
    right: 5px;
}
.newsletter-cta .rd-btn-toggle > div {
    display: inline-block;
    padding: 0;
    line-height: 30px;
    text-align: center;
    height: 30px;
    width: 90px !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal !important;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    user-select: none;
    opacity: .5;
}
.newsletter-cta .rd-btn-toggle > div.active {
    color: #404041 !important;
    background-color: #fff;
    opacity: 1;
}
.newsletter-cta #ic_signupform {
    display: inline-block;
    width: calc(100% - 5px);
}
.newsletter-cta #ic_signupform input[type="text"] {
    width: 100%;
    height: 30px;
    padding: 0 8px;
    margin-right: 0;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid transparent;
    outline: none;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.row.home-newletter-signup {
    background-color: #404041;
    padding: 10px 0 !important;
    height: 65px;
}

.home-newletter-signup .form-content {
    max-width: 1270px;
    margin: 0 auto;
}
.home-newletter-signup .form-content #ic_signupform input[type="text"]:focus {
    background-color: transparent  !important;
    border-color: #fff !important;
}
.home-newletter-signup .form-content #ic_signupform input[type="text"]::-webkit-input-placeholder {
    color: #fff !important;
}
.home-newletter-signup .form-content #ic_signupform input[type="text"]:-ms-input-placeholder {
    color: #fff !important;
}
.home-newletter-signup .form-content #ic_signupform input[type="text"]::-moz-placeholder {
    color: #fff !important;
    opacity: 1 !important;
}
.home-newletter-signup .form-content #ic_signupform .elcontainer {
    background: transparent !important;
    border: 1px none #fff !important;
    text-align: left !important;
    padding: 0 !important;
}
.home-newletter-signup .form-content #ic_signupform .elcontainer .formEl.fieldtype-input input[type="text"], 
.home-newletter-signup .form-content #ic_signupform .elcontainer .formEl.fieldtype-dropdown select {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}

.home-newletter-signup .form-content #ic_signupform .elcontainer {
    max-width: 1010px;
}
.home-newletter-signup .form-content #ic_signupform .elcontainer .submit-container {
    float: left;
    padding: 0 !important
}

.home-newletter-signup .form-content #ic_signupform .elcontainer .submit-container input[type="submit"] {
    margin-top: 7px;
    height: 30px;
    padding: 0 10px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    font-family: 'Open Sans', sans-serif !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    line-height: 30px !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.home-newletter-signup .form-content #ic_signupform .elcontainer .submit-container input[type="submit"]:hover {
    background-color: transparent !important;
    border-color: #fff !important;
}
.form-content p {
    color: #fff;
    font-size: 20px;
    margin-top: 10px;
    text-align: right;
    font-family: 'Didot', serif;
    margin-right: -15px;
}
.newsletter-cta ul li div {
    display: inline-block;
    height: 30px;
    width: 100%;
}
.home-newletter-signup .form-content  #ic_signupform .fieldtype-input {
    width: 25% !important;
    float: left !important;    
}
/*.home-newletter-signup .form-content  #ic_signupform .fieldtype-input {
    width: calc((100% / 3) - 5px) !important;
    margin-right: 5px;
}*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .newsletter-cta #ic_signupform .fieldtype-input {
        width: calc((100% / 3) - 10px) !important;
        margin-right: 5px;
    }
}
.newsletter-cta #ic_signupform .fieldtype-input:last-of-type {
    width: calc(100% / 3) !important;
}
.newsletter-cta #ic_signupform .form-header, .newsletter-cta #ic_signupform label, .newsletter-cta #ic_signupform input[type="submit"], .newsletter-cta #ic_signupform .submit-container, .newsletter-cta #ic_signupform .hidden-container {
    display: none;
}

/*BOOK SHOWCASE*/
.books-showcase .section-header {
    text-align: center;
}
.books .book-item {
    padding: 45px 0;
    z-index: 100;
    -webkit-transition: z-index 0s 0.3s;
    transition: z-index 0s 0.3s;
}
.books .book-item .look-inside {
    position: relative;
    top: -2px;
    left: 87px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.books .book-item .look-inside > span:nth-child(1) {
    color: #de1339;
}
.books .book-item .look-inside > span:nth-child(2) {
    color: #de1339;
    margin-right: 5px;
}
.books .book-item .display {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-perspective: 1800px;
    perspective: 1800px;
}
.books .book-item .display .book {
    position: relative;
    margin: 0 auto;
    width: 215px;
    height: 327px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.3s 0.3s, box-shadow 0.3s ease-in-out;
    transition: transform 0.5s, opacity 0.3s 0.3s, box-shadow 0.3s ease-in-out;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
}
.books .book-item .display .book .jacket {
    z-index: 10;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.books .book-item .jacket .spine {
    position: absolute;
    left: 0;
    z-index: 10;
    width: 40px;
    height: 100%;
    content: '';
    -webkit-transform: translateX(-100%) rotateY(-90deg);
    transform: translateX(-100%) rotateY(-90deg);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: visibility 0s 0.5s;
    transition: visibility 0s 0.5s;
    background: #ffffff;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.books .book-item .jacket .front {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #ffffff;
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.1) 0%, rgba(211, 211, 211, 0.1) 5%, rgba(255, 255, 255, 0.15) 5%, rgba(255, 255, 255, 0.1) 9%, rgba(0, 0, 0, 0.01) 100%), #ffffff;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(211, 211, 211, 0.1) 5%, rgba(255, 255, 255, 0.15) 5%, rgba(255, 255, 255, 0.1) 9%, rgba(0, 0, 0, 0.01) 100%), #ffffff;
}
.books .book-item .title {
    display: none;
    position: relative;
    top: 100%;
    padding: 0 2em;
    text-align: center;
}
.books .book-item .title h2 {
    margin: 1em 0 0 0;
    font-weight: 300;
    font-size: 1.8em;
}
.books .book-item .title .text-container::before {
    content: "";
    border-top: 1px solid #ccc;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    margin-right: 10px;
}
.books .book-item .title .text-container::after {
    content: "";
    border-top: 1px solid #ccc;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    margin-left: 10px;
}
.books .book-item .details {
    position: absolute;
    top: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}
.books .book-item .details ul {
    margin: 0;
    list-style: none;
    text-align: left;
    padding: 75px 15px 0 86px;
}
.books .book-item .details ul li {
    margin: 0;
    font-weight: 300;
    visibility: visible;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transform: translateX(30%);
    transform: translateX(30%);
}
.books .book-item .details ul li:first-child {
    max-height: 246px;
    overflow: auto;
    margin-bottom: 20px;
}
.books .book-item .details ul li:nth-child(2) a {
    padding: 8px 14px 6px 14px;
    font-size: 10px;
}
.books .book-item .details ul li:nth-child(2) a:first-child {
    margin-right: 6px;
}
.books .book-item .buttons {
    margin-top: 10px;
    text-align: center;
}
.books .book-item .buttons a {
    display: inline-block;
    padding: 0 5px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
.books .book-item .buttons a:hover {
    color: #de1339;
}
.books .book-item .buttons a:first-of-type {
    border-right: 1px solid rgba(100, 105, 106, 0.3);
    padding-right: 9px;
}
.books .book-item .pre-order {
    padding-top: 10px;
    text-align: center;
}

/*HOVER BOOK*/
.books .book-item:hover .display .book {
    -webkit-transform: translateX(-3px) rotateY(10deg);
    transform: translateX(-3px) rotateY(10deg);
    box-shadow: 9px 9px 30px rgba(0, 0, 0, 0.3);
}

/*OPEN BOOK*/
.books .book-item.active {
    z-index: 101;
    -webkit-transition: none;
    transition: none;
    background-color: #eee;
}
.books .book-item.active .display .book {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translateX(-30px) rotateY(90deg);
    transform: translateX(-30px) rotateY(90deg);
    box-shadow: none;
}
.books .book-item.active .details {
    visibility: hidden;
    opacity: 1;
    z-index: 10;
    -webkit-transition: opacity 0.5s, visibility 0s;
    transition: opacity 0.5s, visibility 0s;
}
.books .book-item.active .details ul li {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.books .book-item.active .look-inside, .books .book-item.active .buttons {
    visibility: hidden;
}

/* NO PRESERVE-3D BOOK */
.no-preserve3d .books .book-item .display {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.no-preserve3d .books .book-item .display .book {
    -webkit-transform-style: initial;
    transform-style: initial;
    -webkit-transition: none;
    transition: none;
    box-shadow: none !important;
}
.no-preserve3d .books .book-item:hover .display .book {
    -webkit-transform: none;
    transform: none;
}
.no-preserve3d .books .book-item .details {
    display: none;
    -webkit-transition: none;
    transition: none;
}
.no-preserve3d .books .book-item.active .details {
    -webkit-transition: none;
    transition: none;
}
.no-preserve3d .books .book-item.active {
    background-color: #fff;
}
.no-preserve3d .books .book-item.active .display .book {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
    transform: none;

    /*display: none;*/
}
.no-preserve3d .books .book-item .look-inside {
    display: none;
}

.book-cover-column {
  margin-bottom: 2rem;
}

.book-cover-column img {
    max-width: 100%;
    height: auto;
    width: 400px;
}

/*NEWS & CALENDAR*/
.page-template-home .news-calendar {
    box-shadow: inset 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}
.page-template-home .news .header-line, .calendar .header-line {
    position: relative;
}
.page-template-home .news .header-line .text-container, .calendar .header-line .text-container {
    background-color: #f5f5f5;
}
.page-template-home .calendar .event-list {
    min-height: 375px;
}

/*NEWS*/
.page-template-home .news {
    border-right: 1px solid #ccc;
}
.page-template-home .news .news-list .news-list-item {
    margin-top: 25px;
}
.page-template-home .news .news-list .news-list-item .news-title {
    font-size: 18px;
    margin: 0 0 5px;
    font-family: 'Roboto', sans-serif;
}
.page-template-home .news .news-list .news-list-item .news-title a {
}
.page-template-home .news .news-list .news-list-item i {
    margin-right: 5px;
}
.page-template-home .news .news-list .news-list-item .news-date {
    margin: 0 10px 0 0;
    display: inline-block;
}
.page-template-home .news .news-list .news-list-item .news-source {
    margin: 0;
    display: inline-block;
    font-style: italic;
}
.page-template-home .news .news-list .news-list-item .news-source a {
    font-weight: normal;
}
.page-template-home .news .header-line::before {
    width: 100%;
    left: 0;
    right: 0;
}

/*CALENDAR*/
.page-template-home .calendar .header-line::before {
    width: 100%;
    left: 0;
    right: 0;
}
.page-template-home .calendar .event-list .event-list-item {
    margin-top: 25px;
}
.page-template-home .calendar .event-list .event-list-item .event-date {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    background-color: #de1339;
    color: #fff;
    padding: 8px 0;
    width: 55px;
    height: 55px;
}
.page-template-home .calendar .event-list .event-list-item .event-date > span:nth-child(1) {
    display: block;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}
.page-template-home .calendar .event-list .event-list-item .event-date > span:nth-child(2) {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-align: center;
}
.page-template-home .calendar .event-list .event-list-item .event-details {
    display: inline-block;
    width: calc(100% - 70px);
}
.page-template-home .calendar .event-list .event-list-item .event-details .event-title {
    font-size: 18px;
    margin: 0 0 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}
.page-template-home .calendar .event-list .event-list-item .event-details .event-date-time {
    padding-left: 3px;
    margin-bottom: 0;
}
.page-template-home .calendar .event-list .event-list-item .event-details .event-date-time > span {
    margin-right: 10px;
}
.page-template-home .calendar .event-list .event-list-item .event-details .event-date-time > span > i {
    margin-right: 5px;
}
.page-template-home .calendar .no-events-notice {
    font-size: 18px;
    margin: 23px 0 5px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #404041;
}

/**************************************************
                      ABOUT
***************************************************/
.page-template-about .page-header {
    margin: 40px 0 40px;
    border-bottom: 1px solid #eee;
}
.page-template-about .about-banner {
    position: relative;
    margin-top: -30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page-template-about .about-banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}
.page-template-about .bio .icon-btn {
    margin-top: 15px;
}
.page-template-about .nelson-by-the-numbers .chart-list {
    text-align: center;
    padding-left: 0;
}
.page-template-about .nelson-by-the-numbers .chart-list .chart {
    display: inline-block;
    width: 300px;
    height: auto;
    margin: 0 0 0 0;
    vertical-align: top;
    position: relative;
}
.page-template-about .nelson-by-the-numbers .chart-list .chart:nth-child(1) span:first-of-type, .page-template-about .nelson-by-the-numbers .chart-list .chart:nth-child(2) span:first-of-type {
    line-height: 108px;
}.page-template-about .nelson-by-the-numbers .chart-list .chart:nth-child(3) span:first-of-type {
     line-height: 124px;
 }
.page-template-about .nelson-by-the-numbers .chart-list .chart span:first-of-type {
    display: block;
    font-size: 38px;
    text-transform: uppercase;
    font-weight: 300 !important;
    background-color: #de1339;
    color: #fff;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    font-family: 'Didot', serif;
}
.page-template-about .nelson-by-the-numbers .chart-list .chart span:last-of-type {
    display: block;
    margin-top: 25px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 18px;
}
.page-template-about .nelson-by-the-numbers .chart-list .chart canvas {
    display: none;
}
.page-template-about .nelson-did-you-know .page-header {
    margin-bottom: 20px;
}
.page-template-about .nelson-did-you-know p span {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #de1339;
}

/* DEVELOPMENT SITE ONLY */
.page-template-about .nelson-giving .page-header {
    margin-bottom: 20px;
}
.page-template-about .nelson-giving .featured-charity > a > div > img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.page-template-about .nelson-giving .featured-charity > a > div > h4 {
    margin-bottom: 0;
    text-align: center;
}
.page-template-about .nelson-giving .all-charities li a {
    font-weight: normal;
}

/* END OF DEVELOPMENT SITE ONLY */

/**************************************************
                      BOOKS
***************************************************/
.page-template-books .toggle-country {
    position: absolute;
    right: 15px;
    bottom: 36px;
}
.page-template-books .toggle-country a {
    font-weight: normal;
}
.page-template-books .toggle-country a:first-child {
    border-right: 1px solid rgba(100, 105, 106, 0.3);
    padding-right: 7px;
    margin-right: 6px;
}
.page-template-books .toggle-country a.active {
    font-weight: bold;
}
.book-gallery .book-gallery-item {
    padding: 45px 0;
    height: 460px;
    z-index: 100;
    -webkit-transition: z-index 0s 0.3s;
    transition: z-index 0s 0.3s;
}
.book-gallery .book-gallery-item::before {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    background: #eee;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
    transition: opacity 0.3s, visibility 0s 0.3s;
}
.book-gallery .book-gallery-item .attributes {
    display: none;
}
.book-gallery .book-gallery-item .display {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-perspective: 1800px;
    perspective: 1800px;
}
.book-gallery .book-gallery-item .display .book {
    position: relative;
    margin: 0 auto;
    width: 215px;
    height: 327px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}
.book-gallery .book-gallery-item .display .book .jacket {
    z-index: 10;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.book-gallery .book-gallery-item .jacket .front {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-position: center center;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background: url('http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/books/blank/cover.png');
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.1) 0%, rgba(211, 211, 211, 0.1) 5%, rgba(255, 255, 255, 0.15) 5%, rgba(255, 255, 255, 0.1) 9%, rgba(0, 0, 0, 0.01) 100%), url('http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/books/blank/cover.png'), #ffffff;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(211, 211, 211, 0.1) 5%, rgba(255, 255, 255, 0.15) 5%, rgba(255, 255, 255, 0.1) 9%, rgba(0, 0, 0, 0.01) 100%), url('http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/books/blank/cover.png'), #ffffff;
}
.book-gallery .book-gallery-item.filter-nyt-number-1 .jacket .front:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/misc/number-1-overlay.png");
    background-size: cover;
}
.book-gallery .book-gallery-item .buttons {
    margin-top: 10px;
    text-align: center;
}
.book-gallery .book-gallery-item .buttons a {
    display: inline-block;
    padding: 0 5px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
.book-gallery .book-gallery-item .buttons a:hover {
    color: #de1339;
}
.book-gallery .book-gallery-item .buttons a:first-of-type {
    border-right: 1px solid rgba(100, 105, 106, 0.3);
    padding-right: 9px;
}
.attribute-icons {
    padding: 2px 88px 0 0;
    margin-bottom: -10px;
    text-align: right;
}
.attribute-icons > div {
    display: inline-block;
    margin-right: 10px;
    position: relative;
}
.attribute-icons > div:last-of-type {
    margin-right: 0;
}
.attribute-icons span {
    visibility: hidden;
    width: 120px;
    background-color: #404041;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 25px;
}
.attribute-icons > div:hover span {
    visibility: visible;
}
.attribute-icons > div:hover span::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    background-color: #404041;
    top: 10px;
    left: -4px;
    z-index: -1;
    transform: rotate(45deg);
}
.attribute-icons span {
    left: auto;
    right: 25px;
}
.attribute-icons > div:hover span::before {
    left: auto;
    right: -4px;
}
.page-template-books ul.filter-sub-btns {
    position: absolute;
    z-index: 1000;
    width: 100%;
    left: 0;
    padding: 1rem 15px;
}

.page-template-books .filter-parent-btn.show + ul.filter-sub-btns {
    background: #FFFFFF;
}

.page-template-books .filter-btns > ul > li > ul.filter-sub-btns > li {
    display: none;
}
.page-template-books .filter-btns > ul > li > button.filter-parent-btn.show + ul.filter-sub-btns > li,
.page-template-books .filter-btns > ul > li > a.filter-parent-btn.show + ul.filter-sub-btns > li {
    display: inline-block;
}
.page-template-books .filter-btns > ul > li > ul.filter-sub-btns > li > button,
.page-template-books .filter-btns > ul > li > ul.filter-sub-btns > li > a {
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
}
.page-template-books .printable-list-btn {
    position: relative;
    top: -6px;
}

/**************************************************
                  INDIVIDUAL BOOK PAGE
***************************************************/
.single-_rd-books .book-info {
    margin-top: 50px;
    margin-bottom: 0;
}
.single-_rd-books .book-header {
    margin: 0 0 20px 0;
}
.single-_rd-books .book-header > .book-title {
    font-size: 3.235em;
    margin: 0;
    border-bottom: 1px solid #eee;
}
.single-_rd-books .book-header > .book-date, .single-_rd-books .book-header > .book-series-information {
    margin: 5px 0 0 4px;
    font-style: italic;
    font-size: 12px;
    display: inline-block;
}
.single-_rd-books .book-header > .book-series-information {
    float: right;
    clear: both;
    text-align: right;
}
.single-_rd-books .book-header > .book-series-information .prequel-sequel-links {
    display: block;
    text-align: right;
}
.single-_rd-books .book-header > .book-series-information .prequel-sequel-links i.fa-caret-left {
    margin-right: 3px;
}
.single-_rd-books .book-header > .book-series-information .prequel-sequel-links i.fa-caret-right {
    margin-left: 5px;
}
.single-_rd-books .book-details {
    margin-left: 0;
}
.single-_rd-books .book-details .book-description {
    padding-bottom: 5px;
}
.single-_rd-books .book-details .book-attribute-links {
    border-top: 1px solid #eee;
    padding-top: 5px;
}
.single-_rd-books .book-details .book-attribute-links .book-excerpt-link {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.book-chapter-links {
    display: flex;
    flex-direction: column;
}

.book-chapter-links .btn {
    margin: 0.5rem;
}

.single-_rd-books .book-details .book-attribute-links .attribute-icons {
    display: inline-block;
    padding: 0 !important;
    float: right;
    clear: both;
}
.single-_rd-books .book-buy-links {
    background-color: #f5f5f5;
    padding: 20px 25px 5px 25px;
    margin-top: 25px;
}
.single-_rd-books .book-buy-links h1 {
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
}
.single-_rd-books .book-buy-links .book-format-container .book-format {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.single-_rd-books .book-buy-links .book-format-container {
    display: inline-block;
    width: calc((100% / 3) - 10px);

    /*width: 100%;*/
    vertical-align: top;
    margin-bottom: 10px;
}
.single-_rd-books .book-buy-links .book-format-container ul {
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}
.single-_rd-books .book-buy-links .book-format-container ul > li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
}
.single-_rd-books .book-buy-links .icon-btn {
    padding: 8px 14px 6px 14px;
    font-size: 10px;
}
.single-_rd-books .book-cover {
    position: relative;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}
.single-_rd-books .book-cover img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    visibility: hidden;
}
.single-_rd-books .filter-nyt-number-1 .book-cover:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("http://nelsondemille.net/wp-content/themes/nelson-demille/includes/img/misc/number-1-overlay.png");
    background-size: cover;
}
.single-_rd-books .book-details .book-btns {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.single-_rd-books .book-details .book-btn {
    display: inline-block;
    width: calc(50% - 6px);
    margin-right: 8px;
    margin-bottom: 12px;
}
.single-_rd-books .book-details .book-btns .book-btn:nth-child(2n)  {
    margin-right: 0;
}
.single-_rd-books .book-btn a i {
    margin-right: 10px;
}
.single-_rd-books .book-extras > .col-sm-12 > div {
    background-color: #f5f5f5;
    padding: 10px 30px 20px 30px;
    margin-top: 25px;
}
.single-_rd-books .book-extras:first-of-type > .col-sm-12 > div {
    margin-top: 68px;
}
.single-_rd-books .book-extras > .col-sm-12 > div h1 {
    padding-bottom: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
}
.single-_rd-books .book-extras > .col-sm-12 > div > h2 {
    font-size: 24px;
}
.single-_rd-books .book-extras .book-excerpt-container.expanding .book-excerpt {
    max-height: 555px;
    overflow: hidden;
    -moz-transition: max-height 1s ease;
    -webkit-transition: max-height 1s ease;
    transition: max-height 1s ease;
}
.single-_rd-books .book-extras .book-excerpt-container.expanding .book-excerpt.active {
    max-height: 100000px;
    overflow: visible;
    -moz-transition: max-height 1s ease;
    -webkit-transition: max-height 1s ease;
    transition: max-height 1s ease;
}
.single-_rd-books .book-extras .book-excerpt-container .excerpt-expand-btn {
    margin-top: 18px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
}
.single-_rd-books .book-extras .book-excerpt-container .excerpt-expand-btn > a {
    margin-bottom: 0;
}
.single-_rd-books .book-buy-links .btn-group {
    margin-bottom: 10px;
}
.single-_rd-books .btn-group {
    width: calc(100% / 3);
    margin-right: -4px;
    padding-right: 10px;
}
.single-_rd-books .btn-group:nth-of-type(3n) {
    padding-right: 0;
}
.single-_rd-books .btn-group:nth-of-type(3n) .dropdown-menu {
    width: 100%;
}
.single-_rd-books .btn-group > .btn {
    position: relative;
    float: left;
    width: 100%;
    text-align: left;
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 15px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
    border-radius: 0;
}
.single-_rd-books .btn-group > .btn > span {
    margin-left: 5px;
    float: right;
    margin-top: 6px;
    position: absolute;
    right: 10px;
}
.single-_rd-books .btn-group.open .dropdown-toggle {
    color: #404041 !important;
    background-color: #fff  !important;
    border: 1px solid #404041;
}
.single-_rd-books .dropdown-menu {
    width: calc(100% - 10px);
    min-width: 0;
    border-radius: 0;
    border: 1px solid #404041;
    padding: 0;
    margin-top: 0;
    border-top: none;
}
.single-_rd-books .dropdown-menu .divider {
    margin: 0;
}
.single-_rd-books .dropdown-menu .sub-format {
    font-family: 'Roboto', sans-serif;
    font-weight: bold !important;
    color: #404041 !important;
    padding: 4px 15px 4px 15px;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    background-color: #f5f5f5;
}
.single-_rd-books .dropdown-menu > li > a {
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    color: #404041 !important;
    padding: 8px 15px;
}
.single-_rd-books .dropdown-menu li a:hover, .single-_rd-books .dropdown-menu li a:focus {
    background: #de1339 !important;
    color: #fff !important;
}
.single-_rd-books .dropdown-menu > li > a > i {
    margin-right: 5px;
}
.single-_rd-books .dropdown-menu > li > a > i.faux-icon {
    font-style: normal;
    font-weight: bold;
    letter-spacing: 1px;
}
.single-_rd-books .rd-btn-toggle {
    margin: 0 0 10px;
}
.single-_rd-books .rd-btn-toggle > div {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 16px 8px 16px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #404041 !important;
    background-color: #fff;
    border: 1px solid #404041;
    opacity: .65;
    cursor: pointer;
    user-select: none;
}
.single-_rd-books .rd-btn-toggle > div.active {
    opacity: 1;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
}
.foreign-titles {
    padding: 4px 10px 5px 10px;
    margin-top: 10px;
    background-color: #f5f5f5;
}
.foreign-titles > p {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 0;
    font-size: 12px;
}
.foreign-title-icons {
    display: inline-block;
}
.foreign-title-icons > div {
    display: inline-block;
    margin-right: 8px;
    position: relative;
}
.foreign-title-icons > div > img {
    margin-top: -1px;
}
.foreign-title-icons > div:first-of-type {
    margin-left: 0;
}
.foreign-title-icons > div:last-of-type {
    margin-right: 0;
}
.foreign-title-icons span {
    visibility: hidden;
    width: 200px;
    background-color: #404041;
    color: #fff;
    text-align: center;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 25px;
}
.foreign-title-icons > div:hover span {
    visibility: visible;
}
.foreign-title-icons > div:hover span::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    background-color: #404041;
    top: 10px;
    left: -4px;
    z-index: -1;
    transform: rotate(45deg);
}

._rd-books-template-single-_rd-books-chapter .book-description p {
    font-size: 1.5rem;
    line-height: 1.8;
}

/**************************************************
                      GALLERY
***************************************************/
.image-gallery {
    margin: 0 auto;
}
.image-gallery .gallery-item {
    margin-bottom: 10px;
}
.image-gallery .gallery-item .attributes {
    display: none;
}
.image-gallery .gallery-item img {
    display: block;
    width: 370px;
    max-width: 100%;
    height: auto;
    -moz-transition: opacity .2s;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}
.image-gallery .gallery-item:hover img {
    opacity: 0.75;
    -moz-transition: opacity .15s;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
}
.image-gallery .gallery-item .tooltip-enlarge {
    position: absolute;
    bottom: -25px;
    width: 100%;
    padding: 5px 10px;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    background-color: #de1339;
    color: #fff;
    opacity: 0;
    -moz-transition: opacity .25s, bottom .2s;
    -webkit-transition: opacity .25s, bottom .2s;
    transition: opacity .25s, bottom .2s;
}
.image-gallery .gallery-item:hover .tooltip-enlarge {
    opacity: 1;
    bottom: 0;
    -moz-transition: opacity .20s, bottom .15s;
    -webkit-transition: opacity .20s, bottom .15s;
    transition: opacity .20s, bottom .15s;
}
.image-gallery .gallery-item .attributes, .image-gallery .gallery-item .image-timestamp {
    display: none;
}

/* DEVELOPMENT SITE ONLY */
.image-gallery .gallery-item.filter-video a:before {
    content: "\f008";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    position: absolute;
    bottom: 5px;
    right: 12px;
    font-size: 40px;
    text-align: center;
    color: #fff;
}

/* END OF DEVELOPMENT SITE ONLY */

/**************************************************
                      NEWS
***************************************************/
.page-template-news .news-list {
    margin: 0 auto;
}
.page-template-news .news-list .news-list-item {
    margin-bottom: 10px;
}

.page-template-news .news-image {
    background: #DDDDDD;
}

.page-template-news .news-title a {
    color: #FFFFFF;
}

.page-template-news .news-title a:hover {
    color: #DDDDDD;
}

.page-template-news .news-list .news-list-item .news-image img {
    width: 100%;
    height: auto;
}
.page-template-news .news-list .news-list-item .news-content {
    display: table;
    padding: 0 40px;
    width: 100%;
    height: 170px;
    text-align: center;
    align-self: end;
    background: #7a7a7a;
}
.page-template-news .news-list .news-list-item .news-details {
    display: table-cell;
    vertical-align: middle;
}
.page-template-news .news-list .news-list-item .news-content .news-details .news-date {
    color: #de1339;
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
.page-template-news .news-list .news-list-item .news-content .news-details .news-title {
    margin: auto auto 1rem auto;
}
.page-template-news .news-list .news-list-item .news-content .news-details .news-title > a {
    font-weight: normal;
}
.page-template-news .news-list .news-list-item .news-content .news-details .news-source {
    margin-top: 0;
    margin-bottom: 0;
    font-style: italic;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/**************************************************
                      EVENTS
***************************************************/
.page-template-events .archive-btn {
    margin-bottom: 25px;
}
.page-template-events .event-list .event-list-item .event-date {
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
    margin-right: 10px;
    background-color: #de1339;
    color: #fff;
    padding: 8px 0;
    width: 55px;
    height: 55px;
}
.page-template-events .event-list .event-list-item .event-date > span:nth-child(1) {
    display: block;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}
.page-template-events .event-list .event-list-item .event-date > span:nth-child(2) {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-align: center;
}
.page-template-events .event-list .event-list-item .event-details {
    display: inline-block;
    width: calc(100% - 70px);
}
.page-template-events .event-list .event-list-item .event-details .event-title {
    margin-bottom: 3px;
}
.page-template-events .event-list .event-list-item .event-details .event-title > a {
    font-weight: normal;
}
.page-template-events .event-list .event-list-item .event-details .event-date-time {
    padding-left: 3px;
}
.page-template-events .event-list .event-list-item .event-details .event-date-time > span {
    margin-right: 10px;
}
.page-template-events .event-list .event-list-item .event-details .event-date-time > span > i {
    margin-right: 5px;
}
.page-template-events .event-list .event-list-item .event-details .event-date-time > span a {
    font-weight: normal;
}
.page-template-events .rightside-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
}

/**************************************************
                      NEWSLETTERS
***************************************************/
.single-_rd-newsletters .newsletter-column {
    padding-right: 8.33333333%;
    border-right: 1px solid #eee;
}
.page-template-newsletters .newsletter-column .newsletter-header ,
.single-_rd-newsletters .newsletter-column .newsletter-header {
    margin-bottom: 5px;
}
.page-template-newsletters .newsletter-column .newsletter-header img ,
.single-_rd-newsletters .newsletter-column .newsletter-header img {
    width: 100%;
    height: auto;
}
.page-template-newsletters .newsletter-column .newsletter-date ,
.single-_rd-newsletters .newsletter-column .newsletter-date {
    margin-bottom: 15px;
}
.page-template-newsletters .newsletter-column .signature > span ,
.single-_rd-newsletters .newsletter-column .signature > span {
    display: block;
    margin-bottom: 3px;
}
.page-template-newsletters .newsletter-column .signature > img ,
.single-_rd-newsletters .newsletter-column .signature > img {
    display: block;
}
.page-template-newsletters .newsletter-column blockquote ,
.single-_rd-newsletters .newsletter-column blockquote {
    margin: 0 0 10px;
    font-style: italic;
}
.page-template-newsletters .newsletters-navigation .icon-btn ,
.single-_rd-newsletters .newsletters-navigation .icon-btn {
    margin-bottom: 10px;
}
.page-template-newsletters .newsletters-navigation .icon-btn .fa-caret-right ,
.single-_rd-newsletters .newsletters-navigation .icon-btn .fa-caret-right {
    margin-left: 5px;
    margin-right: 0;
}
.page-template-newsletters .newsletter-sidebar,
.single-_rd-newsletters .newsletter-sidebar {
    padding: 0;
}
.single-_rd-newsletters .newsletter-sidebar .newsletter-sidebar-item {
    background-color: #fff;
    padding: 15px;
}

.page-template-newsletters .newsletter-sidebar {
    background: #EAEAEA;
    padding: 2rem;
    margin: 2rem auto;
}

.page-template-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(2n) ,
.single-_rd-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(2n) {
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.page-template-newsletters .newsletter-sidebar .newsletter-sidebar-item > h3 ,
.single-_rd-newsletters .newsletter-sidebar .newsletter-sidebar-item > h3 {
    margin-top: 0;
}
.page-template-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(2) > h3 + p ,
.single-_rd-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(2) > h3 + p {
    margin-bottom: 42px;
}
.page-template-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(3) span ,
.single-_rd-newsletters .newsletter-sidebar .newsletter-sidebar-item:nth-child(3) span {
    font-weight: bold;
    font-style: italic;
}
#newsletter-form {
    padding-top: 10px;
}
#newsletter-form .form-control {
    color: #333;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
#newsletter-form input.form-control {
    height: 42px;
}
#newsletter-form .form-control:focus {
    outline: none;
    box-shadow: none;
}
#newsletter-form .form-group label {
    display: none;
}
#newsletter-form input {
    padding: 0 8px;
}
.page-template-newsletters .newsletter-sidebar .wpcf7 input[type=text], .page-template-newsletters .newsletter-sidebar .wpcf7 input[type=email] ,
.single-_rd-newsletters .newsletter-sidebar .wpcf7 input[type=text], .page-template-newsletters .newsletter-sidebar .wpcf7 input[type=email] {
    width: 100%;
    color: #333;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    height: 42px;
    padding: 0 8px;
    margin-bottom: 10px;
}
.page-template-newsletters .newsletter-sidebar .wpcf7 input:focus ,
.single-_rd-newsletters .newsletter-sidebar .wpcf7 input:focus {
    outline: none;
}
.page-template-newsletters .newsletter-sidebar .wpcf7 input[type=file] ,
.single-_rd-newsletters .newsletter-sidebar .wpcf7 input[type=file] {
    margin-bottom: 10px;
}
.page-template-newsletters .newsletter-sidebar .wpcf7 .wpcf7-photo-label ,
.single-_rd-newsletters .newsletter-sidebar .wpcf7 .wpcf7-photo-label {
    margin-bottom: 5px;font-size: 18px;font-family: 'Roboto', sans-serif;font-weight: 300;
}
.page-template-newsletters .newsletter-sidebar .wpcf7 .icon-btn, .page-template-newsletters .newsletter-sidebar .wpcf7 .icon-btn:focus ,
.single-_rd-newsletters .newsletter-sidebar .wpcf7 .icon-btn, .page-template-newsletters .newsletter-sidebar .wpcf7 .icon-btn:focus {
    float: right;
    clear: both;
    outline: none;
}
.page-template-newsletters .newsletter-sidebar .submit-a-photo-icontact ,
.single-_rd-newsletters .newsletter-sidebar .submit-a-photo-icontact {
    display: none;
}
.page-template-contact-us .ic_signupform, .page-template-newsletters .ic_signupform {
    padding-top: 10px;
}
.page-template-contact-us .ic_signupform .form-header, .page-template-newsletters .ic_signupform .form-header {
    display: none;
}
.page-template-contact-us .ic_signupform input[type="text"], 
.page-template-newsletters .ic_signupform input[type="text"] ,
.single-_rd-newsletters .ic_signupform input[type="text"],
.wpcf7-form input[type="email"]
{
    width: 100%;
    color: #333;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 15px;
    height: 42px;
    padding: 0 8px;
}
.page-template-contact-us .ic_signupform input[type="text"]:focus, 
.page-template-newsletters .ic_signupform input[type="text"]:focus ,
.single-_rd-newsletters  .ic_signupform input[type="text"]:focus {
    outline: none;
    box-shadow: none;
}
.page-template-contact-us .ic_signupform label, 
.page-template-newsletters .ic_signupform label ,
.single-_rd-newsletters  .ic_signupform label {
    display: none;
}
.page-template-contact-us .ic_signupform input[type="submit"], 
.page-template-newsletters .ic_signupform input[type="submit"] ,
.single-_rd-newsletters  .ic_signupform input[type="submit"] {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
    border-radius: 0;
    float: right;
    clear: both;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.page-template-contact-us .ic_signupform input[type="submit"]:hover, 
.page-template-newsletters .ic_signupform input[type="submit"]:hover ,
.single-_rd-newsletters  .ic_signupform input[type="submit"]:hover {
    color: #404041 !important;
    border: 1px solid #404041;
    background-color: #fff;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
#ic_signupform .elcontainer .submit-container input[type="submit"] {
    display: inline-block !important;
    margin-bottom: 10px !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 1.5px !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    border: 1px solid #de1339 !important;
    background-color: #de1339 !important;
    border-radius: 0 !important;
    -moz-transition: all .3s ease !important;
    -webkit-transition: all .3s ease; !important
    transition: all .3s ease !important;
}
#ic_signupform .elcontainer .submit-container input[type="submit"] :hover {
    color: #404041 !important;
    border: 1px solid #404041 !important;
    background-color: #fff !important;
    -moz-transition: all .25s ease !important;
    -webkit-transition: all .25s ease; !important
    transition: all .25s ease !important;
}
#ic_signupform .elcontainer .formEl.fieldtype-input input[type="text"]
{
    width: 100% !important;
    color: #333 !important;
    border: 1px solid #eee !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    margin-bottom: 15px !important;
    height: 42px !important;
    padding: 0 8px !important;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #333 !important;
  opacity: .5 !important;
  font-style: normal !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #333 !important;
  opacity: .5 !important;
  font-style: normal !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #333 !important;
  opacity: .5 !important;
  font-style: normal !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #333 !important;
  opacity: .5 !important;
  font-style: normal !important;
}

#ic_signupform .elcontainer.hidden-label .formEl.required:before {
    content: "" !important;
}
.page-template-newsletters .newsletters-navigation ,
.single-_rd-newsletters  .newsletters-navigation {
    margin-top: 40px;
}
.page-template-newsletters .newsletters-navigation .iconic-btn ,
.single-_rd-newsletters  .newsletters-navigation .iconic-btn {
    display: inline-block;
    margin-right: 10px;
}
.page-template-newsletters .newsletters-navigation .iconic-btn:last-of-type ,
.single-_rd-newsletters  .newsletters-navigation .iconic-btn:last-of-type {
    margin-right: 0;
}
.page-template-newsletters .newsletters-navigation .iconic-btn:first-of-type i ,
.single-_rd-newsletters  .newsletters-navigation .iconic-btn:first-of-type i {
    margin-left: 0 !important;
    margin-right: 10px !important;
}
.page-template-newsletters .newsletters-navigation .iconic-btn:last-of-type i ,
.single-_rd-newsletters  .newsletters-navigation .iconic-btn:last-of-type i {
    margin-left: 10px;
    margin-right: 0;
}
.newsletters-list.newsletter-archive-list .st-accordion > ul > li > a {
    font-weight: bold !important;
}
.newsletters-list.newsletter-archive-list .newsletter-list-item h3 {
    margin: 10px 0;
}
.newsletters-list.newsletter-archive-list .newsletter-list-item h3 a {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal !important;
    font-size: 14px;
}
.page-template-newsletters .newsletter-archive-list .newsletters-navigation ,
.single-_rd-newsletters  .newsletter-archive-list .newsletters-navigation {
    display: none;
}
.page-template-newsletters .rd-btn-toggle {
    margin: 0 0 10px;
}
.page-template-newsletters .rd-btn-toggle > div {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 16px 8px 16px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #404041 !important;
    background-color: #fff;
    border: 1px solid #404041;
    opacity: .65;
    cursor: pointer;
    user-select: none;
}
.page-template-newsletters .rd-btn-toggle > div.active {
    opacity: 1;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
}

.page-template-newsletters .st-content {
    display: none;
}

.page-template-newsletters .st-open .st-content {
    display: block;
}

.page-template-newsletters .st-accordion > ul > li {
    height: auto;
}

.accordion-button {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-weight: bold !important;
    padding: 0;
}

.page-template-newsletters .fullscreen-banner {
    background-image: url(../img/banner/newsletter-header-2.jpg) !important;
    background-size: cover !important;
    width: calc(100% + 30px) !important;
    padding: 0 !important;
    min-height: 200px;
    background-position: center !important;
}

@media screen and (min-width: 768px) {
    .page-template-newsletters .fullscreen-banner {
        min-height: 400px;
    }
}

@media screen and (min-width: 1200px) {
    .page-template-newsletters .fullscreen-banner {
        min-height: 650px;
    }
}


.page-template-newsletters .main-content > .container {
    padding-top: 0;
}

/**************************************************
                      CONTACT
***************************************************/
.page-template-contact-us .contact-container {
    margin-top: 25px;
}
.page-template-contact-us .contact-column {
    padding-right: 8.33333333%;
    border-right: 1px solid #eee;
}
.page-template-contact-us #wpcf7-f703-p11-o1 {
    padding-top: 2px;
}
.page-template-contact-us #wpcf7-f703-p11-o1 input[type="text"], .page-template-contact-us #wpcf7-f703-p11-o1 input[type="email"], .page-template-contact-us #wpcf7-f703-p11-o1 textarea {
    color: #333;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
.page-template-contact-us #wpcf7-f703-p11-o1 input[type="text"], .page-template-contact-us #wpcf7-f703-p11-o1 input[type="email"] {
    height: 42px;
}
.page-template-contact-us #wpcf7-f703-p11-o1 textarea {
    margin-bottom: 0;
}
.page-template-contact-us #ic_signupform_contact h3, .page-template-contact-us #ic_signupform_contact label, .page-template-contact-us #ic_signupform_contact .fieldtype-input, .page-template-contact-us #ic_signupform_contact input[type="submit"] {
    display: none !important;
}
.page-template-contact-us .nelson-faq {
    padding-top: 5px;
    margin-bottom: 35px;
}
.page-template-contact-us .nelson-faq > h2 {
    margin-top: 0;
}
.page-template-contact-us .nelson-faq .st-accordion > ul > li:last-child {
    border-bottom: 1px solid #eee;
}
.page-template-contact-us .contact-blurbs {
    margin-bottom: 35px;
}
.page-template-contact-us .contact-blurbs .col-xs-12:first-child > h2 {
    margin-top: 0;
}
.page-template-contact-us .contact-blurbs .col-xs-12:last-child {
    margin-top: 10px;
}
.page-template-contact-us .contact-blurbs a {
    font-size: 12px;
}
.page-template-contact-us .contact-info {
}
.page-template-contact-us .contact-info > *:first-child {
    margin-top: 0;
}
.page-template-contact-us .contact-info > h2 {
    padding-bottom: 2px;
    border-bottom: 1px solid #eee;
}
.page-template-contact-us .contact-info .social-btns {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    text-align: right;
}
.page-template-contact-us .contact-info .social-btns li {
    display: inline-block;
    margin-right: 5px;
}
.page-template-contact-us .contact-info .social-btns li:last-of-type {
    margin: 0;
}
.page-template-contact-us #newsletter-form {
    padding-top: 0;
}
.page-template-contact-us #newsletter-form div:nth-child(4) > .icon-btn {
    margin-bottom: 0;
}
.page-template-contact-us #newsletter-form .form-status-message {
    margin-top: 10px;
    text-align: right;
}
.page-template-contact-us .g-recaptcha {
    margin-bottom: 10px;
}

/**************************************************
                  CONFIRMATION & 404 PAGE
***************************************************/
.page-template-confirmation .confirmation-banner, .error404 .no-results-banner {
    position: relative;
    margin-top: -30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page-template-confirmation .confirmation-banner img, .error404 .no-results-banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}
.error404 .books-showcase .section-header {
    font-size: 2.235em;
}

/**************************************************
                      LANDING
***************************************************/
.page-template-landing .landing-banner {
    position: relative;
    margin-top: -30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page-template-landing .landing-banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}
.page-template-landing .page-header {
    font-size: 26px;
    text-align: center;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 18px;
}
.page-template-landing .page-sub-header {
    font-size: 26px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}
.page-template-landing .landing-section-header {
    font-size: 24px;
}
.page-template-landing .landing-section-sub-header {
    margin-top: -8px;
    font-size: 18px;
}
.page-template-landing .landing-column {
    padding-right: 8.33333333%;
    border-right: 1px solid #eee;
}
.page-template-landing .landing-sidebar {
    padding: 0;
}
.page-template-landing .landing-sidebar .landing-sidebar-item {
    background-color: #fff;
    padding: 15px;
}
.page-template-landing .landing-sidebar .landing-sidebar-item:nth-child(2n) {

    /*background-color: #f5f5f5;*/

    /*border-top: 1px solid #eee;*/
    border-bottom: 1px solid #eee;
}
.page-template-landing .landing-sidebar .landing-sidebar-item > h3 {
    margin-top: 0;
}
.page-template-landing .landing-sidebar .landing-sidebar-item:nth-child(2) > h3 + p {
    margin-bottom: 42px;
}
.page-template-landing .landing-sidebar .landing-sidebar-item:nth-child(3) span {
    font-weight: bold;
    font-style: italic;
}
.page-template-landing .event-list .event-list-item {
    margin-bottom: 15px;
}
.page-template-landing .event-list .event-list-item:first-child {
    margin-top: 25px;
}
.page-template-landing .landing-column .event-list .event-list-item:first-child {
    margin-top: 0;
}
.page-template-landing .event-list .event-list-item .event-details {
    display: inline-block;
    width: 100%;
}
.page-template-landing .event-list .event-list-item .event-details .event-title {
    font-size: 16px;
    margin: 0 0 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}
.page-template-landing .event-list .event-list-item .event-details .event-date-time {
    padding-left: 3px;
    margin-bottom: 0;
}
.page-template-landing .event-list .event-list-item .event-details .event-date-time > span {
    margin-right: 10px;
}
.page-template-landing .event-list .event-list-item .event-details .event-date-time > span > i {
    margin-right: 5px;
}
.page-template-landing .no-events-notice {
    font-size: 18px;
    margin: 23px 0 5px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #404041;
}
.page-template-landing .btn-group {
    width: 100%;
    margin-bottom: 5px;
}
.page-template-landing .btn-group:last-child {
    margin-bottom: 0;
}
.page-template-landing .btn-group > .btn {
    position: relative;
    float: left;
    width: 100%;
    text-align: left;
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 15px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    letter-spacing: 1.5px;
    font-size: 12px;
    color: #fff !important;
    border: 1px solid #de1339;
    background-color: #de1339;
    border-radius: 0;
}
.page-template-landing .btn-group > .btn > span {
    margin-left: 5px;
    float: right;
    margin-top: 6px;
    position: absolute;
    right: 10px;
}
.page-template-landing .btn-group.open .dropdown-toggle {
    color: #404041 !important;
    background-color: #fff  !important;
    border: 1px solid #404041;
}
.page-template-landing .dropdown-menu {
    width: 100%;
    min-width: 0;
    border-radius: 0;
    border: 1px solid #404041;
    padding: 0;
    margin-top: 0;
    border-top: none;
}
.page-template-landing .dropdown-menu .divider {
    margin: 0;
}
.page-template-landing .dropdown-menu .sub-format {
    font-family: 'Roboto', sans-serif;
    font-weight: bold !important;
    color: #404041 !important;
    padding: 4px 15px 4px 15px;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    background-color: #f5f5f5;
}
.page-template-landing .dropdown-menu > li > a {
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    color: #404041 !important;
    padding: 8px 15px;
}
.page-template-landing .dropdown-menu li a:hover, .page-template-landing .dropdown-menu li a:focus {
    background: #de1339 !important;
    color: #fff !important;
}
.page-template-landing .dropdown-menu > li > a > i {
    margin-right: 5px;
}
.page-template-landing .dropdown-menu > li > a > i.faux-icon {
    font-style: normal;
    font-weight: bold;
    letter-spacing: 1px;
}

.single-_rd-books .book-club-authors .icon-btn-container {
    display: inline-block;
    margin: 0.5rem;
}

/**************************************************
                    SEARCH FORM
***************************************************/

.search-form {
    margin: 0.5rem 0;
}

.search-form .search-field {
    border: none;
    padding: 0.9rem;
}

.search-form .search-submit {
    transform: translateY(-1px);
}


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

@media screen and (orientation:portrait) {
    .fullscreen-banner {
        background-size: contain !important;
    }
}
@media screen and (max-width: 1199px) {
    .fullscreen-banner {
        background-size: contain !important;
    }
}
@media (min-width: 767px) and (max-width: 1199px) {
    .fullscreen-banner {
        background-position-y: 180px !important;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: -46px;
    }
}
@media (min-width: 768px) {
    .page-template-gallery .filter-btns {
        width: calc(100% - 100px);
    }
    .page-template-news .news-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        column-gap: 20px;
        row-gap: 20px;
    }

    .page-template-news .news-list-item {
        background: #F5F5F5;
        display: grid;
        grid-template-rows: 1fr auto;
    }

    .site-footer .site-footer-inner {
        display: flex;
        justify-content: space-around;
    }

    .book-chapter-links {
        flex-wrap: wrap;
        flex-direction: row;
    }

}
@media (min-width: 767px) and (max-width: 991px) {
    .books .book-item.active .display .book {
        -webkit-transform: translateX(-22px) rotateY(90deg);
        transform: translateX(-22px) rotateY(90deg);
    }
    .books .book-item:last-of-type {
        float: none;
        clear: both;
        margin: 0 auto;
    }
    .fullscreen-banner .banner-content .img-author > img {
        padding-bottom: 10px;
    }
    .books .book-item .look-inside {
        left: 80px;
    }
    .book-gallery .book-gallery-item .attribute-icons {
        padding-right: 80px;
    }
    .page-template-books .sort-btns {
        position: static;
    }
    .page-template-events .rightside-image {
        margin-top: 95px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .books .book-item.active .display .book {
        -webkit-transform: translateX(4px) rotateY(90deg);
        transform: translateX(4px) rotateY(90deg);
    }
    .page-template-home .news .news-list, .page-template-home .calendar .event-list {
        min-height: 400px;
    }
    .fullscreen-banner .banner-content .img-author > img {
        padding-bottom: 15px;
    }
    .books .book-item .look-inside {
        left: 53px;
    }
    .book-gallery .book-gallery-item .attribute-icons {
        padding-right: 54px;
    }
    .page-template-books .sort-btns {
        position: static;
    }
    .image-gallery {
        margin: 0;
    }
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
    .newsletter-cta ul li:nth-child(1) {
        font-size: 16px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 35%;
    }
    .newsletter-cta .rd-btn-toggle {
        top: -5px;
    }
    .image-gallery-container {
        padding-left: 7px;
    }
    .page-template-news .news-list .news-list-item .news-image img {
        max-width: 375px;
    }
}
@media (min-width: 1250px) {
    .newsletter-cta ul li:nth-child(1) {
        font-size: 16px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 40%;
    }
}
@media (min-width: 1440px) {
    .newsletter-cta ul li:nth-child(1) {
        font-size: 18px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 40%;
    }
    .newsletter-cta .rd-btn-toggle {
        top: -3px;
    }
}
@media (min-width: 1600px) {
    .newsletter-cta ul li:nth-child(1) {
        font-size: 20px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 40%;
    }
    .newsletter-cta .rd-btn-toggle {
        top: -1px;
    }
}
@media (min-width: 1920px) {
    .newsletter-cta ul li:nth-child(1) {
        font-size: 20px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 50%;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .fullscreen-banner .scroll-btn {
        bottom: 200px;
    }
    .newsletter-cta {
        position: relative !important;
        height: 146px !important;
        top: -146px !important;
    }
}
@media (max-width: 1400px) {
    .newsletter-cta ul li .form-status-message {
        margin-left: 15px;
        font-size: 14px;
    }
}
@media (max-width: 1250px) {
    .newsletter-cta ul li .form-status-message {
        margin-left: 10px;
        font-size: 12px;
    }
}
@media (max-width: 1199px) {
    .newsletter-cta {
        position: static;
        background-color: #404041;
        border-top: none;
        height: auto;
    }
    .newsletter-cta ul {
        height: auto;
    }
    .newsletter-cta ul li:nth-child(1) {
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 15px;
        font-size: 26px;
        padding-right: 0;
    }
    .newsletter-cta ul li:nth-child(1) > span {
        display: none;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 100%;
        max-width: 600px;
        height: auto;
        text-align: center;
        margin-bottom: 7px;
    }
    .newsletter-cta ul li:nth-child(3) {
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 5px;
    }
    .newsletter-cta ul li .form-status-message {
        display: none;
        position: static;
        margin: 0 auto;
        margin-top: 10px;
        font-size: 16px;
    }
    .newsletter-cta .rd-btn-toggle {
        position: relative;
        display: block !important;
        width: 100%;
        margin: 0 auto;
        top: 5px;
    }
    .single-_rd-books .book-header, .single-_rd-books .book-details {
    }
    .single-_rd-books .book-details .book-btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .single-_rd-books .book-details .book-btn.book-btn-movie {
        margin-top: 0;
    }
    .single-_rd-books .book-buy-links, .single-_rd-books .book-extras .book-excerpt {
        margin-top: 25px;
    }
}
@media (max-width: 991px) {
    .rd-navbar-main > .container {
        width: 100%;
    }
    .page-template-home .news .news-list, .page-template-home .calendar .event-list {
        min-height: 420px;
    }
    .page-template-about .page-header {
        margin-top: 20px;
    }
    .single-_rd-books .book-header, .single-_rd-books .book-details {
        margin-left: 0;
    }
    .single-_rd-books .book-extras .book-excerpt {
        margin-top: 28px;
    }
    .page-template-newsletters .newsletter-column .newsletter-header {
        margin-right: auto;
    }
    .page-template-contact-us .contact-info {
        padding-bottom: 10px;
        overflow: auto;
    }
    .page-template-contact-us .contact-container #contact-form {
        padding-right: 0;
        overflow: auto;
    }
    .page-template-contact-us .contact-column {
        padding-right: 15px;
        border-right: none;
    }
    .page-template-contact-us .contact-blurbs {
        margin-bottom: 25px;
    }
    .row.home-newletter-signup {
        height: auto; 
    }
    .form-content p {
        text-align: center;
        margin-right: 0;
    }
    .home-newletter-signup .form-content #ic_signupform .fieldtype-input {
        width: 50% !important;
        float: left !important;
    }
    .home-newletter-signup .form-content #ic_signupform .elcontainer .submit-container {
        float: left;
    }
}
@media (max-width: 915px) {
}
@media (max-width: 850px) {
    .rd-nav-main > li > a,
    .rd-nav-main > li > a:hover,
    .rd-nav-main > li > a:focus,
    .rd-nav-main > li > a:active,
    .rd-nav-main > li > a:visited {
        font-size: 10px;
        padding: 13px 6px 6px 6px;
    }
    .rd-nav-social-links {
        padding: 13px 5px 0 0;
    }
    .rd-nav-social-links > li > a {
        font-size: 16px;
        padding: 10px 10px;
    }
}
@media (max-width: 767px) {
    body .main-content {
        min-height: 0;
    }
    body .main-content > .container {
        padding-top: 0;
    }
    .site-footer {
        height: auto;
    }
    .site-footer .site-footer-inner .navbar-nav:first-of-type {
        display: none;
    }
    .site-footer .site-footer-inner .navbar-nav.footer-navigation {
        float: none;
        display: block;
    }
    .site-footer .site-footer-inner .navbar-nav.footer-navigation li {
        display: inline-block;
    }
    .site-footer .site-footer-inner .navbar-nav.footer-left, .site-footer .site-footer-inner .navbar-nav.footer-right {
        float: none;
        display: block;
    }
    .site-footer .site-footer-inner .navbar-nav.footer-right li {
        display: inline-block;
    }
    .site-footer .site-footer-inner .navbar-nav {
        margin: 0;
    }
    .site-footer .site-footer-inner .navbar-nav.visible-xs {
        background-color: #2d2d2d;
    }
    .nav > li > a > img {
        height: 40px;
    }
    .sub-footer {
        height: 80px;
        padding-top: 0;
        text-align: center;
    }
    .sub-footer p {
        float: none !important;
        display: block;
    }
    .fullscreen-banner {
        padding-top: 0 !important;
    }
    .fullscreen-banner .banner-content {
        width: auto;
        padding: 0 50px;
        float: none;
        display: block;
    }
    .fullscreen-banner .scroll-btn {
        bottom: 20px;
    }
    .newsletter-cta ul li:nth-child(2) {
        width: 100%;
        margin-bottom: 0;
    }
    .newsletter-cta ul li div {
        height: auto;
    }
    .newsletter-cta #ic_signupform .fieldtype-input {
        width: 100% !important;
        max-width: 450px;
        margin-bottom: 5px;
    }
    .newsletter-cta ul li div input {
        width: 100%;
        max-width: 450px;
        margin-bottom: 5px;
    }
    .books .book-item::before {
        content: none;
    }
    .books .book-item .look-inside {
        display: none;
    }
    .books .book-item .display {
        -webkit-transition: none;
        transition: none;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    .books .book-item .display .book {
        -webkit-transform-style: initial;
        transform-style: initial;
        -webkit-transition: none;
        transition: none;
        box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3) !important;
    }
    .books .book-item:hover .display .book {
        -webkit-transform: none;
        transform: none;
    }
    .books .book-item .details {
        display: none;
        -webkit-transition: none;
        transition: none;
    }
    .books .book-item.active .display .book {
        -webkit-transition: none;
        transition: none;
        -webkit-transform: none;
        transform: none;
    }
    .page-template-home .news {
        border-right: none;
        overflow: auto;
    }
    .page-template-home .news .news-list, .page-template-home .calendar .event-list {
        min-height: 0;
    }
    .page-template-home .news .iconic-btn, .page-template-home .calendar .iconic-btn {
        margin-top: 30px;
    }
    .page-template-home .news .iconic-btn {
        margin-bottom: 50px;
    }
    .page-template-home .calendar .iconic-btn {
        margin-bottom: 30px;
    }
    .page-template-home .news .iconic-btn > a, .page-template-home .calendar .iconic-btn > a {
        width: auto;
        padding: 10px 50px;
    }
    .page-template-about .about-banner {
        margin-top: 0;
    }
    .page-template-about .about-banner img {
        margin-top: 0;
    }
    .page-template-landing .landing-banner {
        margin-top: 0;
    }
    .page-template-landing .landing-banner img {
        margin-top: 0;
    }
    .page-template-about .nelson-giving .featured-charity > a > div > img {
        margin-bottom: 10px;
    }
    .page-template-about .nelson-giving .featured-charity > a > div > h4 {
        margin-bottom: 0;
        text-align: center;
    }
    .page-template-books .filter-btns {
        margin-bottom: 0;
    }
    .book-gallery .book-gallery-item .attribute-icons {
        padding-right: 0;
        text-align: center;
    }
    .page-template-books .filter-btns {
        margin-bottom: 0;
    }
    .page-template-books .sort-btns {
        position: static;
    }
    .single-_rd-books .book-info {
        margin-top: 30px;
    }
    .single-_rd-books .book-cover {
        margin: 0 auto;
        max-width: 300px;
        width: 100%;
        margin-bottom: 50px;
    }
    .single-_rd-books .book-buy-links .book-format-container {
        width: 100%;
    }
    .single-_rd-books .book-extras .book-excerpt .book-btn a {
        width: 100%;
    }
    .single-_rd-books .book-cover {
        margin-bottom: 0;
    }
    .single-_rd-books .foreign-titles {
        margin: 0 auto;
        margin-bottom: 50px;
        margin-top: 10px;
        max-width: 300px;
    }
    .single-_rd-books .btn-group {
        width: calc(100% / 2);
        margin-right: -4px;
        padding-right: 10px;
    }
    .single-_rd-books .btn-group:nth-of-type(3n) {
        padding-right: 10px;
    }
    .single-_rd-books .btn-group:nth-of-type(3n) .dropdown-menu {
        width: calc(100% - 10px);
    }
    .single-_rd-books .btn-group:nth-of-type(2n) {
        padding-right: 0;
    }
    .single-_rd-books .btn-group:nth-of-type(2n) .dropdown-menu {
        width: 100%;
    }
    .page-template-about .nelson-by-the-numbers .chart-list .chart {
        margin-bottom: 25px;
    }
    .page-template-about .nelson-by-the-numbers .chart-list .chart span:last-of-type {
        margin-top: 15px;
    }
    .page-template-confirmation .confirmation-banner, .error404 .no-results-banner {
        margin-top: 0;
    }
    .page-template-landing .landing-column {
        padding-right: 15px;
        border-right: none;
    }
    .home-newletter-signup .form-content #ic_signupform .fieldtype-input {
        width: 100% !important;
        float: left !important;
    }
    .home-newletter-signup .form-content #ic_signupform .elcontainer .submit-container {
        float: unset;
        max-width: 200px;
        margin: 0;
    }
}
@media (max-width: 620px) {
    .icon-btn-container {
        text-align: center;
    }
    .icon-btn.on-right {
        float: none;
    }
    .page-template-about .nelson-by-the-numbers .chart-list .chart {
        width: 100%;
    }
    .single-_rd-books .book-info {
        margin-top: 0;
    }
    .single-_rd-books .book-info .book-cover {
        max-width: 275px;
        margin: 0 auto 25px;
    }
    .single-_rd-books .book-cover {
        max-width: 275px;
        margin: 0 auto;
        margin-bottom: 0;
    }
    .single-_rd-books .foreign-titles {
        margin: 0 auto;
        margin-bottom: 50px;
        max-width: 275px;
    }
    .single-_rd-books .book-info .col-xs-5, .single-_rd-books .book-info .col-xs-7 {
        width: 100%;
    }
    .single-_rd-books .foreign-titles {
        margin: 0 auto;
        margin-bottom: 20px;
        margin-top: -15px;
        max-width: 275px;
    }
    .foreign-title-icons span {
    }
    .single-_rd-books .btn-group {
        width: 100%;
        margin-right: -4px;
        padding-right: 0;
    }
    .single-_rd-books .btn-group .dropdown-menu {
        width: 100%;
    }
    .single-_rd-books .btn-group:nth-of-type(3n + 1) {
        padding-right: 0;
    }
    .single-_rd-books .btn-group:nth-of-type(3n + 1) .dropdown-menu {
        width: 100%;
    }
    .single-_rd-books .btn-group:nth-of-type(2n + 1) {
        padding-right: 0;
    }
    .single-_rd-books .btn-group:nth-of-type(2n + 1) .dropdown-menu {
        width: 100%;
    }
    .page-template-contact-us .contact-info .social-btns {
        text-align: center;
    }
}
@media (max-width: 500px) {
}
@media (max-width: 420px) {
}

.text-scroll {
  right: 20px;
  height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
}
.text-scroll .elementor-column-wrap,
.text-scroll .elementor-widget-wrap {
    height: 470px;
}

.text-scroll::-webkit-scrollbar {
    width: 10px;
}
 
.text-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
}
 
.text-scroll::-webkit-scrollbar-thumb {
  background-color: slategrey;
  outline: none;
  border-radius: 30px;
}
.page-id-70 .container,
.page-id-895 .container{
    padding: 0 !important;
}
.writing-notes p {
    font-family: 'Loved by the King', cursive;
    font-size: 22px;
}

.single-_rd-newsletters .form-header h3 {
    display: none;
}
.book-excerpt-container #ic_signupform .elcontainer {
    max-width: 100% !important;
    padding: 30px 0px !important;
}
.book-excerpt-container .formEl.fieldtype-input {
    width: 28% !important;
    margin-right: 1.5% !important;
    float: left !important;
}
.book-excerpt-container #ic_signupform .elcontainer .submit-container input[type="submit"] {
    background: #de1339 !important;
    border: 0px solid #de1339 !important;
}
@media (max-width: 1199px) {
  .book-excerpt-container #ic_signupform .elcontainer {
        max-width: 600px !important;
    }
    .book-excerpt-container .formEl.fieldtype-input {
        width: 100% !important;
        margin-right: 0% !important;
        float: none !important;
    }

}

.event-heading {
    margin: 0; 
    border-bottom: 1px solid #eee;
}

.event-subheading {
    margin: 5px 0 20px 4px;
    font-style: italic; 
    font-size: 12px; 
    display: inline-block;
}

.alignleft {
    float: left;
    padding-right: 1rem;
}

.alignright {
    float: right;
    padding-left: 1rem;
}

.aligncenter {
    margin: auto;
    display: block;
}

.search-form-wrapper {
    transition: .2s ease opacity;
    opacity: 1;
}

.search-form-wrapper.search-form-hide {
    opacity: 0;
}

.newsletter-container {
    padding-bottom: 0;
}

.book-buy-links-container li {
    overflow: hidden;
}

.event-btn {
    margin-top: 1rem;
}