/*!
Theme Name: Papadakis
Theme URI: papadakis.com
Description: Papadakis Theme
Version: 0.1
Author: Dark Blue <stu@wearedarkblue.com>
Author URI: www.wearedarkblue.com
*//*! normalize.css v3.0.2 | MIT License | git.io/normalize */

pre, textarea {
    overflow: auto;
}
body, button, html, input, select, textarea {
    color: #282828;
}





/*------ TYPE ------*/

p {
    line-height: 1.3rem;
    font-weight: 300;
    font-size: 0.9rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 300;
}

h3 {
    font-weight:100;
    font-size:1.45rem;
    margin-bottom:16px;
}


fieldset, img, legend {
    border: 0;
}
blockquote, body, fieldset, html {
    margin: 0;
}
.cf:after, .clearfix:after {
    clear: both;
}
.wrapper, blockquote, body, fieldset, html, legend, td, th {
    padding: 0;
}
body, nav, section {
    overflow-x: hidden;
}
.text-upper, footer ul li a, nav ul.menu li a {
    text-transform: uppercase;
}
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden], template {
    display: none;
}
.cf:after, .cf:before, .clearfix:after, .clearfix:before {
    content: " ";
    display: table;
}
a {
    background-color: transparent;
}
a:active, a:hover {
    outline: 0;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b, optgroup, strong {
    font-weight: 700;
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2.2em;
    margin: 28px 0;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -.5em;
}
sub {
    bottom: -.25em;
}
img {
    max-width: 100%}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 1em 40px;
}
hr {
    box-sizing: content-box;
    height: 0;
}
code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button {
    overflow: visible;
}
button, select {
    text-transform: none;
}
 input[type=reset], button, html input[type=button], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled], html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    height: auto;
}
input[type=search] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}
legend {
}
textarea {
    resize: vertical;
}
.overflow-hidden, body.menu-open, ul.bx-book-category-slider li {
    overflow: hidden;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
body {
    font-family: proxima-nova, sans-serif;
}
.text-serif, footer section.links {
    font-family: minion-pro, serif;
}
html {
    font-size: 1em;
    line-height: 1.4;
}
.clearfix:after, .clearfix:before {
}
audio, canvas, img, video {
    vertical-align: middle;
}
ul {
    list-style: none;
}
a img {
    border: none;
}
*, :after, :before {
    box-sizing: border-box;
}
.cf:after, .cf:before {
}
.wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
}
header, header .logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -webkit-box-direction: normal;
}
@media (min-width:852px) {
    .wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 0 7.5%}
}

@media (max-width:1350px) {
    header .wrapper {
    padding: 0 2%}
}

.wrapper.centered {
    margin: 0 auto;
}
.wrapper.flex-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.wrapper.half {
    max-width: 480px;
}
.wrapper .row {
    width: 100%}
.wrapper.spaced {
    padding: 30px 7.5%;
}
@media (min-width:852px) {
    
    .wrapper.spaced {
        padding: 70px 7.5% 70px;
    }
    
    .text-large {
        font-size: 1.3rem!important;
        line-height: 1.4!important;
        font-weight: normal;
    }
    
}

.text-large {
    font-size: 1.1rem;
    line-height: 1.4rem;
}


.wrapper.spaced-bottom {
    padding: 0 0 30px;
}
@media (min-width:852px) {
    .wrapper.spaced-bottom {
    padding: 0 7.5% 60px;
}
}.wrapper.spaced-top {
    padding: 30px 0 0;
}
@media (min-width:852px) {
    .wrapper.spaced-top {
    padding: 60px 7.5% 20px;
}
.wrapper .row.eighty {
    width: 100%;
    /* text-align: center; */
    }
.wrapper .row.seventy {
    width: 65%}
.wrapper .row.sixty {
    width: 55%;
    }
.wrapper .row.fifty {
    width: 50%;
    }
.wrapper .row.forty {
    width: 40%}
}.wrapper .row.float {
    float: left;
    margin-bottom: 10px;
}
.wrapper .row.float:last-child() {
    padding-right: 0;
}

h1, h2 {
    color: #0d2235;
    font-family: minion-pro, serif;
}
.text-center {
    text-align: center;
}
.text-white {
    color: #fff;
}
.text-black {
    color: #000;
}
.text-pink, a, nav {
    color: #f3608b;
}
.text-bold {
    font-weight: 300;
}
.text-small {
    font-size: .78rem;
}


