@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+Mono:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

body {
	font-family: "Noto Serif", serif;
	color: #333;
	background-color: #FFF;
	font-size: 1rem;
	font-style: normal;
	text-decoration: none;
	text-align: left;
	line-height: 150%; }

header {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center; }
header span {
	display: block;
	font-family: Inter, Sans-Serif;
	font-size: 160%;
	color: #999;
	margin-top: 0;
	margin-bottom: 10px; }
#hero {
	width: 100%;
	/*background: url('images/bg-titulka-hero.webp') no-repeat center top;*/
	/*background-size: cover;*/
	margin: 4rem 0 2rem 0;
	padding: 0; }

#hero p {
	display: block;
	font-size: 120%;
	color: #666;
	width: 70%;
	margin: 0 auto;
	padding: 0;
	text-align: center; }
.hero-akce {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: nowrap;
	text-align: center;
	width: 100%;
	margin: 2rem 0 3rem 0;
	padding: 0; }


#hlavni-sekce {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	flex-wrap: nowrap;
}

.box.skupina {
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 100px 1rem 1rem 1rem;
}
#obsah,
#pata {
	width: 840px;
	margin: 6rem auto;
	position: relative; }

#obsah {
	width: clamp(840px, 90vw, 1100px);
	border: 1px solid #EEE;
	background-color: #F8F8F8;
	padding: 2em;
	border-radius: 18px; }



.box h2,
.skupina h2 {
	font-family: Inter, Sans-Serif;
	font-weight: 300; }
.skupina h2 {
	text-align: center;
	font-size: 1.4rem;
	line-height: 100%;}
.skupina p {
	font-size: 1rem;
	line-height: 150%;
	margin-top: 0.5em;
	margin-bottom: 0;
	flex: 1 1 auto; }
#global,
#pata {
	font-family: Inter, Sans-Serif; }


#global,
#pata {
	color: #CCC;
	background-color: transparent;
	letter-spacing: 0.04em;
	word-spacing: 0.2em; }
#global {
	position: absolute;
	top: 15px;
	left: 20px;
	width: 580px;
	border: none;
	text-align: right;
	padding: 6px 0; }
#pata {
	text-align: center; }

/* Vyhled&#258;&#711;vac&#258;&shy; formul&#258;&#711;&#313;&#8482; */
#cse-search-box {
	position: absolute;
	top: 15px;
	right: 15px;
	display: block;
	width: auto;
	text-align: right; }
#cse-search-box label {
	display: none; }
#cse-search-box input[type="submit"] {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	text-indent: -999px;
	border: none;
	background: #CCC url('../images/bg-isearch-button.png') no-repeat top right; }
#cse-search-box input[type="submit"]:hover {
	background: #DDD url('../images/bg-isearch-button.png') no-repeat bottom right; }
.searchtxt {
	color: #333;
	background-color: #FFF;
	font-size: small;
	padding: 3px 8px;
	margin-right: 0;
	border: 1px solid #CCC;
	border-radius: 10px;
	outline: none; }


.promo {
	width: 690px;
	margin: 0 auto;
	padding: 0; }

.promo p {
	color: #999;
	background-color: transparent;
	text-align: center;
	font-size: 150%;
	margin: 0;
	padding: 20px; }


/* Standardn&#258;&shy; styly */
h1, h2 {
	background-color: transparent;
	letter-spacing: .05em; }
h1 {
	color: #999;
	font-size: 300%;
	font-weight: normal;
	margin-top: 2rem;
	margin-bottom: 1rem;
	text-align: center;
	line-height: 1.2em; }
h2 {
	font-size: 180%;
	font-weight: normal;
	color: #999;
	margin-top: 0.3em;
	margin-bottom: 0.5em; }
p {
	font-size: 16px;
	line-height: 180%;
	margin: 0.4em 0 0.2em 0 }

img {
	border: none; }

