 html {
	margin: 0px;
	padding: 0px;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(to bottom, #ffe6e6, #fff);
	  margin: 0;
            padding: 0;
            color: #000;
  
}
  
#header { 
	background:#c40024;
	display:inline-block;
	width:1004px;
	position:fixed;
	top:0;
	height:155px;
	line-height:60px;
 	z-index:999;
 border-radius: 10px; /* Lekerekítés */
	}

#header h1, #header h2 { 
	color:#FFF;
	display:inline-block;
	float:left;
	padding:0;
	margin:0;
	font-size:18px;}
 
#logo {
	float:left;
	margin:5px 10px 0px 5px}

 

form {
	margin:0;
	padding:0;
}

input, select, textarea, button {
	outline:none;
	margin:0;
}

::-webkit-input-placeholder {
	color: #C00;
}

:-moz-placeholder {  
	color: #C00;  
}

::-moz-placeholder {  
	color: #C00;  
}

:-ms-input-placeholder {  
	color: #C00;  
}

 

#login_box { 
	float:right; 
	height:60px;
	line-height:60px;
	margin:0px 10px 0px 0px;
}

#login_box input {
	line-height:22px;
	padding:5px;
	font-size:14px;
	background:#FFF;
	color:#ff4d4d;
	border:none;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;

}

#login_box input[type=submit] {
	line-height:22px;
	height:34px;
	padding:5px;
	font-size:14px;
	background:#D00;
	color:#FFF;
	cursor:pointer;
	border-radius:3px;
	text-decoration:none;
	display:inline-block;
}
#login_box .exit { 
 
	line-height:22px;
	padding:5px;
	font-size:14px;
	background:#D00;
	color:#FFF;
	cursor:pointer;
	border-radius:3px;
	text-decoration:none;
	display:inline-block;
}
#login_box input[type=submit]:hover, #login_box .exit:hover {
	background:#FFF;
	color:#C00;
}


 

 
.redbackground { background:#ff4d4d;}
a {
	color: #fff;
	background-color: inherit;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
   
}

span {
	display: none;
}

img {
	border: none;
}

ul {
	list-style-type: none;
	padding:0;
	margin:0;
}

li {
	list-style-type: none;
	padding:0;
	margin:0;

}

p {
	padding: 7px 0px 8px;
	text-align: justify;
}
 

.clearthis {
	display:block; 
	clear:both;
}

#body_wrapper {

	margin: 0 auto;
	width: 1004px;
border-radius: 10px; /* Lekerekítés */
	
}

  
/* Page Header */

#page_header {
    background-color: #ff4d4d;
    height: 185px;
    border-radius: 30px; /* Lekerekítés */
}
 

 
/* Center Column */

 

#centercolumn_2 {
 
	margin: 8px auto;
	width: 1004px;
	text-align: left;
 margin-top: 60px; 
}

#centercolumn a {
	color: #333;
	background-color: inherit;
}

#centercolumn a:hover {
	text-decoration: none;
}
 
/* Center Column News Box */

.newsbox {
	margin-bottom: 5px;
	width: 100%;
	 
}

.newsbox_header {
	padding: 20px 10px 5px;
	height: 22px;
margin-top: 20px;
}

.newsbox_header h2 { 
	color:#900;
	margin:0;
	font-size: 23px;
	line-height:21px;
	display:block;
	font-weight: bold;
	letter-spacing:1px;
	padding:5px 15px;
	background:#F4F4F4;
	border-radius:3px;

}
.newsbox_header h2:before {
  content: ' ♥ ';
}

.newsbox_header strong {
	float: right;
}

.newsbox_content {
font-size: 20px; 
	padding: 0px 10px;
	border-bottom:1px dotted #DDD;
margin-top: 20px;
 }

.form-box {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 20px;
  font-family: Arial, sans-serif;
}

.form-box h3 {
  color: #d00;
  text-align: center;
  margin-bottom: 15px;
}

