@font-face {
    font-family: "mainFont";
    src: url('fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: "titleFont";
    src: url('fonts/Roboto-Regular.ttf');
}

:root {		
	/* Mérettől független változók */
	--category-separator-triangle-width: 56px;
	--menuLiHoverBackground: RGB(200, 200, 200);
	--mainBackgroundColor: RGB(245, 245, 245);
	/*--mainBackgroundColor: RGB(0, 68, 143);*/
	--menuBackgroundColor: RGB(255, 255, 255);
	--productInfoButtonBackgroundColor: RGB(27, 95, 157);
	--productInfoButtonBackgroundColorHover: RGB(77, 145, 207);
	--logoWidth: 100px;	
	--ulPaddingLeft: 50px;
	--bgQCblue: RGB(172, 203, 249);
	--bgQCturqoise: RGB(224, 235, 246);
	--bgQCpeach: RGB(255, 224, 204);
	--bgQCsun: RGB(255, 245, 204);
	--bgQCgrey: RGB(229, 233, 238);
	--bgQCcherry: RGB(255, 209, 194);
	--bgQCblueDark: RGB(74, 102, 172);
	--bgQCturqoiseDark: RGB(98, 157, 209);
	--bgQCpeachDark: RGB(255, 163, 102);
	--bgQCsunDark: RGB(255, 224, 102);
	--bgQCgreyDark: RGB(89, 106, 133);
	--bgQCcherryDark: RGB(153, 38, 0);
	--mainMargin: 10vw;
	--mainMarginBottom: calc(var(--fixedFooterHeight) + 60px);
	--mainFont: "mainFont";
	--titleFont: "titleFont";
	--mainBoxShadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	--hamburgerMenuBreakPoint: 1700px;
	--h1backgroundColor: RGB(1, 62, 117);
	
	/* Felbontás függő változók */
	--menuListLiDisplay: inline-block;
	--submenuPosition: absolute;
	--menuListMarginLeft: 110px;
	--menuListMarginTop: 0;
	--menuListPaddingTop: 0;
	--menuListVisibility: visible;
	--menuListHeight: auto;
	--menuTogglerZindex: -1;
	--menuLiLine-height: 7; /* Menüsor magassága */
	--menuListLiPaddingHorizontal: 25px;
	--submenuFirstOfTypeBoxShadow: 0 0 5px 0 RGBA(0, 0, 0, 0.2); /* A spread maradjon 0 px különben becsukott állapotban is lesz egy árnyékcsík a menüben! */
	--menuTogglerDisplay: none;
	--menuButtonRowPosition: absolute;
	--menuButtonRowTop: 10px;
	--menuButtonRowRight: clamp(120px, 10vw, 180px);
	--menuButtonRowWidth: auto;
	--menuButtonRowTextAlign: left;
	--menuListOverflow: visible;
	--fixedFooterHeight: 50px;
	--footerMenuItemTextDisplay: inherit;
	--menuItemMarginLeft: 0;
	
	font-family: var(--mainFont);
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	
	color: RGB(50, 50, 50);
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 1350px) {
    :root {
        --menuListLiDisplay: block;
		--submenuPosition: relative;
		--menuListMarginLeft: 0;
		--menuListMarginTop: 0;
		--menuListPaddingTop: 15px;
		--menuListVisibility: hidden;
		--menuListHeight: 112px;
		--menuTogglerZindex: 9;
		--menuLiLine-height: 2;
		--menuListLiPaddingHorizontal: 0;
		--submenuFirstOfTypeBoxShadow: 0 0 0 0;
		--menuTogglerDisplay: inline-block;
		--menuListOverflow: hidden;
		--menuItemMarginLeft: 10px;
    }
}

@media screen and (max-width: 800px) {
    :root {
		--footerMenuItemTextDisplay: none;
    }
}

@media screen and (max-width: 617px) {
    :root {
        --menuButtonRowPosition: relative;
		--menuButtonRowTop: 0;
		--menuButtonRowRight: 0;
		--menuButtonRowWidth: 100%;
	    --menuButtonRowTextAlign: center;
		--menuButtonRowMarginTop: 10px;
    }
}

html {
	margin: 0;
	padding: 0;
	font-family: var(--mainFont);
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--mainFont);
	position: relative;
}

a {
	text-decoration: none;
}

.mainFrame a {
	color: #06c;
}

table {
	border-collapse: collapse;
}

.background {
	position: fixed; /* Position it absolutely */
	top: 0; /* Align it to the top */
	left: 0; /* Align it to the left */
	width: 100%; /* Make it span the full width */
	height: 100%; /* Make it span the full height */
	background-repeat: repeat; /* Repeat the background image */
	background-size: cover; /* Cover the entire div */
	background-attachment: fixed; /* Optional: Keep the background fixed during scrolling */
	background-color: var(--mainBackgroundColor);
	z-index: -99;
	margin: 0;
}

