/*
This file provides the basic styling 
*/

html, body {
	height:100%;
	
	font-family: Nunito Sans, "Helvetica Neue", Helvetica,Arial,sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.035em;
	
	overflow-x: hidden;
}

h1 {
	margin:0px;
	display: grid;
	font-weight: 900;
	font-size: 24px;
	line-height: 33px;
	color: #000000;
	text-transform: uppercase;
}

h1:before {
	content: "";
	background:  #FFF200;
	display: inline-block;
	max-width: 55%;
	height: 3px;
}

h2 {
	font-size: 18px;
	line-height: 25px;
	text-transform: uppercase;
}

a:hover {
	text-decoration: none;
}

.modal-dialog {
	background: #FFF;
}

button:focus, i:focus, .btn:focus {
	outline:none;
}

.btn.btn-primary {
	background: #FFF200;
	border: 6px solid #FFF200;
	box-sizing: border-box;
	font-weight: 900;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
}

.btn.btn-primary:hover {
	color: #000;
    background-color: #fff663;
    border-color: #fff663;
}

.btn.btn-danger {
	background: #c9302c;
	border: 6px solid #c9302c;
	box-sizing: border-box;
	font-weight: 900;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #fff;
}

.btn.btn-danger:hover {
	color: #fff;
    background-color: #d9534f;
    border-color: #d9534f;
}
	

.btn.btn-default {
	background: #fff;
	border: 1px solid #FFF200;
	box-sizing: border-box;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
}

.loading {
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	position: absolute;
	background-color: hsl(0, 0%, 75%, 0.5);
	z-index:100;
}

.loading .fa {
	top: calc(50% - 50px);
	left: calc(50% - 50px);
	position: absolute;
	z-index:100;
}

.prevPageBtn {
	margin-top: -30px;
	margin-bottom: -5px;
	padding: 0 0 10px 0;
}

.buttonTextWithIcon {
	margin-left:5px;
}

.centeredBlock {
	display: block;
	text-align: center;
}

.multiselectDropdown {
	position:sticky;
	top: -5px;
	display: inline-block;
    width: 100%;
    margin-top: -5px;
    padding: 5px;
	text-transform: uppercase;
	border:none !important;
    border-bottom: 0.5px solid #ddd !important;
}

.dropdown-menu a:focus {
	background: none;
}

.dropdown-menu>li>a:focus.selected, .dropdown-menu>li>a:hover.selected {
	background: #fff200;
}

.dropdown-menu>li>a:hover {
	background: #fffbb0;
}

.dropdown-menu a.selected {
	background: #fff200;
}

.dropdownNoSelection {
	background: #fffbb0;
}

.dropdownNoSelection:hover {
	background-color: #fffbb0 !important;
}

.selectAll {
	display:block;
	float:right;
	margin-top:-30px;
	padding:0 10px;
}

.selectAll input[type="checkbox"] {
 	display: none;
}

.selectAll .checkbox-text {
	cursor: pointer;
}

.selectAll .checkbox-text::before {
	content: "";
	position: relative;
	top: 3px;
	right: 5px;
	display: inline-block;
	background-color: #c4c4c4;
	width:15px;
	height:15px;
	border: 4px solid #c4c4c4;;
}

.selectAll input[type="checkbox"]:checked + .checkbox-text::before {
	background-color: #fff;
}

.sidepanelHeader {
	position: sticky;
	top: 0;
	left:0;
	padding:20px;
	background-color: #fff;
	z-index:50;
}

.sidepanelFooter {
	position: sticky;
	left: 0;
	bottom: 0;
	padding:0 20px 20px 20px;
	background-color: #fff;
	text-align: center;
}

#overrideAssignmentHint {
	text-align:left;
	margin-bottom:10px;
}

.sidepanelContent .input-group-addon {
	background: #FFF200;
	border: 1px solid #FFF200;
	box-sizing: border-box;
	font-weight: 900;
	border-radius: 2px;
	font-size: 14px;
	line-height: 19px;
	color: #000000;
}

.evalRow  .progress {
	height: 13px;
	border: 2px solid #C4C4C4;
	border-radius: 10px;
	margin: 5px 0 0 0;
	-webkit-box-shadow: none;
	-moz-box-shadow:none;
    box-shadow: none;
}

.evalRow  .progress-bar {
	background-color: #FFF200;
	-webkit-box-shadow: none;
	-moz-box-shadow:none;
	box-shadow: none;	
}

.evalRow {
	display: flex;
    align-items: center;
	padding: 5px 0;
	border-bottom: 1px solid #C4C4C4;
}

.evalRow:last-child {
	border: none;
}

.evalColRight {
	text-align: right;
}

.evalColRight .evalText {
	font-weight: 300;
	font-size: 18px;
	line-height: 25px;
}

.filters {
	text-align: right;
}

