﻿@charset "utf-8";
@import "normalize.css";
@import "fonts.css";

/* Barvy DPO */
/* -------------------------------------------------------------- */
:root {	--dpo-color-darkblue: #003C69; --dpo-color-orange: #FFB60F; --dpo-color-turquoise: #1DD3FF; }

/* HTML */
/* -------------------------------------------------------------- */
* { font-kerning: normal; font-size: 14px; font-style: inherit; font-weight: inherit; margin: 0; padding: 0; }
a { color: var(--bs-link-color); font-size: inherit !important; text-decoration: none; }
	a:hover { color: var(--bs-link-hover-color); }
	a:visited { /*color: var(--bs-link-visited-color);*/ }
body { padding-top: 4.6875rem; }
fieldset { border: none; border-radius: 1.5rem; margin: 0 !important; padding: 0 !important; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--bs-heading-color); font-family: Montserrat, sans-serif; font-weight: 800; margin: 0; padding: 0; text-transform: uppercase; }
h1, .h1 { color: var(--dpo-color-turquoise); font-size: 2.5em; letter-spacing: -0.02em; }
h2, .h2 { font-size: 1.75em; margin-bottom: 1em; }
h3, .h3 { font-size: 1.5em; margin-bottom: 1em; }
h4, .h4 { font-size: 1.25em; margin-bottom: 1em; }
h5, .h5 { font-size: 1.125em; }
h6, .h6 { font-size: 1em; }
html, body { background: var(--bs-body-bg); box-sizing: border-box; color: var(--bs-body-color); font-family: Merriweather, serif; font-size: 1em; height: 100%; line-height: 1.2em; max-width: 100%; min-width: 360px; text-align: left; }
input, select, textarea { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: 5px; color: var(--bs-body-color); padding: 10px; }
	input[type="button"], input[type="reset"], input[type="submit"] { background: var(--bs-body-color); border-radius: 10px; color: var(--bs-body-bg); padding: 1em 2em; }
	input[type="checkbox"], input[type="radio"] { margin-right: 1em; }
label { color: var(--bs-body-color); display: flex; }
legend { display: inline; line-height: 1em; }
li { margin-bottom: 0.5em; }
mark { background-color: yellow !important; color: black !important; font-size: inherit; font-weight: inherit; padding: 0.125rem 0; }
ol, ul { margin: 0; padding: 0.5em 1em; }
p { margin-bottom: 1em; }
strong { color: var(--dpo-color-turquoise); font-weight: 800 !important; }
tfoot { }
tfoot, th { color: var(--bs-heading-color); font-weight: bold; }
thead { border-bottom: 1px solid var(--bs-border-color); }

/* Responzivní font */
@media (min-width: 768px) { html { font-size: 16px; } }

/* Kustomizace Bootstrap */
/* -------------------------------------------------------------- */
:root, [data-bs-theme="dark"], [data-bs-theme="light"] { --bs-link-hover-color: var(--dpo-color-turquoise); --bs-primary: var(--dpo-color-turquoise); --bs-primary-rgb: 29, 211, 255; }