.programChooser {
	max-width: 150px;
}

.parameterChooser {
	max-width: 150px;
}

.contextTypeHeader {
	margin-top: 10px;
	text-decoration: underline;
}

input[type=button], button:not(.quill_editor_container button), .editorTextToButton {
	position: relative;
	/*background: RGB(0, 123, 255);*/
	background: RGB(47, 115, 177);
	/*background: RGB(0, 80, 220);*/
	color: white;
	border: 0;
	border-radius: 4px;
	position: relative;
	z-index: 5;
	padding: 10px;
	padding-left: 30px;
	padding-right: 30px;
	cursor: pointer;
	margin-top: 0;	
	border: none;
	cursor: pointer;
	border-radius: 5px;
	transition: all .1s ease-in-out;
	font-size: 14px;
	font-weight: normal;
}

input[type=button]:hover, button:not(.quill_editor_container button):hover, .editorTextToButton:hover {
	text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
	z-index: 10;
}

input[type=button]:focus, button:focus, .editorTextToButton:focus {
	outline: 0;
}

.ql-editor a.editorTextToButton {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	top: 10px;
	bottom: 1em;
	margin-bottom: 1em;
}

.green_bg {
	background: linear-gradient(to bottom, #9DC462, #2F4E00) !important;
}

.bgQCblue {
	background-color: var(--bgQCblue) !important;
}

.bgQCturqoise {
	background-color: var(--bgQCturqoise) !important;
}

.bgQCpeach {
	background-color: var(--bgQCpeach) !important;
}

.bgQCsun {
	background-color: var(--bgQCsun) !important;
}

.bgQCgrey {
	background-color: var(--bgQCgrey) !important;
}

.bgQCcherry {
	background-color: var(--bgQCcherry) !important;
}

.center {
	text-align: center;
	margin: 0 auto;
	position: relative;
}

.newcontent {
	margin-top: 10px;
	margin-bottom: 10px;
}

.mainFrame {
	margin-top: calc(var(--navbar-height) + 69px);
	padding-top: 40px;
	margin-left: var(--mainMargin);
	margin-right: var(--mainMargin);	
	text-align: justify;
	font-size: clamp(12px, 1vw, 20px);
	position: relative;
	margin-bottom: var(--fixedFooterHeight);
	box-sizing: border-box;
	min-height: calc(100vh - var(--navbar-height) - var(--fixedFooterHeight) - 69px);
	height: 100%;
}

@media screen and (max-width: 900px) {
    .mainFrame { 
		margin-top: 0;
		padding-top: 0;
	}
}

.mainFrame::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--mainMargin));
    right: calc(-1 * var(--mainMargin));
    background-image: url('images/background-wave_fancy.png');
    background-repeat: repeat-y; /* Vertical repeating */
    background-position: left top;
    background-size: 100% auto; /* Full width, natural height */
    z-index: -9;
	
	background-attachment: local; /* Makes background scroll with content */
    background-blend-mode: multiply; /* Better blending with page colors */
    image-rendering: crisp-edges;
}

.contentEditorTable {
	margin-top: 20px;
}

.contentEditorTable td {
	padding: 5px;
}

.contentEditorTable th {
	text-align: center;
}

.contentEditorTable th {
	text-align: center;
}

.contentEditorTable tr td:nth-child(even) {
    text-align: left;
	width: 50%;
}

.contentEditorTable tr td:nth-child(odd) {
    text-align: right;
	width: 50%;
}

.hidden {
	display: none !important;
}

.center, table {
	text-align: center;
	margin: 0 auto;
	position: relative;
	
}

table {
	margin-top: 20px;
}

th, td {
	padding-left: 5px;
	padding-right: 5px;
}

@keyframes myfadeOut {
  0% { opacity: 1; }
  40% { opacity: 1; }
  60% { opacity: 0.9; }
  100% { opacity: 0; }
}

.fadeOut {
    animation-name: myfadeOut;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;
}

.fullscreen-div {
	--fullscreen-divPadding: 50px;
	
	position: fixed;
	top: 0;
	left: 0;
	width: calc(100% - (var(--fullscreen-divPadding) * 2));
	height: calc(100% - (var(--fullscreen-divPadding) * 2));
	display: flex;
	align-items: center;
	justify-content: left;
    background-color: rgba(255, 255, 255, 0.96); /* Semi-transparent background */	
	z-index: 98; /* Ensure it's above other elements */
	padding: var(--fullscreen-divPadding);
}

