body {
	background: #f1f4f5;
}

img { max-width: 100%; }

.d-container {
	width: 600px;
	max-width: 100%;
	padding: 0 1rem;
	margin: 0 auto;
}
.d-container.no-padding { padding: 0; }
.container-mobile {
	background: #fff;
	display: flex;
	margin: 0 auto;
	min-height: 100vh;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.09);
	position: relative;
	padding-bottom: 4rem;
	padding-top: 4rem;
}

.fixed {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 30;
}
.header-menu {
	top: 0;
}
.header-menu > .d-container {
    display: flex;
    justify-content: center;
    align-items: center;
	background: #ffffff;
	border-bottom: 1px solid var(--bs-border-color);
	height: 60px;
}

.mobile-menu {
	bottom: 0;
}
.mobile-menu .items, .header-menu .items {
    display: flex;
    width: 600px;
	max-width: 100%;
    justify-content: center;
    align-items: center;
	background: #ffffff;
	border-top: 1px solid var(--bs-border-color);
}
.mobile-menu .items > a.item, .header-menu .items > a.item {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
	border-top: 2px solid transparent;
	text-decoration: none;
	color: var(--bs-gray-700);
}
a.item > i {
	font-size: 1.5rem;
}
.items > a.item:hover, .items > a.item:focus, .items > a.item:active, .items > a.item.active {
	border-color: var(--bs-primary);
	text-decoration: none;
	color: var(--bs-primary);
}

.flex-auto { flex-grow: 1; }

ul.hm {
	list-style: none;
	padding: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0;
}

ul.hm > li {
	display: flex;
    justify-content: center;
    align-items: center;
}

ul.hm > li > .item-circle {
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 50%;
	background: var(--bs-gray-100);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
ul.hm > li > .item-circle:hover {
	background: var(--bs-gray-300);
}

.page { padding: 1rem; width: 100%; }
.form-group {
    margin-bottom: 1rem;
}
.btn-center {
	margin: 0 auto;
    display: block;
}
.btn-block {
	width: 100%;
}


.question-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.question-group > h1 {
	text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
}
.question {
    display: flex;
	width: 100%;
	gap: 1rem;
}
.question .image {
    flex: 0 0 200px;
}
.question .q {
    flex-grow: 1;
	display: flex;
    align-items: center;
}
.question-group .answers {
	width: 100%;
}
.question-group .answers > ul {
	list-style: none;
    padding: 0;
}
.answers > ul > li > label {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--bs-border-color);
	cursor: pointer;
}
.answers > ul > li:last-child > label { border-bottom: 0; }
.answers > ul > li > label > span {
    padding-left: 0.75rem;
}

/* SIDE VIEW */
.bg-shadow {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 39;
}
body.open-view {
  overflow: hidden !important;
}
body.open-view .bg-shadow {
  display: block;
}
.side-view {
	position: fixed;
	top: 0;
	right: -100%;
	bottom: 0;
	background: transparent;
	overflow-x: hidden;
	overflow-y: auto;
	transition: right 0.5s ease;
	z-index: 40;
	width: 100%;
	max-width: 100%;
}
body.open-view .side-view.active {
	visibility: visible;
	right: 0;
}

.side-view > .d-container {
    display: flex;
    height: auto;
    min-height: 100%;
}
.side-view > .d-container {
	background: #fff;
}

.box {
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	color: var(--bs-body-color);
}
.box .box-body { flex-grow: 1; }
.box .box-body, .box .box-header, .box .box-footer {
	width: 100%;
	background: #ffffff;
	padding: 1rem;
}
.box .box-body.no-padding, .box .box-header.no-padding, .box .box-footer.no-padding {
	padding: 0;
}
.box .box-header {
	border-bottom: 1px solid var(--bs-border-color);
}
.box .box-footer {
	border-top: 1px solid var(--bs-border-color);
}
.box .box-header > .box-close {
	position: absolute;
    top: 0;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-gray-500);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
}
.box .box-header > .box-close:hover { background: var(--bs-gray-700); }
.box-title {
	margin: 0px;
    font-size: 1.5rem;
}
.box-title > span.box-close {
	border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--bs-border-color);
    cursor: pointer;
    color: var(--bs-gray-500);
	margin-right: 0.5rem;
}
.box-title > span.box-close:hover {
    background: var(--bs-border-color);
    color: var(--bs-gray-700);
}


.menu {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.menu > .menu-item:not(.separator), .menu > li:not(.separator) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.menu > .menu-item > a, .menu > li > a {
    color: var(--bs-body-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
	cursor: pointer;
}
.menu > .menu-item:last-child > a, .menu > li:last-child > a { border-bottom: 0; }
.menu > .menu-item > a:hover, .menu > li > a:hover {
	background: var(--bs-gray-300);
	text-decoration: none;
}
.menu > .menu-item > a > i, .menu > li > a > i {
	width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bs-gray-300);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}
.menu > .menu-item > a:hover > i, .menu > li > a:hover > i {
	background: var(--bs-gray-300);
}


@media(max-width: 500px) {
	.question { flex-direction: column; }
	.question .image {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.question .image > img { max-width: 200px; }
	
	.answers > ul > li > label {
		 padding: 0.75rem 0;
	}
	.form-check-input {
		width: 1.25em;
		height: 1.25em;
		margin-top: 0.15em;
	}
}