@charset "utf-8";

body {
	background-image: url("../images/btztilea.gif");
  background-repeat: repeat;
  background-color: #FFFFFF;
  color: #000000;
  margin-left: 30px;
}
a:link {
    color: #333399;
}
a:visited {
    color: #336666;
}
a:active {
    color: #CC9933;
}

.login {
  	width: 400px;
  	background-color: #DDDDDD;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
  	border-radius: 15px;
}
@media only screen and (max-width: 800px) {
	.login {width: 100%!important;}
	.login form input[type="password"], .login form input[type="text"] {width: 70%!important;}
}
.login h1 {
  	text-align: center;
  	color: #000000;
  	font-size: 24px;
  	padding: 20px 0 10px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 10px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form textarea {
  	width: 360px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
  	font-size: 14px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	  margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2156a5;
  	transition: background-color 0.2s;
}
.oldalcim{
	font-size: 26px;
	font-weight: bold;
	color: #0000A0;
	margin-top: 5px;
}
.oldalcim .kiemelve {
  font-size: 28px;  
  color:#800000;
  text-decoration: underline;
  font-style: italic;
}
.alcim{
	font-size: 20px;
	font-weight: bold;
	color: #0000aa;
	margin-top: 5px;
}
.alignright{
	text-align: right;
}
.megjegyzes{
	font-size: 11px;
}
.label_pluszinfo{
  font-size: 0.8em;
  color: #333;
  font-style: italic;
}
/*Kiszallítások oldalhoz*/
.datum-fejlec {
  color: #a52a2a;
  font-size: 1.3em;
  font-weight: bold;
  padding: 2px 0;
}

.table-row--sm {
  font-size: 0.8em;
  color: #000;
}
.muted {
  color: #333;
  font-style: italic;
}
.label-underline {
  font-weight: normal;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.megjegyzes-box {
  --note-bg: #f5f7f8;       /* alap háttér (nem kiemelt) */
  --note-border: #e0e0e0;
  display: inline-block;
  padding: 0px 2px;
  margin: 0px 0;            /* kiváltja a <br>-t */
  border: 1px solid var(--note-border);
  border-radius: 4px;
  background-color: var(--note-bg);
  line-height: 1.25;
}
/* Variánsok – csak a színek térnek el */
.megjegyzes-box.kiszallitas {
  --note-bg: #bdf5bd;
  --note-border: #d6e5d6;
}
.megjegyzes-box.visszaszallitas {
  --note-bg: #fdf4c0;
  --note-border: #e9e3c8;
}

.alahuz{
	border-bottom: 1px solid black;
}
.athuzott{
	text-decoration: line-through;
}
.tagol > td{
	padding-bottom: 15px;
}
.pirosszoveg {
	color: #FF0000;
}
.bordoszoveg {
	color: #C70039;
}
.zoldszoveg {
	color: #008000;
}
.szurkeszoveg {
	color: grey;
}
.doltszoveg{
font-style: italic;
}
.inactiveField{
	background-color:#E8ECEF;
	color: #8b9298;
}
.zoldHatter{
	background-color:#99cf82;
}
.kiemeltSor{
	background-color: AntiqueWhite;
}
.readonlyField{
	background-color:#E8ECEF;
}
table.adattabla {
border: 2px solid #006400;
border-collapse: collapse;
margin-top: 20px;
margin-bottom: 40px;
}
table.adattabla th {
border: 1px solid #006400;
padding: 5px;
}
table.adattabla label {
  font-weight: bold;
  font-size: 1em;
}
table.adattabla td {
border: 1px solid #006400;
padding: 5px 6px 5px 6px; /* felső, jobb, alsó, bal */
}
table.adattabla tr.success {
background-color: rgba(39, 167, 54, 0.4);
}
table.adattabla tr.nosuccess {
background-color: rgba(255, 0, 5, 0.4);
}

table.alaptabla {
border: 1px solid #888888;
border-collapse: collapse;
}
table.alaptabla th {
border: 1px solid #888888;
padding: 3px;
}
table.alaptabla td {
border: 1px solid #888888;
padding: 3px;
}

table.tagoltTabla {
	border-collapse: collapse;
}
tr.noBorder td {
	border: 0;
	padding-top: 15px;
}
tr.noBorderWeak td {
	border: 0;
}
tr.yesBorder td {
	border: 1px solid #006400;	
	padding: 3px;
}

#alaptabla{
	float: left;
	width: 40%;
}
#alaptabla table label{
	font-weight:bold;
}
#alapadatok{
	position: fixed;
    top: 1em;
    right: 1em;
	border:1px solid;
	border-radius:10px;
	box-shadow: 10px 10px 5px #888888;
}
#alapadatok table td{
	padding-left: 10px;
}
#alapadatok table th{
	padding-left: 40px;
	text-align: left;
	text-decoration: underline;
}
.szamcella {
	text-align: right;
	margin-right: 6px;
}
#kalkulacio{
	clear: left;
	padding-top: 40px;
}
#kalkulacio table label{
	font-weight:bold;
}
#kalkulacio table td{
	padding-left: 15px;
}
#szamlaAgentResponse{
	margin-left: 15px;
	background-color: #ff6630;
	color: white;
	font-size: 18px;
}
#szamlaTotal{
	float: right;
	width: 280px;
	font-size: 22px;
	text-align: right;
}

