/*formularze stylowanie - begin*/
form {
    background: #cccccc;
    padding: 1rem;
    overflow: hidden;
}

input[type="hidden"] {
    display: none;
}

input[type="text"],
input[type="password"],
select,
textarea {
    background: rgba(255,255,255,1);
    border:1px solid #999999;
    width:100%;
    height: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;

}

a.button,
a.button-prev,
a.button-next,
a.button-down,
a.button-up,
a.button-delete,
input[type="submit"],
input[type="reset"] {
    background: rgba(90,138,174,1);
    border: 1px solid rgba(90,138,174,0.5);
    color:rgba(255,255,255,1);
    height: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 1rem;
    margin-left: 0.4rem;
}

a.button-prev {
    margin-left: 0;
    width: auto;
}

a.button-prev,
a.button-next {
    float: left;
    width: auto;
}

a.button-next {
    float:right;
    width: auto;
}

a.button-prev::before {
    display: inline;
    content: "< ";
    color:rgba(255,255,255,1);
    width: auto;
}

a.button-next::after {
    display: inline;
    content: " >";
    color:rgba(255,255,255,1);
    width: auto;
}

a.button-down,
a.button-up,
a.button-delete {
    margin-left: 0;
    padding: 0;
    width: 2rem;
    text-align: center;
    color:rgba(255,255,255,1);
    display: inline;
    float: left;
    margin-right: 0.4rem;
    overflow: hidden;
}

a.button-down::before {  
    font-family: "font-awesome";
    font-size: 1rem;
    color:rgba(255,255,255,1);    
    content: "\f078";
}

a.button-up::before {  
    font-family: "font-awesome";
    font-size: 1rem;
    color:rgba(255,255,255,1);
    content: "\f077";   
}

a.button-delete::before {   
    font-family: "font-awesome";
    font-size: 1rem;
    color:rgba(255,255,255,1);    
    content: "\f00d";
}

a.button + *:not(a),
a.button-next + *:not(a),
a.button-prev + *:not(a) {
    clear: both;
}

form input[type="submit"],
form input[type="reset"] {
    float: right;
    text-transform: uppercase;
    width:30%;
    margin-left: 70%;
    cursor: pointer;    
}

form fieldset {
    width: 100%;
}

form fieldset legend {
    width: 100%;
    float: left;
    font-family: "open-sans-semi-bold";   
    font-size: 1rem;  
    margin-bottom: 1rem;
}

label {
    float:left;
    width:30%;
    min-height: 2rem;
    margin-bottom: 1rem;   
}


label + input[type="text"],
label + input[type="password"],
label + select,
label + textarea {
    float:right;
    width:70%;
}

input[type="radio"],
input[type="checkbox"] {
    width: 0;
    height: 0;
    display: none;
}

input[type="checkbox"] + label {
    text-align: left;
    width: 95%;
    min-height: 2rem;
    cursor: pointer;
    float: right;
}

input[type="checkbox"] + label:before {
    width: 2rem;
    min-height: 2rem; 
    line-height: 2rem;
    content: "\f1db";
    font-family: "font-awesome";
    color:rgba(255,255,255,1);
    text-align: center;
    float: left;
    background: rgba(255,255,255,1);
    border:1px solid #999999;    
    margin-right: 1rem;
}


input[type="checkbox"]:checked + label:before {
    width: 2rem;
    height: 2rem;
    line-height: 2em;
    content: "\f00c";
    font-family: "font-awesome";
    color: rgba(89,89,101,1);   
    text-align: center;
    float: left;  
    background: rgba(255,255,255,1);
    border:1px solid #999999; 
    margin-right: 1rem;
}

input[type="radio"] + label {
    text-align: left;
    width: 95%;
    height: 2rem;
    cursor: pointer;
    float: right;
}

input[type="radio"] + label:before {
    width: 5%;
    content: "\f1db";
    font-family: "font-awesome";
    color:rgba(255,255,255,1);
    text-align: center;
    float: left;
    background: rgba(255,255,255,1);
    border:1px solid #999999;  
    border-radius: 2rem;
    width: 2rem;  
    padding: 0.1rem;
    margin-right: 1rem;
}


input[type="radio"]:checked + label:before {
    width: 5%;
    content: "\f111";
    font-family: "font-awesome";
    color: rgba(89,89,101,1);
    text-align: center;
    float: left;  
    background: rgba(255,255,255,1);
    border:1px solid #999999;
    border-radius: 2rem;    
    width: 2rem;    
    margin-right: 1rem;
}