ma {
    font-style: italic;
}
a {
    text-decoration: none;
}
header {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    border-top: 10px solid #f3608b;
    background: url(assets/img/header-bg.jpg) repeat-x top left;
}
@media (min-width:852px) {
    header {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
}header nav {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
}
header .logo {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
nav, nav .menu-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}

nav .menu-container .main-nav ul {
    display: block;
}

nav .menu-container .main-nav ul li {
    display: inline;
    text-transform: uppercase;
    padding: 0 25px 0 0;
    font-weight: 600;
    color: #282828;
    letter-spacing: 3px;
    font-size: 0.8rem;
}


.logo {
    min-width: 90px;
}
.logo h1 {
    background: url(assets/img/Papadakis-logo.png) 20px center no-repeat;
    background-size: 200px;
    text-indent: -9999px;
    width: 239px;
    height: 52px;
}
button, button span {
    width: 40px;
    position: absolute;
}
@media(min-width:768px) {
    .logo h1 {
    background: url(assets/img/Papadakis-logo.png) 0 center no-repeat;
    background-size: 240px;
}
}button {
    top: 30px;
    right: 20px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    border: none;
    background: #f3f3f3;
    color: transparent;
    cursor: pointer;
}
button span {
    right: 0;
    top: 5px;
    height: 4px;
    background: #f3608b;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
button span:nth-child(2) {
    top: 21px;
}
button span:nth-child(3) {
    top: 37px;
}
@media (min-width:852px) {
    header .logo {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
button {
    display: none;
}
}button.open span {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 21px;
}
button.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
button.open span:nth-child(3) {
    opacity: 0;
}
nav {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    display: flex;
}
nav .menu-container {
    position: absolute;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 500;
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    background: url(assets/img/header-bg.jpg) repeat-x top left;
    width: 100%;
    min-height: calc(100vh - 97px);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
@media (min-width:1024px) {
    nav .menu-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
}@media (min-width:852px) {
    nav .menu-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    margin: 20px;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    min-height: inherit;
    width: auto;
    position: relative;
}
}@media (min-width:1150px) {
    nav .menu-container {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
}nav .menu-container.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
nav .menu-main-menu-container {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
}
nav ul.menu {
    margin: 0 20px;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
@media (min-width:852px) {
    nav ul.menu {
    margin: 12px 4px 0 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
nav ul.menu li a {
    text-align: right;
}
}@media (min-width:990px) {
    nav ul.menu {
    margin: 0;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
nav ul.menu li a {
    text-align: center;
}
}nav ul.menu li {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
}
nav ul.menu li a {
    text-shadow: 1px 1px #eee;
    display: block;
    padding: 5px 0;
    color: #000;
    font-size: 0.8rem;
    letter-spacing: 4px;
}
.book-categories, nav .menu-form-and-social {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}
nav .menu-form-and-social {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
@media (min-width:768px) {
    nav .menu-form-and-social {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
}nav form {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    margin: 10px 20px;
}
nav form label {
    display: none;
}
nav form input {
    border: 1px solid #bbb;
    padding: 7px 0 7px 30px;
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/glass.svg) 7px 9px no-repeat #f3f3f3;
    background-size: 17px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
@media(min-width:990px) {
    nav form {
    margin: 0;
    text-align: right;
}
nav form input {
    width: 160px;
}
nav form input.active {
    width: 240px;
    border: 1px solid #bbb;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
}nav form input[type=submit] {
    position: absolute;
    left: 0;
    text-indent: -9999px;
    border: 0;
    padding: 0;
    height: 0;
    width: 0;
    background: 0 0;
}

/*
nav ul.social {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0;
    text-align: center;
}

@media (min-width:990px) {
        
        nav ul.social {
        -webkit-box-flex: 3;
        -webkit-flex: 3;
        -ms-flex: 3;
        flex: 3;
    }
}*/

nav ul.social li {
    display: inline-block;
    width: 45px;
    }
nav ul.social li a {
    display: block;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    text-indent: -9999px;
    background-size: 25px;
}
nav ul.social li.twitter a {
    background: url(assets/img/icons/twitter.svg) center no-repeat;
    background-size: 29px;
}
nav ul.social li.facebook a {
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/facebook.svg) center no-repeat;
    background-size: 26px;
    position: relative;
    top: -1px;
}
nav ul.social li.googleplus a {
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/google-plus.svg) center no-repeat;
    background-size: 26px;
    position: relative;
    top: 2px;
}
#authors, #books {
    background: #ffffff;
}
.book-categories {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    margin-top: 40px;
}
footer section.links, footer ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -webkit-box-direction: normal;
}
@media (min-width:768px) {
    .book-categories {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
}.book-categories a {
    /* -webkit-box-flex: 1; */
    -webkit-flex: auto;
    -ms-flex: auto;
    /* flex: auto; */
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0 9px;
}
.book-categories a.active {
    color: #f3608b;
}
footer {
    padding: 0 0 100px;
    background: url(assets/img/footer-fruit.jpg) center bottom repeat-x #000000;
    background-size: 300%;
    text-align: center;
}
@media (min-width:489px) {
    footer {
    background-size: 200%}
}@media (min-width:768px) {
    footer {
    background-size: 100%}
}footer .wrapper {
    max-width: 1000px;
}
footer section.links {
    background: #f3608b;
    padding: 20px;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media (min-width:768px) {
    footer section.links {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    
    footer section.links .news-letter p {
        margin: 30px 0;
    }
}

footer section.links .news-letter {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 30px 0 0;
    color: #fff;
    background: url(assets/img/icons/env.svg) center 0px no-repeat;
    background-size: 35px;
}
footer section.links .news-letter form input {
    width: 250px;
    padding: 13px 15px 11px;
    border: none;
    font-family: proxima-nova, sans-serif;
    color: #282828;
}
.author .author__info h3, .author-box .author-box__info h3, footer .footer-contact, .footer-contact-2 , footer p.address {
    font-family: minion-pro, serif;
}
footer section.links .news-letter form input[type=submit] {
    position: relative;
    width: 40px;
    right: -130px;
    top: -34px;
    background: 0 0;
    z-index: -1;
    color: transparent;
}
footer section.links .download {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
}
footer section.links .download .download__text {
    max-width: 200px;
    margin: 0 auto;
}

footer section.links .download .download__text p {
    line-height: 1.8rem;
}

footer section.links .download .download__image img {
    height: 100px;
}
footer section.contact {
    padding: 20px 20px 100px;
}
footer img.footer-logo {
    width: 260px;
    margin: 40px 0 30px;
}
footer p.address {
    color: #ffffff; 
    font-size: 0.9rem;
    margin: 0 0 18px;
    margin: 18px 0 10px;    
    letter-spacing: 1px;
}

footer p.copy {
    color: #848485;
}
footer a {
    color: #fff;
}
footer span.drop-cap {
    color: #f3608b;
}
footer ul {
    margin: 48px auto 0;
    padding: 0;
    display: block;
    max-width: 600px;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
@media (min-width:549px) {
    footer ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
}footer ul li {
    padding: 12px;
    text-align: center;
    display: inline;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

footer ul li a {
    color: #fff;
}

footer ul.footer-social {
    margin: 40px auto;
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 205px;
    clear: both;
}


footer ul.footer-social li {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    height: 50px;
}
footer ul.footer-social li a {
    display: block;
    width: 100%;
    height: 50px;
    text-indent: -9999px;
}
footer ul.footer-social li.twitter a {
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/twitter.svg) center no-repeat;
    background-size: 30px;
}
footer ul.footer-social li.facebook a {
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/facebook.svg) center no-repeat;
    background-size: 27px;
}
footer ul.footer-social li.googleplus a {
    background: url(http://darkbluehq.com/papadakis/wp-content/themes/papadakis/assets/img/icons/google-plus.svg) center no-repeat;
    background-size: 27px;
}


.footer-contact, .footer-contact-2 {
    width: 100%;
    padding: 5px 10px;
    text-align: center;
    
}

@media (min-width:768px) { 

    .footer-contact {
        margin: 6px 0;
        width:50%;
        float: left;
    }

    .footer-contact a {
       letter-spacing: 1px;
       float: right;
       padding: 0 10px 0 0;
    }


    .footer-contact-2{
        margin: 6px 0;
        float: left;
        width: 50%; 
    }

    .footer-contact-2 a {
       letter-spacing: 1px;
       float: left;
       padding: 0 0 0 10px;
    }

}


.bx-controls {
    /* display: none; */
}
.slider-wrapper {
    position: relative;
    z-index: 300;
}
#slider-next a, #slider-prev a {
    display: block;
    height: 50px;
    width: 50px;
    background: url(http://darkbluehq.com/papadakis2/wp-content/themes/papadakis/assets/img/icons/chevron-right.svg) center no-repeat;
    background-size: 30px;
    position: absolute;
    top: calc(50% - 25px);
    right: 30px;
    text-indent: -99999px;
    z-index: 1000;
}
#slider-prev a {
    left: 30px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
ul.home-slider {
    margin: 0;
}
ul.home-slider li {
    box-shadow: 0 4px 2px -2px gray;
}

.slider-grad {
        background: black; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgba(0,0,0,0), black); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(0,0,0,0), black); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(0,0,0,0), black); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(0,0,0,0), black); /* Standard syntax (must be last) */
}

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    max-width: 900px;
    margin: 10px auto;
    display: block;
    text-align: center;
    font-weight: normal;
}

}ul.bx-book-category-slider {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}
ul.bx-book-category-slider li {
    max-height: 330px;
    display: inline-block;
    vertical-align: bottom;
}
#slider-next-cat a, #slider-prev-cat a {
    display: block;
    height: 30px;
    width: 30px;
    background: url(data:image/svg+xml, %3Csvg%20height%3D%2212%22%20viewBox%3D%220%200%209%2012%22%20width%3D%229%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%2F%3E%3Cpath%20d%3D%22M1.5%200L.1%201.4%204.7%206%20.1%2010.6%201.5%2012l6-6-6-6z%22%20fill%3D%22%23f3608b%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) center no-repeat;
    background-size: 20px;
    position: absolute;
    top: calc(50% - 15px);
    right: 10px;
    text-indent: -99999px;
    z-index: 1000;
}
#slider-prev-cat a {
    left: 10px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.book-carousel .slider-wrapper .bx-wrapper {
    margin: 0 auto;
}



.author-box {
    padding: 7.5%;
}
@media(min-width:768px) {
    .author-box {
    padding: 0;
}
}.author-box .author-box__image {
    background: url(assets/img/author_template.png) top center no-repeat;
    background-size: 150px;
    width: 150px;
}
.author-box .author-box__image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}
.author {
    padding: 7.5%;
    margin-bottom: 20px;
    /* min-height: 740px; */
    display: inline;
}
.author .author__image {
    /* background: url(assets/img/author_template.jpg) top center no-repeat; */
    background-size: 150px;
    /* width: 20%; */
}
.author .author__image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}
@media (min-width:1062px) {
    .author-box .author-box__image {
    min-height: 210px;
    float: left;
    margin-right: 30px;
}
.author .author__image {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}
.author .author__info {
    width: 66%;
    float: left;
}
}@media(min-width:1062px) {
    .author .author__info h3, .author-box .author-box__info h3 {
    margin-top: 0;
}
}.author .author__info .author__book {
    display: inline-block;
    vertical-align: bottom;
    margin: 20px 20px 20px 0;
}
.author .author__info .author__book a {
    display: block;
    max-width: 100px;
    max-height: 265px;
    overflow: hidden;
}
.author .author__info .author__book a img {
    width: 100px;
    height: auto;
}


/* Book List Page */


.bookgrid {
    margin: 0 0 200px;
    width:100%;
}

@media(min-width:600px) {
  .bookgrid {
    width:500px;
    margin:auto
  }
}

@media(min-width:750px) {
  .bookgrid {
    width:700px;
  }
}

@media(min-width:900px) {
  .bookgrid {
    width:800px;
  }
}

@media(min-width:1100px) {
  .bookgrid {
    width:1000px;
  }
}

@media(min-width:1400px) {
  .bookgrid {
    width:1300px;
  }
}


.book-tile {
    width: 100%;
    margin: 0 0 50px 0;
    position:relative;
    float: left;
}

@media(min-width:600px) {
.book-tile {
    width: 50%;
    height:300px
}
}

@media(min-width:750px) {
.book-tile {
    width: 50%;
    height:360px
}
}

@media(min-width:900px) {
.book-tile {
    width: 33.333333%;
    height:300px
}
}

@media(min-width:1100px) {
.book-tile {
    height:370px
}
}

@media(min-width:1250px) {
.book-tile {
    width: 24.5%;
    height:300px
}
}

@media(min-width:1400px) {
.book-tile {
    height:360px
}
}

.book-tile img {
    /* position:absolute; */
    bottom:0;
    left:0
}

.book-tile h2 {
    /* position:absolute; */
    /* top:410px; */
    /* left:0; */
    font-size: 1.1rem;
    text-align:center;
    width:100%;
    margin: 0;
    padding: 10px;
    font-weight: 100;
}


/* Book List Page */


.book-page h4 {
    /* text-transform:uppercase; */
    font-weight: 500;
    font-size: 0.9rem;
    line-height:1.6;
    margin-bottom:30px
}


/* Author List Page */

.books-by-author {
    width: 140px;
    float:left;
    margin:15px 4% 0 0;
    position:relative;
}


/* About Page */

.about-content h2 {
    font-family: minion-pro, serif;
    font-size:2rem;
    margin: 0 0 30px 0;
}

.about-content p {
    margin-bottom:20px
}

.about-content {
    /* padding:50px 10% */
}

.content-hero {
    font-weight:600;
}

.about-images {
    margin:50px 0
}

.about-images img {
    width:100%;
    float:left
}

.about-images img:first-child {
    margin-bottom:50px
}

@media (min-width:730px) {

    .about-images img {
        width:48%
    }
    .about-images img:first-child {
        margin:0 4% 0 0
    }

}


@media (min-width:960px) {

    .about-content {
        /* padding:80px 0; */
        width:767px;
        margin:auto;
    }
}


@media(min-width:768px) {
    .author {
    padding: 0;
}
.book {
    width: 17%;
}
}.book h2 {
    margin-left: 0;
    font-weight: 100;
    font-size: 1.2rem;
}
.book-page h1 {
    font-size: 300%;
    margin: 0 0 8px 0;
    line-height: 1.06;
}
.book-page h1.book-sub-title {
    font-size:1.5rem;
    line-height: 1.2;
    margin: 0 0 18px 0;
}
.book-page h2 {
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 3px;
    font-style:italic;
    color: #8B8B8B;
}
.book-page .fifty:nth-child(n+1) {
    padding-right: 30px;
}
.book-page .cover {
    padding-left: 40px;
}
.book-page .details {
    width: 30%;
    padding-right: 20px;
    float: left;
    
}
.book-page .details p {
    margin: 0 0 10px;
    line-height: 1.3;
    font-weight: 500 !important;
}
.book-page .description {
    width: 70%;
    float: left;
}
.book-page .description p {
    margin-top: 0;
}
.book-page .description a {
    display: inline-block;
    /* padding: 10px 30px; */
    color: #f3608b;
    /* border: 1px solid #f3608b; */
    margin: 20px 0 0 0;
}
.book-images .row .book-img {
    /* display: inline-block; */
    vertical-align: bottom;
    width: 32%;
    margin: 2%;
    float: left;
}
.book-images .row .book-img:first-child {
    width: 100%;
    margin: 10px 0;
}
.book-images .row .book-img:first-child img {
    max-width:100%;
    min-width:100%
}

.book-images .row .book-img:nth-child(n+2) {
    margin-left: 0;
}
.book-images .row .book-img:last-child {
    margin-right: 0;
}
.book-author .wrapper {
    border-bottom: 1px solid #f3f3f3;
}
.book-author .wrapper .fifty {
    padding-right: 100px;
}
.book-author .wrapper .testimonials {
    margin-top: 55px;
    padding-right: 0;
}
.related .related__book {
    width: 25%;
    /* margin: 20px; */
    /* display: inline-block; */
    /* vertical-align: bottom; */
    float: left;
}
#contact form {
    padding-right: 30px;
}
#contact form input, #contact form textarea {
    width: 100%;
    border: 1px solid #f3f3f3;
    margin-top: 10px;
    padding: 10px;
}
#contact .directly {
    border-left: 1px solid #f3f3f3;
    padding-left: 50px;
}

