.pbr-regular-text {
	font-weight: normal;
	font-size: 16px;
}

#pbr-calculator-pagination {
	display: grid;
	text-align: center;
	grid-template-columns: 100px 1fr 100px;
	align-items: center;
}

#pbr-calculator-previous,
#pbr-calculator-next {
	padding: 10px;
	margin: 10px;
	background-color: #cf202d;
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

#pbr-calculator-previous {
	visibility: hidden;
}

.pbr-calculator-total-score {
	position: relative;
}

.pbr-full-form-container .pbr-total-score {
	right: 30px;
	position: sticky;
	font-weight: bold;
	padding: 10px;
	margin-bottom:5px;
	background-color: white;
	text-transform: uppercase;
	display:none;
	top:0;
	border-bottom: 3px solid gray;
	opacity: 0.9;
}

#pbr-calculate-container {
	display: flex;
	justify-content: center;
}

.pbr-display-popup {
	width: 50%;
	background-color: white;
	border: 1px solid black;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	font-size: 18px;
	position: relative;
}

#pbr-warning-popup ol li,
#pbr-not-applicable-popup ol li {
	padding: 10px;
}

.pbr-display-image {
	height: 75%;
	width: 50%;
	margin: 5% auto;
	padding: 10px;
	font-size: 18px;
	position: relative;
	display: flex;
	top:20px;
}

#pbr-warning-popup h1 {
	text-align: center;
}

#pbr-calculator-container {
	width: 100%;
	background-color: white;
	padding: 10px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.pbr-popup-container {
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.7);
}

.pbr-popup-image {
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
}

#pbr-popup-container {
	display: none;
}

.pbr-continue-container {
	bottom: 0;
	text-align: center;
	width: 100%;
	margin-top: 10px;
}

#pbr-total-score-popup {
	display: none;
}

#pbr-total-score-popup p {
	margin-bottom:9px;
}

#pbr-total-score-popup #pbr-image-container img {
	bottom:0;
}

#pbr-total-score-popup h1 {
	text-align: center;
}

.pbr-display-popup h2, .pbr-display-popup h1 {
	padding-right: 20px;
}

.pbr-test-full h2 {
	text-align: center;
}

.pbr-test-full > h3 {
	text-align: center;
}

@media screen and (max-height: 900px) {
	.pbr-display-popup {
		top:75px;
		transform: translate(-50%, 0);
	}
}

#pbr-calculator-container img {
	position: relative;
	max-width: 100%;
	margin: auto;
	height: 100%;
	border-radius: 10px;
	bottom: 20px;
}

#pbr-calculator-container .pbr-test-full .pbr-landing-image {
	float: left;
	margin-right: 20px;
	max-height: 250px;
	border-radius: 0;
	bottom: 0;
}

.pbr-test-full h1 {
	text-align: center;
	margin-bottom:10px;
}

@media screen and (max-width:575px) {
	.pbr-landing-image-container {
		display: flex;
		justify-content: center;
	}
	#pbr-calculator-container .pbr-test-full .pbr-landing-image {
		float:none;
		margin:0px;
		margin-bottom:20px;
	}
}

@media screen and (max-width: 700px) {
	.pbr-total-score {
		position: relative;
		right:0;
		margin-bottom:10px;
		opacity:1;
	}
	#pbr-calculator-previous,
	#pbr-calculator-next {
		padding: 5px;
	}
	.pbr-test-container p {
		margin-top: 1.1em;
	}
}

@media screen and (max-width: 820px) {
	.pbr-display-popup,
	#pbr-calculator-container,
	.pbr-regular-text {
		font-size: 15px;
	}

	.pbr-display-popup {
		width: 90%;
	}

	.pbr-display-image {
		width: 90%;
		height: auto;
	}
	.pbr-multiple-images-pages img {
		bottom:20px;
	}
}

@media screen and (max-width: 1500px) {
	.pbr-display-image {
		width: 90%;
	}
}

@media screen and (max-width: 450px) {
	.pbr-display-image {
		margin-top: 50%;
	}
}

#pbr-image-container {
	display: flex;
	align-items: center;
	width: 75%;
	height: auto;
	margin: auto;
}

@media screen and (max-width: 1000px) {
	.pbr-display-popup {
		font-size: 16px;
	}
	.pbr-image-container img {
		display: none;
	}
}

.pbr-images > div {
	display: none;
}

.pbr-images a {
	cursor: pointer;
}

.pbr-test-container {
	margin-bottom: 30px;
}

.pbr-test-container p {
	margin-bottom: 5px;
	margin-top: 1em;
}

.pbr-input-image-container {
	display: flex;
	align-items: baseline;
	grid-gap: 10px;
}

@media screen and (max-width: 900px) {
	.pbr-input-image-container {
		display: block;
	}
	.pbr-images {
		margin-left: 20px;
	}
}

.pbr-multiple-images {
	height: 98%;
	width: 98%;
	margin: 0 0;
	display: flex;
	align-items: center;
	grid-gap: 10px;
	justify-content: center;
}

.pbr-multiple-images img {
	margin: auto;
	max-height: 40%;
	max-width: 40%;
}

.pbr-multiple-images-pages img {
	max-height: 80%;
	max-width: 80%;
}

.pbr-multiple-images-pages {
	display: flex;
	grid-gap:10px;
}

.pbr-image-information a {
	position: absolute;
	display: flex;
	justify-content: center;
	width: 100%;
	color: white;
	text-decoration: underline;
	bottom: 0;
}

@media screen and (max-width: 1040px) {
	.pbr-multiple-images, .pbr-multiple-images-pages {
		flex-direction: column;
	}
}

.pbr-close-image {
	font-size: 40px;
	color: white;
	z-index: 10;
	position: absolute;
	right: 20px;
	top: 20px;
	cursor:pointer;
}

.pbr-close-popup-image {
	color: black;
	right: 10px;
	top: 10px;
	position: absolute;
	font-size: 25px;
	opacity: 1;
	transition: 0.25s;
	cursor: pointer;
}

.pbr-close-popup-image:hover {
	opacity: 0.5;
}

#pbr-note {
	display: none;
}
