* { box-sizing: border-box; }

.default-button {
    color: black; background-color: white;
    font-size: 30px;
	padding: 3px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    z-index: 9015;
}

.rounded-button {
	border-radius: 8px;
}

.seamless-button {
	border: none;
}

.default-button:disabled {
	color: grey; background-color: gainsboro;
    border: 2px solid rgba(0, 0, 0, 0.1);
	cursor: not-allowed;
}

.clear-button {
	background-color: rgba(0, 0, 0, 0.0);
	padding: 3px;
    border: none;
}

.button-img {
    display: block;
    width: 100%; height: 100%;
}

.close-button {
    position: absolute;
    width: 32px; height: 32px;
    top: 7px; right: 5px;
	padding: 3px;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
}

.back-button {
    position: absolute;
    width: 32px; height: 32px;
    top: 7px; left: 5px;
	padding: 3px;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
}

.shuffle-button {
	position: absolute;
	padding: 0;
	width: 32px; height: 32px;
    bottom: 10px; left: 10px;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
}

.report-button {
	position: absolute;
	padding: 0;
	width: 32px; height: 32px;
    bottom: 10px; right: 10px;
    background-color: rgba(0, 0, 0, 0.0);
    border: none;
}

.sidebar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: whitesmoke;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    z-index: 9012;
}

/* Screen larger than 480px */
@media screen and (min-width: 480px) {
	.sidebar {
		width: 360px;
		border-right: 2px solid darkgrey;
	}
}

.window {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background-color: whitesmoke;
    z-index: 9012;
}

.mini-window {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background-color: whitesmoke;
    border: none;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    z-index: 9012;
}

/* Screen larger than 480px */
@media screen and (min-width: 480px) {
    .mini-window {
        width: 360px; height: 480px;
        top: calc(50vh - 240px); left: calc(50vw - 180px);
        border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 8px;
        overflow: hidden;
    }
}

.window-content {
	display: flex; flex-direction: column; justify-content: center;
	padding: 10px;
	gap: 10px;
	width: 100%;
	overflow: auto;
}

.confirm-button {
	position: absolute;
	bottom: 10px; margin: auto;
}