.remove-btm-pad {
    padding: 70px 7.5% 0px !important;
}
}


/* generic */


textarea:focus, input:focus{
    outline: none;
}

*:focus {
    outline: none;
}

.links .wrapper.spaced {
    padding: 70px 0;
}

.author-box__info a {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.author-box__info h2 {
    font-size: 1.5rem;
}


/* Home - About */


.main-link {
    padding: 11px 0 0;
}

.main-link a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.sub-authors {
    font-size:0.9rem;
    font-style:italic;
    color:#aaa;
    margin: 0 0 30px 0;
}

.book-images {
    margin-top:-90px
}

.book-author {
    margin-top:-130px
}

.book-related {
    margin-top:-50px
}


.testimonial p {
    font-size:1.1rem;
    line-height:1.3;
    font-style:italic
}

.testimonial p span:last-child {
    font-style:normal;
} 

.book-images .book-img {
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
}

.related-title {
    text-align:center
}

@media (min-width: 768px)
.wrapper.spaced {
    padding: 70px 7.5% 70px;
}

.book-carousel,
.slider-cta {
    margin-top:-25px
}

#authors .fifty {
    padding-right:90px
} 

.social {
    padding:0 0 0 20px
}

.main-nav li a {
    color:#333;
    transition:ease all 0.2s
}

