@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700&family=Roboto:wght@400;700&display=swap');

.roboto {
	font-family: 'Roboto', sans-serif;
}

:root {
	--bs-primary-rgb: 95,140,175;
	--bs-btn-bg: #5f8caf;
	--bs-body-font-size: 0.9rem;
}
.btn-primary {
	--bs-btn-bg: #5f8caf;
	--bs-btn-border-color: #5f8caf;
}
.card {
	--bs-card-cap-bg: #E0E0E0;
}
.modal {
	--bs-modal-width: 600px;
}
.nav-pills {
	--bs-nav-pills-link-active-bg: #5f8caf;
}
.nav {
	--bs-nav-link-color: #5f8caf;
}

header {
	height: 64px;
}
body {
	height: 100vh;
	font-family: 'Be Vietnam Pro', sans-serif;
	letter-spacing: -0.5px;
}
.loadingOverlay {
	position: absolute;
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #f8f8f8;
	z-index: 999;
	min-height: 60px;
}
.valign-wrapper {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
}
.valign-wrapper .valign {
	display: block;
}
.pointer {
	cursor: pointer;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
}
.small, small {
	font-size: 0.775em;
}
.mainWithHeader {
	height: -moz-calc(100% - 64px);
	height: -webkit-calc(100% - 64px);
	height: calc(100% - 64px);
}
.scrollCtn {
	overflow-y: auto;
	overflow-x: hidden;
}
.hide {
	display: none !important;
}

main {
	transition: 0.5s;
}
.l-navbar {
	position: fixed;
	top: 64px;
	height: -moz-calc(100% - 64px);
	height: -webkit-calc(100% - 64px);
	height: calc(100% - 64px);
	padding: 0.5rem 1rem 0.5rem 0;
	transition: 0.5s;
	z-index: 100;
	width: 224px;
}
.l-navbar .nav_link,
.offcanvas .nav_link {
	position: relative;
	color: #ffffff;
	transition: 0.3s;
	display: grid;
	grid-template-columns: max-content max-content;
	align-items: center;
	column-gap: 1rem;
	padding: 0.5rem 0 0.5rem 1.5rem;
	text-decoration: none;
}
.l-navbar div .nav_link:hover,
.offcanvas div .nav_link:hover,
.l-navbar div .nav_link.active,
.offcanvas div .nav_link.active {
	background-color: rgba(255, 255, 255, 0.1);
}
.l-navbar .nav,
.offcanvas .nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}
@media screen and (min-width: 768px) {
	.l-navbar {
		left: -50%;
		padding: 1rem 1rem 1rem 0;
	}
	.showNav {
		left: 0;
	}
	.body-pd {
		padding-left: 224px;
	}
}
#mobileNavBar {
	width: 224px;
}
.profileOption .row {
	width: 208px;
}
.profileOption .avatar-autor {
	width: 30px;
	height: 30px;
	border: 0px;
	color: #fff;
	line-height: 29px;
	background-position: center;
	background-repeat: no-repeat;
	-o-background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
	background-image: url("../img/bg-avatar-header.jpg");
	border-radius: 50%;
	font-size: 12px;
	text-align: center;
	font-weight: 700;
	display: inline-block;
	vertical-align: middle;
}
.profileOption a,
.profileOption p {
	color: white;
	font-size: 12px;
	line-height: 1;
}

.select2-container .select2-selection--single {
	height: -moz-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: -webkit-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	line-height: 1.25;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	padding: 1.625rem 2.25rem .625rem 0.75rem;
	font-size: 1rem;
	background-color: var(--bs-body-bg);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-selection__rendered {
	padding: 0 !important;
}
.select2-container~label,
.iti~label {
	color: rgba(var(--bs-body-color-rgb),.65);
	transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--bs-body-color);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: -moz-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: -webkit-calc(3.5rem + calc(var(--bs-border-width) * 2));
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
}
.select2-hidden-accessible.is-invalid + .select2-container--default .select2-selection--single,
.select2-hidden-accessible.is-invalid + .select2-container--default .select2-selection--multiple {
	border-color: var(--bs-form-invalid-border-color);
	padding-right: calc(1.5em + 0.75rem);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.3;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	outline: none;
}
.form-check-input,
.form-check-label {
	cursor: pointer;
}
.iti {
	width: 100%;
}
.iti--allow-dropdown input, 
.iti--allow-dropdown input[type=text] {
	padding: 1.625rem 0.75rem 0.625rem 50px;
	height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
	line-height: 1.25;
}
.iti__selected-flag {
	padding-top: 15px;
}
.btn-circle.btn-xl {
	width: 70px;
	height: 70px;
	padding: 10px 16px;
	border-radius: 35px;
	font-size: 24px;
	line-height: 1.33;
}
.btn-circle {
	width: 30px;
	height: 30px;
	padding: 6px 0px;
	border-radius: 15px;
	text-align: center;
	font-size: 12px;
	line-height: 1.42857;
}
.btn-trash {
	background-color: transparent;
	border: solid 1px #FF1161;
	color: #FF1161;
}
.btn-trash:hover {
	background-color: #FF1161;
	color: white;
}
.divider {
	border-top: solid 1px #e0e0e0;
}

