/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

.addtoany_shortcode {
    margin-top: 20px;
}

#footer_form input.wpa-mc-input {
    width: 100%;
}
#footer_form input.btn.btn-success.btn-block.newsletter-btn {
    width: -webkit-fill-available;
}
.issuem_articles_shortcode .issuem_article_link {
    color: #0D4880;
    font-size: 14pt;
    font-weight: bold !important;
}
/* Sticky nav styles */
img.sticky_logo {
    width: 270px;
}
/* Home Grid */
#float_grid .elementor-column.elementor-top-column.elementor-element {
    padding: 0 8px;
}
/* Issue archive styling */
.issue-grid {
        display: flex;
        flex-wrap: wrap;
        margin-left: -15px;
        margin-right: -15px;
}
.issue-grid-item {
        width: 25%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
}
.issue-grid-item img {
        width: 100%;
        height: auto;
}
.issue_container {
        max-width: 1140px;
        margin: 0 auto;
}
.issue_search {
        display: flex;
        justify-content: center;
        margin: 50px 0px;
        border-radius: 0;
}
.issue_search #years-select {
        border-radius: 0;
        border: 1px solid #82BC76;
        width: 193px;
        color: #B5B5B5;
        height: 40px;
}
.issue_thumbnail {
        height: 329px;
        margin-bottom: 18px;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
}
.entry-content .entry-title {
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
}
.entry-header .btn-issue {
        display: block;
        border-radius: 0;
        height: 36px;
        line-height: 36px;
        padding: 0;
        margin: 0 0 30px 0;
        font-size: 12px;
        letter-spacing: 1.8px;
        color: #000;
        border: #4C85C4 1px solid;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
}
.entry-header .btn-issue:hover {
        color: #fff;
        background: #4C85C4;
}
h2.entry-title {
        text-align: center;
        text-transform: uppercase;
        font-family: "Lato";
        font-weight: bold;
}
/* Home issue */
.issue_thumbnail.home_issue_thumbnail {
    height: auto;
    display: flex;
    justify-content: center;
}
.elementor img.issue_image {
    height: auto;
    max-width: 80%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.issue-grid.home_issue_grid {
    align-items: center;
}
a.btn.btn-issue.common-btn.home-btn {
    display: flex;
    justify-content: center;
}
@media only screen and (max-width: 500px) {
        .issue-grid-item {
                width: 70%;
        }
        .issue-grid.home_issue_grid {
                align-items: center;
                flex-direction: column;
        }
        .issue-grid.home_issue_grid .issue-grid-item {
        margin-bottom: 10%;
        }
}
/* Slider styling  */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px; /* Adjust as needed */
    margin: 0 auto;
}
.slider-inner {
    display: flex;
}
.slider-item {
    flex: 0 0 auto;
    width: 100%;
    transition: transform 0.5s ease;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    z-index: 1;
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}


/* ~~~~~~~~~~~~~~~~~~~~~ */

.post-meta-items img.avatar {
	// display: none !important;
}
.plasmaSlider__bgImg.plasmaSlider__cover {
    object-fit: none !important;
}


.sub-menu.mega-menu.mega-menu-a.wrap .column.sub-cats li.menu-item.view-all {
	display: none !important;
}
