/*
Theme Name: NWD Theme
Theme URI: https://nottinghamwebdesign.com
Author: NWD
Author URI: https://nottinghamwebdesign.com
Description: NWD Theme
Version: 4.1
License: GNU General Public License v2 or later
License URI: LICENSE#content.site-content aside#secondary
Text Domain: nwd
Tags: bespoke, nwd
*/

/*--------------------------------------------------------------
>>> THEME DEFAULTS:
----------------------------------------------------------------*/

:root {
    --themeOne: #063b2b;
    --themeTwo: #ec1b21;
    --themeThree: #2fb58c;
}


/*--------------------------------------------------------------
>>> SET GLOBAL VARS:
----------------------------------------------------------------*/

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

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


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links / Buttons
	## Menus
	## Dropdown
	## Post Navigation
	## Subheader
# Accessibility
# Alignments
# Clearings
# Widgets
# List / Tables
    ## Special List
# Content
    ## Builder Modules
    ## Slider
    ## Modal
    ## Accordion
	## Posts and pages
	## Post Grid Style
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body { margin: 0; -webkit-font-smoothing: auto; overflow-x: hidden; font-size: 16px;}
html { margin-top: 0 !important; }
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; }
.container { max-width: 1500px }

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

h1, h2, h3, h4, h5, h6, .heading {
    clear: both;
    color: #24292e;
    font-weight: 700;
    margin-bottom: 1em;
    line-height: 1.25;
    font-family: "EB Garamond", serif;
    line-height: 1.2em;
}

h1 {
    font-size: 2.9rem;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
    line-height: 1.4em;
}

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

.single-post .entry-content.post-content span {
  display: inline-flex;
}

h1 small,
h2 small {
    font-size: 1.6rem;
    font-weight: 700;
    color: #063b2b;
}   

p {
    margin-bottom: 1.5em;
    font-family: 'Open sans', sans-serif;
}

a {
    color: rgb(8, 3, 206);
}

.contact-details a {
    padding: 1.5rem 0;
    margin: 0;
    margin-right: 1rem;
}

.contact-details a:not(:last-child) {
    border-right: 3px solid #d7d7d7;
}


/*--------------------------------------------------------------
# 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 { 
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    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; 
}

form p {
    margin-bottom: 10px;
}

.hf-fields-wrap textarea {
    min-height: 120px;
}
.hf-fields-wrap textarea,
.hf-fields-wrap input:not([type="submit"]) {
    border: solid 3px #197d5f;
  padding: 1.4em 1em;
  color: #197d5f;
  border-radius: 0;
}

.hf-fields-wrap select {
    border: solid 3px #197d5f;
    padding: 0.8em 1em;
    color: #197d5f;
    border-radius: 0;
    background-color: white;
}
.hf-fields-wrap .child-details-inner {
    background-color: #e8edde;
    padding: 1.2em 1em;
    margin: 1.4em 0;
}

.hf-fields-wrap label {
    font-weight: 600;
    color: #063b2b;
}

body .form-bar form {
    position: relative;
}


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

/* make default template full width */

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

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


