/*
	Theme Name: Tulip
	Theme URI: http://www.flatlayers.com/themes/tulip
	Author: FlatLayers
    Author URI: http://www.flatlayers.com
	Description: Responsive WordPress Blog Theme
	Version: 2.4
    Tested up to: 6.1
    Requires PHP: 5.6
	License: GNU/GPL Version 2 or later. 
    License URI: http://www.gnu.org/licenses/gpl.html 
    Tags: custom-background, custom-colors, custom-header, custom-menu, featured-images, post-formats, theme-options
    Text Domain: tulip
*/

/*-------------------------------------------------------------------------
[Table of contents]

    1. Browser Reset + Main + Gutenberg Styels
    2. Containers + Clearfix / .fl-container, .fl-flex, .clearfix
    3. Headings
    4. Header / 4. Header / #fl-header, #fl-logo, #fl-top-bar, #fl-header-menu
    5. Featured Posts + Banners + Sliders / .fl-featured, .fl-banners
    6. Blog Section + Posts Loop Styles
    7. Article Main Sections
    8. Sidebar / #fl-sidebar, .fl-widget
    9. Pagination / .fl-pagination
    10. Single Post and pages Style
    11. Comments / .fl-comments
    12. Footer / #fl-footer
    13. Archive Pages Style
    14. Media Queries
-------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------*/
/*	1. Browser Reset + Main + Gutenberg Styels
/*-------------------------------------------------------------------------*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }

:focus { outline: 0; }
input[type=submit] { -webkit-appearance: none; }

html {
	overflow-x: hidden;
	max-width: 100%;
}
html { font-size: var(--fl-body-font-size); } 
body {
    background-color: var(--fl-body-background);
	color: var(--fl-body-color);
    padding: 2%;
    font-family: var(--fl-body-font);
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.75;
    background-repeat: repeat-x;
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

::-moz-selection {
    background: var(--fl-body-color);
    color: var(--fl-blog-background);
}
::selection {
    background: var(--fl-body-color);
    color: var(--fl-blog-background);
}

ol, ul { list-style: none; }
input[type=text]::-ms-clear { display: none; }
sup {
	font-size: .85rem;
	vertical-align: super;
}
sub {
	font-size: .85rem;
	vertical-align: sub;
}
strong,
label { font-weight: 700; }
em { font-style: italic; }
p:empty { display: none; }
hr {
    border: none;
    border-top: 2px dotted rgba(128,128,128,0.1);
    height: 2px;
    margin: 0 auto;
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--fl-accent-color);
    -webkit-transition: color .2s ease, background .2s ease;
    -moz-transition: color .2s ease, background .2s ease;
    -ms-transition: color .2s ease, background .2s ease;
    -o-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease;
}

a:hover { color: var(--fl-body-color); }

/* BlockQuotes */
blockquote,
q {
    position: relative;
    margin-bottom: 24px;
    padding: 24px 24px 24px 72px;
    font-size: 1.3rem;
    display: block;
    font-style: italic;
    background: rgba(128,128,128,0.1);
}
blockquote:before,
q:before {
    overflow: hidden;
    display: block;
    font-family: FontAwesome;
    content: "\f10d";
    position: absolute;
    left: 24px;
    top: 24px;
    line-height: 1;
    font-size: 2rem;
    min-width: 100px;
    text-align: left;
    color: var(--fl-accent-color);
    opacity: .8;
    z-index: 0;
}

blockquote p, q p { margin-bottom: 0; }

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    margin-bottom: 24px;
    padding: 24px 24px 24px 80px;
}
.wp-block-quote.is-large:before,
.wp-block-quote.is-style-large:before { font-size: 2.5rem; }

blockquote cite, q cite, pre cite {
    position: relative;
    font-size: 1rem;
}

blockquote cite:before,
q cite:before,
pre cite:before {
    content: "\2015";
    margin-right: 8px;
    font-size: 1.4rem;
    opacity: .75;
    color: var(--fl-accent-color);
}

/* Tables */
table, dl {
    margin-bottom: 24px;
    width: 100%;    
    border: 2px solid rgba(128,128,128,0.1);
}
table thead, dt {
    font-weight: bold;
    background: rgba(128,128,128,0.1);
}
table th, table td, dt, dd {
    padding: 8px;
    border: 1px solid rgba(128,128,128,0.1);
}

/* Address, Pre, Code ...etc */
pre, address, code {
    display: block;
    position: relative;
    padding: 24px 24px 24px 64px;
    margin-bottom: 24px;
    overflow: auto;
    max-width: 100%;
    background: rgba(128,128,128,0.1);
}
address:before,
code:before {
    overflow: hidden;
    display: block;
    font-family: FontAwesome;
    position: absolute;
    left: 24px;
    top: 24px;
    line-height: 1;
    font-size: 2rem;
    min-width: 100px;
    text-align: left;
    color: var(--fl-accent-color);
    opacity: .8;
    z-index: 0;
}
address:before{ content: "\f041"; }
code:before{ content: "\f121"; }

pre { padding: 24px; }

fieldset {
    margin: 16px 0;
    padding: 16px;
    border: 2px solid rgba(128,128,128,0.1);
}

legend {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 16px;
}

/* General and Response Inputs Style */
input,
textarea,
select,
button { font-family: var(--fl-body-font); }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
textarea,
select {
    border: 2px solid rgba(128,128,128,0.1);
    background: var(--fl-input-background);
    color: var(--fl-body-color);
    padding: 8px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus { border-color: var(--fl-accent-color); }

/* radio and checkboxes */
input[type="radio"],
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle !important;
    background-repeat: no-repeat;
    background-position: center;
    background: var(--fl-input-background);
    color: var(--fl-body-color);
    border: 2px solid rgba(128,128,128,0.2);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
}
input[type="radio"] { border-radius: 50%; }

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-color: var(--fl-accent-color);
    border-color: var(--fl-accent-color);
}
input[type="radio"]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); }

.form-allowed-tags { display:block; }

input[type="submit"],
button,
.button {
    padding: 8px 16px;    
    text-transform: uppercase;  
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    background: var(--fl-button-background);
    border: none;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
input[type="submit"]:hover,
button:hover,
.button:hover {
    background: var(--fl-accent-color);
    color: #ffffff;
}

/* Gutenberg Blocks -> Buttons */
.wp-block-button {
    text-align: center;
    margin-bottom: 24px;
}
.wp-block-button__link { background-color: var(--fl-button-background); }

.wp-block-button__link:hover { background-color: var(--fl-accent-color); }

.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) { color: var(--fl-button-background); }

