@font-face {
  font-family: 'Strawford';
  src:  url('/sites/default/files/theme_entry/external_files/fonts/Strawford-Regular.woff2') format('woff2'),
        url('/sites/default/files/theme_entry/external_files/fonts/Strawford-Regular.woff') format('woff');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Strawford';
  src:  url('/sites/default/files/theme_entry/external_files/fonts/Strawford-RegularItalic.woff2') format('woff2'),
        url('/sites/default/files/theme_entry/external_files/fonts/Strawford-RegularItalic.woff') format('woff');
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: 'Strawford';
  src:  url('/sites/default/files/theme_entry/external_files/fonts/Strawford-Bold.woff2') format('woff2'),
        url('/sites/default/files/theme_entry/external_files/fonts/Strawford-Bold.woff') format('woff');
  font-style: normal;
  font-weight: bold;
}

@font-face {
  font-family: 'Strawford';
  src:  url('/sites/default/files/theme_entry/external_files/fonts/Strawford-BoldItalic.woff2') format('woff2'),
        url('/sites/default/files/theme_entry/external_files/fonts/Strawford-BoldItalic.woff') format('woff');
  font-style: italic;
  font-weight: bold;
}
body {
    font-size: 1.125rem;
}
body * {
    font-family: Strawford;
}
body #block-theme-caltha-site-branding {
    background-image: none;
}
body p {
    line-height: 1.4 !important;
}
.path-frontpage .region--content {
    display: flex;
    flex-direction: row-reverse;
}
@media only screen and (max-width: 996px){
    .path-frontpage .region--content {
        flex-direction: column-reverse;
    }
    #block-theme-caltha-grafikanapowitanie .text-content {
        width: 80%;
    }
}
#page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
#main-wrapper {
    margin-bottom: auto;
}
.site-main {
    grid-column: 1 / 11 !important
}
#header-nav {
    border-block-start-color: #2a503e !important;
}
.header-nav {
    background-color: #2a503e !important;
    color: white !important;
}
.secondary-nav {
    font-size: 16px !important;
}
.primary-nav__menu-link-inner::after {
    border-color: #f46c68 !important;
}
.secondary-nav__menu-item a:hover {
    color: white !important;
}
.mobile-nav-button__label,
.primary-nav__menu-link {
    color: white !important;
}

.mobile-nav-button__icon::after,
.mobile-nav-button__icon::before {
    border-color: white !important;
}
.mobile-nav-button__icon {
    border-color: white;
}
.card-details {
    background-color: #82aa96; 
    padding: 20px;
    display: flex;
    flex-direction: column; 
    background-image: url('/sites/default/files/inline-images/wizytowka-bg.png') !important;
    background-size: 270px auto;
    background-position: center right 50px  !important;
    background-repeat: no-repeat !important;
    box-shadow: 7px 5px 15px #999;
}
@media only screen and (max-width: 767px){
    .card-details {
        background-image: none !important;
    }
}
.card-details .views-field .field-content {
    color: #ffffff; 
    width: fit-content; 
    max-width: 100%;
    box-sizing: border-box;
}

.side-menu a {
  display: block;
  font-weight: bold;
  color: #2a503e;
  text-decoration: none;
  padding: 10px 10px;
  margin-bottom: 10px;
  position: relative;
  transition: all 0.1s ease;
  border-radius: 0px;
}
.text-content p {
    margin-block-start: 0 !important;
    margin-block-end: 13px !important;
}
.side-menu a:hover {
  background-color: #ed7775;
  color: #ffffff;
}

.page-node-11 h1.page-title {
    display: none !important;
}
.page-node-11 .views-table {
    margin-block-start: 0 !important;
}
.page-node-11 h2.block__title {
    color: #82aa96 !important;
    font-size: 28px !important;
}
.page-node-11 #block-theme-caltha-page-title,
.page-node-11 #block-theme-caltha-content {
    display: none !important;
}
#block-theme-caltha-views-block-panel-czlonka-block-3 .view {
    gap: 0 !important;
}
#block-theme-caltha-views-block-panel-czlonka-block-3 .view-content table {
    margin-block-end: 0 !important;
}
#block-theme-caltha-views-block-panel-czlonka-block-3 .view-content .btn-primary {
    background-color: #82aa96 !important;
    border-radius: 0 !important;
    border-color: #82aa96 !important;
}

