/*////////////////////////////*/
/*  BASE STYLES

Header 1: Font / ##px / ## letter space / CAPS
Header 2: Font / ##px / ## letter space / CAPS
Header 3: Font / ##px / ## letter space / CAPS
Body: Font / ##px / ## letter space
Special: Font / ##px / ## letter space / CAPS

'Playfair Display', serif

Primary Colour
#fbeaff
rgb(251, 234, 255)

Secondary Colour
#fff58f
rgb(255, 245, 143)

Accent Colour
#323b7d 
rgb (50, 59, 125)

*/
/*////////////////////////////*/

::selection {
    background: #fff58f;
}

@viewport {
    width: device-width;
    zoom: 1.0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafafa;
    margin: 0;
    color: #3b3b3b;
    font-family: 'Barlow', sans-serif;
    padding: 50px;
    min-width: 300px;
}

@media only screen and (max-width: 630px) {
    body {
        padding: 20px;
    }
}

@media only screen and (min-width: 1320px) {
    body {}
}

#page-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/*////////////////////////////*/
/*  HEADER  */
/*////////////////////////////*/

header {
    overflow: hidden;
    font-family: 'Playfair Display', serif;
    padding: 25px 0;
}

header a {
    height: 100px;
    overflow: hidden;
}

header a:hover {
    color: #3b3b3b;
    background-color: #fff58f;
    border-bottom: solid 1px #3b3b3b;
}

header a #siteTitle {
    height: 50px;
    float: left;
}

header a #siteTitle .nameTitle {
    height: 50px;
    float: left;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 15px;
    margin-right: 15px;
    color: #3b3b3b;
    letter-spacing: 5px;
    font-weight: 600;
}

header a #siteTitle #logoimg {
    height: 50px;
    float: left;
}

header nav {
    float: right;
    width: calc(100% - 275px);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0 10px;
    float: right;
    text-align: right;
}

nav ul li {
    height: 30px;
    padding: 0 15px;
    line-height: 50px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    display: inline-block;
}

.current_page_item a,
.single .blog-nav a {
    background-color: #fff58f;
    border-bottom: solid 1px #3b3b3b;
    padding-left: 3px;
}

nav ul ul {
    display: none;
}

@media only screen and (max-width: 630px) {
    header {
        padding-top: 0px;
    }

    header a #siteTitle {
        width: 100%;
        padding-bottom: 25px;
    }

    header a #siteTitle .nameTitle {
        text-align: center;
        width: 100%;
        margin-right: 0 !important;
    }

    header nav {
        width: 100%;
    }

    nav ul {
        text-align: center;
        padding: 0px;
        width: 100%;
    }

    nav ul li {
        display: block;
        width: 100%;
        line-height: 15px;
        padding: 0px;
    }
}

/*////////////////////////////*/
/*  PAGE  */
/*////////////////////////////*/

body.page {
    /*display: inline-block;*/
    overflow-x: hidden;
}

#page-wrap .page {
    /*display: inline-block;*/
    overflow-x: hidden;
}

.postTitle {
    text-align: center;
    padding: 40px 20px;
}

.entry {
    width: 80%;
    margin: 40px auto;
    text-align: left;
}

#edit {
    text-align: center;
    width: 100%;
    float: left;
}

#left-content {
    width: 40%;
    padding: 0 50px 0 0;
    float: left;
    min-height: 300px;
}

#right-content {
    margin-top: 50px;
    margin-left: 40%;
    position: absolute;
    height: 300px;
    width: 700px;
}

#right-content-port,
#right-content-land {
    float: left;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

#right-content-port {
    width: 200px;
}

#right-content-land {
    width: 500px;
}

#page-main-image-wrap {
    height: 350px;
    width: 100%;
    margin-bottom: 20px;
    z-index: -2;
}

#page-main-noimage {
    height: 120px;
    width: 100%;
    margin-bottom: 20px;
}

#page-main-image {
    height: inherit;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: calc(100% - 110px);
    position: absolute;
    z-index: -3;
}

#center-content {
    width: 70%;
}

.left-margin {
    margin-left: 80px;
}

.accentbox-page {
    width: 55px;
    height: 180px;
    background: #fff58f;
    position: absolute;
    right: 180px;
    margin-top: -140px;
    z-index: -1
}

.accentbox-home {
    width: 200px;
    height: 45px;
    background: #fff58f;
    position: absolute;
    margin: -35px 0 0 60px;
}

.accentbox-blog {
    width: 95px;
    height: 350px;
    background: #fff58f;
    position: absolute;
    margin: 70px 0 0 630px;
}

.wp-block-image,
figure {
    text-align: center;
}

.wp-block-image figcaption,
cite {
    font-size: 0.7em;
}

table {
    font-size: 0.85em;
}

@media only screen and (min-width: 1320px) {
    #right-content {
        margin-left: 530px;
    }

    #page-main-image {
        max-width: 1193px;
    }
}

table,
td,
th {
    border: 1px solid #ddd;
    text-align: left;
}

th,
td {
    text-align: left;
    padding: 3px;
}