.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link.is-style-outline:not(.has-text-color):hover { color: var(--fl-accent-color); }

.wp-block-button.is-style-squared .wp-block-button__link { border-radius: 0; }

/* Gutenberg Blocks -> Cover */
.wp-block-cover-image h1:not(.has-text-color),
.wp-block-cover-image h2:not(.has-text-color),
.wp-block-cover-image h3:not(.has-text-color),
.wp-block-cover-image h4:not(.has-text-color),
.wp-block-cover-image h5:not(.has-text-color),
.wp-block-cover-image h6:not(.has-text-color),
.wp-block-cover-image p:not(.has-text-color),
.wp-block-cover h1:not(.has-text-color),
.wp-block-cover h2:not(.has-text-color),
.wp-block-cover h3:not(.has-text-color),
.wp-block-cover h4:not(.has-text-color),
.wp-block-cover h5:not(.has-text-color),
.wp-block-cover h6:not(.has-text-color),
.wp-block-cover p:not(.has-text-color) { color: #ffffff; }

.wp-block-cover, .wp-block-cover-image { margin-bottom: 24px; }


/* Gutenberg Blocks -> Gallery & Images & Embeds*/
.wp-block-image, .wp-block-embed { margin-bottom: 24px; }

.fl-post-content .blocks-gallery-grid,
.fl-post-content .wp-block-gallery {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fl-post-content .wp-block-gallery { margin-bottom: 24px; }

.fl-post-content .wp-block-gallery.alignleft { margin-right: 24px; }
.fl-post-content .wp-block-gallery.alignright { margin-left: 24px; }

.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    font-size: .9em;
    line-height: 1.4;
}

.wp-block-image figcaption,
.wp-block-gallery figcaption,
.wp-block-embed figcaption,
.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
    opacity: .9;
    line-height: 1.4;
    font-size: .9rem;
}

.wp-block-image figcaption:before,
.wp-block-gallery figcaption:before,
.wp-block-embed figcaption:before,
.wp-caption .wp-caption-text:before,
.entry-caption:before,
.gallery-caption:before {
    content: "\2015";
    margin-right: 8px;
    font-size: 1.2rem;
    color: var(--fl-accent-color);
}

.blocks-gallery-grid figcaption { opacity: 1; }
.blocks-gallery-grid figcaption:before { display: none; }

.gallery-item dt.gallery-icon { line-height: 0; }
.gallery-item dt.gallery-icon img { border: none; }


/* Gutenberg Blocks -> Widgets */
.fl-post-content .wp-block-archives,
.fl-post-content .wp-block-latest-comments,
.fl-post-content .wp-block-latest-comments,
.fl-post-content .wp-block-latest-posts,
.fl-post-content .wp-block-latest-posts,
.fl-post-content .wp-block-latest-posts,
.fl-post-content .wp-block-rss {
    margin-left: 0;
    list-style: none;
}

.fl-post-content .wp-block-search,
.fl-post-content .wp-block-calendar,
.fl-post-content .wp-block-categories,
.fl-post-content .wp-block-archives-dropdown { margin-bottom: 24px; }

.wp-block-search .wp-block-search__input { border: 2px solid rgba(128,128,128,0.1); }
.wp-block-search .wp-block-search__button {
    margin-left: 0;
    background-color: var(--fl-button-background);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
}
.wp-block-search .wp-block-search__button:hover { background-color: var(--fl-accent-color); }

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button { padding: 8px; }
.wp-block-search .wp-block-search__button svg { fill: #ffffff; }

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper { border: 2px solid rgba(128,128,128,0.1); }

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date { color: var(--fl-meta-color); }

.wp-block-calendar table { border-collapse: inherit; }

.wp-block-calendar table th { background: rgba(128,128,128,0.1); }

.wp-block-calendar tbody td,
.wp-block-calendar th { border: 1px solid rgba(128,128,128,0.1); }

.wp-block-loginout {
    padding: 16px;
    border: 2px solid rgba(128,128,128,0.1);
}

.wp-block-loginout p { margin-bottom: 8px; }

.wp-block-social-links,
.wp-block-social-links.has-normal-icon-size { justify-content: center; }
.wp-block-social-links .wp-social-link.wp-social-link.wp-social-link { padding: 0; }

.wp-block-tag-cloud a {
    margin-right: 4px;
    display: inline-block;
}

.wp-block-latest-posts li a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
    display: inline-block;
    margin-right: 4px;
}

.wp-block-latest-posts__post-excerpt {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: .9rem;
}

.wp-block-latest-posts__featured-image { margin-bottom: 8px; }
.wp-block-latest-posts__featured-image img {
    line-height: 0;
    border-radius: 50%;
    border: 4px solid rgba(128,128,128,0.1);
}

/* Gutenberg Blocks -> Layout Elements */
.wp-block-group p:last-child { margin-bottom: 0; }
.wp-block-group.has-background {
    padding: 24px;
    margin-bottom: 24px;
}

.wp-block-media-text { margin-bottom: 24px; }

pre code {
    padding: 0 0 0 40px;
    margin-bottom: 0;
}
pre code:before {
    left: 0;
    top: 0;
}

.wp-block-table.is-style-stripes { margin-bottom: 24px; }

.wp-block-pullquote {
    text-align: initial;
    margin: auto;
}

.wp-block-pullquote blockquote { margin-bottom: 0; }

.wp-block-columns { margin-top: 3em; }

/* Alignment */
.wp-block-image .alignleft,
.alignleft {
    float: left;
    margin-left: 0;
    margin-right: 24px;
}
.wp-block-image .alignright,
.alignright {
    float: right;
    margin-right: 0;
    margin-left: 24px;
}
.wp-block-image .aligncenter,
.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

#fl-blogposts.fl-full-width .alignwide {
    margin-left: -130px;
    width: 1060px;
}

#fl-blogposts.fl-full-width .alignfull {
    margin-left: calc((50% - 48vw) + 40px);
    width: calc(96vw - 80px);
}

@media only screen and (max-width: 1206px) {
    #fl-blogposts.fl-full-width .alignwide {
        margin-left: calc((50% - 48vw) + 40px);
        width: calc(96vw - 80px);
    }
}

