@font-face {
	font-family: 'SanofiSans';
	font-style: normal;
	src:
		url('../font/SanofiSans-Regular.otf'),
		url('../font/SanofiSans-Bold.otf'),
		url('../font/SanofiSans-BoldItalic.otf'),
		url('../font/SanofiSans-Italic.otf'),
		url('../font/SanofiSans-Light.otf'),
		url('../font/SanofiSans-LightItalic.otf');
}

* {
	padding: 0;
	margin: 0;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
	background: #7A00E6; 
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #7A00E6; 
}

body,
html {
	width: 100%;
	min-height: 100%;
}

body {
	background-repeat: no-repeat;
	background-size: 100% 100%;
	font-family: 'SanofiSans';
	font-size: 14px;
	color: #444;
	background: #fff;
}

body.login {
	background-color: #E8EBEF;
}

body.login #login-form-container {
	width: 50%;
	height: 100%;
	position: absolute;
	left: 0;
	top:0;
	z-index: 2;
}

body.login #login-form {
	width: 25vw;
	height: fit-content;
	position: absolute;
	left: calc(25vw - (25vw / 2));
	top:0;
	bottom: 0;
	margin: auto;
	background: #FCFCFC;
	box-shadow: 0px 1px 4px rgba(0, 0, 20, 0.1);
	border-radius: 10px;
}

body.login #login-form form[name=login] {
	/*display: none;*/
}

body.login #login-form form[name=login-setor] {
	display: none;
}

body.login #login-logo-container {
	width: 50%;
	height: 100%;
	position: absolute;
	right: 0;
	top:0;
	z-index: 0;
}

body.login #login-logo-container #logo {
	width: 98%;
	height: 98%;
	border-radius: 20px;
	background-color: #7A00E6;
	background-image: url('../img/logo_snp.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 15vw;
	position: absolute;
	top:0;
	bottom: 0;
	margin: auto;
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
	body.login #login-form {
		width: 80%;
		left: calc(10vw - (10vw / 2));
	}

	body.login #login-logo-container #logo {
		background-size: 25vw;
	}
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
	body.login #login-form-container {
		width: 100%;
		height: 50%;
		position: absolute;
		left: 0;
		top:0;
	}

	body.login #login-form {
		width: 50%;
		left: calc(50vw - (50vw / 2));
	}

	body.login #login-logo-container {
		width: 100%;
		height: 50%;
		position: absolute;
		right: 0;
		top: 50%;
	}

	body.login #login-logo-container #logo {
		left: 0;
		right: 0;
		background-size: 25vw;
	}
}

@media screen and (max-width: 550px) and (orientation: portrait) {
	body.login #login-form {
		width: 70%;
		left: calc(30vw - (30vw / 2));
	}

	body.login #login-logo-container #logo {
		background-size: 45vw;
	}
}

body.login form[name='login'] .btn,
body.login form[name='login-setor'] .btn {
	display: block;
	width: 100%;
}

body.login .btn.btn-acessar {
	text-align: left;
}

body.login .btn.btn-acessar::after {
	content: "\f285";
	font-family: bootstrap-icons !important;
	position: absolute;
	right: 60px;
}

a {
	color: #6200B8;
	text-decoration: none;
}

p.opaque {
	color: #ADB5BD;
}

small,
.small {
	font-size: 12px;
}

h1.no-mb,
h2.no-mb,
h3.no-mb,
h4.no-mb,
h5.no-mb,
h6.no-mb {
	margin-bottom: 0px !important;
}

.spinnerSanofi {
	width: 50px;
    height: 50px;
    border-width: 5px;
    color: #7A00E6;
}

.spinnerSanofi.small {
	width: 10px;
    height: 10px;
    border-width: 1px;
}

.text-purple {
	color: #7A00E6;
}

.btn {
	font-size: 15px;
}

.btn:disabled {
	pointer-events: initial;
    cursor: not-allowed !important;
}

.btn.btn-square {
	width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
}

.btn.btn-square i {
	line-height: 32px;
}

.btn.btn-sm.btn-square {
	width: 23px;
    height: 23px;
    line-height: 23px;
}

.btn.btn-sm.btn-square i {
	line-height: 26px;
	font-size: 13px;
}

.btn.flex-fill-width {
	width: 100% !important;
}

.btn.chevron-right::after {
	content: "\f285";
	font-family: bootstrap-icons !important;
	position: absolute;
	right: 60px;
}

.btn.btn-outline-secondary {
	border-color: #dee2e6;
	color: #212529;
}

.btn.btn-outline-secondary:hover{
	background-color: #ebeaea;
}

.btn.btn-purple {
	background-color: #7A00E6;
	color: #fff;
	border: #7A00E6 1px solid;
}

.btn.btn-outline-warning {
	color: #ED952D;
	border-color: #ED952D;
}

.btn.btn-info,
.btn.btn-warning,
.btn.btn-outline-warning:hover {
	color: #fff;
}

