/* Basic typeface styles */

p,
body {
    font-family: 'Open Sans', sans-serif;
    color: #2e2925;
    font-size: 18px;
}

.invert h3,
.invert p {
    color: #ffffff;
}

body {
    background-color: #e9e9e9;
}

h1 {
    font-family: 'Kirang Haerang', cursive;
}

h1>.thelittle {
    font-size: 100px;
    color: #df4522;
    margin-left: -50px;
}

h1 .cockroach {
    font-size: 200px;
    color: #026ec7;
    line-height: 5%;
    letter-spacing: -8px;
}

/* Commonly used styles */

.nav {
    margin-bottom: 0px;
}

#wrapper>.row {
    margin-left: 0px;
}

#wrapper .row .moduletable {
    max-width: 1400px;
    margin: auto;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.item-page .page-header {
    display: none;
}

.reviews #header .page-header,
.blog #header .page-header {
    display: none;
}

.reviews .page-header h3 {
    display: none;
}

.reviews .page-header {
    border-bottom: 0px;
}

#header .moduletable>div {
    padding-left: 30px;
}

#menu {
    background-color: #2a2a2a;
    z-index: 1000;
    width: 100%;
    position: absolute;
}

#menu li {
    display: inline-block;
    text-transform: uppercase;
    padding-left: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -1px;
}

#menu li.divider {
    width: 100px;
}

#menu li.divider img {
    max-width: 37px;
    margin-top: -21px;
}

.nav>li>a,
button a,
button a:hover {
    color: #fdfb8b;
    text-decoration: none;
    font-style:italic;
    font-size: 18px;
}

.nav>li>a:hover {
    background-color: transparent;
    color: #f2f2b6;
}

#menu.affix {
    top: 0;
    width: 100%;
    line-height: 100%;
    position: fixed;
}

.navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-toggle {
    border: 1px solid #ffffff !important;
}

.navbar {
    border: 0px;
}

.navlogo img {
    max-width: 100px;
    height: auto;
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent !important;
}

.nav>li.active>a {
    color: #f2f2b6;
}

.container-fluid {
    width: 100%;
}

/* Homepage items */

#header {
    display: block;
}

#header {
    padding-top: 500px;
    background-repeat: no-repeat;
    background-size: 115%;
    background-attachment: scroll;
    background-position: center center;
}

.homepage #header {
    padding: 0;
}

#header .moduletable>div {
    padding: 0;
}

#header .moduletable {
    max-width: 500px;
    margin: auto;
    color: #2e373e;
}

.homepage #header .moduletable {
    max-width: 100%;
    margin: 220px 0 100px;
}

.homepage #header {
    background-image: url('../images/homepageheaderbg.jpg');
    background-attachment: fixed;
    background-position: center -100px;
    background-size: cover;
}

.homepage #header .title {
    max-width: 700px;
    margin: auto;
    margin-bottom: 20px;
}

.homepage #header .subtitle {
    font-family: 'Open sans', sans-serif;
    max-width: 500px;
    margin: auto;
    font-style: italic;
    color: #f2f2b6;
    font-size: 22px;
}

.mainlogo {
    max-width: 350px;
}

.tagline {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.logo {
    max-width: 85%;
    margin: auto;
}

.logo img {
    max-width: 100%;
    max-height: 300px;
}

.quote {
    font-size: 18px;
    line-height: 140%;
    max-width: 255px;
    margin: auto;
}

.quotename {
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 20px;
}

#content1 .item-page>div>p,
#content1 .item-page>div>div {
    display: inline-block;
}

#content1 .item-page>div>div.homepagereview>p {
    display: block;
}

.homepagereview>p {
    font-size: 24px;
}

.homepage #content1 {
    padding-top: 150px;
    padding-bottom: 80px;
}

.circletext {
    color: #f2f2b6;
    font-style:normal;
    font-size: 20px;
    max-width: 250px;
    background-image: url("../images/mainsplashleft.svg");
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: auto;
    padding: 40px;
    font-style: italic;
    text-transform: uppercase;
}

.circletext.red {
    background-image: url("../images/mainsplashright.svg");
    padding: 55px 40px 65px 45px;
}

.circletext>div {
    font-size: 24px;
    font-weight: bold;
    margin: auto;
    padding-top: 53px;
    padding-bottom: 50px;
    max-width: 180px;
}

#content3 .circletext {
    font-size: 16px;
}

#content3 .circletext {
    padding: 37px;
    background-size: contain;
}

#content3 .circletext .quotefrom {
    color: #ffffff;
    margin-top: 5px;
    font-style: normal;
}

