.rs52
{
  x-font-family: Verdana, Arial;
  x-font-size: 12px;
  xbackground-color: #efefef;
}

.rs52 P
{
  xbackground-color: #afafaf;
  padding: 0px 0px 0px 0px;
  margin-top: 7px;
  margin-bottom: 15px;
}

.rs52 H1
{
  x-font-family: Tahoma, Verdana, Arial;
  x-font-size: 18px;
  color: #102843;
  x-color: #000000;
  x-margin-bottom: 5px;
  x-margin-top: 10px;
}

.rs52 H2
{
  xfont-family: Tahoma, Verdana, Arial;
  xfont-size: 14px;
  color: #102843;
  x-color: #000000;
  xmargin-bottom: 4px;
  xmargin-top: 8px;
}

.rs52 BIG
{
  font-size: 120%;
}

.rs52 SMALL
{
  font-size: 90%;
}

.rs52 UL
{
  xbackground-color: #afafaf;
  list-style: square;
  margin-left: 0.3em;
  margin-top: 0.7em;
  margin-bottom: 1em;
  line-height: 1.4;
}

.rs52 OL
{
  xbackground-color: #afafaf;
  margin-left: 1em;
  margin-top: 0.7em;
  margin-bottom: 1em;
  line-height: 1.4;
}

.rs52 A
{
  color: #7f0000;
  text-decoration: none;
  ## //xborder-bottom: 1px solid #df7900;
}

.rs52 A:hover
{
  color: #102843;
  text-decoration: underline;
  ## //xborder-bottom: 1px solid #af6900;
}

