/*
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
Text Domain: nwd
Tags: bespoke, nwd
*/




:root {
    --skew: skewX(340deg);
    --dark_blue: rgb(42, 33, 96);
    --normal_blue: rgb(27, 113, 186);
    
}






table.table-style {
    position: relative;
}
table.table-style tr:nth-of-type(odd) {
    background-color: var(--normal_blue);
}

table.table-style tr:nth-of-type(even) {
    background-color: var(--dark_blue);
}


table.table-style:after {
    content: " ";
    position: absolute;
    height: 25px;
    bottom: -24px;
    width: 100%;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0%, 70% 0%, 50% 100%, 0 100%);
    background-color: var(--normal_blue);
}

table.table-style:before {
    content: " ";
    position: absolute;
    height:25px;
    top: -24px;
    width: 100%;
    left: 0;
    clip-path: polygon(30% 100%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    background-color: var(--dark_blue);
}




table.table-style td {
    text-align: center;
    padding: 1em;
    color: white;
}


form label {
    width: 100%;
    display: block;
}


div#quick_contact .wpcf7 {
    background-color: var(--normal_blue);
    padding: 1em 2em;
    transition: 1s ease;
    opacity: 0;
}

div#quick_contact.show .wpcf7 {
    opacity: 1;
}


body:not(.fl-builder-edit) div#content_under_header {
    margin-top: -30px;
}

body.fl-builder-edit div#content_under_header {
    margin-top: 40px;
}




#page span.wpcf7-form-control.wpcf7-checkbox.form-control {
    background-color: transparent;
    border: none;
    width: auto;
    padding: 0;
}


#page input[type="checkbox"] {
    filter: hue-rotate( 248deg);
}


#page .form-accept-policy .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

#page .form-accept-policy .wpcf7-list-item input {
    margin-right: 12px;
}

#page .form-accept-policy br {
    display: none;
}

#page .form-accept-policy .wpcf7-list-item {
    margin: 0;
}

/*--------------------------------------------------------------
## Grid Display
--------------------------------------------------------------*/

.post-grid {
    display: flex;
    flex-wrap: wrap;
}

.post-grid .post_item {
    padding: 12px;
}

/** Columns **/

.post-grid .post_item.two  {
    flex: 1 1 50%;
}

.post-grid .post_item.three  {
    flex: 1 1 30%;
    max-width: 33.33%;
}

.post-grid .post_item.four  {
    flex: 1 1 25%;
    max-width: 25%;
}

.post-grid .post_item.five  {
    flex: 1 1 20%;
}

@media screen and (max-width:1199px) {
    
    #page .post-grid .post_item:not(.five) {
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 768px ) {
    
    #page #content .post-grid .post_item {
        max-width: 100%;
        flex: 100%;
    }
    
    #page #content .post-grid .post_item.five {
        flex: 50%;
        max-width: 50%;
    }
}

/** Item Content **/

.post_item .item_content {
    padding: 0.5rem;
    transform: scale(1);
}


#page .post_item .item_content .title_container {
    position: relative;
    margin-top: -50px;
}


#page .post_item .item_content .title {
    text-align: center;
    background-color: var(--dark_blue);
    padding: 10px 0 10px 10px;
    color: white;
    max-width: 180px;
    width: fit-content;
    position: relative;
    z-index: 2;
    
}

#page .post_item .item_content .title:after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 120%;
    height: 100%;
    background-color: inherit;
    transform: var(--skew);
    z-index: -1;
}














.post_item.hover .item_content, .post_item:hover .item_content {
    transform: scale(0.95);
}

/** Image **/

#page .post_item img,
#page .post_item .img_frame {
    box-shadow: 0px 0px 38px -12px #797979;
    overflow: hidden;
    position: relative;
    margin: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all ease-in-out 0.4s;
    transition: all 0.4s ease-in-out;
}

#page .post_item.title_top .img_frame {
    border-radius: 0 0 20px 20px;
}

#page .post_item .img_frame {
    min-height: 225px;
    max-height: 225px;
    max-width: none;
}

#page .post_item .img_frame img {
    object-fit: cover;
    width: 100%;
    height: 225px;
    object-position: top;
}

#page .post_item.projects .img_frame img {
    object-position: top left;
}

#page .post_item.hover img, #page .post_item:hover img, #page .post_item.hover .img_frame, #page .post_item:hover .img_frame {
    box-shadow: 0px 0px 40px -2px #404040;
}

#page .post_item.hover .img_frame.dim, #page .post_item:hover .img_frame.dim {
    filter: saturate(1.8);
}


/** Link / Inner Container **/

.post_item .item_inner {
    text-decoration: none;
    display: block;
    position: relative;
    color:inherit;
    background: var(--black_gradient);
}

/** Padding **/

@media screen and (min-width:1200px) {
    
    .post-grid .post_item.three:nth-child(3n+1) {
        padding-left: 0;
    }
    
    .post-grid .post_item.three:nth-child(3n) {
        padding-right: 0;
    }
}

/** Arrow **/

.post_item .hover-arrow {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
    background-color: var(--normal_blue);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    opacity: 0;
    /* transform: skewX(10deg); */
}

.post_item.hover .hover-arrow, .post_item:hover .hover-arrow {
    opacity: 1;
}

/** Hover Content **/

.hover_content {
    position: absolute;
    top: 10px;
    width: 95%;
    z-index: 999;
    left: 2.5%;
    opacity: 0;
}

