:root {
    --primary-color: #ED1E26;
}

body {
    font-family: "Lato", sans-serif !important;
}

img {
    max-width: 100%;
}

.mod-list {
    display: flex;
    gap: 10px;
    list-style-type: none;
}

.nav-item {
    text-transform: uppercase;
    padding: 0 0.75rem;
}

.nav-item > a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

.active a {
    font-size: 1rem;
}

.nav-item > a:hover {
    color: var(--primary-color);
}

.submenu .nav-item > a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 0.75rem;
}

.submenu .nav-item.current > a {
    color: var(--primary-color);
}

.submenu .nav-item > a:hover {
    color: #ddd;
}

.svg-logos {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    margin-bottom: 0.4rem;
    gap: 0.75rem;
}

@media (max-width: 991px) {
    .svg-logos {
        display: none;
    }
}

.container-nav {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.aside-section {
    max-width: 380px;
}

.navbar-container {
    max-width: 1200px;
    width: 90%;
    margin: 1rem auto 0 auto;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid #A7A7A7;
    border-bottom: 1px solid #A7A7A7;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-container, .mod-articlesnews.newsflash {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  
  @media (max-width: 1200px) {
    .content-container {
      max-width: 90%;
    }
  }
  
  @media (max-width: 768px) {
    .content-container {
      max-width: 95%; 
    }
  }
  
  @media (max-width: 480px) {
    .content-container {
      max-width: 100%;
    }
  }

  @media (min-width: 768px) {
    .content-container {
        padding: 20px 40px;
    }
  }

.logo img {
    height: 50px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
    }
}

.blog-featured-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.featured-horizontal img {
    width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.featured-horizontal .article-content {
    flex: 1;
}

.grid-layout {
    display: grid;
    gap: 1rem;
}

.columns-4 {
    grid-template-columns: repeat(1, 1fr);
  }
  
  @media (min-width: 600px) {
    .columns-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .columns-4 {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 1200px) {
    .columns-4 {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .columns-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  
  @media (min-width: 600px) {
    .columns-3 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 900px) {
    .columns-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .columns-2 {
    grid-template-columns: repeat(1, 1fr);
  }
  
  @media (min-width: 900px) {
    .columns-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

.grid-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.featured-article.featured-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .featured-article.featured-horizontal {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.featured-article.featured-horizontal img {
    width: 100%;
}

.featured-article.featured-horizontal h2 {
    font-weight: 600;
    font-size: 1.8rem;
}

.featured-article.featured-horizontal a {
    color: black;
    text-decoration: none;
}

.featured-article.featured-horizontal a:hover {
    color: #0a58ca;
}

.featured-article.featured-horizontal .item-content {
    height: 100%;
}

.featured-article.featured-horizontal .published {
    margin: 1rem 0;
}

dd.published {
    margin: 0.25rem 0;
}

dl.article-info {
    margin: 0.5rem 0;
}

.blog-items h2 {
    font-weight: 600;
    font-size: 1.5rem;
}

.blog-items a {
    color: black;
    text-decoration: none;
}

.mod-articles-category-title {
    color: black;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    width: 100%;
}

.blog-items .grid-item {
    background: none;
}

.slider-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-item__image {
    max-width: 800px;
}

.slider-item__image img{
    width: 100%;
}

.slider-item__content {
    height: fit-content;
    text-align: center;
    margin-bottom: 1rem;
}

.slider-item__content h1 {
    position: relative;
    width: fit-content;
    max-width: 80%;
    margin: 0 auto;
    padding-top: 15px;
    font-weight: 900;
}

.slider-item__content p {
    margin: 1.4rem 0;
}

h1.featured, h2.featured, .page-header h1 {
    position: relative;
    padding-top: 15px;
}

.page-header {
    margin: 1rem 0;
}

.slider-item__content h1::before, .category-desc h2::before, .com-content-category-blog h1::before, .mod-custom h2::before, .events-grid-heading h2::before, h1.featured::before, h2.featured::before, .page-header h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 7px;
    background-color: var(--primary-color);
}

@media (min-width: 768px) {
    .slider-item__content {
        text-align: left;
        margin-bottom: 0;
    }

    .slider-item__content h1 {
        margin-right: auto;
        max-width: 100%;
    }
}

button.featured {
    color: white;
    background-color: var(--primary-color);
    border: none;
    text-transform: uppercase;
    padding: 8px 24px;
}

.category-desc h2, .mod-custom h2, .com-content-category-blog h1 {
    position: relative;
    padding-top: 15px;
    text-align: left;
    font-weight: 900;
}

.com-content-category-blog .blog-items {
    padding: 1rem 0;
}

.com-content-category-blog .blog-item, .mod-articlesnews.newsflash .mod-articlesnews__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.com-content-category-blog .item-content {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    height: 100%;
    width: 100%;
    text-align: center;
}

.item-content p:nth-last-of-type(2) {
    flex-grow: 1;
}

.no-image figure {
    display: none;
}

.bordered-items .blog-item, .event-speakers .mod-articlesnews.newsflash .mod-articlesnews__item {
    border-radius: 1rem;
    border: 1px solid #cecece;
}

.mod-menu.mod-list.submenu {
    padding: 1rem 0;
    justify-content: center;
    color: #000;
    background-color: #ececec;
    margin-bottom: 1rem;
    border-bottom: 1px solid #c1c1c1;
    font-size: 1rem;
}

.mod-custom {
    margin: 1rem 0;
}

.mod-custom .nav-link {
    color: #0c0c0c;
}

.mod-custom .nav-link:hover {
    color: #0c0c0c;
}

.mod-custom ul {
    border: none;
}

.mod-custom .nav-item button {
    border: none;
}

.mod-custom .nav-item button:first-child {
    padding-left: 0;
}

.mod-custom .nav-tabs {
    padding: 1rem 0;
}

.event-item {
    text-align: center;
    margin-bottom: 1rem;
}

.event-item__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.event-item__heading {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0;
}

.event-item__desc {
    font-size: 1.6rem;
}

.event-item__image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.event-item__image__label {
    color: white;
    font-weight: 900;
    font-size: 2.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

@media (min-width: 600px) {
    .event-item__image__label {
        font-size: 3rem;
    }
}

.event-item__title {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    max-width: 20ch;
    margin: 1rem auto;
    line-height: 1;
}

.event-item__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.event-item__footer__desc {
    text-align: center;
    font-weight: bold;
}

.event-item__footer__desc p {
    margin: 0;
}

.event-item__footer img {
    height: fit-content;
}

.more-items {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
    margin: 1rem 0;
}

.more-items__border {
    position: relative;
    height: 1px;
    border-top: 1px solid #d6d6d6;
    flex-grow: 1;
}

.more-items__text {
    position: absolute;
    top: -30px;
    right: 0;
    text-decoration: none;
    color: black;
}

.more-items__text:hover {
    color: black;
}

.circle {
    width: 40px;
    height: 40px;
    background-color: #d6d6d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.triangle {
    margin-top: 3px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid white;
}

.featured-background {
    background-color: #d6d6d687;
}

.events-grid-heading {
    padding-top: 1rem;
    margin-top: 15px;
}

@media (min-width: 600px) {
    .events-grid-heading {
        padding-top: 2rem;
    }
}

.events-grid-heading h2 {
    font-weight: 600;
    font-size: 1.5rem;
}

.events-grid-heading p {
    font-weight: 600;
    font-size: 1.1rem;
}

.events-grid-heading a {
    color: black;
    text-decoration: none;
}

.events-grid-heading a:hover {
    color: black;
}

@media (max-width: 768px) {
    .events-grid {
        display: none;
    }
}

.grid-item-heading-moved {
    width: 80%;
    background-color: #930303;
    color: white;
    margin: -40px auto 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.grid-item-heading-moved p{
    margin: 1rem 0 0 0;
}

.grid-item-heading-moved div {
    max-width: 20ch;
    margin: 0 auto;
    padding: 1rem;
}

.grid-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    font-size: 1.2rem;
}

.banner img {
    max-width: 100%;
    margin: 1rem 0;
    padding: 0 10px;
}

@media (min-width: 600px) {
    .banner img {
        margin: 2rem 0;
    }
}

@media (min-width: 900px) {
    .banner img {
        margin: 3rem 0;
    }
}

.blog-featured-articles {
    margin-bottom: calc(2rem + 10px);
}

.subtitle {
    line-height: 1.5rem;
}

/* .item-image {
    margin-top: 1rem;
    margin-bottom: 0;
} */

.nav-item img {
    width: 40px;
}

.nav-item p {
    margin-bottom: 0;
}

.current a {
    color: var(--primary-color);
    border-top: 3px solid var(--primary-color);
    padding-top: calc(0.75rem - 3px);
}

.submenu .current a {
    border-top: none;
}

@media (max-width: 991px) {
    .current.active a {
        border-top: none;
    }
}

.navbar-title {
    overflow-wrap: break-word;
    max-width: 30ch;
    margin: 0;
    color: #808080;
    font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

@media (max-width: 600px) {
    .navbar-title {
        display: none;
    }
}

.navbar-toggler {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

/* Kreski w hamburgerze */
.navbar-toggler .bar {
    width: 30px;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

/* Górna kreska */
.navbar-toggler .bar:nth-child(1) {
    top: 10px;
}

/* Środkowa kreska */
.navbar-toggler .bar:nth-child(2) {
    top: 20px;
}

/* Dolna kreska */
.navbar-toggler .bar:nth-child(3) {
    top: 30px;
}

/* Animacja do "X" po kliknięciu */
.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 991px) {
    .mod-menu.mod-list.nav  {
        flex-direction: column;
        margin-top: 1rem;
    }
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.readmore .btn-secondary {
    background: none;
    border: none;
    color: var(--primary-color);
}

.readmore .btn-secondary:hover {
    background: none;
    border: none;
    color: var(--primary-color);
}

.mod-list.nav {
    margin-bottom: 2rem;
}

#mainMenu .mod-list.nav {
    margin-bottom: 0;
}

.inventory-position dd.published {
    display: none;
}

.wpbm-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.square {
    margin-top: 5px;
}

.international-inventory-tabs {
    font-size: 0.8rem;
    margin-top: 2rem;
}

.international-inventory-tabs p {
    font-weight: 600;
}

.international-inventory-tabs button {
    max-width: 20ch;
    height: 100%;
}

.international-inventory-tabs li {
    padding: 0;
}

.international-inventory-tabs .nav-link {
    color: #212529;
}

.international-inventory-tabs .nav-link:hover {
    color: #212529;
}

#internationalInventoryContent .tab-pane {
    padding-top: 1rem;
}

.ireg-inventory-national a, #internationalInventoryContent a {
    text-decoration: none;
    color: #212529;
}

.ireg-inventory-national a:hover {
    color: var(--primary-color);
}

.initiative-item {
    text-align: justify;
}

.initiative-item h2 {
    font-size: 1.5rem;
}

.initiative-item:first-child {
    background-image: url(/en/images/mapa.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.initiative-item .more, .add-your-ranking {
    text-align: right;
}

.initiative-item .more a, .add-your-ranking a {
    padding: 0.5rem 2rem;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    color: var(--primary-color);
}

.initiative-item .more a:hover, .add-your-ranking a:hover {
    color: var(--primary-color);
}

.ireg-inventory-banner.national {
    background-image: url(/en/images/foto-national2.jpg);
    background-position: center;
}

.ireg-inventory-banner.national > div {
    background-color: rgba(0,0,0,0.48);
    padding: 7% 0 7% 10%;
}

.ireg-inventory-banner.international {
    padding: 7% 0 7% 10%;
    background-image: url(/en/images/tlo4.jpg);
}

.ireg-inventory-banner h2, .ireg-inventory-banner h3 {
    color: white;
    width: fit-content;
}

.final-raport {
    padding: calc(0.5rem - 3px) calc(1rem - 2px);
    border: 2px solid #22438E;
    text-decoration: none;
    color: #22438E;
}

.final-raport:hover {
    color: #22438E;
}

.inventory-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.carousel-item .center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mod-footer {
    padding: 2rem 0 1rem 0;
    border-top: 2px solid #020202;
}

.address {
    padding: 1rem 0;
    width: fit-content !important;
}

@media (max-width: 506px) {
    .address {
        text-align: center;
    }
}

.address h4 {
    font-size: 1.1rem;
}

.address p {
    font-size: 0.8rem;
}

.members-area {
    padding: 0.5rem 2rem;
    color: white;
    background-color: var(--primary-color);
    text-decoration: none;
}

.members-area:hover {
    color: white;
}

.address p {
    margin: 0;
}

.news .blog-items .item-content, .news .blog-item .item-content, .news .mod-articles-category.category-module li {
    position: relative;
}

.news .blog-items .item-content::before, .news .blog-item .item-content::before, .news .mod-articles-category.category-module li::before {
    content: "";
    position: absolute;
    top: -12px;
    left: calc(50% - 20px);
    width: 40px;
    height: 4px;
    background-color: #bababa;
}

.white-links a {
    text-decoration: none;
    color: white;
}

.white-links a:hover {
    color: white;
}

.black-links a {
    text-decoration: none;
    color: #212529;
}

.black-links a:hover {
    color: #212529;
}

.aside-section a {
    text-decoration: none;
    color: #212529;
}

.aside-section a:hover {
    color: #212529;
}

.blog-featured .blog-items figure {
    display: none;
}

.grid-layout.mod-articles-category li {
    padding: 0 5px;
    margin-bottom:20px;

}

.honorary-members {
    padding: 1rem 0;
}

.honorary-member {
    border-radius: 1rem;
    border: 1px solid #cecece;
    align-items: center;
    padding: 1rem;
    margin: 0 1rem;
}

.honorary-member__image {
    text-align: center;
}

.honorary-member p {
    padding: 0.5rem 0;
}

.grid-item.featured-background {
    height: 100%;
}

.item-content .page-header {
    margin: 0;
}

.pagination {
    justify-content: center;
}

.pagination a {
    color: #212529;
}

.pagination a:hover {
    color: var(--primary-color);
}

.pagination .active a {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.page-link {
    height: 100%;
}

.icon-angle-double-left:before {
    content: "<<";
}

.icon-angle-left::before {
    content: "<";
}

.icon-angle-double-right:before {
    content: ">>";
}

.icon-angle-right::before {
    content: ">";
}

.left.item-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.mod-articlesnews__item p {
    line-height: 1.3;
}

.newsflash-title {
    font-weight: 600;
}

.com-content-article > .page-header h1 {
    font-weight: 900;
}

.all-news {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.events-dropdown button {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.events .page-header h1 {
    text-align: center;
    font-size: 1.5rem;
}

.events .page-header h1::before {
    content: none;
}

.mod-menu.mod-list.nav {
    justify-content: center;
}

.events-dropdown .nav-item {
    text-transform: none;
}

.events-dropdown .dropdown-menu {
    font-size: 0.9rem;
}

figure.left.item-image {
    float: left;
    margin-right: 2rem;
}

.com-content-article.item-page.event-speakers .com-content-article__body p:first-child {
    font-weight: 600;
}

.event-speakers .mod-articlesnews.newsflash {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
}
  
@media (min-width: 600px) {
    .event-speakers .mod-articlesnews.newsflash {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .event-speakers .mod-articlesnews.newsflash {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .event-speakers .mod-articlesnews.newsflash {
        grid-template-columns: repeat(4, 1fr);
    }
}
.event-speakers .mod-articlesnews.newsflash .mod-articlesnews__item {
    text-align: center;
}

iframe {
    max-width: 100%;
}

.embed-responsive {
    text-align: center;
}

@media (max-width: 600px) {
    .grid-layout.columns-3.black-links img {
        max-width: 230px;
    }
    .slider-container #mod-custom174 {
        display: none;
    }
}

@media (min-width: 600px) {
    .ireg-event .com-content-article__body {
        padding: 0 2rem;
    }
}

@media (min-width: 900px) {
    .ireg-event .com-content-article__body {
        padding: 0 4rem;
    }
}

@media (min-width: 1200px) {
    .ireg-event .com-content-article__body {
        padding: 0 6rem;
    }
}

.form-control-feedback {
    color: var(--primary-color);
    font-size: small;
}

.star {
    color: var(--primary-color);
}

.com-users-login__form fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.com-users-login__options.list-group {
    margin-top: 1rem;
}

.com-users-login__options.list-group .list-group-item {
    border: none;
    padding: 0.25rem 0;
}

.control-group {
    margin-top: 1rem;
}

#paypal-button-container {
    margin-top: 1rem;
}

.registration-form input {
    width: 100%;
}

#paypal-button-container {
    margin: 0 auto;
    max-width: 400px;
}

.carousel-indicators button[data-bs-target] {
    background-color: #000;
}

button.carousel-control-prev, button.carousel-control-next {
    display: none;
}

img.flag-members{
    width: 20%;
}

.mod-articles-category-image {
    padding: 0.5rem 0;
}

.mod-articles-category-image img {
    max-height: 40px;
}

.from-ireg-members figure {
    display: none;
}

.about-us .com-content-category-blog__item.blog-item figure {
    margin-right: 0 !important;
}

.about-us .com-content-category-blog__item.blog-item:last-child {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    justify-self: center;
    margin-top: 2rem;
}

.about-us .com-content-category-blog__item.blog-item:last-child::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
}

@media (min-width: 900px) {
    .about-us .com-content-category-blog__item.blog-item:last-child {
        width: 33%;
    }

    .about-us .com-content-category-blog__item.blog-item:last-child::before {
        top: -1rem;
        left: -100%;
        width: 300%;
        height: 2px;
    }
}

.com-content-article .left.item-image {
    margin-right: 1rem;
}