/* Header Layout */

html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
	margin: 0;
    padding: 0;
	background-color: #000;
}

.header-table {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 10px;
    color: #fff;
	max-width: 1200px;
	margin: 0px auto;
}

.footer-table {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto;
    padding: 10px;
    color: #fff;
	max-width: 1200px;
    min-height: 100%;
	margin: 0px auto;
}

main-inner {
	display: block;
	max-width: 1200px;
	margin-left: auto;
    margin-right: auto;
	text-align: center !important;
	padding: 30px 0px;
}

main-outer {
	width: 100%;
	display: inline-block;
    margin: 0;
    padding: 2rem 0;
    flex: 1;
}

main-inner-gr {
	display: block;
	max-width: 1200px;
	margin-left: auto;
    margin-right: auto;
}

main-outer-gr {
	width: 100%;
	display: inline-block;
    margin: 0;
    padding: 2rem 0;
    background-color: #e29a1030;
}

footer {
    background-color: #e29a10;
    color: white;
    padding: 40px 0px 20px 0px;
    clip-path: polygon(0 0%, 100% 50%, 100% 100%, 0 100%);
}

h2 {
    font-size: 1.1rem;
}

/* Default Navbar and Menu Toggle */
.navbar {
    display: grid;
	grid-template-columns: auto auto;
    min-height: 100%;
/* 	height: -webkit-fill-available; */
/* 	height: -moz-available;    */      /* WebKit-based browsers will ignore this. */
/*     height: -webkit-fill-available; */ /* Mozilla-based browsers will ignore this. */
/*     height: fill-available;*/
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.logo-cell {
    align-items: center;
	margin-bottom: -4px;
}

.logo-cell img {
    width: 80px;
    height: 80px;
}

.logo-cell-big {
    grid-row: 1 / span 4;
    display: flex;
    align-items: center;
	margin-bottom: -4px;
}

.logo-cell-big img {
    width: 180px;
    height: 180px;
}

.custom-dropdown, .button-cell {
    margin-left: auto;
    margin-right: 0;
}

.menu-cell {
	margin: 0 auto;
}

.menu-cell a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.menu-cell a:hover {
    color: #e29a10;
}

.social-cell {
    margin-left: auto;
    margin-right: 0;
}

.social-cell img {
    height: 25px;
	margin-left: 8px;
}
/*
.button-cell {
    grid-row: 3;
    gap: 10px;
	padding-top: 5px;
}
*/

.greybg {
	background-color: #e7e7e7 !important;
}


.btn-appointment {
    padding: 5px 10px;
    background-color: #e29a10;
    color: #000;
    border: none;
    cursor: pointer;
}

.btn-appointment:hover {
	color: white;
}

.btn-more {
    padding: 15px 40px;
    background-color: white;
    border: none;
    cursor: pointer;
	transition: all 0.5s ease;
	font-size: 18px;
}

.btn-more:hover {
	color: white;
	background-color: black;
}

#services {
    margin: 0px;
}

#language-selector {
    background-color: #000;       /* Background to match header */
    color: #fff;                  /* Text color */
    border: 1px solid #e29a10;    /* Border in accent color */
    padding: 5px 10px;            /* Padding for a balanced look */
    border-radius: 5px;           /* Rounded corners */
    font-size: 14px;              /* Font size */
    cursor: pointer;              /* Pointer cursor */
	appearance: none;             /* Hide default styling */
}

/* Adjust styling on hover */
#language-selector:hover {
    background-color: #e29a10;    /* Highlight background on hover */
    color: #000;                  /* Text color on hover */
}

#language-selector option {
    background-repeat: no-repeat;
    padding-left: 25px;
    background-position: left center;
}

label[for="language-selector"] {
    font-size: 14px;
    padding-right: 5px;
    vertical-align: middle;
}

.custom-dropdown {
    position: relative;
}

#selected-lang {
    background-color: #000;
    color: #fff;
    border: 0px solid;
    padding: 0px 5px 0px 5px;
    cursor: pointer;
    border-radius: 5px;
}

#selected-lang:hover {
    color: #e29a10;
}


.dropdown-options {
    display: none;
    position: absolute;
    background-color: #000;
    border: 1px solid #e29a10;
    width: 130%;
    z-index: 1;
	margin: 5px;
    margin-left: -30%;
}

.dropdown-options div {
    padding: 8px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
	font-size: 14px;
}

.dropdown-options div img {
    width: 24px;
    margin-right: 8px;
}

.dropdown-options div:hover {
    background-color: #e29a10;
    color: #000;
}

.half_width {
	width: 44%;
	display: inline-block;
	text-align: center!important;
}

.third_width {
	width: 30%;
	display: inline-block;
	text-align: center!important;
}

.dark_bg {
	background-color: #000 !important;
	transition: all 0.5s ease;
}

.padding_32 {
    padding-top: 32px!important;
    padding-bottom: 32px!important;
}

.white_txt {
	color: #fff!important;
}

.ul {
	list-style-type: none;
	padding: 0 8px;
}