[data-bs-theme="dark"] { --bs-body-bg: #121212; --bs-body-color: #e9ecef; --bs-border-color: #444; --bs-danger: #ff4500; --bs-heading-color: #ffffff; --bs-link-color: #fff; --bs-link-visited-color: #fff; --bs-primary-color: #fff; --bs-secondary-bg: #2e2e2e; --bs-secondary-bg-rgb: 46, 46, 46; --bs-success: #00ff7f; --bs-tertiary-bg: #2a2a2a; --bs-tertiary-bg-rgb: 42, 42, 42; }
:root[data-bs-theme="dark"] .dropdown-menu { --bs-dropdown-link-color: #fff; --bs-dropdown-link-hover-bg: var(--dpo-color-turquoise); --bs-dropdown-link-hover-color: #000; }
:root[data-bs-theme="dark"] .navbar { --bs-navbar-active-color: var(--dpo-color-turquoise); --bs-navbar-color: #fff; --bs-navbar-hover-color: var(--dpo-color-turquoise); }

[data-bs-theme="light"] { --bs-body-bg: #ffffff; --bs-body-color: #000000; --bs-border-color: #ced4da; --bs-danger: #FF0000; --bs-heading-color: #000000; --bs-link-color: #000; --bs-link-visited-color: #000; --bs-primary-color: #000; --bs-secondary-bg: #E8E9E9; --bs-secondary-bg-rgb: 232, 233, 233; --bs-success: #008000; --bs-tertiary-bg: #E9ECEF; --bs-tertiary-bg-rgb: 233, 236, 239; }
:root[data-bs-theme="light"] .dropdown-menu { --bs-dropdown-link-color: #000; --bs-dropdown-link-hover-bg: var(--dpo-color-turquoise); --bs-dropdown-link-hover-color: #000; }
:root[data-bs-theme="light"] .navbar { --bs-navbar-active-color: var(--dpo-color-turquoise); --bs-navbar-color: #000; --bs-navbar-hover-color: var(--dpo-color-turquoise); }

.btn, .btn-primary, .btn-secondary { border: none !important; border-radius: 1rem; font-family: Montserrat, sans-serif !important; font-size: 1.5em !important; font-weight: bold !important; padding: 2rem !important; text-transform: uppercase !important; }
	.btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn:hover, .btn-primary:hover, .btn-secondary:hover { background-color: #000 !important; border: none !important; color: #fff !important; }
.btn-danger { background-color: #FF0000 !important; color: #fff !important; }
.btn-primary { background-color: var(--bs-primary) !important; color: #000 !important; }
.form-control { background-color: var(--bs-body-bg); border: 2px solid var(--bs-border-color); border-radius: .5rem; color: var(--bs-body-color); font-weight: 800; }
.form-control:focus { border: 2px solid var(--dpo-color-turquoise); box-shadow: none; outline: none; }
.mark { background-color: yellow; color: black; }
.navbar { background-color: var(--bs-body-bg); margin: 0 !important; padding: 0 !important; }
.navbar-brand { color: var(--bs-heading-color); margin: 0 !important; padding: 0 !important; }
	.navbar-collapse.show .nav-text { display: inline !important; }
.navbar-nav .nav-link:hover { color: var(--bs-navbar-hover-color) !important; }
.text-danger, .text-success { font-family: Montserrat, sans-serif; font-weight: 800; text-transform: uppercase; }
.text-danger { color: var(--bs-danger) !important; }
.text-success { color: var(--bs-success) !important; }

/* Vlastní třídy */
/* -------------------------------------------------------------- */
.bg-tyrkys { background-color: var(--dpo-color-turquoise) !important; color: black !important; }
.middle { align-items: center; display: flex; height: 100%; justify-content: center; width: 100%; }

/* Form */
.bg-grey-2 { background-color: var(--bs-secondary-bg); }
.vstup-cislo-vozu { border-radius: 1rem; font-family: Montserrat, sans-serif; font-size: 3.6rem; font-weight: bold; margin: 0 auto; padding: 0 0.5rem; text-align: center; }
	.vstup-cislo-vozu::placeholder { color: #ececed; opacity: 1; /* Firefox fix */ }

/* Hvězdičky */
.gradient-line { background: linear-gradient(to right, var(--bs-danger), var(--bs-success)); height: 2px; }
.hvezdicka { align-items: center; aspect-ratio: 1 / 1; background-image: url("data:image/svg+xml,%3Csvg fill='%23B3B3B3' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12,2 15,9 22,9 17,14 19,21 12,17 5,21 7,14 2,9 9,9'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: contain; display: flex; flex: 1; font-family: Montserrat, sans-serif; font-size: 0.8rem; font-weight: 800; justify-content: center; max-width: 80px; text-align: center; user-select: none; }
.hvezdicka-vuz { align-items: center; aspect-ratio: 1 / 1; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23B3B3B3' viewBox='0 0 16 16'><path d='M8 0l2.47 5.013L16 6.09l-4 3.9.94 5.497L8 13.25l-4.94 2.237L4 9.99 0 6.09l5.53-.977L8 0z'/></svg>"); background-position: center; background-repeat: no-repeat; background-size: contain; display: flex; flex: 1 1 0; font-family: Montserrat, sans-serif; font-size: 0.5rem; font-weight: 800; justify-content: center; user-select: none; }
.hvezdicka-vuz.aktivni, .hvezdicka-vuz.hover { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='gold' viewBox='0 0 16 16'><path d='M8 0l2.47 5.013L16 6.09l-4 3.9.94 5.497L8 13.25l-4.94 2.237L4 9.99 0 6.09l5.53-.977L8 0z'/></svg>"); }
.hvezdicka.aktivni, .hvezdicka.hover { background-image: url("data:image/svg+xml,%3Csvg fill='gold' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12,2 15,9 22,9 17,14 19,21 12,17 5,21 7,14 2,9 9,9'/%3E%3C/svg%3E"); }
.hvezdicky { color: black; cursor: pointer; display: flex; gap: 0.5rem; justify-content: space-between; width: 100%; }
.hvezdicky-vuz { color: black; cursor: pointer; display: flex; gap: 0.25rem; justify-content: flex-start; width: 100%; }
