/*
 Theme Name:   FSv ČVUT
 Description:  FSv ČVUT - UI by @NAK
 Author:       @NAK
 Version:      1.0.0
 License:      Commercial
 Text Domain:  fsv
*/

/** OBSAH
 *  0 - VARIABLES
 * 	1 - TYPOGRAPHY
 * 	2 - FLEXBOX GRID
 * 	3 - GENERAL PARTS
 * 	4 - TEMPLATE PARTS
 * 	5 - MEDIA
 */

/* 0 - VARIABLES */

:root {
	/* Hlavni barvy */
    --primary: #A2AD00;
    --secondary: #0157B1;
    --tertiary: #2B2C35;
	--white: #FFFFFF;
	--warning: #AD0000;	
	/* Typografie */
    --heading: #111111;
    --text: #777777;	
	/* Dekorace */
    --background: #F8F8F8;
	--border-light: #F2F2F5;
	--border-dark: #D1D1D1;	
	/* Efekty */
	--shadow: 0px 5px 10px 0px #00000014;
	--overlay: linear-gradient(180deg, #0C152769 0%, transparent 44%), linear-gradient(0deg, #0003, #0003);	
}
::selection {
    background: var(--primary);
}
:focus, :focus-within {
	outline-color: var(--primary);
}

/* HTML */
html {
	-webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;	
}
html #wpadminbar {
	position: fixed!important;
}

/* 1 - TYPOGRAPHY */

/* Barlow */
@font-face {
    font-family: Barlow;
    font-weight: 400;
	font-display: swap;
    src: url(assets/fonts/Barlow/Barlow-Regular.ttf) format("truetype");  
}
@font-face {
    font-family: Barlow;
    font-weight: 500;
	font-display: swap;
    src: url(assets/fonts/Barlow/Barlow-Medium.ttf) format("truetype");  
}
@font-face {
    font-family: Barlow;
    font-weight: 700;
	font-display: swap;
    src: url(assets/fonts/Barlow/Barlow-Bold.ttf) format("truetype");  
}

/* Text */
body {
    margin: 0;
    font-family: Barlow, sans-serif;
	font-size: 16px;
    line-height: 24px;
    font-weight: 400;
	color: var(--text);
}
input, textarea, select, button {
	font-family: Barlow, sans-serif;
}
h1, h2, h3, h4, h5, h6, figcaption {
	margin-top: 0;
    font-weight: 400;
	color: var(--heading);
}
h1 {
    margin-bottom: 20px;
	font-size: 32px;
	line-height: 38px;
}
.bg-dark h1 {
	margin-bottom: 24px;
    font-size: 48px;
    line-height: 54px;	
}
h2 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 36px;
}
h3 {
	margin-bottom: 18px;
	font-size: 24px;
	line-height: 32px;	
}
h4 {
	margin-bottom: 14px;
	font-size: 20px;
	line-height: 28px;
}
h5, figcaption {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 24px;
}
h6 {
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 22px;
}
p {
	margin: 0;
}
b {
	font-weight: 400;
	color: var(--heading);
}
strong {
	font-weight: 700;
}
small {
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
}
a {
	text-decoration: none;
	color: inherit;
}

/* Label */
label {
	margin-bottom: 8px;
	display: inline-block;
	font-weight: 500;
	color: var(--heading);
}

/* Button */
button {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	padding: 0;
	background-color: transparent;
	background-clip: padding-box;
	border: none;
	cursor: pointer;
}

/* Fieldset */
fieldset {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	border: none;
}

/* Input */
input, textarea, select {
	width: calc(100% - 48px);
	margin-bottom: 24px;
	padding: 12px 24px;
	background-clip: padding-box;
	border: 1px solid var(--border-dark);
	border-radius: 0;
}
input[type="checkbox"], input[type="radio"] {
	width: auto;
	accent-color: var(--primary);
}
input[type="checkbox"] {
	border-radius: 0;
}
input[type="radio"] {
	border-radius: 100%;
}

/* Select */
select, option {
	border-radius: 0;
}
option:selected, option:hover {
	background-color: var(--primary);
}

