/*!
Theme Name: BFG (CRISIS MANAGEMENT IN THE FINANCIAL SYSTEM)
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: SzkoleniaMi.pl
Author URI: https://www.szkoleniami.pl/
Description: Konferencja Bankowego Funduszu Gwarancyjnego
Version: 1.1.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
body.page #primary {
  margin-top: 0.5em !important;
}

body.page-organizers .entry-content ul,
body.page-organizatorzy .entry-content ul {
  list-style: none;
  padding-left: 0.5em;
}
body.page-agenda .wp-block-table table td,
body.page-agenda .wp-block-table table th,
body.page-ramowy-program-konferencji .wp-block-table table td,
body.page-ramowy-program-konferencji .wp-block-table table th {
  padding: .5em !important;
  border: none !important;
}

body.page-agenda .wp-block-table table,
body.page-ramowy-program-konferencji .wp-block-table table { table-layout: fixed; }
body.page-agenda .wp-block-table table th:first-child,
body.page-agenda .wp-block-table table td:first-child,
body.page-ramowy-program-konferencji .wp-block-table table th:first-child,
body.page-ramowy-program-konferencji .wp-block-table table td:first-child { width: 10%; vertical-align: baseline; }
body.page-agenda .wp-block-table table th:first-child+th,
body.page-agenda .wp-block-table table td:first-child+td,
body.page-ramowy-program-konferencji .wp-block-table table th:first-child+th,
body.page-ramowy-program-konferencji .wp-block-table table td:first-child+td { width: 80%; }


h2.zwiekszona-szerokosc {
  padding-left: 1.7rem !important;
  margin-left: -1.5rem !important;
  margin-right: -1.5rem !important;
}
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 {
  margin-top: 1em !important;
}
@media (min-width: 1482px) {
  .wp-site-blocks .content-container .alignwide {
    margin-left: -98px !important;
    margin-right: -98px !important;
  }
}

footer .site-footer-top-section-2 .footer-widget-area {
  align-items: center;
  flex-direction: column;
}

footer .site-footer-top-section-1 .footer-widget-area .widget_text p strong,
footer .site-footer-top-section-2 .footer-widget-area .widget_text p strong,
footer .site-footer-top-section-3 .footer-widget-area .widget_text p strong {
	font-size: 18px;
}

footer .site-footer-top-section-2 .footer-widget-area .widget_text + .widget_text p,
footer .site-footer-top-section-3 .footer-widget-area .widget_text + .widget_text p,
footer .site-footer-top-section-3 .footer-widget-area .widget_text + .widget_nav_menu ul {
	font-size: 16px;
	
}

#cmplz-document {
	max-width: unset !important;
	margin-top: 4rem;
}


/* Mobile */
@media (max-width: 1024px) {
	footer .site-footer-top-section-2 .footer-widget-area {
		align-items: left;
		flex-direction: inherit;
	}
	h1 {font-size: 38px;}
	h2 {font-size: 28px;}
	.site-branding a.brand img {max-width: 90% !important}
	body.page-agenda .wp-block-table table th:first-child,
	body.page-agenda .wp-block-table table td:first-child,
	body.page-ramowy-program-konferencji .wp-block-table table th:first-child,
	body.page-ramowy-program-konferencji .wp-block-table table td:first-child {
		width: max-content;
		vertical-align: baseline;
	}
	body.page-agenda .wp-block-table table th:first-child+th,
	body.page-agenda .wp-block-table table td:first-child+td,
	body.page-ramowy-program-konferencji .wp-block-table table th:first-child+th,
	body.page-ramowy-program-konferencji .wp-block-table table td:first-child+td {
		width: min-content;
		vertical-align: baseline;
	}
	.wp-block-media-text .wp-block-media-text__content, .wp-block-media-text .wp-block-media-text__media, .wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content, .wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media {
		align-self: baseline;
	}
	
}
@media (max-width: 600px) {
	h1 {line-height: 1.1em !important;}
	.entry-content .wp-block-buttons .wp-block-button {
		width: 100%;
	}
	.entry-content .wp-block-buttons .wp-block-button__link.wp-element-button {
		width: 100%;
	}
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
	  margin-top: 3em;
	}
	form.kb-advanced-form .kb-adv-form-field.kb-submit-field .button.kb-adv-form-submit-button {
		width: 100%;
	}
	
	/* HOME */
	body.home .wp-block-kadence-column.kadence-column8_a8456a-87 {
		margin-left: 1em;
		margin-right: 1em;
	}
	body.home .has-text-align-center.has-theme-palette-9-color.has-text-color.has-background.has-link-color.wp-elements-4f791acc05ae82b3ddda7fe010f55ec9 {
		font-size: 1.2em !important;
	}
	body.home .entry-content .kadence-column8_b03fa1-0e > .kt-inside-inner-col {
		display: block;
	}
	body.home .entry-content .kt-inside-inner-col object {
		max-width: 800px;
		/*transform: scale(0.8, 0.8);*/
		/*transform: translate(-25%,0);*/
	}
}

/* Form */
.kb-form-basic-style form.kb-advanced-form input[type="checkbox"]:checked,
.kb-form-basic-style form.kb-advanced-form input[type="radio"]:checked {
	background: #004982 !important;
	border-color: #004982 !important;
}
.kb-form-basic-style form.kb-advanced-form input[type="checkbox"],
.kb-form-basic-style form.kb-advanced-form input[type="radio"] {
	border-radius: 0 !important;
	height: 1.2em !important;
	min-width: 1.2em !important;
	width: 1.2em !important;
}
form.kb-advanced-form .kb-adv-form-help {
  border: 1px solid #ddd;
  padding: 0.5em;
  float: right;
  max-width: 75%;
  margin: 0 auto !important;
}

/* Justowanie */
@media (min-width: 1025px) {
	body.page .entry-content.single-content p.wyjustuj {text-align: justify;}
}