.scrollable-content {
	max-height: 100%;
	overflow-y: auto; /* Enable vertical scrolling */
	width: 100%;
}

.fullscreen_content-container {
	text-align: justify;
}

.byellow {
	background: linear-gradient(to bottom, RGB(255, 255, 20), RGB(200, 200, 20)) !important;
	color: RGBA(0, 0, 0, 0.6) !important;
}

.bgreen {
	background: linear-gradient(to bottom, #9DC462, #2F4E00) !important;
}

.red {
	color: red;
}

.editorButton {
	position: relative; 
	display: inline-block;
	margin: 0px;
	background: RGBA(200, 200, 200, 0.8);
	border-radius: 10px; 
	padding: 3px; 
	padding-left: 6px; 
	padding-right: 6px; 
	cursor: pointer; 
	font-size: 16pt;
}

.editorButton:hover {
	background: RGBA(220, 220, 220, 0.7); 
}

.editorButtonRow {
	position: absolute;
}

/* Custom CSS for custom size dropdown */
.ql-snow .ql-picker.ql-size .ql-picker-label::before {
  content: attr(data-label);
}
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: attr(data-label);
}

.ql-editor {
	font-size: 14pt !important; /* Default font size */
}

/* Map Quill's inline font sizes to li a listák miatt kell, hogy az előjel örökölje a jó méretet!!! */
.ql-editor li:has(> span[style*="font-size: 8pt"])  { font-size: 8pt; }
.ql-editor li:has(> span[style*="font-size: 9pt"])  { font-size: 9pt; }
.ql-editor li:has(> span[style*="font-size: 10pt"]) { font-size: 10pt; }
.ql-editor li:has(> span[style*="font-size: 11pt"]) { font-size: 11pt; }
.ql-editor li:has(> span[style*="font-size: 12pt"]) { font-size: 12pt; }
.ql-editor li:has(> span[style*="font-size: 13pt"]) { font-size: 13pt; }
.ql-editor li:has(> span[style*="font-size: 14pt"]) { font-size: 14pt; }
.ql-editor li:has(> span[style*="font-size: 15pt"]) { font-size: 15pt; }
.ql-editor li:has(> span[style*="font-size: 16pt"]) { font-size: 16pt; }
.ql-editor li:has(> span[style*="font-size: 17pt"]) { font-size: 17pt; }
.ql-editor li:has(> span[style*="font-size: 18pt"]) { font-size: 18pt; }
.ql-editor li:has(> span[style*="font-size: 19pt"]) { font-size: 19pt; }
.ql-editor li:has(> span[style*="font-size: 20pt"]) { font-size: 20pt; }
.ql-editor li:has(> span[style*="font-size: 21pt"]) { font-size: 21pt; }
.ql-editor li:has(> span[style*="font-size: 22pt"]) { font-size: 22pt; }
.ql-editor li:has(> span[style*="font-size: 23pt"]) { font-size: 23pt; }
.ql-editor li:has(> span[style*="font-size: 24pt"]) { font-size: 24pt; }
.ql-editor li:has(> span[style*="font-size: 25pt"]) { font-size: 25pt; }
.ql-editor li:has(> span[style*="font-size: 26pt"]) { font-size: 26pt; }
.ql-editor li:has(> span[style*="font-size: 27pt"]) { font-size: 27pt; }
.ql-editor li:has(> span[style*="font-size: 28pt"]) { font-size: 28pt; }
.ql-editor li:has(> span[style*="font-size: 29pt"]) { font-size: 29pt; }
.ql-editor li:has(> span[style*="font-size: 30pt"]) { font-size: 30pt; }
.ql-editor li:has(> span[style*="font-size: 31pt"]) { font-size: 31pt; }
.ql-editor li:has(> span[style*="font-size: 32pt"]) { font-size: 32pt; }


.ql-editor li::before {
	font-size: 1em !important;
	line-height: inherit !important;
}

.ql-toolbar {
	position: sticky;
	top: var(--navbar-height);
	left: 0;
	width: 100%;
	background-color: var(--menuBackgroundColor);
	z-index: 9;
}

.scrollable-content .ql-toolbar {
	top: 0;
}

.ql-tooltip {
	position: relative;
	z-index: 10 !important;
}

[class*="ql-picker"] {
    position: relative;
    z-index: 11 !important;
}

.ql-editor .editorTextToButton.ql-align-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

input[type="text"][data-formula="e=mc^2"] {
	min-width: 300px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
	text-align: center;
}

.basic-card {
	background-color: RGB(255, 255, 255);
	box-shadow: var(--mainBoxShadow);
	border-radius: 8px;
	position: relative;
	z-index: 1
}

