@import url(//fonts.googleapis.com/css?family=Lato:300,400,500,600,700,300italic,400italic);

body {
	font-family: 'Lato', sans-serif;
}

/* 
 * TABS
 */
.nav-tabs > li > a.nav-link {
	border: 1px solid #e9e9e9;
	background-color: #f9f9f9;
	font-size: .95em;
}
.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, 
.nav-tabs > li.active > a:focus {
	outline: none;
}
.tab-content > .tab-pane {
	padding-top: 10px;
	padding-right: 5px;
}
.nav-tabs li.nav-item.active .nav-link, .nav-tabs li.nav-item.show .nav-link {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

/* LOGIN */
body.login {
	background-color: #2467A2;
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
	height: 100vh;
	position: relative;
	z-index: 0;
}

body.login>.container {
	display: flex;
	width: 25vw;
	min-width: 340px;
	position: relative;
}

body.login .main {
	margin: 100px 0 0 0;
	background-color: transparent;
	min-height: auto;
}

body.login .main .feedbackPanel {
	color: #fff;
	font-weight: bold;
	list-style: none;
}

.loginLogo {
	position: relative;
}

.form-login {
	margin-top: 50px;
}

.form-login input.form-control {
	background-color: rgba(0, 0, 0, 0.1);
	color: #fff;
	border-color: rgba(0, 0, 0, 0.2);
	padding: 10px;
	height: auto;
	font-size: 1.2em;
}

/* NAVBAR */
.navbar-inverse {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
	background-color: #1D5586;
	border-color: #194770;
}

.navbar-brand {
	padding: 5px 0 0 10px;
	width: 150px;
	height: 50px;
}

.navbar a.nav-link {
	display: flex;
	color: #ffffff;
	margin-right: 10px;
	align-items: center;
}

.navbar a.nav-link:hover {
	color: #C0C0C0;
}

.navbar-brand > img {
	height: 100%;
}

.navbar-inverse .nav-right > a {
	color: #fff;
	font-size: 20px;
	white-space: nowrap;
}

.navbar-inverse .nav-right > button {
	border-radius: 0;
	margin-bottom: -1px;
}

.navbar .navbar-right {
	justify-content: end;
}

.navbar .navbar-right > ul > li > a {
	font-size: 20px;
	color: #ffffff;
}

body > .subtitle {
	background-color: #C0C0C0;
	color: #1d5586;
	padding: 5px;
}

body > .subtitle h1 {
	padding-left: 30px;
	margin: 0px;
	font-weight: 500;
	font-size: 1.5em;
}

.main.container-fluid {
	width: 90vw;
	padding: 15px;
}

.btn:hover {
	color: #000000;	
}

.row-actions {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.row-actions .btn {
	padding: 0 5px;
}

.row.demographics .col .row > div:nth-child(1) {
	text-align: right;
	font-weight: 600;
}

.result-panel-wrapper {
	display: flex; 
	justify-content: center;
	flex-direction: row;
	flex-wrap:wrap;
}

.result-panel {
	display: flex;
	flex-direction: row;
	border-radius: 2px;
	margin-bottom: 10px;
	margin-right: 10px;
}

.result-panel .left, 
.right {
	padding: 0px 5px 5px 5px;
	width: 220px;
}

.result-panel .left > div, 
.right > div {
	border: 1px solid;
	height: 50px;
	margin-top: 5px;
	border-radius: 2px;
	background-color: #bbd7f0;
	font-size: 13px;
	overflow: hidden;
	text-decoration: none;
}

.result-panel .left > div:hover:not(.disabled), 
.result-panel .right > div:hover:not(.disabled) {
	background-color: #aac2d7;
	cursor: pointer;
}

.result-panel .middle {
	display: flex;
	border-radius: 2px;
}

.result-panel .middle .column {
	display: flex;
	flex-direction: column;
}

.result-panel .middle .column:last-of-type {
	margin-left: 5px;
}

.result-panel .middle .column > div {
	font-size: 1.2em;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	width: 35px;
	border: 1px solid;
	margin-top: 5px;
	border-radius: 2px;
	background-color: #87b8e4;
}

.allergen {
	display: flex;
	align-items: flex-start;
	flex-direction: row;
	height: 50px;
	border: 1px solid;
	padding: 5px;
}

.allergen > .allergen-name {
	min-width: 180px;
	height: 100%;
}

.reading-icon {
	color: var(--bs-success);
}

.reading-icon.disabled {
	color: var(--bs-success);
	opacity: .35;
}

.add-series > .row {
	margin-bottom: 5px;
}

.add-series > .row:last-child {
	margin-bottom: 0;
}

.card.result-panel-card {
	margin: 5px;
}

.card-header.card-header-with-info {
	display: flex;
	justify-content: space-between;
}

.card-header .btn-link {
	padding: 0;
}

.card-header-info {
	text-align: right;
}

.card-header-info ul {
	margin: 0;
	padding: 0;
}

.card-header-info ul li {
	padding: 0 10px;
	font-size: .9em;
	color: #eee;
}

.card-header-info ul li:last-of-type {
	padding-right: 0;
}

.col-form-label {
	text-align: right;
}

.edit-reading .row {
	margin-bottom: 10px;
}

.final-diagnosis .row {
	margin-bottom: 10px;
}

.final-diagnosis .sh-modal-dialog-footer .accessories:has(.copy-button) {
	flex-direction: row-reverse;
}

.no-readings {
	display:flex;
	justify-content: center;
}

textarea.form-control.notes {
	min-height: 100px;
}

.diagnosis-group {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.questionnaire-code-container {
	width:500px;
}

.questionnaire-container {
	width: 80vw;
}

.questionnaire-container > div.logo > img {
	width: 400px;
}

table.search-results > thead > tr > th.company {
	width: 235px;
}