/* Btn */
.btn, input[type="button"], input[type="submit"], .openid-connect-login-button a {
	width: auto;
	min-width: 109px;
	margin-bottom: 0;
	padding: 12px 24px;
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-align: center;
	-webkit-appearance: none;
	background-color: var(--primary);
	color: var(--white);
	border: 1px solid var(--primary);
	border-radius: 0;
	transition: background-color 0.2s linear, color 0.2s linear;
	cursor: pointer;
}
.btn:hover, .openid-connect-login-button a:hover {
	background-color: var(--white);
	color: var(--primary);
}

/* Symbols */
.check, .cross {
	width: 16px;
	height: 16px;
	display: block;
}
.check path {
	stroke: var(--primary);
}
.cross path {
	stroke: var(--warning);
}

/* hr */
hr {
	margin: 2px 0;
	padding: 0;
	border: none;
	border-top: 1px solid var(--border-light);
}

/* 2 - FLEXBOX GRID */

/* Section */
main {
	overflow: hidden;
}
main > section {
	padding-top: 40px;
	padding-bottom: 20px;
	position: relative;
	z-index: 1;
}
main > section:after {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.9;
	background-color: inherit;
	pointer-events: none;
	z-index: 1;
}
main > section > * {
	position: relative;
	z-index: 2;
}
main > section:not(.bg-dark) + section:not(.bg-dark) {
	border-top: 1px solid var(--border-light);
}
header + main > section:nth-child(1) {
	padding-top: 200px;
}

/* Dark */
.bg-dark {
	color: var(--white);
}
.bg-dark .nadpis > * {
	text-transform: uppercase;
	color: var(--white);
}
.bg-dark .nadpis > h2, .bg-dark .nadpis > h3 {
	font-weight: 400;	
}
.bg-dark .tlacitka .btn {
	font-weight: 500;
	letter-spacing: 0;
	background-color: var(--white);
	color: var(--heading);
	border-color: var(--white);
}

/* Image */
.bg-image {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.bg-image > .grid {
	min-height: 334px;
}

/* Overlay */
.bg-image:not(.bg-color):before {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--overlay);
	pointer-events: none;
	z-index: 1;
}

/* Layout */
.layout {
	position: relative;
	z-index: 2;
}
.layout > * > div + div {
	margin-top: 20px;
}
.layout > * > div.nadpis + div {
	margin-top: 8px;
}
.layout-3, .layout-4 {
	align-items: center;
}

/* Grid */
.grid, .login {
	width: calc(100% - 40px);
	max-width: 1114px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.full {
	width: 100%;
	max-width: 100vw;
	padding: 0;
	overflow: hidden;
}

/* Flexbox */
.flex-col {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

/* Columns small */
.col-grid {
	margin-left: -12px;
	margin-right: -12px;
}
.col-grid > * {
	width: calc(100% - 24px);
	margin-bottom: 24px;
	margin-left: 12px;
	margin-right: 12px;
}

/* Columns large */
.col-gap {
	margin-left: -20px;
	margin-right: -20px;
}
.col-gap > * {
	width: calc(100% - 40px);
	margin-bottom: 20px;
	margin-left: 20px;
	margin-right: 20px;
}

/* 3 - GENERAL PARTS */

/* Tag */
.tag {
	min-width: 20px;
	margin-left: 8px;
	padding: 4px 8px;
	display: inline-block;
	font-size: 12px;
	line-height: 14px;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
	background-color: var(--primary);
	color: var(--white);
	border-radius: 30px;
}
.tag + .tag {
	margin-left: 4px;
}

/* Menu */
.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu svg {
	width: 24px;
	min-width: 24px;
	height: 24px;
	margin-right: 16px;
	display: block;
	object-fit: contain;
	stroke: var(--primary);
}
.menu li.menu-item-has-children {
	position: relative;
}
.menu > li.menu-item-has-children:after {
	content: "";
	width: 8px;
	height: 8px;
	display: block;
	position: absolute;
	top: 26px;
	right: 32px;
	border-width: 1.5px 1.5px 0 0;
	border-style: solid;
	transform: rotate(135deg);
	transition: border-color 0.3s linear;
}
.menu > li.menu-item-has-children:hover:after {
	top: 32px;
	transform: rotate(315deg);
}
.menu a {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	transition: color 0.3s linear;
}
.menu li:hover > a {
	color: var(--primary);
}
.sub-menu {
    width: 100%;
	margin-top: 40px;
	position: relative;
	list-style: none;
	transition: height 0.3s linear;
	z-index: 3;
}
.sub-menu ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	list-style: none;
}
.sub-menu li {
	width: calc(50% - 12px);
	margin-bottom: 12px;
}
.sub-menu a {
	align-items: flex-start;
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
}
.sub-menu small {
	display: none;
}

/* GDPR */
.gdpr {
	padding: 30px 0;
	background-color: var(--primary);
}
.gdpr .menu {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.gdpr .menu a {
	margin: 0 6px;
	display: block;
	text-decoration: underline;
	opacity: 0.7;
}

/* Lightbox */
.modal {
	width: 100%;
	height: 100%;
	position: fixed;
    top: 0;
    left: 0;
    background-color: var(--tertiary);
	cursor: pointer;
    z-index: 9999;
}
.modal img {
	width: auto;
	max-width: 100vw;
	height: 100%;
	max-height: 100vh;
	object-fit: contain;
}
.modal .flex-col {
	height: 100%;
	justify-content: center;
	align-items: center;
}
.modal nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.modal button {
	width: 42px;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	cursor: pointer;
}
.modal button#lightbox-close {
	position: absolute;
	top: 0;
	right: 0;
}
.logged-in .modal button#lightbox-close {
	top: 32px;
}

