.kalkulator {
	display: flex; /*block*/
	width: 70%;
	float: left;
	padding: 8px;
	padding-top: 0px;

/*  	border: thin solid var(--elteSzin);
	border-radius: 10px; */
}

.kalk_osszes {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 90px;
	width: 360px;
	float: right;
	background-color: var(--elteSzinSzurke);
  	border: thin solid var(--elteSzin);
	border-radius: 10px;
}

.kalk_osszes_pont {
	background-color: var(--elteSzin);
	padding: 5px;
	border: thin solid var(--elteSzin);
	width: 100%;
	margin-top: 5px;
}

.kalk_osszes_pont span {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 18px;
	text-transform: none;
	vertical-align: middle;
}

.kalk_osszes_pont span:nth-child(3) {
	float: right;
}

.kalk_osszes_katergoria {
	background-color: var(--gtkSzin);
	padding: 4px;
	border: thin solid var(--gtkSzin);
	border-radius: 5px;
	width: 345px;
	margin-left:10px;
	margin-top: 5px;
	display: inline-block;
}

.kalk_osszes_katergoria span {
	color: #FFFFFF;
	font-weight: bold;
	text-transform: none;
}

.kalk_osszes_katergoria span:nth-child(2) {
	float: right;
}

.kalk_osszes_alkatergoria {
	background-color: var(--elteSzinSzurke);
	padding: 4px;
	border: thin solid var(--gtkSzin);
	border-radius: 5px;
	float: right;
	margin-right: 4px;
	width: 335px;
	
}

.kalk_osszes_alkatergoria span {
	color: var(--gtkSzin);
	font-weight: normal;
	text-transform: none;
	display: inline-flex;
	font-weight: bold;
}

.kalk_osszes_alkatergoria span:nth-child(1) {
	width: 290px;
}

.kalk_osszes_alkatergoria span:nth-child(2) {
	float: right;
}

.kalk_osszes_alkatergoria_r span {
	display: inline-flex;
	font-weight: normal !important;
}

.kalk_osszes_alkatergoria_r span:nth-child(1) {
	width: 290px;
}

.kalk_osszes_alkatergoria_r span:nth-child(2) {
	float: right;
}

.kalk_osszes_alkatergoria_r {
	border-top: thin solid var(--gtkSzin);
}

.Kalk_fejlec {
	width: 100%;  /*uj*/
	padding: 8px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 4px;
	margin-right: 4px;
	background-color: var(--gtkSzin);
	display: flex;
	border: thin solid var(--gtkSzin);
	border-radius: 10px;
}

.Kalk_fejlec span {
	color: #FFFFFF;
	font-weight: bold;
	text-transform: none;
	float: right;
	width: 40%;
	text-align: center;
}

.Kalk_fejlec span:first-child {
	float: left;
	width: 60%;
	text-align: left;
	text-transform: uppercase;
}

.Kalk {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 8px;
	padding: 8px;
  	border: thin solid var(--gtkSzin);
	border-top: none;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: var(--elteSzinSzurke);
}

.Kalk_pontok_fejlec {
	padding: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 3px;
	margin-right: 3px;
	background-color: var(--gtkSzin);
	display: flex;
	border: thin solid var(--gtkSzin);
	border-radius: 10px;
}

.Kalk_pontok_fejlec span {
	color: #FFFFFF;
	font-weight: bold;
	text-transform: none;
	float: right;
	width: 25%;
	text-align: center;
}

.Kalk_pontok_fejlec span:first-child {
	float: left;
	width: 75%;
	text-align: left;
}

.Kalk_pontok {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 8px;
	padding: 8px;
  	border: thin solid var(--gtkSzin);
	border-top: none;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: var(--elteSzinSzurke);
	text-align: justify;
}

.Kalk_pontok input, .Kalk_pontok select, .Kalk_pontok option, .Kalk_pontok input[type='checkbox'] {
	background-color: #F5F5F5;
	border: thin solid var(--gtkSzin);
}
.Kalk_pontok td:nth-child(2) select {
	width: 140px;
}

.Kalk_pontok input[type='checkbox'] {
	width: 15px;
	height: 15px;
	outline: thin solid var(--gtkSzin);
}
.kalkResi {
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	width: 100%; /*100% régen, után auto, firefox miatt vissza*/
	table-layout: fixed;
}

.kalkResi tr {
	background-color: none;
	border: 1px solid var(--gtkSzin);
	padding: 0px;
}

.kalkResiTheadTr {
	color: var(--gtkHarmadSzin3);
	background-color: var(--gtkSzin);
}

.kalkResiTheadTrTh {
	color: var(--gtkHarmadSzin3);
	background-color: var(--gtkSzin);
	padding: .125em;
	text-align: center;
	writing-mode: vertical-rl;
}

