html{
	text-size-adjust: 100%;
	-ms-text-size-adjust:100%;
	-webkit-text-size-adjust:100%;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	box-sizing:border-box;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
*,*:before,*:after{box-sizing:inherit}
body{
	margin:0;
	line-height: 1;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	counter-reset: counter;
}
html,body{
	font-family: "anago",Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 13px;
	line-height:1.3;
	font-weight: 400;
	color: var(--font)
}
h1,h2,h3,h4,h5,h6{margin:0 0 10px;line-height: 1}
h1{font-size:3rem}
h2{font-size:2rem;font-weight: 400;}
h3{font-size:2rem}
h4{font-size:1.5rem}
a{background-color:transparent}
a:active,a:hover{outline-width:0}
p{margin: 0 0 20px;font-size: 1.3rem;}
p:last-child{margin:0}
b,strong{font-weight:bolder}
button,input,select,textarea,optgroup{font:inherit;margin:0}
optgroup{font-weight:bold}
input{overflow:visible}
select{text-transform:none}
[type=checkbox],[type=radio]{padding:0}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
:root {
	--navh: 70px;
	--header: 80px;
    --lgrey: rgb(246, 250, 255);
    --grey: rgb(215, 222, 240);
    --dgrey: rgb(140, 155, 180);
    --brd: rgba(200,205,215);
    --font: rgb(35, 56, 96);
    --label: rgba(60, 80, 90, .7);
    --green: rgb(100, 209, 164);
	--dgreen: rgb(50, 170, 50);
    --blue: rgb(99, 172, 224);
    --red: rgb(247, 116, 116);
    --lred: rgb(255, 143, 135);
    --yellow: rgb(252, 238, 174);
}
html {
	color: var(--font);
}
body {
	height: 100svh;
}
/*========= FONTS ================*/
h1 {
	font-family: ff-tisa-sans-web-pro;
	font-weight: 700;
	letter-spacing: -1px;
}
h2 {
	font-family: "rufina",Book Antiqua,Palatino,Palatino Linotype,Palatino LT STD,Georgia,serif;
	color: var(--dgrey);
	font-style: italic;
}
a {
	color: var(--dgreen);
	text-decoration: none;
}
a:hover {
	color: var(--green);
	text-decoration: underline;
}
/*========= LAYOUT ===============*/
body > form {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	height: 100svh;
	background: var(--lgrey);
}
main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: calc(100svh - 300px);
	height: calc(100svh - 300px);
}
main > div {
	position: relative;
	padding-bottom: 20px;
}
header {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 80px;
	height: 80px;
	width: 100%;
}
footer {
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 0 20px;
	background: #F5F5F6;
	border-top: 1px solid var(--brd);
}
nav {
	display: flex;
	align-items: flex-end;
	padding: 20px 0 0;
	min-height: var(--navh);
}
.logo {
	position: relative;
	top: -20px;
	left: -10px;
	display: flex;
	align-items: center;
	font-size: 2rem;
	width: var(--lcol);
	min-width: var(--lcol);
	padding-left: 10px;
	color: var(--font);
}
.logo:hover {
	text-decoration: none;
}
.logo svg {
	height: 40px;
	min-width: 50px;
}
dialog {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(100svh - var(--navh) - var(--header));
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}
/*============= INPUTS =================== */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #F5F5F6 inset !important;
}

input, textarea, select {
	border: 1px solid var(--brd);
	font-size: 1rem;
	background: #F5F5F6;
	display: block;
	height: 46px;
	padding: 6px 11px;
	border-radius: 3px;
	width: 100%;
	margin: 0;
}
textarea {
	height: auto;
	min-height: 90px;
}
select {width: auto;min-width: 90px;}

label {
	display: block;
	font-size: 1rem;
	color: var(--green);
}
input[type='checkbox'] + label {
	margin-top: 12px;
	margin-left: 3px;
}
fieldset {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	padding: 30px 26px 26px;
	margin: 0 0 10px;
	border: 3px solid var(--green);
	border-radius: 11px;
	min-width: 320px;
	width: 320px;
	max-width: 100%;
	background: white;
}
fieldset + .error {
	position: absolute;
	left: 16px;
	bottom: 0;
	display: block;
	font-weight: 900;
	color: var(--red);
}
fieldset > h3 {
	background: var(--lgrey);
	position: absolute;
	left: 15px;
	top: -12px;
	display: block;
	padding: 3px 5px;
	font-size: 1.3rem;
}
fieldset > h3 > span {
	position: relative;
	z-index: 2;
}
fieldset > h3:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	height: 10px;
	background:white;
	z-index: 1;
}
fieldset > div {
	position: relative;
	padding-top: 18px;
}
fieldset > div label {
	position: absolute;
	height: 18px;
	transition: color .6s ease, left .3s ease, top .3s ease;
	pointer-events: none;
}
input:not(:placeholder-shown) + label, input:-internal-autofill-selected + label {
	left: 0;
	top: 0;
	color: var(--green);
	font-weight: 900;
}
input:placeholder-shown + label {
  left: 12px;
  top: 33px; 
  color: var(--dgrey);
  font-weight: 400;
}
input:focus + label {
	left: 0;
	top: 0;
	color: var(--green);
	font-weight: 900;
}
input:focus {
	border-color: var(--font);
	outline: 1px solid var(--font) !important;
}
.flex {display: flex}
.grow {flex-grow: 1}
.hidden{display: none !important}
/* ================== INPUTS =================== */
.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 24px;
	min-width: 75px;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 4px;
	background: var(--font);
	border: 1px solid var(--font);
	text-decoration: none;
	color: white;
	cursor: pointer;
	white-space: nowrap;
	min-width: 120px;
}
fieldset .btn {
	background: var(--font);
	color: white;
}
.btn:hover {
	background: var(--green);
	border-color: var(--green);
	color: white;
	text-decoration: none;
}
.btn.green {
	background: var(--green);
	border: 1px solid var(--green);
	color: white;
}
.btn.green:hover {
	background: var(--red);
	border: 1px solid var(--red);
}
.btn.red {
	background: var(--red);
	border: 1px solid var(--red);
	color: white;
}
.btn.red:hover {
	background: var(--green);
	border-color: var(--green)
}
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background: var(--lgrey);
    background: var(--grey);
}

::-webkit-scrollbar-thumb {
    background: var(--green);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}
@media screen and (max-width:1300px) {
	
}
@media (orientation:portrait) and (max-width:1100px), screen and (max-width:1100px)  {
  
   
}
@media (orientation:landscape) and (max-width: 1100px){

}

@media screen and (max-width:800px) {
	
	
}
@media screen and (max-width:600px) {
 
}