/* Kasíno Kúziel — štýly prevzaté 1:1 zo starej Joomla šablóny (Gantry 4),
   ponechané iba pravidlá, ktoré web skutočne používa. Na počítači vyzerá web rovnako ako pôvodný.
   Nové sú iba úpravy pre mobil (sekcia MOBIL na konci). */

/* ---------- základ ---------- */
article, footer, header { display: block; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; height: 100%; margin-top: -1px; margin-bottom: 1px; }
body {
  margin: 0; padding: 0 0 30px; min-height: 100%;
  font-family: Helvetica, Arial, FreeSans, sans-serif; font-size: 14px; line-height: 1.7em;
  color: #d9d9d9;
  background: #000 url("../images/sablona/tien.png") center top no-repeat;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: #de3526; text-decoration: none; transition: color .2s ease-out; }
a:hover { color: #303030; text-decoration: none; }
a:focus { outline: none; }
a:focus-visible { outline: 2px solid #de3526; outline-offset: 2px; }
p { margin: 0 0 15px; }
strong { font-weight: bold; }
em { font-style: italic; }
h1, h2, h3, h4 { margin: 10px 0 .2em; font-family: inherit; font-weight: bold; line-height: 1; text-rendering: optimizeLegibility; }
h1 { font-size: 2em; line-height: 40px; color: #fff; }
h2 { font-size: 1.6em; line-height: 40px; color: #fff; }
h3 { font-size: 1.2em; line-height: 40px; color: #e31a22; }
h4 { font-size: 130%; line-height: 20px; color: #303030; }
ul { padding: 0; margin: 0 0 10px 25px; }
li { line-height: 20px; }
ul li { padding: 0; margin: 0; }
table { max-width: 100%; background-color: transparent; border-collapse: collapse; border-spacing: 0; }
.clear { clear: both; display: block; height: 0; overflow: hidden; visibility: hidden; }
.cervena { color: #e31a22; }

/* ---------- mriežka (pevná šírka 960 px ako pôvodne) ---------- */
.rt-container { width: 960px; margin: 0 auto; }
[class*="rt-grid"] { display: inline; float: left; position: relative; margin: 0; }
.rt-grid-2 { width: 160px; }
.rt-grid-4 { width: 320px; }
.rt-grid-10 { width: 800px; }
.rt-grid-12 { width: 960px; }
.rt-grid-2::before, .rt-grid-4::before, .rt-grid-10::before, .rt-grid-12::before,
.rt-grid-2::after, .rt-grid-4::after, .rt-grid-10::after, .rt-grid-12::after { display: table; content: ""; clear: both; }
.rt-block { padding: 15px; margin: 10px; position: relative; }

/* ---------- opona (záves po stranách, iba na širokých obrazovkách) ---------- */
#opona_out { position: absolute; overflow-x: hidden; height: 557px; width: 100%; }
#opona_l, #opona_r { width: 243px; height: 557px; border: 0; z-index: 99; position: absolute; top: 0; }
#opona_l { left: 0; background: url("../images/sablona/opona_l.png"); }
#opona_r { right: 0; background: url("../images/sablona/opona_p.png"); }
@media screen and (min-width: 1201px) and (max-width: 1400px) { #opona_l { left: -50px; } #opona_r { right: -50px; } }
@media screen and (max-width: 1200px) { #opona_out { display: none; } }

/* ---------- hlavička a menu ---------- */
#rt-top-surround { position: relative; color: #6e6e6e; }
#rt-header { z-index: 2; position: relative; }
#rt-header.homepage { height: 490px; }
.logo-block { padding: 0 15px; margin: 7px 10px; }
#rt-logo { margin: 0; width: 131px; height: 69px; display: block; background: url("../images/logo_kasinokuziel.png") 50% 0 no-repeat; }
#rt-logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#rt-header ul.menu { list-style: none; height: 27px; width: 300px; margin: 0 auto; padding: 0; display: block; float: right; }
#rt-header ul.menu li { display: block; float: left; height: 27px; padding: 0; margin: 0 0 0 5px; line-height: 27px; }
#rt-header ul.menu li a { display: block; padding: 0 10px 0 8px; margin-left: 3px; color: #fff; font-size: 1.1em; font-weight: bold; }
#rt-header ul.menu li:hover, #rt-header ul.menu li.active { color: #fff; background: url("../images/sablona/menu_back_01.png") left top no-repeat; }
#rt-header ul.menu li:hover a, #rt-header ul.menu li.active a { background: url("../images/sablona/menu_back_02.png") right top no-repeat; }

/* ---------- slider (úvodná stránka) ---------- */
#rt-showcase { height: 490px; width: 100%; position: absolute; top: 0; left: 0; z-index: 0; background: #000; overflow: hidden; }
#slider { position: relative; height: 490px; width: 100%; margin: 0; padding: 0; overflow: hidden; }
#slider .slide {
  position: absolute; inset: 0; height: 490px; width: 100%;
  background-position: center top; background-repeat: no-repeat; background-size: cover;
  transform: translateX(100%); transition: transform .8s ease-in-out; visibility: hidden;
}
#slider .slide.aktivny { transform: translateX(0); visibility: visible; }
#slider .slide.odchadza { transform: translateX(-100%); visibility: visible; }
.slide .cnt { max-width: 960px; margin: 0 auto; padding-top: 200px; position: relative; }
.slide5 .cnt { padding-top: 300px; }
.slide .cnt h1, .slide .cnt h2 { font-size: 3.5em; color: #fff; margin: 10px 0; line-height: 40px; font-weight: bold; }
.slide .cnt p { font-size: 2.5em; line-height: 23.8px; color: #fff; margin-bottom: 0; }
#cycle_pager { width: 200px; margin: 0 auto; text-align: center; position: absolute; left: 0; right: 0; top: 450px; z-index: 100; display: flex; justify-content: center; }
#cycle_pager button {
  display: block; width: 30px; height: 5px; margin: 0 3px 0 0; padding: 0; border: 0; cursor: pointer;
  background: #070800; opacity: .7; font-size: 0;
}
#cycle_pager button.activeSlide { background: #7f0800; opacity: 1; }

/* ---------- obsah podstránok ---------- */
#rt-main { min-height: 300px; }
#page-108 #rt-main { background: url("../images/sablona/talostan_back.png") right top no-repeat; }
#page-109 #rt-main { background: url("../images/sablona/sestak_back.png") right top no-repeat; }
#page-110 #rt-main { background: url("../images/sablona/tisler_back.png") right top no-repeat; }
.item-page h2 { font-size: 1.6em; line-height: 30px; font-weight: normal; margin-top: 0; padding-bottom: 15px; margin-bottom: 15px; color: #fff; }
.item-page h2.medzera { margin-top: 38.8px; }
.hraci h3 { line-height: normal; }
.item-page ul { list-style: disc; }
.hraci td { vertical-align: top; text-align: left; }
.hraci td.foto { width: 30%; padding: 0 15px 15px 0; }

/* ---------- tri boxy nad pätičkou ---------- */
#rt-mainbottom {
  background: url("../images/sablona/tien_1.png") left top repeat-x, #343434 url("../images/sablona/tien_2.png") left bottom;
  padding-top: 30px; overflow: hidden; border: 0;
}
#rt-mainbottom .rt-block { margin: 0; padding: 0; }
#rt-mainbottom .rt-grid-4 { margin-bottom: 30px; }
#rt-mainbottom .image-intro { background: #000; height: 150px; overflow: hidden; margin-right: 10px; }
#rt-mainbottom .image-intro img { width: 100%; }
#rt-mainbottom .image-intro:hover { box-shadow: 0 0 5px #000; }
#rt-mainbottom .rt-grid-4:hover .image-intro img { transform: scale(1.15) rotate(-3.5deg); transition: .4s; }
#rt-mainbottom .nadpis { background: #000; opacity: .8; text-align: center; margin-top: 0; color: #fff; padding: 10px 0; margin-right: 10px; }
#rt-mainbottom .nadpis .r1, #rt-mainbottom .nadpis .r2 { display: block; color: #fff; font-weight: bold; margin: 0; }
#rt-mainbottom .nadpis .r1 { font-size: 1.2em; line-height: 1.2em; }
#rt-mainbottom .nadpis .r2 { font-size: 1.6em; line-height: 1.6em; }
#rt-mainbottom .rt-grid-4:hover .nadpis { background: #292929; }

/* ---------- pätička ---------- */
#rt-footer { background: #070800; height: 75px; overflow: hidden; font-weight: bold; color: #fff; }
#rt-footer p { margin: 0; }

/* ---------- MOBIL (nové — pôvodný web mal pevnú šírku 960 px) ---------- */
@media screen and (max-width: 959px) {
  body { background-size: auto; }
  .rt-container, .rt-grid-2, .rt-grid-4, .rt-grid-10, .rt-grid-12 { width: 100%; }
  [class*="rt-grid"] { display: block; float: none; }
  .rt-block { margin: 10px 15px; padding: 10px 0; }
  .logo-block { margin: 7px 15px 0; padding: 0; }
  #rt-logo { margin: 0 auto; }
  #rt-header ul.menu { float: none; width: auto; height: auto; display: flex; justify-content: center; flex-wrap: wrap; }
  #rt-header ul.menu li { margin: 4px 2px; }
  /* úvod: logo a menu v čiernom páse NAD sliderom (neprekrývajú tváre), text slidu dole na tmavom prechode */
  #rt-header.homepage { height: auto; padding-bottom: 6px; background: #000; }
  #rt-showcase { position: relative; }
  #rt-showcase, #slider, #slider .slide { height: 340px; }
  .slide .cnt, .slide5 .cnt {
    position: absolute; left: 0; right: 0; bottom: 0; max-width: none; padding: 40px 20px 28px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.75));
  }
  .slide .cnt h1, .slide .cnt h2 { font-size: 1.8em; line-height: 1.1; margin: 0 0 4px; }
  .slide .cnt p { font-size: 1.2em; line-height: 1.3; }
  #cycle_pager { top: auto; bottom: 10px; }
  #page-108 #rt-main, #page-109 #rt-main, #page-110 #rt-main { background-size: 50% auto; }
  .hraci, .hraci tbody, .hraci tr, .hraci td { display: block; width: 100% !important; }
  .hraci td.foto { padding: 0 0 10px; }
  #rt-mainbottom .rt-block { margin: 0 15px; }
  #rt-mainbottom .image-intro, #rt-mainbottom .nadpis { margin-right: 0; }
  #rt-footer { height: auto; padding: 10px 0; }
  #rt-footer p { text-align: center; line-height: 2; }
  #rt-footer .medzera { display: block; height: 0; overflow: hidden; }
}

#rt-footer a.tel { color: inherit; }
