/*
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: #f00;
    --secondaryColour: #b20000;
	--darkColour: #dd0303;
    --accentColour: rgb(45, 148, 186);
}

body .fl-gallery {
  height: 450px;
  display: flex;
  flex-wrap: wrap;
}

body .fl-gallery-item {
  display: flex !important;
  min-height: 150px;
  min-width: 150px;
  left: unset !important;
  position: relative !important;
  flex: 1;
  top: unset !important;
  flex-grow: 1;
	width: unset;
}

body .fl-gallery-item img,
body .fl-gallery-item div {
	width: 100%;
	height: 100%;
}

body #page .fl-module a:not(.btn, .button) {
	color: var(--darkColour);
  	font-weight: 500;
}
body #page .fl-module a:not(.btn, .button):hover {
	color: var(--primaryColour);
}

.row-overflow {
    z-index: 5;
    position: relative;
}

#menu-footer-info,
#menu-services-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: unset !important;
}

#menu-services-menu {
    margin-bottom: 2.2em;
}

.footer-large-area {
    background: #f2f2f2;
    padding: 1.8em 1.6em;
}


.fill-left > .fl-col-content {
  position: relative;
}

.fill-left > .fl-col-content:before  {
    content: '';
    position: absolute;
    height: 100%;
    width: 299px;
    background: inherit;
    top: 0;
    bottom: 0;
    right: 100%;
    
}


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

.fill-left > .fl-col-content:after  {
    content: '';
    position: absolute;
    height: 100%;
    width: 299px;
    background: inherit;
    top: 0;
    bottom: 0;
    left: 100%;
    
}
}

.fill-right > .fl-col-content {
  position: relative;
}


.fill-right > .fl-col-content:before  {
    content: '';
    position: absolute;
    height: 100%;
    width: 299px;
    background: inherit;
    top: 0;
    bottom: 0;
    left: 100%;
}

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

.fill-right > .fl-col-content:after  {
    content: '';
    position: absolute;
    height: 100%;
    width: 299px;
    background: inherit;
    top: 0;
    bottom: 0;
    right: 100%;
    
}
}

#primary article {
    overflow: hidden;
}

/*
.fill-right > .fl-row-content-wrap > .fl-row-content:before  {
    content: '';
    position: absolute;
    height: 100%;
    width: 299px;
    background: white;
    top: 0;
    bottom: 0;
    right: 0;
    
}*/



.hf-fields-wrap {

}

.hf-fields-wrap select,
.hf-fields-wrap input {
    min-height: 40px;
}

.hf-fields-wrap p {
    display: flex;
    flex-direction: column;
    padding: 0 0.5em;
}





.div-overlay {
    z-index: 2;
    position: relative;
}


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

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

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

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

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

.animate {
    transition: 400ms ease;
}

/*--------------------------------------------------------------
>>> 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: 17px; font-weight: 400;}
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: #3e3737;
    font-weight: bold;
    margin-bottom: 0.8em;
    line-height: 1.25;
font-style: normal;
}

h1 {
    font-size: 2.9rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.55rem;
}

h5 {
    font-size: 1rem;
}

.underlay-text {
  color: var(--primaryColour);
  font-size: 0.6em;
}

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

}

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


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

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

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



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

header#masthead {

    z-index: 10;
    left: 10px;
    right: 10px;
    /* border-radius: 30px; */
    top: 40px;
    max-width: 1200px;
    transition: 400ms ease;
}



/*
header#masthead .triangle-left {
    width: 35px;
    height: 65px;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    background-color: white;
    margin-right: -1px;
} */

header#masthead .triangle-right {
    width: 35px;
    height: 75px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    background-color: white;
    margin-left: -1px;
}

header#masthead .header-inner {
    background-color: white;
    height: 75px;
}

@media screen and (min-width: 769px) {
    
    /*
    header#masthead .triangle-left {
        width: 50px;
        height: 82px;
    } */
    
    header#masthead .triangle-right {
        width: 50px;
        height: 82px;
    }
    
    header#masthead .header-inner {
        height: 82px;
    }

}

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

header#masthead.small-header {
    top: 0;
}

header#masthead .menu-contact-link {
    position: absolute;
    right: -50px;
    top: 0;
    display: flex;
    z-index: 12;
    text-decoration: none !important;
}

header#masthead .menu-contact-link .inner {
    display: flex;
    align-items: center;
    background-color: var(--primaryColour);
    padding: 0 0.6em 0 1.2em;
    color: white;
    font-size: 18px;
    transition: all 0.35s ease-in-out;
}

header#masthead .menu-contact-link .triangle-right {
    background-color: var(--primaryColour);
    clip-path: polygon(100% 0, 0 0, 0 100%);
    margin-left: -1px;
    transition: all 0.35s ease-in-out;
}

header#masthead .menu-contact-link:hover .triangle-right,
header#masthead .menu-contact-link:hover .inner {
    background-color: var(--secondaryColour);
}

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

.top-bar {
    position: absolute;
    margin: auto;
    left: 50%;
    top: 10px;
    right: auto;
    z-index: 8;
    transform: translateX(-50%);
    color: rgb(255, 255, 255);
    max-width: 1100px;
    text-align: right;
}

.top-bar a {
    color: rgb(255, 255, 255);
    font-weight: 700;
}


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



#menu-main-menu li {
	display: flex;
	align-items: center;
}

body #masthead .navbar-nav > li > a {
    font-weight: 500;
	text-transform: capitalize;
}

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

@media screen and ( min-width: 2000px) {
#menu-main-menu {
	padding-right: 110px;
	}
}

/*--------------------------------------------------------------
## 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 .btn,
#page .button,
#page .btn-primary,
#page .hf-fields-wrap input[type="submit"] {
    color: rgb(255, 255, 255);
    background-color: var(--secondaryColour);
    border: none;
    padding: 0.8em 1.5em;
    transition: all 0.35s ease-in-out;
    border-radius: 0;
    text-align: center;
    border-radius: 0;
    line-height: 1.5 !important;
    font-weight: 600;
}

#page .fl-button {
    color: rgb(255, 255, 255);
    border: none;
    padding: 0.8em 1.5em;
    transition: all 0.35s ease-in-out;
    border-radius: 0;
    text-align: center;
    border-radius: 0;
    position: relative;
    font-weight: 600;
}

#page .fl-button:after {
    content: " ";
    left: 100%;
    top: 0;
    position: absolute;
    width: 40px;
    height: 100%;
    background-color: var(--secondaryColour);
    clip-path: polygon(100% 0, 0 0, 0 100%);
    margin-left: -1px;
    transition: all 0.35s ease-in-out;
}




#page .fl-button:hover:after {
    background-color: white;
}

#page .fl-button:hover:before {
    background-color: white;
}


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


#page .hf-fields-wrap input[type="submit"]:hover,
#page .woocommerce-tabs li.active .button,
#page .btn:hover,
#page .button:hover,
#page .btn-primary:hover {
    color: var(--primaryColour);
    background-color: white;
    text-decoration: none;
    color: var(--primaryColour);
}

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

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

#page .fl-button:hover span {
    color: var(--primaryColour);
}

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

#footer-widget .nav > li > a:focus,
#footer-widget .nav > li > a:hover {
    background-color: var(--primaryColour);
    color: rgb(255,255,255) !important;
    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;
}

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