/*
 * 2.0 - verze pouzivana nekolik let
 * 2.1 - uprava barevneho schematu v r. 2025
*/

* {
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding: 0;
/* For mobile phones: */
    width: 100%;
}

.logo_img {
	width: 60%;
	border: 0;
	margin: 0;
	padding: 0;
}

.profile_box:hover {cursor: pointer;}

.profile_box {
	padding: 1ex 1em 1ex 1em;
	margin: 2ex 0 2ex 0;
	border: none;
	width: 100%;
}

.profile_img {
	display: block;
	border: none;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

@media only screen and (min-width: 820px) {
/* For desktop: */
	.col-1 {width: 10%;}
	.col-2 {width: 20%;}
	.col-3 {width: 30%;}
	.col-4 {width: 40%;}
	.col-5 {width: 50%;}
	.col-6 {width: 60%;}
	.col-7 {width: 70%;}
	.col-8 {width: 80%;}
	.col-9 {width: 90%;}
	.col-10 {width: 100%;}
	.col-sub5 {width: 20%;}
	.col-sub4 {width: 25%;}
	.col-sub3 {width: 31.33%;}
	.profile_box {width: 33.33%; float: left;}
	.profile_img {width: 100%;}
	.col-sub12 {width: 12%;}
	.col-archiv-img {width: 25%;}
	.col-5-rmargin {width: 50%; padding-right: 1em;}
	.col-5-lmargin {width: 50%; padding-left: 1em;}
	.logo_img {
		width: 100%;
		position:relative;
		top:-70px;
	}
	.menu ul {
		position:relative;
		top:-40px;
	}
}

html {
    font-family: "Lucida Sans", sans-serif;
}

body
{
	font-size: 11pt;
	font-family: "Open Sans", "sans-serif";
	color: #0f0f0f;
	background-color: #fffcf8;
	margin:5px auto 5px auto;
	padding: 0 10px 0 10px;
	max-width:1450px;
}

.h2 {
	font-size:14pt;
	font-weight:bold;
	margin:2.5ex 0 2ex 0;
	padding: 1ex 0.5em 0.5ex 0.5em;
/*	border-bottom: 4px solid #2d8f00;
	background: #c1deb2; */
	border-bottom: 4px solid #a0b0a0;
	background: #d0e0d0;
	color: #ea580c;
}

.h_first  {margin-top: 0;}

h3          {font-size:13pt; font-weight:bold; margin:2ex 0 0 0;}
h4          {font-weight: bold; margin: 1.5ex 0 0 0;}
p           {margin:0.5ex 0 1ex 0;}
ul          {list-style-type:disc; margin:5px 0 0 20px; padding:0;}
ul.download {margin-left: 30px;}
.download a,span {position: relative; bottom: 0.3ex;}
li          {margin:0 0 0.5ex 0;}
li.nota     {list-style-image: url('../img/half_note.png');}
li.text     {list-style-image: url('../img/text_icon.png');}
/*a         {margin-bottom: 0; padding-bottom: 0; position: relative; bottom: -0.5ex;} */
a:link,
a:visited {color:#0f0f0f; text-decoration:none; outline: none;}
a:hover   {color:#0f0f0f; text-decoration:underline; outline: none;}
a.visible {color: #996b17;}

.a        {color: #996b17; text-decoration:none; outline: none; }
.a:hover  {color: #996b17; text-decoration:none; outline: none; cursor: pointer;}

.header {
	font-family: "Poetsen One", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20pt;
/*	font-family: "Courgette", cursive;
	font-weight: bold; */
	text-align: center;
	vertical-align: middle;
	color: #421909;
	padding: 15px;
	border-bottom: 4px solid #421909;
}

.menu {
	font-size: 13pt;
	font-weight: bold;
	font-family: "Raleway";
	color: #421909;
	padding: 10px;
/*	color: #e0540b; */
}

.menu ul {
    list-style-type: none;
    margin: 0 10px 0 10px;
	padding: 0;
}

.menu li {
	padding: 8px 15px 8px 2em;
	margin-bottom: 7px;
	border-radius: 3px;
}

li.even {
	background-image: url('../img/cihla0-2025.png');
	background-repeat: repeat-x;
	background-size: auto 100%;
}

li.odd {
	background-image: url('../img/cihla1-2025.png');
	background-repeat: repeat-x;
	background-size: auto 100%;
}

li.selected {
	padding-left: 1.15em;
	list-style-type: disc;
	list-style-position: inside;
}

li.settings {
	border:2px solid  #f1bd25;
	border-radius:5px;
	margin-top: 3ex;
	height: 13ex;
	font-size: 11pt;
	font-weight: normal;
	line-height: 150%;
/*	display: block; */
}

a.settings_options {
	color: #707070;
}

.settings_icon {
	border: 0;
	height: 16px;
	width: 16px;
	position: relative;
	top: 2px;
}

.body {
	padding: 20px 30px 20px 20px;
}

.news {
    padding: 10px;
}

.news_item
{
	margin: 10px 0 5px 0;
	padding:10px 15px 10px 15px;
	border:3px solid  #f1bd25;
	border-radius:10px;
/*	background:#f8dc89; */
	background:#fceec7;
}

.news_item a {text-decoration: underline;}

.news_img
{
	width: 100%;
	margin-top: 5px;
}

.kudyznudy
{
	width: 95%;
	margin: 10px auto 5px auto;
	display: block;
	border-radius: 5px;
}

.footer {
	text-align: center;
	font-size: 10pt;
	padding: 10px;
	border-top: 4px solid #421909;
}

.taste {
	padding: 10px 15px 15px 15px;
	margin: 1%;
	border: 3px solid #f1bd25;
	border-radius: 5px;
}

.submenu {text-align: center; font-weight: bold; background: #ffd0b0; margin: 0 1ex 1ex 1ex; padding: 1ex 0 1ex 0;}
.submenu_left {text-align: left; font-weight: bold; background: #d0a878; margin: 0 1ex 1ex 1ex; padding: 1ex 0 1ex 1em;}

.profile_block {margin: 0; padding: 0; width: 100%; display: table-row;}
.profile_name  {font-size: 12pt; font-weight: bold; padding-top: 1ex;}
.profile_text  {padding-top: 0; margin: 0;}
.profile_text_lightbox {padding: 1ex 0 0 0; margin: 0;}
.profile_img_lightbox  {float:left; margin-right:2em; margin-bottom:2ex;}

.archiv_thumb {padding: 2px; margin-bottom: 2ex; display: block;}

.sec_lektori {margin-top: 2ex;}

.taste li {margin: 0 0 0.5ex 0;}
.taste ul {list-style-type: disc; margin: 0 0 0 1em; padding: 0;}
.taste h4 {margin: 0.5ex 0 1ex 0; font-size: 12pt;}
/* varanty ochutnavky */
/*
.taste_blue    {background-color: #98ccff;}
.taste_green   {background-color: #c1deb2;}
.taste_red     {background-color: #ff947a;}
*/
.taste_blue h4  {color: #421909;}
.taste_green h4 {color: #421909;}
.taste_red h4   {color: #421909;}

.icon  {border: 0; outline: none; height: 12pt; position: relative; top: 2pt;}

.subblock {margin: 5px; padding: 1ex 0 1ex 0;}
/*
.profile_img  {width: 90%; float: right;}
*/

/* aktualne pouzita pro cenik */
.table_basic          {border-collapse:collapse; border:1px solid #909090;}
.table_basic th       {text-align:center; background:#ffe0c0; border:1px solid #909090; margin:0; padding:0.6ex 0.5em 0.2ex 0.5em;}
.table_basic td       {text-align:center; border:1px solid #909090; margin:0; padding:0.6ex 0.5em 0.2ex 0.5em;}
.table_basic td.tl    {text-align:left;}

/* pouzita pro seznam zakazkek */
.table_list            {border-collapse: collapse; border: 0;}
.table_list th         {border-bottom: 2px solid #a0a0a0; font-weight: bold; text-align: center; padding: 0.6ex 0.5em 0.5ex 0.5em;}
.table_list td         {padding: 0.6ex 0.5em 0.5ex 0.5em; margin: 0; border: 0;}
.table_list th.h3      {font-size: 13pt; padding: 2.5ex 0 0.5ex 0;}
.table_list tr.a:hover {background-color: #f0ffd0; cursor: pointer;}
.table_list tr.hi      {background-color: #ffe0e0; }
.table_list a          {text-decoration: none; display: block; outline: none;}

/*
.tab_list          {display: table;}
.tab_list_row      {display: table-row;}
.tab_list_cell     {display: table-cell; padding: 0.5ex 1em 0.5ex 1em;}
.tab_list_th       {display: table-cell; padding: 0.5ex 1em 0.5ex 1em; font-weight:bold; text-align: center;}
.tab_list_th3      {display: block; padding: 0.5ex 1em 0.5ex 1em; font-weight:bold; font-size: 13pt; text-align: center;}
*/
/* zatim neroztridene styly */
.invisible     {display: none;}
.block_style   {display: block;}
.block_center  {margin-right: auto; margin-left: auto;}
.flushright    {text-align: right;}
.flushleft     {text-align: left;}
.text_center   {text-align: center;}
.text_justify  {text-align: justify;}
.text_top      {vertical-align: top;}
.text_bottom   {vertical-align: bottom;}
.text_green    {color: #008000;}
.text_red      {color: #800000;}
.text_bold     {font-weight: bold; }
.bg_green      {background-color: #f0ffd0;}
.bg_red        {background-color: #ffd0d0;}
.bg_gray       {background-color: #e0e0e0;}
.bg_lightgreen {background-color: #f8fff0;}
.bg_lightred   {background-color: #fff4f0;}
.bottom_margin {margin-bottom: 1ex;}
.err_message   {font-weight: bold; font-size: 12pt; color: #a00000;}
.small         {font-size: 9pt;}
.disabled      {color: #808080; position: relative; bottom: 0ex;}  /* text u disabled radio button */
.highlight_no_kredit {color: #a00f0f;}

/* formulare */
.table_form            {border: 0; margin-top: 2ex;}
.table_form td         {padding: 0.5ex 0.5em 0.5ex 0.5em;}
td.buttons             {padding-top: 1ex;}
tr.bottomline,
td.bottomline          {border-bottom: 2px solid #a0a0a0;}
tr.topline,
td.topline             {border-top: 2px solid #a0a0a0;}
td.toppad              {padding-top: 1ex;}
td.botpad              {padding-bottom: 1ex;}
.form_key              {font-weight: bold;}
.input_w2              {width: 2em;}
.input_w3              {width: 3em;}
.input_w5              {width: 5em;}
.input_w6              {width: 6em;}
.input_w10             {width: 10em;}
.input_w15             {width: 15em;}
.input_w20             {width: 20em;}
.input_w30             {width: 30em;}
.input_date            {width: 11em;}
.input_margin_right    {margin-right: 1em;}
.button_margin         {margin: 0.5ex 0.5em 0.5ex 0.5em;}
.button_icon           {padding: 0; font-weight: bold;}
.table_subform         {border-collapse: collapse; border: 0; margin: 0;}
.table_subform td      {padding: 0 1em 0.5ex 0;}
.rise                  {position: relative; top: -0.3ex;}

/* rozvrh */
.rozvrh {
/*	width: 500px; */
	background-color: #ffffff;
	display: block;
	position: relative;
	margin-top: 5ex;
	margin-bottom: 1ex;
	left:1.5em
}

.rozvrh_hline {
	position: absolute;
	display: block;
	height: 0px;
/*	width: 500px; */
	border-top: 1px solid #909090;
}

.rozvrh_hline_stamp {
	position: absolute;
	display: block;
	height: 0px;
/*	width: 510px; */
	left: -10px;
	border-top: 1px solid #909090;
}

.rozvrh_vline {
	position: absolute;
	display: block;
	width: 0px;
	border-left: 1px solid #909090;
}

.rozvrh_blok {
	position: absolute;
	display: block;
	width: 118px;
	text-align: center;
/*	border-top: 2px solid #909090;
	border-bottom: 2px solid #909090; */
	margin: 0;
	font-size: 12px;
	border-radius: 4px;
}

.rozvrh_edit_icon {
	display: block;
	position: absolute;
	top: -5px;
	right: 0;
	margin: 0;
	border: 0;
}

.rozvrh_green {background-color: #f0ffd0; border-top: 6px solid #e0f0c2; }
.rozvrh_red   {background-color: #ffd0d0; border-top: 6px solid #f0c2c2; }
.rozvrh_gray  {background-color: #d0d0d0; border-top: 6px solid #c0c0c0; }

.rozvrh_timestamp {
	position: absolute;
	display: block;
	text-align: right;
	font-size: 12px;
	width: 20px;
	left: -45px;
}

.rozvrh_daystamp {
	position: absolute;
	display: block;
	text-align: center;
	font-size: 13pt;
/*	font-weight: bold; */
	width: 1.8em;
	top: -30px;
}

input[type=text], input[type=date], textarea, input[type=password], select
{
	background-color:#ffffff;
	border: 1px solid #808080;
	border-radius: 3px;
	padding: 2px;
}

input[type=text].input_err, textarea.input_err
{
	background-color: #fce6e6;
}

input[type=radio]
{
	position: relative;
	top: 0px;
	margin: 0 0.7em 0 0;
}

input[type=checkbox]
{
	position: relative;
	top: 3px;
}

input[type=radio].horizontal {margin: 0 0.7em 0 1.5em;}

/* uvodni obrazek */
.introimg     {display: block; width: 70%; margin:2ex auto 1ex auto; }
.introimg img {width: 100%; margin: 0; border: 0; }
.introimg figcaption {position: relative; font-size: 11pt; background:rgba(0,0,0,0.3); color:#e0e0e0; padding: 0.3ex 1em 0.5ex 1em; margin: 0; bottom: 3.5ex; }

.pf_img {
	display: inline-block;
	margin: 2ex auto 2ex auto;
	width: 70%;
}

/* slideshow */
.slideshow            {position:relative; width:440px; height:245px; margin:20px auto 20px auto; overflow:hidden}
.slideshow figure     {position:absolute; width:440px; margin: 0}
.slideshow figcaption {position:absolute; font-size: 12pt; bottom:2px; color:#ffffff; width:440px; padding:0.3ex 1em 0.5ex 1em; text-align:justify; background:rgba(0,0,0,0.5)}
/*.slideshow figure figcaption {transition: opacity 2s} */

figure.slide:nth-child(1) {animation: xfade 50s linear 40s infinite;}
figure.slide:nth-child(2) {animation: xfade 50s linear 30s infinite;}
figure.slide:nth-child(3) {animation: xfade 50s linear 20s infinite;}
figure.slide:nth-child(4) {animation: xfade 50s linear 10s infinite;}
figure.slide:nth-child(5) {animation: xfade 50s linear 0s infinite;}

@keyframes xfade{
 0%    {opacity:1;}
 17%   {opacity:1;}
 20%   {opacity:0;}
 97%   {opacity:0;}
 100%  {opacity:1;}
}

.mapa  {display: block; height: 300px; margin-top: 3ex;}
/*.mapa  {width: 100%;} */

.archiv_imglink {
	display: block;
	float: right;
	margin: 0.5ex 0 2ex 2em;
}

.archiv_imglink:hover {cursor: pointer;}

.archiv_video {display: block; float: right; margin: 1ex 0 1ex 2em;}

/* lightbox (background) */
.lightbox {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 80px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
	position: relative;
	display: table;
	margin: auto;
	padding: 0;
	width: 90%;
	max-height: 800px;
	max-width: 1000px;
}

.lightbox-profile {
	background-color: #fffcf8;
	padding: 20px;
}

/* The Close Button */
.lightbox-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Next & previous buttons */
.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.lightbox-prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.lightbox-prev:hover,
.lightbox-next:hover {
	background-color: rgba(0, 0, 0, 0.6);
	text-decoration: none;
	color: white;
}
