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

:root {
    --firstColour: rgb(118, 163, 248);
    --secondColour: rgb(43, 50, 63);
    --acentColour: rgb(53, 161, 123);
    /* --acentColour: rgb(2, 182, 21); */
}


.hf-fields-wrap p label {
    display: block;
}

.hf-fields-wrap p textarea,
.hf-fields-wrap p input {
    width: 100%;
}

body .green-area a {
    color: white !important;
    font-weight: 700 !important;
}



.fl-module-tabs .fl-tabs .fl-tabs-labels {
    display: flex;
    justify-content: center;
    font-weight: 700;
}

.fl-module-tabs .fl-tabs .fl-tabs-labels .fl-tabs-label:not(.fl-tab-active):hover {
    background-color: white;
    color: var(--secondColour);
}

body .property-search-form {
    background-color: #35a17b24;
    padding: 30px;
    font-size: 0.9em;
    margin: 100px 0 0 0;
}

body .propertyhive-result-count {
    font-size: 0.9em;
    margin-top: 8px;
}

body .propertyhive-ordering {
    font-size: 0.9em;
}

.property-search-form.property-search-form-default.clear {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-search-form .control {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}

.propertyhive-pagination {
    margin: 50px 0;
    display: flex;
  justify-content: center;
}

.propertyhive-pagination li {
    margin: 0 5px;
}

.propertyhive-pagination li span {
    background-color: var(--secondColour);
    color: white;
    padding: 8px 14px;
}

.propertyhive-pagination li a {
    text-decoration: none;
}

.propertyhive-pagination li a:not(.next) {
    background-color: var(--acentColour);
    color: white;
    padding: 8px 14px;
}

.propertyhive-pagination li a:not(.next):hover {
    background-color: var(--secondColour);
}

@media screen and (min-width: 992px) {
   .property-search-form.property-search-form-default.clear {
      flex-direction: row;
        align-items: center;
    } 
    
    .property-search-form .control {
      flex-direction: column; 
      margin-bottom: 0px;
    }
}

.property-template-default .type-property .property-col-right,
.property-template-default .type-property .property-col-left {
    width: 100%;
}

.property-template-default .type-property .property-col-right {
    background-color: #f2f2f2;
    padding: 30px;
}


.property-template-default .type-property {
    padding: 2em 0;
    display: flex;
    flex-wrap: wrap;
}



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

    .property-template-default .type-property .property-col-right,
    .property-template-default .type-property .property-col-left {
        width: 50%;
    }
    
    .property-template-default .type-property .property-col-left {
        padding-right: 30px;
    }

}

.property-template-default .type-property .images,
.property-template-default .type-property .property_actions,
.property-template-default .type-property .summary {
    float: unset;
}

.property-template-default .type-property .images {
position: sticky;
  top: 20px;
}


.property-template-default .type-property .floor-area {
    float: left;
    font-weight: 600;
    color: var(--acentColour);
}

.property-template-default .type-property .price {
    float: right;
    font-weight: 800;
    color: var(--acentColour);
}

.property-template-default .type-property .flex-viewport .slides li img,
.property-template-default .type-property .flex-viewport {
    max-height: 380px;
    object-fit: cover;
}

.property-template-default .type-property .flexslider {
    margin-bottom: 20px;
}

.properties {
    display: flex;
    flex-wrap: wrap;
}


.property-template-default .type-property .property_title {
    font-size: 2.1rem;
}

.property-template-default #content {
    padding: 22px 0;
}

.property-template-default .type-property .property_meta {
    float: left;
    width: 100%;
    margin: 1rem 0;
    padding: 1rem 0 0.5rem 0;
    border-top: 3px var(--acentColour) solid;
    border-bottom: 3px var(--acentColour) solid;
}

.property-template-default .type-property .action-make-enquiry a {
     color: rgb(255, 255, 255);
    background-color: var(--firstColour);
    border: none;
    transition: 400ms ease;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    margin-top: 1.8rem;
    display: flex;
}

.property-template-default .type-property .action-make-enquiry a:hover {
    background-color: var(--acentColour);
}

