:root {
    --gray: #5B7674;
    --light-gray: #A3BFBD;
    --white: #fff;
    --black: #000;
}

html {
    font-size: 20px;
}

body {
    /*font-family: "Lato", sans-serif;*/
}

.site-grid>[class*=" container-"] {
    max-width: 1330px;
}

.container-top-a>*,
.container-top-b>*,
.container-bottom-a>*,
.container-bottom-b>* {
    margin-bottom: 0;
}

body:not(.home) .container-component {
    padding-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
}

a {
    text-decoration: none !important;
}

body:not(.home) {
    /*background: url("../images/bg-main.png") repeat;*/
}

/* PAGE MOD TITLE */
.page-mod-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 120%;
    text-align: center;
    color: var(--black);
    word-wrap: break-word;
    margin-bottom: 2rem;
}

.page-mod-title::after {
    content: "";
    background: var(--gray);
    display: flex;
    width: 110px;
    height: 3px;
}

/* HEADER */
.container-header {
    background: transparent;
    max-width: 1760px;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 0;
    margin-right: auto;
    box-shadow: none;
}

.container-header .grid-child {
    width: unset;
    align-items: center;
    padding: 0;
    margin-right: unset;
    margin-left: unset;
}

.container-header .navbar-brand {
    padding: 0;
    padding-right: 1.5rem;
    border-right: 2px solid #E6E8EC;
}

.container-header .navbar-brand h1 {
    display: flex;
    padding-bottom: .2rem;
    margin-bottom: 0;
}

.container-header .navbar-brand a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray);
}


/* MENU */
.container-header .container-nav {
    gap: clamp(2.5rem, -5.0000rem + 10.4167vw, 5rem);
}

.container-header .mod-menu {
    flex-wrap: nowrap;
    gap: 2rem;
}

.container-header .mod-menu>li>a,
.container-header .mod-menu>li>span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2rem;
    color: var(--black);
}

.container-header .mod-menu>li+li {
    margin-left: 0;
}

.container-header .mod-list li.active>a {
    font-weight: 700;
}

/* SOCIAL MEDIA & WESPRZYJ NAS - HEADER */
.header-content-wrapper .mod-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, -9.5000rem + 14.5833vw, 4.5rem);
}

.social-media-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-media-header a {
    display: flex;
}

.header-content-wrapper .mod-custom>.wesprzyj-btn {
    background: var(--gray);
    color: var(--white);
    padding: .75rem 3rem;
    border: unset;
    transition: all .35s ease-in-out;

    &.mobile {
        display: none;
    }
}

.header-content-wrapper .mod-custom>.wesprzyj-btn:hover {
    background: #536a69;
}

.wesprzyj-menu {
    display: none;
}

.wesprzyj-menu.show {
    background: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    position: absolute;
    top: 100%;
    right: 0;
}

.wesprzyj-menu.show>* {
    width: 100%;
}

.wesprzyj-menu-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
}

.wesprzyj-menu-row {
    display: flex;
}

.wesprzyj-menu-r2>form {
    display: flex;
    flex: 1;
}