.kalkResi th {
	color: #FFFFFF;
	background-color: var(--gtkSzin);
	padding: .125em;
	text-align: center;
}


.kalk_nyelv tr {
	border: none !important;
}

.kalk_nyelv th, .kalk_nyelv td {
	border: 1px solid var(--gtkSzin);
}

.kalk_nyelv th:nth-child(1), .kalk_nyelv th:nth-child(4), .kalk_nyelv td:nth-child(1), .kalk_nyelv td:nth-child(4) {
	width: auto;
	border-top: 1px solid var(--gtkSzin);
	border-bottom: 1px solid var(--gtkSzin);
	border-left: 1px solid var(--gtkSzin);
}

.kalk_nyelv th:nth-child(2), .kalk_nyelv th:nth-child(5), .kalk_nyelv td:nth-child(2), .kalk_nyelv td:nth-child(5) {
	width: 50px;
	border-top: 1px solid var(--gtkSzin);
	border-bottom: 1px solid var(--gtkSzin);
	border-right: 1px solid var(--gtkSzin);
}

.kalk_nyelv th:nth-child(3), .kalk_nyelv td:nth-child(3) {
	width: 10px;
	background-color: unset;
	border: none;
}

.kalk_sport th:nth-child(1) {
	width: auto;
}

.kalk_sport th:nth-child(2) {
	width: 80px;;
}

.kalk_sport td:nth-child(2) {
	text-align: center !important;
}

.kalk_sport td:nth-child(1) {
	text-align: left;
}

.kalk_sport td:nth-child(3) {
	text-align: center;
	font-weight: bold;
}

.kalkResi td {
	padding: .125em;
	text-align: center;
	width: 100%;
}

.kalkResi td:nth-child(2) {
	text-align: left;
	font-weight: bold;
    text-transform: uppercase;
}

.kalkResi td:first-child select {
	width: 100%;
}
.textarea, input {	/*firefox*/
	width: 55px;
}

@media screen and (max-width: 1200px) {
	/*.Kalk_fejlec {
		margin-top: 500px;
	}*/
	/*.textarea, input {   /*firefox
		width: unset;
	}*/

	.kalkulator {
		width: 100%;
		
	}
	.kalkResi {
		margin-left: auto;
    	margin-right: auto;
		width:auto;
	}
	.kalk_osszes {
		margin-left: auto;
    	margin-right: auto;
		float: none;
		display: flex;
        flex-direction: column;
	}
}
.kalk_hibaDiv {
	border: medium solid #FF0000;
	color: #FF0000;
	font-weight: bold;
	text-align: center;
	z-index: 10;
	margin-bottom: 5px;
	background-color: #FFFFFF;
    display: inline-table;
}

.kalk_infoDiv {
	border: medium solid #FFA600;
	color: #FFA600;
	font-weight: bold;
	text-align: center;
	z-index: 10;
	margin-bottom: 5px;
	background-color: #FFFFFF;
    display: inline-table;
}

.kalk_info {
	width: 50px !important;
}

.kalk_info .info-kep {
	margin: 3px;
	width: 15px; /*!important*/;
	float: right;

}


.kalk_targy {
	width: 200px /*!important*/;
}

.kalk_erdemjegy {
	width: 60px /*!important*/;
}

.kalk_erettsegiEredmeny {
	width: 60px /*!important*/;
}

.kalk_erettsegiSzint {
	width: 160px /*!important*/;
}

.kalk_nyelv {
	width: 60px /*!important*/;
}

.kalk_chkSorSelect {
	width: 70px !important /*kommentezve volt - firefox*/;
}

.kalk_InfoKeret {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}
.kalk_InfoFRM {
	position: absolute; /*sticky*/
 	top: 10px;
	left: 50%;
	/*margin-left: -300px;
	margin-top: -100px;*/
	margin-right: 50px;
	margin-top: 100px;
	padding-bottom: 30px;
	width: 400px;
	min-height: 100px;
  	border: thin solid var(--elteSzin);
	border-radius: 10px;
	background-color: #FFFFFF;
	z-index: 10;
	writing-mode: horizontal-tb;
	font-weight: normal;
}

.kalk_InfoTextDiv {
	min-height: 200px;
	width: 100%;
}

.kalk_InfoTextLablec {
	position: absolute;
	bottom: 0; 
  	border-top: thin solid var(--elteSzin);
	font-style: italic;
	font-size: smaller;
	width: 100%;
	text-align: center;

}

.kalk_InfoFRM h1 {
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 8px;
	line-height: 16px;
}

.kalk_InfoFRM ul {
	list-style-type: square;
	text-align: justify;
	margin: 5px;
}

.kalk_formazottJelolo input[type=checkbox] + label {
	display: block;
	margin: 0.2em;
	cursor: pointer;
	padding: 0.2em;
	color: #000;
}

