/* Lina2 overrides on top of the classic 3-column theme (all.css). */

/* header / logo: logo image comes from Admin > Brand */
.logo { background: none; }
.logo img { margin: 0; }

/* logged-in box */
#userBox h4 { overflow: hidden; color: #f2e69f; font-size: 14px; padding: 0 20px; text-shadow: 1px 1px 3px #000; }
#userBox .ub-name { float: left; }
#userBox .ub-ep { float: right; color: #ffd86b; }
#userBox form.inline { display: block; margin: 0; }
#userBox button.nav-box-btn { border: 0; background-color: transparent; background-repeat: no-repeat; cursor: pointer; font: inherit; color: #6b2a0c; box-sizing: border-box; }
.stepdown { list-style: none; }

/* left menu */
.main-nav li.lbl span { display: block; margin: 6px 0 2px; color: #fef6aa; font-weight: bold; font-size: 11px; text-align: center; opacity: .8; }
.main-nav li.sub a { font-size: 11px; height: 22px; padding-top: 6px; opacity: .9; }
.main-nav li.active a { background-position: 0 -34px; color: #fffde8; }

/* right column lists */
.form-score .val { float: right; margin-right: 8px; color: #6b2a0c; }
.form-score ul li { overflow: hidden; }
.side-login { text-align: center; margin: 10px 0; }

/* text colours: dark red-brown on parchment (was blue), gold on dark red */
.btn, .button, .dyn-button, .nav-box-btn, .form-score .btn, .back-btn-news { color: #f2e69f; text-shadow: 1px 1px 2px #000; }
.btn:hover, .button:hover, .nav-box-btn:hover { color: #fff; }
#footer ul li, #footer ul li a { color: #f2e69f; }
#footer ul li a:hover { color: #fff; }
.main-nav li a, .modul-box h3 { color: #fef6aa; }
.form-score ul li a, .form-score .val { color: #6b2a0c; }
.content h2, .box h2, .inner-content h3 { color: #7b1300; }
.password, .agbok a { color: #7b1300; font-weight: bold; }

/* page background: pattern only behind the content area, plain black below the footer (no repeat when the page is short) */
html, body { background: #000; }
.container-wrapper { background: url(../img/container-bg-top.jpg) no-repeat 50% 0, url(../img/container-bg.jpg) repeat-y 50% -253px; }

/* sidebar list numbers: keep inside the frame */
.form-score .val { margin-right: 20px; }

/* cookie banner (assets/consent.js) */
.cc { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; padding: 14px 16px; background: #1a110c; color: #e8dcc8; border: 2px solid #e0b04a; border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, .7); font: 14px/1.45 "Segoe UI", Arial, sans-serif; text-align: left; }
.cc p { flex: 1 1 280px; margin: 0; padding: 0; color: #e8dcc8; font: inherit; }
.cc button { cursor: pointer; margin: 0; padding: 8px 18px; border: 1px solid #e0b04a; border-radius: 5px; background: transparent; color: #f6dc8f; font: 700 14px "Segoe UI", Arial, sans-serif; }
.cc button.yes { background: linear-gradient(#f3cf75, #b8801c); color: #2a1300; }

/* rules checkbox on the register form */
#panel label.rules-ok { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 4px; line-height: 1.4; }
#panel label.rules-ok input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; }
#panel label.rules-ok a { color: #7b1300; font-weight: bold; text-decoration: underline; }

/* ---------- phones and small tablets: one column, no fixed 930px frame ---------- */
@media (max-width: 900px) {
  html, body { min-width: 0; overflow-x: hidden; }
  body { font-size: 14px; line-height: 1.45; background: #000; }
  .header-wrapper { height: auto; background-size: cover; background-position: 50% 0; padding-bottom: 10px; }
  #header { width: auto; height: auto; overflow: visible; padding: 8px 10px 0; }
  #header a.logo { position: static !important; display: block; width: auto !important; height: auto !important; text-indent: 0 !important; text-align: center !important; margin: 0 0 8px; }
  #header a.logo img { display: inline-block; position: static !important; left: auto !important; top: auto !important; width: auto !important; max-width: 78%; max-height: 110px; height: auto !important; }
  .header-box { margin: 0; width: auto; }
  #regBtn { height: auto; width: auto; margin: 0; background: linear-gradient(#7c1a10, #3d0805); border: 2px solid #e0b04a; border-radius: 8px; box-shadow: inset 0 0 0 2px #1a0503; }
  #regBtn a#toReg { width: auto; height: auto; padding: 12px 10px 6px; line-height: 1.25; font-size: 17px; text-align: center; }
  #regSteps { height: auto; padding: 0 6px 10px; line-height: 1.5; }
  #regSteps span { display: inline-block; margin: 0 4px; font-size: 11px; }
  #userBox { height: auto; width: auto; margin: 0; padding: 8px 10px; background: linear-gradient(#7c1a10, #3d0805); border: 2px solid #e0b04a; border-radius: 8px; }
  #userBox h4 { padding: 0 4px 6px; }
  .header-box-nav-container { display: flex; flex-wrap: wrap; gap: 6px; width: auto; height: auto; margin: 0; padding: 0; background: none; overflow: visible; }
  .header-box-nav-container .stepdown { flex: 1 1 30%; min-width: 96px; }
  .nav-box-btn { float: none; width: 100% !important; height: auto; margin: 0; padding: 9px 4px !important; background: linear-gradient(#f3cf75, #b8801c) !important; border: 1px solid #5a3205; border-radius: 5px; color: #2a1300 !important; text-shadow: none !important; font-size: 13px; line-height: 1.2; }

  .container-wrapper { float: none; padding: 0 0 20px; background: #1b0f0a; }
  .container { width: auto; display: flex; flex-direction: column; padding: 0 10px; margin: 0; }
  .col-1, .col-2, .col-3 { float: none; display: block; width: auto; margin: 12px 0 0; overflow: visible; }
  .col-1 { order: 1; margin-top: 10px; }
  .col-2 { order: 2; }
  .col-3 { order: 3; }
  .clearfloat, .boxes-top, .boxes-middle, .boxes-bottom, .shadow { display: none; }

  .modul-box { width: auto; margin: 0 0 10px; background: linear-gradient(#2a1710, #1a0e09); border: 2px solid #7a4c10; border-radius: 8px; }
  .modul-box .modul-box-bg, .modul-box-2 .modul-box-bg { background: none; }
  .modul-box .modul-box-bg-bottom { background: none; min-height: 0; padding: 0 0 8px; }
  .modul-box h3 { width: auto; margin: 0; height: auto; padding: 10px 6px; background: linear-gradient(#8f3d0d, #5c2306); border-radius: 6px 6px 0 0; font-size: 14px; }
  .main-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 8px; }
  .main-nav li { flex: 1 1 44%; padding: 0; }
  .main-nav li.lbl { flex: 1 1 100%; }
  .main-nav li a { width: auto; height: auto; padding: 9px 4px; background: linear-gradient(#8f3d0d, #5c2306); border: 1px solid #e0b04a; border-radius: 5px; font-size: 13px; line-height: 1.2; }
  .main-nav li.sub a { height: auto; padding: 8px 4px; font-size: 12px; }
  .main-nav li a:hover, .main-nav li.active a { background: linear-gradient(#b8601a, #7c3208); }
  .col-1 .modul-box-2 { display: none; }   /* download box: the menu already has an Indir link */

  .content { width: auto; background: linear-gradient(#f6dfa4, #e9cd8c); border: 3px solid #4a1b05; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .6); }
  .content .content-bg, .content .content-bg-bottom { background: none; width: auto; padding: 0; overflow: visible; }
  .content h2 { margin: 0 0 10px; padding: 11px 10px; background: linear-gradient(#8f3d0d, #5c2306); border-radius: 7px 7px 0 0; color: #f8cf63; text-align: center; font-size: 18px; line-height: 1.25; }
  .inner-content { padding: 0 12px 14px; overflow-x: auto; }
  .inner-content img { max-width: 100%; height: auto; }
  .inner-content table { max-width: 100%; }
  .inner-content input:not([type=checkbox]):not([type=radio]):not([type=submit]), .inner-content select, .inner-content textarea { font-size: 16px; max-width: 100%; box-sizing: border-box; }

  .form-login { width: auto; margin: 6px 10px 0; padding: 0 0 8px; }
  .form-login .input { width: auto; height: auto; padding: 0; margin: 3px 0 8px; background: #2a1209; border: 1px solid #8b5a2b; border-radius: 4px; }
  .form-login .input input { width: 100%; box-sizing: border-box; height: 38px; margin: 0; padding: 0 10px; font-size: 16px; }
  .btn-login, input.btn-login { width: 100% !important; height: 40px; }
  .agbok, .password { width: auto; }
  .form-score { margin: 4px 8px 0; }
  .form-score .btn, .btn { width: auto; max-width: 100%; margin-left: 0; background: linear-gradient(#8f3d0d, #5c2306); border: 1px solid #e0b04a; border-radius: 5px; padding: 8px 10px; height: auto; }
  .form-score .val { margin-right: 8px; }

  .footer-wrapper { float: none; height: auto; margin: 0; background: #0b0605; border-top: 2px solid #5a3a1a; }
  #footer { width: auto; padding: 12px 10px 18px; }
  #footer ul { width: auto; height: auto; margin: 0; padding: 0; background: none; line-height: 1.6; }
  #footer ul li.first { width: auto; }
  #footer ul li, #footer ul li.first { background: none; display: block; padding: 2px 0; }
}
@media (max-width: 340px) {
  .nav-box-btn { font-size: 12px; }
  .main-nav li { flex-basis: 100%; }
  #regBtn a#toReg { font-size: 15px; }
}