@font-face{
	font-family: "Britanica";
	src: url('/css/fonts/Britanica.woff'),
	url('/css/fonts/Britanica.woff'); /* IE */
}

@font-face{
	font-family: "BritanicaNew";
	src: url('/css/fonts/Britanicanew.woff'),
	url('/css/fonts/Britanicanew.woff'); /* IE */
}

@font-face{
	font-family: "Sloan";
	src: url('/css/fonts/Sloan.woff'),
	url('/css/fonts/Sloan.woff'); /* IE */
}

@font-face{
	font-family: "SloanVanish";
	src: url('/css/fonts/SloanVanish.woff'),
	url('/css/fonts/SloanVanish.woff'); /* IE */
}

@font-face{
	font-family: "Snellen";
	src: url('/css/fonts/Snellen.woff'),
	url('/css/fonts/Snellen.woff'); /* IE */
}

@font-face{
	font-family: "Numeros";
	src: url('/css/fonts/Numeros.woff'),
	url('/css/fonts/Numeros.woff'); /* IE */
}

@font-face{
	font-family: "NumerosR";
	src: url('/css/fonts/NumerosR.woff'),
	url('/css/fonts/NumerosR.woff'); /* IE */
}

@font-face{
	font-family: "Landolt";
	src: url('/css/fonts/Landolt.woff'),
	url('/css/fonts/Landolt.woff'); /* IE */
}

@font-face{
	font-family: "Gafas";
	src: url('/css/fonts/Caras4.woff'),
	url('/css/fonts/Caras4.woff'); /* IE */
}

@font-face{
	font-family: "Gafas3";
	src: url('/css/fonts/Caras3.woff'),
	url('/css/fonts/Caras3.woff'); /* IE */
}

@font-face{
	font-family: "Gafas2";
	src: url('/css/fonts/Caras2.woff'),
	url('/css/fonts/Caras2.woff'); /* IE */
}

@font-face{
	font-family: "Calibri";
	src: url('/css/fonts/Calibri.woff'),
	url('/css/fonts/Calibri.woff'); /* IE */
}

@font-face{
	font-family: "LandoltVanish";
	src: url('/css/fonts/LandoltVanish.woff'),
	url('/css/fonts/LandoltVanish.woff'); /* IE */
}

@font-face{
	font-family: "SnellenVanish";
	src: url('/css/fonts/SnellenVanish.woff'),
	url('/css/fonts/SnellenVanish.woff'); /* IE */
}

@font-face{
	font-family: "BritanicaVanish";
	src: url('/css/fonts/BritanicaVanish.woff'),
	url('/css/fonts/BritanicaVanish.woff'); /* IE */
}

/* cyrillic-ext */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta1.woff2) format('woff2');
	unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta2.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta3.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta4.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta1.woff2) format('woff2');
	unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta2.woff2) format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta3.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/css/fonts/jakarta/jakarta4.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body{
	--notch-size: 0px;
}

html, body{
	margin: 0;
	padding: 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: #333;
	width: 100vw;
	height: 100%;
	overflow-x: hidden;
}

body.iosapp.portrait{
	margin-top: max(calc(env(safe-area-inset-top) - 10px), 0px);
}

body.iosapp.landscape{
	margin-top: env(safe-area-inset-top);
}

/* MUI custom styles */
.MuiTabs-scrollButtons.Mui-disabled{
	display: none!important;
}

.hidden-number-arrows input[type="number"]::-webkit-outer-spin-button, .hidden-number-arrows input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hidden-number-arrows input[type="number"]{
	-moz-appearance: textfield;
}
.hidden-number-arrows input[type="number"]:hover,
.hidden-number-arrows input[type="number"]:focus {
	-moz-appearance: number-input;
}

h2{
	color: #01C0C8;
	margin-bottom: 30px;
}

.rotation-component{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1000000;
	background-color: #1a1a1a;
	color: white;
	font-size: 3em;
}

.highlighted{
	border-bottom: 2px solid #0f4ca2 !important;
	margin-bottom: 2px !important;
}

.rotation-component p{
	font-size: 1.2rem;
}

.rotation-ios-16-fixed, .rotation-ios-16-fixed body{
	background: rgb(26, 26, 26)!important;
}

.rotation-ios-16-fixed-portrait{
	width: 100vh!important;
}

.rotation-ios-16-fixed-portrait .rotation-component{
	width: 100vh!important;
	overflow-x: hidden!important;
}

