.navbar {
    margin-bottom: 10px;
}

#titleBarHeader ul {
    margin-left: 0;
    padding-left: 0;
}

#titleBarHeader ul li {
    list-style-type: none;
    line-height: 1em;
    float: left;
    margin-right: .5em;
}

.sman-header {
    margin: 10px 0 10px;
}

.sman-small-title {
    color: #FFFFFF;
    font-size: 20px;
    font-variant: small-caps;
    font-weight: bold;
    /*height: 25px;*/
    margin-top: 6px;
    /* overflow: hidden; */
    margin-bottom: -10px;
}

.sman-small-title.sman-small-title-up {
    margin-top: -3px;
}

#PageContent .sman-small-title {
    color: #000;
    font-size: 18px;
    font-variant: small-caps;
    font-weight: bold;
    height: 30px;
    margin-top: 3px;
    overflow: hidden;
    text-align: right;
}

/* rychl� hled�n� */

#fastFindResult .sup,
#fastFindResult .sub {
    display: block;
    width: 100%;
    line-height: 15px;
    float: left;
    overflow: hidden;
    height: 15px;
}

#fastFindResult .row {
    border-bottom: 1px solid #cccccc;
}

#fastFindResult div.row:nth-child(2n) {
    background-color: #eeeeee;
}

/* vzhled collaps� :) */

.js-tabcollapse-panel-heading {
    display: block;
    font-weight: bold;
}

.panel-default>.panel-heading {
    background-color: #eeeeee;
}

.panel-collapse {
    background-color: #f5f5f5;
}

.well.inforeview {
    padding: 1px !important;
}

.ui-search-toolbar .bootstrap-datetimepicker-widget {
    position: absolute;
}

.s4s-underline {
    border-bottom: 1px solid #e5e5e5;
}

.s4s-error {
    margin: 0 0 7px;
}

.s4s-dph {
    text-transform: capitalize;
}

.ui-jqgrid .fullTextView tr.jqgrow td {
    vertical-align: top !important;
    padding-top: 4px !important;
    white-space: normal !important;
    overflow: auto !important;
}

#config-interface fieldset {
    margin-bottom: 2em;
}

.dropdown-menu {
    z-index: 10000 !important;
    /*position: absolute !important; */
    /*
	background: rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
    */
}


ul.flags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    column-gap: 10px;
}

ul.flags li img {
    max-height: 1.7rem;
}

ul.flags .btn {
    width: 6rem;
}

/*
.flags a img{
	border: 2px solid transparent;
}

.flags a:hover img{
	border: 2px solid #000;
}

.flags .active a img{
	border: 2px solid #aaa;
}
*/

.error,
.oki,
.info {
    padding: 1rem;
    font-weight: bold;
    text-align: center;
}

.error {
    background-color: #F00;
}

.oki {
    background-color: #0F0;
}

.info {
    background-color: #99F;
}

.vcard {
    text-align: center;
}

@media (max-width:767px) {
    body>.container-fluid {
        padding-right: 1px;
        padding-left: 1px;

    }
}

#dialogAboutSystem input {
    color: #000 !important;
    background-color: transparent !important;
    border-width: 0 !important;
    padding: 0 !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* https: //www.sliderrevolution.com/resources/css-animated-background/ */
.newCalendarEvent {
    color: #000 !important;
    border-color: transparent !important;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: nceGradient 10s ease infinite;
}

@keyframes nceGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#fakefocusinput {
    display: block;
    width: 0;
    height: 0;
    left: -10px;
    position: fixed;
    top: -10px;

}

body.dragging #fakefocusinput {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: rotating 1s linear infinite;
    color: transparent;
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


#grafickyprehled #header {
    margin-bottom: 20px;
}


#grafickyprehled .column {
    border: 1px solid silver;
    border-radius: 5px;
    display: inline-block;
    margin: 0 5px 10px 0;
    padding: 10px 10px 3px;
    vertical-align: top;
    min-width: 150px;
    max-width: calc(33% - 5px);
}

#grafickyprehled .column .head {
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid gray;
    font-weight: bold;
    font-size: 120%;
}

#grafickyprehled .column .event {
    background-color: #ddd;
    border-radius: 5px;
    color: #000;
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    width: 100%;
    overflow: hidden;
}

#grafickyprehled .column .day .event {
    /*width: calc(100% - 10px);
margin-left: 10px;*/
    margin-bottom: 2px;
}

#grafickyprehled .column .day .name {
    /*font-weight: bold;*/
    border-bottom: 1px gray dotted;
    margin-bottom: 5px;
    font-style: italic;
}

#grafickyprehled .column .day .name span {
    float: right;
}

#grafickyprehled .column .event:hover {
    text-decoration: none;
    background-color: #aaa;
}

#grafickyprehled .column .event .time {
    /*font-size: 90%;*/
    font-weight: bold;
}

#grafickyprehled .column .event .firma {
    font-style: italic;
}

#grafickyprehled .column .event .nazev {
    margin-bottom: 5px;
    border-bottom: 1px dotted #999;
}

#grafickyprehled .column .event .popis {
    margin-top: 5px;
}

#grafickyprehled .column .event .link {
    float: right;
    color: silver;
    text-decoration: none;
}

#grafickyprehled #header>.btn,
#grafickyprehled #header>.btn-group {
    margin-right: 10px;
}


#grafickyprehled #btn-now {
    font-weight: bold;
    min-width: 170px;
    max-width: 300px;
}

.form-control::placeholder {
    color: #AAA !important;
    font-style: italic;
}

.tab-content {
    padding-top: 10px;
}

.form-control,
.input-group {
    margin-bottom: 10px;
}

.form-control[name=hidden] {
    visibility: hidden;
}

#menu-definition .form-control[name=hidden] {
    visibility: visible;
}

/* .required~.select2 .select2-selection toto je asi špatně, označuje to všechny následující, myslím, že tím bylo myšleno pouze následující */
*.required:not(.disabled),
*.required-pseudo,
.required+.select2 .select2-selection {

    background-color: #AFF !important;
}