/*
Theme Name: NWD Theme
Theme URI: https://nottinghamwebdesign.com
Author: NWD
Author URI: https://nottinghamwebdesign.com
Description: Theme developed by Nottingham Web Design
Version: 7.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nwd
Tags: bespoke, nwd
*/

:root {
    --primaryColour: #cf181f;
    --secondaryColour: rgb(48, 56, 59);
    --accentColour: #074b83;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1300px;
  }
}

body.blog article.post .post-inner {
    background-color: white;
    padding: 20px;
}

body.blog article.post {
    display: flex;
    flex-direction: column;
}

body.blog article.post .post-thumbnail {
    flex: 1;
}

body.blog article.post .post-thumbnail img {
    height: 100%;
}


body.blog article.post a.inner-link:hover .post-inner {
    background: #3e3e3e !important;
    color: white;
}

body.blog article.post a.inner-link {
    color: black;
     text-decoration: none !important;
}

body.blog #content {
    background-color: #ebebeb;
}




body.blog article.post {
    width: 100%;
    padding: 0 20px 20px;
}

@media screen and (min-width: 769px) {
    
       body.blog article.post {
        width: 50%;
    }    
}

@media (min-width: 1200px) {
      body.blog article.post {
        width: 33.33%;
    }  
}







body.blog article.post img {
    width: 100%;
}
body.blog #main {
    display: flex;
    flex-wrap: wrap;
}
.nav-links a {
    background: var(--primaryColour);
    padding: 18px !important;
    display: flex;
    border-radius: 0 !important;
    color: white;
}

.nav-links a:hover {
    background: #3e3e3e !important;
}

body.single .content-area article {
    max-width: 800px;
    margin: auto;
}






body.single .entry-content {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: auto;
}

.fl-post-grid-post a {
    color: black;
}

.fl-post-grid-post:has(a:hover) {
  background: #3e3e3e !important;
    color: white !important;
}

.fl-post-grid-post:has(a:hover) a {
  background: #3e3e3e !important;
    color: white !important;
}


body.single .wp-block-image img {
    /* max-width: 400px; */
    width: 100%;
}

@media (min-width: 1200px) {
    body.single .wp-block-image {
        width: 48%;
        margin: 15px auto;
    }
}

body.single .post-thumbnail img {
    width: 100%;
    max-width: 800px;
    margin: auto;
    
    
       mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
    mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
}



.fl-post-carousel-post {
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
    mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
}

.fl-post-carousel-post .fl-post-carousel-title a {
    color: black !important;
}

@media screen and ( min-width: 1200px) {
    
.special-corner-container {
    position: relative;
}

.special-corner-container:after {
    content: "";
    position: absolute;
    background: var(--primaryColour);
    width: 50px;
    height: calc(100% + 2px);
    top: 0px;
    right: 0;
    z-index: 1;
    transition: all 1200ms;

    mask-size: cover;
    -webkit-mask-size: cover;

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
}

.special-corner-container.right:after {
  mask-image: url("data:image/svg+xml,%3Csvg width='600' height='3479' viewBox='0 0 600 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M287.5 0.5H600V3479H0L287.5 3205V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='600' height='3479' viewBox='0 0 600 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M287.5 0.5H600V3479H0L287.5 3205V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    right: 0;
}

.special-corner-container.left:after {
    mask-image: url("data:image/svg+xml,%3Csvg width='827' height='3479' viewBox='0 0 827 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M539.5 0H0V3478.5H827L539.5 3204.5V0Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='827' height='3479' viewBox='0 0 827 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M539.5 0H0V3478.5H827L539.5 3204.5V0Z' fill='white'/%3E%3C/svg%3E%0A");
    left: 0;
}

.special-corner-container.grey:after {
    background: #ebebeb;
}

.special-corner-container.red:after {
    background: var(--primaryColour);
}

}


@media screen and ( min-width: 1400px) {
   .special-corner-container:after {
    width: 100px;
} 
}


body .fl-module-icon .fl-icon-wrap {
display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

body .fl-module-icon .fl-icon-text {
    padding: 0;
    margin-top: 12px;
}

.nav-links a,
body.blog article.post .post-inner,
.fl-post-grid-post,
.image-cut-corner {
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
    mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
}


.rounded-xl {
    border-radius: 1.5rem;
}

.theme-color {
    color: var(--primaryColour);
}

.theme-color-dark {
    color: var(--secondaryColour);
}

.theme-bg {
    background-color: var(--primaryColour);
}

.theme-bg-dark {
    background-color: var(--secondaryColour);
}

.animate {
    transition: 400ms ease;
}

body .widget-area-footer h4,
body .widget-area-footer p {
    width: 100% !important;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header	
    ## Top Bar
    ## Header Banner
    ## Subheader
# Navigation
	## Menus
	## Dropdown
	## Post Navigation
	## Links / Buttons
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Lists
	## Posts and pages
	## Dark Area
# Products
    ## Products Global
    ## Product Category
    ## Product Single Page
# Media
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

body { margin: 0; -webkit-font-smoothing: auto; overflow-x: hidden; font-size: 18px;}
article, aside, details, figcaption, figure, footer, header, 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; }
a { background-color: transparent;}
a:active, a:hover { outline: 0; }
dfn { font-style: italic; }
mark { background: #ff0; color: #000;}
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 2.5rem; }
hr { box-sizing: content-box; height: 0;}
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], 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; }
legend { border: 0; padding: 0; }
optgroup { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    clear: both;
    color: #1c2544;
    font-weight: 300;
    margin-bottom: 1em;
    line-height: 1.25;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1rem;
}

