.header {
    padding-left: 25px;
}

.navbar-default {
    background-color: #c4c7c4;
    border-color: #ccc;
}

.container {
	margin-right: initial;
    margin-left: initial;
    width: 1280px;
    padding-left:25px;
}

.container-fluid {
	padding-left:25px;
}

.navbar-brand {
    font-weight: bolder;
}

div#messages ul {
	list-style-type:none;
	padding-left:0;
}

div#messages ul li {
	margin: 3px 0;
}

.pac-container {
    z-index: 1051 !important;
}

.required:after {
    content: "*";
    color: red;
    padding-left: 4px;
}

.site-banner {
	width:100%;
	background-color: #ff8c00;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	color: #ffffff;
	padding: 5px;
}


/* The below "ul.select2-selection__rendered" styles are a workaround for showing dropdown arrow of a select2 with multiple enabled. */
/* Because JQuery removes the arrow when you make a select2 to be multiple-enabled. And this kind of looks not so intuitive, even though it still works. */

ul.select2-selection__rendered {
	padding-right: 30px !important;
}

ul.select2-selection__rendered:after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 5px solid #333;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
}

/* End of select2 part. */

.no-spinners {
	-moz-appearance:textfield;
}

.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.text-strikethrough {
	text-decoration: line-through;
}

.name-popover {
    text-decoration: underline;
}

.popover {
	width:400px;
	height:150px;
	max-width:none;
}

.required:after {
	content: " *";
	color: red;
}

.survey-sidebar-container {
	min-height: 1600px;
}

.sidebar-sticky {
	min-width: 20rem;
	max-width: 30rem;
}

nav#sidebar .nav-link:hover {
	color:#70808f !important;
}

nav#sidebar .nav-link.active {
	font-weight: bold !important;
	color:#59636e !important;
	background-color: #f8f9fa !important;
	border-left: 3px solid #dbe0e6 !important;
}

table.sub-questions-answer-options thead tr {
	background-color: #6c757d;font-size: 0.8rem; line-height: 1;
}

.tooltip-inner {
	max-width: 600px !important;
}

.modal{
	overflow: visible !important;
}

.btn-info {
	color: #ffffff !important;
}

.btn-success {
	color: #ffffff !important;
}

.btn-secondary {
	color: #ffffff !important;
}

.border-success {
	color: #28a745 !important;
}

.due-date-approaching {
	color: #dc3545 !important;
	font-weight: 600 !important;
}

.error-fieldgroup {
	border: 1px solid #dc3545;
	border-radius: 0.8rem;
}

/* -- Loading spinner -- */

.spinner-overlay {
	z-index: 1500;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.6);
}

.spinner-infotext {
	position: fixed;
	left: 45%;
	top: 40%;
	bottom: 0;
	right: 0;
	font-size: 2.5em;
	color: #0c6;
}


@keyframes spinner {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}

.spinner {
	width: 60px;
	height: 60px;
	background: #fff;
	overflow: hidden;
	border-radius: 50%;
	animation: spinner 1.4s infinite linear;
	transform: translateZ(0);
	left: 50%;
	margin-left: -30px;
	top: 50%;
	margin-top: -30px;
	position: absolute;
}

.spinner:after, .spinner:before {
	width: 40px;
	top: 10px;
	left: 10px;
	position: absolute;
	content: "";
}

.spinner:before {
	display: block;
	height: 40px;
	border: 5px solid #0c6;
	border-radius: 50%;
}

.spinner:after {
	height: 20px;
	background: linear-gradient(to right, #fff 0, #fff 40%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%);
}

.history-changes-table th {
	font-size: small;
}

.history-changes-table td {
	font-size: small;
}

div.responses-table-toolbar {
	padding-top: 2px;
	display: inline;
	margin-left: 20px;
}

div#responses_table_length {
	display: inline !important;
}

div#responses_table_filter {
	display: inline !important;
	margin-left: 20px;
}

.survey-responses-filters-wrapper {
	background-color: #ffffff;
	padding-left: 10px;
	padding-top: 5px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
}