/* Style for the modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
	z-index: 9;
}

/* Style for the modal content */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 0 20px 20px;
    border: 1px solid #888;
    width: 35%;
	border-radius: 5px;
}
.modal-html {
  display: flex;
  flex-flow: column-reverse;
  align-items: center;
}
.modal-html img {
  max-width: 5em;
}
.modal-html p {
  font-weight: bold;
  text-align: center;
}
.modal-header{
	text-align: right;
	border: 0;
}
.modal-footer {
	margin-top: 1em;
    border: 0;
	display: unset;
	padding: 0;
}
.modal-footer a.dl-available {
  border: solid 2px #2e8b57;
  border-radius: 5px;
  padding: 0 5px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 15em;
  margin: 0 auto;
  transition: all .2s;
}
.modal-footer a.dl-available span {
  color: #2e8b57;
}
.modal-footer a.dl-available:hover {
  background: #006400;
}
.modal-footer a.dl-available:hover span {
  color: #fff;
}
/* Style for the close button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.progres-bar {
	height: 8px;
	background-color: #7cfc00;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	/* display: inline-block;
	width: 85%; */
}
.progres-fill {
	width: 0;
	height: 100%;
	background-color: #32cd32;
	border-radius: 10px;
	/* display: block; */
	animation: fillProgressBar 1s linear infinite;
}


@keyframes fillProgressBar {
	to {
		width: 100%;
	}
}

/* Media query for screens with a maximum width of 767 pixels (typical mobile devices) */
@media only screen and (max-width: 767px) {
	.modal-content {
	  width: 80%;
	}
	.dl-pmid {
	  margin: 0 5px;
	}
}