.property-template-default .type-property .property_actions {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

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

.property_meta ul {
    list-style: none;
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}

.property_meta ul li span {
    display: block;
    font-weight: 700;
    color: #2b323f;
}

.property_meta ul li {
    width: 50%;
    margin-bottom: 0.8em;
    padding-right: 1em;
    font-size: 0.9em;
    min-width: 140px;
}

.properties .type-property {
    width: 48% !important;
    margin: 5px 1% !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1199px) { 
    .properties .type-property {
        width: 31% !important;
        margin: 5px 1.15% !important;
    }
}

.properties .type-property .summary {
  display: none;  
}
.propertyhive ul.properties li .thumbnail {
    border: solid 3px var(--acentColour);
    border-bottom: none;
    float: none;
    width: 100%;
}

.propertyhive ul.properties li .details {
    float: none;
    position: relative;
    text-align: center;
    /* width: 95%; */
    width: 100%;
    padding: 20px 20px 42px 20px;
    background-color: var(--secondColour);
    color: white;
    /* margin-top: -20px; */
    z-index: 1;
    position: relative;
    /* margin-left: 2.5%; */
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

.propertyhive ul.properties li .details .price {
    width: 100%;
    text-align: center;
  font-size: 16px;
}

.propertyhive ul.properties li .details .floor-area {
    width: 33.33%;
  font-size: 16px;
  display: none;
}

.propertyhive ul.properties li .details .actions {
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    font-size: 16px;
}

.propertyhive ul.properties li .details .actions a {
   padding: 8px 14px;
   text-decoration: none;
}
.propertyhive ul.properties li .details .actions a:hover {
   color: white;
}


.propertyhive ul.properties li .details h3 {
    font-size: 1.2rem;
    margin: 0 auto 5px auto;
}

.propertyhive ul.properties li .thumbnail img {
    width: 100%;
    height: 220px;
    margin-bottom: 0 !important;
    object-fit: cover;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header	
    ## Top Bar
    ## Header Banner
    ## Header Mobile
    ## Subheader
# Navigation
	## Menus
	## Dropdown
	## Post Navigation
	## Links / Buttons
# Accessibility
# Alignments
# Clearings
# Widgets
# List / Tables
# Content
	## Posts and pages
	## Post Grid
	## Comments
# Infinite scroll
# Media
	## Captions
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

body { margin: 0; -webkit-font-smoothing: auto; overflow-x: hidden;}
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
--------------------------------------------------------------*/

body {
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    color: #2b323f;
    font-weight: 600;
    margin-bottom: 0.5em;
    line-height: 1.25;
    font-family: 'Frank Ruhl Libre', serif;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
    line-height: 17.5px;
    font-weight: 800;
}

p {
    margin-bottom: 1.2em;
}

.theme-color,
a {
    color: var(--acentColour);
}


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

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

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


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

textarea,
input { 
    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; 
}

.wpcf7-form p * {
    display: block;
    width: 100%;
}


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

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

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

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


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

header#masthead {
    margin-bottom: 0;
    background-color: var(--acentColour);
    z-index:10;
    transition: 400ms ease;
    min-height: 50px;
}

header#masthead.menu-open {
    border-radius: 0 0 20px 20px;
    padding-bottom: 40px;
}

.flex-logo {
    height: auto;
    width: 280px;
}

.flex-logo a {
    background-color: var(--secondColour);
    padding: 8px;
    position: absolute;
    left: 0;
    right: 0;
    width: fit-content;
    margin: auto;
}

.flex-logo img {
    max-height: 100px;
    padding: 10px;
}

.flex-logo > a {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.1rem;
    outline: medium none;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.flex-logo > a:visited, .flex-logo > a:hover {
    text-decoration: none;
}


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

.top-bar .container {
    display: flex;
}

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

.top-bar .social-media-list a{
    color: rgb(255,255,255);
}

.top-bar .column {
    flex: auto;
    color: rgb(255,255,255);
    line-height: 38px;
}

.top-bar .column a{
    color: rgb(255,255,255);
    text-decoration:none;
}


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

.flex-banner {
    margin-left: 5%;
}

.flex-banner a{
    text-decoration: none;
    background-color: rgb(0,0,0);
    padding: 13px 20px;
    color: rgb(255,255,255);
}

.flex-banner a:hover{
    background-color: rgb(0,0,0);
}


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

@media screen and (max-width: 1199px) { 
    
    .flex-banner {
        order: 2;
    }
    
    .flex-logo{
        order: 1;
    }
    
    .navbar-toggler{
        order: 3;
    }
    
    #main-nav{
        order:4;
    }
}


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

.subheader {
    background-color: #f7f7f7;
    background-position: center;
    background-size: cover;
}

.main-overlay {
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
}

.subheader .container.subheader-content {
    z-index: 2;
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}

.subheader .container .entry-title {
    margin: 0;
    border: 0;
    padding: 0;
}


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

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

#masthead nav {
    padding-left: 0;
    padding-right: 0;
}

