/*
Theme Name: Smart Mag Child
Theme URI: http://theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: http://theme-sphere.com
Template: smart-mag
Version: 1.0
*/

@import url("../smart-mag/style.css");

.single-post .main {
    margin: 0 auto 42px;
}

.fcontent_container {
    width: 70%;
    display: inline-block;
    position: relative;
    min-height: 1px;
}

.fsidebar_container {
    width: 29%;
    display: inline-block;
    position: relative;
    min-height: 1px;
    text-align: right;
}

footer .dev {
    display: inline;
}

.copyright {
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
}

.copyright_text {
    color: #64686b;
    padding: 10px 0;
    width: 94%;
}

.copyright_text a {
    color: #c3c3c3;
    transition: color .3s ease;
}

.copyright_text a:hover,
.copyright_text a:focus {
    color: #e8e8e8;
}

.f_dev_logo > span {
    display: inline-block;
    width: 120px;
    height: 40px;
    background: url("images/dev.jpg") no-repeat;
}

footer .wrap .dev a {
    display: table-cell;
    vertical-align: middle;
    color: #64686b;
}

footer .wrap .dev a:first-child {
    padding-right: 10px;
}

footer .wrap .dev a:hover,
footer .wrap .dev a:focus {
    color: #e8e8e8;
}

.social_share {
    display: inline-block;
    width: 100%;
    padding: 15px 0 10px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.social_share .share_item {
    display: inline-block;
    float: left;
    margin-right: 15px;
}

.share_item_title {
    float: left;
    margin-right: 10px;
    padding: 3px 0;
}

.social_share.custom_share {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

.social_share.custom_share .share_item_title {
    float: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #8a5a4a;
    white-space: nowrap;
}

.social_share.custom_share .share_icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social_share.custom_share .share_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #222;
    border-radius: 50%;
    color: #222;
    background: #fff;
    text-decoration: none;
    font-size: 17px;
    transition: all .2s ease;
}

.social_share.custom_share .share_btn:hover,
.social_share.custom_share .share_btn.copied {
    background: #222;
    color: #fff;
}

.share_x_text {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.tg-btn {
    display: inline-block;
    height: 24px;
    padding: 2px 12px 2px 26px;
    border-radius: 3px;
    background: #32afed url("images/telegram.png") no-repeat 5px 50%;
    font-weight: 700;
}

.tg-btn span {
    color: #fff;
    font-size: 12px;
}

.main-footer .wrap {
    padding: 20px 25px;
}

.g_block {
    display: inline-block;
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
}

.follow_container {
    margin: 30px 0;
}

.follow_container .follow_item {
    margin-bottom: 10px;
    font-weight: 500;
}

.follow_container .follow_item a {
    display: block;
    padding-right: 12px;
    line-height: 35px;
    border-radius: 2px;
    color: #f8f8f8;
    font-size: 13px;
    font-weight: 500;
}

.follow_container .follow_item.fb a {
    background: #4263a9;
}

.follow_container .follow_item.tg a {
    background: #32afed;
}

.follow_container .follow_item.twitter a {
    background: #40aaea;
}

.follow_container .follow_item.instagram a {
    background: #c13584;
}

.follow_container .follow_item .fa {
    float: left;
    width: 38px;
    background: rgba(0, 0, 0, .07);
    font-size: 24px;
    line-height: inherit;
    text-align: center;
    color: #fff;
}

.follow_container .follow_item .follow_label {
    display: inline-block;
    margin-left: 14px;
}

.follow_container .follow_item .count {
    float: right;
    line-height: inherit;
}

.tagcloud a,
.tagcloud span {
    font-size: 11px;
}

.tagcloud_title {
    display: inline-block;
    height: 20px;
    margin-right: 8px;
    padding: 0 8px;
    background-color: #222;
    color: #fff;
    text-transform: uppercase;
}

.tagcloud a {
    display: inline-block;
    height: 20px;
    margin-right: 4px;
    margin-left: 0;
    padding: 0 8px;
    border: 1px solid #ededed;
    color: #111;
}

.tagcloud a:hover,
.tagcloud a:focus {
    color: #fff;
    background-color: #dd9933;
    border-color: #dd9933;
    text-decoration: none;
}

.fluid-width-video-wrapper {
    padding-top: 0 !important;
    min-height: 350px !important;
}

.fluid-width-video-wrapper iframe {
    position: relative !important;
    min-height: 350px !important;
}

.single-post .post .featured img {
    width: 100% !important;
    min-width: 100%;
    height: auto !important;
}

.sidebar-widget {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

.about-widget img {
    filter: gray;
    -webkit-filter: grayscale(100%);
}

.main-footer .bunyad-counter,
.main-footer .bunyad-developer {
    text-align: right;
}

.main-footer .counter {
    display: inline-block;
    width: 100%;
    height: 31px;
    overflow: hidden;
    text-align: right;
}

.main-footer .counter a {
    display: inline-block;
    line-height: 0;
}

.main-footer .developer {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.main-footer .developer a {
    display: inline-block;
    width: 100%;
    text-decoration: underline;
}

.main-footer .bunyad-follow {
    padding-top: 43px;
    text-align: center;
}

.main-footer .widgettitle {
    border: none;
    font-size: 16px;
}

.follow .social-icon {
    display: inline-block;
    margin: 5px 10px 10px 0;
}

.follow .social-icon a {
    color: #fff;
}

.follow .social-icon a i {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, .03);
    font-size: 14px;
    line-height: 40px;
}

.follow .social-icon a i.fab.fa-facebook-f::before {
    content: "\f39e";
}

.follow .social-icon a:hover i.fab.fa-facebook-f {
    color: #516eab;
}

.follow .social-icon a:hover i.fab.fa-instagram {
    color: #417096;
}

.follow .social-icon a:hover i.fab.fa-twitter {
    color: #29c5f6;
}

.follow .social-icon a:hover i.fab.fa-telegram-plane {
    color: #179cde;
}

.follow .social-icon a:hover i.fas.fa-rss {
    color: #f60;
}

.lower-foot {
    font-size: 14px;
}

.lower-foot .textwidget p {
    margin: 0;
}

.lower-foot .menu-footer-container {
    display: block !important;
}

.main-featured .featured-grid-b .item {
    position: relative;
    overflow: hidden;
}

.main-featured .featured-grid-b .image-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-featured .featured-grid-b .large-item .image-link {
    aspect-ratio: 600 / 460;
}

.main-featured .featured-grid-b .medium-item .image-link {
    aspect-ratio: 600 / 230;
}

.main-featured .featured-grid-b .small-item .image-link {
    aspect-ratio: 300 / 230;
}

.main-featured .featured-grid-b .image-link img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.main-featured .featured-grid-b .caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-height: 80%;
    overflow: hidden;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, 0) 100%);
}