.settings-pane {
	padding: 10px;
	background-color: white;
	border: 2px solid gainsboro; border-radius: 10px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.scroll-container {
    height: 100%;
    overflow: auto;
}

.center-container {
    display: flex;
    justify-content: center;
}

.rotary-container {
    width: 260px; height: calc(100% - 130px);
    margin: auto; margin-top: 10px; margin-bottom: 5px;
    border: none;
	display: flex; flex-direction: column; justify-content: center;
	text-align: center;
}

.rotary-button {
    position: absolute;
    top: 300px;
    height: 64px; width: 64px;
    border: none;
    background-color: rgb(0, 0, 0, 0.0);
}

.rotary-element {
	display: flex; flex-direction: column; gap: 15px; justify-content: center; align-items: center;
	width: 100%; height: 100%;
}

.rotary-description {
	background-color: whitesmoke;
	border: 2px solid gainsboro; border-radius: 8px;
	padding: 10px;
}

.title-container {
	display: flex; flex-direction: column; justify-content: center;
    width: 100%; height: 50px;
	border-bottom: 2px solid rgba(0, 0, 0, 0.2);
	text-align: center; font-size: xx-large; font-family: nunitoblack;
}

.title-img {
	max-height: 36px; max-width: 280px;
	align-self: center;
}

.panel-button {
    width: 100%; height: 60px;
    block-size: fit-content;
	border-bottom: 2px solid gainsboro;
}

.demo-agency-list-item {
	display: flex; flex-direction: column; align-items: center; justify-content:center;
	width: 100%; height: 55px;
	background-color: gainsboro;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
}

.demo-agency-list-item:hover {
	background-color: lightgoldenrodyellow;
}

.boundary-li {
	display: flex; flex-direction: row; justify-content: space-between;
}

.toc-button {
	width: 100%; height: 90px;
	padding: 5px; padding-left: 10px; padding-right: 15px;
	display: flex; flex-direction: row;
	border-bottom: 2px solid gainsboro;
	gap: 30px;
}

.toc-image-container {
	width: 25%; height: 100%;
	border-radius: 100%;
	background-color: whitesmoke;
	display: flex; flex-direction: column; justify-content: center;
}

.toc-text-container {
	width: 75%; height: 100%;
	display: flex; flex-direction: column;
	margin-top: 5px;
	gap: 5px;
	text-align: right;
}

.toc-text-title {
	width: 100%; height: 33%;
	font-size: x-large;
	font-family: nunitobold;
}

.toc-text-description {
	width: 100%; height: 67%;
	font-size: medium;
	color: gray;
}

.cds-li {
	padding: 5px;
	border: 2px solid black;
	border-radius: 5px;
	margin: 5px;
	min-height: 50px;
	text-align: center;
	background-color: white;
	cursor: pointer;
}

.doc-li {
	padding: 5px;
	border: 2px solid black;
	border-radius: 5px;
	margin: 5px;
	min-height: 50px;
	text-align: center;
	background-color: white;
	cursor: pointer;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.filter-bank {
	display: flex;
	height: 120px;
	margin: 10px; margin-top: 5px;
	padding: 10px;
	background-color: white;
	border-radius: 8px;
	background-clip: padding-box;
	overflow: auto;
}

.quiz-bank {
	position: absolute;
	top: 225px; bottom: 15px;
	width: calc(100% - 20px);
    padding: 5px;
    font-size: 18px;
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    background-clip: padding-box;
    overflow: auto;
}

.cds-bank {
	position: absolute;
	top: 50px; bottom: 15px;
	width: 100%;
    font-size: 18px;
    background-color: whitesmoke;
    border-radius: 10px;
    background-clip: padding-box;
}

.max-filters-warning {
	position: absolute;
	bottom: 4px; left: calc(50% - 90px);
	width: 180px;
	text-align: center;
	background-color: whitesmoke; color: red;
    border-radius: 10px;
}

.quiz-bank-loading-spinner {
	position: absolute;
	top: calc(50% - 40px); left: calc(50% - 40px);
	width: 80px; height: 80px;
	pointer-events: none;
}

.cds-loading-spinner {
	position: absolute;
	top: calc(50% - 40px); left: calc(50% - 40px);
	width: 80px; height: 80px;
	pointer-events: none;
}

.cds-law-section {
	border: 2px solid lightgrey;
	border-left: 8px solid grey;
	border-radius: 8px;
	margin-bottom: 10px;
	position: relative;
	cursor: pointer;
}

.cds-law-section:hover {
	background-color: gainsboro;
}

.cds-law-section .cds-section-title-container .section {
  font-weight: bold;
  display: block;
}

.cds-law-section .cds-section-title-container .section-title {
  font-weight: normal;
  display: block;
}

.cds-law-section .cds-section-title-container .ellipsis, .cds-code-title .ellipsis {
  font-size: 1.2em;
  color: #666;
  position: absolute;
  right: 10px;
  top: 0;
}

.cds-law-subsection {
  display: none;
  padding: 10px 0;
}

.cds-law-subsection .classification:before {
  content: attr(classification);
  font-weight: bold;
  padding-right: 10px;
}

.cds-parent-title {
	font-size: xx-large;
}

.cds-code-title-container {
	margin-top: 12px; margin-bottom: 12px;
	background-color: white;
    border: solid 2px dimgrey;
    padding: 5px;
    border-radius: 8px;
}

.cds-code-title-container:hover {
	background-color: rgba(255, 255, 0, 0.2);
}

.cds-code-title {
  position: relative;
  cursor: pointer;
}

.cds-click-to-expand {
  font-size: medium;
  color: dimgrey;
}

.cds-code-container, .cds-law-section {
  clear: both;
}

.cds-search-bar-container {
    width: 100%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cds-section-title-container {
	padding: 10px;
}

.cds-subsection-flex-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
	padding: 5px;
}

.cds-subsection-flex-container .cds-subsection-classification {
    flex-basis: 10%;
    font-weight: bold;
    padding-right: 10px; padding-left: 5px;
}

.cds-subsection-flex-container .cds-subsection-text {
    flex-basis: 90%;
}

.cds-subsection-flex-container .cds-subsection-text p {
	margin: 0;
}

.cds-view-full-text-container {
	margin-top: 10px; margin-right: 10px;
	text-align: right;
}

.setup-item-counter {
	position: absolute;
	bottom: 2px;
	width: 100%;
	text-align: center;
}

.settings-subtitle {
	font-size: 22px;
	padding-bottom: 10px;
	text-align: center;
}

.multiple-choice-button {
	display: flex; flex-direction: column; justify-content: center;
	width: 200px; height: 40px;
	flex-basis: calc(50% - 5px);
    text-align: center;
	padding: 2px;
	cursor: pointer;
}
	
/* Screen larger than 824px */
@media screen and (min-width: 825px) {
	.multiple-choice-button {
		flex-basis: auto;
	}
}

.f-multiple-choice-button {
	display: flex; flex-direction: column; justify-content: center;
	width: 100%; height: calc(25% - 5px);
	padding: 5px;
    text-align: center; font-size: 18px;
	cursor: pointer;
}

.pulsate {
    -webkit-animation: pulsate 3s ease-out;
    -webkit-animation-iteration-count: infinite; 
    opacity: 0.5;
}

@-webkit-keyframes pulsate {
    0% { opacity: 0.5; }
    50% { opacity: 1.0; }
    100% { opacity: 0.5; }
}

.fade-effect {
    transition: opacity 0.5s ease;
    opacity: 0;
}

.window-score-counter {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 4px;
	padding: 2px;
	text-align: center;
	width: fit-content; height: 40px;
	font-size: 32px;
	color: white;
	background-color: rgb(0, 0, 0, 0.3);
	backdrop-filter: blur(3px);	
	border-radius: 10px;
	z-index: 9009;
}

.window-bottom-message {
	position: absolute;
	bottom: 3px; left: 0; right: 0;
	height: 32px;
	text-align: center;
	font-size: 20px;
	color: darkgrey;
	opacity: 0;
}

.window-menu-button {
    position: absolute;
    width: 40px; height: 40px;
    left: 4px; top: 4px;
    background-color: rgba(255, 255, 255, 1);
    border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 10px;
    background-clip: padding-box;
    text-align: center;
    z-index: 9015;
}

.v-select {
	width: 100%;
	margin: auto;
	max-width: 320px;
	height: 30px;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
}

.slide-in {
	animation: slide-in 1s forwards;
}

@keyframes slide-in {
	0%   { transform: translateX(-110vw); }
	100% { transform: translateX(0); }
}

.line-up {
	animation: line-up 2s forwards;
}

@keyframes line-up {
	0% {
		opacity: 0;
		transform: translateY(80%);
	}
	20% {
		opacity: 0;
	}
	50% {
		opacity: 1;
		transform: translateY(0%);
	}
	100% {
		opacity: 1;
		transform: translateY(0%);
  }
}

.test-select {
	width: 100%; height: 40px;
	border-radius: 8px;
	overflow: auto;
	font-size: 18px;
}

.testing-setup-input {
	height: 40px;
    width: calc(100% - 20px);
    margin-bottom: 10px;
	border-radius: 8px;
	overflow: auto;
	font-size: 18px;
}

.testing-instructions {
	background-color: white;
    margin: 10px;
    border-radius: 10px;
    padding: 5px;
	text-align: center;
}

.testing-input {
	flex-grow: 1;
    height: 30px;
    font-size: 18px;
    border-radius: 6px;
}

.login-input {
	text-align: left;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #dde3ec;
    background: #ffffff;
    font-weight: 500;
    /* font-size: 16px; */
    color: #536387;
    outline: none;
    resize: none;
    width: 100%;
}