h1 + form, 
h2 + form {
    margin-top: 1rem;
}


form h1,
form h2 {
    font-size: 1rem;
    font-family: "open-sans-semi-bold";
}

p {
    text-align: justify;
    font-size: 1rem;
}

p + h1,
p + h2,
p + p {
    margin-top: 1rem;
}



form > output.error {
    color:#ffffff;
    width:100%;
    margin-top:1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #990000;
}

form > output.success {
    color:#ffffff;
    width:100%;
    margin-top:1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #009900;
}

form > output.warning {
    color:#ffffff;
    width:100%;
    margin-top:1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #ffcc00;
}

form > output * {
    color:#ffffff;
}

input.error,
select.error,
textarea.error {
    position:relative;
    border:2px solid #990000;
    color:#990000;
}

form > input::before {
    content:"test";
    position:absolute;
    top:0;
    left:0;
}



input.warning,
select.warning,
textarea.warning {
    border:2px solid #ffcc00;
}

input.success,
select.success,
textarea.success {
    border:2px solid #009900;
    color:#009900;
}
    
form *[disabled] {
    opacity: 0.5;
}

/*formularze stylowanie - end*/


/*nav breadcrumb -begin */
nav.breadcrumb {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    height: auto;
	overflow: hidden;
}

nav.breadcrumb a {
    display:block;
    font-size: 16px;
    height: 4rem;
    width: auto;
    float: left;
    background: rgba(130,129,134,1);
    clear: right;
    color:#ffffff;
    padding: 1rem;
    margin-left: -1.2rem;
}

nav.breadcrumb a:before {
    position: relative;
    float:left;  
    height: 4rem;  
    content: "";
    top:-1rem;
    bottom:1rem;
    border-width: 2rem 0 2rem 1.3rem;
    border-style: solid;
    border-color: rgba(130,129,134,1) rgba(130,129,134,1) rgba(130,129,134,1) transparent;
    left: -1rem;
}

nav.breadcrumb a:first-child:before {
    background: rgba(130,129,134,1);
}

nav.breadcrumb a:after {
    position:relative;
    float:right;  
    top:-1rem;
    bottom: 1rem;
    height: 4rem;
    content: "";  
    background: rgba(240,240,240,1);
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
    border-left: 1.3rem solid rgba(130,129,134,1);
    right: -1rem;
}


nav.breadcrumb a[open] {
    background: rgba(34,186,109,1);
}

nav.breadcrumb a[open]:before {
    border-color: rgba(34,186,109,1) rgba(34,186,109,1) rgba(34,186,109,1) transparent;
}

nav.breadcrumb a[open]:after {
    border-left: 1.3rem solid rgba(34,186,109,1);
}

nav.breadcrumb a[open]:first-child:before {
    background: rgba(34,186,109,1);
}

nav.breadcrumb a[open] ~ a {
    background: rgba(204,204,206,1);
    color:rgba(131,130,135,1);
}

nav.breadcrumb a[open] ~ a:before {
    border-color: rgba(204,204,206,1) rgba(204,204,206,1) rgba(204,204,206,1) transparent;
}

nav.breadcrumb a[open] ~ a:after {
    border-left: 1.3rem solid rgba(204,204,206,1);
}

nav.breadcrumb a[open] ~ a:first-child:before {
    background: rgba(204,204,206,1);
}

/*nav breadcrumb -end */


/*tabela - begin*/

table {
    display: table;
    border-collapse: separate;
    width: 100%;
    border: 1px solid rgba(89,89,101,1);  
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0;
}

thead {
    display: table-header-group;
    vertical-align: middle;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
}

tfoot {
    display: table-footer-group;
    vertical-align: middle;
}

tr {
    display: table-row;
    vertical-align: inherit;  
}

th {
    display: table-cell;
    vertical-align: inherit;
    font-weight: bold; 
}

td {
    display: table-cell;
    vertical-align: inherit;   
    text-align: center;
}

/*tabela -end*/

/*kolor linkow a -begin*/
body > main a {
    color:rgba(35,187,110,1);
}
/*kolor linkow a -end*/

/*pozycja systemlogo -begin */
img.logo {
    margin: 0.4rem 1rem auto;
    width: auto;
    height: auto;
    background: rgb(255,255,255);
    border: 0.2rem solid rgb(255,255,255);
}
/*pozycja system logo -end*/