.large-contact-link {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.25;
    text-decoration: none;
}

.large-contact-link:hover {
    text-decoration: none;
}

.large-contact-link span {
    font-weight: 400;
    font-size: 0.6em;
    color: #c7ecf8 !important;
    text-decoration: none;
}


.small-contact-link {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1;
    text-decoration: none;
}

.small-contact-link:hover {
    text-decoration: none;
}

.small-contact-link span {
    font-weight: 400;
    font-size: 0.85em;
    color: #c7ecf8 !important;
    text-decoration: none;
}


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


    .large-contact-link {
        font-size: 1.8rem;
        text-decoration: none;
    }
    
    .large-contact-link span {
        font-size: 0.6em;
    }
    
    .small-contact-link {
        font-size: 1.5rem;
        line-height: 1.25;
    }
    
    .small-contact-link span {
        font-size: 0.7em;
    }

}


body {
    font-family: "Lato", sans-serif;
}

.br {
    border-radius: 1.5rem;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

body {
    background: rgb(255,255,255);
}

img {
    height: auto;
}

figure {
    margin: 1em 0;
}

table {
    width: 100%;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

select,
textarea,
input:not([type="image"]) { 
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

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-search-cancel-button, input[type="search"]::-webkit-search-decoration { 
    -webkit-appearance: none; 
}

fieldset { 
    border: 1px solid #c0c0c0; 
    margin: 0 2px; 
    padding: 0.35em 0.625em 0.75em;
}

textarea { 
    overflow: auto; 
}


/*--------------------------------------------------------------
# Templates
--------------------------------------------------------------*/

.page-template-default #content .container {
    max-width: 100%;
}

.page-template-default #content #primary {
    padding: 0px;
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

header#masthead {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    z-index: 10;
    background-color: white;
    left: 20px;
    right: 20px;
    top: 20px;
    max-width: 1300px;
    transition: 400ms ease;
    /* clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%); */
}

header#masthead .container {
   background-color: white; 
}
















header#masthead:after {
    content: "";
    position: absolute;
    background: white;
    width: 40px;
    height: 100%;

    mask-size: cover;
    -webkit-mask-size: cover;

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    
    mask-position: left bottom;
    -webkit-mask-position: left bottom;

  mask-image: url("data:image/svg+xml,%3Csvg width='359' height='600' viewBox='0 0 359 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H359V357L0 600V0Z' fill='white'/%3E%3C/svg%3E%0A");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='359' height='600' viewBox='0 0 359 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H359V357L0 600V0Z' fill='white'/%3E%3C/svg%3E%0A");

    /* clip-path: polygon(100% 0, 100% 50%, 50% 100%, 0 100%, 0 0); */
    right: -40px;
    top: 0;
}

#footer-widget .container {
    position: relative;
}

#footer-widget .container .row {
    background-color: white;
    padding: 40px;
}

#footer-widget .container a {
    color: var(--primaryColour);
}


#footer-widget .container .row {
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
    mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='1695' viewBox='0 0 3193 1695' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.5H3193V1486L2959 1695H0V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
}




