/* Set padding to keep content from hitting the edges */
.body-content { /*padding-left: 30px; padding-right: 30px;*/
    margin-top: 75px;
}

/* Bootstrap */
.alert > ul {
    margin: 0;
    padding: 0;
}

.alert > ul > li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.btn-primary, .btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus-visible {
    color: white !important;
}

.btn-secondary, .btn-outline-secondary:hover, .btn-outline-secondary:active, .btn-outline-secondary:focus-visible {
    color: white !important;
}

/* FilePond */
.filepond--image-preview {
    background-color: white !important;
}

.filepond--media-preview {
    max-height: 300px;
    max-width: 400px;
}

/* Loading */
.modaloverlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10001;
    background-color: #aaaaaa;
    opacity: .3;
    filter: Alpha(Opacity=30);
}

.modalprogress {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -11px 0 0 -100px;
    font-weight: bold;
    font-size: medium;
    z-index: 10002;
}

.theprogress {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    width: 200px;
    height: 50px;
    line-height: 30px;
    text-align: center;
    color: gray;
    vertical-align: middle;
}

.theprogress img {
    vertical-align: middle;
    margin-bottom: .25em;
}

/* Scroll up */
.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom: 40px;
    right: 50px;
    display: none;
    z-index: 9999;
    background: url('../images/icon_top.png') no-repeat;
}

.scrollup:focus {
    outline: none;
}

/* Sorting */
.sorting-asc {
    background: url('../images/sort_asc_disabled.png') no-repeat center right;
}

.sorting-desc {
    background: url('../images/sort_desc_disabled.png') no-repeat center right;
}

/* LinkDropdown */
/* Zarovnanie LinkDowpdownu s labelom v horizontalnom formulari */
.form-horizontal .ldd, .row .ldd {
    padding-top: 7px;
    margin-bottom: 0px;
    min-height: 32px;
}

.input-group-text .ldd {
    padding-top: 0px;
    min-height: 0px;
}

.form-inline .ldd {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

/* Zmensi medzeru medzi linkom a dropdown menu, zaisti scrollovanie dlheho zoznamu */
.ldd .dropdown-menu {
    top: auto;
    max-height: 500px;
    overflow-y: auto;
}

.ldd_search_li {
    padding-left: 5px;
    padding-right: 5px;
}

.ldd_search {
    font-weight: normal;
    width: 100% !important;
}

.ldd_search_li > input[type='search'] {
    height: 30px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 5px;
}
