﻿.tab-content {
    padding: 2rem 3rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 .3rem .3rem .3rem;
}

@media (max-width: 1200px) {
	.tab-content {
        padding: 2rem 2.5rem;
	}
}

@media (max-width: 991.98px) {
	.tab-content {
        padding: 1.75rem 2rem;
	}
}

@media (max-width: 767.98px) {
	.tab-content {
        padding: 1.5rem;
	}
}

@media (max-width: 576px) {
	.tab-content {
        padding: 0.5rem;
	}
}


/* default margin between rows inside forms */
form div.row:not(:last-child), form fieldset.row:not(:last-child) {
    margin-bottom: 1rem;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #dee2e6;
}
.nav-tabs .nav-link.active {
    border-bottom-color: #fff;
}

button[disabled] {
  cursor: not-allowed;
}

.radio.disabled label, .checkbox.disabled label, fieldset[disabled] .radio label, fieldset[disabled] .checkbox label {
    cursor: not-allowed;
}

.img-flag {
    width: 32px;
    height: 21.33px;
    margin-right: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.kb-img-flag {
    width: 28px;
    height: 18.66px;
}

.img-flag.small {
    width: 24px;
    height: 16px;
    margin-right: 6px;
}

.img-flag.icon {
    width: 20px;
    height: 16px;
}

.kb-img-flag.small {
    width: 22px;
    height: 14.66px;
}

.page {
    margin-right: 0;
}

.page .content {
    margin: 0 1.875rem;
    padding: 1.5rem 0;
}

.page .content .page-left {
    margin-right: 1.875rem;
}

.page .content > .container-fluid, .page .content .content-wrapper > .container-fluid {
    --bs-gutter-x: 0;
}

@media (max-width: 991.98px) {
	.page .content {
		margin: 0 0.625rem;
        padding: 0.625rem 0;
	}

    .page .content .page-left {
        margin-right: 0;
        margin-top: 1.25rem;
    }
}

@media (max-width: 576px) {
	.page .content {
		margin: 0 5px;
        padding: 5px 0;
	}
}

.control-menu {
    margin-left: 0;
}

.ticket-list .text-sm .far {
    margin-right: 0.3125rem; 
}

.header-nav .btn:disabled {
    border: initial !important;
}

.list-row td:first-of-type {
    z-index: 10; /* aby tableheadfixer neposouval obsah dalsich sloupcu do prvniho sloupce */
}

.form-check label::before, 
.settings-card .card-row::after,
.breadcrumb-item + .breadcrumb-item:before {
    font-family: 'Font Awesome 5 Pro';
}

.page > nav > .breadcrumb {
    padding: 10px 30px;
    margin-bottom: -1.5rem;
}

@media (max-width: 991.98px) {
    .page > nav > .breadcrumb {
        padding-left: 0.9375rem;
        margin-bottom: -0.625rem;
    }
}

@media (max-width: 576px) {
    .page > nav > .breadcrumb {
        margin-bottom: 0;
    }
}

.select2-results__options img {
  width: initial;
  margin-right: initial
}

.select2-container--bootstrap-5 .select2-search {
    width: auto;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    /*width: auto;*/ /* zpusobuje ale kratke placeholdery, pokud jsou hidden */
   width: 100%;
}

.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
   height: 1.5rem;
}


/* aby se Select2 multiple polozka nedavala hned na dalsi radek */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search.select2-search--inline {
    flex: 1; /*flex-fill*/ /*vyhledavani/createtag se roztahne na zbytek sirky select2*/
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search:only-child .select2-search__field { /* :only-child placeholder jen pokud tam neni zadna vybrana polozka */
    width: auto !important; /* zpusobuje ale kratke placeholdery, pokud jsou hidden */ /* good for TicketView - Invitation placeholders*/
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: 0.1em 0.5em;
    margin-top: 2px; 
    margin-bottom: 2px; 
}

.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    margin: 1px 3px 1px 0;
}

.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple {
    padding: 2px 0.5rem;
}

/*.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single {
    padding: 0.25rem 2.25rem 0.25rem 0.5rem;
}
*/
.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: 2px 10px;
}

/* aby když se mění šířka kontejneru, se resiznul i Select2 */ /* ale nefunguje dobre v input-group, protoze roztahne placeholdery a input group se pak muze zalomit */
:not(.input-group) > .select2-container--bootstrap-5:not([style^=width])
{
    width: auto !important;
}

/* pokud je clear true - krizek, tak aby pro nej bylo misto */
.select2-container--bootstrap-5 .select2-selection.select2-selection--single .select2-selection__rendered > .select2-selection__clear + span {
    padding-right: 15px;
}

/* posunu krize kousek zpatky */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear, .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    right: 2.0rem;
}

.btn-notification:not([data-count="0"])[data-count] {
    color: #cae3e8;
}

.btn-notification:not([data-count="0"])[data-count]:after {
    position: absolute;
    right: 0%;
    top: 0;
    content: attr(data-count);
    font-size: 70%;
    padding: 3px;
    border-radius: 50%;
    line-height: 1em;
    color: white;
    background: rgba(198, 34, 34, .85);
    text-align: center;
    min-width: 1.6em;
    font-weight: bold;
}