@media only screen and (min-width: 630px) and (max-width: 950px) {

    #page-wrap .page,
    .entry {
        position: relative;
        margin-right: -50px;
        padding-right: 50px;
        width: auto;
    }
}

@media only screen and (max-width: 630px) {

    #page-wrap .page,
    .entry {
        position: relative;
        margin: 0 -20px 0 0;
        padding: 0 20px 0 0;
        width: auto;
    }

    #left-content {
        margin-top: 375px;
        padding: 0px;
        width: 85%;
    }

    #right-content {
        margin-left: 0px;
    }

    .accentbox-page {
        right: 20px;
    }
}

/*////////////////////////////*/
/*  BLOG  */
/*////////////////////////////*/

#blog-wrap {
    max-width: 500px;
    min-height: 450px;
}

#blog-item {
    min-height: 200px;
    max-width: 500px;
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
    display: inline-block;
}

.post-preview-image-wrap {
    height: 200px;
    width: 200px;
    float: left;
}

.post-preview-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff58f;
}

.post-preview-text-wrap {
    min-height: 200px;
    width: 280px;
    padding: 0 0 0 20px;
    float: left;
}

.post-preview-cat {
    font-size: 12px;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.post-preview-cat ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-preview-cat ul li {
    display: inline-block;
}

.post-preview-cat ul li:after {
    padding: 0 10px;
    content: "//";
}

.post-preview-cat ul li:last-child:after {
    padding: 0px;
    content: "";
}

.post-preview-cat ul li a {
    padding: 0px;
}

.post-preview-title {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
}

.post-preview-title-link {}

.post-preview-title-link a {
    padding: 0px !important;
}

.post-preview-readmore {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85em;
    line-height: 1.4em;
}

.blog-title {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 5px 0;
}

@media only screen and (max-width: 630px) {
    .post-preview-image-wrap {
        padding: 0 0 20px 20px;
    }
}

/*////////////////////////////*/
/*  POST / SINGLE  */
/*////////////////////////////*/

.page-cats {}

.single-page-title {}

.single #right-content {
    width: 45%;
    text-align: left;
    margin-top: 0 !important;
}

#page-opening {}

.blog-wrap {
    overflow-x: hidden;
}

#mobile-cover-img {
    display: none;
}

#page-cover-img {
    width: 100%;
    height: auto;
    max-width: 450px;
    /*background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
}


@media only screen and (min-width: 630px) and (max-width: 950px) {
    .entry {
        margin: 0px;
        width: 100%;
    }

    .blog-wrap {
        margin: 40px 0px;
    }

    #left-content {
        width: 60%;
        padding-right: 50px;
    }

    #right-content {
        display: inline-block;
        margin: 37px 0 0 0;
    }
}


@media only screen and (max-width: 630px) {
    .blog-wrap {
        position: relative;
        margin-right: -20px;
        padding-right: 20px;
    }

    #page-cover-img {
        width: 100%;
        height: auto;
    }

    .single #right-content {
        display: none;
    }

    #mobile-cover-img {
        display: block;
        max-width: 130%;
        max-height: 350px;
    }

    .single #left-content {
        margin-top: 0px;
    }
}

/*////////////////////////////*/
/*  FOOTER  */
/*////////////////////////////*/

footer {
    text-align: center;
    padding: 20px 0;
    font-size: 21px;
    margin: 50px auto 0;
}

footer a {
    padding: 0 5px !important;
}

footer div {
    font-size: 12px;
}

.nopadding {
    padding: 0 !important;
}

@media only screen and (max-width: 950px) {
    footer {
        width: 100%;
    }
}

/*////////////////////////////*/
/*  ERROR  */
/*////////////////////////////*/

.error404 #page-wrap #container #brokenbiscuits {
    background-image: url(../images/BrokenBiscuitError404.png);
    background-position: center;
    height: 500px;
    max-width: 800px;
    margin: 0 auto;
}

.error404 #container {
    text-align: center;
}

/*////////////////////////////*/
/*  TPYE  */
/*////////////////////////////*/

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 20px;
    margin: 0 0 30px;
    padding: 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 50px 0 0;
    padding: 0;
}

.archive h2,
.page-template-page-blog h2 {
    margin: 0 !important;
}

h3 {
    font-family: 'Playfair Display', serif;
    margin: 30px 0 0;
    padding: 0;
}

p {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85em;
    line-height: 1.4em;
}

a,
a:active,
a:visited {
    color: #3b3e3e;
    padding-left: 3px;
    text-decoration: none;
}

a:hover {
    background-color: #fff58f;
    padding-left: 3px;
    text-decoration: none;
}

p a {
    text-decoration: underline !important;
    font-weight: bold;
}

@media only screen and (max-width: 630px) {
    p {
        font-size: 1em;
    }
}

/*////////////////////////////*/
/*  WORDPRESS  */
/*////////////////////////////*/

.wp-block-image img {
    width: 100%;
    max-width: fit-content;
}

.wp-caption {}

.wp-caption-text {}

.sticky {}

.screen-reader-text {}

.gallery-caption {}

.bypostauthor {}

.alignright {}

.alignleft {}

.aligncenter {}