#content3 .circletext.red {
    padding: 40px 40px 45px 54px;
    background-size: cover;
}

#content3 .third {
    width: 33%;
    display: inline-block;
    vertical-align: middle;
}

.homepagecover {
    margin-bottom: 0;
}

.dark {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: #ffffff;
    text-transform: none;
    border-width: 35px 20px;
}

.dark img {
    max-width: 100%;
    margin-top: 10px;
}

.circletext.larger {
    text-transform: none;
    border-width: 35px 35px;
    max-width: 180px;
    color: #ffffff;
    background-image: url('../images/circletextbg.jpg');
    background-repeat: no-repeat;
    background-color: transparent;
    border-color: transparent;
    background-position: center center;
    background-size: 130%;
    box-shadow: 0px 0px 0px;
    margin: auto;
    margin-top: 30px;
}

.homepagecover img {
    max-width: 500px;
}

#content2 div[itemprop="articleBody"],
#main div[itemprop="articleBody"],
#main div[itemprop="blogPost"] {
    max-width: 664px;
    margin: auto;
}

#menu .item-101 {
    display: none;
}

#content2 img {
    max-width: 350px;
}

#wrapper .row#content2 .moduletable.span4 {
    margin-left: 40px;
    margin-right: 40px;
}

#content2 div[itemprop="articleBody"]>p,
#main div[itemprop="articleBody"]>p,
#main div[itemprop="blogPost"] p,
.articlewrapper a,
body.blog #main a,
.bt-introtext {
    text-align: justify;
    font-size: 22px;
    line-height: 170%;
    padding-bottom: 0px;
}

.articlewrapper a.readmore {
    font-size: 16px;
}

#main div[itemprop="blogPost"] p.readmore {
    text-align: center;
}

p>a {
    text-decoration: underline;
}

h1 {
    text-align: center;
}

h3,
h2 {
    font-weight: 300; 
    font-size: 42px;
    line-height: 100%;
    text-align: center;
}

h2 {
    color: #e9e9e9;
    max-width: 450px;
    margin: auto;
}

h3 {
    font-size: 38px;
    font-weight: bold;
    color: #2e2925;
}

h4 {
    font-size: 25px;
    margin: 20px 0;
}

#header h3 {
    margin-top: -25px;
}

body.blog h2 {
    font-size: 32px;
}

dd.published {
    text-align: center;
    color: #ef8633;
    font-size: 18px;
    padding-bottom: 15px;
}

body.blog .page-header {
    padding-bottom: 0px;
}

.slides_container {
    text-align: center;
}

.reviews h2,
.reviews .bt-title {
    text-transform: none !important;
    font-size: 28px;
    max-width: 70%;
    margin: auto;
    font-weight: 700;
    line-height: 34px;
    color: #333 !important;
}

.bt_handles li a {
    background-image: url('../images/pagination2.png');
}

#btcontentslider106 .bt_handles {
    bottom: 0px !important;
    right: 39% !important;
}

.contact h3 {
    margin-bottom: 50px;
}

#wrap-contact-form98 .rf_submit {
    margin: auto;
    margin-top: 50px;
}

.sscf-success-message {
    text-align: center;
}

.reviews .name {
    text-align: center !important;
    font-weight: 700;
    color: #ef8633;
}

.blog.reviews div[itemprop="blogPost"] .page-header {
    margin-bottom: 0px;
}

.reviews #main div[itemprop="blogPost"],
.blog #main div[itemprop="blogPost"] {
    padding: 0px;
    border-bottom: 1px solid #36270d;
}

/* Books page styling */

body.blog #main h2 a {
    text-align: center;
    font-size: 36px;
    color: #000000;
}

body.blog #main h2 a:hover {
    text-decoration: none;
}

.span4 {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.blog .page-header {
    border-bottom: 0px solid #ffffff;
}

.blog .item-image {
    text-align: center;
}

.blog .item-image img {
    max-width: 350px;
    margin-bottom: 50px;
}

.books .blog .item-image img {
    max-width: 450px;
    margin-bottom: 0;
}

.buyoptions {
    max-width: 650px;
}

.buyoption {
    width: 49%;
    display: inline-block;
    margin-bottom: 30px;
}

#content3 .row {
    margin-left: 0;
    margin-right: 0;
}

.buyoption > div {
    color: #2e383c;
}

.buyoption .btn-primary,
.books button {
    font-size: 20px;
    margin: auto;
    padding: 5px 50px;
    margin-bottom: 15px;
}

form[name="instantpaypal"]>div {
    display: none;
}

form[name="instantpaypal"] input[type="image"],
.buyoption img {
    width: 190px;
    height: auto;
}

