/* CSS pro daný web
 * Verze 3.9.2019
 * dokumentace na:
 * https://docs.google.com/spreadsheets/d/1HV7JUECJavTNSYOburjemgWhfErRqC8b9kI4I-YvLwg/edit#gid=0
 */

/* Základní barevnost webu - staci vzdy hromadne nahradit ctrl+h
 * Primární: 2f2b2f
 * Sekundární: d29e85
 * Background hlavičky, doplňková: d6cbc6
 * Inverzní text: fcfcfc (inverzní k primární barvě)
 */

/* Barevnost */
header {
  background-image: url('../pics/header.jpg'); 
  background-color: #d6cbc6; /* pozadí pod obrázkem hlavičky - musí být čitelný text a loga !!! */
  background-size: auto 350px;
  background-position: calc(50% + 345px) calc(30% - 35px); /* vypočítané dle použitého obrázku */
}
#titulka header {
  background-size: auto 600px;
  background-position: calc(30% + 750px) center; /* vypočítané dle použitého obrázku */
}
@media screen and (max-width: 39.9375em) {
  header h1, #titulka header h1, header h2, #titulka header h2, header h3, #titulka header h3 {color: #2f2b2f!important; /* primary */ }
  header {background-color: #d6cbc6!important; }
}
header h1, header h2 {color: #2f2b2f; /* primary */ }
#titulka header h1 { color: #2f2b2f; /* primary */ }
#titulka header h2 { color: #2f2b2f; /* primary */ }
#titulka header h3 { color: #2f2b2f; /* primary */ }
nav { background: #d29e85; /* secondary */ }
nav .menu a { background-color: #d29e85; /* secondary */ }
nav .menu a:hover, nav a.active, nav .menu .is-active a { background-color: #2f2b2f; /* primary */ }
#tiraz {
  background-color: #2f2b2f; /* primary */
  color: #fcfcfc; /* inverzní text */
}
#tiraz a { color: #fcfcfc; /* inverzní text */ }
#tiraz h3 { color: #fcfcfc; /* inverzní text */ }
a.toc-item, span.toc-item { background-color: rgba(210, 145, 133, 0.95); /* secondary v rgba */ }
a.toc-item.active { background-color: #2f2b2f; /* primary */ }
a.toc-item:hover { background-color: #2f2b2f; /* primary */ }
.toc_kapitola .cap-num { color: #2f2b2f; /* primary */ }
.toc_kapitola a.toc-item:hover { background-color: #2f2b2f; /* primary */ }
.separated::before, .toc-section.toc-section.toc-section h2 { background-color: #2f2b2f; /* primary */ }	
h2 {color: #d29e85} /* secondary */
.t1, .t1 strong, .t1 em {background: #2f2b2f!important; color: #fafafa;} /* primary */
.t2, .t2 strong, .t2 em {background: #d29e85!important; color: #fafafa;} /* secondary */
.t3, .t3 strong, .t3 em {background: #EFE9EB!important; color: #333333;} /* doplnkova */
sup a, sup a:visited { color: #d29e85!important; } /* secondary */
sup a:hover { color: #fff!important; }
/* KONEC - Barevnost */

/* ************************** */
/* Barevnost vysouvacího menu */
nav .submenu::before {	border-top-color: #d29e85; /* kontrastni - tečky*/ }
/* vysouvací menu tmavé */
/*
nav .submenu { background-color: #767676 !important; }
nav .submenu a { background-color: #767676 !important; color: #eee !important; }
nav .submenu a:hover {	background-color: #d29e85 !important; color: #fff !important; }
*/
/* vysouvací menu dle barevnosti webu */
/*
nav .submenu { background-color: #2f2b2f !important; }
nav .submenu a {	background-color: #2f2b2f !important; color: #d29e85
!important; }
nav .submenu a:hover {	color: #fff !important; }
*/

/*  *********
 *  Vlastní styly
 *  ********* */


#tiraz h2 { top: 8rem; }

embed { border: 2px solid #f5f5f5; margin-bottom: 2rem; }

embed + embed { margin-top: 1rem; }