.buttonNice {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
.buttonNice:disabled{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
.buttonBlue {
  background-color: #efefef; 
  color: black; 
  border: 2px solid #008CBA;
}

.buttonBlue:hover {
  background-color: #008CBA;
  color: white;
}
.buttonRed {
  background-color: #efefef; 
  color: black; 
  border: 2px solid #f44336;
}

.buttonRed:hover {
  background-color: #f44336;
  color: white;
}
.buttonRed:hover:disabled {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
.btn {
  background-color: #5B8197;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 4px 6px;
  margin-right: 2px;
  font-size: 14px;
  cursor: pointer;
}
.btn:disabled {
  background-color: #cccccc;
}
/* Darker background on mouse-over */
.btn:hover {
  background-color: #D09302;
}
.btn:hover:disabled {
  background-color: #cccccc;
}

/* Számlakészítés űrlap */

#dialog-szamla #formSzamla {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  margin: 5px auto;
  max-width: 800px;
}

#dialog-szamla table {
  width: 100%;
  border-collapse: collapse;
}

#dialog-szamla td, #dialog-szamla th {
  padding: 4px;
  border: 1px solid #ccc;
}

#dialog-szamla tr.cim {
  background-color: #3a4b65;
  font-weight: bold;
  text-align: center;
  color:#fff;
}

#dialog-szamla tr.tartalom:nth-child(even){
  background-color: #f2f2f2;
}

#dialog-szamla select, #dialog-szamla input[type="text"], #dialog-szamla input[type="checkbox"] {
  font-size: 14px;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 96%;
}

#dialog-szamla select:focus, #dialog-szamla input[type="text"]:focus {
  outline: none;
  border-color: #00bcd4;
}

#dialog-szamla input[type="checkbox"] {
  margin: 0;
  width: auto;
}

#dialog-szamla input[type="submit"] {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #00bcd4;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 20px;
}

#dialog-szamla input[type="submit"]:hover {
  background-color: #007c91;
}

#dialog-szamla input[readonly] {
  background-color: #eee;
}

#dialog-szamla #chkVevoAdoalany {margin-top:8px}
#dialog-szamla #txtSzlaVevoAdoszam {width:94%;float:right}
#dialog-szamla #chkSzlaFizetve {margin-top:8px}
#dialog-szamla #txtSzlaFizDatum {width:94%;float:right}
#dialog-szamla #tetelekTabla input {width:85%;border:none}
#txtSzlaKibocsato {
	margin-left:8px;
	font-size: 16px;
	font-style: italic;
}

