@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

body { font-family: 'Poppins', Arial, sans-serif; }

#p_langs { float:right; margin-right:10px; margin-top:2px; }
.text_cont { padding:10px; }

#a_cont{padding-bottom:0px;}

/* ── Login bar ──────────────────────────────────────────── */
.main_log {
    position:relative; float:left; width:100%;
    background:#fff;
    border-bottom:1px solid #f0f0f0;
}
.main_log_log {
    position:relative; float:right;
    padding:10px 14px 6px 0;
}
.main_log_log div {
    position:relative; float:left; margin-left:8px;
}
.main_log_log div input[type=text],
.main_log_log div input[type=password] {
    padding:5px 11px;
    border:1px solid #e0e0e0;
    border-radius:3px;
    font-family:'Poppins',Arial,sans-serif;
    font-size:13px;
    color:#333;
    transition:border-color 0.2s;
    background:#fafafa;
}
.main_log_log div input[type=text]:focus,
.main_log_log div input[type=password]:focus {
    outline:none;
    border-color:#02b30f;
    background:#fff;
}
.main_log_log div button {
    padding:5px 20px;
    font-size:13px; font-weight:600;
    margin: 12px 8px 0px 0px;
    background:#028a0c; color:#fff;
    border:none; border-radius:3px;
    cursor:pointer;
    font-family:'Poppins',Arial,sans-serif;
    transition:background 0.18s, transform 0.15s;
    box-shadow: 0px 0px 2px #555;
    -moz-box-shadow: 0px 0px 2px #555;
    -webkit-box-shadow: 0px 0px 2px #555;
}
.main_log_log div button:hover {
    background:#02b30f;
    /*transform:translateY(-1px);*/
}
.main_log_left {
    position:relative; float:left;
    width:calc(100% - 20px);
    padding:3px 10px 10px;
    text-align:right;
    font-size:12.5px;
}
.main_log_left a { text-decoration:none; }

#a_logo{margin-bottom:0px}