.buyoption img {
    margin-bottom: 15px;
}

p.buylabel {
    text-align: center;
    color: #000000;
    padding-top: 10px;
}

.articlewrapper .moduletable {
    text-align: center;
}

body.books {
    background-color: #e9e9e9;
}

.lowercase {
    text-transform: lowercase;
}

#content2 strong {
    font-weight: bold;
}

#content3 {
    padding-top: 70px;
    padding-bottom: 70px;
    background-image: url('../images/content3bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

.abouttheauthor #content3 {
    background-position: center bottom;
}

#content3 .quote,
#content3 .quotename {
    color: #ffffff;
}

#content3 img {
    max-width: 450px;
}

.btn-primary {
    background-image: none;
    color: #ffffff;
    font-size: 26px;
    padding: 0 50px;
    margin: 20px 0px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    border: 0px;
    background-color: #d93a2f;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background: linear-gradient(#e11a00, #ff6600);
    color: #000000;
    border-color: #f2f2b6;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
    -webkit-transition: color 500ms linear;
    -ms-transition: color 500ms linear;
    transition: color 500ms linear;
}

.books form {
    display: inline-block;
}

a.btn-primary {
    text-decoration: none;
}

#content4 {
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

#footer {
    padding-top: 30px;
    padding-bottom: 50px;
    background-color: #e9e9e9;
}

#footer .center {
    max-width: 700px;
    margin: auto;
}

#footer div,
#footer div a {
    color: #6c767d;
    font-size: 13px;
}

#footer span {
    border-left: 1px solid #6c767d;
    padding-left: 20px;
    padding-right: 20px;
}

#footer span:first-child {
    border: none;
}

#footer .socialmedia span,
#footer .socialmedia {
    padding: 0px;
}

.homepagereview img {
    width: 200px;
    height: auto;
}

.blog.reviews > div.clearfix {
    padding-bottom: 30px;
}

@media (min-width: 1024px) {
    #content1 .homepagecover img {
        max-width: 550px;
        margin-left: -40px;
        margin-right: -40px;
    }
}

/* Main article content */

#main div[itemprop="articleBody"] {
    padding-top: 5%;
    padding-bottom: 5%;
}

.reviews #main div[itemprop="articleBody"] {
    padding-top: 0%;
}

#main .item-page.blog div[itemprop="articleBody"] {
    padding-top: 0px;
}

.item-page.blog .page-header {
    display: block;
    max-width: 664px;
    margin: auto;
}

.item-page.blog .page-header h1 {
    display: none;
}

.socialmedia span {
    background-image: url('../images/socialmedia.svg');
    min-height: 20px;
    min-width: 20px;
    float: left;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 10px;
}

.twitter {
    background-position: 32% top;
}

.instagram {
    background-position: top right;
}

h3[itemprop="headline"] {
    margin-bottom: 50px;
}

.privacypolicy .page-header {
    display: block;
}

.privacypolicy #main div[itemprop="articleBody"] {
    padding-top: 5%;
}

#content1 {
    background-color: #d2d0cd;
    background-image: url("../images/content1bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

#content1 .item-page>div>div.block {
    display: block;
    margin-bottom: 20px;
}

#content1 .associationline {
    font-style:italic;
    color: #2e2925;
    text-transform: uppercase;
    font-weight: bold;
}

#content1 .bodylogo {
    max-width: 250px;
}

#content1 .moduletable {
    max-width: 80%;
    margin: auto;
}

#content1 #box2 .homepage {
    max-width: 550px;
}

.overlap {
    display: inline-block;
    position: relative;
}

.overlap.left {
    max-width: 39%;
    z-index: 50;
}

.overlap.left>img {
    margin-top: 60px;
}

.overlap.right {
    max-width: 60%;
    margin-left: -50px;
    z-index: 40;
}

.overlap.right>img {
    margin-bottom: 60px;
}

.overlap img {
    max-width: 100%;
}

#content2 .overlap img {
    max-width: 150px;
    margin-top: 0;
    vertical-align: bottom;
}

#content2 .overlap.right {
    background-image:url("../images/speechbubble.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    padding-right: 55px;
    padding-left: 55px;
    padding-top: 25px;
    padding-bottom: 46px;
    vertical-align: bottom;
}

.textcontainer {
    padding-left: 25%;
}

.textcontainer p {
    max-width: 300px;
}

#content2 {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

#content2::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:url("../images/abouttheauthorbg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: -1;
}

/* Responsive code for desktop only */
@media (min-width: 1025px) {
    .circletext.larger {
        display: none;
    }
    
    #content2 div[itemprop="articleBody"] {
        margin-top: -50px;
    }
}