.product-card {
    --product-card_width: 425px;
	min-height: 500px;		
    border-radius: 8px;    
    padding: 20px;
    width: var(--product-card_width);
    text-align: center;
	/*margin: 10px;*/
	box-sizing: border-box;
	position: relative;	
	text-align: center;
}

.product-name {
    font-size: 24px;
    margin-bottom: 15px;
	min-height: 100px;		
}

.button-group {
    display: block;
	position: relative;
	/*position: absolute;*/ /*Ha lentre akarjuk rendezni a gombokat*/
	bottom: 10px;
	width: calc(var(--product-card_width) * 0.825);
	text-align: center;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
}

.product-card .button-group .productInfoButton {
    position: relative;
	display: block;
	background: var(--productInfoButtonBackgroundColor);	
    color: RGBA(255, 255, 255, 1);
    border: none;
    padding: 15px;	
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
	margin: 10px;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	box-shadow: 0 0 0;
	font-size: 16px;
	letter-spacing: 0.1em;	
	font-family: var(--mainFont);
	font-weight: 500;
}

.product-card .button-group .productInfoButton:hover {
    background: var(--productInfoButtonBackgroundColorHover);
}

h1 {
	margin: 0;
	padding: 12px;
    font-size: 36px;
    text-align: center;
    color: RGB(255, 255, 255);
	font-family: var(--titleFont);
	background-color: var(--h1backgroundColor);
	margin-left: calc(var(--mainMargin) * -1);
	margin-right: calc(var(--mainMargin) * -1);
	border: 1px solid RGBA(0, 0, 0, 0.5);
	font-weight: 500;
	position: fixed;
	top: var(--navbar-height);
	width: 100%;
	z-index: 8;
	box-sizing: border-box;
}

@media screen and (max-width: 900px) {
    h1 {
		position: relative;
		top: 0;
		margin-left: calc(var(--mainMargin) * -2);
		margin-right: calc(var(--mainMargin) * -2);
		overflow-x: visible;
		width: calc(100% + calc(var(--mainMargin) * 2));		
    }
}

.category-separator {    
	--category-separator-background: RGBA(82, 137, 201, 1);
	--category-separator-background-linear-end: RGBA(82, 137, 201, 1);
	
	background: linear-gradient(to right, var(--category-separator-background), var(--category-separator-background-linear-end));
    color: RGB(255, 255, 255, 1);
    padding: 10px;
	margin-top: 15px;
	margin-bottom: 15px;
    text-align: left;
    font-size: 24px;
    border-radius: 5px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	position: relative;
	width: 51%;
	clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}

@media screen and (max-width: 768px) {
    .category-separator { 
		width: 75%;
	}
}

@media screen and (max-width: 600px) {
    .eventCardContainer .category-separator { 
		width: 95%;
	}
}

.content .category-separator {
	padding: 0px;
	padding-left: 15px;
}

.content .ql-editor .category-separator {
	padding: 7px;
	padding-left: 15px;
}

