input, select, textarea {
    border: 1px solid black;
    margin:0 1px 0 0;
    background:#F3F2E9 none repeat scroll 0 0;
    border: solid 1px #E0DFD7;
    padding:3px;
    /*   font-size: 12px; */
}

legend {
    color: brown;
}

.error{
    background-color: #ffEFd2;
    border: solid 1px #800;
}

.important {
    /*font-size: 16px;*/
    color: #a22347;
    text-align: center;
    border: solid 1px #800;
    padding: 10px 10px;
    background-color: #ffEFd2;
    margin-bottom: 10px;
}

.kand {
    font-weight: bold;
    padding-left: 5px;
}

.label {
    float: left;
    width: 100px;
}

.liczba {
    text-align:right;
}

.lista_wydruki {
    font-size: 14px;
    line-height: 20px;
}

.readonly, .disable {
    background-color: #C8C8C8;
    color:black;
}

table {
    border-spacing: 0px;
    padding: 0px;
    margin: 0;
    border-collapse:collapse;
    text-align: left;
}
/*  style wykorzystywane do wyświetlania starej wersji tabelek oraz informacji o podaniu kandydata
table.lista {
    width: 95%;
    border: solid 1px black;
    border-spacing: 0px;
    border-collapse: collapse;
    text-align: left;
    margin: 10px;
}

tr.lista {
    text-align: center;
    line-height: 30px;
}

table.lista2 {
    width: 95%;
    border: solid 2px black;
    border-spacing: 0px;
    border-collapse: collapse;
    text-align: left;
    margin: 16px;
}

td.header2 {
    border: solid 1px black;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
}

td.lista {
    padding-left: 2px;
}

td.NoTopBot {
    border-top: none;
    border-bottom: none;
}

td.kierGl {
    font-weight: bold;
    border: solid 1px black;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    padding-left: 2px;
}

td.kierAlt {
    border: solid 1px black;
    font-style: italic;
}

.PrzebiegKierAltHead {
    border-top:  solid 2px black;
    border-left: solid 1px black;
    border-bottom: solid 1px black;
    background-color: #ccc;
    font-weight: bold;
    padding-left: 5px;
}

.PrzebiegKierMainHead {
    border: solid 2px black;
    background-color: #ccc;
    font-weight: bold;
    padding-left: 5px;
}
*/

/* Style używane w starej wersji w części Admin/ELD 
.SelTableItem  a {
    display : block;
    text-decoration:none;
    text-indent:5px;
    line-height:30px;
    font-weight:bold;
    color: #030300;
}

.SelTableItem  a:hover {
    background: darkgray;
    color:yellow;
}

.nr {
    float: left;
    width: 20px;
}

.invisible {
    display: none;
}

#copyright {
    width: 500px;
    font-size: 10px;
    display:inline;
    float:right;
    text-align:right;
    font-style: italic;
}
*/

.DOS_header {
    height: 50px;
    vertical-align: bottom;
}

sup {
    color: red;
}

.szkid {
    max-width: 400px;
}

.kier_menu {

}

.kier_menu > a.selected, a.notselected, a.disabled{
    display: inline;
    float: left;
    color: black;
    width: 110px;
    text-align:center;
    vertical-align:middle;
    line-height:20px;
    font-weight:bold;
    padding: 0px 5px 0px 5px;
    border-top: solid 1px #ad4;
    border-left: solid 1px #ad4;
    border-right: solid 1px #ad4;
    text-decoration:none;
}

.kier_menu > a.selected{
    background-color:white;
    border-bottom: solid 1px white;
}

.kier_menu > a.notselected{
    background-color:#DDFFAA;
    border-bottom: solid 1px #ad4;
}

.kier_menu > a.notselected:hover {
    background: #ad4;
}

.kier_menu > a.disabled {
    background-color:#DDFFAA;
    color: gray;
}

#loading  {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    vertical-align: middle;
    background-color: white;
    display: block;
    z-index: 1000;
}

#loading img {
    height: 100px;
    margin-top: calc(100vh/2 - 50px);
}

#divHint {
    max-width: 350px;
    height: auto;
    border: 1px solid black;
    display: none;
    position: absolute;
    left: -500px;
    z-index: 10;
    font-size: 12px;
}

#HintHeader {
    background-color: yellow;
    padding: 5px 5px;
    font-weight: bold;
    border-bottom: 1px solid black;
}