/* Login */
.login {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.login h1 {
	margin-bottom: 15px;
}
.login .notice {
	margin-bottom: 16px;
}
.login #backtoblog {
	display: none;
}
.login #nav {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-light);
}
.login .wp-pwd {
	position: relative;
}
.login .wp-hide-pw {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 34px;
	right: 12px;
}
.login .wp-hide-pw, .login .wp-pwd .dashicons {
	width: 22px;
	height: 22px;
	display: block;
	background-color: transparent;
	background-size: contain;
	border: none;
	opacity: 0.5;
	cursor: pointer;
}
.login .dashicons-visibility {
	background-image: url(./assets/feather/eye.svg);
}
.login .dashicons-hidden {
	background-image: url(./assets/feather/eye-off.svg);
}
.login .openid-connect-login-button {
	margin-bottom: 20px;
    padding-bottom: 20px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	border-bottom: 1px solid var(--border-light);
}

/* Logo */
.logo {
	display: inline-block;
	line-height: 0;
}
.logo img {
	width: auto;
}

/* Icon */
.icon {
	width: 19px;
	height: 19px;
	margin-right: 12px;
	line-height: 0;
	object-fit: contain;
}

/* Socials */
.socials a {
	margin-right: 10px;
	padding-bottom: 4px;
	align-items: center;
	font-weight: 500;
}