.ul li {
    padding: 20px 16px;
    border-bottom: 1px solid #ddd
}

.coloumn-1 {
	grid-column: 1;
}

.coloumn-2 {
	grid-column: 2;
}

.coloumn-3 {
	grid-column: 3;
}

.coloumn-4 {
	grid-column: 4;
}

.row-1 {
	grid-row: 1;
}

.row-2 {
	grid-row: 2;
}

.row-1span2 {
	grid-row: 1 / span 2;
}

.coloumn-2span2 {
	grid-column: 2 / span 2;
}

.padding-0-8 {
	padding: 0 8px;
}

.align-end {
	align-content: end;
}

.align-middle {
	display: flex;
	justify-content: center;
}

.opacity60 {
    opacity: 0.70;
	transition: all 0.5s ease;
}

.opacity60:hover {
    opacity: 1;
}

.opacity60:hover .ul .dark_bg {
    background-color: #e29a10 !important;
}

.generic {
	display: grid;
    padding: 10px 8px;
}

.rolunk, .kapcsolat {
	display: grid;
    padding: 10px 80px;
	text-align: justify;
}

.ceginfo {
    display: grid;
	grid-template-columns: 200px auto;
	grid-template-rows: auto auto auto auto;
	margin: auto;
	margin-left: 0;
	padding: 20px 0;
/*	height: -webkit-fill-available;*/
/*	height: -moz-available;     */     /* WebKit-based browsers will ignore this. */
 /*   height: -webkit-fill-available;*/  /* Mozilla-based browsers will ignore this. */
 /*   height: fill-available;*/
}

.border-bottom-bl {
	border-bottom: 1px solid black;
}

.grid {
    display: grid;
}

.inline {
    display: inline;
	margin-right: 10px;
}

.font-2em {
    font-size: 2.5em;
}

.black, .black a{
	color: black;
	text-decoration: none;
}

.center {
	text-align: center !important;
	}

left {
    text-align: left !important;
}

.height-60 {
	height: 60px;
}

.vertical-margin-5px {
    margin: 5px 0px;
}

.horizontal-margin-5px {
    margin: 0px 5px;
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #e29a10;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.3s, transform 0.3s;
}

#scrollToTop:hover {
    background-color: #000;
    color: #e29a10;
}

.hover-video:playing {
    visibility: visible;
}

#partners {
    text-align: center;
    padding: 100px 0 0 0;
    overflow: hidden;
    position: relative;
}

#partners h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

.partners-slider {
    display: flex;
    overflow: hidden;
    max-width: 1040px;
    margin: auto;
}


.partners-track {
    display: flex;
    animation: slide 20s linear infinite;
    align-items: center;
}

.partners-track a {
    display: inline-block;
    padding: 0 15px;
    width: 100px;
}

.partners-track img {
    max-width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.partners-track a:hover img {
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Responsive Navbar for Tablets and Mobile */
@media (max-width: 768px) {
    .navbar {
        display: none; /* Hide navbar by default */
        flex-direction: row-reverse;
        width: 100%;
		height: auto;
        min-height: auto;
        background-color: #000;
        position: absolute;
        top: 100px;
        left: 0;
		z-index: 1;
		padding: 10px 0px 10px 0px;
		border-top: 2px solid #ddd;
    }

	.social-cell, .button-cell {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
		margin: 0;
		align-content: start;
    }

    .navbar a {
        display: block;
        padding: 10px;
        text-align: left;
        color: #fff;
    }

	.social-cell a, .button-cell {
        display: block;
        padding-left: 20px;
        text-align: left;
        color: #fff;
    }

	.custom-dropdown {
        display: block;
		position: fixed;
        padding: 10px;
		top: 10px;
		right: 40px;
        text-align: left;
        color: #fff;
    }

    .menu-toggle {
        display: block; /* Show menu button on mobile */
        position: absolute;
        top: 10px;
        right: 10px;
    }

	.dropdown-options {
    width: 100%;
	}

	.half_width {
    width: 90%;
	padding: 20px 0px;
	}

    .third_width {
        width: 90%;
        padding: 20px 0px;
        }

	.menu-cell {
    flex-grow: 1;
	margin-left: -10px;
	}

	.ceginfo {
    display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto auto auto auto;
	margin: auto;
	padding: 20px 0;
	height: -webkit-fill-available;
	height: -moz-available;          /* WebKit-based browsers will ignore this. */
    height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    height: fill-available;
	}

	.coloumn-2 {
	grid-column: auto;
	margin-top: auto;
	}

	.coloumn-4 {
	display: -webkit-inline-box;
	}

	.logo-cell-big {
	margin: auto;
	padding: 40px 0;
	}

	.mb-center {
	text-align: center !important;
	}

	main-inner {
	padding: 0px 0px;
	}

	.rolunk, .kapcsolat {
    padding: 10px 40px;
	}

	.footer-table {
		display: block;
	}

	.footer-table .social-cell {
		display: none;
	}

	.footer-table .coloumn-2 {
		padding: 10px;
	}

    .partners-slider {
        max-width: 90%;
    }

}