/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@font-face {
  font-family: "TUL Mono";
  src:
    local("TUL Mono"),
    url("https://fua.tul.cz/assets/css/font/TULMono-Regular.woff2")
      format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TUL Mono";
  src:
    local("TUL Mono"),
    url("https://fua.tul.cz/assets/css/font/TULMono-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --cxi-anchor-offset: 170px;
}

html {
  scroll-padding-top: var(--cxi-anchor-offset);
}

/*.top {color: #c20019!important;  display:inline; margin: 16px 0; line-heigh: 140% letter-spacing: 4px; text-transform: uppercase;
  
    color:#fff;}
h1, h2, h3, .has-heading-font-family {
font-family: "Tul Mono", sans-serif;
    font-weight: bold;}
.is-style-asterisk:before {
    content: '';
    width: 1.5rem;
    height: 3rem;
   
background-position: center center;

    display: block;
}

.is-style-asterisk:before {
    content: '';
    width: 1.5rem;
    height: 3rem;
   
background-position: center center;

    display: block;
}
.is-style-asterisk:before {
    content: '';
    width: 1.5rem;
    height: 3rem;
   background-color: white;
    clip-path: none !important;
    display: block;
 background-image: url("https://cxiweb.cxi.tul.cz/wp-content/uploads/2025/01/Color.png");
background-repeat: no-repeat no-repeat;
}

.cxi_c_block {margin-bottom: -26px !important}
.cxi_x_block {margin-bottom: -32px !important}

.cxi-table td {border: none !important; }
.cxi-table tr > td {border: none !important; vertical-align: bottom;}
.cxi-table div {white-space: nowrap; transform: rotate(-90deg) !important;     width: 0px;
    margin: 10px 20px;  display: block}

.cxi-table ul li {
list-style-image: url("https://cxiweb.cxi.tul.cz/wp-content/uploads/2025/01/unnamed-file.png");
margin: 16px 0
}

.cxi-pro-block {
display: flex;flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
       align-items: flex-start;
    justify-content: center;}

.cxi-pro-block > div, .cxi-pro-block > p, .cxi-pro-block > ul {
margin-left: 74px !important;}

.cxi-pro-block p.has-x-large-font-size {
    line-height: 34px;
    font-size: 34px !important;}

.cxi-news{
    display: flex !important;
    overflow: auto;
    flex-direction: row;
    flex-wrap: nowrap;}

    .cxi-news-label {  display: flex !important;
    overflow: auto;
    flex-direction: row;
    flex-wrap: nowrap;
color: #ffffff;
    background-color: #c20019;
     height: 40px;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 14px;
}


.cxi-news .category-novinky figure::before {
content: "Novinka";
color: #ffffff;
    background-color: #c20019;
    height: 40px;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 14px;

    display: none;

}
.cxi-news .category-blog figure::before {
content: "Blog";
color: #ffffff;
    background-color: #fd810f;
    height: 40px;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 14px;
    display: none;
}
.cxi-news .category-akce figure::before {
content: "Akce";
color: #ffffff;
    background-color: #07844f;
    height: 40px;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 14px;
    display: none;
}
.cxi-news .category-akce .wp-block-post-date a {color: #07844f !important;}


.cxi-news {
    display: flex !important;
    overflow: auto;
    flex-direction: row;
    flex-wrap: nowrap;
}

*/

/* Kontejner štítků nad obrázkem */
.cxi-news-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* Výchozí vzhled všech štítků */
.cxi-news-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 12px;

  color: #ffffff;
  background-color: #000000;

  border-radius: 20px;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

/* Explicitní barvy známých položek */
.cxi-news-label--novinky,
.cxi-news-label--novinka {
  background-color: #c20019;
}

.cxi-news-label--blog {
  background-color: #fd810f;
}

.cxi-news-label--akce {
  background-color: #07844f;
}

/* Zrušení původních umělých pseudoštítků */
.cxi-news figure::before {
  content: none !important;
  display: none !important;
}

.cxi-news img {
  width: 270px !important;
}

.cxi-news h2 a {
  font-size: 23px !important;
}

.cxi-news .has-global-padding {
  padding-right: 0;
  padding-left: 0;
  width: 270px;
}

.cxi-news .hidden-part {
  display: none;
}