.form-box textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border: 2px solid #d00;
  border-radius: 10px;
  padding: 10px;
  font-size: 15px;
  color: #111;
  outline: none;
  background: #fffafa;
  transition: all 0.3s ease;
}

.form-box textarea:focus {
  border-color: #900;
  background: #fff;
  box-shadow: 0 0 8px rgba(200,0,0,0.3);
}

.form-box input[type="file"] {
  margin-top: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px;
  width: 100%;
  background: #fefefe;
}

.form-box .button {
  margin-top: 15px;
  width: 100%;
  background: #d00;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-box .button:hover {
  background: #900;
  transform: scale(1.02);
}



.newsbox_content h4 {
	padding-left: 20px;
	width: 430px;
	float: left;
	font-size: 10px;
	font-weight: bold;
}




.newsbox_comments a {
	text-decoration: none;
}

.newsbox_comments a:hover {
	color: #959595;
	background-color: inherit;
}


 
 

 



 

/* Page Footer */

#page_footer {
	margin-left: 229px;
	margin-right: 222px;
	margin-top:2px;
	border-radius:3px;
	padding: 5px;
	width: 1004px;
	text-align: center;
	color: #fff;
	background-color: rgba(160,0,0,.7);;
	position: relative; 
 border-radius: 10px;
 
}
#page_footer a {
	background: none;
	font-weight:bold;
}


 
 
 

 
option {
 color: #FFFFFF;
 background-color: #666666;
  font-size: 12px;
 border-radius:2px;
 line-height:20px;
 padding:4px 10px;
}
 
label {
    display: block;
    width: 150px;
    float: left;
    margin: 2px 4px 6px 4px;
    text-align: right;
}
br { clear: left; }

#page_header {
	background-color:#a20119;
	width: 775px;
	height: 85px;
}

 

/* Egységes, középre igazított oldalszélesség */
#header,
#mainnav,
#centercolumn_2,
#page_footer {
  width: 1004px;
  margin: 0 auto;
  display: block;
}

 
/* Tartalom lejjebb tolása, hogy a fix nav ne takarja */
#centercolumn_2 {
  margin-top: 160px;
}

/* Footer középre igazítása, ne lógjon ki */
#page_footer {
  margin: 20px auto;
}
/* Egységes, középre igazított oldalszélesség */
#header,
#mainnav,
#centercolumn_2,
#page_footer {
  width: 1004px;
  margin: 0 auto;
  display: block;
}

/* A mainnav fix maradjon, de ne lógjon ki a szélességből */
 

/* Tartalom lejjebb tolása, hogy a fix nav ne takarja */
#centercolumn_2 {
  margin-top: 160px;
}

/* Footer középre igazítása, ne lógjon ki */
#page_footer {
  margin: 20px auto;
}

  /* === ULTRA-MOBIL TIPÓ (TELÓ APP STÍLUS) === */