/* ── Brand text colors ──────────────────────────────────── */
.green_text  { color: #02b30f; }
.yellow_text { color: #e5a900; }

/* ── Base section ───────────────────────────────────────── */
.section {
    position:relative; float:left;
    width:100%;
    padding:65px 30px;
    text-align:center;
    box-sizing:border-box;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
    /*background:linear-gradient(145deg, #f1fff3 0%, #fffef4 55%, #f1fff3 100%);*/
    padding:80px 30px 90px;
    overflow:hidden;
}
.hero-section::before {
    content:'';
    position:absolute; top:-130px; right:-90px;
    width:520px; height:520px; border-radius:50%;
    /*background:radial-gradient(circle, rgba(2,179,15,0.09) 0%, transparent 65%);*/
    pointer-events:none;
}
.hero-section::after {
    content:'';
    position:absolute; bottom:-90px; left:-70px;
    width:400px; height:400px; border-radius:50%;
    /*background:radial-gradient(circle, rgba(229,169,0,0.08) 0%, transparent 65%);*/
    pointer-events:none;
}
.hero-content {
    position:relative; z-index:1;
    max-width:680px; margin:0 auto;
}
.hero-badge {
    display:inline-block;
    background:rgba(2,179,15,0.1);
    color:#000;
    border:1px solid rgba(2,179,15,0.22);
    border-radius:50px;
    padding:5px 18px;
    font-size:13px; font-weight:600; letter-spacing:0.3px;
    margin-bottom:22px;
}
.hero-section h1 {
    font-family:'Poppins',Arial,sans-serif;
    font-size:2em; font-weight:800; line-height:1.4;
    color:#363636; margin:0 0 18px;
}
.hero-section h1 em {
    font-style:normal; color:#363636;
}
.hero-subtitle {
    font-size:1.05em; color:#4e6651; line-height:1.7;
    margin:0 auto 38px; max-width:560px;
}
.hero-ctas {
    display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
}

/* ── Features ───────────────────────────────────────────── */
.features-section {
    background:#fff;
    padding:70px 30px;
}
.features-section h2 {
    font-family:'Poppins',Arial,sans-serif;
    font-size:1.75em; font-weight:700; color:#1a2e1b;
    margin:0 0 42px;
}
.features-grid {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    max-width:800px; margin:0 auto;
    text-align:left;
}
.feature-card {
    background:#fff;
    border:1.5px solid #e2f5e3;
    border-radius:18px;
    padding:28px 24px;
    box-shadow:0 2px 12px rgba(2,179,15,0.06);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform:translateY(-5px);
    box-shadow:0 12px 32px rgba(2,179,15,0.13);
}
.feature-icon {
    font-size:2.1em; line-height:1; margin-bottom:14px;
}
.feature-card h3 {
    font-size:1em; font-weight:700; color:#1a2e1b; margin:0 0 8px;
}
.feature-card p {
    font-size:0.88em; color:#5a7060; line-height:1.6; margin:0;
}

/* ── For whom ───────────────────────────────────────────── */
.for-section {
    background:linear-gradient(180deg, #f5fef6 0%, #fdfffe 100%);
    padding:70px 30px;
}
.for-section h2 {
    font-family:'Poppins',Arial,sans-serif;
    font-size:1.75em; font-weight:700; color:#1a2e1b;
    margin:0 0 38px;
}
.for-grid {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
    max-width:800px; margin:0 auto;
    text-align:left;
}
.for-item {
    display:flex; align-items:flex-start; gap:13px;
    background:#fff;
    border-radius:14px;
    padding:18px 20px;
    box-shadow:0 2px 10px rgba(2,179,15,0.07);
}
.for-check {
    flex-shrink:0;
    width:23px; height:23px;
    background:#02b30f; color:#fff;
    border-radius:50%;
    font-size:0.78em; font-weight:700;
    display:flex; align-items:center; justify-content:center;
    margin-top:1px;
}
.for-item > span:last-child {
    color:#4a5e4b; font-size:0.9em; line-height:1.55;
}

/* ── Final CTA ──────────────────────────────────────────── */
.cta-final-section {
    /*background:linear-gradient(135deg, #03d612 0%, #02b30f 45%, #028a0c 100%);*/
    background:#fff;
    padding:75px 30px;
    color:#02b30f;
}
.cta-final-section h2 {
    font-family:'Poppins',Arial,sans-serif;
    font-size:2em; font-weight:800; color:#363636; margin:0 0 10px;
}
.cta-final-section p {
    font-size:1em; color:#4e6651; margin:0 0 32px;
}

/* ── Buttons (new) ──────────────────────────────────────── */
.cta-btn {
    display:inline-block;
    padding:10px 32px;
    font-size:0.97em; font-weight:600;
    font-family:'Poppins',Arial,sans-serif;
    text-decoration:none;
    border-radius:50px;
    transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
    letter-spacing:0.2px;
    cursor:pointer;
}
.cta-btn-primary {
    background:#02b30f; color:#fff;
    line-height: 27px;
    box-shadow:0 4px 18px rgba(2,179,15,0.34);
}
.cta-btn-primary:hover {
    background:#029b0d;
    transform:translateY(-2px);
    box-shadow:0 8px 26px rgba(2,179,15,0.44);
    color:#fff;
}
.cta-btn-recipes {
    background:#df7304; color:#fff;
    line-height: 27px;
    box-shadow:0 4px 18px rgba(223,115,4,0.34);
}
.cta-btn-recipes:hover {
    background:#c86800;
    transform:translateY(-2px);
    box-shadow:0 8px 26px rgba(223,115,4,0.44);
    color:#fff;
}
/* Naptár-demo gomb (arany #e5a900) */
.cta-btn-cal {
    background:#e5a900; color:#fff;
    line-height: 27px;
    box-shadow:0 4px 18px rgba(229,169,0,0.34);
}
.cta-btn-cal:hover {
    background:#cc9600;
    transform:translateY(-2px);
    box-shadow:0 8px 26px rgba(229,169,0,0.44);
    color:#fff;
}
/* Bevásárlólista-demo gomb (kék #4f9eff) */
.cta-btn-shop {
    background:#4f9eff; color:#fff;
    line-height: 27px;
    box-shadow:0 4px 18px rgba(79,158,255,0.34);
}
.cta-btn-shop:hover {
    background:#3d8ce8;
    transform:translateY(-2px);
    box-shadow:0 8px 26px rgba(79,158,255,0.44);
    color:#fff;
}
/* Két CTA-gomb egymás mellett: térköz (mobilon egymás alá tördelve is) */
.cta-final-section .cta-btn { margin:6px 7px; }
.cta-btn-outline {
    background:transparent; color:#02b30f;
    border:2px solid rgba(2,179,15,0.7);
}
.cta-btn-outline:hover {
    background:rgba(2,179,15,0.07);
    border-color:#02b30f;
    transform:translateY(-2px);
    color:#02b30f;
}
.cta-btn-white {
    background:#fff; color:#02b30f; font-weight:700;
    box-shadow:0 4px 18px rgba(0,0,0,0.12);
}
.cta-btn-white:hover {
    background:#f0fff1;
    transform:translateY(-2px);
    box-shadow:0 8px 28px rgba(0,0,0,0.18);
    color:#02b30f;
}

/* ── Legacy buttons (más oldalakon) ────────────────────── */
.cta-button {
    display:inline-block; padding:14px 30px; margin-top:20px;
    font-size:1em; text-decoration:none; color:#fff;
    background:#02b30f; border-radius:50px; transition:0.2s;
}
.cta-button:hover { background:#028a0c; }
.cta-button_y {
    display:inline-block; padding:14px 30px; margin-top:20px;
    font-size:1em; text-decoration:none; color:#fff;
    background:#e5a900; border-radius:50px; transition:0.2s;
}
.cta-button_y:hover { background:#cf9800; transform:translateY(-2px); }
.cta-button_w {
    display:inline-block; padding:14px 30px; margin-top:20px;
    font-size:1em; text-decoration:none;
    background:#fff; border-radius:50px; transition:0.2s;
}
.cta-button_w:hover { background:#f0ffe0; transform:translateY(-2px); }



/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
    .features-grid { grid-template-columns:1fr; max-width:500px; }
    .for-grid      { grid-template-columns:1fr; max-width:500px; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size:2.1em; }
    .hero-section     { padding:55px 20px 65px; }
    .features-section,
    .for-section,
    .cta-final-section { padding:55px 20px; }
    .section { padding:50px 20px; }
}

@media (max-width: 720px) {
    .main_log_log { float:left; width:100%; padding:10px 0 4px; }
    .main_log_log div label { display:none; }
    .main_log_left { text-align:left; }
}

@media (max-width: 660px) {
    #a_cont { margin-top:90px; }
}

@media (max-width: 555px) {
    .main_log_log div input[type=text],
    .main_log_log div input[type=password] { width:100px; }
    .main_log_log div button { padding:5px 14px; }
    .hero-section h1 { font-size:1.75em; }
    .hero-subtitle { font-size:0.95em; }
    .hero-ctas { flex-direction:column; align-items:center; }
    .cta-btn { width:220px; text-align:center; }
    .cta-final-section h2 { font-size:1.5em; }
}



/* ══════════════════════════════════════════════════════════
   AUTH PAGES (login, reg, forgotpass, forgcode, regvalidation)
   ══════════════════════════════════════════════════════════ */

.pub-form-wrap {
    float: none;
    width: 100%;
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f1fff3 0%, #fffef4 100%);
    padding: 50px 20px;
    box-sizing: border-box;
}

/* Override the green banner .a_title */
.pub-form-wrap .a_title {
    background: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    border: none !important;
    color: #1a2e1b !important;
    font-size: 1.55em !important;
    font-weight: 800 !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    float: none !important;
    text-align: center;
    width: 100%;
    max-width: 380px;
}

.pub-form-wrap .a_form_div {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(2,179,15,0.10), 0 2px 14px rgba(0,0,0,0.06);
    padding: 36px 36px 32px;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.pub-form-wrap .a_form_row label {
    margin-top: 14px !important;
    margin-bottom: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5e4b;
    font-family: 'Poppins', Arial, sans-serif;
}

.pub-form-wrap .a_form_row input[type=text],
.pub-form-wrap .a_form_row input[type=password] {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 10px 13px !important;
    width: calc(100% - 26px) !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 14px !important;
    background: #fafafa !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    transition: border-color 0.2s, background 0.2s;
}

.pub-form-wrap .a_form_row input[type=text]:focus,
.pub-form-wrap .a_form_row input[type=password]:focus {
    outline: none !important;
    border-color: #02b30f !important;
    background: #fff !important;
}

.pub-form-wrap .a_form_row a {
    color: #02b30f;
    font-size: 13px;
    font-family: 'Poppins', Arial, sans-serif;
    text-decoration: none;
}

.pub-form-wrap .a_form_row a:hover { text-decoration: underline; }

.pub-form-wrap .a_form_submit button {
    background: #02b30f !important;
    border-radius: 50px !important;
    padding: 13px 0 !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    box-shadow: 0 4px 18px rgba(2,179,15,0.32) !important;
    -webkit-box-shadow: 0 4px 18px rgba(2,179,15,0.32) !important;
    -moz-box-shadow: 0 4px 18px rgba(2,179,15,0.32) !important;
    transition: background 0.18s, transform 0.15s !important;
    margin-top: 28px !important;
}

.pub-form-wrap .a_form_submit button:hover {
    background: #028a0c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 26px rgba(2,179,15,0.42) !important;
}

/* ══════════════════════════════════════════════════════════
   LEGAL / TEXT PAGES (privacy, cookie_policy, dsa)
   ══════════════════════════════════════════════════════════ */

.pub-text-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 30px 64px;
}

.pub-text-page h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.65em;
    font-weight: 800;
    color: #1a2e1b;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2f5e3;
}

.pub-text-page h3 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.98em;
    font-weight: 700;
    color: #02870c;
    margin: 28px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pub-text-page p {
    color: #4a5e4b;
    line-height: 1.78;
    margin: 0 0 12px;
}

.pub-text-page ul {
    color: #4a5e4b;
    line-height: 1.78;
    padding-left: 22px;
    margin-bottom: 14px;
}

.pub-text-page li { margin-bottom: 6px; }
.pub-text-page a { color: #02b30f; }
.pub-text-page strong { color: #2a3e2b; }

.pub-text-page code {
    background: #f0f7f0;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.87em;
    color: #2a5e2b;
}

/* ══════════════════════════════════════════════════════════
   OURSELVES PAGE
   ══════════════════════════════════════════════════════════ */

.pub-ourselves-wrap {
    float: left;
    width: 100%;
}

.pub-ourselves-wrap section.section {
    text-align: left;
    padding: 60px 30px;
    width: 100%;
    box-sizing: border-box;
}

.pub-ourselves-wrap .ourselves-hero {
    background: linear-gradient(145deg, #f1fff3 0%, #fffef4 100%);    
}

.pub-ourselves-wrap section.section h1 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.6em;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 16px;
}

.pub-ourselves-wrap section.section h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.45em;
    font-weight: 700;
    margin: 0 0 18px;
}

.pub-ourselves-wrap section.section p {
    color: #4a5e4b;
    line-height: 1.75;
    margin: 0 0 10px;
    max-width: 780px;
}

.pub-ourselves-wrap .ourselves-hero p {
    max-width: 620px;
    margin: 0 auto 10px;
}

.pub-ourselves-wrap section.section ul {
    list-style: none;
    padding: 0;
    display: block;
    max-width: 780px;
}

.pub-ourselves-wrap section.section li {
    position: relative;
    padding: 11px 16px 11px 42px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.75);
    color: #4a5e4b;
    line-height: 1.55;
    box-shadow: 0 1px 6px rgba(2,179,15,0.06);
}

.pub-ourselves-wrap section.section li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 11px;
    color: #02b30f;
    font-weight: 700;
    font-size: 0.9em;
}

.pub-ourselves-wrap section.section.gray {
    background: linear-gradient(180deg, #f5fef6 0%, #fdfffe 100%);
}

.pub-ourselves-wrap .section-content {
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pub-form-wrap { padding: 30px 16px; min-height: 50vh; }
    .pub-form-wrap .a_form_div { padding: 28px 22px 24px; }
    .pub-text-page { padding: 36px 20px 48px; }
    .pub-ourselves-wrap section.section { padding: 45px 20px; }
}

/* ══════════════════════════════════════════════════════════
   PUBLIC HEADER (scoped to body.pub-page)
   ══════════════════════════════════════════════════════════ */

body.pub-page #a_header {
    border-bottom: 1px solid #edf0ec;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden; /* clearfix */
    min-height: 54px;
}

/* Logo: 180px + 5px padding mindkét oldal = 190px */
body.pub-page #a_logo {
    width: 180px;
    padding: 4px 5px;
}

/* Login wrapper a headerben */
.pub-header-login { float: right; }
.pub-header-login .main_log_log { float: right; width: auto; padding: 0; }
.pub-header-login .main_log_left {
    float: right;
    width: auto;
    white-space: nowrap;
    height: 54px;
    line-height: 54px;
    text-align: center;
    padding: 0 10px 0 0;
    font-size: 13px;
    color: #fff;
}

/* Bejelentkezés dropdown – az #a_header alatt, fixed */
.pub-hdr-login-drop {
    position: absolute;
    top: 54px;
    right: 0;
    width: 290px;
    background: #fff;
    border: 1px solid #d5d5d5;
    /*border-left: 1px solid #edf0ec;*/
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    padding: 16px 18px 14px;
    z-index: 200;
    box-sizing: border-box;
}

.pub-hdr-login-drop-label{width:100%; text-align:center; margin-bottom:10px; font-family: 'Poppins', Arial, sans-serif;}

/* Beléptető panel nyitva: #a_cont enyhén kiszürkül, hogy a panel jobban kiemelődjön (záráskor vissza) */
#a_cont::after{ content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.10); opacity:0; pointer-events:none; -webkit-transition:opacity .2s ease; transition:opacity .2s ease; z-index:100; }
body.pub-login-open #a_cont::after{ opacity:1; }

/* Beléptető drop: regisztráció + elfelejtett jelszó a Google alatt, egymás alá (header-színek) */
.hdr-login-links{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin-top:12px; padding-top:14px; border-top:1px solid #ececec; }
.hdr-login-links a{ font-size:13px; text-decoration:none; font-weight:bold; }
.hdr-login-links a:hover{ text-decoration:none; }
/* a .pub-form-wrap .a_form_row a (zöld) felülírná a szín-osztályokat → itt visszavesszük */
.hdr-login-links a.green_text{ color:#02b30f !important; }
.hdr-login-links a.yellow_text{ color:#e5a900 !important; }

/* Elfelejtett jelszó: elküldés után a form helyén maradó (nem elhalványuló) zöld üzenet */
.forg-sent-msg{ margin:10px 0; padding:16px 20px; text-align:center; border-radius:8px; background:#86c974; color:#fff; font-weight:bold; font-size:14px; line-height:1.5; box-shadow:0 3px 14px rgba(0,0,0,0.12); box-sizing:border-box; }
.forg-link-error{ background:#db7676; }  /* lejárt/érvénytelen jelszó-link figyelmeztetés (piros) */

/* Jelszó felfedés (show/hide password toggle) – szem-ikonos gomb a mezőn belül jobbra */
.pw-wrap{ position:relative; display:block; }
.pw-wrap .pw-toggle{ position:absolute; top:50%; right:8px; -webkit-transform:translateY(-50%); transform:translateY(-50%); width:30px; height:30px; display:flex; align-items:center; justify-content:center; background:none; border:none; padding:0; margin:0; cursor:pointer; color:#9aa0a6; box-shadow:none; -webkit-box-shadow:none; -moz-box-shadow:none; }
.pw-wrap .pw-toggle:hover{ color:#555; background:none; }
.pw-wrap .pw-toggle svg{ width:19px; height:19px; pointer-events:none; }
.pw-wrap .pw-toggle .pw-eye-off{ display:none; }
.pw-wrap .pw-toggle.pw-on .pw-eye{ display:none; }
.pw-wrap .pw-toggle.pw-on .pw-eye-off{ display:block; }
input[type=password]::-ms-reveal, input[type=password]::-ms-clear{ display:none; }
/* /registration + /forgcode: a wrap kapjon saját szélességet, hogy a szem-ikon a helyére kerüljön */
.pub-page-registration .pw-wrap, .pub-page-forgcode .pw-wrap, .pub-page-login .pw-wrap{ float:left; width:100%; }

.hdr-login-field {
    margin-bottom: 17px;
}
.hdr-login-field label {
    display: block;
    margin-bottom: 4px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4a5e4b;
}
.hdr-login-field input[type=text],
.hdr-login-field input[type=password] {
    width: 100%;
    padding: 7px 11px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.hdr-login-field input[type=text]:focus,
.hdr-login-field input[type=password]:focus {
    outline: none;
    border-color: #02b30f;
    background: #fff;
}
.hdr-login-field button {
    width: 100%;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.hdr-login-google {
    margin-top: 10px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}
.hdr-login-google .google-hdr-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: #3c4043;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #dadce0;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
}

@media (max-width: 1022px) {
    body.pub-page #a_header { padding-bottom: 0px; }
    #a_logo { margin-bottom: 10px; }
}


/* Remove legacy fixed header + margin-top on mobile */
@media only screen and (max-width: 660px) {
    body.pub-page #a_header { position: static; }
    body.pub-page #a_cont   { margin-top: 0 !important; }
}

@media (max-width: 600px) {
	.pub-header-login{float:left; width:calc(100% - 6px); padding-left:6px; margin-top: -15px;}
	.pub-header-login2{float:right; width: 100%;}	
	.pub-header-login .main_log_left{float:left; height: 44px; line-height: 41px;}
	.main_log_log div button{margin-top: 2px;}
	.pub-hdr-login-drop{top: 83px;}
}	

@media (max-width: 500px) {
	.main_log_log div { width: calc(48% - 47px); }
	.log_b_div{width: 80px !important;}
    .main_log_log div input[type=text],
    .main_log_log div input[type=password] { width: calc(100% - 25px) !important; }       
}

@media (max-width: 400px) {
	.pub-hdr-login-drop{width: 100%;}
}