/* 
Theme Name: Hello Elementor Child Betarus
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
html[lang="uk"],
html[lang="en-US"] {
    margin-top: 0px !important;
}

html,
body {
    overflow-x: hidden;
}

#wpadminbar {
    bottom: 0;
    top: unset;
    position: fixed !important;
}

#wpadminbar li.hover>.ab-sub-wrapper,
#wpadminbar.nojs li:hover>.ab-sub-wrapper {
    bottom: 100%;
}

.flex {
    display: flex
}

/*new template*/
body .elementor-widget-image a img[src$=".svg"] {
    width: auto;
}

.donate_button a {
    text-align: left !important;
}

.donate_button a span.text-xs {
    display: block;
    font-size: 12px !important;
}

body.sticky {
    padding-top: 86px;
}

.sticky .fix_header {
    background: #fff !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.sticky .fix_header a path {
    fill: #0A0A0A;
}

.sticky .fix_header .menu-item a.hfe-menu-item {
    color: #0A0A0A !important;
}

header .hfe-nav-menu-icon {
    background: #fff;
}

.w-full {
    width: 100%;
}

.sm\:w-1\/4 {
    width: 25%;
}

.sm\:w-1\/3 {
    width: 33.333333%;
}

.sm\:w-1\/2 {
    width: 50%;
}

/*new template*/
body .elementor-widget-image a img[src$=".svg"] {
    width: auto;
}

body a {
    color: #134cdd;
}

.donate_button a {
    text-align: left !important;
}

.donate_button a span.text-xs {
    display: block;
    font-size: 12px !important;
}

body.sticky {
    padding-top: 86px;
}

.sticky .fix_header {
    background: #fff !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.sticky .fix_header a path {
    fill: #0A0A0A;
}

.sticky .fix_header .menu-item a.hfe-menu-item {
    color: #0A0A0A !important;
}

footer a:hover {
    text-decoration: underline !important;
}

footer .wpcf7 {
    max-width: 235px;
    max-width: 235px !important;
    margin: 0 !important;
}

footer .wpcf7 label {
    font-size: 16px;
    color: #fff;
    font-family: Inter, Inter, ui-sans-serif, system-ui, sans-serif;
}

footer .wpcf7 p {
    font-size: 14px;
    color: #fff;
    font-family: Inter, Inter, ui-sans-serif, system-ui, sans-serif;
}

footer .wpcf7 .flex {
    margin: 8px 0;
    max-width: 100%;
}

footer .wpcf7 .flex .wpcf7-form-control-wrap {
    display: block;
    max-width: 100%;
}

footer .wpcf7 .flex input[type="email"] {
    max-height: 100%;
    padding: 4px 8px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 14px;
    color: #fff;
    font-family: Inter, Inter, ui-sans-serif, system-ui, sans-serif;
    max-width: 100%;
    text-transform: capitalize;
}

footer .wpcf7 .flex input::placeholder {
    color: #fff !important;
}

footer .wpcf7 .flex input::-ms-input-placeholder {
    color: #fff !important;
}

footer .wpcf7 .flex button {
    padding: 0px 4px 0;
    border: none;
    background: rgb(19, 76, 221);
    border-radius: 0;
}

footer .wpcf7 .flex button path {
    fill: #fff;
    stroke: #fff;
}

footer .wpcf7 .wpcf7-response-output {
    color: #fff;
    position: absolute;
}

footer .wpcf7 .wpcf7-not-valid-tip {
    display: none !important;
}

footer .wpcf7 .flex input[type="email"].wpcf7-not-valid {
    border: 1px solid red;
}

.sign_petition {
    position: absolute;
    bottom: 0;
    left: 0;
}

.sign_petition a:hover {
    text-decoration: underline;
}

.progress_button {
    display: block;
    width: 347px;
    margin: 0 auto;
    background: #fff;
    color: #0a0a0a;
}

.progress_button:hover {
    color: #134cdd;
}