/* HOME */
.page-home {
	width: 100%;
	height: -moz-calc(100% - 64px);
	height: -webkit-calc(100% - 64px);
	height: calc(100% - 64px);
	background: linear-gradient(
		to right,
		#F8F8F9 0%,
		#F8F8F9 50%,
		#FFFFFF 50%,
		#FFFFFF 100%
	);
}
.page-home > .container > .row .col-12:first-child {
	background-color: #F8F8F9;
}
.page-home > .container > .row .col-12:last-child {
	background-color: #FFFFFF;
}

/* CONSULTATION */
.navTop {
	white-space: nowrap;
	display: block;
	overflow-x: auto;
	overflow-y: hidden;
	border: none;
}
.navTop li {
	display: inline-block;
	border-bottom: solid 1px var(--bs-border-color);
}
.nav-pills.consultationTabs li,
.nav-pills.consultationTabs li button {
	width: 100%;
}
.actionFooter {
	width: 100%;
	bottom: 0;
	left: 15px;
	padding: 12px 0;
	background-color: #f8f8f8;
	z-index: 2;
	overflow: hidden;
}
.actionFooter button {
	padding: 0.275rem 0.55rem;
}
.savedRow,
.savedRow td {
	background: rgba(121, 198, 102, 0.4);
}

#registerForm .rounded, 
#registerForm .accordion-button {
	border-radius: var(--bs-accordion-border-radius)!important;
}

#carouselMsgs {
	min-height: 70px;
}
#carouselMsgs .carousel-item {
	background-color: white;
}
#carouselMsgs .carousel-item p {
	margin-bottom: 0;
}
.form-control:focus {
	box-shadow:0 0 0 .05rem rgba(13,110,253,.25)
}
.tooltip-inner {
	max-width: 300px !important;
}

.form-check-input:checked {
	background-color: var(--bs-btn-bg);
	border-color: var(--bs-btn-bg);
}

.alert .fa-exclamation {
	display: block;
	border: solid 1px var(--bs-btn-bg);
	padding: 0 10px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	border-radius: 50%;
	color: var(--bs-btn-bg);
}

.rounded-circle.bg-primary.outline {
	border: solid 1px var(--bs-btn-bg);
}
.rounded-circle.bg-white.outline {
	border: solid 1px var(--bs-border-color);
}
.form-text {
	font-size: .775em;
}
.input-group-text.is-invalid {
	border-color: var(--bs-form-invalid-border-color);
}

.btn-rounded {
	border-radius: 20px;
}
.bg-success-gradient {
	background: rgb(134,248,165);
	background: linear-gradient(90deg, rgba(134,248,165,1) 0%, rgba(142,217,165,1) 100%);
}
.btn.redeemBtn:disabled {
	background-color: var(--bs-dark-bg-subtle);
	border-color: var(--bs-dark-bg-subtle);
}

.form-floating.floating-placeholder > .form-control::placeholder {
    color: revert;
}
.form-floating.floating-placeholder > .form-control:not(:focus)::placeholder {
    color: transparent;
}

#nav-tabPdfs {
	position: relative;
	height: -moz-calc(100% - 40px);
	height: -webkit-calc(100% - 40px);
	height: calc(100% - 40px);
}

@media only screen and (max-width: 600px) {
	:root {
		--bs-body-font-size: 0.9rem;
	}
	#patientBody .form-floating {
		margin-bottom: 1rem;
	}
	.actionFooter {
		position: fixed;
	}
	.actionFooter button {
		padding: 0.25rem 0.5rem;
		font-size: 0.875rem;;
	}
	.actionFooter > div:last-child {
		text-align: right;
	}
	.actionFooter > div:nth-child(2) {
		padding-right: 0;
	}
	#consultationTabContent {
		padding-bottom: 55px;
	}
}
@media only screen and (min-width: 601px) {
	#consultationCtn,
	#consultationCtn > div:nth-child(2) {
		height: 100%;
	}
	#consultationTabContent {
		height: -moz-calc(100% - 100px);
		height: -webkit-calc(100% - 100px);
		height: calc(100% - 100px);
	}
	.actionFooter {
		position: absolute;
	}
}
@media only screen and (max-width: 1500px) {
	#homeCtn {
		width: 100% !important;
		max-width: 100% !important;
	}
}