
div.custom-map-button{
	width: 48px;
  	height: 48px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	border: 2px solid rgba(0,0,0,0.2);
  	background: #fff;
	border-radius: 5px;
	padding: 2px;
	background-clip: padding-box;
}
div.custom-map-button img{
	width: 100%;
  	height: 100%;
	
	
}
div.custom-map-button i{
	margin: 4px;
	font-size: 30px;
	color: #888;
}



#photoList {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.photoItem {
	position: relative;
	width: 150px;
	height: 150px;
	
}
.photoItem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.progress-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 5px;
	background-color: green;
}
.photoInfo {
	margin-top: 10px;
	font-size: 0.9em;
}
/* Modal Styles */
#modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}
.modal-content {
	background: white;
	padding: 20px;
	border-radius: 10px;
	width: 300px;
}
.modal-content img {
	max-width: 100%;
	margin-bottom: 10px;
}
.modal-content label {
	display: block;
	margin-bottom: 5px;
}
.modal-content input, .modal-content select {
	width: 100%;
	margin-bottom: 10px;
	padding: 5px;
}





#popupPipeUpload .photoItem {
    margin: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    display: inline-block;
    position: relative;
	width: calc( 100% - 20px );
	height: 40px;
}

#popupPipeUpload .photoItem img {
    max-width: 40px;
    max-height: 40px;
}

#popupPipeUpload .progress-bar {
    width: 0;
    height: 5px;
    background-color: green;
    margin-top: 5px;
}

#popupPipeUpload button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

#popupPipeUpload button:hover {
    background-color: darkred;
}

#togglePauseUpload{
	border: 1px solid grey;
	border-radius: 5px;
	background: lightgray;
	padding: 10px;
}

#waitingPipeButton {
	position: relative;
}

#waitingPipeButton span {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgb(116, 108, 108);
	color: white;
	padding: 3px;
	border-radius: 3px;
	
}