/**
 * Theme Name:   Forbes Theme
 * Theme URI:    https://generatepress.com
 * Description:  GeneratePress child theme. 
 * Author:       GeneratePress
 * Author URI:   https://generatepress.com
 * Template:     generatepress
 * Version:      1.0.0
*/

/* Glide */
.glide {
    position: relative;
    width: 100%;
    box-sizing: border-box
}

.glide * {
    box-sizing: inherit
}

.glide__track {
    overflow: hidden
}

.glide__slides {
    position: relative;
    width: 100%;
    list-style: none;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: pan-Y;
    overflow: hidden;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    will-change: transform
}

.glide__slides--dragging {
    user-select: none
}

.glide__slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    white-space: normal;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent
}

.glide__slide a {
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.glide__arrows {
    -webkit-touch-callout: none;
    user-select: none
}

.glide__bullets {
    -webkit-touch-callout: none;
    user-select: none
}

.glide--rtl {
    direction: rtl
}

@font-face {
    font-family: "Avenir";
    src: url(./assets/fonts/5050988108999bc107b0fbac34affb99.woff2) format("woff2"), url(./assets/fonts/69c0fd9e590951bad759dd3e0ef32486.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: "Avenir";
    src: url(./assets/fonts/9cee5697df630e7b662e6210cbbf8276.woff2) format("woff2"), url(./assets/fonts/28d5025033dda30980d307b6cad330d2.woff) format("woff");
    font-weight: normal;
    font-style: normal
}

/* @font-face {
    font-family: "Avenir";
    src: url(./assets/fonts/4e68f50f05418205bd9a8f9408431836.woff2) format("woff2"), url(./assets/fonts/bab406dfde44985470f28b5f5e6bb9b9.woff) format("woff");
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: "Avenir Book";
    src: url(./assets/fonts/8b7a472baf38d0cfb3eb56a96bbce29f.woff2) format("woff2"), url(./assets/fonts/8ff2871e41bf4449c606cbb4940321ea.woff) format("woff");
    font-weight: normal;
    font-style: normal
} */

@font-face {
    font-family: "Avenir";
    src: url(./assets/fonts/b29ab4f53f8cb5143a1e8c7fa435d06c.woff2) format("woff2"), url(./assets/fonts/9f8e5b45705779d8e940d393890def04.woff) format("woff");
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: "Avenir";
    src: url(./assets/fonts/78b3d71c2942ccf9c410893bf7c00bf0.woff2) format("woff2"), url(./assets/fonts/8493a6cece6243e6c36bc9c5933a3b8a.woff) format("woff");
    font-weight: 500;
    font-style: normal
}

* {
    font-family: Avenir
}

::selection {
    color: #fff;
    background-color: #000;
}

a {
    text-decoration: none;
}

/*=============
Main Nav Shadow
===============*/
.main-navigation {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15);
    position: relative;
}

/*===========
Text Truncate
=============*/
.FBS__text-truncate_comm {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--fbs-line-clamp);
    word-break: break-word;
    overflow: hidden
}

.FBS__text-truncate_1 {
    --fbs-line-clamp: 1
}

.FBS__text-truncate_2 {
    --fbs-line-clamp: 2
}

.FBS__text-truncate_3 {
    --fbs-line-clamp: 3
}

.FBS__text-truncate_4 {
    --fbs-line-clamp: 4
}

.FBS__text-truncate_5 {
    --fbs-line-clamp: 5
}

.FBS__text-truncate_6 {
    --fbs-line-clamp: 6
}

/*=====================
Comment Form and Others
=======================*/
.comment-form input,
.comment-form textarea,
blockquote {
    border-radius: 8px
}

.comment-form .submit {
    border-radius: 5px
}

input:focus-visible,
textarea:focus-visible {
    outline: -webkit-focus-ring-color auto 0
}

/*===================
GP Back To Top Button
=====================*/
.generate-back-to-top {
    --generate-back-to-top-bottom-space: 40px;
    border-radius: 50%;
    bottom: var(--generate-back-to-top-bottom-space);
    right: 18px
}