.subcategory-separator {
    --subcatsep-triangle-width: 40px;
    --subcatsep-background-color: RGBA(0, 100, 0, 1);
    --subcatsep-background-color-linear-end: RGBA(0, 100, 0, 0.1);
    
    position: relative;
    background: linear-gradient(to left, var(--subcatsep-background-color), var(--subcatsep-background-color-linear-end));
    color: RGB(255, 255, 255, 1);
    padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
    margin: 20px auto;
    text-align: right;
    font-size: 20px;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 51%; /* Set width to 50% of the screen */
    box-sizing: border-box; /* Ensure consistent sizing */
	margin-left: auto; 
	margin-right: 0;
	clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

.backToTop {
	position: fixed; 
	bottom: 90px; 
	right: clamp(20px, 5vw, 75px); 
    border-radius: 999px; 
	width: 51px; 
	height: 51px; 
    background: RGBA(200, 235, 255, 0);
	opacity: 0;
    font-size: 36px;
    box-shadow: initial;										
    transition: all 1s;
    visibility: hidden;
	cursor: pointer;
	color: white;
	text-align: center;
	z-index: 90;
	font-weight: bold;
	user-select: none;
}

.backToTop.visible {
	background: RGB(200, 235, 255); 
    visibility: visible;
	opacity: 1;
}

.backToTop.visible:hover {
	background: RGB(50, 150, 255);
    visibility: visible;
	opacity: 1;
}

.backToTopArrow {
	position: relative; 
	color: white; 
	background-image: url('images/icons8-up-arrow-30.png'); 
	background-repeat: no-repeat; 
	width: 100%; 
	height: 100%; 
	left: 10px; 
	top: 10px; 
	filter: invert(1) brightness(2);
}

ul {	
	list-style-type: disc;
	margin-bottom: 0 !important;
	padding-left: var(--ulPaddingLeft);
}

ul.reagentList li {
	padding-top: 3px;
	padding-bottom: 3px;
}

.values {
	font-size: 1.3vw;
	color: RGB(120, 0, 0);
	font-weight: bold;
}

.fixedFooter {
	display: flex; 
	align-items: center;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 90;
	
	width: 100%;
	height: var(--fixedFooterHeight);
	
	border-top: 1px solid RGBA(0, 0, 0, 0.1);
	background: var(--menuBackgroundColor);
	line-height: 1;	
	box-sizing: border-box;
}

.footerLogo {
	width: 70px; 
	height: auto;
	margin-left: 5px; 
	position: relative;
	vertical-align: middle;
}

a:has(img) {
    display: flex;
    align-items: center;
}

.footerMenu {
	display: flex;
    align-items: center;
	margin-left: clamp(20px, 5vw, 75px);
	padding: 0;	
}

a img {
    display: flex;
    align-items: center;
	line-height: 1;
	margin-top: 0;
	padding-top: 0;
}

.fixedFooter .footerMenuItem span { /* A footer menu szövegek */
	display: var(--footerMenuItemTextDisplay);
	margin-top: 2px;
	margin-left: 5px;
}

.footerMenuItem {
	display: flex;
    align-items: center;
	cursor: pointer;
	height: var(--fixedFooterHeight);
	margin-top: -2px;
	margin-left: 20px;
}

.footerMenuItem:hover {
	color: RGBA(0, 0, 128, 0.9);	
}

.footerRight {
	position: absolute;
	right: 30px;
}

.footerRight i {
	display: inline-block;
	margin-left: 5px;	
	cursor: pointer;
	transition: all 0.2s linear;
}

.footerRight i:hover {
	transform: scale(1.2);
}

.fixedNewsBar {	
	position: fixed;
	bottom: var(--fixedFooterHeight);
	height: 25px;
	max-height: 25px;
	padding: 5px;
	overflow: hidden;
	background: RGB(128, 0, 0);
	color: RGBA(255, 255, 255, 0.9);
	border-top: 1px solid RGBA(0, 0, 0, 0.1);
	white-space: nowrap;
	/* Make sure to set the width to 100% so that the text scrolls the entire width */
	width: 100%;
	z-index: 10;
}

.newsTicker {
	display: inline-block;
	/* The width should be large enough to cover the full length of the text */
	min-width: 100%;
	/* Set up the animation */
	animation: scrollText 40s linear infinite;
}

/* Updated keyframes to have the first text appear quicker */
@keyframes scrollText {
    0% {
        transform: translateX(50%);  /* Start fully off-screen on the right */
    }
	
    100% {
        transform: translateX(-100%); /* Move fully off-screen on the left */
    }
}

.NewsX {
	color: RGB(255, 255, 255); 
	position: absolute; 
	z-index: 10; 
	right: 20px; 
	top: 0; 
	cursor: pointer;
}

.news-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5%;
	padding-top: 2%;
	padding-bottom: 2%;
    margin: 30px 0;
	background: RGB(250, 250, 250);
	border-radius: 15px;
	box-shadow: 2px 2px 2px 2px RGBA(0, 0, 0, 0.1);	
}

.news-box:nth-child(2n) {
	background: RGB(215, 220, 227);
}

.news-image {
    width: 150px;
    height: auto;
    margin-right: 20px;
}

.news-text {
    flex: 1;
}

.news-text p {
	text-align: justify;
}

@media screen and (max-width: 768px) {
    .news-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .news-text {
        width: 100%;
    }
}

/* 1. Wrapper for the entire page content */
.blur-wrapper {
	overflow: hidden;
    z-index: 1;
	transition: filter 0.2s linear;
	width: 100%;
}

/* 1. Body blurring and disabling scrolling */
.blurred {
    filter: blur(8px) grayscale(60%);
}

.no-scroll {
    overflow: hidden;
}

/* 2. Fullscreen invisible overlay */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Transparent */
    z-index: 97;    
}

/* 3. Fullscreen card */
.fullscreen-card {
    position: relative;
    background-color: rgb(250, 250, 250);
	border: 1px solid RGBA(0, 0, 0, 0.2);
    border-radius: 15px;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
    display: inline-block;	
	vertical-align: middle;
    justify-content: center;
    z-index: 8;
    padding: clamp(20px, 5vw, 100px);
	box-sizing: border-box;
	line-height: 2;
	overflow-x: hidden;
}