/* Strankovani */
.nav-links {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.nav-links > * {
	width: 25px;
	height: 25px;
	margin: 0 5px;
	background-color: var(--background);
	color: var(--heading);
    border-bottom: 1px solid var(--border-light);
}
.nav-links > .current {
	background-color: var(--tertiary);
	color: var(--white);
}
.nav-links > *:hover {
	background-color: var(--primary);
	color: var(--white);	
}

/* Drobeckovka */
.breadcrumb {
	padding: 14px 0;
	background-color: var(--background);
	border-bottom: 1px solid var(--border-light);
}
header + .breadcrumb {
	padding-top: 137px;
}
.breadcrumb a {
	margin-right: 8px;
	color: var(--heading);
}
.breadcrumb svg {
	margin-right: 8px;
	display: block;
}
.breadcrumb nav {
	max-width: 1728px;
	font-size: 14px;
	line-height: 20px;
}
.breadcrumb .flex-row {
	align-items: center;
}

/* Tabulka */
table {
	width: 100%;
	background-color: var(--white);
	border: 1px solid var(--border-light);
	border-collapse: separate;
	border-radius: 4px;
	border-spacing: 0;
}
table a {
	display: block;
}
table a.btn, table a[target="_blank"] {
	padding: 3px 12px;
	display: inline;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	color: var(--primary);
	border: 1px solid var(--primary);
	border-radius: 2px;
	transition: color 0.25s linear, border-color 0.25s linear;
}
table a.btn:hover, table a[target="_blank"]:hover {
	color: var(--heading);
	border-color: var(--heading);
}
table tr th {
	padding: 12px;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	background-color: var(--background);
	color: var(--heading);
	border: none;
}
table tr td {
	padding: 12px;
	font-size: 14px;
	text-align: left;
	color: var(--heading);
	border-top: 1px solid var(--border-light);
}

/* Header */
header {
	width: 100%;
	position: fixed;
	background-color: var(--white);
	border-bottom: 1px solid var(--border-light);
	z-index: 4;
}
header button {
	width: 25px;
	height: 25px;
	margin-left: 20px;
}
header .grid {
	max-width: 1728px;
}
header .grid > .flex-col {
	align-items: flex-end;
}
header .flex-row {
	justify-content: space-between;
	align-items: center;	
}
header .logo {
	padding: 20px 0;
}
header .logo img {
	height: 50px;
}
header .menu.opened {
	right: 0;
}
header .menu > li {
	padding: 18px 0 30px;
}
header .menu > li > a {
	padding: 0 16px;
	font-size: 20px;
	line-height: 30px;
	text-transform: uppercase;
	color: var(--heading);
}
header .header-user {
	padding: 4px 20px 0;
	font-weight: 500;
	text-transform: uppercase;
}
header .socials {
	display: flex;
	flex-direction: row;
	font-size: 0;	
}
@media (max-width: 767px) {
	header .header-user {
		width: calc(100% - 40px);
		position: fixed;
		top: 91px;
		left: 0;
		background-color: var(--white);
		z-index: 7;
	}
	.admin-bar header .header-user {
		top: 137px;
	}	
}
@media (max-width: 1365px) {
	header .menu {
		width: 100%;
		height: calc(100vh - 48px);
		padding: 24px 0;
		position: absolute;
		top: 0;
		right: -100%;
		background-color: var(--white);
		overflow: auto;
		transition: right 0.3s linear;
		z-index: 9;
	}
}

/* Footer */
footer {
	padding-top: 20px; 
	position: relative;
	border-top: 1px solid var(--border-dark);
}
footer :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
}
footer p {
	max-width: 300px;
	color: var(--heading);
}
footer .logo {
	margin-bottom: 20px;
}
footer .logo img {
	height: 63px;
}
footer .menu a {
	margin-bottom: 8px;
	font-weight: 500;
}
@media (max-width: 1023px) {
	footer:after {
		content: "";
		width: 100%;
		height: 0;
		position: absolute;
		top: 103px;
		left: 0;
		border-top: 1px solid var(--border-dark);		
	}
}

/* 4 - TEMPLATE PARTS */

/* Align */
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}

/* Archiv */
.archive h2 {
	color: var(--primary);
}

/* Banner */
.banner {
	line-height: 0;
}
.banner img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	object-position: center;
}

/* Box */
.box > * {
	height: calc(100% - 48px);
	padding: 24px 28px;
	justify-content: space-between;
	align-items: flex-start;
	text-align: left;
	background-color: var(--white);
	border: 1px solid var(--border-dark);
	box-shadow: var(--shadow);
	transition: border-color 0.2s linear, transform 0.2s linear;
}
.box:hover > * {
	border-color: var(--primary);
	transform: translate(0, -2px);
}
.profil .box > * {
	justify-content: flex-start;
}
.box h5, .box figcaption {
	text-transform: uppercase;
}
.box img {
	width: 100%;
	height: 194px;
	margin-bottom: 12px;
	display: block;
	object-fit: cover;
}
.box * + .nadpis {
	margin-top: 8px;
}
.box span {
	margin-bottom: 4px;
	display: inline-block;
}
.box .link {
	margin-top: 20px;
}

/* Facebook */
.facebook * {
	max-width: calc(100vw - 40px);
}
.facebook iframe {
	background-color: var(--white);
	border-radius: 4px;
}