.filters i {
	padding-left:5px;
}

.filters h1 {
	display: inline-grid;
	margin: 0 25px;
}

.filters .circle, .visitStatefilter .circle {
	display: none;
}

.filters .circle.filtered {
	display: inline-block;
	margin-left: -7px;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	line-height: 16px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: #fff200;	
}

.visitStatefilter .circle.filtered {
	display: inline-block;
	margin-left: -5px;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	line-height: 14px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background-color: #fff200;	
}

.assignFooter {
	margin-top:10px;
}

.star {
	text-align:center;
}

.header-wrapper .alert {
	margin-top: 10px;
	margin-bottom: 0px;
}

.header-wrapper .headerLogoRow {
	display: flex;
    align-items: center;
}

.userMenu {
	text-align: center;
}

.testSystem {
	position:sticky;
	top:0;
	width:100%;
	text-align: center;
	z-index: 11;
	padding: 5px 0;
	background: red;
	color: white;
}
.testSystem span {
	display:inline-block;
	width:40px;
	height:40px;
	padding: 12px 5px;
	background: red;
	color: white;
	border-radius: 50%;
	text-transform: uppercase;
}

.assignFooterButtons button {
	margin: 0 5px 5px 0;
	display: none;
}

.visiteeCard p {
	margin: 1em 0;
}

