@font-face {
  font-family: 'k-r';
  src: url('fonts/Kanit-Regular.ttf') format('opentype');
}

@font-face {
  font-family: 'k-bi';
  src: url('fonts/Kanit-BoldItalic.ttf') format('opentype');
}

@font-face {
  font-family: 'k-el';
  src: url('fonts/Kanit-ExtraLight.ttf') format('opentype');
}

@font-face {
  font-family: 'k-l';
  src: url('fonts/Kanit-Light.ttf') format('opentype');
}

@font-face {
  font-family: 'k-b';
  src: url('fonts/Kanit-Bold.ttf') format('opentype');
}

@font-face {
  font-family: 'k-m';
  src: url('fonts/Kanit-Medium.ttf') format('opentype');
}

:root {
  --green: #00702d;
  --blue: #326e9b;
}

* {
  box-sizing: border-box;
}

html{
	font-family: 'k-r', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #575756;
}

a{
	color: #575756;
	text-decoration: initial;
	transition: 0.3s ease;
}

b,
strong{
	font-weight: initial;
	font-family: 'k-b', sans-serif;
}

h1,
h2,
h3,
h4,
h5{
	font-weight: initial;
}

h1{
	font-size: 58px;
	margin: 0;
	padding-bottom: 20px;
	font-family: 'k-b', sans-serif;
}

.tabs.primary{
	max-width: 1550px;
	padding: 0 15px;
	margin: 15px auto 15px auto;
}

.tabs.primary li a{
	background-color: var(--green);
	padding: 10px;
	border-radius: 5px;
	display: block;
	transition: 0.3s ease;
	color: #fff;
}

.tabs.primary li a:hover{
	background-color: #035022;
}

.messages{
	max-width: 1550px;
	margin: 15px auto 15px auto;
}

.messages a{
	display: inline-block;
}

.front-wrapper{
	position: relative;
}

.field--name-field-front-obrazok img{
	position: absolute;
    width: 100%;
    min-height: 250px;
    height: 60vh;
    object-fit: cover;
    z-index: -1;
}

.body-container{
	max-width: 1430px;
	margin: auto;
	padding: 0 15px;
}

.front-header-wrapper{
	text-align: center;
}

.front-header{
	display: inline-block;
	padding: 30px 80px 0 80px;
	background-color: #5A5C62;
	border-radius: 8px;
}

.front-wrapper h1{
	font-size: 72px;
	line-height: 1.1;
	font-family: 'k-bi', sans-serif;
	text-align: center;
	color: #fff;
	max-width: max-content;
    margin: auto;
    padding-top: 40px;
}

.front-wrapper h1::after {
    content: '';
    display: block;
    height: 16px;
    border-radius: 8px;
    background-color: #000000;
    margin-top: -22px;
    width: calc(100% + 32px);
    margin-left: -16px;
}

.front-podnadpis{
	font-size: 44px;
    margin-top: 16px;
    font-family: 'k-el', sans-serif;
    color: #fff;
    text-align: center;
}

.page-node-type-front{
	background-color: #000;
}

.front-sections-wrapper{
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	padding-top: 130px;
	padding-bottom: 35px;
}