/* Formular */
.center .formular {
	max-width: 770px;
    margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/* Galerie */
.galerie ul {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

/* Item */
.item {
	flex-wrap: nowrap;
	text-align: left;
}
.item h6 {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	font-weight: 500;
	transition: color 0.25s linear;
}
.item:hover h6 {
	color: var(--primary);
}
.item img {
	width: 104px;
	min-width: 104px;
	height: 64px;
	margin-right: 16px;
	object-fit: cover;
	border-radius: 2.5px;
}

/* Link */
.link {
	font-weight: 700;
	color: var(--primary);
	align-items: center;
	cursor: pointer;
}
.link + .link {
	margin-top: 12px;
}
.link svg {
	margin-right: 12px;
}

/* Nadpis */
.nadpis :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 700;
}
.nadpis strong {
	color: var(--primary);
}

/* Plán */
.plan {
	text-align: left;
}
.plan .sekce {
	margin-top: 16px;
	flex-wrap: nowrap;
	position: relative;
	z-index: 1;
}
.plan .sekce:after {
	content: "";
	width: 0;
	height: 100%;
	display: block;
	position: absolute;
	top: 52px;
	left: 26px;
	border-left: 1px solid var(--border-light);
	z-index: 1;
}
.plan .sekce:last-child:after {
	display: none;
}
.plan .cislo {
	width: 52px;
	min-width: 52px;
	height: 52px;
	margin-right: 20px;
	justify-content: center;
	align-items: center;
	position: relative;
	font-weight: 700;
	background-color: var(--background);
	color: var(--primary);
	border: 1px solid var(--border-light);
	border-radius: 2.5px;
	z-index: 3;
}

/* Podklady */
.podklady h2 {
	padding-bottom: 20px;
	color: var(--primary);
}

/* Profil */
.profil img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: var(--shadow);
}
.profil .placeholder {
	justify-content: center;
	align-items: center;
	background-color: var(--background);
	aspect-ratio: 1 / 1;
}
.profil .placeholder svg {
	width: 54px;
	height: 54px;
	stroke: var(--heading);
}
.profil .odkazy,
.prehled .odkazy {
	margin-bottom: 20px;
	color: var(--primary);
}
.profil .flex-row,
.prehled .flex-row {
	justify-content: center;
}
.profil .clen {
	margin-bottom: 20px;
	justify-content: flex-start;
	align-items: center;
}
.prehled .box > * {
	justify-content: flex-start;
}

/* Profil - karty */
.profil.karty span {
	font-weight: bold;
}
.profil.karty .obrazek {
	width: 100%;
	margin-bottom: 16px;
	display: inline-block;
}
.left .profil.karty > .flex-row {
	justify-content: flex-start;
}
.center .profil.karty > .flex-row {
	justify-content: center;
}
.right .profil.karty > .flex-row {
	justify-content: flex-end;
}

/* Profil - seznam */
.profil.seznam .placeholder,
.profil.seznam img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 100%;
}
.single .profil.seznam .placeholder,
.single .profil.seznam img {
	margin-left: auto;
    margin-right: auto;	
}
.profil.seznam .clen img {
	margin-right: 16px;
}

/* Profil - tabulka */
.profil.tabulka .clen {
	justify-content: space-between;
}
.profil.tabulka .clen > * {
	width: 25%;
}

/* Text */
.text + .text, .text p + p, .text li + li  {
	margin-top: 16px;
}
.text ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 30px;
}
.center .text {
	max-width: 770px;
    margin-left: auto;
	margin-right: auto;
}

/* Tlacitka */
.left .btn {
	margin-right: 12px;
}
.center .btn {
	margin-left: 6px;
	margin-right: 6px;
}
.right .btn {
	margin-left: 12px;
}

/* Vyhledavani */
.vyhledavani {
	width: 100%;
	max-width: 300px;
	height: calc(100vh - 48px);
 	padding: 24px 28px;
	position: fixed;
	top: 0;
	right: -100%;
	background-color: var(--white);
    border-left: 1px solid var(--border-dark);
    box-shadow: var(--shadow);
	overflow: auto;
	transition: right 0.3s linear;
	z-index: 7;
}
.vyhledavani.opened {
	right: 0;
}
.vyhledavani > .flex-row {
	margin-bottom: 20px;
	padding-bottom: 20px;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-light);
}
.searchform fieldset label {
	text-align: left;
    background-color: var(--white);
    border: 1px solid var(--border-dark);
	box-sizing: border-box;
	cursor: pointer;
}
.searchform fieldset label:has(input[type="checkbox"]:checked) {
	background-color: var(--primary);
	color: var(--white);
}
.searchform fieldset label span {
	margin: 12px;
	display: inline-block;
}
.searchform fieldset input {
	width: 24px;
	height: 24px;
	margin: 12px;
	float: right;
}