.rotation-ios-16-fixed-portrait .phone .rotation-component{
	font-size: 0.75em!important;
}

.rotation-ios-16-fixed-landscape .phone .rotation-component{
	font-size: 2em!important;
}

.rotation-ios-16-fixed-portrait .phone .rotation-component img{
	max-width: 80vw!important;
}

.rotation-ios-16-fixed-landscape .phone .rotation-component img{
	max-height: 60vh!important;
}

.rotation-ios-16-fixed-landscape{
	height: 100vw!important;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.hidden{
	display: none!important;
}

.opacity-hidden{
	opacity: 0!important;
}

canvas:not(.react-pdf__Page__canvas, .webrtc-preview canvas){
	touch-action: none !important;
	font-family: Sloan;
	line-height: 1px!important;
}

canvas.optonet-test{
	image-rendering: pixelated!important;
}

.center{
	text-align: center;
}

.right{
	text-align: right;
}

.vertical-center {
	min-height: 100%;  /* Fallback for vh unit */
	min-height: 100vh; /* You might also want to use
                        'height' property instead.

                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.

                        In this case the parent of '.vertical-center'
                        is the <body> element */

	/* Make it a flex container */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	/* Align the bootstrap's container vertically */
	-webkit-box-align : center;
	-webkit-align-items : center;
	-moz-box-align : center;
	-ms-flex-align : center;
	align-items : center;

	/* In legacy web browsers such as Firefox 9
	   we need to specify the width of the flex container */
	width: 100vw;

	/* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
	   hence the bootstrap's container won't be aligned to the center anymore.

	   Therefore, we should use the following declarations to get it centered again */
	-webkit-box-pack : center;
	-moz-box-pack : center;
	-ms-flex-pack : center;
	-webkit-justify-content : center;
	justify-content : center;
}

.vertical-center-nowidth {
	min-height: 100%;  /* Fallback for vh unit */
	min-height: 100vh; /* You might also want to use
                        'height' property instead.

                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.

                        In this case the parent of '.vertical-center'
                        is the <body> element */

	/* Make it a flex container */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	/* Align the bootstrap's container vertically */
	-webkit-box-align : center;
	-webkit-align-items : center;
	-moz-box-align : center;
	-ms-flex-align : center;
	align-items : center;

	/* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
	   hence the bootstrap's container won't be aligned to the center anymore.

	   Therefore, we should use the following declarations to get it centered again */
	-webkit-box-pack : center;
	-moz-box-pack : center;
	-ms-flex-pack : center;
	-webkit-justify-content : center;
	justify-content : center;
}

.absolute-center {
	margin: auto;
	position: absolute;
	top: 50%;
	left: 0;
	bottom: 50%;
	right: 0;
}

.container-test-header{
	position: absolute;
	z-index: 1301;
}

.container-test{
	width: 100%;
	height:100%;
	margin: 0;
	padding: 0;
	text-align: center;
	background-color: white;
}

.container-test canvas{
	display: block;
	background-color: white;
}

.progress-modal{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.36);
	z-index: 1000;
}

.progress-modal > div{
	height: 5px!important;
}


.test-info-left-top{
	position: fixed;
	z-index: 1000;
	top: 7px!important;
	left: 50px;
}

.test-info-right-top{
	position: fixed;
	z-index: 1000;
	top: 7px!important;
	right: calc(var(--right-menu-size) + 10px);
	text-align: right;
	max-width: calc(100% - var(--right-menu-size) - 10px)!important;
}

.test-info-top{
	position: fixed;
	z-index: 1000;
	top: 10px;
	left: 0;
	width: calc(100% - var(--right-menu-size) - 10px)!important;
	max-height: 64px;
}

.test-info-bottom{
	position: fixed;
	z-index: 1000;
	bottom: 10px;
	left: 2px;
	width: 100%;
	max-height: 65px;
}

.phone .test-info-bottom{
	width: calc(100% - 10px);
}

.test-info-bottom .MuiGrid2-direction-xs-row:last-child {
	padding-right: 10px;
}

.test-info-top-distance{
	position: fixed;
	left: calc(var(--left-menu-size) + 10px);
	right: calc(var(--right-menu-size) + 10px);
	top: 7px;
	z-index: 99;
}

.iosapp .test-info-top-distance, .androidapp .test-info-top-distance, .mobile .test-info-top-distance{
	left: 0px!important;
}