/* Responsive code for large desktop screens */

@media (min-width: 1400px) {
}


/* Responsive code for tablet and desktop screens */

@media (min-width: 768px) {
    nav.navbar>div div.navlogo {
        display: none;
    }
    
    .navbar {
        margin-bottom: 0px !important;
    }
    
    #content1 .item-page>div>p.circletext {
        margin-bottom: 20px;
    }
    
    #content4 .socialmediafeed {
        width: 49%;
        display: inline-block;
        overflow: hidden;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1320px) and (min-width: 767px) {
    .roaches {
        padding-top: 300px;
        background-image: url("../images/roaches-narrow.png");
        background-size: 800px;
    }
    
    #header .roaches .moduletable {
        margin-top: -200px;
        margin-bottom: 200px;
    }
}

/* Responsive code for tablet screens */

@media (max-width: 1024px) and (min-width: 768px) {
    
    .navbar-collapse {
        padding-right: 0px;
        padding-left: 0px;
    }
    
    #menu li.divider {
        max-width: 100px;
    }
    
    #header .logo img {
        max-width: 350px;
    }
    
    #content1 .item-page>div>p.circletext {
        margin-top: 110px;
        vertical-align: top;
        display: inline-block;
    }
    
    #content1 .item-page>div>p.homepagecover {
        display: inline-block;
    }

    h3 {
        line-height: 120%;
    }
    
    .reviews h1 {
        padding-top: 30px;
    }
    
    #content3 img {
        max-width: 100%;
    }
    
    .homepage #header {
        background-attachment: scroll;
        background-size: 135%;
    }
    
    #content1 {
        background-size: contain;
        background-attachment: scroll;
    }
    
    #content3 {
        background-attachment: scroll;
    }
}


/* Responsive code for portrait tablet */

@media (min-width: 768px) and (max-width: 1023px) {    
    #content1 .item-page>div>p.circletext {
        margin-top: 0px;
        display: block
    }
    
    .circletext.dark {
        margin-top: -50px !important;
    }
    
    .homepage #content1 {
        background-size: 120%;
        background-position: center center;
    }
    
    .homepagecover {
        padding-right: 0;
    }
    
    #header {
        background-size: cover;
    }
    
    .roaches {
        background-size: 700px;
    }
    
    #content2 .span4 {
        width: 100%;
    }
    
    #wrapper .row#content2 .moduletable.span4 {
        margin: 0;
    }
    
    #content3 .third {
        display: block;
        width: 60%;
        margin: auto;
    }
    
    .homepage #header {
        background-size: 180%;
    }
    
    #content3 img {
        margin-top: 20px;
    }
}

/* Responsive code for phone screens  */

@media (max-width: 767px) {
    
    body {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #header,
    #content2,
    #content3,
    #content4,
    #main {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    #header .moduletable>div {
        padding-left: 0px;
    }
    
    #content1 .homepagecover img,
    #content3 img,
    #content4 img {
        width: 90%;
        max-width: 350px;
    }
    
    #content3 img {
        max-width: 280px;
    }
     
    .navbar {
        margin-bottom: 0px;
    }
    
    #menu li {
        display: block;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
    }
    
    #menu .divider {
        display: none;
    }
    
    #menu .navlogo {
        width: 30%;
        height: 50px;
    }
    
    #menu .navbar-header {
        width: 65%;
    }
    
    .container-fluid>.navbar-header {
        margin: 0px !important;
    }
    
    #menu .navlogo,
    #menu .navbar-header {
        display: inline-block;
        vertical-align: middle;
    }
    
    .navbar-collapse {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    
    #header {
        background-attachment: scroll;
    }
    
    .homepage #content1 {
        background-repeat: no-repeat;
        padding-top: 70px;
    }
    
    .homepagecover {
        padding-right: 0;
    }
    
    #main {
        padding-top: 20px;
    }
    
    body.blog #main div[itemprop="articleBody"] {
        margin-top: 0px;
    }
    
    body.blog #main,
    .abouttheauthor #main,
    .contact #main,
    .reviews #main {
        background-position: center 60px;
    }
    
    h1,
    h3 {
        font-size: 40px;
    }
    
    .blog h2 {
        font-size: 30px;
    }
    
    .navlogo {
        max-width: 64px;
    }
    
    .navlogo img {
        max-width: 30px;
        margin-top: 4px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    #header {
        padding-top: 250px;
    }
    
    #content1 .homepagecover img {
        max-width: 50%;
        width: auto;
    }
    
    #content2 p {
        hyphens: auto;
    }
    
    .circletext.dark {
        margin-top: -50px !important;
    }
    
    #playButton {
        margin-left: 0px;
    }
    
    .nav>li>a {
        margin: 20px;
    }
    
    h1 .thelittle {
        font-size: 80px;
    }
    
    h1 .cockroach {
        font-size: 170px;
    }
    
    .roaches {
        background-image: none;
    }
    
    .overlap.left {
        max-width: 50%;
    }
    
    .overlap.right {
        max-width: 80%;
    }
    
    #content3 .third {
        width: 49%;
    }
    
    .homepage #header {
        padding-top: 57px;
        padding-bottom: 57px;
        background-position: center center;
    }
    
    .homepage #header .moduletable {
        margin: auto;
    }
    
    #wrapper .row#content2 .moduletable.span4,
    #content2 {
        margin: 0;
        padding: 0;
    }
    
    #content2 {
        padding: 30px;
    }
    
    .homepage #header .title {
        max-width: 90%;
    }
    
    #content3 div[itemprop="articleBody"] .third:nth-child(odd) {
        float: left;
    }
    
    .socialmediafeed {
        display: block;
        width: 100%;
        padding: 0;
        padding-bottom: 20px;
    }
    
    #content2 img {
        max-width: 200px;
    }
    
    .homepage #header,
    #content1,
    #content2,
    #content3 {
        background-attachment: scroll;
    }
    
    #content1 .circletext {
        font-size: 14px;
        max-width: 200px;
    }
    
    .homepagecover {
        margin-top: 20px;
    }
    
    #content1 .circletext.red {
        padding: 64px 10px 65px 30px;
    }
    
    #content3 .circletext {
        font-size: 14px;
    }
    
    #content3 .circletext {
        background-position: center;
    }
    
    #content3 .circletext.red {
        padding: 26px 60px 39px 65px;
        background-position: center center;
        background-size: contain;
        margin-top: 10%;
    }
    
    .buyoption {
        width: 50%;
    }
}