#HintMsg {
    background-color: lightyellow;
    padding: 5px 5px;
}

.NotLink {
    color: black;
}

/*.hidden {
    height: 1px;
    width: 1px;
    position: absolute;
    left: -10000em;
    top: 0;
    overflow: hidden;
}*/
input.przycisk, input[type=submit], input[type=button] {
    color: #FFF;
    background-color: #448446;
    min-width: 120px;
    margin: 0 auto;
}

.form_block {
    border: 0px;
    padding: 0px;
    margin-bottom: 20px;
}

.form_block fieldset {
    border: 0px none;
}

.form_block legend {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin: 0px 0px 10px -15px;
}

.form_line,
.form_center_line {
    overflow: hidden;
    margin-bottom: 0.5em;
}

.form_center_line {
    margin: 0 auto;
    width: 350px;
}

.form_line label {
    width: 300px;
    display: block;
    float: left;
    vertical-align: middle;
    text-align: left;
}

label.form_oswiadczenie {
    display: block;
    float: left;
    vertical-align: bottom;
}

.form_osw_checkbox {
    text-align: center;
}

.form_center_label {
    display: block;
    float: left;
    vertical-align: bottom;
    width: 120px;
    text-align: right;
    padding-right: 10px;
}

.form_input {
    display: block;
    float: left;
    margin-bottom: 0.5em;
}

.form_table {
    display: table;
}

.form_table_row {
    display: table-row;
}

.form_table_cell,
.form_table_cell_left,
.form_table_cell_left_100px,
.form_table_cell_center,
.form_table_cell_center_100px {
    display: table-cell;
    vertical-align: top;
}

.form_table_cell_center,
.form_table_cell_center_100px {
    text-align: center;
}

.form_table_cell_left_100px,
.form_table_cell_center_100px {
    width: 100px;
}

.form_table_cell_left_100px {
    padding-left: 20px;
}

.form_table_cell_top_left_150px {
    display: table-cell;
    text-align: left;
    vertical-align: top;
    /*width: 150px;*/
    padding-left: 20px;
}

.center {
    text-align: center;
    width: 100%;
}

/** do wywalenia **/

div.table {
    display: table;
    width: 100%;
    border-bottom: 1px solid gray;
}

div.thead {
    display: table-row;
    width: 100%;
    clear: both;
}

div.table div.thead > div {
    display: table-cell;
    font-weight: bold;
    text-align: center;
    background: #aaa;
    border-left: 1px solid gray;
    vertical-align: middle;
}

div.table div.thead > div:last-of-type {
    border-right: 1px solid gray;
}

div.table div.thead > div span {
    color: brown;
}


div.trow {
    display: table-row;
    width: 100%;
    clear: both;
}

div.trow:nth-child(even) {
    background: #EEE;
}

div.trow > div {
    display: table-cell;
    border-left: 1px solid grey;
    padding-left: 5px;
    vertical-align: top;
}

div.trow > div:last-of-type {
    border-right: 1px solid gray;
}

div.trow > div  span {
    color: brown;
}

.divTable {
    display: table;
    width: 100%;
    border-bottom: 1px solid gray;
}
.divTableHead {
    display: table-cell;
    font-weight: bold;
    text-align: center;
    background: #aaa;
    border-left: 1px solid gray;
    vertical-align: middle;
}
.lastCell {
    border-right: 1px solid gray;
}
.divTableHead span {
    color: brown;
}
.divTableRow {
    display: table-row;
    width: 100%;
    clear: both;
}
.divTableRow:nth-child(even) {
    background: #EEE;
}

.divTableCell {
    display: table-cell;
    border-left: 1px solid grey;
    padding-left: 5px;
}
.divTableCell .last {
    border-right: 1px solid gray;
}
.divTableCell span {
    color: brown;
}
/** /do wywalenia **/

.doTlumaczenia {
    background-color: #ffEFd2;
    border: solid 1px #800;
    cursor: pointer;
}

/* ukrycie zonaczania przez przeglądarki fokusowanej kontrolki */
*:focus {
    outline: none;
}

/* ukrywanie informacji do podpowiedzi */

hidden,
.hidden {
    display: none;
}


/* ----------------------------------------------------------------------------
   obsługa informacji OK/BŁĄD/INFO 
*/
#ok, #blad, #info, .info {
    /*min-height: 50px;*/
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    /*font-size: 30pt;*/
    margin-top: 15px;
    width: 100%;
    padding: 5px;
}

