/***************************

		Navbar

***************************/
.navbar {
	height: 80px;
	margin: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	background-color: #F3F3F3;
}

#nav-container {
	padding: 0;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	position: relative;
}

.navbar > .container-fluid .navbar-header {
	margin-left: 0;
}

.navbar > .container-fluid .navbar-brand {
	padding: 0;
	margin: 0;
}

.navbar-default {
	border: none;
}

.navbar-default .navbar-brand {
	height: 40px;
	color: initial;
}

.navbar-brand {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.navbar-brand #brand-img {
	width: 40px;
	height: 40px;
	margin-right: 16px;
	display: inline-block;
	float: left;
}

.navbar-brand #welcome-msg {
	width: 200px;
	height: 40px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin: 0;
}

#nav-flash-div {
	height: 40px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-size: 16px;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

#nav-flash-div > .error-flash {
	color: #CC0000;
	font-weight: bold;
}

#nav-flash-div > .success-flash {
	color: #00CC00;
	font-weight: bold;
}

.navbar-right {
	width: 256px;
	height: 40px;
	margin-right: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.nav-buttons {
	width: 40px;
	height: 40px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	margin: 0 8px;
}

#history {
	background-image: url("../images/navIcons/history.png");
}

#history:hover {
	background-image: url("../images/navIcons/history_hover.png");
}

#history:active {
	background-image: url("../images/navIcons/history_active.png");
}

#help {
	background-image: url("../images/navIcons/help.png");
}

#help:hover {
	background-image: url("../images/navIcons/help_hover.png");
}

#help:active {
	background-image: url("../images/navIcons/help_active.png");
}

#profile {
	background-image: url("../images/navIcons/profile.svg");
}

#profile:hover {
	background-image: url("../images/navIcons/profile_hover.svg");
}

#profile:active {
	background-image: url("../images/navIcons/profile_active.svg");
}

#save {
	background-image: url("../images/navIcons/save.png");
}

#save:hover {
	background-image: url("../images/navIcons/save_hover.png");
}

#save:active {
	background-image: url("../images/navIcons/save_active.png");
}

#contact {
	background-image: url("../images/navIcons/contact.png");
}

#contact:hover {
	background-image: url("../images/navIcons/contact_hover.png");
}

#contact:active {
	background-image: url("../images/navIcons/contact_active.png");
}

.tooltip-inner {
	width: 85px;
}

/***************************

	Quit Screen Popup

***************************/
.modal-dialog {
	width: 990px;
}

.modal-body {
	max-height: 640px;
	overflow-y: auto;
}

#instructions-content {
	height: 620px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: start;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.instructions-div {
	margin-bottom: 1rem;
}

.image-margin {
	margin-bottom: 1.5rem;
}

#page-block {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.7);
	top: 0;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	z-index: 1000;
}

#quit-confirm-container {
	width: 1280px;
	height: 800px;
	display: none;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#first-time-div {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	display: none;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	background-color: rgba(0, 0, 0, 0.85);
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	z-index: 1000;
	padding-bottom: 4rem;
}

#first-time-text {
	color: #DDD;
}

#quit-confirm {
	width: 600px;
	height: 240px;
	border: 10px solid #B8E4FA;
	border-radius: 15px;
	background-color: white;
	padding: 25px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

#quit-yes-btn,
#quit-no-btn {
	margin: 0 24px;
}