html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#loading {
    display: none;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/images/loading.gif) 50% 50% no-repeat rgba(255, 255, 255, 0.8);
}

.valid-info {
    width: 100%;
    margin:auto;
    margin-top: .25rem;
    font-size: .875em;
    color: #198754;
}

.invalid-info {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

.invalid-input input {
    color: #ea868f;
    border-color: #ea868f;
}
    .card-search-list label {
        display:block;
    }

.input-group-choice {
   position: relative;
}

.choices__list--single {
    padding-top: 2px !important;
}

.choices__input {
    background-color:initial !important;
}

.choices__list--dropdown {
    left:0px;
}

#alert-area {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1060;
    bottom: 0;
    margin-bottom: 0;
    text-align: center;
}

#alert-modal-area {
    position: absolute;
    left: 10px;
    bottom: 0;
}

.invalid-message {
    color: #ea868f;
}

.valid-message {
    color: #75b798;
}

.choices__list--multiple .choices__item {
    font-size: .7em !important;
}

#selectionItemsPartial tr {
    font-size: .9em;
}

.input-group .twitter-typeahead {
    flex: 1 1 auto;
    width: 1%;
}

.input-group .twitter-typeahead .form-select {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
 }

.custom-modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    /*border-top: 1px solid #dee2e6;*/
    border-top:none;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.border-fake-thin {
    box-shadow: 0 0 0 0.7px rgba(13,110, 253, 0.3);
    padding: 1rem;
}

/*loader dla inputów*/
.loaderSearching {
    width: 20px;
    height: 20px;
    /*top: 37px;*/
    border: 2px solid #ced4da;
    position: absolute;
    right: 30px;
    border-bottom-color: #0d6efd;
    border-radius: 50% !important;
    display: inline-block;
    background-size: contain;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.w-15 {
    width:15% !important;
    display:table-cell !important;
    min-width:150px;
}

input[type="search"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.popover {
    z-index: 10010;
}

.readonlyDiv select {
    pointer-events: none;
    background-color: #e9ecef;
}

.readonlyDiv input {
    pointer-events: none;
    background-color: #e9ecef;
}

.readonlyDiv .selectionTypeLabel {
    pointer-events: none;
    background-color: #e9ecef;
}

.readonlyDiv input[type="checkbox"] {
    pointer-events: none;
    background-color: #e9ecef;
}

i[onclick], span[onclick], .link {
    cursor: pointer;
}

.field-validation-error {
    color: #f00;
    display: block;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

.card-header .btn-link {
    color: #3D3F44;
}

#orderStep2PartialView h5, #orderStep2PartialView h4, #orderStep2PartialView h6 {
    color: #6c757d;
}

.table-paymant-order-summary-label {
    font-size: .6rem;
}

#attachmentsTable td {
    padding: 0.2px;
}

.offcanvas-50 {
    width: 40vw !important;
    transform: translateX(-50%) !important;
    left: 50%;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-radius: 45px !important;
}

.packItemSpan {
    display:flex;
    margin-left:15%;
}

.popover-width-70 {
    max-width: 70vw;
}

/* Stylizacja dla multiple select z Choices.js z wyglądem jak form-control-sm. Nadanie classy w konstruktorze niestety nie wystarczy*/
.choices.choices-sm {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.choices.choices-sm .choices__list--multiple .choices__item {
    font-size: 0.7rem !important;
    padding: 0.15rem 0.5rem;
    margin-top: -8px !important;
}

.choices.choices-sm .choices__input {
    font-size: 0.875rem;
    padding: 0.2rem 0.4rem;
}

.choices.choices-sm .choices__list--multiple {
    font-size: 0.85rem;
}

.choices-custom-proforma-form {
    margin-bottom:0px;
}

div.dt-processing > div {
    display: none;
}

.btn-purple {
    color: #de73ff;
}

.text-purple {
    color: #de73ff;
}

.border-fake-thin-purple {
    box-shadow: 0 0 0 1px rgba(222,115, 255, 1);
    padding: 1rem;
}

.border-fake-thin-danger {
    box-shadow: 0 0 0 1.5px rgba(234,134, 126, 1);
    padding: 1rem;
}

@keyframes pulseEffect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 #FFD454;
    }

    60% {
        transform: scale(1.1);
        /* RGBA: #FFD454 z przezroczystością ~0.33 => rgba(255, 212, 84, 0.33) */
        box-shadow: 0 0 5px 5px rgba(255, 212, 84, 0.33);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 #FFD454;
    }
}

.btn-pulse {
    animation: pulseEffect 1s infinite;
}

.btn-underline-thin {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.fw-8 {
    font-size: .9em;
}

.deactivationStatusInfo {
    color: red;
    display: inline-block;
    font-size:1.1em;
}