@media only screen and (max-width: 768px) {
    #fl-blogposts.fl-full-width .alignwide,
    #fl-blogposts.fl-full-width .alignfull {
        margin-left: 0;
        width: 100%;
    }
}

/* Images */
img,
.wp-caption {
	height: auto;
	max-width: 100%;
}
.wp-post-image {
	display: block;
	margin: 0 auto;
}
img.alignright,
.wp-caption.alignright { margin: 8px 0 8px 24px; }

img.alignleft,
.wp-caption.alignleft {	margin: 8px 24px 8px 0; }
img.aligncenter{}

html[data-theme="dark"] img { filter: brightness(0.95); }

/* Embeds and iframes */
embed,
iframe,
object,
video {	max-width: 100%; }

/* Post Protected */
form.post-password-form p {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
}
form.post-password-form label { flex: 1; }
form.post-password-form input[type=submit] { line-height: 1.75; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}


/*-------------------------------------------------------------------------*/
/*  2. Containers + Clearfix / .fl-container, .fl-flex, .clearfix
/*-------------------------------------------------------------------------*/
#fl-blog-container {
    background: var(--fl-blog-background);
    position: relative;
    display: block;
}
.fl-container {
    position: relative;
    max-width: 1140px;
    padding: 40px 40px 0 40px;
    margin: 0 auto;
}
.fl-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*-------------------------------------------------------------------------*/
/*	3. Headings
/*-------------------------------------------------------------------------*/
h1 {font-size: 2.488rem;}
h2 {font-size: 2.074rem;}
h3 {font-size: 1.728rem;}
h4 {font-size: 1.44rem;}
h5 {font-size: 1.2rem;}
h6 {font-size: 1rem;}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1.38rem;
    font-family: var(--fl-headings-font);
    font-weight: var(--fl-headings-font-weight);    
    word-wrap: break-word;
    word-break: break-word;
    color: var(--fl-headings-color);
}

p { margin-bottom: 24px; }
small { font-size: 0.833rem; }

/*-------------------------------------------------------------------------*/
/*  4. Header / #fl-header, #fl-logo, #fl-top-bar, #fl-header-menu
/*-------------------------------------------------------------------------*/
#fl-header {
    background: var(--fl-header-background);
    color: var(--fl-header-color);
    position: relative;
    display: block;
    border-bottom: 2px solid rgba(128,128,128,0.1);
}
#fl-header a { color: var(--fl-header-color); }
#fl-header a:hover { color: var(--fl-accent-color); }

/* Logo */
#fl-logo {
    align-self: flex-end;
    text-transform: uppercase;
    padding-bottom: 4px;
}
#fl-logo img {
    margin: 0;
    padding: 0;
    max-height: 104px;
    width: auto;
}
#fl-logo h1,
#fl-logo p {
    font-size: 2.488rem;
    line-height: 1.3;
    font-family: var(--fl-headings-font);
    font-weight: var(--fl-headings-font-weight);
    margin-bottom: 0;
    letter-spacing: 1px;
}

#fl-logo .dark-logo { display: none; }

html[data-theme="dark"] #fl-logo .light-logo { display: none; }
html[data-theme="dark"] #fl-logo .dark-logo { display: inline-block; }

/* Navigation */
#fl-navigation {
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Top Bar */
#fl-top-bar {
    flex: 100%;
    direction: rtl;
    overflow-x: auto;
    margin-bottom: 16px;
    white-space: nowrap;
}

#fl-top-bar::-webkit-scrollbar { display: none; }

/* Social Icons */
.social-icons a span { font-size: 0; }
#fl-top-bar .social-icons {
    display: inline-block;
    vertical-align: top;
}
#fl-top-bar .social-icons a {
    display: block; 
    float: left;
    line-height: 32px;
    width: 32px;
    font-size: 1.1rem;
    text-align: center;
}

#fl-top-bar .search {
    display: inline-block;
    vertical-align: top; 
    margin-left: 8px;
}
#fl-top-bar .search .search-icon {
    display: block;
    float: right;
    direction: ltr;
    width: 32px;
    height: 32px;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
#fl-top-bar .search .search-icon i { line-height: 28px; }
#fl-top-bar .search .search-icon .fa-times { display: none; }
#fl-top-bar .search form {
    display: block;
    float: right;
    direction: ltr;
    width: 0;
    overflow: hidden;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
#fl-top-bar .search form input[type="text"] {
    border: none;
    background: transparent;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    line-height: 32px;
    height: 32px;
    font-style: italic;
    padding: 0 8px 0 0;
    margin: 0;
    -o-transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

#fl-top-bar .search.active .search-icon {
    background: var(--fl-header-color);
    border-color: var(--fl-header-color);
    color: var(--fl-header-background);
}
#fl-top-bar .search.active .search-icon .fa-search { display: none; }
#fl-top-bar .search.active .search-icon .fa-times { display: block; }
#fl-top-bar .search.active form { width:180px; }
#fl-top-bar .search.active form input { color: var(--fl-header-color); }

/* Cart Icon && My Account -> WooCommerce */
#fl-top-bar .cart-contents,
#fl-top-bar .my-account {
    position: relative;
    display: inline-block;
    margin-left:4px;
    width: 32px;
    height: 32px;    
    line-height: 32px;
    text-align: center;
    font-size: 1.5rem;
    vertical-align: top;
}

#fl-top-bar .cart-contents .cart-count {
    position: absolute;
    display: block;
    padding: 2px 4px;
    line-height: 1;
    z-index: 1;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    background: var(--fl-accent-color);
    color: #ffffff;
}

/* Theme Switch */
.fl-theme-switch {
    display: inline-block;
    height: 32px;
    margin-left: 8px;
    position: relative;
    width: 48px;
}
.fl-theme-switch input { display:none; }

.fl-theme-switch .slider {
    background-color: rgba(128,128,128,0.1);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .3s;
    border-radius: 32px;
}

.fl-theme-switch .slider:before {
    content: "\f186";
    font-family: "FontAwesome";
    text-align: center;
    background-color: var(--fl-header-background);
    bottom: 4px;
    height: 24px;
    left: 4px;
    position: absolute;
    width: 24px;
    border-radius: 50%;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.fl-theme-switch input:checked + .slider {
    color: #ffffff;
    background-color: var(--fl-accent-color);
}

.fl-theme-switch input:checked + .slider:before { transform: translateX(16px); }


/* Header Menu */
#fl-header-menu {
    flex: 100%;
    line-height: 16px;
    align-self: flex-end;
}

