/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

body .inside-article li{margin-bottom:21px;}
body {margin:0px !important;}

/* body {margin-top:70px !important;} */


ul, ol {margin: 0 0 1.5em 3.0em}
.sidebar .widget .widget-title, .footer-widgets .widget-title {
    color: #4be4ff;
	padding:10px 10px;
	background-color: #000000;	font-weight:600;
	border-radius:5px;
	letter-spacing:1px; word-spacing:3px;
}
.entry-meta {font-size: 0.7em;}
.header-widget {display:none;}
.page-hero p{display:block !important;}
.page-hero time.updated {display:inline !important;}
.swp_social_panel:not(.nc_floater):not(.swp_social_panelSide) {max-height:34px !important; text-overflow: clip !important;}

.widget_eu_cookie_law_widget { bottom: 80px !important;}

figcaption {font-size:90%;}
.cat-description {display: visible; margin-left: 20px;}

.wpsp-card .wp-show-posts-inner {border-radius:8px;margin:5px;}
@media (max-width: 901px) {
.generate-columns .inside-article {margin:0px 8px;}}




.generate-columns-container article .inside-article img {margin-top: 10px; border-radius: 8px; max-height:200px;}
.post-image{margin-top:20px}






.generate-columns .inside-article {box-shadow: 0px 0px 5px 1px #ccc;border-radius:5px;}

@media screen and (max-width:768px) {.generate-back-to-top, .generate-back-to-top:visited {display:none}
}

.page-hero p{display:inline-flex;font-style:italic;}




#recent-posts-8 li{border-bottom:solid 1px;border-radius:2px;}


#top-posts-16 li {border:solid; border-color: white; border-radius: 5px; background-color:white;padding:5px; box-shadow:0px 0px 1px 0px #2f2f2f;}
#top-posts-16 a{color:black; font-weight:bold;}
#top-posts-16 li:hover {background-color:#4be4ff;}

#breadcrumbs {font-size:14px; font-style:italic;padding-left:20px;padding-right:20px;margin-bottom:0px;}
#breadcrumbs a{color:#000; text-decoration:underline #4be4ff;}
.breadcrumb_last {display:none;}



.entry-content h2, h3 {margin-top:40px; border-bottom: solid 1px #000000;padding-bottom:10px;font-weight:bold !important}
#post-nav h3{border-bottom:none;}




.entry-meta .cat-links a{color:#000000; text-decoration: underline #4be4ff; padding:4px}
.entry-meta .tags-links a{color:#000000; text-decoration: underline #ffff00; padding:4px}

.entry-meta .cat-links {margin:15px;}
.entry-meta .tags-links {margin:15px}
.entry-content a{color: #242426; text-decoration: underline #4be4ff 2px;}
	
.bctt-click-to-tweet, .bctt-ctt-text a{font-size:1em; border: none !important; font-weight:400 !important; color:#000000 !important;}
.bctt-click-to-tweet {background-color:#4be4ff;border-left:solid #4be4ff !important;border-right:solid #4be4ff !important;}



div.site-content .jetpack_subscription_widget {margin-top:30px;border:solid; padding:15px; border-color:white; box-shadow: 0px 0px 6px 0px #ccc }

#recent-posts-widget-with-thumbnails-9 {display:inline-block;}
.posted-on .updated {
    display: inline-block;padding-right:5px;font-style:italic; color:black;
}
.posted-on .updated:before {content:"Updated:";padding-right:5px; color:black;display:inline-block;}


.posted-on .published {
    display: inline-block;
}


/* GeneratePress Site CSS */ /* Colors */
.main-navigation ul li:after {
    background-color: #000;
}


.wpsp-card .wpsp-content-wrap {background-color: rgba(0,0,0,0.5) !important;}
.wpsp-card, .wpsp-card a, .wpsp-card .wp-show-posts-meta a, .wpsp-card .wp-show-posts-meta a:visited {
    color: #fff;
}
.navigation-search.nav-search-active {
	background-color: rgba(255,255,255,0.95);
	top: 100%;
}

/* Theme Global */
@media (min-width: 769px) {
    body { 
        margin: 0 30px;
    }
}

body.single-post.no-sidebar .site-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.second-nav.grid-container {
    padding: 0;
}

@media (min-width: 769px) {
    .main-navigation ul li {
        position: relative;
    }

    .main-navigation ul li:after {
        content: '';
        position: absolute;
        height: 0;
        width: 100%;
        bottom: 0;
        left: 0;
        pointer-events: none;
        filter: hue-rotation(90deg);
        -webkit-filter: hue-rotation(90deg);
        -webkit-transition: height 0.35s ease;
        transition: height 0.35s ease;
    }

    .main-navigation ul li:hover:after, .main-navigation ul li.current-menu-item:after {
        height: 6px;
    }
}

/* Widgets */
.widget-title {
    margin: 1em 0;
    font-size: 1em !Important;
}

.widget .wp-show-posts article {
    margin-bottom: 0.5em !important;
}

.zero-padding {
    padding: 0 !important;
}

.widget.no-background {
    background-color: transparent;
}

/* Buttons */
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background) {
    pointer-events: initial !important;
    border-color: inherit;
    border: 1px solid;
}

/* Page Heros */


.gradient-overlay {
    position: relative;
    z-index: -1;
}

.gradient-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(3, 89, 155, .5)), to(rgba(14, 161, 234, .6)));
    background: linear-gradient(rgba(3, 89, 155, .5), rgba(14, 161, 234, .6));
    z-index: -1;
}

/* Blog */
.generate-columns .inside-article {
    padding: 15px;
}

@media (max-width: 768px) {
    .generate-columns .inside-article>*:not(.post-image) {
        padding: 0 0px;
    }
}

.generate-columns-container article .inside-article .post-image {
    margin-bottom: 0.5em;
}

.generate-columns-container article .inside-article .entry-summary {
    margin-top: 0.5em;
    font-size: 0.8em;
}

.generate-columns-container article .entry-header, .wp-show-posts-entry-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
.generate-columns-container article .entry-header .entry-title, .wp-show-posts article .wp-show-posts-entry-title {
    line-height: 2.5ex;
    height: none;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

.wp-show-posts .wp-show-posts-inner {
    overflow: hidden;
}

@media (min-width: 420px) {
.wpsp-align .wp-show-posts-image {
    margin-bottom: 0;
}
}
.wpsp-align .wp-show-posts-image a, .wpsp-align .wp-show-posts-image img {
    height: 100%;
}

.generate-columns-container article .inside-article img, .wp-show-posts-image img {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

/* WPSP Grids */
/* Single column align side image */
/* Add wpsp-align class to to WPSP List shortcode wrapper */
@media (min-width: 420px) {
    .wpsp-align .wp-show-posts-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .wpsp-align .wp-show-posts-inner>div {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (max-width: 768px) and (min-width: 420px) {
    .wpsp-align .wp-show-posts-inner .wp-show-posts-image {
        margin-right: 1.5em;
    }
}

/* magazine Grid Golden Ratio 5 block standard */
/* Add wpsp-grid class to WPSP List shortcode wrapper */
@media (min-width: 600px) {
    .wpsp-grid .wp-show-posts {
        display: grid;
    }
}

@media (min-width: 900px) {
    .wpsp-grid .wp-show-posts {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: 1fr auto;
    }

    .wpsp-grid .wp-show-posts article:first-child {
        grid-column: 1 / 5;
        grid-row: 1 / 4;
    }

    .wpsp-grid .wp-show-posts article:nth-child(2) {
        grid-column: 5 / end;
        grid-row: 1 / 2;
    }

    .wpsp-grid .wp-show-posts article:nth-child(3) {
        grid-column: 5 / 7;
        grid-row: 2 / 4;
    }

    .wpsp-grid .wp-show-posts article:nth-child(4) {
        grid-column: 7 / end;
        grid-row: 2 / 4;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .wpsp-grid .wp-show-posts article {
        grid-column: span 4;
    }

    .wpsp-grid .wp-show-posts article:nth-child(3), .wpsp-grid .wp-show-posts article:nth-child(4) {
        grid-row: 3;
        grid-column: span 2;
    }
}

.wpsp-grid article:not(:first-child) .wp-show-posts-image a img {
    height: 250px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wpsp-grid article:first-child .wp-show-posts-image a img {
    height: 500px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wpsp-grid article:not(:first-child) .wp-show-posts-entry-summary, .wpsp-grid article:not(:first-child) .wp-show-posts-entry-meta-below-post, .wpsp-grid article:not(:first-child) .wpsp-read-more {
    display: none;
}

/* WPSP Card Styling */
/* Add wpsp-card class to WPSP List shortcode wrapper */
.wpsp-card .wp-show-posts-meta a, .wpsp-card .wp-show-posts-meta a:visited {
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
}

:not(.widget).wpsp-card .wp-show-posts article, .wpsp-card .wp-show-posts-image {
    margin-bottom: 0 !important;
}

.wpsp-card .wp-show-posts-inner {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpsp-card .wpsp-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5% 8%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.35);
    background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(80, 50, 50, 0.5)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(0deg, rgba(80, 50, 50, 0.5) 30%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.wpsp-card article {
    position: relative;
    overflow: hidden;
}

.wpsp-card article, .wpsp-card article .wp-show-posts-image img {
    -webkit-backface-visibility: hidden;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.wpsp-card article:hover .wp-show-posts-image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

/* Post Navigation */
#post-nav a {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #post-nav a {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
    }
}

#post-nav, #post-nav .post-nav-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#post-nav {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 60px;
}

#post-nav .post-nav-wrap {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 120px;
    height: 100%;
    padding: calc(6% + 1em) 5%;
    -webkit-box-shadow: inset 0 -50px 70px 20px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 -50px 70px 20px rgba(0, 0, 0, 0.5);
    -webkit-transition: -webkit-box-shadow 500ms;
    transition: -webkit-box-shadow 500ms;
    transition: box-shadow 500ms;
    transition: box-shadow 500ms, -webkit-box-shadow 500ms;
    position: relative;
	box-sizing: border-box;
}

#post-nav .post-nav-wrap:hover {
    -webkit-box-shadow: inset 0 -90px 70px 20px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 -90px 70px 20px rgba(0, 0, 0, 0.5);
}

.post-nav-wrap>* {
    color: #fff;
}

.post-nav-date {
    font-size: 0.9em;
}

.post-nav-title {
    margin: 5px 0 !important;
}

.post-nav {
    min-width: 60px;
    position: absolute;
    top: 0;
    border-radius: 0 0 2px 0;
}

.post-nav:first-child {
    left: 0;
}

.post-nav:last-child {
    right: 0;
}

.post-nav {
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.7em;
    text-transform: uppercase;
    background-color: #4be4ff;
    color: #000000 !important;
}

.header-widget .lsi-social-icons li {
	margin-bottom: 0 !important;
}

body .happyforms-flex {
	padding: 0;
} 
	/* End GeneratePress Site CSS */
.lwptoc_i{padding:14px 18px 18px;text-align:left !important;}
.lwptoc .lwptoc_i A {text-decoration: underline #4be4ff 1px;}
.page-hero {background-image:none !important;}
.page-hero p {font-size:12px; line-height:1.5}
.wpsp-card, .wpsp-card a, .wpsp-card .wp-show-posts-meta a, .wpsp-card .wp-show-posts-meta a:visited {font-weight:600; color: #ffffff; text-shadow:1px 1px 1px  #000151;}
.page-hero time.updated::before {content:"Updated: ";}
.page-hero time.updated {
    display: block; padding-right:5px;
}
.sub a{text-align: center; width: auto; border: solid #000000 ; background-color: #000000;border-radius: 10px; text-transform:capitalize;}

.tags-links, .cat-links {line-height: 3; text-transform:capitalize;}
.main-title {letter-spacing:1px !important;}
.site-logo.mobile-header-logo img {padding:2px 0 !important; max-width:240px; height: 60px; max-height:60px !important;}
.page-hero.overlay {background-color:#ffffff;box-shadow:0px 0px 5px 0px #ccc; border-radius:5px;}
#mobile-header {max-height:60px !important;}


/*  NAVIGATION CODE GOES HERE */


.page-hero {margin-top:0px !important;}
.main-navigation.mobile-header-navigation {top:0px; z-index:50;} /* position:fixed; */

.page-header {margin-top:35px;}
.admin-bar .main-navigation.mobile-header-navigation {
  top: 46px;
}
@media screen and (min-width: 783px) {
  .admin-bar .main-navigation.mobile-header-navigation {
    top: 32px;
  }
}

/* You may need to add the !important declaration if your JetPacks CSS loads last  - this works for a 6 up layout */

#jp-relatedposts h3.jp-relatedposts-headline {font-size:23px !important;}
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {opacity:1 !important; padding-left:10px !important; padding-right:10px !important;}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration: underline #4be4ff !important;}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+1), div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+1) {
    clear: left;
}


@media only screen and (max-width: 640px) {
	
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+1), div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+1) {
	    clear: none;
	}
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(3n) {
	    clear: none;
	}
	div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post:nth-child(2n+1) {
	    clear: left;
	}

}
.web-story .post-image {display: none !important; }
.web-story .entry-summary {max-width: auto; align-content:center;}
.web-story .entry-title {padding:20px !important; background-color: #000000 !important; color:#4be4ff !important;text-align: center;}
.web-story .entry-title a {color: #4be4ff;}
.web-stories-embed.alignnone .wp-block-embed__wrapper {margin:auto !important}

/* YOAST FAQS */
/* colors & borders */
.wp-block-yoast-faq-block {
    border-top:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question {
    border-bottom:1px solid #eee;
}
.wp-block-yoast-faq-block .schema-faq-question:hover,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-question {
    background-color:#fafafa;
}
.wp-block-yoast-faq-block .schema-faq-answer,
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    border-bottom:1px solid #eee;
}

/* layout */
.wp-block-yoast-faq-block .schema-faq-question {
    display:block;
    padding:10px;
    position:relative;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question {
    cursor:pointer;
}
.wp-block-yoast-faq-block .schema-faq-answer {
    margin:0;
    padding:12px 10px;
}

/* bullet before a question */
.wp-block-yoast-faq-block .schema-faq-question:before {
    /* position gap */
    margin-top:-2px;
}
.wp-block-yoast-faq-block .schema-faq-question,
.wp-block-yoast-faq-block .schema-faq-answer {
    padding-left:34px;
}
.wp-block-yoast-faq-block .schema-faq-question:before {
    content:'';
    display:block;
    border:2px solid #4be4ff;
    border-width:0px 2px 2px 0px;
    width:9px;
    height:9px;
    box-sizing:border-box;
    position:absolute;
    left:14px;
}
.wp-block-yoast-faq-block.fcp-faq .schema-faq-question:before {
    top:16px;
    transform:rotate(-45deg);
    transition:all 0.9s 0.9s ease;
}
.wp-block-yoast-faq-block .schema-faq-question:before,
.wp-block-yoast-faq-block.fcp-faq .fcp-opened .schema-faq-question:before {
    top:14px;
    transform:rotate(45deg);
}

/* transition */
.wp-block-yoast-faq-block.fcp-faq .schema-faq-answer {
    max-height:0;
    overflow:hidden;
    border-bottom-width:0;
    padding-top:0;
    padding-bottom:0;
    transition:padding-bottom 0.3s ease-in, max-height 0.4s ease-in, padding-top 0.1s 0.4s ease-out, border-bottom-width 0s 0.5s linear;
}
.wp-block-yoast-faq-block .fcp-opened .schema-faq-answer {
    max-height:9999px;
    border-bottom-width:1px;
    padding-top:12px;
    padding-bottom:20px;
    transition:padding-top 0.2s ease-in, max-height 0.3s 0.2s linear, padding-bottom 0.4s 0.2s ease;
}
.page-header {margin-top:35px;}
.admin-bar .main-navigation.mobile-header-navigation {
  top: 46px;
}


@media screen and (min-width: 783px) {
  .admin-bar .main-navigation.mobile-header-navigation {
    top: 32px;
  }
}
@media screen and (max-width:783px)
{
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {position: relative; bottom:330px;}
}

#menu-menu-1 {position:relative; z-index:99999; max-width:70%; display:flex; text-align: right !important;}

.web-stories-list .story-content-overlay__title {
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    display: -webkit-box;
	overflow: hidden !important;}

.footnotes ul {
    list-style-type: none;
    padding-left: 0;
}

.footnotes br {
    margin-bottom: 5px; /* Adjust spacing between footnotes as needed */
}
ul.compact-list, ol.compact-list li {margin-bottom: 1px !important;}