/*
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
*/
:root {
    --content-size: 1480px;
    --link-color: #00D873;
    --link-rgba: 0, 216, 115;
    --text-color: #012928;
    --grey-color: #757575;
    --sectionBG-color: #EBF3F3;
    --font-text: "Instrument Sans", sans-serif;
    --font-heading: "Literata", serif;
    --media-radius: 10px;
}

.pdTop {
    padding-top: 10vh;
}

.pdTopSmall {
    padding-top: 5vh;
}

.pdBotSmall {
    padding-bottom: 5vh;
}

.pdBot {
    padding-bottom: 10vh;
}

.mgTop {
    margin-top: 10vh;
}

.mgBot {
    margin-bottom: 10vh;
}

.button {
    padding: 14px 25px;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--text-color);
    border: 1px solid var(--text-color);
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.button:hover {
    color: var(--text-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.button.transparent {
    background-color: transparent;
    color: var(--text-color);
}

.button.transparent:hover {
    background-color: var(--text-color);
    color: #fff;
}

.button.white {
    background-color: #fff;
    color: var(--text-color);
    border-color: #fff;
}

.button.white:hover {
    background-color: var(--text-color);
    color: #fff;
}

.arrowLink:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061";
    margin-left: 5px;
    display: inline-block;
    color: var(--c-post-meta);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.arrowLink:hover:after {
    transform: rotate(0deg);
}

.view-link,
.block-head .view-link {
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 8.5px 10px;
    font-size: 11px;
}

.view-link:hover,
.block-head .view-link:hover {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.view-link:after,
.block-head .view-link:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061";
    margin-left: 5px;
    display: inline-block;
    color: var(--link-color);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.view-link:hover:after,
.block-head .view-link:hover:after {
    transform: rotate(0deg);
}

.view-link-b,
.block-head .view-link-b {
    border: 1px solid var(--sectionBG-color);
}

.view-link-b:hover,
.block-head .view-link-b:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: #fff;
}

/* Scrolling widget */
/* CSS for Infinite Scrolling */
.scrolling-line {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.scrolling-wrapper {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    /* Adjust duration as needed */
    animation-timing-function: linear;
    /* Ensure smooth continuous scrolling */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.scrolling-line {
    font-size: 12px;
}

.scrolling-wrapper .row {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.row.hidden {
    display: none;
}

.scrolling-wrapper img {
    max-height: 25px;
    max-width: 100px;
    width: auto;
    height: auto;
    margin-right: 5px;
}

.scrolling-wrapper span {
    margin: 0 5px;
    display: flex;
    align-items: center;
}

.stocks h4 {
    text-transform: uppercase;
    color: #fff;
    font-family: var(--font-text);
    font-size: 14px;
}

.static-data,
.static-wrapper {
    width: 100%;
    padding: 0;
}

/* Essential scroll functionality styles only */
.static-wrapper {
    position: relative;
    height: calc(4 * 80px);
    /* Shows exactly 5 rows */
    overflow: hidden;
}

.scroll-container {
    position: absolute;
    width: 100%;
    transition: transform 0.5s linear;
}

/* Optional fade effect - remove if not needed */
.static-wrapper::before,
.static-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 1;
    pointer-events: none;
}

.static-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(1, 41, 40, 1) 0%, rgba(1, 41, 40, 0) 100%);
}

.static-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(1, 41, 40, 1) 0%, rgba(1, 41, 40, 0) 100%);
}

.widget-area .static-data {
    padding: 30px 20px;
}

