html,
body {
	height: 100%;
}

body {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #f5f5f5;
}
body.adminbody {
	display: block;
	-ms-flex-align: initial;
	align-items: initial;
	padding-top: 0;
	padding-bottom: 0;
}

.form-signin {
	width: 100%;
	max-width: 330px;
	padding: 15px;
	margin: auto;
}
.form-signin .checkbox {
	font-weight: 400;
}
.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

/**** Admin ****/
.sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100; /* Behind the navbar */
	padding: 0;
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 48px; /* Height of navbar */
	height: calc(100vh - 48px);
	padding-top: .5rem;
	overflow-x: hidden;
	overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
	font-weight: 500;
	color: #333;
}

.sidebar .nav-link .feather {
	margin-right: 4px;
	color: #999;
}

.sidebar .nav-link.active {
	color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
	color: inherit;
}

.sidebar-heading {
	font-size: .75rem;
	text-transform: uppercase;
}
.navbar-brand {
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: 1rem;
	background-color: rgba(0, 0, 0, .25);
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
#adminNavbar {
	margin-left: -15px;
}

.navbar .form-control {
	padding: .75rem 1rem;
	border-width: 0;
	border-radius: 0;
}

.form-control-dark {
	color: #fff;
	background-color: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
	border-color: transparent;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


/** Admin ManageQuestions **/
.adminManageQuestionsMedia {
	max-height: 200px;
}

/** navi **/
ul.subnavi {
	list-style: none;
}
.subnavi a {
	color:#000;
}
.subnavi .selected a {
	color:#007bff;
}


/** results **/

.participant-row {
	cursor:pointer;
	transition: all 300ms;
}
.participant-row.open {
	background-color: #FFF;
}
.participant-row:hover {
	background-color: #406385;
	color:#FFF;
}

.participant-detail {
	display: none;
	transition: all 300ms;
}
.participant-detail.visible {
	display: table-row;
}
.participant-detail>td {
	padding-top: 0;
	padding-left: 26px;
	padding-right: 0;
}


/**** MM Quiz ****/

.questioncontainer {
	width: 100%;
	max-width: 600px;
	padding: 15px;
	margin: auto;
}
.answeritem {
	width: 100%;
	white-space: normal;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	background-color: #e8e8e8b0;
}
.answeritem:hover, .answeritem:focus, .answeritem.selected {
	border: 1px solid #3b3b3b;
	box-shadow: none;
	color: #000;
	background-color: #0051ff45;
}
#answersubmit {
	width:100%;
}
#answersubmit:enabled {
	background-color: #a8c8ff;
}

.resetSession {
	position: absolute;
	top: 10px;
	right: 10px;
}