/*--------------------------------------------------------------
# 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 {
    color: rgb(255,255,255);
    line-height: 38px;
}

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

.top-bar .column {
    font-size: 0.8em;
    text-align: center;
}
@media screen and (min-width: 769px) {
    .top-bar .column {
        font-size: 1em;
        text-align: left;
    }
}

#full-nav {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    padding: 100px 12px;
    overflow: scroll;
}

#full-nav #menu-full-nav >li {
    width: 100%;
}

@media screen and (min-width: 1200px) {
    
    #full-nav {
        padding: 130px 80px;
    }
    
    #full-nav #menu-full-nav >li {
        width: 48%;
    }
    
}

#full-nav #menu-full-nav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: unset;
}

#full-nav #menu-full-nav li {
    height: fit-content;
}

#full-nav #menu-full-nav > li.menu-item-has-children > a {
    font-weight: 700;
}

@media screen and (min-width: 1200px) {
    #full-nav #menu-full-nav > li.menu-item-has-children > a {
        font-weight: 700;
        font-size: 1.2em !important;
    }
}


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

header#masthead {
    margin-bottom: 0;
    z-index: 10;
    margin: auto;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

header#masthead .header-btn {
    font-size: 0.8em;
    width: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header#masthead .header-btn:hover {
    width: 60px;
}

@media screen and (min-width: 769px) {
    header#masthead .header-btn {
        font-size: 1em;
        width: 70px;
    }

    header#masthead .header-btn:hover {
        width: 120px;
    }
    
}

header#masthead .header-btn .btn-text {
    color: white;
    writing-mode: vertical-rl;
    margin-right: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
}


.flex-logo {
    height: auto;
    position: relative;
}

.flex-logo img {
    max-height: 70px;
    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;
    position: relative;
    z-index: 2;
    height: 115px;
}

.flex-logo > a:visited, .flex-logo > a:hover {
    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);
}


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

body #content .fl-button,
.btn,
.button,
.btn-primary {
    color: #000 !important;
    font-family: 'Arbutus Slab', serif;
    border-radius: 0;
    border: 0;
    border-bottom: solid 8px var(--themeTwo);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 1rem 1.5rem 1rem;
    transition: background-color 255ms ease-in-out;
}

body #content .fl-button:hover,
.btn:hover,
.button:hover,
.btn-primary:hover {
    color: #fff !important;
    background-color: var(--themeOne);
    border-color: var(--themeTwo);
}

body .btn-primary {
    color: #fff !important;
    background-color: var(--themeTwo);
    border-bottom: solid 8px var(--themeOne);
}

body #content .fl-button:hover span {
    color: #fff;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: #75f0cb;
    background: linear-gradient(0deg, rgba(117, 240, 203, 0) 0%, rgba(108, 240, 200, 0.48) 45%, rgba(255, 255, 255, 1) 100%);
    z-index: -1;
}

#masthead:after {
    position: absolute;
    top: -330px;
    left: -150px;
    width: 560px;
    height: 560px;
    background: rgba(255, 255, 255, 0);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 10%, rgba(255, 255, 255, 0) 50%);
    z-index: -1;
}

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

body #masthead p {
    color: white;
}

body #masthead .navbar-nav > li a {
    font-size: 1em !important;
    color: rgb(255,255,255);
    padding: 0.8em 1em 0.6em 1em;
    font-weight: 600;
    position: relative;
    text-transform: capitalize !important;
    line-height: 1.75;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: solid transparent 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body #masthead #menu-main-menu.navbar-nav > li a {
    font-size: 0.9em !important;
    padding: 0.4em 0.6em 0.4em 0.6em;
}

@media screen and (min-width: 769px) {
    body #masthead #menu-main-menu.navbar-nav > li a {
        font-size: 1.4em !important;
        padding: 0.8em 1em 0.6em 1em;
    }  
}


body #masthead .header-phone {
    font-size: 1.2em !important;
    color: var(--themeOne);
    font-weight: 600;
}

body #masthead .header-phone:hover {
    font-size: 1.2em !important;
    background-color: var(--themeOne);
    color: white;
}


body #masthead .navbar-nav > li.current_page_item > a {
    color: #fff;
    background-color: var(--themeOne);
    border-bottom: solid 5px var(--themeTwo);
}


body #masthead .navbar-nav > li.show:not(.current_page_item) > a,
body #masthead .navbar-nav > li:not(.current_page_item):hover > a {
    /* background-color: var(--themeTwo); */
    border-bottom: solid 5px var(--themeTwo);
    background-color: var(--themeOne);
    color: white;
}

body #masthead .navbar-nav > li.current_page_item .dropdown-icon:after,
body #masthead .navbar-nav > li.current_page_item .dropdown-icon:before,
body #masthead .navbar-nav > li:not(.current_page_item):hover .dropdown-icon:after,
body #masthead .navbar-nav > li:not(.current_page_item):hover .dropdown-icon:before {
    background: white;
}

ul#menu-main-menu {
    margin: auto;
    height: 100%;
    position: relative;
    justify-content: center;
}

#masthead .navbar-toggler {
    background-color: #7be7fc;
    width: 50px;
    height: 50px;
    font-size: 22px;
    padding: 0;
    border-radius: 0;
}

#masthead .navbar-toggler i {
    color: #17183d;
}

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

.menu-item {
    line-height: 1.8em;
}

/* Small menu. */

button.navbar-toggler {
    line-height:45px;
    font-size: 1.9rem;
}

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

@media screen and (max-width: 768px) {
    .flex-logo {
        max-width: 180px;
    }
}

@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;
    }
    
    body #masthead .navbar-nav > li a {
        font-size: 17px;
    }
}


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

