body{
	width: 100%;
	flex-wrap: nowrap;
	padding: 5px;
}
h1{
	text-align: center;
}
#box{
	display: grid;
	grid-template-columns: 20% 20% 20% 20% 20%;
  grid-template-rows: 25% 25% 25% 25%;
}
#uklad{
	grid-column: 1/6;
	grid-row: 1/3;
	justify-self: center;
	/* width: 100%; */
	min-width: 530px;
	height: 250px;
	/* border:1px solid black; */
	position: relative;
	overflow: hidden;

	/* margin-right: auto; */

}
#menu{
	grid-column: 3/5;
		grid-row: 3/4;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;

	/* text-align: center; */
	/* padding: 10px; */
}

#data{
	grid-column: 2/4;
	grid-row: 3/4;
	justify-self: center;

}
#elements{
	width: 100%;
}
#power{
	position: absolute;
	margin-top:30px;
	margin-bottom:auto;
	width: 100px;
	height: 200px;
	background: rgb(176, 212, 245);
	margin-left: 0px;
	border-radius: 10px;
	box-shadow: 7px 5px 15px -3px rgba(66, 68, 90, 1);
	padding: 10px;
}
.cable{
	position: absolute;
	height: 5px;
	background-color: brown;
	z-index: -1;
}
#cable1{
	width: 500px;
	margin-top:50px;

}
#cable2{
	width: 150px;
	margin-top:125px;
	left:423px;
	transform: rotate(90deg);

}
#cable3{
	width: 500px;
	margin-top:200px;
	z-index: -1;
}
#rez1Sp{
	position: absolute;
	margin-top:150px;
	text-align: center;
	left: 200px;
	height: 35px;
	width: 70px;
}
#rez1{
	position: absolute;
	margin-top:180px;
	left: 200px;
	height: 40px;
	min-width: 80px;
}
#rez2Sp{
	position: absolute;
	margin-top:150px;
	text-align: center;
	left: 350px;
	height: 35px;
	width: 70px;
}
#rez2{
	position: absolute;
	margin-top:180px;
	left: 350px;
	height: 40px;
	min-width: 80px;

}
#rez3{
	position: absolute;
	margin-top:30px;
	left: 200px;
	height: 40px;
	min-width: 80px;

}
#rez3Sp{
	position: absolute;
	margin-top:0px;
	text-align: center;
	left: 200px;
	height: 35px;
	width: 70px;
}
.element{
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-size: 21px;
	background: gray;
	border-radius: 20px;
	border: 2px solid black;
}
#UxSchemat{
	position: absolute;
	margin-top:135px;
	left: 180px;
	height: 120px;
	width: 120px;
	border:solid 1px black;
	border-radius: 50%;
	clip-path:  ellipse( 62% 90% at 50% 0%);
}
#UwSchemat{
	position: absolute;
	margin-top:135px;
	left: 330px;
	height: 120px;
	width: 120px;
	border:solid 1px black;
	border-radius: 50%;
	clip-path:  ellipse( 62% 90% at 50% 0%);
}
#UxSp{
	position: absolute;
	margin-top:110px;
	text-align: center;
	left: 350px;
	height: 35px;
	width: 80px;
}
#UwSp{
	position: absolute;
	margin-top:110px;
	text-align: center;
	left: 200px;
	height: 35px;
	width: 80px;
}
#ammeter{
	position: absolute;
	margin-top:90px;
	left: 468px;
	height: 60px;
	width: 60px;
	border-radius: 50%;
	border: 1px solid black;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
}

#wartoscRezystoraRw{
	cursor: pointer;
	width: 200px;
	margin-right: 10px;
}
#addElement{
	margin: 10px;
	display: flex;
}
#addElement > *{
	margin: 4px;
}
#addElement button{
	width: 50px;
}
#addElement select{
	width: 150px;
	float: left;
}
#addElement span{
	font-size: 23px;
}
#addElement input{

}
.list-group > div{
	cursor: pointer !important;
}

.list-group-item{
	padding: 0.50rem 1.25rem !important;
}
#calculations{
	height: 100px;
	margin-top: 30px;
}

#calculations p:nth-child(1){
float: left;
}
#calculations p:nth-child(2){
float: left;
}
#calculations p:nth-child(3){
float: left;
}
#calculations p:nth-child(4){
float: left;
margin-top: -8px;
}
#calculations p:nth-child(5){
float: left;
margin-top: 7px;
margin-left: -18px;
}
#calculations p:nth-child(6){
float: left;
width: 21px;
height: 1px;
background-color: black;
margin-top: 11px;
margin-left: -21px;
}


@media screen and (max-width: 1260px) {
  body {
  }
  #uklad{
		max-height: 280px;
		grid-column: 1/6;
		grid-row: 1/2;
		min-width: 550px;

	
	}
	#menu{
		grid-column: 3/5;
		grid-row: 3/4;
	}
	#uklad{
		position: relative;
		overflow: scroll;
	}
	#data{
		grid-column: 2/3;
		grid-row: 3/4;
	}
	#uklad{
		height: 350px;
		position: relative;
		overflow: scroll;
	}
	#calculations{
		margin-left: auto;
		margin-right:0;

	}	
  h1{
  }
}