/* Czcionki z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

/* Resetowanie domyślnych stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.hide {
	display: none;
}
/* Stylowanie formularzy */
form {
  margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="password"],
input[type="number"],
select,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}
select.topselect {
  width: 100%;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}
input[type="date"]
{
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}
input[type="checkbox"]
{
  padding: 10px;
  border: 1px solid #ccc;
  height: 24px;
  width: 24px;
  accent-color: #818385;	
  border-radius: 10px;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
  position: relative;
  display: inline;
  top: 8px;
}
input[type="checkbox"].zestawienie 
{ 
  top: 3px;
}

input[type="text"].szukajka{
	width: 250px;
}

div.error {
  width: 100%;
  padding: 10px;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background-color: #BD192F;
  border-radius: 5px;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}
/* Stylowanie przycisków */
button, a.przycisk,
input[type="submit"] {
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  background-color: #818385;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
}

button:hover, a.przycisk:hover, 
input[type="submit"]:hover {
  background-color: #646464;
}
button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Stylowanie tabel */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
}
td.resultsT {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
}
td.resultsV {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: right;
}
td.resultsD {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}
table.SNIK {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td.SNIK  {
  padding: 5px;
  border: 0px solid #ccc;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

th.SNIK  {
  background-color: white; 
}
.login-table {
	width: 35%; /* 1/4 szerokości ekranu */
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
}
.login-table, .login-table th, .login-table td {
	border: 0px solid black;
}

/* Stylowanie elementów canvas */
canvas {
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 20px;
}

/* Dodatkowe style */
body {
	font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
	font-size: 12px;
	line-height: 1.6;
	background-color: #f8f9fa;
	padding: 20px;
	margin: 0;
	padding: 0;  
    width: 100%;
    height: 100%;	
}

.container {
	max-width: 800px;
	margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
}

p {
  margin-bottom: 10px;
}
.accordion {
  color: #ffffff;
  cursor: pointer;
  padding: 16px;
  width: 100%;
  border: none;
  text-align: left;
  
  font-size: 12px;
  transition: 0.8s;
  background-color: #818385;
  border-radius: 0px;
}

.accordion:hover {
  background-color: #CCCCCC;
  color: #000000;
  border-radius: 0px;
  border-width: thin medium thick 10px;
  border-color: red;
}
.active {
  background-color: #818385;
  color: #ffffff;
  border-radius: 0px;
  border-width: thin medium thick 10px;
  border-color: red;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}



.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #CCCCCC;
}

/* The side navigation menu */
.sidebar {
	margin: 0;
	padding: 0;
	width: 285px;
	height: 100%;
	background-color: #818385;
	position: fixed;
	height: 100%;
	overflow: auto;
	cursor: pointer;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: black;
  padding: 9px;
  text-decoration: none;
  cursor: pointer;
}

/* Sidebar links */
a.sidemenu {
	font-size: 12px;
	color: white;
	padding: 16px;
	text-decoration: none;
	margin-left: 5px; 
	cursor: pointer;
	overflow: auto;	
}

/* Active/current link */
.sidebar a.active {
  background-color: #04AA6D;
  color: white;
  cursor: pointer;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
  cursor: pointer;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 1000px;
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}
ul{
	width: 285px;
	list-style-type: square;
	list-style-position: outside;
	background-color: #CCCCCC;
	cursor: pointer;
}
li{
    font-size: 11px;
	background-color: #CCCCCC;
	cursor: pointer;
	color: #000000;
}
/* Add a black background color to the top navigation */
.topnav {
	background-color: #333;
	color: #ffffff;
	overflow: hidden;
	position: fixed;
	width: calc(100% - 285px);  
	height: 45px;
	right: 0px;
	top: 0px;
	border: 0px;
	padding: 3px;	
	text-align: right;
	flex-direction: row;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: right;
  text-decoration: none;
  font-size: 14px;
}
.topnav div {
  float: right;
  color: #f2f2f2;
  text-align: right;
  text-decoration: none;
  font-size: 14px;
  padding:10px; 
}
.topnav div.topbutton {
  padding:2px;
}
.topnav div.logo {
	overflow: hidden;
	position: fixed;
	width: 350px;  
	height: 45px;
	left: 290px; 
	top: 0px;
	border: 0px;
	padding: 3px;	
	text-align: left;
}
/* Change the color of links on hover */ 
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}
.maincontent {
	position: fixed;
	height: calc(100% - 45px);
	width: calc(100% - 295px);
	right: 0px;
	bottom: 0px;
	border: 0px;
	background-color: #FAFAFA;	
	overflow: auto;
	padding-top: 15px;
	padding-left: 5px;
	padding-right: 15px;
}
.sidebar i {
	font-size: 16px;
}
.sidebar i.fa {
	font-size: 16px;
}