#fl-header-menu ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap-reverse;
}
#fl-header-menu ul li {
    position: relative;   
    text-align: right;
    white-space: nowrap;
}

#fl-header-menu ul li a {
    display: inline-block;
    padding: 8px 0 8px 24px;
    font-weight: 700;
}
#fl-header-menu ul li:hover > a,
#fl-header-menu ul li.current-menu-item a { color: var(--fl-accent-color); }
#fl-header-menu ul li .arrow {
    margin-left: 8px;
    opacity: .6;
    vertical-align: text-bottom;
}

#fl-header-menu ul li .sub-menu {
    display: block;
    position: absolute;
    background: var(--fl-submenu-background);
    color: var(--fl-submenu-color);
    z-index: 9999;
    left: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(128,128,128,0.1);
}
#fl-header-menu ul li .sub-menu ul { border-left: 1px dotted rgba(128,128,128,0.1); }
#fl-header-menu ul li .sub-menu li {
    display: block;
    position: relative;
    text-align: left;
    border-bottom: 1px solid rgba(128,128,128,0.1);
}
#fl-header-menu ul li .sub-menu li:last-child { border-bottom: none; }
#fl-header-menu ul li .sub-menu li a {
    min-width: 200px;
    position: relative;
    display: block;
    color: var(--fl-submenu-color);
    margin: 0;
    font-size: 0.9rem;
    line-height: 40px;
    padding: 0 24px;  
}
#fl-header-menu ul li .sub-menu li a:hover { color: var(--fl-accent-color); }
#fl-header-menu ul li .sub-menu li:last-child a,
#fl-header-menu ul li .sub-menu li.menu-item-has-children:last-child li:last-child a { border-bottom: none; }
#fl-header-menu ul li .sub-menu li .arrow {
    position: absolute;
    right: 16px;
    line-height: 40px;
    top: 1px;
    transform: rotate(-90deg);
}
#fl-header-menu ul li:hover > .sub-menu {
    visibility: visible;
    height: auto;
    opacity: 1;
}
#fl-header-menu ul li .sub-menu li ul {
    left: 100%;
    margin: 0;
    top: -1px;
    z-index: 900;
}


/* Mobile menu icon */
#fl-mobile-menu {
    display: none;
    flex: 100px;
    text-align: right;
    align-self: flex-end;
    font-size: 1.1rem;
    text-transform: uppercase;
}
#fl-mobile-menu span {
    display: inline-block;
    padding: 8px 0 8px 8px;
    cursor: pointer;
}

/*-------------------------------------------------------------------------*/
/*  5. Featured Posts + Banners + Sliders / .fl-featured, .fl-banners
/*-------------------------------------------------------------------------*/

.fl-featured {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 440px;
    padding-bottom: 48px;
    color: var(--fl-headings-color);
}
.fl-featured .post {
    position: relative;
    height: 440px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.fl-featured.multi { min-height: 488px; } 
.fl-featured .post:not(:first-child) { display: none; }

.fl-featured a { color: var(--fl-headings-color); }
.fl-featured .slide-content {
    display: block;
    position: absolute;
    text-align: center;    
	background: var(--fl-overlay-background);
    padding: 32px 8px;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.fl-featured .post:hover .slide-content { background: var(--fl-overlay-background-hover); }

.fl-featured .slide-content .category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fl-featured .slide-content .title {
    display: block;
    margin-top: 16px;
    font-style: italic;
}

.fl-featured .slide-content .title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fl-featured .slide-content .more { font-size: 0; }

.fl-featured .slide-content .more span {
    display: inline-block;
    padding-top: 16px;
    border-top: 2px solid var(--fl-accent-color);  
    text-transform: uppercase;  
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.fl-featured .owl-dots {
    position: absolute;
    width: 100%;
    bottom: 0;
}

/* OWL Style */
.owl-dots { text-align: center; line-height: 0; }
.owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
    padding: 21px 6px;
}
.owl-dots .owl-dot span {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(128,128,128,0.1);
    font-size: 0;
}
.owl-dots .owl-dot:hover span,
.owl-dots .owl-dot.active  span { background-color: var(--fl-accent-color); }

.owl-carousel .owl-nav {
    position: absolute;
    bottom: 8px;
    right: 8px;
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    background-color: var(--fl-overlay-background);
    color: var(--fl-body-color);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}
.owl-carousel .owl-nav button:hover { background-color: var(--fl-overlay-background-hover); }


/* Banners Area */
.fl-banners {
    margin-bottom: 48px;
    width: 100%;
    gap: 40px;
}
.fl-banners .banner {
    position: relative;
    flex: 1;    
    height: 176px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.fl-banners .banner a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 0;
}
.fl-banners .banner h3 {
    position: absolute;
    display: block;
    font-style: italic;
    text-align: center;
    font-size: 1.35rem;
    padding: 16px;
    margin: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fl-overlay-background) ;
}
.fl-banners .banner:hover h3 { background: var(--fl-overlay-background-hover); }


/*-------------------------------------------------------------------------*/
/*	6. Blog Section + Posts Loop Styles
/*-------------------------------------------------------------------------*/
#fl-blogposts {
    width: 70%;
    align-content: flex-start;
}
.fl-full-width { width: 100% !important; }

.posts-loop { width: 100%; }

.fl-post {
    width: 100%;
    margin-bottom: 48px;
    display: block;
    position: relative;
}

/* Bricks Style
   Grid Style
   Masonry Style
   1st Full & Grid */
.fl-post.grid { width: calc( 50% - 20px ); }
.fl-post.grid .fl-sharing a { padding: 0 6px; }
.fl-masonry-gutter { width: 40px; }

.fl-post.grid.col_3 { width: calc( (100% - 80px ) / 3 ); }
.fl-post.grid .fl-read-more {
    max-width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 4px 8px;
}


/*-------------------------------------------------------------------------*/
/*  7. Article Main Sections
/*-------------------------------------------------------------------------*/