/*==========
Search Modal
============*/
.search-modal-form {
    border-radius: 50px;
    overflow: hidden
}

/*========
Post Image
==========*/
.entry-content .wp-block-image {
    margin-bottom: .6em
}

.entry-content .wp-block-image figcaption {
    font-size: 13px;
    text-align: center
}

/*===============
Post Preformatted
=================*/
.entry-content pre {
    background-color: #ffffd1
}

/*========
Blockquote
==========*/
blockquote {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-left: 5px solid var(--main-color);
    box-shadow: rgba(23, 43, 99, .3) 0 2px 8px;
    padding: 10px;
    margin: 0 0 1.5em
}

/*===========
Author Avatar
=============*/
.dynamic-author-image.dynamic-author-image-rounded {
    border: 1px solid #f3005b;
}

/*=======
Post Tags
=========*/
.FBS__singlePostTags_wrapper span.gb-text {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.FBS__singlePostTags_wrapper span.gb-text a {
    background-color: var(--text-1);
    color: #fff;
    padding: 2px 5px;
}

/*==========
Social Share
============*/
.FBS__social-sharing_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 20px 5px
}

.FBS__social-sharing_wrapper span {
    font-weight: 600;
    font-size: 15px;
    color: #696969
}

.FBS__social-sharing_inner-wrapper {
    display: flex;
    flex-wrap: wrap;
    font-size: 0
}

.FBS__social-share_inner-wrapper_item {
    padding: 8px;
    margin: 4px;
    border-radius: 4px;
    box-shadow: -2px -3px 1px 0 rgba(0, 0, 0, .17) inset
}

.FBS__social-share_inner-wrapper_item:hover {
    opacity: .9
}

.FBS__social-share_inner-wrapper_item svg {
    color: #fff;
    width: 22px;
    height: 22px
}

.FBS__ss-fb {
    background-color: #3e558b
}

.FBS__ss-wha {
    background-color: #19bd56
}

.FBS__ss-tg {
    background-color: #0e7cb3
}

.FBS__ss-x {
    background-color: #000
}

.FBS__one-share {
    background-color: #d90000
}

.main-navigation .grid-container {
    max-width: 1400px;
}

.FBS__Sidebar_Li {
    padding: 12px 0px !important;
}

.FBS__Home_Tabs .gb-tabs__menu-item::before,
.FBS__Home_Tabs .gb-tabs__menu-item::after {
    bottom: 0;
    content: ' ';
    height: 2px;
    position: absolute;
    transition: 300ms all ease-in-out;
    width: calc(50% - 7px);
    background: #d8d8d8;
}

.FBS__Home_Tabs .gb-tabs__menu-item::before {
    left: 0
}

.FBS__Home_Tabs .gb-tabs__menu-item::after {
    right: 0
}

.FBS__Home_Tabs .gb-tabs__menu-item>div {
    height: 11px;
    left: 50%;
    top: calc(100% - 1.5px);
    transform: translateX(-50%) rotateX(180deg);
    transform-origin: top center;
    width: 18px;
    z-index: 2;
    position: absolute;
}

.FBS__Home_Tabs .gb-tabs__menu-item>div>div {
    background-color: #d8d8d8;
    height: 11.5px;
    top: 0;
    width: 2px;
    position: absolute;
    transition: 300ms all ease-in-out;
}

.FBS__Home_Tabs .gb-tabs__menu-item>div>div:first-child {
    left: 0.5px;
    transform: rotate(-45deg);
    transform-origin: top left;
}

.FBS__Home_Tabs .gb-tabs__menu-item>div>div:last-child {
    right: 0.5px;
    transform: rotate(45deg);
    transform-origin: top right;
}

.FBS__Home_Tabs .gb-tabs__menu-item.gb-block-is-current>div {
    transform: translateX(-50%) rotateX(0deg) !important;
    top: calc(100% - 1px) !important;
}

.FBS__Home_Tabs .gb-block-is-current.gb-tabs__menu-item::before,
.FBS__Home_Tabs .gb-block-is-current.gb-tabs__menu-item::after,
.FBS__Home_Tabs .gb-block-is-current.gb-tabs__menu-item>div>div,
.FBS__Home_Tabs .gb-block-is-current.gb-tabs__menu-item>div>div {
    background: #000 !important;
}