.fullscreen-card .closeHeader {
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer;
}

.fullscreen-card .closeHeader .X {
	position: fixed;
	translate: -50% -50%;
	z-index: 99;
}

.schemeGuideContent .ql-editor {
	overflow-x: hidden;	
}

.titleContentHeader, .fullscreen-card h3 {
	background: RGB(8, 57, 109);
	padding: 5px;
	color: white;
	text-align: center;
	font-size: 28px;
	font-weight: normal;
	border-radius: 8px;
}

/* Contact us page */
.contact_us_message_box {
	position: relative;
    display: flex;
    flex-direction: row;
    gap: 20px;
    background-color: RGB(250, 250, 250); /* Almost white background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Solid box-shadow */
    padding: 20px;
    border-radius: 8px; /* Optional rounded corners */
	margin: 0 0;
	font-size: 18px;
	padding-top: 100px;
}

.contact_us_message_box .title {
	position: absolute;
	top: 20px;
	font-size: 28px;
	white-space: nowrap;
	min-width: 100%;
	text-align: center;
}

.msgbox1, .msgbox2 {
    padding: 20px;
    flex: 1;
}

.msgbox1 {
	--fadeOutSize: 7px;
	
	display: flex;
    background-size: cover;
	background-repeat: no-repeat;
	background-position: right center; 
	background-image: url('images/contact_us/contact_us_write_message.png');
	
    /* Use mask-image to create a uniform fade-out effect around the edges */
    mask-image: 
        linear-gradient(to top, transparent, black var(--fadeOutSize)),
        linear-gradient(to right, transparent, black var(--fadeOutSize)),
        linear-gradient(to bottom, transparent, black var(--fadeOutSize)),
        linear-gradient(to left, transparent, black var(--fadeOutSize));
    
    /* Combine masks to form a border effect */
    mask-composite: intersect;
}

.contact_us_message_box .image {
	position: relative;
	display: block;
    height: 100%;
	max-height: 450px;
	width: auto;
    display: block;
    margin-left: auto; /* Align the image to the right */
}

.contact_us_message_box form {
    display: flex;
    flex-direction: column; /* Vertically align input and textarea */
    gap: 10px;
}

.contact_us_message_box input, .contact_us_message_box textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact_us_message_box button {
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact_us_message_box button:hover {
    background-color: #0056b3;
}

@media (max-width: 1550px) {
    .contact_us_message_box {
        flex-direction: column;
		margin: 0;
    }
	
	.contact_us_message_box .msgbox1 {
        order: 2;
		justify-content: center; /* Center image horizontally on small screens */
		margin: 0;
		display: none;
    }
	
	.contact_us_message_box .msgbox2 {
        order: 1;
    }	
	
	.contact_us_message_box .image {        
		margin: 0;
		padding: 0;
    }
	
	.contact_us_message_box .title {
		position: absolute;
		top: 20px;
		font-size: 28px;
		left: 50%;
		transform: translate(-50%, 0);
		white-space: normal;
	}
}

/* contact us - contact cards */

.business-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
	align-items: stretch;
}

.business-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 20px;
    text-align: center;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.business-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-align: left;
}

.business-card-logo img {
    width: 150px;
    height: auto;
}

.business-card-name h3 {
    margin: 0;
    font-size: 1.2rem;
	font-weight: bold;
}

.business-card-country {
    padding: 10px 0;
    flex-grow: 1; /* Allows the info section to grow */
    text-align: left;
    display: flex; /* Make it a flex container */    
    justify-content: left; /* Align the content horizontally */
	font-weight: bold;	
}

.business-card-country p {
	margin-bottom: 5px;
	margin-top: 0;
	transform: translateY(-10px);
}

.business-card-contact {
    text-align: left;
}

.business-card-contact p {
    margin: 5px 0;
}

.business-card-contact p a {
	color: #007bff;
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    .business-card {
		height: 100%;
	}
	
	.business-card-country {
		text-align: center;
		justify-content: center;
	}
	
	.business-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .business-card-logo img {
        margin-bottom: 10px;
    }

    .business-card-contact {
        text-align: left;
    }
}

/* Container for tiles - Changed to flex */
.loginTile-container {
    --loginTileMargin: 5vw;
    display: grid;
    grid-template-columns: repeat(3, auto); /* Three equal columns */
    justify-content: center; /* Center the grid */
    align-items: center;
    gap: var(--loginTileMargin);
    width: 100%;
    padding: 0 calc(var(--loginTileMargin) * 2);
    box-sizing: border-box;
    min-height: calc(100vh - var(--navbar-height) - var(--fixedFooterHeight) - 69px);
    margin: 0 auto;
    overflow-x: hidden;
}