@media screen and (min-width: 769px) {
    header#masthead:before {
        content: "";
        position: absolute;
        background: var(--primaryColour);
        width: 1000px;
        height: 100%;
    
        mask-size: cover;
        -webkit-mask-size: cover;
    
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        
        mask-position: right bottom;
        -webkit-mask-position: right bottom;
    
      mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='600' viewBox='0 0 3193 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H3193V425L3064 600H0V0Z' fill='white'/%3E%3C/svg%3E%0A");
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='3193' height='600' viewBox='0 0 3193 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H3193V497L3064 600H0V0Z' fill='white'/%3E%3C/svg%3E%0A");
      
        right: -50px;
        top: 10px;
        z-index: -1;
        transition: all 1000ms;
    }
}








.special-corner-container:after {

    mask-size: cover;
    -webkit-mask-size: cover;

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    
    mask-position: right bottom;
    -webkit-mask-position: right bottom;
}

.special-corner-container.right:after {
  mask-image: url("data:image/svg+xml,%3Csvg width='600' height='3479' viewBox='0 0 600 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M287.5 0.5H600V3479H0L287.5 3205V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='600' height='3479' viewBox='0 0 600 3479' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M287.5 0.5H600V3479H0L287.5 3205V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    right: 0;
}


















header#masthead.small-header:before {
    /* right: -44px;
    top: 4px; */
    right: 0;
    top: 0;
    opacity:0;
}

header#masthead.small-header .container:after {
    /* right: -4px;
    top: 4px; */
    right: 0;
    top: 0;
    opacity:0;
}

header#masthead .flex-logo img {
    max-width: 150px;
    transition: 400ms ease;
}

header#masthead.small-header .flex-logo img {
    max-width: 110px;
}

header#masthead.small-header {
    top: 0;
    background-color: #1c2544;
    border-radius: 0 0 30px 30px;
}

header#masthead div#main-nav .cart-icon {
    background-color: var(--secondaryColour);
}

header#masthead.small-header div#main-nav .cart-icon {
    background-color: var(--primaryColour);
}


/*--------------------------------------------------------------
## Top Bar
--------------------------------------------------------------*/

.top-bar {
    color: rgb(255, 255, 255);
}

.top-bar a {
    color: var(--primaryColour);
    font-size: 0.9em;
}


/*--------------------------------------------------------------
## Subheader
--------------------------------------------------------------*/

.subheader {
    height: 200px;
    background-color: rgb(221, 221, 221);
    background-position: center;
    background-size: cover;
}

.subheader .container.subheader-content {
    z-index: 2;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

body #masthead .navbar-nav > li > a {
    font-weight: 600;
}

.menu-animated-layer {
    position: fixed;
    top: 0;
    width: calc(100vw - 35vw);
    right: 0;
    bottom: 0;
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: left bottom;
    -webkit-mask-position: left bottom;
    mask-image: url("data:image/svg+xml,%3Csvg width='1949' height='2562' viewBox='0 0 1949 2562' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1949 0.5H0V2239L321.5 2561.5H1949V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='1949' height='2562' viewBox='0 0 1949 2562' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1949 0.5H0V2239L321.5 2561.5H1949V0.5Z' fill='white'/%3E%3C/svg%3E%0A");
}

@media screen and (min-width: 769px) {
    
    .dropdown-menu li > .dropdown-menu {
        right: -9.875rem;
        top: 1.375rem;
    }
}

.menu-item-has-children ul.dropdown-menu li:hover {
    background-color: #3e3e3e;
}

.menu-item-has-children ul.dropdown-menu li a:hover {
    text-decoration: none;
}


.menu-item-has-children ul.dropdown-menu li a {
    color: white !important;
    width: 100%;
}

.menu-item-has-children.submenu-verticle ul.dropdown-menu {
    flex-direction: column;
}



@media screen and ( min-width: 960px) {
    
    .dropdown:hover > .dropdown-menu,
    body #page .dropdown-menu.show {
        display: flex !important;
    }
    
    .large-dropdown .dropdown-menu  {
        flex-wrap: wrap;
        width: 600px !important;
    }
    
    .large-dropdown ul.dropdown-menu li {
        width: 33.33%;
    }
}