/* Post Formats Styles */
.fl-gallery-slider {
   width: 100%;
   display: block;
   position: relative;
   overflow: hidden;
   margin-bottom: 24px;
}
.fl-picture {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 24px;
    font-size: 0;
    line-height: 0;
}
.fl-picture img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.fl-picture a {
    display: block;
    position: relative;
}
.fl-picture a:hover { background: rgba(0,0,0,1); }
.fl-picture a:hover img {
    opacity: .9;
    transform: scale(1.1);
}
.fl-video,
.fl-audio {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 0;
    line-height: 0;
    margin-bottom: 24px;
}
.fl-audio iframe,
.fl-video iframe {
    margin: 0;
    padding: 0;
    z-index: 0;
    width: 100%;
}


/* Post Content */
.fl-post-header {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 16px;    
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}
.fl-post-header .title { margin-bottom: 16px; }
.fl-post-header .title a { color: var(--fl-headings-color); }

/* Sticky */
.fl-post.sticky .fl-post-header .title { padding-right: 48px; }
.fl-post.sticky .fl-post-header:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fl-accent-color);
    font-family: "FontAwesome";
    content: "\f08d";
    background: rgba(127, 127, 127, 0.1);
    z-index: 3;
}

.fl-meta {
    font-size: 0.85rem;
    margin-right: 16px;
    letter-spacing: 1px;
    color: var(--fl-meta-color);
    display: inline-block;
    text-transform: uppercase;
}
.fl-meta:last-child { margin-right: 0; }
.fl-meta a { color: var(--fl-meta-color); }
.fl-meta i { margin-right: 8px; }
.fl-meta.category { font-weight: 700; }
.fl-meta.category a { color: var(--fl-accent-color); }
.fl-post-excerpt {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}
.fl-post-excerpt p { margin-bottom: 16px; }

.fl-article-footer {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    flex-wrap: wrap-reverse;
    border-bottom: 2px solid var(--fl-button-background);
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.fl-read-more {
    white-space: nowrap;
    align-self: self-end;
}

/* Share Icons */
.fl-sharing {
    white-space: nowrap;
    align-self: self-end;
}
.fl-sharing .fl-meta { margin-right: 0; }
.fl-sharing a {
    display: inline-block;
    padding: 0 8px;
    color: var(--fl-headings-color);
}
.fl-sharing a:hover { color: var(--fl-accent-color); }

.fl-sharing a span { font-size: 0; }

.fl-article-footer.active { border-bottom-color: var(--fl-accent-color); }

/*-------------------------------------------------------------------------*/
/*  8. Sidebar / #fl-sidebar, .fl-widget
/*-------------------------------------------------------------------------*/
#fl-sidebar { width: calc( 30% - 40px ); }
.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
}

.widget { background: var(--fl-blog-background); }

.fl-widget a,
.widget a { color: var(--fl-body-color); }

.fl-widget a:hover,
.widget a:hover { color: var(--fl-accent-color); }

.fl-widget a.wp-block-button__link { color: #ffffff; }

/* Widgets Styles */
.fl-widget {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
}
.fl-widget-title,
.widgettitle {
	display: block;
    margin-bottom: 16px;
    border-bottom: 8px solid var(--fl-widgets-border-color);
}
.fl-widget ul li,
.widget ul li {
    display: block;
    border-bottom: 1px dotted rgba(128,128,128,0.1);
    padding: 8px 0;
}

.fl-widget ul li ul,
.widget ul li ul {
    margin-top: 8px;
    padding: 0 24px;
    background: rgba(128,128,128,0.05);
}

.fl-widget ul li ul li:last-child,
.widget ul li ul li:last-child { border-bottom: none; }

.fl-widget p:last-child,
.fl-widget table:last-child,
.widget p:last-child,
.widget table:last-child { margin-bottom: 0; }

.fl-widget .wp-block-image,
.fl-widget .wp-block-embed { margin-bottom: 0; }


/* Tag Widget */
.fl-widget .tagcloud,
.widget .tagcloud { overflow: hidden; }

.fl-widget .tagcloud a,
.widget .tagcloud a {
    margin-right: 4px;
    display: inline-block;
}

/* Calendar Widget */
.widget_calendar { overflow: auto; }
.widget_calendar table {
    margin-bottom: 8px;
    text-align: center;
}
.widget_calendar table td { padding: 4px 0; }
.widget_calendar nav { text-align: center; }

/* Tulip Posts Widgets */
.fl-posts-widget { overflow: inherit; }
.fl-posts-widget .item {
    position: relative;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dotted rgba(128,128,128,0.1);
}

.fl-posts-widget .item .fl-picture {
    overflow: inherit;
    max-width: 90px;
    min-width: 32px;
    min-height: 32px;
    line-height: 0;
    margin-right: 16px;
    margin-bottom: 0;
    background: rgba(128,128,128,0.1);
    border: 4px solid rgba(128,128,128,0.1);
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}
.fl-posts-widget .item .fl-picture a,
.fl-posts-widget .item .fl-picture a img {
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}
.fl-posts-widget .item .content {
    flex: 1;
    line-height: 1.2;
}
.fl-posts-widget .item .content .title { margin-bottom: 8px; }
.fl-posts-widget .item .content .title a {
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}
.fl-posts-widget .item .content .fl-meta {
    margin-right: 4px;
    font-size: .75rem;
}
.fl-posts-widget .item .content .fl-meta  i { margin-right: 4px; }

/* Counter */
.fl-posts-widget {
    list-style-type: none;
    counter-reset: css-counter 0;
}
.fl-posts-widget .item { counter-increment: css-counter 1; }

.fl-posts-widget .item .fl-picture a:before {
    content: counter(css-counter);
    line-height: 32px;
    height: 32px;
    width: 32px;
    top: -4px;
    left: -4px;
    border-radius: 50%;
    position: absolute;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    text-align: center;
    content: counter(css-counter);
}

.fl-posts-widget.ids .item .fl-picture a:before {
    z-index: 1;
    color: #ffffff;
    background: var(--fl-accent-color);
}

.fl-posts-widget .item .fl-picture.no-count a:before { display: none; }


/* About Widget */
.fl-about {
    display: block;
    position: relative;
    overflow: hidden;
}
.fl-about .profile { position: relative; }
.fl-about .profile .title {
    position: absolute;
    bottom: 0;
    background: var(--fl-blog-background);
    padding-top: 4px;
    padding-right: 16px;
    margin-bottom: 0;
}
.fl-about p {
    margin-top: 20px;
    padding-bottom: 0;
}

.fl-about .fl-meta {
    margin-right: 0;
    margin-top: 8px;
    line-height: 1.3;
}
.fl-about .fl-meta:before {
    content: "\2015";
    margin-right: 8px;
    font-size: 1.4rem;
    opacity: .8;
    color: var(--fl-accent-color);
}
.fl-about .desc {
    display: block;
    margin-top: 8px;
    font-size: .95rem;
}
.fl-about .signing {
    margin-top: 16px;
    max-width: 120px;
    float: right;
}

html[data-theme="dark"] .fl-about .signing { filter: invert(100%); }

/* mc4wp-form */
.mc4wp-form .mc4wp-form-fields {
    padding: 16px;
    border: 2px solid rgba(128,128,128,0.1);
}
.mc4wp-form-fields p { margin-bottom: 16px; }
.mc4wp-form .mc4wp-alert {
    font-size: .9rem;
    margin-top: 8px;
    font-style: italic;
}
.mc4wp-form .mc4wp-form-fields input {
    font-size: 1rem;
    width: 100%;
}


/*-------------------------------------------------------------------------*/
/*	9. Pagination / .fl-pagination
/*-------------------------------------------------------------------------*/
.fl-pagination {
    width: 100%;
    padding-top: 24px;
    justify-content: center;
}
.fl-pagination .page-numbers {
    padding: 8px 16px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--fl-body-color);
}
.fl-pagination a.page-numbers:hover { color: var(--fl-accent-color); }