.MuiTabs-scrollButtons {
	display: block;
}

*, *:focus, *:hover{
	outline:none;
}

.canvas-wrapper {
	position: relative;
}

.test-toolbar-parent{
	text-align: center;
	width: 0px;
	height: 0px;
}

.test-toolbar-parent > .MuiBackdrop-root{
	background-color: transparent!important;
}

.test-toolbar-item[disabled]{
	opacity: 0.5;
}

.test-toolbar-item img{
	margin: 4px!important;
	width: 44px!important;
	height: 44px!important;
}

.scaled-desktop .test-toolbar-item img{
	margin: 3px!important;
	width: 36px!important;
	height: 36px!important;
}

.test-toolbar-item-overflow > div > div {
	left: 0px!important;
	padding: 0 5px!important;
}

.test-toolbar-container{
	padding-top: 15px;
	padding-bottom: 10px;
}

.test-toolbar-container-remote .test-toolbar-tooltip-wrapper {
	width: fit-content;
	display: inline-block;
}

.test-toolbar-container-remote{
	display: block!important;
	padding-top: 15px!important;
	padding-bottom: 5px!important;
}

.test-toolbar-container-remote .test-toolbar-item{
	justify-content: start!important;
}

.test-toolbar-notch .test-toolbar-item {
	margin-top: 8px;
	margin-bottom: 8px;
}

.no-overflow{
	overflow: hidden!important;
}