.dropdown-menu {
    border-radius: 0;
    width: 100%;
}

.dropdown.small-dropdown {
    position: relative;
}

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

body #masthead  .dropdown-menu .dropdown-item {
    white-space: normal;
    background: transparent;
    width: 90%;
    margin: auto;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-size: 0.9em;
    font-weight: 400;
}

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

.dropdown-toggle::after{
    display:none;
}
.dropdown ul .menu-item {
    width: 100%;
}

.dropdown, .dropleft, .dropright, .dropup {
    position: unset !important;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
    padding: 1.5em 0;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children > .dropdown-menu {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    margin-left: -1px;
    border: none;
    border-radius: 0;
}

.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.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
}

#page ul.navbar-nav > li.menu-item.dropdown .dropdown-menu .dropdown-menu {
    display: block;
}

body #page .navbar-nav > .dropdown > ul.dropdown-menu > li > a {
    letter-spacing: 0.5px;
    font-weight: 700;
}


/* Dropdown Icon */

.dropdown .dropdown-icon {
    position: absolute;
    padding: 15px;
    right: 10px;
    top: 10px;
}

.dropdown .dropdown-icon:before{
    transition: all ease 0.5s;
    background: var(--themeOne);
    height: 4px;
    width: 20px;
    top: 15px;
    left: 5px;
    content: "";
    position: absolute;
    border-radius: 4px;
}

.dropdown .dropdown-icon:after {
    transition: all ease 0.5s;
    background: var(--themeOne);
    content: "";
    height: 20px;
    left: 13px;
    position: absolute;
    top: 7px;
    width: 4px;
    border-radius: 4px;
}

.dropdown.show .dropdown-icon:after{
    transform:rotate(-90deg);
}

.dropdown.show .dropdown-icon:before{
   transform:rotate(-180deg);
}


/* Dropdown Css */

.dropdown-submenu {
    position: relative;
}

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

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

body #masthead .navbar-nav .dropdown-menu li.menu-item:hover {
    background-color: var(--themeTwo);
}

body #masthead .navbar-nav .dropdown-menu li.menu-item:hover a {
    color: white;
}


body #masthead .navbar-nav .dropdown-menu li.menu-item.active  {
    background-color: #063b2b;
}

body #masthead .navbar-nav .dropdown-menu li.menu-item.active a {
    color: white;
}


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

/* Mobile Menu starts on this size */

@media screen and (max-width: 1199px) { 
    
    body #masthead .navbar-nav > li {
        margin: 0.2em 1em;
    }

    #page ul.navbar-nav > li.menu-item {
        border: solid 5px rgb(0 0 0 / 0%);
    }
    
    #page ul.navbar-nav > li.menu-item.dropdown.show {
        border: solid 5px rgba(0, 0, 0, 0.40);
    }

    body #page .navbar-nav > .dropdown > ul.dropdown-menu > li:not(:first-child) {
        border-top: solid 5px rgba(0, 0, 0, 0.40); 
    }
    
}


/* Desktop Menu starts on this size */

body #masthead ul#menu-main-menu.navbar-nav > li {
    margin: 0;
}

@media screen and (min-width: 1200px) {
    
    ul#menu-main-menu > li {
        display: flex;
        align-items: center;
    }
    
    .dropdown ul .menu-item {
        width: 100%;
    }
    
    #page .navbar-nav > .dropdown > ul {
        display: flex !important;
        flex-direction: column;
    }
    
    .dropdown-menu {
        min-width: 280px;
    }
    
    .dropdown .dropdown-icon {
        position: unset;
        padding: 0;
        right: 0;
        margin-left: 0;
    }
    
    .dropdown .dropdown-icon:before {
        display: none;
    }
    
    .dropdown .dropdown-icon:after {
        background: transparent;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid rgb( 255, 255, 255);
        bottom: -68px;
        left: 0;
        right: 0;
        margin: auto;
        opacity: 0.6;
    }
    
    .dropdown:hover .dropdown-icon:after {
        border-top: 12px solid var(--themeTwo);
        opacity: 1;
    }
    
}


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

.blog .nav-links {
    margin: 16px;
}