.js-webform-type-checkboxes .fieldset__label::after, .js-webform-type-radios .fieldset__label::after {
      background-image: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 7.562 1.114-3.438c2.565.906 4.43 1.688 5.59 2.35-.306-2.921-.467-4.93-.484-6.027h3.511c-.05 1.597-.234 3.6-.558 6.003 1.664-.838 3.566-1.613 5.714-2.325l1.113 3.437c-2.05.678-4.06 1.131-6.028 1.356.984.856 2.372 2.381 4.166 4.575l-2.906 2.059c-.935-1.274-2.041-3.009-3.316-5.206-1.194 2.275-2.244 4.013-3.147 5.206l-2.856-2.059c1.872-2.307 3.211-3.832 4.017-4.575-2.081-.402-4.058-.856-5.93-1.356' fill='%23dd0000'/%3E%3C/svg%3E%0A") !important;
}
.webform-type-fieldset {
    padding: 15px !important;
}
.fieldset__legend {
    margin: 0 !important;
}
.fieldset__wrapper {
    padding-top: 7px !important;
}
.js-webform-radios,
.webform-type-fieldset {
    background-color: #2a503e !important;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)) !important;
    padding-block-start: 10px !important;
    padding-block-end: 15px !important;
}
.js-webform-type-radios .fieldset__wrapper .form-type-boolean {
    margin-block-end: 5px !important;
}
.form-item__description {
    max-width: 100% !important;
}
.js-webform-type-checkboxes .fieldset__legend,
.js-webform-type-radios .fieldset__legend {
    background-color: #2a503e !important;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
}
.js-webform-type-checkboxes .fieldset__wrapper,
.js-webform-type-radios .fieldset__wrapper {
    border: none !important;
    padding-inline: 0 !important;
}
.js-webform-type-checkboxes .fieldset__legend,
.js-webform-type-radios .fieldset__legend {
    margin: 0 !important;
}
  
.js-webform-type-checkboxes .fieldset__legend span,
.js-webform-type-radios .fieldset__legend span{
    color: #000 !important;
}
.js-webform-type-checkboxes .fieldset__wrapper,
.js-webform-type-radios .fieldset__wrapper {
    padding-block-start: 0 !important;
} 
.js-webform-type-checkboxes .fieldset__wrapper .form-type-boolean,
.js-webform-type-radios .fieldset__wrapper .form-type-boolean {
    margin-block: 2px !important;
}
.js-webform-type-checkboxes .fieldset__wrapper .form-type-boolean:first-child,
.js-webform-type-radios .fieldset__wrapper .form-type-boolean:first-child {
    margin-block-start: 0 !important;
}
.js-webform-type-checkboxes .fieldset__label,
.js-webform-type-radios .fieldset__label {
    padding-inline-start: 0 !important;
    font-weight: 400 !important;
}

