﻿table.download
{
	border: 1px solid black ;
}
table.download tr th
{
	font-weight: bold  ;
	
}

table.download tr th, table.download tr td
{
	padding: 4px ;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    background-color: #f0f2f5;
    height: 100vh;
	overflow-x: hidden;
}

#head
{
	background: linear-gradient(to right, #b3d9f7, #0078d7); 
	width: 100vw; 
	color: white; 
	font-size: 22px; 
	font-weight: bold;
	display: flex;
	align-items: center; /* függőleges középre igazítás */
	padding: 0 15px;
	height: 100px; /* vagy amekkora a logó képed */
	gap: 15px; /* távolság a kép és szöveg között */
	box-sizing: border-box;
}

#content
{
	margin-top:10px ;
	
	max-height: calc(100vh - 200px);         /* ne nőjön túl a látható magasságon */
    overflow: auto;          /* görgethető, ha túl sok tartalom */
	/*max-width: 100vw;
     overflow-x: hidden; */
}

table.menu {
    max-width: 100vw;         /* maximum a viewport szélessége */
	width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	height:50px ;
	
    overflow-x: hidden; 
	table-layout: fixed;
	  border-collapse: collapse;
}

table.menu td {
    padding: 15px 25px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
    color: #333;
    border-right: 1px solid #e0e0e0;
	
	overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
}

table.menu td:last-child {
    border-right: none;
}

table.menu td:hover {
    background-color: #0078d7;
    color: #fff;
}

table.login-table {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-collapse: separate;
    border-spacing: 10px;
	margin: auto ;
}

.login-table .title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
    color: #333;
}

.login-table .label {
    text-align: right;
    padding-right: 10px;
    color: #333;
    white-space: nowrap;
}

.login-table input[type="text"],
.login-table input[type="email"],
.login-table input[type="password"],
.login-table textarea {
	max-width: 90%;
    width: 90%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
	box-sizing: border-box;
}


.login-table button {
    width: 95%;
    padding: 10px;
    background-color: #0078d7;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-table button:hover {
    background-color: #005fa3;
}

.login-table .forgot {
    text-align: center;
    font-size: 13px;
    padding-top: 5px;
}

.login-table .forgot a {
    color: #0078d7;
    text-decoration: none;
}

.login-table .forgot a:hover {
    text-decoration: underline;
}

div.LINK
{
	cursor:pointer ;
	color: blue ;
}

.data-table tr:not(:nth-child(1)):not(:nth-child(2)):hover {
    background: lightblue;
}

td.menu
{

}


.hamburger {
    display: none;
    font-size: 30px;
    padding: 15px 20px;
    background-color: #004b87;
    color: white;
    cursor: pointer;
}

/* Mobilnézet */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        background-color: #f0f0f0; /* háttér az egész menüre */
        width: 100%;
    }

    #menu-toggle:checked + .hamburger + .menu {
        display: block;
    }

    .menu tr {
        display: block;
        background-color: #f0f0f0; /* ⬅️ fontos! minden sor háttérrel */
    }

    .menu td {
        display: block;
        text-align: left;
        padding: 12px 20px;
        border-top: 1px solid #ddd;
        background-color: #f0f0f0; /* ⬅️ minden cellának is */
		min-height: 40px;       /* ⬅️ Hozzáadva: min. magasság */
    line-height: 1.6em;      /* ⬅️ Jobb olvashatóság */
    }

    .menu td a {
        color: #333;
        text-decoration: none;
    }
	
	.login-table .title 
	{
		padding-bottom: 1px;
	}
	
	.menu td {
        padding: 2px 3px;
    }

	table.login-table 
	{
		padding: 1px 2px;
	}
	
	.login-table input[type="text"],
	.login-table input[type="email"],
	.login-table input[type="password"] 
	{
		width: 100%;
		padding: 3px 3px;
		border: 1px solid #ccc;
		border-radius: 6px;
		font-size: 14px;
	}
	
    table.login-table 
	{
        min-width: 0 !important;    /* ⬅️ ez a kulcs */
        width: 100%;
    }
	
	#head
	{
		height:30px ;
		width: 90vw; 
	}
	
	#content
	{
		max-width: 90vw;
	}
	
	table.menu
	{
		width:90% ;
		max-width: 90vw;         /* maximum a viewport szélessége */
		height: auto !important;  /* <<< EZ FONTOS */
		max-height: none !important;
	}

}


/* Rejtett checkbox */
#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ #content {
    display: none;
}




@media(max-width:768px){
  td.docs-td{
    display:block!important;
    width:100%!important;
  }
  td.docs-td table{
    width:100%!important;
  }
}
