/* Basic typeface styles */

p,
span {
    font-family: 'Trirong', serif;
    color: #172140;
    font-size: 16px;
}

a {
    font-family: 'Trirong', serif;
    font-weight: 300 !important;
}

body {
    background-color: #f1f1f1;
}

h1 {
    font-family: 'Trirong', serif;
    font-weight: 500;
    color: #172140;
    font-size: 48px;
    text-align: center;
}

h1,
h3,
.blog h2 {
    text-transform: uppercase;
    font-family: 'Playfair Display', Serif;
    font-weight: 300;
    font-size: 54px;
    line-height: 100%;
    text-align: center;
}

#content2 div[itemprop="articleBody"]>p,
#main div[itemprop="articleBody"]>p,
#main div[itemprop="blogPost"] p,
.articlewrapper a,
body.blog #main a {
    text-align: justify;
    font-size: 18px;
    line-height: 170%;
    padding-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

/* Commonly used styles */

.nav {
    margin-bottom: 0px;
}

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

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

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

.navbar {
    margin-bottom: 5px;
    margin-top: 3px;
}

#menu {
    background-color: #172140;
    z-index: 1000;
    width: 100%;
}

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

.maximenuck span.separator > img {
    width: 75px;
}

.maximenuck {
    background: initial !important;
    border: 0px !important;
    box-shadow: inset 0px 0px 0px !important;
}

ul.maximenuck li.level1.parent > a {
    padding: 0px !important;
}

div#maximenuck95.maximenuckh ul.maximenuck li.level1.parent > a:after,
div#maximenuck95.maximenuckh ul.maximenuck li.level1.parent > span.separator:after {
    display: none !important;
}

div#maximenuck95 div.floatck {
    background: #172140 !important;
    margin: 16px 0 0 -10px !important;
    border-radius: 0px !important;
    border: 0px !important;
}

div#maximenuck95 ul.maximenuck li ul.maximenuck2 li.maximenuck,
div#maximenuck95 ul.maximenuck2 li.maximenuck {
    border-top: 1px solid #ffffff !important;
}

li.level2 > a {
    padding: 0px 10px !important;
}

.maximenuck span.titreck-title {
    font-family: 'Trirong', serif;
    text-transform: uppercase;
    text-shadow: none !important;
}

.titreck-title {
    color: #ffffff !important;
}

.current .titreck-title {
    color: #b9c1fd !important;
}

.maximenuck span.titreck-title:hover {
    color: #b9c1fd !important;
}

.container-fluid {
    width: 100%;
}

/* Homepage items */

#header.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.swiper-slide > img {
    width: 100%;
}

.swiper-container {
    max-height: 500px;
    background-color: #dadae3;
}


.swiper-slide > img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    width: auto;
}

.tagline {
    text-transform: uppercase;
    font-size: 14px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.maximenucklogo {
    max-width: 85%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.quote {
    font-size: 24px;
    line-height: 140%;
    max-width: 350px;
    margin: auto;
    padding-top: 20px;
}

.quotename {
    font-style: italic;
}

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

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

#content1 {
    padding-top: 200px;
    padding-bottom: 200px;
    background-color: #c5c5d0;
}

#content1 h3 {
    text-transform: uppercase;
    font-family: 'Open sans', sans-serif;
    color: #172140;
    font-size: 36px;
    padding-bottom: 100px;
}

.mod-newsflash-adv > .row-fluid > div {
    background-color: #ffffff;
}

#content1 .img-intro img {
    max-width: 35%;
    margin-top: 50px;
}

#content1 .center {
    max-width: 1024px;
    margin: auto;
}

.mod-newsflash-adv > .row-fluid > div a {
    color: #172140;
    font-size: 30px;
    margin-bottom: 20px;
}

.mod-newsflash-adv .item_content h4 {
    margin-bottom: 60px;
}

#content2 {
    background-color: #cdbeb1;
    background-image: url(../images/bookblurbbg.jpg);
    background-attachment: fixed;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

#content2>div>div.moduletable {
    margin-top: 70px;
    margin-bottom: 70px;
}

#content2 div[itemprop="articleBody"] {
    max-width: 400px;
    margin: auto;
}

#content2 div[itemprop="articleBody"]>p {
    text-align: center;
    font-size: 18px;
    line-height: 170%;
    padding-bottom: 30px;
    font-family: 'Trirong', serif;
}

#content2 div[itemprop="articleBody"] h3 {
    text-transform: uppercase;
    font-family: 'Trirong', serif;
    font-weight: 300; 
    font-size: 54px;
    line-height: 100%;
}

#content2 strong {
    font-weight: bold;
}

#content2 img {
    max-width: 50%;
}

#content4 {
    background-color: #172140;
}

#content4 .quote,
#content4 .quotename {
    color: #ffffff;
    font-weight: 300;
}