.fl-pagination .next,
.fl-pagination .prev {
    padding: 8px 0;
    font-weight: 400;  
    letter-spacing: 1px;
}
.fl-pagination .next.page-numbers i { padding-left: 8px; }
.fl-pagination .prev.page-numbers i { padding-right: 8px; }

.fl-pagination .current {
    color: #ffffff;
    background: var(--fl-accent-color);
}



/*-------------------------------------------------------------------------*/
/*	10. Single Post and pages Style
/*-------------------------------------------------------------------------*/
.fl-article { margin-bottom: 0; }

.fl-article .fl-post-header {
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(128,128,128,0.1);
}
.fl-article .fl-article-footer {
    margin-top: 24px;
    max-width: 100%;
}

/* post content */
.fl-post-content {
    position: relative;
    display: block;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.fl-post-content h1,
.fl-post-content h2,
.fl-post-content h3,
.fl-post-content h4,
.fl-post-content h5,
.fl-post-content h6 { padding-top: 16px; }

.fl-post-content hr { margin-bottom: 24px; }

/* Content List Style and Mixes Lists */
.fl-post-content ul {
    list-style: disc;
    margin-left: 48px;
    margin-bottom: 24px;
}
.fl-post-content ol {
    list-style: decimal;
    margin-left: 48px;
    margin-bottom: 24px;
}
.fl-post-content ul ul,
.fl-post-content ol ol,
.fl-post-content ul ol,
.fl-post-content ol ul {
    margin-bottom: 0;
    margin-left: 40px;
}

.fl-post-pagination {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 24px;
    text-align: center;
}
.fl-post-pagination .post-page-numbers {
    display: inline-block;
    padding: 8px 16px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--fl-meta-color);
}
.fl-post-pagination .current {
    color: #ffffff;
    background: var(--fl-accent-color);
}

/* Author Section */
body.single #fl-box {
    margin-top: 48px;
    margin-bottom: 0;
    padding: 24px;
}

/* NextPrev Posts */
#fl-prev-next { margin-top: 48px; }
#fl-prev-next .item {
    flex: 1;
    align-items: center;
}
#fl-prev-next .next {    
    flex-direction: row-reverse;
    text-align: right;
}
#fl-prev-next .fl-picture {
    width: 25%;
    max-width: 100px;
    margin-right: 16px;
    margin-bottom: 0;
    border: 4px solid rgba(128,128,128,0.1);
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}
#fl-prev-next .next .fl-picture {
    margin-right: 0;
    margin-left: 16px;
}
#fl-prev-next .content { flex: 1; }
#fl-prev-next .content .fl-meta { margin-right: 0; }
#fl-prev-next .content .title { margin-bottom: 0; }
#fl-prev-next .content .title a { color: var(--fl-headings-color); }

/* Related Posts */
#fl-related { margin-top: 48px; }
#fl-related .fl-widget-title { flex: 100%; }
#fl-related .item {
    flex-direction: column;
    align-self: baseline;
    width: 32%;
}
#fl-related .item .fl-picture { margin-bottom: 16px; }
#fl-related .item .content { flex: 1; }
#fl-related .item .content .title { margin-bottom: 8px; }
#fl-related .item .content .title a { color: var(--fl-headings-color); }

/*-------------------------------------------------------------------------*/
/*  11. Comments / .fl-comments
/*-------------------------------------------------------------------------*/
.fl-comments { margin-top: 48px; }
.fl-comment-list {
    display: block;
    position: relative;
    overflow: hidden;
}
.fl-comment-list li.comment,
.fl-comment-list li.trackback,
.fl-comment-list li.pingback {
    position: relative;
    display: block;
    overflow: hidden;
    padding-left: 76px;
    margin-bottom: 40px;
}
.fl-comment-list li.comment:before,
.fl-comment-list li.trackback:before,
.fl-comment-list li.pingback:before {
    content: "";
    position: absolute;
    left: 28px;
    top: 60px;
    bottom: 0;
    width: 4px;
    background: rgba(128,128,128,0.1);
}
.fl-comment-list li.comment:after,
.fl-comment-list li.trackback:after,
.fl-comment-list li.pingback:after {
    content: "";
    position: absolute;
    left: 28px;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(128,128,128,0.1);
}
.fl-comment-list li.trackback,
.fl-comment-list li.pingback {
    padding-left: 58px;
    padding-bottom: 8px;
}
.fl-comment-list li.comment div.comment-author img.avatar {
    position: absolute;
    top: 0;
    left: 0;
    border: 4px solid rgba(128,128,128,0.1);
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}
.fl-comment-list li.comment:not(.bypostauthor) div.comment-author img.avatar { border: 4px solid rgba(128,128,128,0.1); }

