/**
    Zakladne stylovanie API klienta
 */

.amedi-element {
    width: 100%;
    min-height: 240px;
    display: table;
    position: relative;
}

#amedi-content {
    padding: 10px;
}

#amedi-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #DDDDDD;
    opacity: 0.8;
    display: none;
    font-size: 1.5em;
}

#amedi-message {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #DDDDDD;
    display: none;
}

#amedi-inner-message, #amedi-inner-loading {
    position: absolute;
    transform: translate(0, -50%);
    text-align: center;
    width: 100%;
    top: 50%;
}

ul.amedi-pagination {
    text-align: center;
    list-style-type: none;
    margin: 5px auto !important;
    padding: 0 !important;
}

.amedi-pagination .amedi-current-page {
    background-color: grey;
}

.amedi-pagination .amedi-page.disabled {
    cursor: not-allowed !important;
    pointer-events: none;
}

.amedi-pagination li {
    margin: 0;
    display: inline-block;
}

.amedi-message {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
}

.amedi-success-message {
    background-color: rgba(12,115,3,0.25);
}

.amedi-button {
    display: block;
    padding: 10px 20px;
    color: #333333;
    border: 1px solid #c3c3c3;
    text-decoration: none;
    background-color: #ddd;
}

.amedi-button:hover {
    background-color: #b5b5b5;
    text-decoration: none;
}

.amedi-back-button {
    display: inline-block;
    margin-top: 20px;
}

.amedi-mt-10 {
    margin-top: 10px;
}

.amedi-mb-10 {
    margin-bottom: 20px;
}

.amedi-mt-20 {
    margin-top: 20px;
}

.amedi-mb-20 {
    margin-bottom: 10px;
}

.amedi-text-center {
    text-align: center;
}

.w-50 {
    width: 50%;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}

.justify-content-between {
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;
}

.flex-fill {
    -ms-flex: 1 1 auto!important;
    flex: 1 1 auto!important;
}

.d-flex {
    display: -ms-flexbox;
    display: flex;
}

.mr-4, .mx-4 {
    margin-right: 1.5rem!important;
}

.ml-4, .mx-4 {
    margin-left: 1.5rem!important;
}

.mr-2, .mx-2 {
    margin-right: 0.5rem!important;
}

.ml-2, .mx-2 {
    margin-left: 0.5rem!important;
}

.mb-3, .my-3 {
    margin-bottom: 1rem!important;
}

.p-2 {
    padding: 0.5rem!important;
}

.w-100 {
    width: 100%!important;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6!important;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group-append {
    margin-left: -1px;
}

.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.input-group>.input-group-append>.btn, .input-group>.input-group-append>.input-group-text, .input-group>.input-group-prepend:first-child>.btn:not(:first-child), .input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child), .input-group>.input-group-prepend:not(:first-child)>.btn, .input-group>.input-group-prepend:not(:first-child)>.input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label, .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after, .input-group:not(.has-validation)>.custom-select:not(:last-child), .input-group:not(.has-validation)>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control, .input-group>.form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}

.invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em !important;
    color: #dc3545 !important;
}

.amedi-js-menu {
    text-align: center;
    margin-bottom: 30px;
}

.amedi-js-menu-item {
    display: inline-block;
    padding: 3px 0px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    color: #505050 !important;
    border-bottom: 1px solid transparent;
}

.amedi-js-menu-item.active {
    border-bottom: 1px solid #00AEEF;
}

.amedi-js-menu-item:hover {
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: 1px solid #00AEEF;
}

.amedi-js-menu-divider {
    border-right: 1px solid #00AEEF;
    padding: 5px 0px;
    margin: 0px 15px;
    width: 1px;
    content: "";
    background-color: #00AEEF;
    display: inline-block;
}

.amedi-js-menu-divider:last-of-type {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}