.config-slider > div{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.optonet-calibration{
	image-rendering: optimizeSpeed;             /* Older versions of FF          */
	image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
	image-rendering: -webkit-optimize-contrast; /* Safari                        */
	image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
	image-rendering: pixelated;                 /* Awesome future-browsers       */
	-ms-interpolation-mode: nearest-neighbor;   /* IE                            */
}

.iosapp .optonet-calibration > canvas {
	image-rendering: pixelated!important;
	image-rendering: crisp-edges!important;
}

.canvas-col{
	padding-right: 40px!important;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.capitalize{
	text-transform: capitalize;
}

hr {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}

.MuiStepButton-root.Mui-disabled{
	pointer-events: unset!important;
	cursor: not-allowed!important;
}

.text-blink {
	animation-duration: 1s;
	animation-name: text-blink;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}
@keyframes text-blink {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.video-verify{
	display: block;
	width: 16vw;
	height: 9vh;
}

.patient-answer{
	position: absolute;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	width: 100vw;
	height: 100vh;
	overflow: auto;
	background: white;
	font-size: 3em;
}

.patient-answer > div{
	margin-top: 0!important;
	margin-bottom: 0!important;
	min-height: 100vh!important;
	padding: 0!important;
}

.answer-simetrica{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	flex: 25;
}

.answer-simetrica > span{
	line-height: 100%;
	margin-right: 0px !important;
	margin-top: 20px;
	margin-bottom: 20px;
}

.camera-black-box{
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1300;
	background: black;
}

.camera-black-box > *{
	text-align: center;
	color: white;
	vertical-align: middle;
	position: absolute;
	left: 0;
	right: 0;
	top: 20%;
}

#app{
	width: 100vw!important;
	height: 100vh!important;
}

.ishihara-results{
	padding-bottom: 50px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1200;
	width: 100vw;
	height: 100vh;
	background: white;
	overflow-y: auto;
}

.scaled-desktop .MuiStack-root:not(.login-subactions){
	margin-top: 12px!important;
}

.scaled-desktop .MuiCardContent-root{
	padding-top: 12px!important;
}

.scaled-desktop .breadcumb{
	margin-top: 15px!important;
}

.scaled-desktop .MuiBreadcrumbs-root{
	display: none;
}

.scaled-desktop .base-page-item{
	padding-left: 12px!important;
}

.js-plotly-plot > .plot-container.plotly > .svg-container{
	margin: 0 auto;
}

.farnsworth-summary{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
	width: calc(50% - var(--right-menu-size));
	position: absolute;
	right: var(--right-menu-size);
	top: 50px;
	min-height: 0vh!important;
}

@media only screen and (max-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.1) and (orientation:landscape) {
	.scaled-desktop .farnsworth-summary {
		width: calc(60% - var(--right-menu-size))!important;
		font-size: 0.6rem;
	}
}

.mobile .farnsworth-summary, .phone .farnsworth-summary{
	top: 0px;
	font-size: 0.6rem;
}

.mobile .colorbox, .phone .colorbox{
	padding-top: 0px!important;
	margin-top: -20px;
}

.farnsworth-summary table{
	text-align: center;
	border: 1px solid;
}

.farnsworth-summary td, .farnsworth-summary th{
	border: 1px solid;
	padding: 10px;
	width: 14.28%;
	text-align: center;
}

.js-plotly-plot{
	width: 50%;
	border-radius: 10px;
	margin-top: 0px;
	margin-left: 0px;

}

.phone .js-plotly-plot{
	margin-top: -60px;
}

.phone .js-plotly-plot .legend{
	transform: translateY(85%);
}

.farnsworth-summary th{
	background-color: #ecf7ff;
}

.farnsworth-summary td:nth-child(2), .farnsworth-summary td:nth-child(3), .farnsworth-summary td:nth-child(5), .farnsworth-summary td:nth-child(7) {
	border-bottom: 0px!important;
	border-top: 0px!important;
}

.farnsworth-summary td:nth-child(3){
	background-color: #b0ffcc;
	font-weight: bold;
}

.custom-scrollbar *::-webkit-scrollbar{
	width: 5px;
	-webkit-overflow-scrolling: auto;
	overflow-scrolling: auto;
}

.custom-scrollbar *::-webkit-scrollbar-track {
	background: transparent;
}

.custom-scrollbar *::-webkit-scrollbar-thumb {
	background: rgb(196, 196, 198);
	border-radius: 7px;
}
.custom-scrollbar *::-webkit-scrollbar-thumb:hover {
	background: rgb(196, 196, 198);
	border-radius: 7px;
}

.custom-scrollbar-x *::-webkit-scrollbar{
	height: 5px;
	-webkit-overflow-scrolling: auto;
	overflow-scrolling: auto;
}

.custom-scrollbar-x *::-webkit-scrollbar-track {
	background: transparent;
}

.custom-scrollbar-x *::-webkit-scrollbar-thumb {
	background: rgb(196, 196, 198);
	border-radius: 7px;
}
.custom-scrollbar-x *::-webkit-scrollbar-thumb:hover {
	background: rgb(196, 196, 198);
	border-radius: 7px;
}

#font-loader{
	width: 1px;
	height: 1px;
	z-index: 1;
	position: absolute;
	top: 0px;
	left: 0px;
	color: rgba(0,0,0,0);
	visibility: hidden;
}

.unload{
	display: none;
}

.pairingResponseSelected, .response-keyboard .hg-button[data-pairingResponseSelected="true"]{
	background: #fff0c2!important;
}

.response-keyboard{
	text-transform: uppercase;
}

.response-keyboard.keyboard-letter{
	font-size: 9vw;
}

.response-keyboard.keyboard-numeric{
	font-size: 27vh;
}

.response-keyboard.keyboard-height-snellen{
	font-size: 12vh;
}

.response-keyboard.keyboard-height-landolt{
	font-size: 10vh;
}

.response-keyboard .hg-theme-default .hg-button{
	width: auto!important;
	height: auto!important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: unset;
	margin: 5px !important;
	padding: 5px 1.1vw;
	min-width: 8vw;
}

.response-keyboard.keyboard-height .hg-theme-default .hg-row{
	flex-direction: column;
}

.response-keyboard.keyboard-letter .hg-theme-default .hg-row{
	min-height: 25vh;
}

.response-keyboard.keyboard-numeric .hg-theme-default .hg-row{
	min-height: 33vh;
}

.response-keyboard .hg-theme-default{
	font-family: inherit;
}

.response-keyboard.keyboard-numeric .hg-theme-default .hg-button{
	padding: 5px 3vw;
}

.response-keyboard.keyboard-height .hg-theme-default .hg-button{
	justify-content: flex-start;
	padding: 5px 5vw;
	min-height: 15vh;
}

.response-keyboard .hg-theme-default .hg-row{
	display: flex;
	justify-content: center;
}

.response-keyboard .keyboard-suffix{
	font-family: 'Arial';
	font-size: 6vh;
	margin-left: 10%;
}

.keyboard-undo{
	width: 15.5em!important;
	height: 15.5em!important;
}

.keyboard-undo span.material-icons {
	font-size: 5.5em !important;
}

.keyboard-undo img{
	height: 3.5em!important;
	width: 3.5em!important;
	padding: 1em;
}