@import "fonty.css";

* {
    font-family: 'Nunito', sans-serif;}

:root {
    --blue: #2B5F8E;
    --white: #ffffff;
}

::-moz-selection {
    background-color:  var(--blue);
    color: #ffffff;
}

::selection {
    background-color:  var(--blue);
    color: #ffffff;
}

.cursor-pointer {
    cursor: pointer;
}
.footer {
    background-color: #EAEAEA;
}

.bg-blue {
    background-color:  var(--blue);
    color: white;
}

.border-blue {
    border-color:  var(--blue) !important;
}

.text-blue {
    color:  var(--blue) !important;
}

a.dropdown-item:hover {
    color: white;
    background-color:  var(--blue);
}

.jumbo {
    margin-bottom: 0;
    padding: 40px 0;
    background-color: #eaeaea !important;
}

.blur {
    filter: blur(3px);
    color: #d63384;
}

input::placeholder {
    color: rgba(75, 75, 75, 0.53) !important;
}

/*szukajka w datatables*/
#dt-search-0 {
    display: inline !important;
    width: auto !important;
}

.ck-editor__editable_inline:not(.ck-comment__input *) {
    height: 500px;
    overflow-y: auto;
}

.form-check-input {
    clear: left;
}


.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: 2.75rem;
    border-radius: 3rem;
}

.card-icon {
    position: absolute;
    top: 0;
    right: 10px;
}

.no-underline {
    text-decoration: none !important;
}
.statcard {
    transition: all 0.2s;
}
.settcard:hover, .statcard:hover {
    background-color: #ececec;
}

.settcard-blue:hover {
    background-color: rgba(43, 95, 142, 0.75);
}

.settcard-blue {
    background-color:  var(--blue);
}

.settcard, .settcard-blue {
    min-width: 130px !important;
    max-width: 130px !important;
    min-height: 130px !important;
    overflow: hidden;
    transition: all 0.28s;
    margin-right: 1em;
    margin-bottom: 1em;
}
.settcard-link {
    text-decoration: none;
    margin-bottom: .5rem;
}
.setticon {
    font-size: 3rem;
}

.settcard > span {
    position: absolute;
    bottom: .7rem;
}


#tlodiv{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#tlo{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(43, 95, 142, 0.64);
    z-index: 9999;
}

#tlo::after, #tlodiv::after {
    content: "";
    width: 90px;
    height: 90px;
    border: 12px solid #dddddd;
    border-top: 12px solid  var(--blue);
    border-radius: 50%;
    animation: obrot 1s ease infinite;
}
@keyframes obrot {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

.custom-tooltip {
    --bs-tooltip-bg:  var(--blue);
    --bs-tooltip-color: var(--bs-white);
    --bs-tooltip-opacity: 1;
}

.table thead th {
    background-color:  var(--blue);
    color: var(--bs-white);
}

.btn-selected-danger::after {
    content: '';
    display: block;
    height: 2px;
    background: #DC3545;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.btn-selected-primary::after {
    content: '';
    display: block;
    height: 2px;
    background: #0d6efd;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.btn-selected-warning::after {
    content: '';
    display: block;
    height: 2px;
    background: #ffc107;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.btn-selected-secondary::after {
    content: '';
    display: block;
    height: 2px;
    background: #6c757d;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.btn-selected-info::after {
    content: '';
    display: block;
    height: 2px;
    background: #0dcaf0;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.btn-selected-success::after {
    content: '';
    display: block;
    height: 2px;
    background: #198754;
    transform: translateY(20px);
    transition: width .3s;
    width: 100%;
}

.admin-side-link:hover {
    color:  var(--blue) !important;
    background-color: #ececec;
}

.clickable-row {
    cursor: pointer;
}

.okw-item {
    cursor: pointer;
    transition: all 0.2s;
}

.okw-item:has(.show):hover, .okw-item:hover {
    /*background-color: rgba(237, 237, 237, 0.75);*/
    background-color: rgba(43, 95, 142, 0.1);
}

.okw-item:has(.show) {
    background-color: rgba(237, 237, 237, 0.5);
}

.marked {
    font-style: normal;
    background-color: #f4e9ae;
}

.okw-item-nr-div {
    width: 5em !important;
    max-width: 5em !important;
    min-width: 5em !important;
    height: 5em;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(0,0,0, 0.175);
}

.okw-item-nr-div .okw-item-nr {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.5rem;
}

.okw-item-borders {
    padding-right: 3rem;
    border-bottom: 1px solid rgba(0,0,0, 0.175);
    display: inline;
}

table.grafik td, table.grafik th {
    padding:5px;
    border: 1px solid black !important;
}