#content4 img {
    max-width: 500px;
}

#content4 div[itemprop="articleBody"] {
    margin-top: -25px;
    margin-bottom: 75px;
}

.btn-primary,
.pagination li,
.btn-warning,
.btn-success {
    background-color: #cc9450;
    background-image: none;
    font-size: 30px;
    padding: 0px 50px;
    margin: 20px 0px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    border-color: #cc9450;
}

.btn-primary {
    border: 0;
}

.homepage div[itemprop="articleBody"] p img {
    padding-bottom: 20px;
}

.homepage div[itemprop="articleBody"] .btn-primary {
    padding: 0px 20px;
}

.articlewrapper button {
    display: block;
    margin: auto;
}

.articlewrapper button a,
div[itemprop="articleBody"] button a {
    color: #ffffff;
}

.j2store h3 {
    font-size: 24px;
}

.writings .btn-primary,
.pagination li,
.btn-success {
    font-size: 20px;
}

.btn-primary:hover,
.pagination li:hover {
    background-color: #405665;
}

#content3 {
    background-color: #ffffff;
}

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

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

#footer div,
#footer div a {
    color: #6c767d;
    font-size: 12px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

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

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

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

.privacypolicy .page-header {
    display: block;
    padding-top: 100px;
}

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

body.abouttheauthor div[itemprop="blogPost"] {
    background-image: url('../images/aboutbox.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 30%;
    max-width: 650px;
    margin: auto;
}

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

body.abouttheauthor div[itemprop="blogPost"] .page-header {
    text-align: center;
    padding-top: 1px;
    margin-bottom: 5px;
}

body.abouttheauthor div[itemprop="blogPost"] .page-header h2 {
    font-weight: 300;
    font-family: 'Trirong', serif;
    color: #ffffff;
    max-width: 200px;
    margin: auto;
    margin-top: 20px;
}

body.abouttheauthor div[itemprop="blogPost"].leading-2 .page-header h2 {
    margin-top: 3px;
}

body.abouttheauthor div[itemprop="blogPost"] .item-image {
    text-align: center;
    margin-bottom: 70px;
}

body.abouttheauthor div[itemprop="blogPost"] img {
    max-height: 65px;
    max-width: 65px;
}

body.abouttheauthor h1::after {
    content: "\A MA FFCS CQSW Dip SW Dip Rep St.";
    font-size: 20px;
    white-space: pre;
}

.aboutimage img {
    max-width: 100%;
    max-height: 90%;
    padding-top: 68px;
}

.twocolumn {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 50px;
    -moz-column-gap: 50px;
    column-gap: 50px;
}

#main div[itemprop="articleBody"],
.writings #main,
.shop #main {
    padding-top: 45%;
    padding-bottom: 5%;
}

#content2 div[itemprop="articleBody"],
#main div[itemprop="articleBody"],
#main div[itemprop="blogPost"],
.shop #akeeba-renderjoomla,
.default #akeeba-renderjoomla {
    max-width: 664px;
    margin: auto;
    margin-bottom: 40px;
}

.default #akeeba-renderjoomla {
    margin-top: 200px;
}

.j2store-cart-buttons .btn {
    font-size: 24px;
}

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

.rf_submit {
    margin: auto;
    margin-top: 50px;
}

body.blog #main > div.blogblog,
body.blog #main > div.item-pageblog {
    margin-top: 40%;
}

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

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

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

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

.blog #main div[itemprop="blogPost"] {
    padding: 50px 0px;
    border-top: 2px solid #ffffff;
    border-bottom: 0px;
}

/* Page header backgrounds */

.contact #main,
.blog #main,
.writings #main,
.shop #main,
.speaking #main {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center 68px;
    background-color: #ffffff;
}

.contact #main {
    background-image: url(../images/contactbg.jpg);
}

.blog #main {
    background-image: url(../images/blogbg.jpg);
}

.novels #main {
    background-image: url('../images/novelsbg.jpg');
}

.biographies #main {
    background-image: url('../images/biographiesbg.jpg');
}

.childrensbooks #main {
    background-image: url('../images/childrensbooksbg.jpg');
}

.selfhelp #main {
    background-image: url('../images/selfhelpbg.jpg');
}

.filmscripts #main {
    background-image: url('../images/filmscriptsbg.jpg');
}

.shop #main {
    background-image: url('../images/shopbg.jpg');
}

.speaking #main {
    background-image: url('../images/speakingbg.jpg');
}

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

.blog.writings .item-image img {
    max-width: 50%;
}

.novels .j2store-product,
.novels .j2store-product-images {
    display: none;
}

#main div[itemprop="blogPost"] p.title,
.speaking #main div[itemprop="articleBody"] p.title,
.speaking #main div[itemprop="articleBody"] p>span.title {
    text-align: center !important;
    font-size: 36px;
    padding-bottom: 0px;
    text-transform: capitalize;
}

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