/* Odkazy */
a {
	background-color: transparent;
	text-decoration: none;
	border-bottom: 1px solid #d0d4d8; }
a:link {
	color: #666E7C; }
a:visited {
	color: #7C6667; }
a:hover,
a:active {
	color: #AA9899; }

#global a,
#pata a {
	color: #888;
	text-decoration: none;
	border-bottom: 1px solid #DDD;
	margin-right: .5em;
	word-spacing: -0.1em; }
#global a:hover,
#pata a:hover {
	border-bottom: 2px solid #F2DBCA; }

a.btn {
	background-color:hsl(212, 97%, 46%);
	border:1px solid hsl(212, 97%, 43%);
	border-radius: 3px;
	color:#fff !important;
	display:inline-block;
	font-family: 'Inter', Sans-Serif;
	font-size:1.4rem;
	font-weight:300;
	line-height:1.3;
	padding:8px 25px;
	text-align:center;
	text-decoration:none !important;
	text-shadow:1px 1px 1px hsl(212, 97%, 43%); }
a.btn:hover {
	background-color:hsl(212, 100%, 55%);
	cursor:pointer; }

a.btn-secondary {
	background-color:hsl(160, 97%, 36%);
	border:1px solid hsl(160, 97%, 33%);
	text-shadow:1px 1px 1px hsl(160, 97%, 33%);}
a.btn-secondary:hover {
	background-color:hsl(160, 100%, 40%);
	cursor:pointer; }


.box {
	width: 300px;
	min-height: 170px;
	border: 1px solid hsl(0, 0%, 85%);
	border-radius: 6px;
	background-color: #FFF;
	margin: 20px 0px 10px 10px;
	padding: 20px 10px 10px 90px;
	float: left; }
.box p {
	font-size: 18px; }

.box.skupina ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.box.skupina li {
	margin: 1em 0;
	line-height: 120%;
}

#prevody-tabulky,
#tabulky-jednotky,
#fyzici-nobel,
#programy-dalsi,
.bakt,
.bcon,
.bfyz,
.bnob,
.bprg,
.btbl {
	background-repeat: no-repeat;
	background-position: 15px 20px; }
#prevody-tabulky,
#tabulky-jednotky,
#fyzici-nobel,
#programy-dalsi
 {
	background-position: 50% 1rem; }

.bakt { background-image: url("../images/bg-i-novinky.webp"); }
.bcon { background-image: url("../images/bg-i-converter.webp"); }
.bfyz,
#fyzici-nobel { background-image: url("../images/bg-i-osoba.webp"); }
.bnob { background-image: url("../images/bg-i-cena.webp"); }
.bprg,
#programy-dalsi { background-image: url("../images/bg-i-program.webp"); }
.btbl,
#tabulky-jednotky { background-image: url("../images/bg-i-converter.webp"); }
#prevody-tabulky { background-image: url("../images/bg-i-tabulka.webp"); }


/* Mobilizace */
@media screen and (max-width: 480px) {
/* { border: 1px solid red; } */

body, #obsah, #obsah h1, #global, .promo, .promo p, .box, #pata
{ position: relative; width: 100%; height: auto; margin: 0; padding: 0; border: none; background-color: #FFF; }

body { padding: 0 .5em; }
a { white-space: nowrap; }

#global { top:0; left: 0; margin-top: 2em; text-align: left; visibility: collapse; }
#global a {
	visibility: visible; display: block; width: 100%; line-height: 2em; height: 2em; padding-top: 1em; 
	color: #999; font-weight: bold; letter-spacing: 0.1em; }

h1 { background-image: none; font-size: medium; }
.promo { /* border: none; */ background-color: transparent; padding: 1em 0; }
.promo p { font-size: 100%; }

#cse-search-box, p.vboxu { display: none; }

.box { background-image: none; }
.box h2 { margin-top: 2em; }
.box p { line-height: 180%; }

#pata { margin: 2em 0; }
#pata p:first-child { display: none; }


}