.wesprzyj-menu-r3 {
    display: none;

    &.show {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

.wesprzyj-menu-btn {
    background: var(--white);
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    color: var(--gray) !important;
    border: unset;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* SLIDESHOW */
.camera_wrap {
    max-width: 1760px !important;
    margin-bottom: 0 !important;
}

.camera_caption {
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 0;
}

.camera_caption>div {
    background: var(--white) !important;
    height: unset !important;
    padding: 2rem !important;
}

.camera_caption_title {
    max-width: 884px;
    font-size: 1.4rem !important;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 1.7rem !important;
    text-align: left;
    color: var(--black);
    word-wrap: break-word;
    padding-right: 4rem;
    margin-bottom: 1rem;
}

.camera_caption_desc {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.9rem;
    text-align: right;
    color: var(--black);
    word-wrap: break-word;
}

.camera_pag {
    background: var(--white);
    padding: 3rem 3.6rem;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}

.camera_pag_ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.camera_wrap .camera_pag .camera_pag_ul li {
    background: #D9D9D9 !important;
    margin: 0 !important;
}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent {
    background: #5B7674 !important;
}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent>span,
.camera_wrap .camera_pag .camera_pag_ul li:hover>span {
    display: none !important;
}

/* BANNER - SIMPLE TOP */
.top-start {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ts-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #E7EBDF;
    font-weight: 600;
    text-align: center;
    font-style: italic;
    line-height: 1.65em;
    font-size: 1.5em;
    padding: 0 3em;
}

.ts-text span {
    font-weight: 300;
    padding-top: 1.25em;
    display: block;
}

.zrodlo {
    font-weight: 300;
    font-size: .75em;
    max-width: 60%;
}

/* BANNER - PODSTRONY */
.banner-podstrony img {
    margin: 0;
    margin-right: auto;
}

/* SLOGAN - HOME */
.home .container-top-a {
    max-width: 1600px;
    margin-bottom: 2rem;
}

.slogan-home .mod-custom {
    position: relative;
    padding-bottom: 1rem;
}

.slogan-home .page-mod-title {
    color: var(--gray);
}

.slogan-home .mod-custom>p {
    max-width: 1330px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8rem;
    text-align: center;
    color: var(--black);
    margin: 0 auto;
}

/*.slogan-home .mod-custom::before,
.slogan-home .mod-custom::after {
    content: "";
    background: var(--gray);
    display: flex;
    width: 42px;
    height: 148px;
    position: absolute;
    bottom: 0;
}

.slogan-home .mod-custom::before {
    left: 0;
}

.slogan-home .mod-custom::after {
    right: 0;
}*/

/* AKTUALNOŚCI - STRONA GŁÓWNA */
.aktulanosci-home-naglowek .page-mod-title {
    margin-bottom: 1rem;
}

.blog-item .item-image {
    margin-bottom: 1.5rem;
    aspect-ratio: 3 / 2;
    width: 100%;
}

.blog-item .item-image img {
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

.home .blog-item img {
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    width: 100%;
    height: 100%;
}

.container-component .item-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4rem;
    text-align: left;
    color: var(--black);
    word-wrap: break-word;

    a {
        color: var(--black);
    }
}

.container-component .item-content>p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2rem;
    color: var(--black);
    text-align: left;
    word-wrap: break-word;
}

.article-info {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: .75rem;
    font-size: .8rem;
    font-weight: 400;
    line-height: .9rem;
    color: var(--black) !important;
}

.article-info>* {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.article-info-term,
.icon-fw {
    display: none;
}

.published::before {
    content: url("../images/Calendar_duotone.svg");
    display: flex;
}

.hits::before {
    content: url("../images/View_fill.svg");
    display: flex;
}

.readmore .btn {
    background: transparent !important;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray) !important;
    padding: 0;
    border: unset;

    .icon-chevron-right {
        display: none;
    }
}

.home .item-content {
	display: flex;
	flex-direction: column;
	height: 70%;
}
.home .readmore {
	margin-top: auto;
}
.btn.read-more {
	display: flex;
	justify-content: center;
	width: fit-content;
	margin: 0 auto;
}
.btn.read-more a {
	border: solid 1px var(--gray);
	padding: 1em;
	background: var(--gray);
	font-weight: bold;
	color: #fff;
}

/* GRAF DIVIDER - STRONA GŁÓWNA */
/*.home*/
.container-bottom-a {
    max-width: 1130px !important;
    grid-column: full-start/full-end;
}

.container-bottom-b {
    max-width: 100% !important;
    grid-column: full-start/full-end;
}
.cytaty-info {
	font-size: .75em;
}

/* AKTUALNOŚCI - PODSTRONY */
.blog-items {
    gap: 2rem;
}

.aktualnosci .blog-item {
    background: var(--white);
}

.blog-item .page-header>* {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4rem;
    text-align: left;
    color: var(--black);
    word-wrap: break-word;

    a {
        color: var(--black);
    }
}

.pagination__wrapper {
    display: flex;
    justify-content: center;
}

.page-link {
    background: var(--gray);
    color: var(--white) !important;
    border: unset !important;
}

.page-link:focus {
    box-shadow: unset;
}

.page-link:hover {
    background: var(--light-gray) !important;
}

.page-link.disabled,
.disabled>.page-link {
    background: #5B7674;
}

.page-link.active,
.active>.page-link {
    background: var(--light-gray);
    color: var(--white) !important;
    border: unset !important;
}

/* WIDOK ARYTKUŁU */
.aktualnosci.view-article {

    .com-content-article {
        display: flex;
        flex-direction: column;

        .page-header {
            text-align: center;
            margin-bottom: 1rem;
            order: 1;

            h1,
            h2 {
                font-size: 1.6rem;
                font-weight: 400;
                line-height: 1.9rem;
            }
        }

        .article-info {
            display: flex;
            justify-content: center;
            order: 2;
        }

        .com-content-article__body {
            order: 3;
        }

        .pagenavigation {
            order: 4;
        }
    }

}

.sub-anchor {
    font-size: .75em;
}

.no-list {
	list-style: none;
}

/* TABELE */
table {
    margin: 0 auto;
}

thead tr {
    background: var(--gray);
    color: var(--white);
}

table tr th,
table tr td {
    padding: .5em 1.9em;
}

tbody tr:nth-child(2n+1) {
    background: #f1f1f1;
}




.pagenavigation {
    padding: 1rem 0 0;
    border-top: 1px solid var(--gray);
    margin-top: 1rem;
}

.pagenavigation .btn {
    background: var(--gray);
    color: var(--white);
    padding: .5rem 2.5rem;
    border-radius: 0;
    border: unset;
}

.pagenavigation .icon-chevron-left,
.pagenavigation .icon-chevron-right {
    display: none;
}

/* FOOTER */
.footer {
    /*background: var(--gray);*/
    background: #577371;
    margin-top: 0;
    /*margin-bottom: 4rem;*/
}

.footer .grid-child {
    max-width: 1600px;
    padding: 2rem 3rem 2rem 5rem;
    position: relative;
}

/*.footer .grid-child::before,
.footer .grid-child::after {
    content: "";
    display: flex;
    background: var(--white);
    width: 2.1rem;
    height: 7.4rem;
    position: absolute;

}

.footer .grid-child::before {
    top: 0;
    left: 0;
}

.footer .grid-child::after {
    right: 0;
    bottom: 0;
}
*/
.footer .mod-custom {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


/* Inline | https://cedrowa.eu/eutanazja/ */

.footer-container-01 {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2em;
}

.footer-container-01>div {
    justify-content: left;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
}


/* user.css | https://cedrowa.eu/eutanazja/media/templates/site/cassiopeia_eutanazja/css/user.css?065552 */

.footer-container-01 {
    display: ;
}

.footer .mod-custom {
    display: ;
}

.footer-container-01>div {
    display: ;
}


/*
.footer .mod-custom::before {
    content: "eutanazja.info";
    writing-mode: vertical-lr;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: .8rem;
    color: #DEFFFD;
    letter-spacing: 7.20px;
    text-align: right;
    word-wrap: break-word;
    text-orientation: sideways;
    rotate: 180deg;
}


.footer-container-01 {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2.5rem;
    padding: 0 8rem 0 2rem;
}

.footer-container-01>h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #DEFFFD;
    line-height: 2.5rem;
    text-align: left;
    letter-spacing: 12.60px;
    word-wrap: break-word;
}

.footer-nasze-dane {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: .5rem;
}

.footer-nasze-dane p {
    margin-bottom: 0;
}

.f-dane-kontaktowe {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1rem;
    line-height: 1.1rem;
}

.nip {
    padding-right: .75rem;
    border-right: 1px solid var(--white);
}
*/
.email,
.nip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.email::before {
    content: url("../images/Message_alt_light.svg");
    display: flex;
}

.nip::before {
    content: url("../images/Book_open_duotone_line.svg");
    display: flex;
}

/*
.footer-container-02 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}
*/

.footer-container-02 {
    display: flex;
    justify-content: space-between;
    width: 190px;
}

/* RWD */

@media screen and (max-width: 1760px) {

    /* HEADER */
    .container-header {
        max-width: 100%;
        justify-content: center;
        margin: 0;
    }

    /* SLOGAN - HOME */
    .home .container-top-a {
        max-width: 90%;
    }

    .slogan-home .mod-custom>p {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 1440px) {
    html {
        font-size: 18px;
    }

    .site-grid>[class*=" container-"],
    .footer .grid-child {
        max-width: 90%;
    }

    /* SLIDESHOW */
    .camera_wrap {
        max-height: 600px;
    }

    /* SLOGAN - HOME */
    .slogan-home .mod-custom>p {
        max-width: 950px;
        padding: 0;
    }

    /* GRAF DIVIDER - STRONA GŁÓWNA */
    .graf-divider-home img {
        max-height: 450px;
        width: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 16px;
    }

    /* MENU */
    .container-header .mod-menu {
        gap: clamp(1rem, -5.1111rem + 8.8889vw, 2rem);
    }

    /* SLOGAN - HOME */
    .slogan-home .mod-custom>p {
        max-width: 85%;
    }

    /* FOOTER */

}

@media screen and (max-width: 1100px) {

    /* HEADER */
    .container-header {
        justify-content: space-between;
        padding: 2rem 1.25rem;
    }

    .container-header .navbar-brand {
        padding-right: 0;
        border-right: unset;
    }

    .container-nav>.header-content-wrapper {
        display: none;
    }

    /* MENU */
    .mobilemenuck .header-content-wrapper {
        width: 100%;
        position: absolute;
        bottom: 2rem;
    }

    .header-content-wrapper .mod-custom {
        flex-direction: column;
    }

    .header-content-wrapper .mod-custom>.wesprzyj-btn {
        display: none;
        font-size: 1rem !important;

        &.mobile {
            display: block;
        }
    }

    .mobilemenuck-bar-title {
        display: none !important;
    }

    [data-id="mobilemenuck-1"] .mobilemenuck-bar-button {
        content: url("../images/hamburger.svg");
        position: static;
        width: 40px !important;
        height: 35px !important;
        padding-top: 0 !important;
    }

    /* SLIDESHOW */
    .camera_pag {
        background: transparent;
        padding-bottom: 2rem;
        right: 0;
    }

    .camera_pag_ul {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (max-width: 1024px) {

    .site-grid>[class*=" container-"] {
        max-width: 95%;
    }

    /* SLIDESHOW */
    .camera_caption_title {
        max-width: 700px;
    }

    /* BANNER - PODSTONY */
    .banner-podstrony img {
        height: 300px;
        object-fit: cover;
    }

    /* SLOGAN - HOME */
    .slogan-home .mod-custom>p {
        max-width: 100%;
    }

    .slogan-home .mod-custom::before,
    .slogan-home .mod-custom::after {
        display: none;
    }

    /* GRAF DIVIDER - STRONA GŁÓWNA */
    .graf-divider-home img {
        max-height: 400px;
    }

    /* FOOTER */
    .footer .grid-child {
        max-width: 100%;
        align-items: start;
        padding: 2rem 5rem 2rem 6rem;
    }

    .footer .grid-child::before,
    .footer .grid-child::after {
        width: 1.5rem;
        height: 7rem;
    }

    .footer .mod-custom {
        flex-direction: column;
        align-items: center;
        gap: 2em;
    }

    .footer-container-01 .fc-logo img {
        margin: 0 auto;
    }

    .footer-container-02 {

        justify-content: space-evenly;

    }

    .footer-container-02 a img {
        max-width: 37px;
        max-height: 37px;
    }

    .footer .mod-custom::before {
        font-size: 1.5rem;
        line-height: 1.5rem;
        letter-spacing: 8.6px;
        position: absolute;
        top: 0;
        left: 0;
    }
}

@media screen and (max-width: 991px) {
    .blog-items {
        grid-template-columns: 1fr 1fr;
    }

    /* AKTUALNOŚCI - STRONA GŁÓWNA */
    .blog-items {
        grid-template-columns: 1fr 1fr;
    }

    .home .blog-items .blog-item:nth-child(3) {
        /*display: none;*/
    }
}

@media screen and (max-width: 834px) {

    /* SLIDESHOW */
    .camera_caption>div {
        max-width: 90%;
    }

    .camera_caption_title {
        padding-right: 0;
    }

    /* SLOGAN - HOME */
    .slogan-home .mod-custom>p {
        font-size: 1.5rem;
        line-height: 1.6rem;
    }

    /* GRAF DIVIDER - STRONA GŁÓWNA */
    .graf-divider-home img {
        max-height: 320px;
    }
}

@media screen and (max-width: 660px) {

    .top-start {
        grid-template-columns: 1fr;
    }

    .ts-text {
        padding-top: 1.5em;
        font-size: 1.25em;
    }

    .footer-container-01 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {

    html {
        font-size: 14px;
    }

    /* PAGE MOD TITLE */
    .page-mod-title {
        font-size: 1.9rem;
    }

    .page-mod-title::after {
        width: 80px;
    }

    /* HEADER */
    .container-header {
        padding: 1.5rem 1.25rem;
    }

    /* MENU */
    [data-id="mobilemenuck-1"] .mobilemenuck-bar-button {
        width: 36px !important;
        height: 32px !important;
    }

    /* SLIDESHOW */
    .camera_wrap {
        max-height: 550px;
    }

    .camera_caption_title {
        font-size: 1.2rem !important;
        line-height: 1.3rem !important;
    }

    .camera_caption_desc {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    /* BANNER - PODSTONY */
    .banner-podstrony img {
        height: 250px;
        object-fit: cover;
    }

    /* AKTUALNOŚCI - STRONA GŁÓWNA */
    .blog-items {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    .footer .grid-child {
        padding: 2rem 3rem 2rem 3rem;
    }

    .footer-container-01,
    .footer-container-02 {
        /*padding-left: 3rem;*/
    }

    .footer-container-01>h2 {
        font-size: 1.75rem;
        line-height: 2rem;
        letter-spacing: 7.2px;
    }

    .f-dane-kontaktowe {
        flex-direction: column;
        align-items: start;
    }

    .nip {
        padding-right: 0;
        border-right: unset;
    }

    .footer .mod-custom::before {
        font-size: 1.1rem;
        line-height: 1.2rem;
        letter-spacing: 5.7px;

    }
}