@font-face {
	font-family: 'Gotham';
	src: url('../fonts/gotham-light.woff') format('woff'), url('../fonts/gotham-light.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
  }

  @font-face {
	font-family: 'Gotham';
	src: url('../fonts/gotham-normal.woff') format('woff'), url('../fonts/gotham-normal.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
  }

  @font-face {
	font-family: 'Gotham';
	src: url('../fonts/gotham-bold.woff') format('woff'), url('../fonts/gotham-bold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

body {
	font-family: "Gotham", Helvetica, Arial, sans-serif;
	padding-top: 70px;
	background-color: #f1f1f1 !important;
	margin-bottom: 70px;
}

.cpointer {
	cursor: pointer;
}

.no-padding {
	padding: 0 !important;
}

.no-borders {
	border: none !important;
}

.no-margins {
	margin: 0 !important;
}

.navbar-fixed-top {
	background-color: #fff !important;
	/* transition: background-color 200ms linear; */
}

.caret-area {
	width: 12px;
	height: 12px;
	display: inline-block;
	padding-top: 5px;
	background-color: #3498db;
	border-radius: 50%;
}

.caret-area .caret {
	float: left;
	color: #fff;
}

#navbar > ul > li.dropdown a {
	background-color: #fff;
}

.btn-primary {
	border-color: #3498db;
    background-color: #3498db !important;
}

/** LOGIN **/
.form-signin {
	padding-top: 40px;
	padding-bottom: 40px;
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
	margin-top: 100px;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: 400;
}

.form-signin .form-control {
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input {
	border-radius: 5px;
}

.form-signin .register-new  {
	margin-top: 10px;
}

/** DEFAULT **/
.header-logo {
	width: 200px;
	height: 40px;
    margin-top: 15px;
	position: relative;
	display: inline-block;
}

.header-logo-xs {
	margin-left: 10px;
}

.header-logo:after, .header-logo-xs:after {
	height: 25px;
}

.footer {
	position: fixed;
	bottom: 0;
	right: 0;
	text-align: right;
	width: 100%;
	height: 40px; /* Set the fixed height of the footer here */
	line-height: 25px;
	margin-top: 30px;
	padding-top: 5px;
	background-color: #f1f1f1;
}

.footer img {
	width: 105px;
	height: 22px;
}

/** pharmacy-page **/
.pharmacy-page label {
	font-weight: normal;
}

.pharmacy-page select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
    border-width: 0 0 1px 0;
    border-color: #c1c1c1;
    border-style: solid;
    box-shadow: none;
    border-radius: 0;
}

.pharmacy-page input {
	background-color: #fff;
    border-width: 0 0 1px 0;
    border-color: #c1c1c1;
    border-style: solid;
    box-shadow: none;
    border-radius: 0;
}

.pharmacy-page input:read-only {
	background-color: #e1e1e1;
}

.pharmacy-page .table-hour tbody td {
	background-color: #FFF;
}

.pharmacy-page .table-hour td:nth-child(1) {
	background-color: #f1f1f1;
}

.pharmacy-page .table-hour tbody td {
	/* border-right: #f1f1f1; */
	border: 1px solid #d1d1d1;
}

.pharmacy-page .table-hour td {
	padding: 5px;
	margin: 0;
}

.pharmacy-page .code-access {
    width: 42px;
    height: 38px;
    border: 1px solid #DDDDDD;
    border-radius: 2px;
    float: left;
    margin: 0 4px;
    text-align: center;
    font-size: 24px;
    line-height: 42px;
    font-weight: 300;
    color: #333333;
    -webkit-transition: All .2s ease-in-out;
    -moz-transition: All .2s ease-in-out;
    -o-transition: All .2s ease-in-out;
    transition: All .2s ease-in-out;
}

.pharmacy-page .table-hour input {
	background-color: #FFF;
	border-width: 0;
	border-color: #FFF;
	border-style: solid;
    box-shadow: none;
	border-radius: 0;
	text-align: center;
	width: 50px;
}

.loadingCep {
    background-color: #ffffff;
    background-image: url(../img/loading.gif);
	background-size: 20px 20px;
    background-position: right center;
	background-repeat: no-repeat;
}

.m-t-15 {
	margin-top: 15px;
}

.m-l-8 {
	margin-left: 8px;
}

.m-t-20 {
	margin-top: 20px;
}

.section-code {
	margin-top: 120px
}

.search-box {
	color: #777;
	margin: 20px 0;
}

.section-code .search-box-web > p {
	margin-bottom: 14px;
}

.search-form {
	position: relative;
}

.search-button {
	width: 30px;
	height: 29px;
	position: absolute;
	top: 11px;
	right: 10px;
	outline: 0;
	background: #fff;
}

.exemple-box {
	position: relative;
}
.section-code .exemple-box {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 12px;
}

.section-code .exemple-box > img {
	flex: 0 0 auto;
	max-width: 234px;
	width: 234px;
	height: auto;
	float: none !important;
}

.exemplo-info {
	width: 194px;
	color: #777;
}

/* Seta no example.svg ~y=147; arte380px de altura. Centro do telefone=190px — sem isso o texto fica “baixo” como na 2ª referência. */
.section-code .exemplo-info {
	float: none !important;
	flex: 0 1 220px;
	min-width: 0;
	position: relative;
	left: 0;
	align-self: center;
	transform: translateY(calc(147px - 380px / 2));
}

.section-code .exemplo-info p {
	margin: 0;
}

/* RECIPE */

.recipe-code {
	margin: -6px 10px 14px;
	color: #676A6C;
	font-weight: 300;
}

.recipe-doca-page .recipe-code {
	margin: 0;
	color: inherit;
	font-weight: inherit;
}

.btn-back {
	color: #008CFF;
	text-decoration: underline;
}

.recipe-info {
	color: #696C6E;
}

.recipe-info p {
	margin: 4px 0;
}

.card-pdf {
	position: relative;
	margin-top: 12px;
	text-align: center;
}

.pdf-name {
	color: #696C6E;
	margin: 0 15px;
}

.pdf-icon {
	top: 7px;
	position: relative;
}

.button-locked {
	position: absolute;
	top: 50%;
	right: 15px;
	background: none;
	border: 0;
	outline: 0;
	transform: translateY(-50%);
}

.card {
	margin-bottom: 20px;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0px 1px 6px #53748329;
}

.card-body {
	padding: 15px;
	position: relative;
}

.card-signed {
	height: 82px;
}

.card-prescription .title {
	color: #696C6E;
	font-weight: 700;
}

.prescription-lists {
	padding: 0;
	margin: 0
}

.prescription-item {
	width: 100%;
	display: inline-block;
	border-bottom: 1px solid #E7EAEC;
	margin-top: 5px;
	padding: 10px 0;
	color: #676A6C;
	position: relative;
}

.prescription-icon {
	width: 40px;
	height: 40px;
	float: left;
}

.prescription-content {
	width: 84%;
	float: left;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
}

.prescription-title-container {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 5px;
}

.prescription-title {
	font-size: 15px;
	margin: 2px 0;
	font-weight: 400;
	flex: 1;
	min-width: 0;
}

.prescription-action {
	width: 20px;
	height: 20px;
	float: left;
}

.prescription-action .recipe-checkbox {
	width: 20px;
	height: 20px;
}

.prescription-description {
	font-size: 13px;
	color: #C2C2C2
}

/* Chrome, Safari, Edge, Opera */
.input-unlock::-webkit-outer-spin-button,
.input-unlock::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
.input-unlock {
  	-moz-appearance: textfield;
}

.input-unlock {
	width: 40px;
	height: 50px;
	display: inline-block;
	margin: 10px 10px 0 10px;
	text-align: center;
}

.table-dispense-items {
	width: 100%;
	margin-top: 20px;
}

.table-dispense-items th {
	font-weight: normal;
	padding-bottom: 5px;
	border-bottom: 1px solid #000;
}

.table-dispense-items td {
	font-size: 11px;
	padding: 6px 0px;
}

.card-signed-validator-info {
	padding: 0 15px;
	display: table-cell;
	vertical-align: middle
}

.card-signed-validator-info-qrcode {
	display: inline-block;
	vertical-align: middle;
}

.card-signed-validator-info-text {
	font-size: 11px;
	display: inline-block;
	margin-left: 10px;
	vertical-align: middle;
}

.card-signed-validator-info-text span {
	display: block;
}

/** --- loading fullScreen --- **/
.loader-fullscreen {
    width: 100%;
    height: 100%;
    background-repeat: repeat-y;
    overflow: auto;
    z-index: 99999;
    background: rgba(0, 0, 0 , .2);
    position: fixed;
    left: 0;
	top: 0;
	display: none;
}

.loader-fullscreen img {
    position: absolute;
    top: 45%;
    left: 43%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 50px;
    height: 50px;
}

@media screen and (min-width: 480px) {
	.loader-fullscreen img {
		top: 45%;
		left: 47%;
	}

	.section-code .search-box-web {
		display: block;
	}

	.section-code .search-box-mobile {
		display: none;
	}
}

/* Col-md lado a lado: mais espaço entre o texto explicativo e o input (Bootstrap md ≥992px). */
@media screen and (min-width: 992px) {
	.section-code .exemple-box {
		padding-right: 2.25rem;
	}

	.section-code .search-box-web {
		padding-left: 1.5rem;
	}
}

@media screen and (max-width: 480px) {
	.section-code {
		margin-top: 0;
	}

	.section-code .exemple-box {
		flex-direction: column;
		align-items: center;
	}

	.section-code .exemple-box img {
		float: none !important;
		display: block;
		margin: 0 auto;
	}

	.section-code .exemplo-info {
		display: none;
	}

	.section-code .search-box-web {
		display: none;
	}

	.section-code .search-box-mobile {
		display: block;
	}
}

@media screen and (max-width: 1024px) {
	.card-signed-validator-info-text {
		width: 86%;
	}
}

.swal2-popup {
	font-size: 1.3rem !important;
}

.text-ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.gmnoprint {
	display: none !important;
}


.confirm-cpf-numbers {
	width: 100%;
	height: 100%;
	background-repeat: repeat-y;
	overflow: auto;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.2);
	position: fixed;
	left: 0;
	top: 0;
}

.confirm-cpf-numbers-body {
	width: 250px;
	min-height: 100px;
	right: 0;
	left: 0;
	margin: 0 auto;
	top: 10%;
	background: #fff;
	box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	z-index: 999;
	border-radius: 16px;
	text-align: center;
}

.confirm-cpf-numbers-body {
	padding: 20px;
}

.confirm-cpf-numbers-body-title {
	margin-bottom: 0;
}

.confirm-cpf-numbers-body input:nth-child(1) {
	margin-left: 0;
}

.confirm-cpf-numbers-body input:nth-child(3) {
	margin-right: 0;
}

.confirm-cpf-numbers-body input {
	display: inline-block;
	border: 1px solid #e2e2e2;
	width: 40px;
	height: 50px;
	border-radius: 6px;
	margin: 15px 5px 10px 5px;
	text-align: center;
}

.confirm-cpf-numbers-body input::-webkit-outer-spin-button,
.confirm-cpf-numbers-body input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

button:disabled, button[disabled] {
	opacity: 0.5;
}

/* Firefox */
.confirm-cpf-numbers-body input[type="number"] {
	-moz-appearance: textfield;
}

.confirm-cpf-numbers-body-btn {
	float: left;
	text-align: center;
	border: none;
	display: block;
	padding: 10px 15px;
	border-radius: 6px;
	margin: 10px auto 0 auto;
}

.confirm-cpf-numbers-body-cancel {
	background-color: #dddddd;
	margin-right: 10px;
	margin-left: 30px;
}

.confirm-cpf-numbers-body-submit {
	background-color: #066fc8;
	color: #fff;
}

#download-pdf {
	cursor: pointer;
}

.grecaptcha-badge {
	visibility: hidden;
}

.prescription-badge-danger {
    background-color:#FFE6E6;
    color: #800D0D;
    padding: 0px 16px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
}

.prescription-badge-info {
    background-color: #D1ECF1;
    padding: 0px 16px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
}

.tooltip-container {
	padding: 3px;
	font-size: 12px;
	margin-bottom: 5px;
}

.continuous-use-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.toggle-input {
  display: none;
}

.toggle-label {
  width: 38px;
  height: 22px;
  background: #e3e8ee;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.toggle-label:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #0002;
  transition: left 0.2s;
}

.toggle-input:checked + .toggle-label {
  background: #2196f3;
}

.toggle-input:checked + .toggle-label:after {
  left: 19px;
}

.toggle-text {
  font-size: 15px;
  color: #23507a;
  font-weight: 500;
  user-select: none;
}

/* Custom tooltip styles */
.tooltip {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tooltip-inner {
  background-color: #333;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  max-width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tooltip.top .tooltip-arrow {
  border-top-color: #333;
}

.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #333;
}

.tooltip.left .tooltip-arrow {
  border-left-color: #333;
}

.tooltip.right .tooltip-arrow {
  border-right-color: #333;
}