.visiteeCard p:first-child {
	font-size: 18px;
	line-height: 18px;
	max-width: calc(30vh - 10px);
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visiteeCard p:last-child {
	font-size: 14px;
	line-height: 14px;
}

.visiteeCard button {
	border: none !important;
}

.visiteeCard .memberFlag {
	display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
	position: absolute;
	right: -15px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}

.visiteeCard .visiteeOverview .memberFlag {
	position: relative;
	top: -5px;
	right: 57px;
}

.surveyContent .visiteeCard .visiteeOverview .memberFlag {
	right: 61px;
}

.assignOverview .visiteeCard, .visiteeCardLegend.visiteeCard {
	border: 2px solid #C4C4C4;
	box-sizing: border-box;
	margin: 0 5px 0 0;
	border-radius: 30px;
	margin-bottom: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.assignOverview .visiteeCard.selected {
	border: 2px solid #fff200;
	font-weight: 900;
	background-color: #fffbb0;	
}

.assignOverview .visiteeCard.assigned.selected {
	background: linear-gradient(90deg, #FFF200 50%, #fffbb0 50%);
}

.visiteeCardLegend.visiteeCard {
	margin-bottom: 5px;
	height:20px;
	cursor: default;
}

.visiteeCardLegend {
	font-size: 14px;
	line-height: 14px;
	text-align: center;
}

.assignOverview .visiteeCard.assigned, .visiteeCardLegend.visiteeCard.assigned {
	background: linear-gradient(90deg, #FFF200 50%, #fff 50%);
}

.assignOverview .visiteeCard.visited, .visiteeCardLegend.visiteeCard.visited {
	background-color: #FFF200;
	cursor: default;
}

.cardWrapper {
	margin-top: 25px;
}

.cardWrapper .btn {
	width: 100%;
	background-color: #FFF200;
	margin-bottom: 10px;
	padding: 0;
	font-weight: 900;
	font-size: 24px;
	line-height: 33px;
	text-align: center;
	color: #000000;	
}

.cardContent {
	margin: 20px 10px;
	padding: 30px 0 20px 0;
	background-color: #FFF200;
	font-weight: 900;
	text-transform: uppercase;
}

.visitationRunCard {
	margin: 10px 10px;
	font-size: 20px;
	line-height: 30px;
	padding: 40px 20px 35px 20px;
	background-color: #FFF200;
	font-weight: 900;
	text-transform: uppercase;
	width: calc(100% - 20px);
	min-height: 170px;
	color: #000000;	
	display: flex;
	align-items: center;
	justify-content: center;
}

.visitationRunCard:active, .visitationRunCard:visited, .visitationRunCard:hover {
	color: #000000;	
}

.returnArrow {
	margin: -15px 0 15px 0;
}

.headlineRow a {
	color: #000;
}

.headlineRow span {
	text-transform: uppercase;
	font-size: 13px;
	line-height: 18px;
	margin-right: 5px;
}

.headlineRow {
	display: flex;
    align-items: center;
	margin-bottom: 10px;
}

.headerContent {
	margin-top: 25px;
}

.headerContent > .filters > .dropdown{
	display: inline;
}

.dropdown-menu li {
	border-bottom: 0.5px solid #ddd;
}

.dropdown-menu li:last-child {
	border: none;
}

.headerContent > .filters > .dropdown > .dropdown-menu {
	max-height: 50vh;
	overflow-y: auto;
	right:0;
	left:auto;
}

.headerContent > .filters > .dropdown:first-child > .dropdown-menu {
	left:0;
	right:auto;
}

.content-wrapper textarea, .content-wrapper input, .header-wrapper input {
	border: 0;
	background-color: #E6E6E6;
	-webkit-box-shadow: none;
	-moz-box-shadow:none;
	box-shadow: none;	
	border-radius: 0;
}

.content-wrapper .input-group-addon, .header-wrapper .input-group-addon {
	border: 0;
	background: #E6E6E6;
	-webkit-box-shadow: none;
	-moz-box-shadow:none;
	box-shadow: none;	
	border-radius: 0;
	padding: 5px 15px;
}

.content-wrapper .input-group-addon button, .header-wrapper .input-group-addon button {
	background-color: transparent;
	border: 0;
	padding: 0px;
}

/* Layout Wrappers */

.homeButton {
	padding: 10px;
	margin-left: -15px;
	background: #fff200;
	border-radius: 0 50px 50px 0;
	display: inline-flex;
	align-items:center;
}

.homeButton span {
	color: #000;
	font-weight: 900;
	padding: 0 10px;
}

.header-wrapper {
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 10;
	width: 100%;
	text-align: left;
	padding: 15px;
	margin-bottom: 20px;
	-webkit-box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
	box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.25);
}

.content-wrapper {
	padding: 20px;
}

.footer-wrapper {
	position: fixed;
	bottom: 0px;
	padding:10px;
	width: calc(100% - 20px);
	background-color: #fff;
}

.visitorHomeSelection {
	float:right;
	margin-right:20px;
	margin-top:5px;
}

.visitorHomeSelection .input-group-addon {
	background: #FFF200;
    border: 1px solid #FFF200;
    box-sizing: border-box;
    font-weight: 900;
    border-radius: 2px;
    font-size: 14px;
    line-height: 19px;
    color: #000000;
	width: auto;
	display: inline-block;
}

.visitorSurveySelection .input-group-addon {
	background: #FFF200;
    border: 1px solid #FFF200;
    box-sizing: border-box;
    font-weight: 900;
    border-radius: 2px;
    font-size: 14px;
    line-height: 19px;
    color: #000000;
	width: auto;
}

.visitorSurveySelection .dropdown button {
	padding: 6px 30px;
}

.visitorHomeSelection .input-group-addon {
	min-width: 50px;
	text-align: center;
}

.visitorHomeSelection .dropdown {
	display: inline-block;	
}

.visitorHomeSelection .dropdown-menu {
	left:auto;
	right:0px;
}

/* sidepanel */

/* The sidepanel menu */
.sidepanel {
  height: 100%; 
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; 
  z-index: 100; 
  top: 0;
  left: 0;
  background-color: #fff; 
  overflow-x: hidden; 
  transition: 0.5s; 
}

.before {
	width: 100%;
	height: 100%;
	position:fixed;
	z-index: 50;
	top:0;
	left:0;
	background-color: #000;
	opacity: .5;
	display: none;
}

/* The sidepanel links */
.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #888;
  display: block;
}

.sidepanel .dropdown-menu {
  max-height: calc(100vh - 220px);
  overflow: auto;
}

.sidepanel .dropdown-menu li a {
  text-decoration: none;
  font-size: 13px;
  color: #000;
  display: block;
}

.sidepanel .dropdown-menu li a:hover {
  background-color: #ddd;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

.sidepanelContent {
	padding: 10px 50px 50px 50px;
}

.sidepanelHeader .dropdown button {
	display: block;
	width: 100%;
	margin-top: 10px;
	border-width: 3px;
	padding:5px; 
	font-size:14px;
	font-weight: bold;
	background-color: #fffcc9;
}

.sidepanelContent .dropdown-menu {
	max-height: 70vh;
	max-width: 300px;
	left:auto;
	right:0;
	overflow-y: auto;
	padding: 5px;
}

.visiteeSelection {
	padding: 20px 0 0 0;	
}

.visiteeSelection ul {
	list-style-type: none;
	padding: 0px;
}

.visiteeSelection ul li p {
	margin: 0 0 8px 0;
}

.visiteeSelection ul li p:first-child {
	font-weight: bold;
	font-size: 18px;
	line-height: 25px;
}

.visiteeSelection ul li p:last-child {
	margin-top: -10px;
	font-weight: 200;
	font-size: 12px;
	line-height: 16px;
}

.visitOverview {
	margin-top:15px;
}

.visitOverview button {
	border: none;
    background: none;
    display: contents;
}

.headlineRow .dropdown-menu {
    left: auto;
	right: 0;
}

.visitOverview a {
	color: #000;
	text-decoration:none;
}

.visitOverview .visiteeCard {
	border-bottom: 0.5px solid #C4C4C4;
	display: flex;
	align-items: center;
	text-align: left;
}

.surveyContent {
	margin: 10px !important;
}

.surveyContent .visiteeCard {
	display: flex;
	align-items: center;
}

.surveyContent .visiteeCard p:first-child {
	font-size: 18px;
	line-height: 18px;
	margin-bottom:-8px;
	font-weight: 900;
}

.orgsEntry {
	background-color: #fff200;
	padding: 5px 10px;
	border-radius: 10px;
	margin-right: 5px;
}

.visitLegend .centeredBlock {
	padding:0px;
}

.visitLegend .visiteeCard .circle {
	width: 16px !important;
	height: 16px !important;
	border: 3px solid #C4C4C4 !important;
}

.verticallyCentered {
	height:100%;
}

.visiteeCard .circle {
	display:inline-block;
	width: 28px;
	height: 28px;
	background-color: #FFF;
	border: 4px solid #C4C4C4;
	border-radius:50%;
}

.visiteeCard.surveyParticipationExists .circle {
	width: 28px;
	height: 28px;
	background: linear-gradient(90deg, #FFF200 50%, #FFF 50%);
	border: 4px solid #C4C4C4;
	border-radius:50%;
}

.visiteeCard.visited .circle {
	width: 28px;
	height: 28px;
	background: none;
	background-color: #FFF200;
	border: 4px solid #C4C4C4;
	border-radius:50%;
}

.visitOverview .visiteeCard.visited .circle {
	background-color: #FFF200;
}

.surveyContent h1 {
	margin-bottom: 10px;
}

.surveyContent > .questionBlock ~ .questionBlock {
	display: none;
}

.surveyContent .possibility {
	margin-bottom:10px;
}

.surveyContent .possibility textarea {
	width: 100%;
	min-height: 80px;
	padding: 8px;
	margin-top: 5px;
}

.surveyContent .possibility ul {
	padding:0px;
}

.surveyContent .possibility.possibilityDecision li {
	display: inline-block;
}

.dataCheck {
	font-size: 18px;
	line-height: 25px;
	margin: 20px 0 10px 0;
}

.dataInputs {
	padding: 10px;
}

.dataInputs input {
	display: inline-block;
	width: 100%;
}

.dataInputs div {
	padding-top:5px;
}

/* Checkmark */

/* The container */
.checkboxTitle {
	margin-right: 15px;
}

.checkboxContainer {
  	display: flex;
	align-items: center;
  	position: relative;
  	padding: 0 10px 0 25px;
	margin:0;
  	cursor: pointer;
  	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}

/* Hide the browser's default radio button */
.checkboxContainer input {
  	position: absolute;
  	opacity: 0;
  	cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  	position: absolute;
  	top: -2px;
 	left: 0;
  	height: 20px;
  	width: 20px;
  	background-color: #C4C4C4;
	border: 4px solid #C4C4C4;
  	border-radius: 50%;
}

/* When the radio button is checked, add a blue background */
.checkboxContainer input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.checkboxContainer input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.checkboxContainer .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

@media screen and (max-width: 1700px) {
	
	.homeButton span {
		font-size:0px;
		padding: 0px;
	}
	
}

@media screen and (max-width: 1200px) {
	
	.filters h1 {
		font-size: 16px;
		line-height: 18px;
		margin: 0 5px;
	}

}

@media screen and (max-width: 500px) {
	.filters {
		margin-top:15px;
	}
	
	.filters h1 {
		font-size: 14px;
		line-height: 14px;
		margin: 0 5px;
	}
	
	.filters i {
		display: none;
	}
	
	.assignFooterLegend {
		margin-left: 0px;
		text-align: center;
	}
	
	.assignFooterButtons {
		text-align: center;
	}
	
	.assignFooterLegend button {
		margin-bottom: 10px;
	}
	
	.visiteeCardLegend {
		font-size:12px;
		line-height:12px;
	}
	
	.headerContent > .filters > .dropdown > .dropdown-menu a {
		min-width:200px;
		word-break: normal;
		white-space: normal;
	}
	
	.headerContent .filters .dropdown .dropdown-menu li {
		word-break: normal;
		white-space: normal;
	}
}

@media screen and (max-width: 400px) {
	.filters h1 {
		font-size: 12px;
		line-height: 12px;
		margin: 0 5px;
	}
	
	.visitorHomeSelectionDropdownText {
		display: inline-flex;
		width: calc(100vw - 135px);
		overflow: hidden
	}
}

@media screen and (max-width: 360px) {
	
	h1 {
		font-size: 16px;
    	line-height: 24px;
	}
	
	.visitLegend {
		font-size: 10px;
	}
	
	.visiteeCard p:first-child {
		font-size: 15px;
		line-height: 15px;
	}
	
	.visiteeCard p:last-child {
		font-size: 13px;
		line-height: 14px;
	}
	
	.filters h1 {
		font-size: 10px;
		line-height: 10px;
		margin: 0 5px;
	}
}