#ok {
    background-color: lightgreen;
    border: solid 2px green;
    /*position: fixed;*/
    /*z-index: 10;*/
    /*margin-top: 20vh;*/
    /*text-align: center;*/
    /*width: var(--prawa-strona);*/
    /*opacity: 80%;*/
}

#blad {
    background-color: lightcoral;
    border: solid 2px red;
    /*font-weight: bold;*/
}

#info, .info {
    background-color: yellow;
    border: solid 2px #FFCE00;
}

#ok > img, #blad > img, #info > img, .info > img {
    height: 30px;
    margin: 10px 30px 10px 10px;
    float: left;
}

#ok > div, #blad > div, #info > div, .info > div  {
    display: block;
    width: 90%;
    float: left;
    margin-top: 15px;
}
/* ---------------------------------------------------------------------------*/

/*FORMS*/


input, select, textarea {
    border: solid 1px darkgray;
    /*color: var(--background-color);*/
    background-color: #eee;
    padding: 2px;
    /*    width: 100%;*/
}

input[type=date] {
    width: 150px;
}

input[type=time] {
    width: 80px;
}

input[type=number] {
    text-align: right;
}

.inputerror {
    border: solid 1px red;
    background-color: #FFE0E0;
}


textarea {
    height: 100px;
}

input:disabled, select:disabled, textarea:disabled, .disabled {
    padding: 2px;
    background-color: darkgray;
    color: black;
}

/*input:read-only,
select:read-only,
textarea:read-only,
.read-only {
    background-color: darkgray;
    color: black;
}*/

input[type=checkbox], input[type=radio] {
    width: 30px;
    /*margin: 10px;*/
    margin-top: 3px;
    /*float:left;*/
}

input[type=submit], input[type=button] {
    margin-top: 10px;
    min-width: 150px;
    width: auto;
    padding: 3px 30px;
}
input[type=submit]:disabled,
input[type=button]:disabled {
    color: darkgray;
    background-color: #448446;
}
td > input[type=button] {
    margin-top: auto;
}




/** obsługa styli na checkboxie */
input[type=checkbox] {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background: white;
    height: 16px;
    width: 16px;
    border: solid 1px #A9A9A9;
}

input[type=checkbox].error
/*Te trzy poniższe linie (zakomentowane i odkomentowana) w sumie robią to samo*/
/*input[type=checkbox]:required:not(:checked),*/
/*input[type=checkbox]:not(:valid) {*/
/*input[type=checkbox]:invalid*/
{
    background-color: #ffE0E0;
    border: solid 1px red;
}

input[type=checkbox]:checked {
    border: solid 1px #A9A9A9;
    background: white;
}

input[type=checkbox]:hover {
    filter: brightness(90%);
}

input[type=checkbox]:disabled {
    background: #A9A9A9;
    opacity: 0.6;
    pointer-events: none;
}