.btn.btn-outline-purple {
	background-color: none;
	border: #7A00E6 1px solid;
	color: #7A00E6;
}

.btn.btn-outline-purple:hover,
.btn.btn-outline-purple.loader {
	background-color: #7A00E6;
	color: #fff;
}

.btn.btn-purple-text {
	color: #6200B8;
}

.badge.badge-purple-text {
	color: #6200B8;
}

.badge.badge-purple {
	background-color: #6200B8;
	color: #fff;
}

.badge.badge-purple {
	background-color: #6200B8;
	color: #fff;
}

.badge[class*=badge-outline] {
	font-weight: normal;
}

.badge.badge-outline-purple {
	background-color: #C997F566;
	border: #7A00E6 1px solid;
	color: #7A00E6;
}

.badge.badge-outline-warning {
	background-color: #FFE3BB66;
	border: #ED952D 1px solid;
	color: #ED952D;
}

.badge.badge-outline-danger {
	background-color: #FDD;
	border: #DE2424 1px solid;
	color: #DE2424;
}

.badge.badge-outline-success {
	background-color: #DFD;
	border: #2ECF94 1px solid;
	color: #2ECF94;
}

.badge.badge-outline-secondary {
	background-color: #EEE;
	border: #AAA 1px solid;
	color: #AAA;
}

.badge.badge-outline-info {
	background-color: #adf;
	border: #0af 1px solid;
	color: #0af;
}

.sanofi-tooltip {
	--bs-tooltip-bg: #7A00E6;
	--bs-tooltip-color: #fff;
}

.sanofi-popover {
	--bs-popover-header-bg: #7A00E6;
	--bs-popover-header-color: #FFF;
	--bs-popover-border-color: #7A00E6;
}

.btn-group.btn-group-as-pill button:first-child {
	border-radius: 15px 0 0 15px !important;
}

.btn-group.btn-group-as-pill button:last-child {
	border-radius: 0 15px 15px 0 !important;
}

input.form-control {
	font-size: 15px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #7A00E6 !important;
    box-shadow: none !important;
    border-width: 2px;
}

input.form-control.danger,
select.form-select.danger,
textarea.form-control.danger,
.input-group.danger span.input-group-text,
.input-group.danger input.form-control,
.error {
	background-color: var(--bs-danger-bg-subtle);
	--bs-border-color: var(--bs-danger-border-subtle);
	color: var(--bs-danger-text);
}

.input-group.photoInputButton label {
	width: 70%;
}
.input-group.photoInputButton button {
	width: 30%;
}

@keyframes loadingAnimation {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.btn.loader {
	color: #fff0 !important;
	height: 40px;
}

.btn.loader::after {
	animation: loadingAnimation 1.5s linear infinite;
	content: "\f130" !important;
	font-family: bootstrap-icons !important;
	width: 100%;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	font-size: 20px;
	padding: 0 !important;
	position: relative !important;
	display: block;
	top: -21px !important;
	right: 2px !important;
}

.modal.modalSanofi.darkMode .modal-content {
	background-color: #212529;
}

.modal.modalSanofi .modal-header {
	border-bottom: none;
	font-weight: bold;
	font-size: 16px;
}

.modal.modalSanofi.darkMode .modal-header {
	color: #8AF1CB;
}

.modal.modalSanofi .modal-body {
	text-align: justify;
}

.modal.modalSanofi.darkMode .modal-body {
	color: #ccc;
}

.modal.modalSanofi .modal-footer {
	border-top: none;
}

.modal-backdrop {
	--bs-backdrop-opacity: none !important;
	background-color: #23004C7F !important;
	backdrop-filter: blur(6px) !important;
}

.modal-backdrop.menu-backdrop {
    z-index: 2 !important;
    display: none;
    transition: 300ms all ease;
}

.toast.text-bg-warning,
.toast.text-bg-info {
	color: #fff !important;
}

.btn.cancel::after {
	content: "\f2E6";
	font-family: bootstrap-icons !important;
	position: relative;
	top: 2px;
	right: -10px;
	padding-right: 10px;
}

.btn.refresh::after {
	content: "\f130";
	font-family: bootstrap-icons !important;
	position: relative;
	top: 2px;
	right: -10px;
	padding-right: 10px;
}

.btn .badge-on-button {
	position: absolute;
	padding: 2px;
	font-size: 15px;
	color: #fff;
	border-radius: 50%;
	margin-top: -30px;
    margin-left: 5px;
}

.btn .badge-on-button.exclamation {
	background-color: #DE2424;
}

.btn .badge-on-button.exclamation::after {
	content: "\f63c";
	font-family: bootstrap-icons !important;
	position: relative;
	display: block;
}

.btn .badge-on-button.checked {
	background-color: #198754;
}

.btn .badge-on-button.checked::after {
	content: "\F26E";
	font-family: bootstrap-icons !important;
	position: relative;
	display: block;
}