/* Styling for each tile - Added flex: 0 0 auto to prevent shrinking */
.loginTile {    
    width: 20vw;
    height: 20vw;
    background-color: RGB(205, 230, 255);
    color: RGBA(0, 0, 0, 0.8);
    margin: 0;
    border-radius: 40% 15% 40% 15%;
    display: flex;
    flex: 0 0 auto; /* Prevent flex shrinkage */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 7px 7px 5px 1px RGB(0, 0, 0, 0.2);
    transition: all 0.3s linear;
    cursor: pointer;
    position: relative;
}

.loginTile:hover {
	/* border-radius: 15% 40% 15% 40%; */
	background-color: RGB(98, 157, 209);
}

.loginTile:hover .login-btn {
	/* transform: translate(27%, 50%); */
}

.loginTile h3 {
    text-align: center;
    font-weight: bold;
    z-index: 9;
    margin: 0; /* Remove default margin */
	font-size: 2vw;
	text-transform: uppercase;
}

.loginTile p {
	margin-top: 10px;
    font-size: clamp(12px, 1vw, 1vw);
	color: RGBA(0, 0, 0, 0.8);
}

.loginTile:hover p {
}

@media (max-width: 600px) {
    .loginTile p {
		display: none;
	}
}

.loginTile .login-btn {
	position: absolute;
	bottom: 0;
	
    padding: 0.5vw 1vw;
    background-color: #007BFF; /* Modern blue color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: clamp(10px, 1vw, 1.2vw);
	transform: translate(-27%, 50%);
	
	background: inherit;
	background: linear-gradient(to bottom, RGB(0, 123, 255), RGB(0, 100, 200)); /* Primary blue color */
    color: RGB(255, 255, 255); /* Text color */
    border-radius: 999px; /* Rounded corners */
    padding: 0.5vw 1vw; /* Padding */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
	box-shadow: 0 0 0;
	font-weight: normal;
	text-transform: uppercase;
	font-family: var(--mainFont);
	transition: all 0.3s linear;
}

.loginTile .login-btn:hover {
	text-shadow: 0 0 1px RGB(255, 255, 255), 0 0 1px RGB(255, 255, 255);
	font-weight: normal;
}

.bordered-line {
    width: 100%; /* full width */
    height: 1px; /* line height */
    background: linear-gradient(to right, transparent 0%, transparent 12.5%, black 50%, transparent 87.5%, transparent 100%);
}

/* login page */
.login-container {
    position: absolute; /* Allows centering */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the container */
    background-color: #fff;
    border-radius: 8px 8px 8px 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-container button {
    padding: 0.5vw 1vw;
    background-color: #007BFF; /* Modern blue color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: clamp(10px, 1vw, 1.2vw);
	
	background: inherit;
	background: linear-gradient(to bottom, RGB(0, 123, 255), RGB(0, 100, 200)); /* Primary blue color */
    color: RGB(255, 255, 255); /* Text color */
    border-radius: 999px; /* Rounded corners */
    padding: 0.5vw 1vw; /* Padding */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
	box-shadow: 0 0 0;
	font-weight: normal;
	text-transform: uppercase;
	font-family: var(--mainFont);
}

.login-container button:hover {
	text-shadow: 0 0 1px RGB(255, 255, 255), 0 0 1px RGB(255, 255, 255);
	font-weight: normal;
	background-color: #218838;
}

.linkspan {
	color: RGB(100, 100, 255);
	cursor: pointer;
	transition: all 0.2s linear;
	display: inline-block;
	position: relative;
	top: 5.5px;
}

.linkspan:hover {
	transform: scale(1.2);
}

.linkspan .fa {
   color: RGB(0, 123, 255);
   /*color: transparent;
   -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: rgb(0, 123, 255);*/

 }
 
.linkspanpdf {
	color: rgb(211, 47, 47);
	color: black;
	display: inline;
	font-size: 0.4rem;
	position: absolute;
	top: 50%;
	left: 1px;
}
 
.gtco-news .ql-editor {
	overflow: hidden;
	padding: 0;
	white-space: normal;
}

/* A főoldalon a híreknél a bővebben gomb */
.card .card-body a {
	background-image: var(--menuSpecialButtonBackgroundGradient) !important;
}

.gtco-news .owl-carousel .card a .fa {
	color: RGB(0, 123, 255) !important;
}

.fa-angle-right::before {
    position: relative;
    left: 2px;
	top: 2px;
}

.news-box .ql-editor {
	padding: 0;
	white-space: normal;
}

.news-box img {
	max-width: 100%;
	position: relative;
	height: auto;
}

.fullscreen-card img {
	max-width: 100%;
	position: relative;
	height: auto;
}

.gtco-news .owl-carousel .owl-nav .owl-prev, .gtco-news .owl-carousel .owl-nav .owl-next {
    position: relative;
	transform: translateY(calc(-0.5 * 1em));
}

#news .owl-carousel .owl-item {
	min-height: 325px;
}