input[type=checkbox]:after {
    content: '';
    position: relative;
    left: 30%;
    top: 0%;
    width: 25%;
    height: 70%;
    color: white;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

input[type=checkbox]:checked:after {
    display: block;
}

input[type=checkbox]:disabled:after {
    border-color: #222;
}



a.button {
    border: solid 1px black;
    padding: 4px 30px;
    background-color: white;
    text-align: center;
    text-decoration: none;
}


p {
    margin-top: 1em;
    line-height: 1.3em;
    text-align: justify;
}

li {
    text-align: justify;
}

/*MENU*/
/*.menu > li {
    width: 230px;
    border: none;
    list-style: none;
    margin: 0px;
}

.menu > li > a:hover, .tdlink {
    background-color: lightgrey;
    color: black;
}

.menu a {
    padding: 3px;
    background-color: inherit;
    text-decoration: none;
    display: block;
}

.menu .wybrane {
    background-color: #eee;
}*/


/*TABELE*/
table {
    margin-top: 10px;
    width: 100%;
    border-collapse:collapse;
}

th, td {
    padding: 5px;
    border: solid 1px gray;
    vertical-align: top;
    background-color: inherit;
}

th {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    background-color: #aaa;
}

.right {
    text-align: right;
}

table .button {
    width: auto;
    max-width: 80px;
    padding: 2px;
    margin: 2px;
    display: block;
}

tbody.pointer tr {
    cursor: pointer;
}

tbody.pointer tr:hover {
    background-color: lightgrey;
}

tbody.wpaski tr:nth-child(even),
tbody.pointer tr:nth-child(even):not(:hover)  {
    background-color: #eee;
}

/*/TABLE*/


.center {
    text-align: center;
}

/*
option:nth-child(even) {
    background-color: #c0c0c0;
}
*/

.errormsg {
    color: red;
}

.lp {
    width: 60px;
}
/*

#body > .left {
}




.przekresl {
    text-decoration: line-through;
}


.italic {
    font-style: italic;
}

 MENU 
#subpage {
    clear: both;
    padding-top: 10px;
}

#grant_menu > div {
    border: solid 1px black;
    list-style: none;
    background-color: #E0E0E0;
    float: left;
    min-width:  103px;
    text-align: center;
    padding: 0px 5px;
    padding: 2px;
}

#wnioski_menu > div {
    border: solid 1px black;
    list-style: none;
    background-color: #E0E0E0;
    float: left;
    min-width:  120px;
    text-align: center;
    padding: 0px 5px;
    padding: 2px;
}

#subpage p, #subpage h1 {
    margin-top: 1em;
    margin-bottom: 0;
}

#subpage h1 {
    margin-top: 1em;
    margin-bottom: 0;
    font-size: 14pt;
}

#protokol h2 {
    margin-top: 1em;
    text-align: center;
    text-decoration: underline;
}


#grant_menu > div:hover, #wnioski_menu > div:hover  {
    background-color: #b0c4de;
}

#grant_menu a, #wnioski_menu a {
    padding: 3px;
    background-color: inherit;
    text-decoration: none;
    display: block;
}

#grant_menu .wybrane, #wnioski_menu .wybrane {
    background-color: #FFFFa0;
}


ol {
    margin-left: 30px;
}

#subpage ul, #wiadomosc_systemowa ul {
    margin-left: 40px;
}

ol>li, #subpage ul li {
    margin-top: 15px;
    padding-left: 20px;
}

 start: UMOŻLIWIENIE NUMERACJI PODPUNKTÓW 
#protokol ol {
    counter-reset: licznik; 
}

#protokol ol>li{
    list-style-type: none;   
    text-indent: -20px;
}

#protokol ol>li:before {
    content: counters(licznik,".") ". ";
    counter-increment: licznik;
}
 koniec: UMOŻLIWIENIE NUMERACJI PODPUNKTÓW 

hr {
    border: none;
    border-bottom: solid 1px black;
}
*/


/*#czlonkowie_zespolu_badawczego {
    counter-reset:lpcz;
}
.lpcz {
    width: 60px;
    text-align: right;
}
.lpcz::after {
    counter-increment:lpcz;
    content:counter(lpcz);
}*/



/* klasa do autohide po 2 sekundach */
.hideMe {
    -moz-animation: cssAnimation 0s ease-in 2s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 2s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 2s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 2s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}
/* klasa do autohide po 2 sekundach */


.dos_sekcja {
    margin-bottom: 20px;
    overflow: auto;
}
.dos_sekcja > span {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.dos_sekcja > div {
    margin-left: 20px;
    overflow: auto;
    margin-bottom: 5px;
}
.dos_sekcja > div > span {
    float: left;
    width: 300px;
    padding-right: 10px;
    text-align: left;
}

.dos_sekcja > div > input
{
    float: left;
}
.dos_sekcja > div > input[type=checkbox] {
    margin-left: 3px;
}
.dos_sekcja > div > label
{
    float: left;
    width: auto;
    margin: 0 3px;
}
.dos_sekcja input[type=text] {
    width: 250px;
}

.dos_sekcja > div > label > input[type=checkbox]
{
    margin: 4px 6px;
}

/* sygnalizowanie błędów na formularzu */
input:invalid,
select:invalid,
textarea:invalid {
    background-color: #ffEFd2;
    border: solid 1px #800;
}

.buttons {
    text-align: center;
    margin-top: 5px;
}

.buttons input[type=submit], .buttons input[type=button] {
    margin: 0px 25px;
}

/* WAT's way to make select readonly */
select[readonly] {
    pointer-events: none;
    cursor: not-allowed;
    /*background-color: lightgrey;*/
}

select[readonly] option {
    display: none;
}
/* /WAT's way to make select readonly */

body {
}