.hi_l0 { border: 0px; margin-right: 8px; margin-top: 3px; margin-bottom: 3px; }
.hi_p0 { border: 0px; margin-left: 8px; margin-top: 3px; margin-bottom: 3px; }
.hi_s0 { border: 0px; margin-top: 3px; margin-bottom: 3px; }
.hi_v0 { border: 0px; margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px; }
.hi_l1 { border: 1px solid #000000; margin-right: 8px; margin-top: 3px; margin-bottom: 3px; }
.hi_p1 { border: 1px solid #000000; margin-left: 8px; margin-top: 3px; margin-bottom: 3px; }
.hi_s1 { border: 1px solid #000000; margin-top: 3px; margin-bottom: 3px; }
.hi_v1 { border: 1px solid #000000; margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px; }

.big_hi_l0 { border: 0px; margin-right: 8px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_p0 { border: 0px; margin-left: 8px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_s0 { border: 0px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_v0 { border: 0px; margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_l1 { border: 1px solid #000000; margin-right: 8px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_p1 { border: 1px solid #000000; margin-left: 8px; margin-top: 3px; margin-bottom: 3px; }
.big_hi_s1 { border: 1px solid #000000; margin-top: 3px; margin-bottom: 3px; }
.big_hi_v1 { border: 1px solid #000000; margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px; }


.rs52_table1
{
  font-family: Verdana, Arial;
  font-size: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rs52_table1 P { margin: 0px 0px 0px 0px; }

.rs52_table1 TD { padding: 3px; }
.rs52_h1 { background-color: #cfcfdf; }
.rs52_r1 { background-color: #dfdff7; }

.rs52_table1b
{
  border: 1px solid #000000;
  font-family: Verdana, Arial;
  font-size: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rs52_table1b P { margin: 0px 0px 0px 0px; }

.rs52_table1b TD { padding: 3px; }

.rs52_table1bb
{
  border-collapse: collapse;
  border: 1px solid #000000;
  font-family: Verdana, Arial;
  font-size: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rs52_table1bb P { margin: 0px 0px 0px 0px; }

.rs52_table1bb TD 
{ 
  padding: 3px; 
  border: 1px solid #000000;
}

.rs52_bigdoc_outer
{
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 1px;
  padding-left: 20px;
  padding-right: 20px;
}

.rs52_bigdoc
{
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 0.3em;
  margin-bottom: 0.5em;
  border: 1px solid #cfcfdf;
  background-color: #dfdff7;
  padding: 5px 5px 5px 5px;
  line-height: 1.4;
  padding: 0.5em 0.5em;
}

.rs52_bigdoc A { border: 0px; color: #000000; text-decoration: none; }
.rs52_bigdoc A:hover { border: 0px; color: #000000; text-decoration: underline; }

.rs52_bigdoc IMG
{
  margin-right: 8px;
  float: left;
  border: 0px;
}

.rs52_bigdoc_desc
{
  font-family: Tahoma, Arial;
  font-size: 80%;
  line-height: 120%;
  padding-bottom: 4px;
}

.rs52_txt
{
  font-family: Courier New, Arial;
  font-size: 100%;
  text-align: left;
}

.rs52_clear { clear: both; }



/* responsivni foto */
.reimsize_1 { xmargin-left: 1%; xmargin-right: 1%; width: 98%;  }
.reimsize_2 { xmargin-left: 1%; xmargin-right: 1%; width: 48%;  }
.reimsize_3 { xmargin-left: 1%; xmargin-right: 1%; width: 31.33333%;  }
.reimsize_4 { xmargin-left: 1%; xmargin-right: 1%; width: 23%;  }
.reimsize_6 { xmargin-left: 1%; xmargin-right: 1%; width: 14.66666%;  }



/* responsivni obrazky */
.hir_l0, .big_hir_l0
{
  border: 0px;
  margin-right: 2%;
  margin-bottom: 4px;
  float: left;
}

.hir_p0, .big_hir_p0
{
  border: 0px;
  margin-left: 2%;
  margin-bottom: 4px;
  float: right;
}

.hir_s0, .big_hir_s0
{
  border: 0px;
  margin-right: 1%;
  margin-left: 1%;
  margin-bottom: 4px;
}

.hir_v0, .big_hir_v0
{
  border: 0px;
  margin-right: 1%;
  margin-left: 1%;
  margin-bottom: 5px;
  margin-top: 5px;
}


.hir_l1, .big_hir_l1
{
  border: 1px solid #000000;
  margin-right: 1.8%;
  margin-bottom: 4px;
  float: left;
}

.hir_p1, .big_hir_p1
{
  border: 1px solid #000000;
  margin-left: 1.8%;
  margin-bottom: 4px;
  float: right;
}

.hir_s1, .big_hir_s1
{
  border: 1px solid #000000;
  margin-right: 0.9%;
  margin-left: 0.9%;
  margin-bottom: 4px;
}

.hir_v1, .big_hir_v1
{
  border: 1px solid #000000;
  margin-right: 0.9%;
  margin-left: 0.9%;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}



/* pas resp.obr */
.reimsize_h24 { height: 6em; x-width: calc; }
.reimsize_h26 { height: 9em; }
.reimsize_h28 { height: 12em; }

.rs52_rpas24
{
  position: relative;
  background-color: #efefef;
  width: 98%;
  height: 7.3em;
  x-border: 1px solid #7f7f7f;
  white-space: nowrap;
  overflow: hidden;
}
.rs52_rpas26
{
  position: relative;
  background-color: #efefef;
  width: 98%;
  height: 10em;
  x-border: 1px solid #7f7f7f;
  white-space: nowrap;
  overflow: hidden;
}
.rs52_rpas28
{
  position: relative;
  background-color: #efefef;
  width: 98%;
  height: 13em;
  x-border: 1px solid #7f7f7f;
  white-space: nowrap;
  overflow: hidden;
}


.rs52_rpas29
{
  position: absolute;
  top:0;
  right: 0;
  height: 100%;
  width: 4em;
  background-color: #efafaf;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}




/* RS fotogalerie v responsivnim provedeni */
.rs52_rfg_frame
{
  x-border: 1px solid #dfdfdf;
  width: 98%;
}
.rs52_rfg_frame::after
{
  content: "";
  clear: both;
  display: table;
}


.rs52_rfg_foto_c4_t0 { xbackground-color: #afffff; width: 23%; height: 12em; overflow: hidden; float: left; margin: 0.6em 1%; }
.rs52_rfg_foto_c4_t0_con { background-color: #f7f7f7; height: 12em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c4_t0_con IMG { max-height: 12em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c4_t1 { xbackground-color: #afffff; width: 23%; height: 13.3em; overflow: hidden; float: left; margin: 0.6em 1%; }
.rs52_rfg_foto_c4_t1_con { background-color: #f7f7f7; height: 12em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c4_t1_con IMG { max-height: 12em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c4_t2 { xbackground-color: #afffff; width: 23%; height: 14.6em; overflow: hidden; float: left; margin: 0.6em 1%; }
.rs52_rfg_foto_c4_t2_con { background-color: #f7f7f7; height: 12em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c4_t2_con IMG { max-height: 12em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }


.rs52_rfg_foto_c6_t0 { xbackground-color: #afffff; width: 15.46%; height: 9em; overflow: hidden; float: left; margin: 0.4em 0.6%; }
.rs52_rfg_foto_c6_t0_con { background-color: #f7f7f7; height: 9em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c6_t0_con IMG { max-height: 9em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c6_t1 { xbackground-color: #afffff; width: 15.46%; height: 10.3em; overflow: hidden; float: left; margin: 0.4em 0.6%; }
.rs52_rfg_foto_c6_t1_con { background-color: #f7f7f7; height: 9em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c6_t1_con IMG { max-height: 9em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c6_t2 { xbackground-color: #afffff; width: 15.46%; height: 11.6em; overflow: hidden; float: left; margin: 0.4em 0.6%; }
.rs52_rfg_foto_c6_t2_con { background-color: #f7f7f7; height: 9em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c6_t2_con IMG { max-height: 9em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }


.rs52_rfg_foto_c8_t0 { xbackground-color: #afffff; width: 11.5%; height: 7em; overflow: hidden; float: left; margin: 0.4em 0.5%; }
.rs52_rfg_foto_c8_t0_con { background-color: #f7f7f7; height: 7em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c8_t0_con IMG { max-height: 7em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c8_t1 { xbackground-color: #afffff; width: 11.5%; height: 8.3em; overflow: hidden; float: left; margin: 0.4em 0.5%; }
.rs52_rfg_foto_c8_t1_con { background-color: #f7f7f7; height: 7em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c8_t1_con IMG { max-height: 7em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }

.rs52_rfg_foto_c8_t2 { xbackground-color: #afffff; width: 11.5%; height: 9.6em; overflow: hidden; float: left; margin: 0.4em 0.5%; }
.rs52_rfg_foto_c8_t2_con { background-color: #f7f7f7; height: 7em; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
.rs52_rfg_foto_c8_t2_con IMG { max-height: 7em; max-width: 90%; border: 1px solid #7f7f7f; display: block; margin: auto; }



.rs52_rfg_title1
{
  font-size: 75%;
  width: 100%;
  height: 1.6em;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.5;
  text-align: center;
  x-padding: 0 1em;
  padding: 0;
  background-color: #efefef;
}
.rs52_rfg_title2
{
  width: 100%;
  height: 3.2em;
  font-size: 75%;
  x-white-space: nowrap;
  xoverflow: hidden;
  line-height: 1.5;
  text-align: center;
  background-color: #efefef;
  vertical-align: center;
}


.rs52_rfg_nomobile { display: block; }
.rs52_rfg_extrafotos { display: none; text-align: right; padding-right: 1em; x-background-color: #efefef; }
@media (max-width: 767px) {
  /*
  .rs52_rfg_foto { width: 48%; height: 20em; }
  .rs52_rfg_foto_con { height: 18em; }
  .rs52_rfg_foto IMG { max-height: 18em; }
  */
  
  .rs52_rfg_foto_c4_t0,
  .rs52_rfg_foto_c4_t1,
  .rs52_rfg_foto_c4_t2,
  .rs52_rfg_foto_c6_t0,
  .rs52_rfg_foto_c6_t1,
  .rs52_rfg_foto_c6_t2,
  .rs52_rfg_foto_c8_t0,
  .rs52_rfg_foto_c8_t1,
  .rs52_rfg_foto_c8_t2
  { width: 48%; height: 20em; }

  .rs52_rfg_foto_c4_t0_con,
  .rs52_rfg_foto_c4_t1_con,
  .rs52_rfg_foto_c4_t2_con,
  .rs52_rfg_foto_c6_t0_con,
  .rs52_rfg_foto_c6_t1_con,
  .rs52_rfg_foto_c6_t2_con,
  .rs52_rfg_foto_c8_t0_con,
  .rs52_rfg_foto_c8_t1_con,
  .rs52_rfg_foto_c8_t2_con
  { height: 18em; }
  
  .rs52_rfg_foto_c4_t0_con IMG,
  .rs52_rfg_foto_c4_t1_con IMG,
  .rs52_rfg_foto_c4_t2_con IMG,
  .rs52_rfg_foto_c6_t0_con IMG,
  .rs52_rfg_foto_c6_t1_con IMG,
  .rs52_rfg_foto_c6_t2_con IMG,
  .rs52_rfg_foto_c8_t0_con IMG,
  .rs52_rfg_foto_c8_t1_con IMG,
  .rs52_rfg_foto_c8_t2_con IMG
  { max-height: 18em; }  
  
  .rs52_rfg_nomobile { display: none; }
  .rs52_rfg_extrafotos { display: block; }
}