.fl-comment-list li.comment div.comment-author .fn,
.fl-comment-list li.comment div.comment-author .fn a {
    display: inline-block;
    margin-top: 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fl-headings-color);
}
.fl-comment-list li.comment div.comment-author .says { display: none; }
.fl-comment-list li.comment .comment-meta {
    display: block;
    font-size: .85rem;
    line-height: 1;
    margin-top: 4px;
    margin-bottom: 24px;
}
.fl-comment-list li.comment .comment-meta a { color: var(--fl-meta-color); }

/* bypostauthor */
.fl-comment-list li.bypostauthor:before,
.fl-comment-list li.bypostauthor:after { background: var(--fl-accent-color); }
.fl-comment-list li.bypostauthor div.comment-author img.avatar { border-color: var(--fl-accent-color); }

.fl-comment-list div.comment-body ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}
.fl-comment-list div.comment-body ol {
    list-style: decimal;
    margin-left: 24px;
    margin-bottom: 24px;
}
.fl-comment-list div.comment-body ul ul,
.fl-comment-list div.comment-body ol ol,
.fl-comment-list div.comment-body ul ol,
.fl-comment-list div.comment-body ol ul {
    margin-bottom: 0;
    margin-left: 24px;
}

.reply a {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0 8px;
    font-weight: 700;
    color: var(--fl-body-color);
}
.reply a:hover { color: var(--fl-accent-color); }

.fl-comments .fl-pagination { padding-top: 0; }

.fl-comments .fl-no-comments { text-align: center; }

/* Respond */
#respond {
    border: 4px solid rgba(128,128,128,0.1);
    padding: 24px;
    margin-top: 24px;
}
#fl-reply-title { position: relative; }
#fl-reply-title small {
    display: block;
    margin-top: 8px;
}
#respond form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 16px;
}
#respond form p {
    margin-bottom: 0;
    flex: 1;
}
#respond form .comment-notes,
#respond form .comment-form-comment,
#respond form .comment-form-cookies-consent { flex: 100%; }
#respond form .form-submit { margin-bottom: 0; }

.fl-comment-list li.comment #respond { margin-bottom: 40px; }

/*-------------------------------------------------------------------------*/
/*  12. Footer / #fl-footer
/*-------------------------------------------------------------------------*/
#fl-footer {
    margin-top: 56px;
    background: var(--fl-footer-background);
    color: var(--fl-footer-color);
}

#fl-footer h1,
#fl-footer h2,
#fl-footer h3,
#fl-footer h4,
#fl-footer h5,
#fl-footer h6 { color: var(--fl-footer-headings-color);  }

#fl-footer-sidebar { padding-bottom: 16px; }

.fl-widget-column { width: calc( (100% - 80px ) / 3 ); }

.fl-widget-column a { color: var(--fl-footer-color); }
.fl-widget-column a:hover { color: var(--fl-accent-color); }

.fl-widget-column .fl-widget {
    padding: 16px 0;
    margin-bottom: 0;
}

#fl-footer .fl-widget-column .fl-widget .fl-meta { opacity: .6; }

#fl-footer .fl-widget-column .fl-widget .fl-meta,
#fl-footer .fl-widget-column .fl-widget .fl-meta a { color: var(--fl-footer-color); }

#fl-footer .fl-widget-column .fl-widget .fl-meta.category,
#fl-footer .fl-widget-column .fl-widget .fl-meta.category a {
    color: var(--fl-accent-color);
    opacity: 1;
}

.fl-widget-column .fl-widget-title { border-color: var(--fl-footer-widgets-border-color); }

.fl-widget-column .fl-about .profile .title { background: var(--fl-footer-background); }

#fl-footer-bottom {
    background: var(--fl-copyright-background);
    color: var(--fl-copyright-color);
    padding-bottom: 40px;
}

#fl-footer-bottom a { color: var(--fl-copyright-color); }
#fl-footer-bottom a:hover { color: var(--fl-accent-color); }

#fl-footer-bottom .fl-flex {
    align-items: center;
    gap: 48px;
}

#fl-footer-bottom .social-icons a {
	font-size: 1.5rem;
    width: 40px;
    display: inline-block;
    text-align: center;
}

#fl-copyright {
    flex: 1;
	font-size: .85rem;
	opacity: 0.7;
}
#fl-copyright a { text-decoration: underline; }
#fl-copyright a:hover { text-decoration: none; }


/*-------------------------------------------------------------------------*/
/*  13. Archive Pages Style
/*-------------------------------------------------------------------------*/
/* Category, Tag, Authour,...etc box Style */
#fl-box {
    width: 100%;
    background: var(--fl-box-background);
    color: var(--fl-box-color);
    padding: 32px;    
    margin-bottom: 40px;
    justify-content: center;
}
#fl-box div.avatar {
    margin-right: 24px;
    align-self: center;
}
#fl-box div.avatar img {
    border: 8px solid var(--fl-blog-background);
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}
#fl-box .info {
    max-width: 680px;
    align-self: center;
}
#fl-box .info .title {
    margin-bottom: 8px;
    color: var(--fl-box-color);
}
#fl-box .info a { color: var(--fl-box-color); }
#fl-box .info a:hover { color: var(--fl-accent-color); }
#fl-box .fl-meta {
    display: block;
    margin-right: 0;
    color: var(--fl-box-color);
    opacity: .6;
    margin-bottom: 8px;
}
#fl-box .info p {
    opacity: .8;
    margin-bottom: 8px;
}
#fl-box .info p:last-child { margin-bottom: 0; }

body.error404 #fl-box .title { font-size: 4rem; }


/*-------------------------------------------------------------------------*/
/*  14. Media Queries
/*-------------------------------------------------------------------------*/
@media only screen and (min-width: 769px) {
    #fl-navigation { display: flex !important; }
}

@media only screen and (max-width: 992px) {
    .fl-post.grid.col_3 { width: calc( 50% - 20px ); }
}