.progress_button .flex {
    align-items: center;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.progress_button .left {
    padding: 8px 16px 8px 24px;
    border-right: 1px solid #0a0a0a;
}

.progress_button .right {
    padding: 8px 24px 8px 16px;
}

.progress_button .left .text-xs {
    font-size: 14px;
    font-weight: 400;
}

.progress_button .progress_bar {
    margin-top: 16px;
    width: 100%;
    height: 8px;
    background: #134cdd33;
}

.progress_button .progress_bar .inner {
    height: 8px;
    background: #134cdd;
}

/**/
.get_alerts_form .elementor-widget-container .wpcf7 {
    max-width: unset;
}

.get_alerts_form .flex {
    flex-flow: row wrap;
    gap: 30px;
    margin-bottom: 64px;
}

.get_alerts_form .f3 {
    width: calc(33.33% - 30px);
}

.get_alerts_form .f3 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.get_alerts_form .elementor-widget-container .wpcf7 .f3 input {
    width: 100% !important;
    padding: 4px 12px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    border-radius: 0;
    outline: none;
    font-weight: 400;
    text-transform: capitalize;
}

.get_alerts_form .f3 input::placeholder {
    color: #fff !important;
}

.get_alerts_form .elementor-widget-container .wpcf7 .f3 input::-ms-input-placeholder {
    color: #fff !important;
}

.get_alerts_form .elementor-widget-container .wpcf7 button {
    width: 50%;
    margin: 0;
}

.get_alerts_form .elementor-widget-container .wpcf7 button,
.join_form .elementor-widget-container .wpcf7 button {
    padding: 20px 40px;
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #0a0a0a;
    border-radius: 0;
    font-size: 20px;
    font-weight: 700;
}

.get_alerts_form .elementor-widget-container .wpcf7 button:hover,
.join_form .elementor-widget-container .wpcf7 button:hover {
    color: #134cdd;
    border: 1px solid #134cdd;
}

.get_alerts_form .elementor-widget-container .wpcf7 button svg,
.join_form .elementor-widget-container .wpcf7 button svg {
    vertical-align: middle;
    margin-left: 15px;
    margin-top: -5px;
}

.get_alerts_form .elementor-widget-container .wpcf7 .wpcf7-response-output {
    margin-top: 30px;
    color: #fff;
}

/**/
.countblock {
    font-size: 3em;
    color: #333;
    font-weight: bold;
    opacity: 0;
    /* Initially hidden */
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.countblock.visible {
    opacity: 1;
    transform: translateY(0);
}

.counter_box {
    color: #fff;
    text-align: center;
    gap: 40px;
    padding: 50px 0px 0;
}

.counter_box .f4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.counter_box p {
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5rem;
}

.counter_box .countblock {
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 48px;
    font-weight: 700;
}

.counter_box .countblock.percent:after {
    content: '%';
}

/**/
.three_tiles .e-con:hover .elementor-heading-title {
    color: #fff !important;
}

.three_tiles .e-con .elementor-widget-text-editor {
    opacity: 0;
}

.three_tiles .e-con:hover .elementor-widget-text-editor {
    opacity: 1;
}

.bloquote_box blockquote {
    margin-bottom: 0;
    margin-top: 0;
}

.bloquote_box p {
    line-height: 28px;
}

.bloquote_box cite {
    font-size: 20px;
    line-height: 28px;
    margin-left: 40px;
}

.inline_buttons {
    display: inline-block !important;
}

/**/
.fax_box .e-n-accordion-item:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    bottom: -32px;
    position: relative;
}

/**/
.join_form .elementor-widget-container .wpcf7 {
    max-width: 960px;
}

.join_form .elementor-widget-container .wpcf7 .flex {
    gap: 1rem;
}

.join_form label {
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

.join_form .elementor-widget-container .wpcf7 input[type="email"],
.join_form .elementor-widget-container .wpcf7 input[type="text"],
.join_form .elementor-widget-container .wpcf7 input[type="tel"],
.join_form .elementor-widget-container .wpcf7 input[type="number"],
.join_form .elementor-widget-container .wpcf7 select,
.join_form .elementor-widget-container .wpcf7 textarea {
    margin: 8px 0 32px;
    border: 1px solid #0a0a0a;
    border-radius: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    color: #0a0a0a;
    font-weight: 400;
    text-transform: none;
    padding: 16px 12px;
    width: 100%;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-radio,
.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-checkbox {
    margin: 8px 0 32px;
    display: block;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control .wpcf7-list-item.first {
    margin-left: 0;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    width: calc(50% - 0.5rem);
    margin: 0;
}

.join_form .elementor-widget-container .wpcf7 button {
    margin-top: 32px;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    bottom: 0;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-radio+.wpcf7-not-valid-tip,
.join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-checkbox+.wpcf7-not-valid-tip {
    bottom: -22px;
}

.join_form .elementor-widget-container .wpcf7 .wpcf7-response-output {
    margin-top: 32px !important;
}

/**/
.red_quote .elementor-heading-title {
    position: relative;
}

.red_quote .elementor-heading-title:before {
    content: '“';
    color: #dc2626;
    position: absolute;
    left: -50px;
    display: inline-block;
}

/**/
.news_block h2 a:hover {
    text-decoration: underline !important;
}

.news_block .news_thumbnail {
    height: 150px;
    overflow: hidden;
    width: 250px;
    border-radius: 10px;
}

.elementor-widget-container .pagination {
    justify-content: center;
    gap: .5rem;
}

.elementor-widget-container .pagination .pagination-button {
    background: transparent;
    border: none;
    color: #0a0a0a;
    border-radius: 0;
}

.elementor-widget-container .pagination .pagination-button.active {
    background: #134cdd;
    border: none;
    color: #fff;
}

.elementor-widget-container .pagination .pagination-button:hover {
    background: #E5E7EB;
}

/**/
.tabs-navigation {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tabs-navigation svg {
    display: block;
}

.tabs-navigation .tab_left,
.tabs-navigation .tab_right {
    padding: 6px;
    cursor: pointer;
}

.tabs-navigation .tab_left:hover,
.tabs-navigation .tab_right:hover {
    background: #f5f5f5;
}

.tabs-navigation div:hover svg {
    color: #134cdd;
}

@media (max-width: 1024px) {
    .bloquote_box blockquote {
        margin-left: 0;
        margin-right: 0;
    }

    .bloquote_box cite {
        font-size: 16px;
        line-height: 20px;
        margin-left: 0px;
    }

    .counter_box.flex {
        flex-flow: row wrap;
    }

    .counter_box.flex .f4 {
        width: calc(50% - 20px);
    }

    .get_alerts_form .flex {
        margin-bottom: 32px;
    }


    .fax_box .e-n-accordion-item:after {
        bottom: -16px;
    }
}

@media (max-width: 767px) {
    .elementor-widget-container .wpcf7 input[type="email"] {
        margin-bottom: 0 !important;
    }

    footer .wpcf7 {
        max-width: unset !important;
    }

    footer .footer-width-fixer .wpcf7,
    footer .footer-width-fixer li,
    footer .footer-width-fixer li a {
        text-align: center !important;
    }

    footer .footer-width-fixer li a {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        -webkit-justify-content: center !important;
        -moz-box-pack: center !important;
        justify-content: center !important;
    }

    .join_form .elementor-widget-container .wpcf7 .flex {
        flex-direction: column;
    }

    .join_form .elementor-widget-container .wpcf7 .flex .sm\:w-1\/4,
    .join_form .elementor-widget-container .wpcf7 .flex .sm\:w-1\/3,
    .join_form .elementor-widget-container .wpcf7 .flex .sm\:w-1\/2 {
        width: 100%;
    }

    .join_form .elementor-widget-container .wpcf7 .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .counter_box.flex .f4 {
        width: 100%;
    }

    .get_alerts_form .flex .f3 {
        width: 100%;
    }

    .get_alerts_form .elementor-widget-container .wpcf7 button,
    .join_form .elementor-widget-container .wpcf7 button {
        font-size: 16px;
    }

    .progress_button {
        width: 100%;
        max-width: 347px;
    }

    .progress_button .flex {
        display: block;
    }

    .progress_button .left {
        border-right: none;
    }

    .progress_button .right {
        padding: 12px 24px 12px 16px;
        text-align: center;
    }
}

/* News CSS */
.news-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-title {
    font-family: "Inter", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 128px;
    font-weight: 700;
    color: #0A0A0A;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-first-post {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12rem;
}

.news-first-post-content {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 2rem;
    width: 100%;
}

.news-first-post-text {
    flex: 1;
    max-width: 50%;
    background-color: #F5F5F5;
    padding: 32px;
}

.news-first-post-image {
    flex: 1;
    min-width: 300px;
}

.news-first-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-first-entry-title,
.news-entry-title {
    font-family: "Inter", Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 10px;
}

.news-first-entry-title {
    font-size: 48px;
}

.news-post-date {
    font-family: "Inter", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
}

.news-entry-title {
    font-size: 36px;
}

.news-post-excerpt {
    text-align: left;
    color: #0A0A0A;
    font-family: "Inter", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.news-post {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.news-post-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 2rem;
    row-gap: 2rem;
}

.news-post-image {
    flex: 1;
    max-width: 200px;
    padding-top: 1rem;
}

.news-post-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.news-post-text {
    flex: 1;
    min-width: 30%;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.news-pagination-numbers {
    display: flex;
    gap: 10px;
}

.news-pagination-numbers a,
.news-pagination-numbers span {
    font-size: 16px;
    font-weight: 600;
    color: #0A0A0A;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.news-pagination-numbers a:hover {
    background-color: #0A0A0A;
    color: #fff;
    border-color: #0A0A0A;
}

.news-pagination-numbers .current {
    background-color: #0A0A0A;
    color: #fff;
    border-color: #0A0A0A;
}

@media (max-width: 1024px) {
    .news-title {
        font-size: 48px;
    }
    .news-first-post-text {
        min-width: 100%;
    }
    .news-first-post-image img {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .news-post-image {
        max-width: 50%;
        min-width: 300px;
    }
    .news-post-text {
        flex: 1;
        min-width: 100%;
    }
}