.nincsbefizetes{background-color: #f5f52e;}
.nincsszamlazva{background-color: #f5b05c;}
.hibauzenet{background-color: #c51212;color:white}
.sikeruzenet{background-color: #008000;color:white}
.tartozasban{background-color: #e74c3c;}
.dijrendezett{background-color: #28b463;}
.lejaroszerzodes{background-color: #fab989;}
.agyvasarlasiszandek{background-color: #7feede;}
.szamlanincskifizetve{background-color: #f2e07a;}
.kiemelt{background-color: #ff6347;color:white}

#korlevelBody, #korlevelResponse {
	margin-bottom: 15px;
	width: 70%;
}
#korlevelForm select, #korlevelForm input[type="text"] {
	font-size: 16px;
	padding: 3px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 30%;
}
#korlevelForm label {
	font-weight: bold;
	font-size: 18px;
	display: block;
}
#korlevelForm select {
	width: 22%;
}
#korlevelForm input[type="submit"] {
	font-size: 16px;
	padding: 8px;
}
#egyenlegDiv {
	display: flex;
}
.premium-kod {
    margin-left: 8px;
    font-weight: 600;
    color: #a67c00;
    font-size: 0.95em;
    opacity: 0.85;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #2196F3;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #FF5722;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

#uzemmodFelirat {
  margin-left: 0.5em;
  font-weight: bold;
  font-size: 1.1em;
  color: #666666;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.kotelezo::after {
    content: "*";
    color: #800000;
    font-weight: bold;
    margin-left: 3px;
}

.tooltip {
  position: relative;
  cursor: help;
}
.tooltip:hover::after {
  content: attr(data-tooltip);
  white-space: pre-line;
  position: absolute;
  top: 120%;
  left: 0;
  background: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
  text-align: left;
  z-index: 10;
  max-width: 300px;      /*maximális szélesség */
  width: max-content;    /*csak akkor törik, ha \n van benne */
  overflow-wrap: normal; /*nem tör automatikusan szavakat */
}

/* aktiv kölcsönzések oldalon a keresőmező */
.search-wrap {
  position: relative;
  display: inline-block;
  margin-right: 15px;
}
.search-wrap input {
  width: 260px;                   /* ez az a kényelmesebb méret, amit megtartunk */
  padding: 6px 28px 6px 8px;      /* hely a jobb oldali ×-nek */
  box-sizing: border-box;
  border: 1px solid rgba(100,100,100,0.5);
  border-radius: 4px;
  font-size: 14px;
  background-color: rgba(255,255,255,0.8); /* világos, de nem rikító */
  color: #000;
}
/* Finom kék kiemelés fókuszban */
.search-wrap input:focus {
  outline: none; /* ne a böngésző alap kék kerete legyen */
  border-color: #3399ff;
  box-shadow: 0 0 5px rgba(51,153,255,0.5);
  background-color: rgba(255,255,255,0.95);
}
.clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #444;
  opacity: 0.9;
}
.clear-btn:hover {
  color: #000;
  opacity: 1;
}
.search-hint {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
  margin-left: 2px;
  font-style: italic;
}

/********************************************************************************/
/* hosszú szöveges dinamikus kezeléséhez pl. megjegyzések (eladasok.php oldalon)*/
.truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3em;
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}
.truncate.expanded {
  line-clamp: unset;
  -webkit-line-clamp: unset;
  max-height: none !important;
}
._measure {
  line-clamp: unset !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
}
.expand-btn {
  cursor: pointer;
  color: #0645ad;
  font-size: 0.9em;
  border: none;
  background: none;
  padding: 0;
  margin-top: 4px;
  text-decoration: underline;
}
td.notes,
td.addons {
  max-width: 250px;
  vertical-align: top;
  word-break: break-word;
  padding-bottom: 6px;
}
/********************************************************************************/