.staticRow {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    grid-column-gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    align-items: center;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.staticRow .name {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.staticRow .price {
    text-align: right;
    color: var(--link-color);
    font-size: 32px;
    font-family: var(--font-heading);
}

.staticRow .currency {
    font-size: 23px;
}

.staticRow img {
    width: auto;
    height: auto;
    max-height: 50px;
    max-width: 90px;
    margin-right: 15px;
}

.static-data {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background-color: var(--text-color);
    color: #fff;
    padding: 30px 20px;
    border-radius: 15px;
}

.static-data h3 {
    color: #fff;
    font-size: 20px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
}

.static-data h3 span {
    font-size: 10px;
    text-transform: uppercase;
    font-family: var(--ui-font);
    color: var(--grey-color);
}

.static-data h3 .smallDisclaimer {
    color: #fff;
    text-transform: none;
    font-size: 13px;
}

.static-data h3 a {
    color: #fff;
    text-decoration: underline;
    font-family: var(--ui-font);
}

.tradingview-widget-container {
    max-height: 45px;
}

/* END Scrolling widget */
.post-meta,
.post-meta .meta-item,
.post-meta .text-in,
.post-meta .post-author>a {
    font-size: 11px;
    font-weight: 700;
    color: var(--grey-color)
}

.post-meta .post-date {
    font-weight: 400;
}

.post-meta .by {
    display: none;
}

.calculatorWidget {
    background-color: #FDFCDC;
    padding: 25px 18px 30px;
    color: var(--grey-color);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--body-font);
}

.calculatorWidget h2 {
    margin: 0;
}

.calculatorWidget .button {
    margin: 25px auto 0;
    display: block;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
}

.calculatorWidget .top {
    width: 100%;
}

.calculatorWidget .top p {
    color: var(--text-color);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 1.2px;
}

.calculatorWidget p:not(.calculatorWidget .top p) {
    margin-top: 15px;
    margin-bottom: 15px;
}

.cat-labels a,
.cat-labels .category {
    background-color: #E9FBF2;
    border-radius: 3px;
    color: var(--text-color);
    font-weight: 9px;
    line-height: 13px;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 9;
}

.footer-widgets,
.footerBottom {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-widgets {
    gap: 35px;
}

.footerBottom {
    align-items: center;
    padding: 5vh 0 0;
    margin-top: 5vh;
    border-top: 1px solid #314545;
}

.footerBottom a {
    text-decoration: underline;
}

.footerBottom .terms {
    text-decoration: underline;
    margin-left: 30px;
}

.footerBottom .terms:first-of-type {
    margin-left: 0;
}

.footer .widget,
.footer figure {
    margin: 0;
    width: 100%;
}

.footer .socialLinks a {
    color: var(--text-color);
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 12px 0 0;
    display: inline-block;
    text-align: center;
    line-height: 24px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 2;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: var(--link-color);
}

.footer form,
.singleNewsletter form,
.input-big {
    display: flex;
    width: 100%;
    position: relative;
    max-width: 340px;
    line-height: 57px;
    margin: 0;
}

.footer form input[type=submit],
.singleNewsletter form input[type=submit],
#search-form button {
    width: 33px;
    height: 33px;
    background-color: var(--link-color);
    background-image: url(../images/arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    margin-top: -16.5px;
    right: 15px;
    font-size: 0;
    border-radius: 50%;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.footer form input[type=submit]:hover,
.singleNewsletter form input[type=submit]:hover,
#search-form button:hover {
    transform: rotate(45deg);
}

#search-form {
    max-width: 500px;
    width: 100%;
    position: relative;
}

.site-main #search-form {
    margin-top: 50px;
}

.footer form input[type=email],
.singleNewsletter form input[type=email],
#search-form input {
    background: none;
    border: 1px solid #fff;
    border-radius: 50px;
    height: 55px;
    padding-left: 20px;
    color: #fff;
    width: 100%;
}

#search-form input {
    border-color: var(--text-color);
}

.singleNewsletter form input[type=email] {
    background: #fff;
    color: var(--text-color);
}

.wpcf7-not-valid-tip,
.wpcf7-spinner {
    position: absolute;
    bottom: -40px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    position: absolute;
    border-color: var(--link-color);
}

.footer h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 25px;
}

.footer ul.menu li {
    padding: 0 0 10px;
    border: none;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    max-width: 350px;
}

/* END Footer */