@media (max-width: 1004px) {

  /* Globális alap: extra nagy szöveg */
  html { font-size: 22px; }             /* volt 17-18 → most 21px alapszint */
  body { line-height: 1.6; font-weight: 500; }

  /* Felhasználónév, kártyacím, kiemelt elemek */
  .usr, .card .usr, .post-user {
    font-size: 1.5rem;                  /* kb. 25-26px */
    font-weight: 800;                   /* nagyon vastag */
  }

  /* Meta infók (kor, város, távolság) */
  .meta {
    font-size: 1.3rem;                  /* kb. 22px */
    font-weight: 700;
  }

  /* Poszt és komment szövegek */
  .post-text,
  .comment-text,
  .cmt-body {
    font-size: 1.35rem;                 /* kb. 23-24px */
    font-weight: 600;
  }

  /* Űrlapmezők – nagy, érintőbarát */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    font-size: 19px;
    font-weight: 600;
    padding: 15px 18px;
    line-height: 1.45;
  }

  /* Gombok – vastag, nagy, könnyen nyomható */
  .btn,
  .button,
  .like-btn,
  .cmt-toggle {
    font-size: 1.3rem;                  /* kb. 22px */
    font-weight: 800;
    padding: 16px 20px;
    min-height: 52px;                   /* magas tap-area */
    border-radius: 12px;
  }

  /* Általános kártya / doboz belső padding */
  .card,
  .feed-item,
  .results-wrap .card {
    padding: 18px 16px;
  }

  /* Biztonság: ne lógjon ki semmi oldalra */
  .results-wrap, .feed-wrap, .form-box, .newsbox_content, .centercolumn_2 {
    max-width: 95% !important;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Extra boost: nagyon kis kijelzők (iPhone SE, régi Android) */
@media (max-width: 480px) {

  html { font-size: 22px; }             /* ~24-25px vizuális */
  .usr { font-size: 1.6rem; }           /* kb. 26-28px */
  .meta, .post-text { font-size: 1.4rem; }
  .btn, .button, .like-btn { font-size: 1.35rem; padding: 18px; }
  .form-box textarea { min-height: 180px; }
}

/* ===== Alapszínek változókban ===== */
:root{
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #dddddd;
  --primary: #A21119;     /* márkapiros */
  --primary-strong: #600; /* hover/árnyalat */
}



/* ===== Általános felülírások (minimális, de átfogó) ===== */
body{ background: var(--bg); color: var(--text); }

/* kártyák / dobozok */
.card, .form-box, .results-wrap .card, .feed-item, .newsbox_content, .dbwrap .box{
  background: var(--card) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

/* cím/név/meta */
.usr{ color: var(--text); }
.meta{ color: var(--muted); }

/* gombok */
.btn, .button, .like-btn, .cmt-toggle{
  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary-strong) !important;
}
.btn:hover, .button:hover, .like-btn:hover, .cmt-toggle:hover{
  background: var(--primary-strong) !important;
}

/* linkek */
a{ color: var(--primary); }
a:hover{ color: var(--primary-strong); }

/* inputok */
input[type="text"], input[type="password"], input[type="email"], select, textarea{
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
input::placeholder, textarea::placeholder{ color: var(--muted); }

/* nav (ha használod a fix top navot) */
#tl-topnav{ background: var(--primary); border-bottom: 3px solid var(--primary-strong); }
#tl-topnav .tl-links > li:hover{ background: var(--primary-strong); }
#tl-topnav .tl-brand, #tl-topnav .tl-links a{ color:#fff; }

/* like-számláló láthatóság fix marad darkban is */
.feed-wrap .like-btn .like-count{ color:#fff !important; }

 

@media (max-width: 1004px) {
  .newsbox_content {
    font-size: 35px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
  }
.newsbox_content h4 {
	padding-left: 20px;
	width: 430px;
	float: left;
	font-size: 35px;
	font-weight: bold;
}
}
/* === TELJES KÉPERNYŐS ELRENDEZÉS — KIS OLDALSZEGÉLY === */

#body_wrapper,
#header,
#mainnav,
#centercolumn_2,
#page_footer {
    width: calc(100% - 40px);   /* két oldalt 20-20px */
    max-width: 1600px;          /* opcionális: ne nyúljon végtelenre */
    margin: 0 auto;
    display: block;
}

/* Header fix pozíció javítása */
#header {
    left: 50%;
    transform: translateX(-50%);
}

/* Navigáció is középen maradjon */
 

/* Tartalom – ne lógjon ki a nav miatt */
#centercolumn_2 {
    margin-top: 180px; /* picit több hely a nav alatt */
}

.reg-btn-full {
    display: block;
    width: 100%;
    background: #ff4d4d;      /* piros */
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 24px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    border: 3px solid #a80000;
    margin: 15px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.2s ease;
}