footer .main-nav li a {
    color:#fff;
    transition:ease all 0.2s
}

.main-nav li a:hover {
    color:#f3608b
}




#authors .author-list {
    width:80%;
    margin:auto
}

#authors .author-box {
    float:left;
    margin-bottom:60px;
    border-bottom:1px solid #eee;
    padding-bottom:60px
}

.author-box-img {
    width:100%;
    text-align:center;
    float:left;
    margin-bottom: 30px
}

    .author-box-img img {
        border-radius:100%;
        width:200px;
    }

.author-box-text {
    width:100%;
    float:left
}

@media (min-width: 768px) {
   .author-box-text {
        width:70%;
        float:left
    } 

    .author-box-img {
        width:20%;
        margin-right:0;
        margin-right:10%;
        margin-bottom: 0
    }
    .author-box-img img {
        width:300px
    }
}



.author__image-single img {
    max-width:90%
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
  left: 10px;
  background: url(images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
  right: 10px;
  background: url(images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
  background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
  background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}


/* PAGER */

.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
color: #666;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #ccc;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-top:60px
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #f3608b ;
}

.header-slider .bx-wrapper .bx-pager {
    display:none
}

/* ==========================================================================
   About 
========================================================================== */

.content {
    width: 85%;
    margin: auto;
    padding: 100px 0;
}

.about-left-nav {
   width: 100%;
   float: left;
   margin-right: 7.7985%;
   padding-top:12px;
   margin-bottom: 0px;
}

.about-left-nav ul {
    margin:0;
    padding:0
}

.about-left-nav li {
    list-style:none
}

@media only screen and (min-width: 700px) {

  .about-left-nav {
    width: 20%;
    float: left;
    margin-right: 10%;
    padding-top:12px;
    margin-bottom:0
  }
  
}


.about-left-nav li {
  font-weight:600;
  font-size:0.75rem;
  margin-bottom:18px;
  padding: 0 0 18px;
  border-bottom: 1px solid #D8D8D8;
  /* list-style:inside disc; */
}

.about-left-nav li a {
  color:#282828;
  /* padding-left:12px */
}

.about-left-nav li.selected a, .about-left-nav li.selected {
  color:#f78f1e
}

.about-left-nav li:last-child {
  border-bottom: none;
}


.about-content {
  width: 100%;
  float:left;
}

@media only screen and (min-width: 700px) {
  .about-content {
    width: 65.73%;
    float:left;
  }
}




#authors {
    width:90%;
    max-width:1400px;
    margin:auto;
    padding-bottom: 100px;
}

.home-author-box {
    width:50%;
    float:left;
    padding: 0 60px;
    min-height:400px
}

.home-author-img {
    width:40%;
    float:left;
    margin-right:10%
}

.home-author-img img {
    border-radius:100%
}

.home-author-text {
    width:50%;
    float:left
}

.home-author-text h2 {
    margin:0 0 20px 0
}



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

    .home-author-box {
        width:100%;
    }

    .home-author-img {
        width:30%;
    }

}

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

    .home-author-img {
        text-align:center;
        width: 100%;
        margin: 0 0 30px 0;
    }

     .home-author-text {
         width:100%;
         text-align:center;
         margin-bottom:60px
     }

    .home-author-img img {
        width: 280px;
    }


}

#authors .wrapper {
    margin-bottom:60px
}

ul.children {
    margin-top: 19px;
    border-top: 1px solid #D8D8D8;
    padding-top: 17px;
}