.title em {
    font-size: 24px;
    text-transform: none;
}

.items-more {
    display: none;
}

.pagination {
    padding-top: 40px;
}

.pagination li {
    display: inline-block;
    padding: 5px;
    color: #858585;
    min-width: 40px;
    text-align: center;
}

.pagination li a {
    color: #ffffff;
}

.pagination ul {
    padding-left: 0px;
}

.pagination .pull-right {
    float: none !important;
}

.writings {
    text-align: center;
}

/* Collapsable Read More styling */

#box {
    height: 320px;
    overflow: hidden;
    -webkit-transition: height 0.75s ease;
    -moz-transition: height 0.75s ease;
    -o-transition: height 0.75s ease;
    transition: height 0.75s ease;
    text-align: center;
}

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

.articlewrapper {
    text-align: justify;
}

.j2store-single-product.multiple .j2store-img-responsive {
    max-width: 150px;
    float: right;
}

.j2store-single-product.multiple {
    padding: 20px;
    border: 2px solid #ebebeb;
    min-height: 270px;
    margin-bottom: 30px;
}

.j2store-cart-button {
    font-size: 20px;
}

.j2store-single-product h3 {
    font-size: 26px;
    text-transform: none;
}

.articlewrapper a.button {
    display: block;
    padding: 5px 40px;
    max-width: 150px;
    margin: auto;
}

@media (min-width: 1024px) {

}

/* Responsive code for tablet and desktop screens */

@media (min-width: 768px) {
    nav.navbar>div div.navlogo {
        display: none;
    }
    
    ul.maximenuck {
        text-align: center !important;
    }
    
    .maximenucklogo {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    #menu li {
        padding-left: 0px;
    }
    
    #content1 .span3.item.item__module {
        width: 20%;
        display:inline-block;
        margin-left: 20px;
    }
}

/* Responsive code for tablet screens */

@media (max-width: 1023px) and (min-width: 768px) {
    #menu li {
        padding-left: 0px;
    }
    
    div#maximenuck95 ul.maximenuck li.maximenuck.level1 {
        padding: 4px 5px 2px 5px !important;
    }
    
    ul.maximenuck {
        max-width: 100%;
    }
    
    #content1 .span3.item.item__module {
        width: 20%;
        display:inline-block;
        margin-left: 20px;
    }
    
    .aboutimage img {
        padding-top: 65px;
    }
    
    
}


/* Responsive code for phone screens  */

@media (max-width: 767px) {
    
    .aboutimage img {
        padding-top: 0px;
    }
    
    .mobilebarmenutitleck {
        display: none;
    }
    
    .mobilebarmaximenuck .mobilebuttonmaximenuck,
    .mobilemaximenuck .mobilemaximenuckclose,
    .mobilemaximenuck .mobilemaximenucktogglericon:after {
        font-size: 50px;
        color: #ffffff;
        border: 2px solid #ffffff;
        border-radius: 5px;
        height: 52px;
        width: 52px;
    }
    
    .mobilemaximenuck .mobilemaximenucktogglericon:after {
        font-size: 35px;
        border: 0px;
    }
    
    #menu {
        position: fixed;
        top: 0;
        min-height: 75px;
    }
   
    #header {
        padding-top: 70px;
    }
    
    #menu button span {
        background: #ffffff;
    }
    
    #menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #menu img {
        max-width: 85px;
    }
    
    #menu button {
        border: 1px solid #ffffff;
    }
    
    .mobilemaximenuckitem {
        text-align: left;
    }
    
    body {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #content1 .span3 {
        max-width: 80%;
        margin: auto;
        margin-bottom: 30px;
    }
    
    #content2 {
        background-image: none;
    }
    
    #content2,
    #content4,
    #content4 {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    #content4 img,
    #content3 img {
        width: 90%;
        max-width: 350px;
    }
    
    #footer span {
        display: block;
        border: none;
        padding-bottom: 10px;
    }
     
    .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%;
    }
    
    #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;
    }
    
    #main div[itemprop="blogPost"],
    #main div[itemprop="articleBody"],
    .j2store-product-list>.row-fluid>.span12 {
        max-width: 85%;
        margin: auto;
    }
    
    .j2store-product-list h2>a {
        font-size: 20px;
    }
    
    #main div[itemprop="blogPost"] .twocolumn {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    
    body.abouttheauthor div[itemprop="blogPost"] {
        background-size: 60%;
    }
    
    .contact #main,
    .blog #main,
    .writings #main,
    .shop #main,
    .speaking #main {
        background-position: center 5px;
    }
}

/* Responsive code for phone screens */
@media (max-width: 540px) {
    #content1 {
        padding-top: 50px;
    }
    
    #content1 h3 {
        padding-bottom: 50px;
    }
    
}