.js-webform-type-checkboxes,
.js-webform-type-radios {
    margin-block: 5px !important;
}
body .site-header__initial,
.site-header__inner,
body .fieldset__legend{
    background-color: #2a503e !important;
}
.js-webform-type-radios .fieldset__wrapper .form-type-boolean {
	margin-block: 0 !important
}
fieldset {
    border: none !important;
}
.fieldset__wrapper {
    padding-inline: 0  !important;
}
.fieldset__wrapper > fieldset .fieldset__legend .fieldset__label {
	padding-block: 9px !important;
	padding-inline-start: 9px !important;
	color: white !important;
}
.js-webform-type-checkboxes,
.fieldset__wrapper > fieldset .fieldset__legend--visible {
    background-color: #2a503e !important;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)) !important;
}
.fieldset__wrapper > fieldset .fieldset__legend--visible .fieldset__label {
     color: #000000 !important;
}
.js-webform-type-radios .fieldset__wrapper .form-type-boolean {
    margin-block-end: 5px !important;
}
.placeholder {
    background-color: inherit;
    color: black;
    cursor: auto;
    opacity: 1;
    vertical-align: top !important;
}
.messages__content .placeholder{
    color: white !important;
}
footer {
    background: linear-gradient(180deg, #2a503e 0%, #2a503e 100%) !important;
    border-inline-start: none !important;
    height: 200px;
    display: flex;
    align-items: center;
}
footer ul {
    list-style: none !important;
}
footer a{
    text-decoration: none !important;
}

footer .socials {
    display: flex;
}
footer .socials li {
    margin: 0 20px !important;
}
footer .email-icon a {
    display: flex;
}
footer .email-icon a img {
    margin-right: 10px !important;
}
.site-footer__inner {
    padding-block: 0 !important;
}
.dane-w-dwoch-kolumnach {
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: 100%;
  flex-wrap: wrap;
  column-gap: 40px;
  height: fit-content;
}

.dane-w-dwoch-kolumnach > div {
  width: calc(50% - 20px);
  box-sizing: border-box;
}

.dane-w-dwoch-kolumnach > div:nth-child(-n+4) {
  float: left;
  clear: none;
}

.dane-w-dwoch-kolumnach > div:nth-child(n+5) {
  float: right;
  clear: none;
}
.naglowek-otop {
  background-color: #2a503e;
  padding: 10px 0;
  width: 100%;
}

.logo-otop {
  display: block;
  margin-left: 0;
  padding-left: 0;
}


@media only screen and (max-width: 969px){
    footer {
        height: 300px;
    }
    footer .footer-menu .row {
        flex-direction: column;
    }
    footer .footer-menu .row .col-sm-4 {
        margin: 15px 0;
        padding-left: 0;
    }
    footer .footer-menu .row .col-sm-4 ul {
        margin-left: 0;
    }
    footer .footer-menu .row .col-sm-4 ul li {
        margin-bottom: 8px !important;
    }
    footer .footer-menu .row .col-sm-4 ul li:last-child {
        margin-bottom: 0 !important;
    }
    footer .socials li {
        margin: 0 10px !important;
    }
    footer .socials li:first-child {
        margin-left: 0 !important;
    }
    footer .socials li:last-child {
        margin-right: 0 !important;
    }
    .social {
        margin-left: 0;
    }
    .text-end {
        text-align: left !important;
    }
}

table {
	border-collapse: collapse;
}
table td::before {
	display: none;
	font-weight: bold;
	padding: 5px;
	position: relative;
	text-transform: uppercase;
	float: left;
	clear: both;
	text-align: left;
	width: 100%;
}
@media (max-width: 800px) {	
	table thead {
		left: -9999px;
		position: absolute;
		visibility: hidden;
	}
	table tr {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		margin-bottom: 0;
		border-bottom: 2px solid;
	}
	table tr::last-child {
	    border-bottom: 1px;
	}
	table td {
		border: 1px solid;
		margin: 0 -1px -1px 0;
		padding-top: 35px;
		position: relative;
		width: 100%;
		text-align: right;
	}
	table td::before {
	    content: attr(data-label);
		display: block;
	}

}
.webform-submission-form #wf-crm-billing-items caption,
.webform-submission-form #wf-crm-billing-items .line-item {
    opacity: 0;
    height: 0 !important;
}
.webform-submission-form #wf-crm-billing-items {
    width: 100%;
}
.webform-submission-form #wf-crm-billing-items #wf-crm-billing-total {
    background-color: #d4dcd8;
    padding: 10px;
}

.webform-submission-form #wf-crm-billing-items #wf-crm-billing-total td:first-child {
    text-align: right;
    width: 220px;
    padding-right: 25px;
    font-size: 0 !important;
}
.webform-submission-form #wf-crm-billing-items #wf-crm-billing-total td:first-child::before {
    content: "Opłata za członkostwo";
    display: block;
    font-size: 1.125rem !important;
    text-transform: none !important;
}
.webform-submission-form #wf-crm-billing-items #wf-crm-billing-total td:last-child {
    text-align: left;
}
.webform-button--previous,
.webform-button--submit  {
    border: 1px solid #2a503e !important;
    background-color: #2a503e !important;
    color: white !important;
}
.form-actions {
    display: flex;
    justify-content: space-between;
}
.page-civicrm-payu-summary-single .page-title {
    display: none;
}
.page-civicrm-payu .crm-container h3 {
    background-color: transparent;
}