/**
 * Globální nastavení komponent
 */

/*
 * Základní HTML
 */
a:not(.btn)
{
    color: #333;
    text-decoration: underline;
}
a:hover,
a:focus
{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p
{
    margin: 0 0 15px;
}
h3
{
    color: #777;
}
.table tbody tr th,
.table tbody tr td
{
    vertical-align: middle;
    font-weight: normal;
    height: 45px;
}
.table.bgTransparent, 
.table.bgTransparent tr,
.table.bgTransparent td,
.table.bgTransparent th
{
    background: transparent !important;
}
.table.noBorder,
.table.noBorder tr,
.table.noBorder td,
.table.noBorder th
{
    border: 0px !important;
}
.table.table-sm tbody tr th,
.table.table-sm tbody tr td
{
    height: auto !important;
}
ul, ol
{
    padding-left: 0;
}
ul li, ol li
{
    margin-left: 16px;
}
input[type="number"]
{
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

/*
 * Formuláře
 */
optgroup
{
    background: #000;
    color: #fff;
    font-weight: bold;
}
option
{
    background: #fff;
    color: #000;
    font-weight: normal;
}
fieldset
{
    border: 1px solid #ddd;
    padding: 1em;
    margin: 0 0 1em 0;
}
fieldset .table
{
    margin-bottom: 0;
}
fieldset .table + .table
{
    margin-top: 15px;
}
label
{
    font-weight: normal;
}
legend
{
    font-size: 1em;
    width: auto;
    border: 1px solid #ddd;
    padding: 0.25em 0.5em;
    margin: 0;
}
textarea
{
    resize: none;
}

/*
 * Select2
 */
body .select2-results li
{
    margin:0px;
}
body .select2-search
{
    *padding-top:2px\9;
}
body .select2-search input
{
    *min-height:auto;
    min-height:auto\9;
    *background-position:right -22px;
}
body .select2-chosen
{
    color:#777 !important;
}

/*
 * Boostrap
 */
.btn-showlink
{
    position:relative;
}
.btn-showlink input
{
    position:absolute;
    right:0px;
    top:100%;
    margin:5px 0px 5px 0px;
    -webkit-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.5);
    box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.5);
    min-width:450px;
    z-index:99;
}
.progress
{
    margin-bottom: 0;
}
.category-tree
{
    list-style: none !important;
}
.category-tree li
{
    margin: 0 !important;
}
.category-tree ul
{
    margin-left: 16px;
}
.alert-default
{
    color: #777;
    border-color: #ccc;
}

/*
 * Fancybox
 */
[id^=fancybox]
{
    box-sizing: initial;
}