.post_item.hover .hover_content, .post_item:hover .hover_content {
    opacity:1;
}

/** Overlay **/

.post_item.overlay .image-overlay {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient( 0deg, black, transparent);
}

/** Animation **/

.post_item.animate,
.post_item .animate {
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all ease-in-out 0.4s;
    transition: all 0.4s ease-in-out;
}


























































/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links / Buttons
	## Menus
	## Dropdown
	## Post Navigation
	## Subheader
# Accessibility
# Alignments
# Clearings
# Widgets
# List / Tables
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# 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
--------------------------------------------------------------*/

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

h1 {
    font-size: 2.9rem;
}

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

h3 {
    font-size: 1.8rem;
    line-height: 30px;
}

h4 {
    font-size: 1.2rem;
    line-height: 22px;
}

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

p {
    margin-bottom: 1.5em;
}

h3.widget-title {
    font-size: 1.2rem;
}

p.h4 .text_theme {
    text-transform: lowercase;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75em;
}

span.text_theme {
    color: var(--normal_blue);
    font-style: italic;
    font-weight: 700;
}


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

input { 
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box; 
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { 
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { 
    -webkit-appearance: none; 
}

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

textarea { 
    overflow: auto; 
}


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

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

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


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

header#masthead {
    margin-bottom: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    position: relative;
    z-index: 10;
}






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

    header#masthead:not(.mobile_menu_open) {
        /* clip-path: polygon(0 0, 100% 0, 100% 76%, 34% 76%, 33.2% 100%, 0 100%); */
        clip-path: polygon(0 0, 100% 0, 100% 77.4%, 34% 77.4%, 33.2% 100%, 0 100%);
    }
    
}


@media screen and (min-width: 1200px) {
    
    div#main-nav {
        position: relative;
    }

    div#main-nav:after {
        content: " ";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 1000%;
        background-color: var(--dark_blue);
        z-index: 0;
        transform: var(--skew);
    }
    
    ul#menu-main-menu {
        z-index: 2;
    }
    
}














.flex-logo {
    height: auto;
}

.flex-logo img {
    max-height: 120px;
    padding: 25px;
}

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


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


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

#page .btn,
#page .button,
#page .btn-primary,
#page .fl-button,
#page .wpcf7-submit{
    background-color: var(--normal_blue);
    border: none;
    border-radius: 0;
    color: #fff;
    position: relative;
}

#page .dark .btn,
#page .dark .button,
#page .dark .btn-primary,
#page .dark .fl-button,
#page .dark .wpcf7-submit{
    background-color: var(--dark_blue);
}

#page .btn:hover,
#page .button:hover,
#page .btn-primary:hover,
#page .fl-button:hover,
#page .wpcf7-submit:hover {
    color: #fff;
    background-color: var(--dark_blue);
}

#page .dark .btn:hover,
#page .dark .button:hover,
#page .dark .btn-primary:hover,
#page .dark .fl-button:hover,
#page .dark .wpcf7-submit:hover {
    background-color: var(--normal_blue);
}

#page .fl-button span {
    color: #fff;
    z-index: 3;
    position: relative;
}

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



/*--------------------------------------------------------------
## TPH Skew Detail
--------------------------------------------------------------*/

/* #page ul.row.list-unstyled.social-media-list:after, */
#page .wpcf7-submit:after,
#page .fl-button:after {
    background-color: inherit;
    transform: skewX(340deg);
    content: " ";
    position: absolute;
    top: 0;
    left: -30%;
    width: 160%;
    height: 100%;
    z-index: 1;
}




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

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

body #masthead .navbar-nav > li > a {
    color: rgb(255,255,255);
    padding: 0.5rem;
    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%;
    }
}

#masthead .navbar-toggler i {
    color: rgb(0, 0, 0);
}

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

.menu-item {
    flex:auto;
    position:relative;
    line-height:45px;
}

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

    
}


@media screen and (max-width: 1199px) {
    
    header#masthead {
        background-color: #2a2160 !important;
    }
    
    header#masthead:before {
        content: " ";
        position: absolute;
        left: 0;
        top: 0;
        height: 120px;
        width: 100%;
        background-color: white;
    }
    

}

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


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

.subheader {
    height: 150px;
    background-color: #f7f7f7;
    background-position: center;
    background-size: cover;
    position:relative;
}

.main-overlay {
    background-image: linear-gradient( 180deg, rgba(27,113,186,0.72) 0%, rgba(42,33,96,0.9) 100%);
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 1;
}

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


/*--------------------------------------------------------------
# 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;
    font-size: 0.875rem;
}

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

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

.widget .nav-link {
    display: inline-block;
    background-color: var(--normal_blue);
    padding: .8rem 1.2rem;
    width: 100%;
    line-height: 21px;
    color: rgb(255,255,255);
    margin-bottom: 0.3em;
}


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

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

#page ul.social-media-list {
    margin: 0;
}

#content ul.social-media-list a {
    color: var(--dark_blue);
    font-size: 1.8em;
}


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

/*
.page-content,
.entry-content,
.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;
}


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

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/

.elementor-page article .entry-footer {
    display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
    padding-bottom: 0;
    padding-top: 0;
}

.elementor-page .entry-content {
    margin-top: 0;
}


/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/

.vc_desktop article .entry-footer {
    display: none;
}

.vc_desktop #content.site-content {
    padding-bottom: 0;
    padding-top: 0;
}

.vc_desktop .entry-content {
    margin-top: 0;
}


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

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