.blog .nav-links .page-numbers {
  background-color: var(--themeOne);
  padding: 0.6rem;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.blog .nav-links .page-numbers:not(.current):hover,
.blog .nav-links .page-numbers:not(.current):focus {
  background-color: var(--themeTwo);
}

.nav-links .page-numbers.current {
    opacity: 0.7;
}


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


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

.subheader {
    background-color: #fff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: solid 4px #d8d8d8;
    color: white;
    padding: 4em 0;
}

.home .subheader {
    height: 100vh !important;
}

.single.single-post .subheader {
  height: 300px;
}

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

.subheader .container.subheader-content {
    z-index: 2;
    position: relative;
    height: 100%;
}

.subheader .container .hero-image-small {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

@media screen and (min-width: 1200px) {
    
    .subheader .container .hero-image-small {
        width: 500px;
        height: 300px;
    }
}

.subheader .container.subheader-content .subheader-inner .subheader-text {
    max-width: 500px;
}

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

.subheader .container .hero_content_text {
    padding: 2rem 0 0 0;
}


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

.wp-block-latest-posts li {
    margin-bottom: 14px;
    border-bottom: solid 1px #97b4c5;
    padding-bottom: 14px;
}


.wp-block-latest-posts li a {
    color: black;
}

.wp-block-tag-cloud.is-style-outline a {
    font-size: 13px !important;
}

.wp-block-tag-cloud.is-style-outline a:hover {
    background-color: #1b0068;
    color: white;
}

.widget {
    margin: 0 0 1.5em;
}

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

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

body div#page .nav > li > a:focus,
body div#page .nav > li > a:hover {
    background-color: var(--themeTwo);
    text-decoration: underline;
}

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

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

main#content .widget .nav-link {
    margin-bottom: 0.3em;
    background-color: var(--themeTwo);
    color: white;
    padding: .8rem 1.2rem;
    text-decoration: none !important;
}

main#content .widget .nav-item.current-cat .nav-link,
main#content .widget .nav-link:hover,
main#content .widget .nav-link:focus {
    background-color: var(--themeOne);
}

main#content .widget .nav-link.current-item {
    color: #17183d;
    background-color: rgb(77 199 252);
}


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

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

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

ul.stylish li:not(:last-child) {
    border-bottom: solid 2px red;
    margin-bottom: 1em;
}

.social-media-list i {
    font-size: 1.8em;
}

.social-media-list i {
    font-size: 1.4em;
}

#footer-widget .social-media-list i {
    font-size: 1.8em;
}

/*--------------------------------------------------------------
## Special List
--------------------------------------------------------------*/

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

ul.special-list li {
    padding: 0.2em 0 0.2em 0.8em;
}

ul.special-list li:before {
    font-family: "Font Awesome 5 Free";
    content: '\f00c';
    font-weight: 900;
    margin-right: 0.5em;
    font-size: 1.3em;
    color: var(--themeOne);
}


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

aside#secondary {
    border-radius: 0 0 0 40px;
    margin: 3rem 0;
}

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

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

/*--------------------------------------------------------------
## Builder Modules
--------------------------------------------------------------*/


.fl-module-html table:not(.no-bg),
.content-description table {
    background-color: white;
}
.fl-module-html table td,
.content-description table td {
    padding: 0.8em 1.2em;
}
.fl-module-html table:not(.no-border) tr:not(:last-child),
.content-description table tr:not(:last-child) {
   border-bottom: solid 3px #ec1b21;
}

.fl-module-rich-text a,
.content-description a {
    color: rgb(22, 68, 58);
    font-weight: 600;
}

.fl-module-content .fl-rich-text a {
    font-weight: 600;
    color: #0058ff;
}

.fl-module-content .fl-rich-text a:hover {
    color: #17207b;
}


/*--------------------------------------------------------------
## Slider
--------------------------------------------------------------*/

body .swiper-horizontal .swiper-button-next,
body .swiper-horizontal .swiper-button-prev {
    bottom: 0;
    top: unset;
    background-color: #ec1b21;
    padding: 12px;
    z-index: 0;
}

body .swiper-horizontal .swiper-button-next svg,
body .swiper-horizontal .swiper-button-prev svg {
    color: white;
}

.slider-bg-image .swiper-slide .custom-carousel {
    position: relative;
}

.slider-bg-image .swiper-slide .custom-carousel:after {
    content: "";
    position: absolute;
    height: 400px;
    left: 0;
    width: 100%;
    background: #021c13;
    background: linear-gradient(0deg, rgba(2, 28, 19, 0.82) 0%, rgba(6, 59, 43, 0.41) 55%, rgba(6, 59, 43, 0) 100%);
    bottom: 0;
}