@media only screen and (max-width: 768px) {
    .fl-container { padding: 16px 16px 0 16px; }
    #fl-logo img { max-height: 72px; }
    #fl-mobile-menu { display: block; }
    #fl-navigation {
        display: none;
        position: absolute;
        overflow: hidden;
        background: var(--fl-submenu-background);
        color: var(--fl-submenu-color);
        left: 0;
        right: 0;
        margin-top: 2px;
        z-index: 9900;
    }
    #fl-top-bar { margin: 16px 16px 8px; }

    #fl-top-bar .search.active .search-icon {
        background: var(--fl-submenu-color);
        border-color: var(--fl-submenu-color);
        color: var(--fl-submenu-background);
    }
    #fl-top-bar .search.active form input { color: var(--fl-submenu-color); }

    .fl-theme-switch .slider:before { background-color: var(--fl-submenu-background); }

    #fl-header a { color: var(--fl-submenu-color); }

    #fl-header-menu ul {
        flex-wrap: wrap;
        flex-direction: column;
    }
    #fl-header-menu ul li {
        position: relative;
        flex: 100%;
        text-align: left;
        overflow: hidden;
        white-space: normal;
        border-bottom: 1px solid rgba(128,128,128,0.1);
    }
    #fl-header-menu ul li .arrow {
        display: block;
        position: absolute;
        width: 48px;
        height: 48px;
        line-height: 48px;
        text-align: center;
        font-size: 1.2rem;
        right: 0;
        top: 0;
        margin: 0;
        transform: rotate(-90deg);
    }
    #fl-header-menu ul li .arrow.rotate { transform: rotate(0deg) !important; }
    #fl-header-menu ul li a {
        padding: 0 16px;
        line-height: 48px;
    }
    #fl-header-menu ul li:hover > a { color: var(--fl-accent-color); }
    #fl-header-menu ul li .sub-menu {
        display: none;
        position: relative;
        visibility: visible;
        opacity: 1;
        height: auto;
        margin: 0 40px;
        background: transparent;
        border: none;
    }
    #fl-header-menu ul li .sub-menu li a {
        padding: 0;
        min-width: 100%;
    }
    #fl-header-menu ul li .sub-menu li .arrow {
        right: 0;
        padding: 0;
        line-height: 38px;
        height: 38px;
        width: 38px;
        top: 0;
        margin: 0;
    }
    #fl-header-menu ul li .sub-menu li ul {
        left: auto;
        top: auto;
        border-left: none;
        margin: 0 16px;
    }

    h1 {font-size: 2.074rem;}
    h2 {font-size: 1.728rem;}
    h3 {font-size: 1.44rem;}
    h4 {font-size: 1.2rem;}
    h5 {font-size: 1.125rem;}

    #fl-content { flex-direction: column !important; }
    #fl-blogposts { width: 100%; }
    #fl-sidebar {
        width: 100%;
        max-width: 500px;
        align-self: center;
        margin-top: 48px;
    }

    .fl-featured { min-height: 320px; }
    .fl-featured.multi { min-height: 368px; } 
    .fl-featured .post { height: 320px; }
    .fl-featured .slide-content { padding: 24px 8px; }
    .fl-featured .slide-content .category { font-size: 0.75rem; }
    .fl-featured .slide-content .title { margin-top: 8px; }
    .fl-featured .slide-content .more span { font-size: 0.8rem; }

    .fl-banners { gap: 24px; }
    .fl-banners .banner { height: 144px; }

    .fl-video,
    .fl-audio,
    .fl-gallery-slider,
    .fl-picture { margin-bottom: 16px; }

    .fl-post-header,
    .fl-post-header .title { margin-bottom: 8px; }

    .fl-post.sticky .fl-post-header:before {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    .fl-post.sticky .fl-post-header .title { padding-right: 40px; }

    .fl-meta {
        font-size: 0.75rem;
        margin-right: 8px;
    }

    .fl-sharing .fl-meta {
        display: block;
        line-height: 1;
        text-align: right;
    }
    .fl-sharing { font-size: .9rem; }
    .fl-sharing a { padding: 0 6px; }

    .fl-pagination { padding-top: 0; }

    #fl-footer-sidebar { flex-direction: column; }
    .fl-widget-column {
        width: 100%;
        max-width: 500px;
        align-self: center;
    }
    #fl-footer-bottom { padding-bottom: 16px; }
    #fl-footer-bottom .fl-flex {
        flex-direction: column;
        gap: 8px;
    }
    #fl-footer-bottom .social-icons {
        white-space: normal;
        align-self: flex-start;
    }
    #fl-footer-bottom .social-icons a { font-size: 1.3rem; }
    #fl-copyright { align-self: flex-start; }

    #fl-box {
        flex-direction: column;
        margin-bottom: 32px;
        padding: 24px;
    }
    #fl-box div.avatar { margin-right: 0; }

    body.single #fl-box { margin-top: 32px; }

    #fl-prev-next {
        flex-direction: column;
        margin-top: 32px;
    }
    #fl-prev-next .item { margin-bottom: 16px; }
    #fl-prev-next .item:last-child { margin-bottom: 0; }

    #fl-related { margin-top: 32px; }
    #fl-related .item {
        flex-direction: row;
        align-items: center;
        width: 100%;
        margin-bottom: 16px;
    }
    #fl-related .item:last-child { margin-bottom: 0; }
    #fl-related .item .fl-picture {
        width: 40%;
        margin-bottom: 0;
        margin-right: 16px;
    }

    .fl-comments { margin-top: 32px; }
    
    .fl-comment-list li.comment,
    .fl-comment-list li.trackback,
    .fl-comment-list li.pingback {
        padding-left: 58px;
        margin-bottom: 32px;
    }

    .fl-comment-list li.comment:before,
    .fl-comment-list li.trackback:before,
    .fl-comment-list li.pingback:before {
        left: 23px;
        top: 50px;
    }
    .fl-comment-list li.comment:after,
    .fl-comment-list li.trackback:after,
    .fl-comment-list li.pingback:after { left: 23px; }

    .fl-comment-list li.comment div.comment-author img.avatar { width: 50px; }
    .fl-comment-list li.comment .comment-meta { margin-bottom: 16px; }

    #respond { padding: 16px; }

    #respond form {
        flex-flow: column wrap;
        gap: 8px;
    }
    #respond form p { flex: 100%; }


    /* Grid & Masonry */
    .fl-masonry-gutter { width: 24px; }

    .fl-post.grid { width: calc( 50% - 12px ) }

    .fl-post.grid.col_3 { width: calc( 50% - 12px ); }

}

@media only screen and (max-width: 576px) {
    .fl-post.grid,
    .fl-post.grid.col_3 { width: 100%; }

    .fl-read-more,
    .fl-post.grid .fl-read-more {
        max-width: inherit;
        padding: 6px 8px; 
    }
    .fl-sharing a { padding: 0 6px; }
}