.mainFrameBackgroundForm {
    position: absolute;
    top: -100px;
    left: 0;
	width: 150%;
    margin-left: calc(var(--mainMargin) * -1);
    margin-top: -30px;
    overflow: visible;
    z-index: -99;
}

.mainFrameBackgroundFormBottom {
	position: absolute;
    bottom: 0;
    right: 0;
	width: 75%;
    margin-right: calc(var(--mainMargin) * -1);
    margin-left: calc(var(--mainMargin) * -1);
    margin-bottom: calc((var(--mainMarginBottom) * -1) - 20px);
	padding: 0;
    overflow: visible;
    z-index: -99;
    filter: blur(0.5px) grayscale(100%) brightness(99%);
    transform: scale(-1, 1);
    transform-origin: center center;
}

.accreditedByNAH {	
    position: relative;	
	width: 100%;
	text-align: center;
	overflow: hidden;
	background: linear-gradient(180deg, var(--bgQCcherryDark) 3px, RGB(255, 255, 255) 1%);	
	padding: 20px;
	box-sizing: border-box;
}

.accreditedByNAH .ql-editor {	
    padding: 0;
	overflow: hidden;
}

.accreditedByNahSpan {
	display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    width: 100%;
    height: auto; /* Keeps height dynamic */
    text-align: center;
}

hr {
    border: none;  /* Remove the default border */
    height: 1px;   /* Set the thickness */
    background-color: black; /* Set the color */
    width: 100%;  /* Adjust width as needed */
	background-color: RGB(238, 238, 238);
}

.lastUpdateDate {
	font-size: 12px;
}

img.flowchart {
	float: right;
	margin: 0 0 10px 10px;
	width: 33%;
	height: auto;
}

@media (max-width: 1000px) {
	img.flowchart {
		display: none;
	}
}

.contentdiv {
	position: relative; /* Establishes a positioning context */
    overflow: auto; /* Ensures the div contains floated elements */
}

/* Download content card Dokumentumok/* menüpontokhoz */

.downloadListContainer a {
	text-decoration: none;
}

.download-item {
	margin: 15px 0;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	padding: 30px;
}

.download-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.file-info {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-grow: 1;
	padding-right: 15px;
}

.file-icon {
	flex-shrink: 0;
	width: 2rem;
	height: auto;
	filter: invert(24%) sepia(98%) saturate(7485%) hue-rotate(356deg) brightness(91%) contrast(118%);
}

.file-details h3 {
	margin: 0;
	color: #2c3e50;
	font-size: 1.2rem;
	font-weight: 600;
}

.file-details p {
	margin: 5px 0 0 0;
	color: RGB(100, 100, 100);
	font-size: 0.9rem;
}

.downloadListContainer button {
	width: 135px;
	max-width: 135px;
	min-width: 135px;
}

.downloadListContainer button nobr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 800px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .downloadListContainer button {
        width: 100%;
        max-width: 100%;
        margin-top: 10px; /* Optional: Adds extra spacing between text and button */
    }
}

.modern-search-input {
	width: 100%;
	padding: 10px 40px 10px 15px;
	border: 2px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: white;
}

.modern-search-input:focus {
	outline: none;
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.registrationFormTable.basic-card .modern-search-input {
	width: 70%;
}

.whiteLoader {
	width: 100vw; 
	height: 100vh; 
	background-color: white; 
	position: fixed; 
	top: 0; 
	left: 0; 
	z-index: 9999;
	overflow: hidden;
}

.whiteLoader.loadAnimation::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100%;
    max-width: 300px; /* original width of your GIF */
    height: 100%;

    background-image: url('images/icon/Loading_icon.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1; /* or adjust as needed */
    pointer-events: none; /* optional, so it doesn't block interaction */
	display: block;
}

.whiteLoaderCenteredText {
	position: absolute;
	top: calc(50% + 70px);
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 1;
	text-align: center;
	display: none;
}

.whiteLoaderCenteredText.loadAnimation {
	display: block;
}

.notActive::before {
	content: "NEM AKTÍV";
	position: relative;
	top: 7px;
	left: 7px;
	color: red;
	float: right;
	background-color: yellow;
	padding: 5px;
	border-radius: 5px;
}

.notActive {
	opacity: 0.5;
}