body #masthead .navbar-nav > li > a {
    color: rgb(255,255,255);
    padding: 1rem 0.9rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align:center;
}

body #masthead .navbar-nav > li > a:hover,
body #masthead .navbar-nav > li.current_page_item > a {
    color: rgb(255,255,255);
}

ul#menu-main-menu {
    width: 100%;
}

@media (min-width: 1200px){
    
    ul#menu-main-menu {
        margin-left: 5%;
    }
}

ul#menu-main-menu .menu-item a:after{
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 14px;
    width: 0%;
    height: 2px;
    background-color: rgb(255, 255, 255);
    -webkit-transition:all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition:all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition:all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

ul#menu-main-menu .menu-item a:hover:after{
    width: 50%;
}

#masthead .navbar-toggler {
    position: absolute;
  right: 0;
}

#masthead.menu-open {
    padding-top: 1em;
}


#masthead.menu-open .navbar {
    flex-wrap: nowrap !important;
  flex-direction: column !important;
}

#masthead.menu-open .flex-logo-container {
    display: none;
}
#masthead .navbar-toggler i {
    color: rgb(255, 255, 255);
    font-size: 1.3em;
}

.navbar-toggle .icon-bar {
    background: #fff none repeat scroll 0 0;
}

ul#menu-main-menu .menu-item {
    flex: auto;
    position: relative;
    line-height: 55px;
}

#menu-main-menu-right li.menu-item.active a,
#menu-main-menu-left li.menu-item.active a {
  background-color: #2b323f;  
}

#menu-main-menu-right li.menu-item a:hover ,
#menu-main-menu-left li.menu-item a:hover {
  background-color: #77a4f9;  
}



/* Small menu. */

button.navbar-toggler {
    line-height:45px;
}

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    
    .menu-toggle {
        display: none;
    }
}

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

@media screen and (max-width: 991px) {
    
    .navbar-nav .dropdown-menu {
        border: medium none;
        margin-left: 1.250rem;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0;
    }

    #masthead .navbar-nav > li > a {
        padding-bottom: 0.625rem;
        padding-top: 0.313rem;
    }

    .navbar-light .navbar-toggler {
        border: medium none;
        outline: none;
    }
}


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

.dropdown-menu {
    width:100%;
    min-width:100%;
}

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

.dropdown-menu .dropdown-item {
    white-space: normal;
    background: transparent;
    line-height: 1.2;
    padding-bottom: 0.313rem;
    padding-top: 0.313rem;
    color: rgb(255,255,255);
}

.dropdown-menu .dropdown-item:hover {
    background: transparent;
}

.dropdown-toggle::after{
    display:none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

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

.dropdown.menu-item-has-children .dropdown.menu-item-has-children > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover > a:after {
    border-left-color: rgb(255,255,255);
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Dropdown Css */

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

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

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

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

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


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

.hf-fields-wrap input[type=submit],
.property-search-form input[type=submit],
.btn,
.button,
#page .fl-button,
.btn-primary {
    color: rgb(255, 255, 255);
    background-color: var(--firstColour);
    border: none;
    border-radius: 0;
    transition: 400ms ease;
}

.hf-fields-wrap input[type=submit]:hover,
.property-search-form input[type=submit]:hover,
.btn:hover,
.button:hover,
#page .fl-button:hover,
.btn-primary:hover {
    background-color: var(--acentColour);
}

#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 {
    margin: 0 0 1.5em;
}

.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(--acentColour);
    color: white;
    text-decoration: none;
}

.half-rule {
    width: 6rem;
    margin: 2.5rem 0;
}

.widget .nav-link {
    display: inline-block;
    padding: .8rem 1.2rem;
    width: 100%;
    line-height: 21px;
}


/*--------------------------------------------------------------
# List / Tables
--------------------------------------------------------------*/

#page ul.social-media-list li {
    padding: 0 0.7em;
    line-height: 3em;
}


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

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

