/**
Theme Name: KKappka
Version: 2.0.0
Author: Institut pro podporu inovativního vzdělávání
Author URI: http://inovativnivzdelavani.cz/
Description: Veškerý design pro KKappku.
**/

body, html {
	/* font-family: "Helvetica", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif; */
	font-family: 'Roboto', sans-serif;
	margin: 0;
	padding: 0;
	height: 100%;
	background: white;
}

body {
	display: flex;
	flex-direction: column;
}

main {
	flex-grow: 1;
}

h1, h2, h3 {
	font-family: 'Rubik', sans-serif;
}

.header-inner {
	max-width: 1550px;
	width: calc(100% - (2 * 16px));
	margin: 0 auto;
	padding: 24px 16px;
}

.header-header {
	display: flex;
	justify-content: flex-end;
	padding-bottom: 16px;
}

.header-header__item {
	font-weight: bold;
}

.header-header__item:not(:last-child) {
	margin-right: 32px;
}

.header-header__link {
	color: #234864;
	text-decoration: none;
	transition: .25s;
}

.header-header__link:hover {
	text-decoration: none;
	color: #fe8501;
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-logo {
	display: block;
	height: 65px;
}

.header-logo .custom-logo {
	height: 100%;
}

.header-navigation-wrapper {
	flex: 1;
}

.screen-reader-text {
	display: none;
}

.main-page__heading-1 {
	color: #234864;
	text-transform: uppercase;
	margin: 0;
	padding: 0 16px;
	margin-bottom: 8px;
	font-size: 24px;
	text-align: center;
}

#site-footer {
	background-color: #234864;
	color: white;
	margin-top: 32px;
}

@media only screen and (min-width: 360px) {
	.main-page__heading-1 {
		font-size: 28px;
		margin-bottom: 16px;
	}
}

@media only screen and (min-width: 512px) {
	.main-page__heading-1 {
		padding: 0 32px;
		text-align: left;
	}

	.week {
		padding: 0 32px;
	}
}

@media only screen and (min-width: 768px) {
	.main-page__heading-1 {
		margin-top: 48px;
	}

	#site-footer {
		margin-top: 48px;
	}
}

@media only screen and (min-width: 1024px) {
	.week {
		margin: 0 auto;
		max-width: 1024px;
	}

	.week:not(:last-child) {
		margin-bottom: 64px;
	}

	.main-page__heading-1 {
		display: block;
		margin: 48px auto 16px;
		max-width: 1024px;
	}

	#site-header .header-inner {
		display: flex;
		flex-direction: column;
	}

	#site-footer {
		margin-top: 64px;
	}

	a {
		text-decoration: none;
	}
}

select {
	display: block;
	width: 100%;
	width: calc(100% - 16px);
	margin: 0 auto;
	padding: 16px;
	/* margin: 0 8px; */
}

@media only screen and (min-width: 1550px) {
	.week {
		margin: 0 auto;
		max-width: 1550px;
	}

	.week:not(:last-child) {
		margin-bottom: 64px;
	}

	.main-page__heading-1 {
		max-width: 1550px;
	}
}


.footer *,
.footer *::before,
.footer *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.footer {}

.footer__inner-wrapper {
	margin: 0 auto;
	display: grid;
	grid-template-rows: repeat(4, max-content);

	max-width: 1550px;
	padding: 32px 16px;
	grid-gap: 40px 32px;
}

.footer__column {
	text-align: center;
}

.footer__column--payment {
	grid-row: -1 / -2;
}

.footer__logo {
	width: 100%;
	max-width: 150px;
}

.footer__txt {
	font-size: 18px;
	color: #c4c4c4;
	font-weight: bold;
	line-height: 100%;
}

.footer__txt:not(:last-child) {
	margin-bottom: 18px;
}

.footer__link {
	color: inherit;
	text-decoration: none;
}

.footer__link:hover {
	text-decoration: underline;
}

.footer__bottom {
	background-color: rgba(0, 0, 0, .32);
	padding: 15px 0 5px;
}

.footer__accepted-payment-img {
	height: 32px;
	margin-bottom: 8px;
}

.footer__accepted-payment-img:not(:last-child) {
	margin-right: 8px;
}

@media screen and (min-width: 384px) {
	.header-inner {
		width: calc(100% - (2 * 24px));
		padding: 32px 24px;
	}
}

@media screen and (min-width: 512px) {
	.footer__inner-wrapper {
		padding: 32px;
	}

	.header-inner {
		padding: 32px;
		width: calc(100% - (2 * 32px));
	}

	.header-navigation-wrapper {
		flex: initial;
	}

	.header-header {
		padding-bottom: 0;
	}

	.header-logo {
		height: 60px;
	}
}

@media screen and (min-width: 600px) {
	.header-logo {
		height: 70px;
	}
}

@media screen and (min-width: 800px) {
	.footer__inner-wrapper {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, max-content);
	}

	.footer__column--logo {
		grid-row: -2 / -3;
		grid-column: 1 / -1;
	}

	.footer__column--payment {
		grid-column: 1 / -1;
	}
}

@media screen and (min-width: 1140px) {
	.footer__inner-wrapper {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(1, max-content);
	}

	.footer__column {
		text-align: left;
	}

	.footer__column--logo {
		grid-column: initial;
		grid-row: initial;
	}

	.footer__column--payment {
		text-align: center;
	}
}

.nowrap {
	white-space: nowrap;
}
