/*
Theme Name: Simplified Pro
Description: Used to style Gutenberg Blocks.
*/

.wp-block-pullquote {
    padding: 0;
    text-align: left;
}

.alignleft,
.alignright {
    float: none;
    margin: 0;
    width: 100%;
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
    margin-bottom: 0;
    margin-top: 0;
}

.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
    font-size: 1.125rem;
    line-height: 1.5;
}

.wp-block-pullquote cite {
    color: #9a9a9a;
}

/* Audio */
.wp-block-audio audio {
    display: block;
    width: 100%;
}

/* File */
.wp-block-button__link,
.wp-block-file .wp-block-file__button {
    background: #0b0e13;
    border: 0;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    letter-spacing: 1px;
    line-height: 1;
    padding: 9px 20px;
    text-transform: uppercase;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
    background: #bb7514;
}

.wp-block-button__link:focus,
.wp-block-file .wp-block-file__button:focus {
    outline: thin dotted;
    outline-offset: -4px;
}

.rtl .wp-block-file * + .wp-block-file__button {
    margin-left: 0.75em;
    margin-right: 0;
}

/* Cover image */
.editor-block-list__block .wp-block-cover-image {
    height: 50vh;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    width: 100%;
}

.wp-block-cover-image.has-background-dim::before,
.wp-block-cover.has-background-dim::before {
    opacity: .25;
}

.editor-block-list__block .wp-block-cover-image.alignfull {
    /* This makes a full area image */
    left: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.wp-block-cover {
    box-shadow: 0px 30px 34px -25px rgba(0, 0, 0, 0.5);
    margin: 2.5rem auto;
}

.wp-block-cover .wp-block-cover-image-text,
.wp-block-cover .wp-block-cover-text,
.wp-block-cover h2,
.wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image h2 {
    color: #fff;
    font-family: Georgia, Serif;
    border: 1px solid #fff;
    border-color: rgba(255, 255, 255, 0.6);
    padding: 20px 10px;
}

/* images and captions */
.wp-block-image {
    text-align: center;
}

.wp-block-image img {
    max-width: 100%;
}

.wp-block-image figcaption {
    margin: 30px 0;
    color: inherit;
    font-size: 1rem;
    font-style: normal;
    font-family: Georgia, Serif;
    font-weight: 700;
    text-align: center;
}

.wp-block-image .alignleft,
.wp-block-image .alignright {
    float: none;
    margin: 0;
}

.wp-block-media-text {
    margin: 2rem 0;
}

.wp-block-image .aligncenter {
    margin: 2rem auto 1.5rem;
}

.wp-block-image .alignnone {
    margin: 2rem 0 1.5rem;
}


/* gallery */
.wp-block-gallery {
    margin: 2.5rem auto 1.5rem;
}

.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
    margin: 0 16px 46px 0;
    display: inline-block;
    flex-grow: unset;
    flex-direction: unset;
    justify-content: unset;
    position: relative;
}

.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure {
    display: inline-block;
    align-items: unset;
    justify-content: unset;
}

.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: initial;
    -o-object-fit: cover;
    object-fit: cover;
}


.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    position: relative;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 10px;
    color: #444;
    font-weight: 700;
    text-align: center;
    font-size: 0.813rem;
    background: none;
    font-family: Georgia, Serif;
    text-transform: capitalize;
}

/* Table */

.wp-block-table,
.wp-block-table th,
.wp-block-table td {
    border: 1px solid #d1d1d1;
}

.wp-block-table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}

.wp-block-table th,
.wp-block-table td {
    font-weight: normal;
    padding: 0.4375em;
    text-align: left;
}

.wp-block-table th {
    border-width: 0 1px 1px 0;
    font-weight: 700;
}

.wp-block-table td {
    border-width: 0 1px 1px 0;
}

/* Dropcap */
p.has-drop-cap:not(:focus):first-letter {
    color: #444;
    float: left;
    font-family: "Times New Roman", serif;
    font-size: 5.938rem;
    line-height: 0.68;
    font-weight: 700;
    margin: 10px 8px 0 0;
    text-transform: uppercase;
    font-style: normal;
}