.main-featured .featured-grid-b .item-heading {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.main-featured .featured-grid-b .large-item .item-heading {
    -webkit-line-clamp: 6;
}

.main-featured .featured-grid-b .medium-item .item-heading {
    -webkit-line-clamp: 4;
}

.main-featured .featured-grid-b .small-item .item-heading {
    -webkit-line-clamp: 3;
}

.main-featured .featured-grid-b .cat-title,
.main-featured .featured-grid-b .the-date {
    flex-shrink: 0;
}

.main-featured .featured-grid-b .item:hover img {
    transform: scale(1.03);
    transition: transform .4s ease;
}

.no-display {
    will-change: opacity;
    opacity: 1;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

@supports not (aspect-ratio: 1 / 1) {
    .main-featured .featured-grid-b .large-item .image-link {
        height: 0;
        padding-top: 76.66%;
    }

    .main-featured .featured-grid-b .medium-item .image-link {
        height: 0;
        padding-top: 38.33%;
    }

    .main-featured .featured-grid-b .small-item .image-link {
        height: 0;
        padding-top: 76.66%;
    }
}

@media (max-width: 768px) {
    #menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #menu-footer li {
        list-style: none;
    }

    #menu-footer li::before,
    #menu-footer li::after {
        display: none;
        content: none;
    }
}

@media (max-width: 767px) {
    .fcontent_container,
    .fsidebar_container {
        width: 100%;
    }

    .fsidebar_container {
        margin-left: 0;
        text-align: left;
    }

    .share_item_title {
        width: 100%;
        margin-bottom: 10px;
    }

    .social_share.custom_share {
        flex-direction: column;
        align-items: flex-start;
    }

    .tagcloud a {
        margin-bottom: 4px;
    }

    .about-widget,
    .main-footer .bunyad-counter,
    .main-footer .bunyad-developer,
    .main-footer .counter,
    .main-footer .developer {
        text-align: center;
    }

    .main-footer .bunyad-about {
        margin-bottom: 15px;
    }

    .main-footer .bunyad-follow {
        padding-top: 0;
    }

    .main-footer .developer a {
        display: inline-block;
        width: 100%;
    }
}

@media (max-width: 499px) {
    .social_share .share_item {
        width: 100%;
        margin-bottom: 10px;
    }
}