/*
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: #494949;
    --secondaryColour: #353535;
    --accentColour:  #9a90ca;
    --goldColour: #796128;
}



@font-face {
    font-family: Aktiv;
    src: url("assets/fonts/AktivGrotesk-Light.otf") format("opentype");
}


@font-face {
    font-family: Aktiv;
    src: url("assets/fonts/AktivGrotesk-Bold.otf") format("opentype");
    font-weight: bold;
}


body #wp-block-search__input-1 {
  height: 55px !important;
}

.main-menu-box {
    margin: 10px;
    padding: 15px;
    background-color: var(--goldColour);
    border-radius: 0;
}

.main-menu-box i {
    color: white;
}

.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);
}

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

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


.animate {
    transition: 400ms ease;
}

.article-post {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms ;
}


.article-post:hover {
    text-decoration: none;
    background-color: var(--primaryColour);
}

/*--------------------------------------------------------------
>>> 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; }
body a { color: black; }

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

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

h1 {
    font-size: 2.9rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.55rem;
}

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: 'Aktiv', sans-serif !important;
}

.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: 0;
    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; 
}

.hf-fields-wrap input[type="submit"] {
    background-color: var(--goldColour);
    color: white;
    border-radius: 0;
    font-weight: 800;
}

.hf-fields-wrap input[type="submit"]:hover {
    background-color: var(--primaryColour);
}


/*--------------------------------------------------------------
# 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: 40px;
    max-width: 1200px;
    transition: 400ms ease;
}


@media screen and (min-width: 769px) and (max-width: 1010px) {
header#masthead {
    top: 80px;
}
}

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;
}

header#masthead.small-header div#main-nav:not(.show) .navbar-toggler i,
header#masthead.small-header div#main-nav:not(.show) li a {
    color: white !important;
}

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 {
    position: absolute;
    top: 0;
    z-index: 10;
    width: 100%;
    color: #fff;
    font-size: 0.85em;
    font-weight: 600;
}

.top-bar:after {
    content: " ";
    position: absolute;
    height: 45px;
    width: 100%;
    top: 0;
    background: #000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.top-bar a {
    color: #fff;
}

.top-bar #menu-top-menu li a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home .top-bar {
    color: #353535;
}

.home .top-bar:after {
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%)
}

.home .top-bar a {
    color: #353535;
}







/*--------------------------------------------------------------
## 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;
}

body #masthead .navbar-nav > li {
    margin: 0 5px;
}


body #masthead .navbar-nav > li > a:hover {
  text-decoration: none;  
}

body #masthead .navbar-nav > li {
    border-bottom: solid 8px var(--primaryColour);
    display: flex;
  align-items: center;
}

body #masthead .navbar-nav > li:hover {
    border-color: var(--accentColour);
}

body #masthead .navbar {
    align-items: stretch !important;
}

body #masthead .navbar-collapse {
    align-items: stretch !important;
}

.menu-animated-layer {
    position: fixed;
    top: 0;
    width: calc(100vw - 35vw);
    right: 0;
    bottom: 0;
}

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

@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: 100%;
        flex-direction: column-reverse;
        width: calc(100vw - 35vw);
    }
    
    .main-nav-container.show .navbar-collapse {
        display: block;
    }

    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;
    }
    
    body div#main-nav.main-nav-container.isopening .layer-three {
        transition: all 400ms;
    }
    
    /* 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;
    }
    
    body div#main-nav.main-nav-container.isclosing .layer-three {
        transition: all 600ms;
    }
    
    /* Animate flex banner */
    .main-nav-container .flex-banner {
        transition: 225ms ease;
    }
    
    .main-nav-container.show .flex-banner {
        opacity: 0;
        transform: translateY(-100%);
    }
    
    .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;
    }
}


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

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

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

/* Dropdown Css */

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

    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}


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

.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 .wp-block-search__button,
#page .btn,
#page .button,
#page .btn-primary,
#page .quform-submit {
    color: rgb(255, 255, 255);
    background-color: var(--primaryColour);
    border: none;
    padding: 0.8em 1.5em;
    transition: 400ms ease;
    border-radius: 0;
    text-align: center;
    line-height: 1.5 !important;
}

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

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


#page .quform-submit:hover,
#page .woocommerce-tabs li.active .button,
#page .btn:hover,
#page .button:hover,
#page .btn-primary: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.5em;
}

body:not(.home) .page-content,
body:not(.home) .entry-content,
body:not(.home) .entry-summary {
    margin: 1.5em 0 0;
}

.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;
}