.headingBG .heading,
.headingBG .elementor-heading-title,
.main-sidebar .heading {
    padding: 6px 0 6px 42px;
    background-image: url(images/favicon.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px;
    line-height: 40px;
}

.smart-head .logo-image {
    width: 180px;
}

.regionalStories {
    background-color: rgba(253, 252, 220, 0.3);
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 50px;
}

.partners-container p {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
    font-size: 12px;
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.partner-item img {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 100%;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-head-search .query {
    width: 175px;
    height: 40px;
    border-radius: 5px;
}

.comment-form .submit {
    background-color: var(--text-color);
}

.single-post .elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator {
    border-block-start: var(--divider-border-width) var(--divider-border-style) var(--divider-color);
    display: flex
}

.single-post .ts-row {
    margin-bottom: 50px
}

/* Popup */
#subscribePopup {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-color);
    position: relative;
    padding: 30px;
}

#subscribePopup h3,
#subscribePopup h2,
#subscribePopup .h3,
#subscribePopup .h2 {
    color: #fff;
    font-family: var(--font-heading);
}

#subscribePopup form input[type=email] {
    border-color: var(--link-color);
}

.mfp-close-btn-in .mfp-close {
    color: var(--link-color);
}

.hbspt-form {
    width: 100%;
}

.singleNewsletter {
    background-color: var(--text-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 15px;
    text-align: center;
}

.singleNewsletter h3,
.singleNewsletter .h3 {
    font-family: var(--font-text);
    margin-bottom: 0px;
    font-weight: 400;
    color: #fff;
    font-size: clamp(18px, 1.1vw, 22px);
    line-height: 1.5;
}

.singleNewsletter h2,
.singleNewsletter .h2 {
    margin-bottom: 45px;
    max-width: 705px;
    color: #fff;
    font-size: clamp(27px, 2vw, 40px);
    line-height: 1.3;
}

.singleNewsletter .hbspt-form {
    max-width: 600px;
}

.singleNewsletter form {
    position: relative;
}

/* END Popup */

/* Calculatoare */
.calculator {
    margin-bottom: 50px;
}

.calculator p,
.calculator p:last-of-type {
    margin-bottom: 1em !Important;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0;
}

.calculator h3 {
    text-align: center;
}

.calculator label {
    font-size: 15px;
}

.calculator input {
    border: 1px solid #D9D9D9;
    width: 100%;
    padding: 15px 20px;
    border-radius: 25px;
}

.calculator button {
    width: 100%;
    background: var(--text-color);
    border: 1px solid var(--text-color);
    border-radius: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 14px;
    font-family: var(--font-text);
}

.calculator button:hover {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.calculator button.transparent {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--grey-color);
}

.calculator button.transparent:hover {
    background: var(--text-color);
    border-color: var(--text-color);
    color: #fff;
}

.calculator #results {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4;
}

/* END Calculatoare */

.curs-eur span {
    display: block;
}

.curs-eur {
    margin: 0;
    font-size: 11px;
    text-align: center;
}

.bg-cover {
    background-position: top center;
}

ol,
ul:not(.menu) {
    margin: 0.5rem 0 1rem;
    padding-left: 2rem;
}

ol {
    list-style-type: decimal;
    counter-reset: list-counter;
}

ol li {
    margin: 0.4rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

ul:not(.menu) {
    list-style-type: disc;
}

ul:not(.menu) li {
    margin: 0.4rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

ul:not(.menu) li::marker {
    color: var(--font-text);
    font-size: 1.2em;
}

ol li::marker {
    color: var(--font-text);
    font-weight: bold;
    font-size: 1.2em;
}

.col-8.main-content h2,
.col-8.main-content h3,
.col-8.main-content h4,
.col-8.main-content h5,
.col-8.main-content h6 {
    margin-bottom: 1rem;
    ;
}

.navigation .menu ul,
.navigation .menu .sub-menu {
    margin-top: 0;
}

@media all and (max-width:940px) {
    .tradingview-widget-container {
        max-height: 80px;
    }
}

@media all and (max-width:479px) {}