.archive .site-main,
.search .site-main {
    column-gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.65rem;
}

.archive .site-main .page-header {
    display: none
}

.archive .site-main article,
.search .site-main article {
    padding: 0 !important;
    margin: 0 !important;
}

@media (min-width: 1025px) {
    .featured-slider .glide__slides {
        transform: none !important;
        width: 100% !important;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (min-width: 768px) {
    .FBS__SinglePost_Socials {
        position: absolute;
    }

    .FBS__Archive_Post_Query .gb-loop-item:nth-child(1) {
        grid-column: 1 / -1;
    }

    .FBS__Archive_Post_Query .gb-loop-item:nth-child(1) .FBS__Post_ThumbImg img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* ------ Auto Load Posts ------ */
    .archive .site-main article:first-of-type,
    .search .site-main article:first-of-type {
        grid-column: 1 / -1;
    }

    .archive .site-main article .FBS__Post_ThumbImg img,
    .search .site-main article .FBS__Post_ThumbImg img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .archive .site-main article:first-of-type .FBS__Post_Hover_ThumbImg_Item h3,
    .search .site-main article:first-of-type .FBS__Post_Hover_ThumbImg_Item h3 {
        font-size: 1.6rem;
        line-height: 1.1875;
    }
}

@media (max-width: 767px) {

    .archive .site-main,
    .search .site-main {
        grid-template-columns: 1fr;
    }
}

.breaking-news-slider {
    position: unset;
}

.breaking-news-slider .glide__slides .glide__slide {
    padding-right: 16px;
}

.breaking-news-slider .glide__arrows .glide__arrow {
    position: absolute;
    top: 60px;
    border-radius: 50%;
    border: none;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(51, 51, 51, 0.4);
    cursor: pointer;
    transition: background .2s;
    padding: 0;
}

.breaking-news-slider .glide__arrows .glide__arrow:hover {
    background: #d8361e;
}

.breaking-news-slider .glide__arrows .glide__arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.breaking-news-slider .glide__arrows .glide__arrow.glide__arrow--left {
    left: 20px;
}

.breaking-news-slider .glide__arrows .glide__arrow.glide__arrow--right {
    right: 20px;
}

.gp-icon.icon-menu-bars svg,
.gp-icon.icon-search svg {
    height: 1.2em;
    width: 1.2em;
    top: .225em;
    position: relative;
    fill: currentColor;
}

@media only screen and (max-width: 430px) {
    :root {
        --gp-slideout-width: 100% !important;
    }

    .breaking-news-slider .glide__arrows .glide__arrow.glide__arrow--left {
        left: 6px;
    }

    .breaking-news-slider .glide__arrows .glide__arrow.glide__arrow--right {
        right: 6px;
    }

    .breaking-news-slider .glide__slides .glide__slide {
        padding-right: 6px;
    }

}

.dynamic-entry-content>p:first-child:first-letter {
    float: left;
    font-size: 5rem;
    line-height: 1;
    margin-right: 0.5rem;
}

.dynamic-entry-content p a {
    text-decoration: underline;
}

.wp-block-separator {
    border: 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.FBS__Post_Hover_ThumbImg_Item .FBS__Post_ThumbImg {
    position: relative;
    overflow: hidden;
}

.FBS__Post_Hover_ThumbImg_Item .FBS__Post_ThumbImg {
    transition: 0.5s all ease-in-out;
    margin-bottom: 12px;
}

.FBS__Post_Hover_ThumbImg_Item .FBS__Post_ThumbImg img {
    transition: 1s all ease-in-out;
}

.FBS__Post_Hover_ThumbImg_Item:hover .FBS__Post_ThumbImg {
    box-shadow: 0 5px 46px 0 rgba(0, 0, 0, 0.2);
}

.FBS__Post_Hover_ThumbImg_Item:hover .FBS__Post_ThumbImg img {
    transform: scale(1.03);
    box-shadow: 0 5px 46px 0 rgba(0, 0, 0, 0.2);
}

/* Copy Toast */
.copy-toast {
    display: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    font-feature-settings: 'tnum';
    position: fixed;
    top: 16px;
    left: 0;
    z-index: 1010;
    width: 100%;
    pointer-events: none;
    transition: all 0.3s ease;
}

.copy-toast.show-toast {
    display: block;
}

.copy-toast_out {
    text-align: center;
}

.copy-toast_inner {
    background: #ffffff;
    color: #111;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 14px;
    font-weight: 500;
}

.toast-icon {
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.copy-icon {
    cursor: pointer;
}

.offside-js--is-open {
    overflow: hidden;
}

.offside-js--is-open .slideout-overlay {
    opacity: 0 !important;
}

.main-navigation.offside {
    margin-top: 60px
}

.slideout-navigation:not(.do-overlay) .main-nav {
    padding-top: 16px;
}

#generate-slideout-menu.main-navigation .main-nav ul ul {
    padding-left: 20px;
}

/* Bookmarks Overlay */
.FBS_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
}

.FBS_overlay.FBS_overlay--active {
    opacity: 1;
    visibility: visible;
}

/* Off Canvas */
.FBS_off-canvas_container {
    position: fixed;
    top: 96px;
    z-index: 101;
}

.FBS_off-canvas {
    position: fixed;
    right: 0;
    width: 460px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.02);
}

.FBS_off-canvas.FBS_off-canvas--active {
    transform: translateX(0);
}

/* Header inside panel */
.FBS_off-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.FBS_off-canvas-header h2 {
    margin: 0;
    font-size: 17px;
}

.FBS_off-canvas__close-btn {
    border: none;
    font-size: 18px;
    font-weight: 400;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6e6e6;
    cursor: pointer;
}

.FBS_off-canvas-content__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Bookmark item animation */
.FBS_off-canvas-content__list li a {
    text-decoration: none;
    color: #111;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 20px 24px;
    border-bottom: 1px solid #e6e6e6;
    transition: 300ms all ease-in-out;
}

.FBS_off-canvas-content__list li a:hover {
    background: #e6e6e6;
}

.FBS_bookmark__loading>span {
    color: #777;
}

.FBS_bookmark__no-item {
    padding: 45px 15px;
    text-align: center;
}

/* Lock scroll */
body.no-scroll {
    overflow: hidden;
}

/* Bookmark */
.bookmark-save-btn,
.bookmark-save-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    padding: 8px 16px;
    color: #000;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s all ease-in-out;
}