/* Dropdown Css */

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

    body div#main-nav.main-nav-container.show {
        position: fixed;
        right: 0;
        right: 0;
        z-index: 999;
        top: 0;
        bottom: 0;
        height: 85%;
        flex-direction: column-reverse;
        width: calc(100vw - 35vw);
    }
    
    .main-nav-container.show .navbar-collapse {
        display: block;
        overflow: auto;
    }

    body div#main-nav.main-nav-container.show .fa-bars,
    body div#main-nav.main-nav-container:not(.show) .fa-times {
        display: none;
    }

    body div#main-nav .navbar-collapse,
    body div#main-nav.main-nav-container .menu-animate div {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        transition: all 800ms;
    }
    
    body div#main-nav.show-finish .navbar-collapse,
    body div#main-nav.main-nav-container.show .menu-animate div {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    
    /* Opening aniamtion duration */
    body div#main-nav.main-nav-container.isopening .layer-one {
        transition: all 1000ms;
    }
    
    body div#main-nav.main-nav-container.isopening .layer-two {
        transition: all 700ms;
    }
    
    /* Closing aniamtion duration */
    body div#main-nav.main-nav-container.isclosing .layer-one {
        transition: all 350ms;
    }
    
    body div#main-nav.main-nav-container.isclosing .layer-two {
        transition: all 420ms;
    }
    
    /* Animate flex banner */
    .main-nav-container .flex-banner {
        transition: 225ms ease;
    }
    
    .main-nav-container.show .flex-banner {
        opacity: 0;
        transform: translateY(-100%);
    }
    
    .flex-banner > a {
        font-size: 14px;
    }
    
    
    /*
    .flex-banner > button,
    .flex-banner > a {
        flex: 1;
    } */
    
    .main-nav-container.show-finish .flex-banner {
        opacity: 1;
        transform: translateY(0);
        padding: 1em;
        transition: 500ms ease;
    }
    
}


    .flex-banner a:not(.button) {
        color: var(--primaryColour);
    }

/*--------------------------------------------------------------
## Dropdown
--------------------------------------------------------------*/

body #page .dropdown-menu {
    background-color: var(--primaryColour);
}

.dropdown .open .dropdown-menu {
    display: block;
    left: 12.250em;
    top: 0;
}




/*--------------------------------------------------------------
## Post Navigation
--------------------------------------------------------------*/

.navigation.posts-navigation {
    width: 100%;
}

.nav-links > div {
    padding: 20px;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
.comment-content.card-block {
    padding: 20px;
}

.navigation.post-navigation {
    padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    border: 1px solid #ddd;
    border-radius: 0.938rem;
    display: inline-block;
    padding: 0.313rem 0.875rem;
    text-decoration: none;
}

.post-navigation .nav-next a::after {
    content: " \2192";
}

.post-navigation .nav-previous a::before {
    content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background: #eee none repeat scroll 0 0;
}


/*--------------------------------------------------------------
## Links / Buttons
--------------------------------------------------------------*/

#page .btn,
#page .button,
#page .btn-primary,
#page .fl-button {
    color: rgb(255, 255, 255);
    background-color: var(--accentColour);
    border: none;
    padding: 0.8em 1.5em;
    transition: 400ms ease;
    border-radius: 0;
    text-align: center;
    line-height: 1.5 !important;
    position: relative;
    margin: 0 18px;
}

#page .fl-button:after,
#page .button:after {
    content: "";
    background-color: inherit;
    position: absolute;
    right: -18px;
    width: 18px;
    height: calc( 100% + 2px);
    top:0;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

#page .fl-button:before,
#page .button:before {
    content: "";
    background-color: inherit;
    position: absolute;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    left: -18px;
    width: 18px;
    height: 100%;
    top:0;
}

#page .fl-button {
    color: rgb(255, 255, 255);
    border: none;
    padding: 0.8em 1.5em;
    transition: 400ms ease;
    border-radius: 0;
    text-align: center;
}

.fl-builder-content a.fl-button, .fl-builder-content a.fl-button:visited {
    background-color: var(--accentColour);
}


#page .quform-submit:hover,
#page .woocommerce-tabs li.active .button,
#page .btn:hover,
#page .button:hover,
#page .btn-primary:hover,
#page a.fl-button:hover {
    color: rgb(255, 255, 255);
    background-color: var(--secondaryColour);
    text-decoration: none;
}

.fl-builder-content a.fl-button:hover {
    background-color: var(--secondaryColour);
}