body:not(.home) #content.site-content main#main, #content.site-content aside#secondary{
    padding: 50px 0;
}

.post-loop-title {
    font-size: 25px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.sticky .entry-title::before {
    content: '\f08d';
    font-family: "Font Awesome\ 5 Free";
    font-size: 1.563rem;
    left: -2.5rem;
    position: absolute;
    top: 0.375rem;
    font-weight: 900;
}

.sticky .entry-title {
    position: relative;
}

.single .byline,
.group-blog .byline {
    display: block;
}

.single-post .entry-title {
    flex:2;
}

.single-post .entry-meta {
    flex:1;
    text-align: right;
}

.single-post .page-content,
.single-post .entry-content,
.single-post .entry-summary {
    margin: 1.5em 0 0;
}

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

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
    margin-top: 0;
}

.post.hentry {
    margin-bottom: 4rem;
}

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

.entry-title > a {
    color: inherit;
}


/*--------------------------------------------------------------
## Post Grid
--------------------------------------------------------------*/

#page .fl-post-grid-post {
    position: relative;
    overflow: unset;
    border: none;
    background-color: transparent;
}

#page .fl-post-grid-post img {
    border-radius: 20px;
}

#page .fl-post-grid-post:not(.bb-suppliers) .fl-post-grid-text {
    position: absolute;
    bottom: -2em;
    left: 0.25em;
    border-radius: 40px 20px 40px 20px;
    background-color: var(--firstColour);
    border: none;
    transition: 400ms ease;
}

#page .fl-post-grid-text h2 {
    margin: 0;
}

#page .fl-post-grid-text * {
    color: rgb(255, 255, 255);
}

#page .fl-post-grid-post:not(.bb-suppliers):hover .fl-post-grid-text {
    background-color: var(--acentColour);
}

#page .fl-post-grid-post:not(.bb-suppliers) .fl-post-grid-text p {
    font-size: 18px;
    color: rgb(215, 215, 215);
}

#page .fl-post-grid-post.bb-suppliers .fl-post-grid-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#page .fl-post-grid-post.bb-suppliers .fl-post-grid-text p {
    color: rgb(0, 0, 0);
    margin-top: 2em;
}

.link_card.link-box-shadow {
    box-shadow: 0px 10px 15px black;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

.comment-body .pull-left {
    padding-right: 0.625rem;
}

.comment-list .comment {
    display: block;
}

.comment-list {
    padding-left: 0;
}

.comments-title {
    font-size: 1.125rem;
}

.comment-list .pingback {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
    border: medium none;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}


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

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

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


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    background: #f1f1f1 none repeat scroll 0 0;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 0.313rem 0.313rem 0;
    text-align: center;
}
.wp-caption img[class*="wp-image-"] {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}
.wp-caption .wp-caption-text {
    font-size: 0.688rem;
    line-height: 1.063rem;
    margin: 0;
    padding: 0.625rem;
}

.wp-caption-text {
    text-align: center;
}


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

div#footer-widget {
    background: var(--secondColour);
}

div#footer-widget h4 {
    color: white;
}

footer .container {
    display: flex;
}

footer .site-info {
    flex: auto;
    line-height: 38px;
}

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

.navbar-dark .site-info {
    color: rgb(255,255,255);
}

.copyright {
    margin-bottom: 0;
    text-align: center;
}

.copyright a, footer#colophon a {
    color: inherit;
}

@media screen and (max-width: 767px) {
    #masthead .navbar-nav > li > a {
      padding-bottom: 0.938rem;
        padding-top: 0.938rem;
    }

}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/

@media only screen and (max-width: 1280px) {
    
    html {
        font-size: 95%;
    }
    
}

@media screen and (max-width: 1199px) {
    
    .navbar-dark .dropdown-item {
        color:rgb(255,255,255);
    }
    
    .navbar-nav .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
    }
}


/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/

@media only screen and (max-width: 1024px) {
    
    html {
        font-size: 90%;
    }
}


/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/

@media only screen and (max-width: 960px) {
    
    html {
        font-size: 85%;
    }
}


/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/

@media only screen and (max-width: 768px) {
    
    html {
        font-size: 80%;
    }
    
}


/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/

@media only screen and (max-width: 480px) {
    
    html {
        font-size: 75%;
    }
}