/* Wspólna oprawa istniejących szablonów. Nie zmienia danych ani rozkładów. */
body.kstm-page { margin:0; background:#f7f5ef; font-family:Arial,Helvetica,sans-serif; color:#292820; }
#kstm-site .masthead { background:#f7f5ef; }
#kstm-site .masthead nav a[aria-current="page"] { color:#722c29; text-decoration:underline; text-underline-offset:6px; }
#kstm-site .subpage { padding:28px 4.5% 52px; min-width:0; }
#kstm-site .breadcrumbs { display:flex; flex-wrap:wrap; align-items:baseline; gap:9px; margin:0 0 25px; font-size:11px; line-height:1.6; color:#7a7163; overflow-wrap:anywhere; }
#kstm-site .breadcrumbs a { color:#722c29; text-decoration:underline; text-underline-offset:3px; }
#kstm-site .subpage-title { font-family:Georgia,'Times New Roman',serif; font-size:38px; line-height:1.2; letter-spacing:-1px; font-weight:400; color:#292820; margin:0 0 26px; }
#kstm-site .legacy-content { min-width:0; font-size:15px; line-height:1.75; color:#4d493f; }
#kstm-site .legacy-content::after { content:""; display:block; clear:both; }
#kstm-site .legacy-content #page-header { display:none; }
#kstm-site .legacy-content .wrapper { width:100%; max-width:100%; margin:0; padding:0; }
#kstm-site .legacy-content #main { display:block; width:100%; min-width:0; margin:0; padding:0; }
#kstm-site .legacy-content #main.has-sidebar { display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,230px); gap:44px; align-items:start; }
#kstm-site .legacy-content #content, #kstm-site .legacy-content #content.wide-content { float:none; width:100%; min-width:0; margin:0; padding:0; }
#kstm-site .legacy-content h1 { font-family:Georgia,'Times New Roman',serif; font-size:38px; line-height:1.2; letter-spacing:-1px; font-weight:400; color:#292820; margin:0 0 24px; overflow-wrap:anywhere; }
#kstm-site .legacy-content h2 { font-family:Georgia,'Times New Roman',serif; font-size:28px; line-height:1.25; font-weight:400; letter-spacing:-.4px; color:#722c29; margin:30px 0 13px; overflow-wrap:anywhere; }
#kstm-site .legacy-content h3 { font-size:20px; line-height:1.4; font-weight:500; color:#292820; margin:22px 0 11px; overflow-wrap:anywhere; }
#kstm-site .legacy-content h4, #kstm-site .legacy-content h5, #kstm-site .legacy-content h6 { color:#292820; line-height:1.5; }
#kstm-site .legacy-content p, #kstm-site .legacy-content #content p { margin:0 0 18px; text-align:left; overflow-wrap:anywhere; }
#kstm-site .legacy-content ul, #kstm-site .legacy-content ol { padding-left:22px; margin:14px 0 22px; }
#kstm-site .legacy-content li { margin-bottom:7px; }
#kstm-site .legacy-content a { color:#722c29; text-decoration:underline; text-underline-offset:3px; }
#kstm-site .legacy-content a:hover { color:#57211f; }
#kstm-site .legacy-content img { max-width:100%; height:auto; object-fit:contain; }
#kstm-site .legacy-content iframe, #kstm-site .legacy-content video, #kstm-site .legacy-content canvas { max-width:100%; }
#kstm-site .legacy-content .imagepanel, #kstm-site .legacy-content .miniimagepanel { max-width:100%; border:0; border-radius:0; background:#eee9de; padding:12px; margin:0 20px 20px 0; font-size:11px; line-height:1.5; color:#746b5c; }
#kstm-site .legacy-content .rightfloat { margin:0 0 20px 20px; }
#kstm-site .legacy-content .imagepanel img { display:block; margin-bottom:8px; }
#kstm-site .legacy-content .miniphotos { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0 26px; }
#kstm-site .legacy-content .miniphotos a { display:block; max-width:100%; }
#kstm-site .legacy-content .miniphoto, #kstm-site .legacy-content .maxiphoto { max-width:100%; height:auto; margin:0; }
#kstm-site .legacy-content .vehiclegroup { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; width:100%; margin:20px 0 32px; }
#kstm-site .legacy-content .vehiclelink { display:flex; flex-direction:column; float:none; width:100%; min-width:0; padding:0 0 17px; border:0; border-bottom:1px solid #d6ccbc; background:transparent; border-radius:0; margin:0; font-size:14px; line-height:1.6; text-transform:none; }
#kstm-site .legacy-content .vehiclelink>div { width:100%; height:auto; float:none; padding:0; margin:0; }
#kstm-site .legacy-content .vehiclelink img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; margin:0 0 13px; }
#kstm-site .legacy-content .vehiclelink a { text-decoration:none; }
#kstm-site .legacy-content .megabig { display:inline-block; font-family:Georgia,serif; font-size:30px; line-height:1.3; }
#kstm-site .legacy-content aside { float:none; width:100%; min-width:0; margin:0; padding:20px 0 0; border-top:2px solid #722c29; }
#kstm-site .legacy-content aside h2 { margin:0 0 16px; font-size:23px; }
#kstm-site .legacy-content aside h3 { font-size:17px; }
#kstm-site .legacy-content aside p { font-size:12px; line-height:1.7; }
#kstm-site .legacy-content aside nav { display:block; }
#kstm-site .legacy-content aside nav ul { margin:0 0 24px; padding:0; list-style:none; }
#kstm-site .legacy-content aside nav li { margin:0; border-bottom:1px solid #ded6c8; }
#kstm-site .legacy-content aside nav a { display:block; padding:11px 0; font-size:13px; line-height:1.4; background:transparent; color:#722c29; text-decoration:none; }
#kstm-site .legacy-content aside .current>a { font-weight:700; }
#kstm-site .legacy-content .table-scroll { max-width:100%; overflow-x:auto; margin:20px 0 26px; border:1px solid #d8cebd; background:#fbf9f3; -webkit-overflow-scrolling:touch; }
#kstm-site .legacy-content .table-scroll:focus-visible { outline:3px solid #b97227; outline-offset:3px; }
#kstm-site .legacy-content table, #kstm-site .legacy-content .styled-table { width:100%; border-collapse:collapse; margin:0; box-shadow:none; color:#4d493f; font-family:Arial,Helvetica,sans-serif; font-size:13px; }
#kstm-site .legacy-content table th, #kstm-site .legacy-content table td { float:none; padding:12px 14px; line-height:1.5; border:0; border-bottom:1px solid #ded6c8; text-align:left; vertical-align:top; }
#kstm-site .legacy-content table th, #kstm-site .legacy-content .styled-table thead tr { background:#722c29; color:#fff1de; }
#kstm-site .legacy-content table tr:nth-child(even) { background:#f0ebe1; }
#kstm-site .legacy-content .styled-table tbody tr:last-of-type { border-bottom:0; }
#kstm-site .legacy-content table img { max-width:150px; }
#kstm-site .legacy-content form { display:block; clear:both; width:100%; max-width:660px; padding:24px; margin:22px 0; background:#eee9de; border:0; border-radius:0; }
#kstm-site .legacy-content form::after { content:""; display:block; clear:both; }
#kstm-site .legacy-content form .label, #kstm-site .legacy-content form .field { display:block; float:none; width:100%; max-width:100%; margin:0; padding:0; text-align:left; }
#kstm-site .legacy-content form .label { margin:15px 0 6px; font-size:12px; font-weight:700; color:#5d5448; }
#kstm-site .legacy-content form .field { margin-bottom:10px; }
#kstm-site .legacy-content input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), #kstm-site .legacy-content textarea, #kstm-site .legacy-content select { width:100%; max-width:100%; box-sizing:border-box; padding:11px 12px; margin:0; border:1px solid #c5bba9; border-radius:0; background:#fbf9f3; color:#292820; font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.5; min-height:46px; box-shadow:none; }
#kstm-site .legacy-content textarea { min-height:145px; resize:vertical; }
#kstm-site .legacy-content input[type=submit], #kstm-site .legacy-content input[type=button], #kstm-site .legacy-content button { min-height:46px; padding:12px 18px; border:0; border-radius:0; background:#722c29; color:#fff1de; font-family:Arial,Helvetica,sans-serif; font-size:14px; line-height:1.5; box-shadow:none; }
#kstm-site .legacy-content input[type=checkbox], #kstm-site .legacy-content input[type=radio] { width:auto; height:auto; }
#kstm-site .legacy-content .form-error { margin-top:14px; color:#722c29; font-size:13px; }
#kstm-site .template-credit { padding:0 4.5% 17px; background:#efe9df; color:#82796b; font-size:9px; }
#kstm-site .template-credit a { color:inherit; text-decoration:underline; }
#kurtyna { z-index:1000; }
#kurtyna #imagecontainer { max-width:100vw; }
#kurtyna #theImg { max-width:100vw; max-height:90vh; object-fit:contain; }
@media(max-width:900px) { #kstm-site .legacy-content #main.has-sidebar { grid-template-columns:minmax(0,1fr) 190px; gap:26px; } }
@media(max-width:700px) {
  #kstm-site .subpage { padding:22px 6% 34px; }
  #kstm-site .breadcrumbs { margin-bottom:20px; }
  #kstm-site .legacy-content #main.has-sidebar { display:block; }
  #kstm-site .legacy-content aside { margin-top:34px; padding-top:20px; }
  #kstm-site .legacy-content h1, #kstm-site .subpage-title { font-size:31px; letter-spacing:-.6px; }
  #kstm-site .legacy-content h2 { font-size:26px; }
  #kstm-site .legacy-content .imagepanel, #kstm-site .legacy-content .leftfloat, #kstm-site .legacy-content .rightfloat, #kstm-site .legacy-content .miniimagepanel { float:none; width:100%; margin:0 0 20px; }
  #kstm-site .legacy-content .vehiclegroup { grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:18px; }
  #kstm-site .legacy-content .vehiclelink { width:100%; }
  #kstm-site .legacy-content form { padding:19px; }
  #kstm-site .legacy-content .table-scroll table.wide-table { min-width:520px; }
  #kstm-site .legacy-content .route, #kstm-site .legacy-content .routepicture { max-width:100%; overflow-x:auto; }
  #kstm-site .legacy-content [class*="grid_"] { width:100%; float:none; margin:0 0 18px; }
}
@media print { #kstm-site .masthead, #kstm-site .footer, #kstm-site .breadcrumbs { display:none; } #kstm-site .subpage { padding:0; } #kstm-site .legacy-content .table-scroll { overflow:visible; } }

#kstm-site .legacy-content #hero{background:#eee9de;border:0;padding:24px;}
#kstm-site .legacy-content #hero h1,#kstm-site .legacy-content #hero h2{color:#722c29;}