#page .fl-button span {
    color: rgb(255, 255, 255);
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 0.313rem;
    line-height: normal;
    padding: 0.938rem 1.438rem 0.875rem;
    text-decoration: none;
    top: 0.313rem;
    width: auto;
    z-index: 100000;
}

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget select {
    max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
    display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background-color: var(--primaryColour);
    color: rgb(255,255,255);
    text-decoration: none;
}

body .widget ul {
    list-style: none;
    padding: 0;
}

body .widget ul a {
    color: inherit;
}


/*--------------------------------------------------------------
# Side Bar
--------------------------------------------------------------*/

aside#secondary:after {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -1;
}

@media screen and (min-width: 991px) {
    
    aside#secondary:after {
        left: 0;
        width: 1000%;
    }
}

@media screen and (max-width: 990px) {
    
    aside#secondary:after {
        left:-100%;
        width: 300%;
    }
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Lists
--------------------------------------------------------------*/

body ul {
    padding-left: 20px;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.post-loop-title {
    font-size: 1.2em;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.posted-on, .byline, .comments-link {
    color: rgb(255, 255, 255);
}


/*--------------------------------------------------------------
## Dark Area
--------------------------------------------------------------*/

.dark .quform *:not(input) {
    color: white;
}

.dark .quform textarea,
.dark .quform input {
    background-color: #3a5b55;
    border: 3px solid #406c64;
    transition: 300ms ease;
}

.dark .quform textarea:focus ,
.dark .quform input:focus  {
    background-color: #45877b;
    border: 3px solid #55bfac;
}


/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Products Global
--------------------------------------------------------------*/

#content .woocommerce form p {
    display: block;
}


/*--------------------------------------------------------------
## Product Category
--------------------------------------------------------------*/

body.woocommerce .woocommerce-ordering {
    margin: 0 0 2.5em;
}

body .category-info-area hr {
    height: 5px;
    border-radius: 5px;
    background-color: #e3fdff;
    margin-bottom: 2rem;
    width: 78%;
    margin-left: 0;
    box-shadow: inset 0px 2px 2px #b9d6d8;
}

/* Products Loop */

.product-loop-text * {
    color: white;
}

body #page .products .product {
    border-radius: 18px 18px 30px 30px;
    overflow: hidden;
}

body #page ul.products li.product h2 {
    font-size: 1.4rem;
    padding: 0;
}

body .products .product > a {
    flex: 1;
}

body .product-image-container-loop {
    max-height: 450px;
}

body #page ul.products li.product .woocommerce-placeholder {
    border:none;
}

.products .product-loop-info-container .product-loop-title > a:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

body.woocommerce ul.products li.product a img {
    margin: 0;
}

/* Products Loop - Small */

body .product-image-container-loop.small {
    height: 120px;
    overflow: hidden;
    position: relative;
}

body .product-image-container-loop.small img {
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0; 
    bottom: 0; 
    right: 0;
}


/*--------------------------------------------------------------
## Product Single Page
--------------------------------------------------------------*/

/* Cart */

body #page .woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/* Tabs */

body.woocommerce #page  div.product .woocommerce-tabs ul.tabs li::after,
body.woocommerce #page  div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce #page div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce-Tabs-panel--technical_tab table {
    min-width: 900px;
}

.woocommerce-Tabs-panel--technical_tab table tr td {
    border: solid 10px #f1f1f1;
    padding: 10px;
}

.woocommerce-Tabs-panel--technical_tab table tr td:first-child {
    background-color: #e4fffa;
}

.woocommerce-Tabs-panel--technical_tab table tr:first-child td:not(:first-child) {
    background-color: #dddddd;
}

/* Meta */

#page .product_meta a {
    color: var(--primaryColour);
}

/* Backgrounds */

body.woocommerce #page div.product .woocommerce-tabs:after,
body.woocommerce #page .product-banner:after,
body.woocommerce #page .enquiry-form:after {
    position: absolute;
    content: " ";
    left: calc(-50vw + 50%);
    width: 100vw;
    height: 100%;
    top: 0;
    z-index: -1;
}

body.woocommerce #page .enquiry-form:after {
    background-color: var(--secondaryColour);
}

body.woocommerce #page .product-banner:after {
    background-color: #e3fffa;
}

body.woocommerce #page div.product .woocommerce-tabs:after {
    background-color: #f1f1f1;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

embed,
iframe,
object {
    max-width: 100%;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer#colophon {
    color: #99979c;
    background-color: #f7f7f7;
}

footer#colophon a {
    color: inherit;
}