/* Vysledky */
.vysledky .box h3 {
	width: 100%;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border-light);
}
.vysledky .box .flex-row {
	width: 100%;
	justify-content: space-between;
}
.vysledky .box .tag {
	align-self: flex-end;
}
.vysledky .box .btn {
	margin-left: 12px;
}

/* 5 - MEDIA */

@media (min-width: 768px) {
	h1 {
		margin-bottom: 24px;
		font-size: 38px;
		line-height: 44px;
	}
	.bg-dark h1 {
		margin-bottom: 30px;
		font-size: 48px;
		line-height: 54px;		
	}
	main > section {
		padding-top: 60px;
		padding-bottom: 40px;
	}
	.presah > .grid {
		margin-top: -150px;
	}
	.col-gap > .col-1 .col-grid > .col-3,
	.col-gap > .col-1 .col-grid > .col-4 {
		width: calc(50% - 24px);
	}
 	.col-gap > .col-4 {
		width: calc(50% - 40px);
	}
	.layout-3 > * {
		width: calc(50% - 40px);
	}
	.sub-menu > ul > li > a {
		margin-bottom: 24px;
		font-size: 18px;
	}
	.sub-menu small {
		margin-top: 8px;
		display: inline-block;
		opacity: 0.8;
		font-weight: 400;
	}
	header + .breadcrumb {
		padding-top: 142px;
	}
	header .logo {
		padding: 16px 0;
	}
	header .logo img {
		height: 80px;
	}
	footer .logo img {
		height: 70px;
	}
	header .header-user {
		margin-bottom: 10px;
		padding: 0 0 8px;
		border-bottom: 1px solid var(--border-dark);
	}
	footer {
		padding-top: 40px;
	}
	.banner img {
		height: 376px;
	}
}

@media (min-width: 1024px) {
	.col-gap > .col-1 .col-grid > .col-3 {
		width: calc(33.33% - 24px);
	}
	.col-gap > .col-1 .col-grid > .col-4 {
		width: calc(25% - 24px);
	}
	.col-gap > .col-1 .col-grid > .col-5 {
		width: calc(20% - 24px);
	}
	.col-gap > .col-2 .col-grid > .col-4 {
		width: calc(25% - 24px);
	}
	.col-gap > .col-2 {
		width: calc(50% - 40px);
	}
	.col-gap > .col-4 {
		width: calc(25% - 40px);
	}
	.layout-3 > .col-1, .layout-4 > .col-1 {
		width: calc(60% - 40px);
	}
	.layout-3 > .col-3, .layout-4 > .col-3 {
		width: calc(40% - 40px);
	}
	.sub-menu > ul > li {
		width: calc(33.33% - 12px);
	}
	.login {
		align-items: flex-end;
	}
	.login:before, .login:after {
		content: "";
		width: calc(50% - 40px);
		height: 100%;
		display: block;
		position: absolute;
		top: 0;
		left: 0;		
	}
	.login:before {
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.login:after {
		opacity: 0.9;
		pointer-events: none;
		z-index: 1;
	}
	.login h1, #login {
		width: calc(50% - 40px);
	}
}

@media (min-width: 1360px) {
	h1 {
		font-size: 48px;
		line-height: 54px;
	}
	.bg-dark h1 {
	    font-size: 60px;
	    line-height: 66px;
	}
	main > section {
		padding-top: 80px;
		padding-bottom: 60px;
	}
	.layout > * > div + div {
		margin-top: 32px;
	}
	.layout > * > div.nadpis + div {
		margin-top: 16px;
	}
	.col-grid > * {
		margin-bottom: 32px;
	}
	#burger {
		display: none;
	}
	.menu > li.menu-item-has-children:after {
		right: 16px;
	}
	.sub-menu {
		margin-top: 0;
		padding: 52px 0 20px;
		position: fixed;
		top: 125px;
		left: 0;
		background-color: var(--tertiary);
		color: var(--white);
		box-shadow: var(--shadow);
	}
	.admin-bar .sub-menu {
		top: 155px;
	}
	.sub-menu > ul > li {
		width: calc(20% - 12px);
	}
	header .menu {
		display: flex;
		flex-direction: row;
	}
	header .menu > li.menu-item-has-children > a {
		padding-right: 35px;
	}
	.box > * {
		padding: 24px 32px;
	}
}