.bookmark-save-btn:hover {
    background: #f5f5f5;
    background: #b2b2b2;
}

.bookmark-save-btn.FBS_bookmark__saved {
    color: #fff;
    background: #b2b2b2;
}

.bookmark-save-btn.FBS_bookmark__saved:hover {
    color: #000;
    background: #fff;
}

.FBS_bookmark__icon {
    display: flex;
}

.FBS_GB-off-canvas_top a {
    color: #fff !important;
}

.FBS_TopMenu_Btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/*=========
Responsive
===========*/
@media (min-width: 769px) {

    .inside-left-sidebar,
    .inside-right-sidebar {
        position: sticky;
        top: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --gp-slideout-width: 100%;
    }

    .FBS_off-canvas_container {
        top: 0;
        z-index: 100010;
    }

    .FBS_off-canvas {
        width: 100%;
    }

    .bookmark-save-btn,
    .bookmark-save-btn:focus {
        width: 100%;
    }

    .FBS__text-truncate_1_mob {
        --fbs-line-clamp: 1
    }

    .FBS__text-truncate_2_mob {
        --fbs-line-clamp: 2
    }

    .FBS__text-truncate_3_mob {
        --fbs-line-clamp: 3
    }

    .FBS__text-truncate_4_mob {
        --fbs-line-clamp: 4
    }

    .FBS__social-sharing_wrapper span {
        font-size: 12px
    }

    .FBS__social-share_inner-wrapper_item svg {
        width: 18px;
        height: 18px
    }
}