.kalk_formazottJelolo input[type=checkbox] {
  display: none;
}

.kalk_formazottJelolo input[type=checkbox] + label:before {
	content: "\2714";
	border: 0.1em solid var(--gtkSzin);
	border-radius: 0.2em;
	display: inline-block;
	width: 1em;
	height: 1em;
	padding-left: 0.2em;
	padding-bottom: 0.3em;
	margin-right: 0.2em;
	vertical-align: bottom;
	color: transparent;
	transition: .2s;
	background-color: #F5F5F5;
}

.kalk_formazottJelolo input[type=checkbox] + label:active:before {
	transform: scale(0);
}

.kalk_formazottJelolo input[type=checkbox]:checked + label:before {
	background-color: var(--gtkSzin);
	border-color: var(--gtkSzin);
	color: #fff;
}

.kalk_formazottJelolo input[type=checkbox]:disabled + label:before {
	transform: scale(1);
	border-color: #aaa;
}

.kalk_formazottJelolo input[type=checkbox]:checked:disabled + label:before {
	transform: scale(1);
	background-color: #bfb;
	border-color: #bfb;
}

.kalk_inditoGombKeret {
	width: 100%;
	position: fixed;
	bottom: 0px;
	left: 0px;
	background-color: var(--elteSzin2);
	height: 75px;
	display: block;
 	opacity: 0.7;
}

.kalk_inditoGombKeret:hover {
 	opacity: 1;
}

.kalk_inditoGomb {
	width: auto;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--gtkMasoddSzin);
	color: #000000;
	display: block;
	vertical-align: middle;
}

.kalk_vizszintesenKozepre {
	width: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}



@media screen and (max-width: 768px) {
	.kalkResi {
		border: 0;
		width:100%;
	}
	
	.kalkResi thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	
	.kalkResi tr {
		border-bottom: 3px solid var(--gtkSzin);
	/*	display: block;
		margin-bottom: 1.5em;
		width:100%;*/
		display: grid;
        margin-bottom: 1.5em;
        width: 100%;
        border-top: 10px solid var(--gtkSzin);
		padding:10px;
	}
	
	.kalkResi td {
		border-bottom: 1px solid var(--gtkSzin);
		display: block; /*grid*/
		text-align: left;
		padding-right: 8px;
		width:100%;
	}
	
	.kalkResi td::before {
		content: attr(data-label);
		/*float: left;*/
		font-weight: bold;
		text-transform: uppercase;
		width:100%;
	}
	
	.kalkResi td:last-child {
		border-bottom: 0;
		
	}

	.kalk_info {
		width: 100% !important;
	}
	
	.kalk_info .info-kep {
		margin: 0px;
		width: 20px;
	}
	
	
	.kalk_targy {
		width: 100%;
	}
	
	.kalk_erdemjegy {
		width: 100%;
	}
	
	.kalk_erettsegiEredmeny {
		width: 100%;
	}
	
	.kalk_erettsegiSzint {
		width: 100%;
	}
	
	.kalk_nyelv {
		width: 100%;
	}
	.Kalk_pontok input, .Kalk_pontok select, .Kalk_pontok option, .Kalk_pontok input[type='checkbox'] {
		background-color: #F5F5F5;
		border: thin solid var(--gtkSzin);
		float: right;
		width: 140px;
	}
	.kalk_formazottJelolo input[type=checkbox] + label {
		float: right;
		margin-top: -20px !important;
		margin-right: -6px !important;
	}
	.kalk_info {
        content: none !important;
    }
	.kalk_sport td:nth-child(1) {
		display: grid; /*tomi*/
		font-weight: bold;
		/*text-align: center;*/
	}
	.kalkResi td::before {
       text-align: justify;
    }

	.kalk_InfoFRM {
		position:unset;
		float:left;
	}	
	
}
@media screen and (max-width: 600px) {
	.kalk_osszes_katergoria {
		width:100%;
		margin-left: 0;
	}
	.kalk_osszes_alkatergoria {
		border-radius: 0;
		float: 0;
		/*border: 0;*/
		margin-right: 0;
		width: 100%;
	}

}

@media screen and (max-width: 535px) {
	.kalk_osszes {
	width: 90%;
	}
	.kalk_osszes_alkatergoria span:nth-child(1) {
	width: 100px;
	}
	.kalkResi td {
        display: grid;
	}
	.Kalk_pontok td:nth-child(2) select {
		width: 100%;
	}
	.kalkResi td:last-child {
		border-bottom: 0;
		display: block;
	}
	.Kalk_pontok input, .Kalk_pontok select, .Kalk_pontok option, .Kalk_pontok input[type='checkbox'] {
		width: auto;
	}
	.kalk_InfoFRM {
		width: 90%;
		top: 300px;
		position:unset;
		float:left;
	}
	.kalk_info{
		display: block !important;
	}
}