.wp-block-image.alignfull img,
.wp-block-image.alignwide img {
    box-shadow: 0px 30px 34px -25px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.wp-block-image img {
    max-width: 100%;
}

.wp-block-image.alignwide,
.wp-block-image.alignfull {
    margin-top: 50px;
    margin-bottom: 40px;
}

/* This is for the full browser window edge to edge without being contained in a boxed container
* This will break out of the boxed container to give a full browser width image
*/
.page-template-default .entry-content .alignfull {
    margin-left: -webkit-calc(-50vw + 50%);
    margin-left: calc(-50vw + 50%);
    margin-right: -webkit-calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.page-template-default .entry-content .alignfull .alignfull,
.page-template-default .entry-content .alignfull .alignwide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-template-default .entry-content .alignwide {
    margin-left: -100px;
    margin-right: -100px;
    max-width: unset;
    width: unset;
}

.page-template-default .entry-content .alignwide .alignfull,
.page-template-default .entry-content .alignwide .alignwide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-template-default .entry-content .wp-block-column .alignfull,
.page-template-default .entry-content .wp-block-column .alignwide {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.page-template-default .entry-content .has-2-columns .wp-block-column:first-child {
    padding-right: 10px;
}

.page-template-default .entry-content .has-2-columns .wp-block-column:last-child {
    padding-left: 10px;
}

.page-template-default .entry-content {
    /* Alignment while using the column block */
}


/* This is based on the padding of the hentry container with 60px padding left and right
 * To fill the wrapper container must stretch the image past the 60px each side with a negative margin on the alignfull element. */
.page-template-default .entry-content .alignfull {
    /*   margin-left: -6.67em;
  margin-right: -6.67em;
  width: auto; */
}


@media (max-width: 1200px) {
    .page-template-default .entry-content .alignfull {
        margin-left: -2.4em;
        margin-right: -2.4em;
    }

}

@media (max-width: 768px) {
    .page-template-default .entry-content .alignfull {
        margin-left: -2.14em;
        margin-right: -2.14em;
    }
}

@media (max-width: 544px) {
    .page-template-default .entry-content .alignfull {
        margin-left: -1em;
        margin-right: -1em;
    }
}

.page-template-default .entry-content .alignwide {
    margin-left: -120px;
    margin-right: -120px;
}

.page-template-default .entry-content .wp-block-column .alignfull,
.page-template-default .entry-content .wp-block-column .alignwide {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}


@media (min-width: 992px) {

    .alignleft,
    .alignright {
        width: auto;
    }

    .wp-block-image .alignleft {
        float: left;
        margin: 0.5rem 2rem 0 0;
    }

    .wp-block-image .alignright {
        float: right;
        margin: 0.5rem 0 0 2rem;
    }

    .wp-block-media-text {
        margin: 2.5rem 0;
    }

    .wp-block-pullquote.alignleft {
        float: left;
        margin: 0 2rem 0 0;
        max-width: 40%;
    }

    .wp-block-pullquote.alignright {
        float: right;
        margin: 0 0 0 2rem;
        max-width: 40%;
    }

}

/* Colours */

/* accent colour */
.has-accent-color {
    color: #bb7514;
}

.has-accent-background-color {
    background-color: #bb7514;
}

/* dark grey */
.has-dark-color {
    color: #1a1a1a;
}

.has-dark-background-color {
    background-color: #1a1a1a;
}

/* grey */
.has-grey-color {
    color: #9b9b9b;
}

.has-grey-background-color {
    background-color: #9b9b9b;
}

/* white */
.has-white-color {
    color: #fff;
}

.has-white-background-color {
    background-color: #fff;
}

/* Font Sizes  */
.has-small-font-size {
    font-size: 1rem;
}

.has-regular-font-size {
    font-size: 1.125rem;
}

.has-large-font-size {
    font-size: 1.5rem;
}

.has-larger-font-size {
    font-size: 2rem;
}

.has-small-font-size,
.has-regular-font-size {
    line-height: 1.7;
}

.has-large-font-size,
.has-larger-font-size {
    line-height: 1.3;
}