.reg-btn-full:hover {
    background: #d60000;
    transform: scale(1.02);
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .reg-btn-full {
        font-size: 28px;
        padding: 20px 0;
        border-radius: 16px;
        width: 100%;
    }
}

 /* MENÜ – halvány világos overlay a sötétpiros header alatt */
#mainnav {
    list-style: none;
    margin: 0;
    width: 100%;

    /* Finom világos sáv, sötétpiros háttérhez igazítva */
    background: rgba(255,255,255,0.12);
    padding: 12px 25px;

    display: flex;
    justify-content: flex-start;
    gap: 20px;

    /* finom fehér elválasztó vonal alul */
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Listaelemek */
#mainnav li {
    display: inline-block;
}
#mainnav li a::before {
    content: "❤";
    font-size: 18px;
    margin-right: 6px;
    position: relative;
    top: -1px;   /* pici függőleges igazítás, hogy szép legyen a sorban */
}
/* Menü linkek */
#mainnav li a {
    display: inline-block;
    font-size: 20px;       /* nagy, elegáns betűk */
    font-weight: bold;
    color: #ffffff;        /* fehér betű a piros headeren */
    text-decoration: none;
    padding: 4px 8px;
    transition: 0.15s ease;
}

/* Hover */
#mainnav li a:hover {
    color: #ffe3ed;        /* nagyon világos rózsaszín – szép highlight */
}

 

/* ===== FŐ MENÜ ALAP ===== */
nav ul#mainnav{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    flex-wrap: nowrap; /* asztalin 1 sor */
}

nav ul#mainnav li{
    white-space: nowrap;
}

/* ===== MOBIL: 2 SOROS MENÜ ===== */
@media (max-width: 520px){
    nav ul#mainnav{
        flex-wrap: wrap;           /* <-- EZ A LÉNYEG */
        justify-content: center;
    }

    nav ul#mainnav li{
        flex: 0 0 auto;
    }

    nav ul#mainnav a{
        font-size: 14px;
        padding: 6px 8px;
    }
}


/* Konténer */
.conv-list {
    padding: 0;
    margin: 0;
}

/* Egy beszélgetés-sor */
.conv-row {
    border-bottom: 1px solid #e0e0e0;
}

/* Kattintható sor */
.conv-row a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #222;
    background: #fff;
}

/* Hover */
.conv-row a:hover {
    background: #f7f7f7;
}

/* Avatar */
.conv-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-right: 10px;
}

/* Szöveges rész */
.conv-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Partner neve */
.conv-info b {
    font-size: 15px;
    color: #222;
}

 

/* Olvasatlan jelzés */
 

/* Kicsit jobban kiemelt stílus olvasatlan beszélgetésnek */
.conv-row.unread a {
    background: #fff2f2;
}
.ido {
    display: block !important;
    color: #444 !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.unread-badge {
    display: inline-block !important;
    background: #ff0033 !important;
    color: #ffffff !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    margin-top: 3px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

.kedvenc-list {
    padding: 0;
    margin: 10px 0;
}

.kedvenc-row {
    border-bottom: 1px solid #e0e0e0;
}

.kedvenc-link {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #222;
    background: #fff;
}

.kedvenc-link:hover {
    background: #f4f4f4;
}

.kedvenc-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #ddd;
}

.kedvenc-info b {
    font-size: 15px;
    color: #222;
}

.kedvenc-msg {
    font-size: 12px;
    color: #777;
}

.notif-badge {
  display: inline-block;
  height: 14px;
  line-height: 14px;
  padding: 0 6px;

  margin-left: 4px;
  border-radius: 10px;

  background: #ffffff;
  color: #cc0000;
  border: 1px solid #ff4d6d;

  font-size: 11px;
  font-weight: bold;

  position: relative;
  top: -1px;

  animation: notif-pulse-strong 1.1s infinite ease-in-out;
}

@keyframes notif-pulse-strong {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 80, 0.8);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 12px 6px rgba(255, 0, 80, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 80, 0);
  }
}