.fl-post-slider-post .fl-post-slider-feed-date {
    color: #e8edde;
    font-weight: 500;
}
.fl-post-slider-post .fl-photo-content img {
    height: 280px;
    object-fit: cover;
}

body .fl-post-slider-navigation {
  top: unset;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 8;
}

body .fl-post-slider-navigation .fl-content-ui-button,
body .fl-post-slider-navigation a {
  background-color: #ec1b21;
  padding: 12px;
}

body .fl-post-slider-navigation a svg {
  color: white;
}

body .fl-post-slider-post .fl-slide-bg-photo {
    height: 200px;
}

body .fl-post-slider-background .fl-post-slider-content,
body .fl-post-slider-post .fl-slide-bg-photo {
        position: relative !important;
}

.swiper-slide .slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-bg-image .swiper-container {
    height: 100vh;
}


/*--------------------------------------------------------------
## Modal
--------------------------------------------------------------*/

.modal-popup {
    z-index: 99999999;
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: 500px;
}

.modal-popup .inner-modal {
    position: relative;
    width: 100%;
    background-color: white;
    padding: 50px;
    box-shadow: 0px 0px 20px #0d3929;
    max-width: 100%;
}

.modal-popup #closeModal {
    cursor: pointer;
}

.modal-popup #closeModal:hover,
.modal-popup #closeModal:focus {
    opacity: 0.7;
}

.modal-popup .inner-modal:after {
    z-index: -1;
    content: "";
    position: absolute;
    left: -20px;
    top: -20px;
    width: 100%;
    height: 100%;
    background-color: #063b2b;
}


/*--------------------------------------------------------------
## Accordion
--------------------------------------------------------------*/

.fl-accordion-item.is-empty .fl-accordion-button-icon  {
    display: none;
}


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

.post-header {
    margin-top: -180px;
  background-color: white;
  padding: 40px;
  border: solid 6px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.post-content {
    max-width: 980px;
    margin: 3rem auto;
}

.post-header .posted-on {
    color: rgb(236, 27, 33);
}

body:not(.home) #content.site-content main#main {
    padding: 3rem 0;
}

#content.site-content aside#secondary {
    padding: 3rem 25px;
    background-color: #f7f9f4;
}

article .post-inner .post-thumbnail {
    height: 200px;
    overflow: hidden;
    object-fit: cover;
}

.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;
    bottom: 3rem;
    right: 15px;
}

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

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

body:not(.fl-builder) .post.hentry:not('.post-loop') {
    margin-bottom: 4rem;
}

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

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


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

.fl-post-grid-post {
    position: relative;
    border: none;
}

.fl-post-grid-post .fl-post-grid-title {
    background-color: var(--themeOne);
    padding: 20px;
    border-radius: 18px 18px;
    margin: auto;
    transition: 350ms ease;
}

.fl-post-grid-post .fl-post-grid-meta-terms,
.fl-post-grid-post .fl-post-grid-meta {
    padding: 10px 22px !important;
    border-radius: 20px;
    border: solid 2px #e5e5e5;
    margin: 8px 0;
    width: auto;
}

.fl-post-grid-post:hover .fl-post-grid-image:after {
    opacity: 0;
}

.fl-post-grid-post:hover .fl-post-grid-title {
    background-color: var(--themeThree);
}

.fl-post-grid-post .fl-post-grid-text {
    display: flex;
    flex-direction: column;
}

.fl-post-grid-post .fl-post-grid-meta {
    order: 1;
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 0 12px !important;
}

.fl-post-grid-post .fl-post-grid-meta .fl-sep {
    display: none;
}

body #page .fl-post-grid-title {
    order: 2;
    margin: 0;
    text-align: center;
}

body #page .fl-post-grid-title a {
    color: white;
}

.fl-post-grid-meta-terms {
    order: 3;
}


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


/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/

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

#footer-widget {
    border-top: solid 20px var(--themeOne);
}

#footer-widget a {
    color: var(--themeOne);
    font-weight: 700;
}

body div#page #footer-widget .nav > li > a:focus,
body div#page #footer-widget .nav > li > a:hover {
    background-color: #e8edde;
    text-decoration: none;
}

footer .container {
    display: flex;
}

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

footer#colophon {
    font-size: 85%;
    color: #99979c;
    background-color: #f7f7f7;
}

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

.copyright {
    font-size: 0.875rem;
    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%;
    }
    
}