@charset "UTF-8";
/*
 * Základní rozvržení a komponenty – náhrada za Bootstrap 3.
 * Obsahuje jen to, co šablona skutečně používá: kontejnery, mřížku,
 * navigaci se sbalováním a modální okna. Zbytek si style.css řeší sám.
 */

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

button {
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/* --------------------------------------------------------------------------
   Kontejnery
   -------------------------------------------------------------------------- */
.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

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

/* --------------------------------------------------------------------------
   Mřížka
   -------------------------------------------------------------------------- */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-xs-"],
[class*="col-sm-"],
[class*="col-md-"],
[class*="col-lg-"] {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

[class*="col-xs-"] {
    float: left;
}

.col-xs-12 { width: 100%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-9  { width: 75%; }
.col-xs-8  { width: 66.66666667%; }
.col-xs-7  { width: 58.33333333%; }
.col-xs-6  { width: 50%; }
.col-xs-5  { width: 41.66666667%; }
.col-xs-4  { width: 33.33333333%; }
.col-xs-3  { width: 25%; }
.col-xs-2  { width: 16.66666667%; }
.col-xs-1  { width: 8.33333333%; }

/* col-xs-0 není bootstrapová třída – v šabloně slouží jako „na mobilu
   plná šířka, od tabletu ať rozhodne col-sm-*“. */
.col-xs-0 {
    float: left;
    width: 100%;
}

@media (min-width: 768px) {
    [class*="col-sm-"] {
        float: left;
    }
    .col-sm-12 { width: 100%; }
    .col-sm-11 { width: 91.66666667%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-9  { width: 75%; }
    .col-sm-8  { width: 66.66666667%; }
    .col-sm-7  { width: 58.33333333%; }
    .col-sm-6  { width: 50%; }
    .col-sm-5  { width: 41.66666667%; }
    .col-sm-4  { width: 33.33333333%; }
    .col-sm-3  { width: 25%; }
    .col-sm-2  { width: 16.66666667%; }
    .col-sm-1  { width: 8.33333333%; }
}

@media (min-width: 992px) {
    [class*="col-md-"] {
        float: left;
    }
    .col-md-12 { width: 100%; }
    .col-md-11 { width: 91.66666667%; }
    .col-md-10 { width: 83.33333333%; }
    .col-md-9  { width: 75%; }
    .col-md-8  { width: 66.66666667%; }
    .col-md-7  { width: 58.33333333%; }
    .col-md-6  { width: 50%; }
    .col-md-5  { width: 41.66666667%; }
    .col-md-4  { width: 33.33333333%; }
    .col-md-3  { width: 25%; }
    .col-md-2  { width: 16.66666667%; }
    .col-md-1  { width: 8.33333333%; }
}

@media (min-width: 1200px) {
    [class*="col-lg-"] {
        float: left;
    }
    .col-lg-12 { width: 100%; }
    .col-lg-11 { width: 91.66666667%; }
    .col-lg-10 { width: 83.33333333%; }
    .col-lg-9  { width: 75%; }
    .col-lg-8  { width: 66.66666667%; }
    .col-lg-7  { width: 58.33333333%; }
    .col-lg-6  { width: 50%; }
    .col-lg-5  { width: 41.66666667%; }
    .col-lg-4  { width: 33.33333333%; }
    .col-lg-3  { width: 25%; }
    .col-lg-2  { width: 16.66666667%; }
    .col-lg-1  { width: 8.33333333%; }
}

/* --------------------------------------------------------------------------
   Navigace
   -------------------------------------------------------------------------- */
.navbar {
    position: relative;
}

.navbar-header::after {
    display: table;
    clear: both;
    content: "";
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin: 8px 0;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-collapse {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
}

/* Položky menu plavou, takže rodič potřebuje uzavřít výšku –
   jinak by odkazy vyčnívaly ven z lišty. */
.navbar-collapse::after,
.navbar-nav::after {
    display: table;
    clear: both;
    content: "";
}

@media (max-width: 767px) {
    .navbar-collapse {
        max-height: 340px;
        overflow-y: auto;
    }
}

.navbar-nav {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
    .navbar-collapse {
        width: auto;
        max-height: none;
        overflow: visible !important;
    }
    /* Od tabletu je menu vždy vidět, bez ohledu na stav sbalení. */
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
    }
    /* Od tabletu jdou položky vedle sebe, na mobilu zůstávají pod sebou. */
    .navbar-nav > li {
        float: left;
    }
}

/* --------------------------------------------------------------------------
   Sbalování
   -------------------------------------------------------------------------- */
.collapse {
    display: none;
}

.collapse.in {
    display: block;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* --------------------------------------------------------------------------
   Prolínání
   -------------------------------------------------------------------------- */
.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.fade.in {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Modální okna
   -------------------------------------------------------------------------- */
.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal.in .modal-dialog {
    transform: translate(0, 0);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    transform: translate(0, -25%);
    transition: transform 0.3s ease-out;
}

.modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.in {
    opacity: 0.5;
}

.modal-body {
    position: relative;
    padding: 15px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}

/* --------------------------------------------------------------------------
   Pomocné třídy
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.hidden {
    display: none !important;
}