.front-section{
	width: 35%;
	padding: 32px;
	border-radius: 8px;
	text-align: center;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.front-section h2{
	margin: 0;
	font-size: 48px;
	line-height: 1.2;
	font-family: 'k-b', sans-serif;
	color: #fff;
	padding-bottom: 20px;
}

.front-section-espc{
	background-color: var(--green);
}

.front-section-lvt{
	background-color: var(--blue);
}

.front-section-katalog{
	background-color: #5a5c62;
	width: 26%;
}

.field--name-field-front-lvt-text,
.field--name-field-front-espc-text{
	color: #fff;
	font-size: 16px;
	padding-bottom: 30px;
}

.header-buy a,
.field--name-field-kat-odkaz a,
.front-section-link{
	border-radius: 8px;
	background-color: #fff;
	color: #000;
	padding: 14px 48px 14px 24px;
	display: inline-block;
	text-transform: uppercase;
	background-image: url('images/arrow-right.svg');
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 22px;
}

.front-section-link:hover{
	background-color: #EEE;
	background-position: right 15px center;
}

.field--name-field-front-katalog-obrazok{
	height: 100px;
}

.field--name-field-front-katalog-obrazok img{
	position: relative;
	top: -115px;
    max-width: 225px;
    height: auto;
    max-height: 185px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.front-katalog-text{
	color: #fff;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1.3px;
	padding-bottom: 15px;
}

.field--name-field-front-katalog-text{
	color: #fff;
	font-size: 25px;
	font-family: 'k-b', sans-serif;
	padding-bottom: 15px;
	text-transform: uppercase;
}

.front-section-link-katalog{
	border-radius: 8px;
	color: #fff;
	padding: 14px 48px 14px 24px;
	display: inline-block;
	text-transform: uppercase;
	background-image: url('images/arrow-right-white.svg');
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 22px;
	border: 2px solid #fff;
}

.front-section-link-katalog:hover{
	background-position: right 15px center;
}

.front-visual-wrapper{
	background-color: #dfe6dc;
	width: 58%;
	display: flex;
    flex-direction: row;
    gap: 15px;
}

.front-visual-wrapper img{
	max-width: 200px;
	object-fit: contain;
	border: 4px solid #fff;
}

.front-visual-right h2{
	font-size: 32px;
	color: #333;
	padding-bottom: 10px;
	text-transform: uppercase;
}

.field--name-field-front-vizualizator-text{
	color: #333;
	padding-bottom: 15px;
}

.field--name-field-kat-banner-obrazok img{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 80vh;
    width: 100%;
    object-position: center 75%;
    object-fit: cover;
}

.region-header{
	max-width: 1430px;
	margin: 60px auto;
	padding: 0 15px;
	height: 85px;
	position: relative;
	z-index: 2;
}

.field--name-field-kat-banner-obrazok::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.page-node-type-kategoria .region-header{
	background: linear-gradient(to left, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(2px);
}

.page-node-type-kategoria h1{
	font-size: 72px;
    color: #fff;
    font-family: 'k-b', sans-serif;
    max-width: 750px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    position: relative;
    z-index: 2;
    margin: 0;
    padding-bottom: 15px;
    padding-top: 50px;
}

.field--name-field-kat-podnadpis{
    color: #fff;
    font-size: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
}

.header-buy a,
.field--name-field-kat-odkaz a{
	background-color: var(--green);
	color: #fff;
	background-image: url('images/arrow-right-white.svg');
	position: relative;
	z-index: 2;
}

.header-buy a:hover,
.field--name-field-kat-odkaz a:hover{
	background-position: right 15px center;
	opacity: 0.8;
}

.main-logo{
	position: absolute;
	top: 19px;
	left: 19px;
}

.kategoria-typ-2 h1{
	color: var(--blue);
	text-align: center;
}

.kategoria-typ-1 h1{
	color: var(--green);
	text-align: center;
}

.footer-wrapper{
	background-color: #000;
	margin-top: 80px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

.footer-wrapper-in{
	max-width: 1230px;
	margin: auto;
	padding: 60px 15px;
}

.footer-top{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 25px;
}

.footer-top h2{
	color: #fff;
	font-size: 18px;
	font-family: 'k-b', sans-serif;
	margin: 0;
	padding-bottom: 15px;
}

.footer-top-section p{
	margin: 0;
	line-height: 2;
	font-size: 18px;
	color: #fff;
}

.footer-top-section a{
	display: block;
	line-height: 2;
	font-size: 18px;
	color: #fff;
	text-decoration: underline;
}

.footer-top-section:last-child a{
	text-decoration: initial;
}

.footer-top-section .menu{
	margin: 0;
}

.footer-top-section .menu li{
	padding: 0;
}

.footer-top-section .menu li a{
	display: inline-block;
}

.footer-bottom a:hover,
.footer-top-section:last-child a:hover{
	text-decoration: underline;
}

.footer-bottom{
	display: flex;
    padding-top: 80px;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    color: #999999;
}

.footer-bottom a{
	color: #999999;
}

.header-buy{
	position: absolute;
	top: 16px;
	right: 19px;
}

.lvt-buy a{
	background-color: var(--blue);
}

#block-mytheme-menulvt,
#block-mytheme-main-menu{
	position: absolute;
	top: 28px;
	right: 200px;
}

#block-mytheme-menulvt .menu,
#block-mytheme-main-menu .menu{
	display: flex;
	gap: 25px;
	margin: 0;
}

#block-mytheme-menulvt .menu li,
#block-mytheme-main-menu .menu li{
	padding: 0;
}

#block-mytheme-menulvt .menu a,
#block-mytheme-main-menu .menu a{
	font-size: 20px;
	color: #333;
	font-family: 'k-m', sans-serif;
	text-transform: uppercase;
}

.page-node-type-kategoria #block-mytheme-menulvt .menu a,
.page-node-type-kategoria #block-mytheme-main-menu .menu a{
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

.page-node-type-kategoria #block-mytheme-menulvt .menu a:hover,
.page-node-type-kategoria #block-mytheme-main-menu .menu a:hover{
    text-shadow: 2px 4px 4px rgba(0, 0, 0, .5);
}

.field--name-field-kat-na-stiahnutie{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 35px;
    text-align: center;
}

.file{
	padding: 0;
	background-image: none;
}

.field--name-field-kat-na-stiahnutie a{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 19px;
    font-family: 'k-m', sans-serif;
    color: var(--green);
    background-color: #fff;
}

.field--name-field-kat-na-stiahnutie *{
	width: 100%;
	display: block;
}

.field--name-field-kat-na-stiahnutie a:hover {
    background-color: var(--green);
    color: #fff;
    box-shadow: 4px 6px 4px #0000001a;
}

.kategoria-typ-2 .field--name-field-kat-na-stiahnutie a{
	color: var(--blue);
}

.kategoria-typ-2 .field--name-field-kat-na-stiahnutie a:hover{
	background-color: var(--blue);
	color: #fff;
}