@media (min-width: 531px) and (max-width: 767px) {
    .abouttheauthor #main {
        background-size: contain;
    }
}

/* Responsive code for portrait phones */

@media (max-width: 530px) {
    #footer span {
        display: block;
        border: none;
        padding-bottom: 10px;
    }
    
    .blog #main h1 {
        margin-top: 60px;
    }
    
    #header {
        background-size: 160%;
    }
    
    #content1 .homepagecover img {
        max-width: 110%;
        margin-left: -5%;
    }
    
    h1 .thelittle {
        font-size: 35px;
    }
    
    h1 .cockroach {
        font-size: 100px;
        letter-spacing: -5px;
    }
    
    .homepage #header .center {
        background-size: 356px;
        background-position: center 8px;
    }
    
    #wrapper #content1.row .moduletable {
        max-width: 95%;
        margin: auto;
    }
    
    .overlap.left {
        max-width: 85%;
    }
    
    #content2 .overlap.left {
        position: absolute;
        margin-top: 268px;
        z-index: 40;
    }
    
    .overlap.right {
        max-width: 100%;
    }
    
    .buyoption {
        display: block;
        width: 100%;
    }
    
    #footer span.socialmedia {
        display: none;
    }
    
    #content3 .third {
        width: 95%;
        display: block;
        margin: auto;
        padding: 20px 0;
    }
    
    #content3 img {
        max-width: 100%;
        width: 100%;
    }
    
    #content2 .overlap.right {
        margin-left: 0;
        background-image: url("../images/speechbubblemobile.png");
        background-size: cover;
        padding-right: 35px;
        padding-left: 28px;
        padding-top: 38px;
        padding-bottom: 70px;
    }
    
    .textcontainer {
        padding-left: 0;
    }
    
    .homepage #header .moduletable {
        max-width: 90%;
        margin: 120px auto 100px;
    }
    
    .homepage #header .title {
        max-width: 100%;
    }
    
    #content1 .bodylogo {
        max-width: 65%;
    }
    
}

#box {
    height: 170px;
    overflow: hidden;
    -webkit-transition: height 1.35s ease;
    -moz-transition: height 1.35s ease;
    -o-transition: height 1.35s ease;
    transition: height 1.35s ease;
}

#box.is-active {
    height: 300px;
}


#box2 {
    margin-bottom: 10px;
    height: 215px;
    overflow: hidden;
    -webkit-transition: height 0.75s ease;
    -mox-transition: height 0.75s ease;
    -o-transition: height 0.75s ease;
    transition: height 0.75s ease;
}

#content1 .articlewrapper a {
    color: #95804a;
}

#box.is-active {
    height: 220px;
}

.articlewrapper {
    margin-bottom: 50px;
}

.articlewrapper>a {
    margin: auto;
}