:root {
    --bg-input: #f8f9fa !important;
    --text-color: black !important;
    --alert-bg:white !important;
    --radio-checked-color:gray;
}
.form-control{
    background-color: var(--bg-input);
}
.form-control:focus{
    background-color: var(--bg-input);
}
[data-theme="contrast"] {
    --bg-input: black !important;
    --text-color: yellow !important;
    --alert-bg:black !important;
    --radio-checked-color:yellow;

}
.marginAuto {
    margin: 0 auto;
}
.inp {
    color: #212529;
    font-size: small;
}

input, textarea, .select2-selection, .select2-selection__rendered {
    border-radius: 15px !important;
    border-color: #75889b !important;
    background: var(--bg-input);
    color: var(--text-color) !important;
}

.line {
    margin-top: 25px;
    border-top: 1px solid #75889b;
}
.break {
    margin-top: 25px;
}
.line3 {
    margin-top: 25px;
    border-top: 1px dashed #75889b;
}

.header {
    padding-top: 15px;
    font-size: x-large;
}

.li {
    list-style-type: square;
    margin: 0;
}

.margin {
    margin-top: 10px;
}

.marginHeigh {
    margin-top: 30px;
}
.padding {
    padding-top: 20px;
}


label {
    font-weight: 400;
}
.custom-control{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.custom-control input[type=checkbox] {
    margin-right: 3px;
}
.small_line {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #13b680;
}
select {
    margin: 5px 0 5px 0;
    border-radius: 15px !important;
    border-color: #75889b !important;
    background: #f8f9fa !important;
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.display {
    display: none !important;
}
.select2-selection {
    height: 38px !important;
    margin: 5px 0 5px 0;
    border-radius: 15px !important;
    border-color: #75889b !important;
    font-size: 1rem;
    line-height: 100%;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
}
.select{
    background-color: var(--background-white) !important;
    color:var(--black) !important;
}

.no-label div div label {
    display: none;
}
.no-label-one-div div label:first-child {
    display: none;
}
.no-label-div-last div div label:last-child {
    display: none;
}
.preloader {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 99999999;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 2px solid #f3f3f3;
    border-top: 3px solid green;
    border-radius: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: spin 1s infinite ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#loading-msg {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: calc(50% - 80px);
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 24px;
}

input:required {
    /*box-shadow: 1px 1px 5px rgba(255, 0, 0, 0.55);*/
}
.select2-container {
    width: 100%;
}

.align-self-center .custom-control.custom-checkbox {
    display: none !important;
}

.form-control a {
    color: var(--custom-file-label);
    font-weight: 600;
}

.form-control a:hover {
    color: #222222;
}

input[type=file][name=file] {
    display: block !important;
}
.font-normal {
    font-size: large;
}
form:not(.no-container) {
    /* Add shadows to create the "card" effect */
    box-shadow: 0.05rem 0.1rem 0.3rem -0.03rem rgb(0 0 0 / 45%);
    transition: 0.3s;
    padding: 2444px 16px;
    background: #fefefe;
    border-radius: 0.5rem;

}

/* On mouse-over, add a deeper shadow */


/* Add some padding inside the card container */
form .container {
    padding: 16px 32px 16px 32px;
}
form {
    padding: 80px !important;
}
.text-color {
    color: green !important;
}
/*.required {*/
/*    border-radius: 8px;*/
/*    border: 4px solid #dc627b;*/
/*    margin: 5px;*/
/*    padding: 5px;*/
/*}*/
.required:after {
    content: 'To pole jest wymagane';
    font-size: small;
    border: 1px solid #dc627b;
    /*width: 40px;*/
    background: #dc627b;
    margin: 5px;
    color: white;
    right:0;
    border-radius: 3px;
    padding: 2px;
    margin-top: 3px;
}
.select2-search__field {
 background: #e9f0e9 !important;
    -webkit-box-shadow: 0px 0px 33px -14px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 0px 33px -14px rgba(66, 68, 90, 1);
    box-shadow: 0px 0px 33px -14px rgba(66, 68, 90, 1);
}
.dataTables_length {
    width: auto !important;
}
.requiredYear:after {
    content: 'Błędnie podany rok';
    font-size: small;
    border: 1px solid #dc627b;
    /*width: 40px;*/
    background: #dc627b;
    margin: 5px;
    color: white;
    right:0;
    border-radius: 3px;
    padding: 2px;
    margin-top: 3px;
}
.requiredSum:after {
    content: 'Kwota nie może być ujemna';
    font-size: small;
    border: 1px solid #dc627b;
    /*width: 40px;*/
    background: #dc627b;
    margin: 5px;
    color: white;
    right:0;
    border-radius: 3px;
    padding: 2px;
    margin-top: 3px;
}
.delete_custom {
    border-radius: 5px;
    color: green;
}
.delete_custom:hover {
    cursor: pointer;
}
.noFreshAir {
    background: lightblue !important;
    border-radius: 5px;
}
.jconfirm-box-container {
    width: 100% !important;
    padding: 0 !important;
}
.displayGrantBefore {
    display: none;
}
.left {
    text-align: left !important;
}
.form-check-input[type=radio]{
    background-color: var(--bg-input) !important;
    border-color: var(--black) !important;
}
.form-check-input:checked{
    border-radius: 70% !important;
    background-color: gray !important;
}
.form-check-input:checked[type=radio] {
    background-image: none !important;
    background-color: var(--bg-input) !important;
    box-shadow: inset 0px 0px 0px 3px var(--radio-checked-color);
}
