/* Reset and base styles  */

*
{
	margin: 0px;
	padding: 0px;
	border: none;
}

*,
*::before,
*::after
{
	box-sizing: border-box;
}

:focus,
:active
{
	/*outline: none;*/
}



/* Common */

html,
body
{
	width: 100%;
	height: 100%;
	
	padding: env(safe-area-inset);
}

aside,
nav,
footer,
header,
section,
main
{
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p
{
	font-size: inherit;
	font-weight: inherit;
}

ul,
ul li
{
	list-style: none;
}

img
{
	vertical-align: top;
}

img,
svg
{
	max-width: 100%;
	height: auto;
}

address
{
	font-style: normal;
}



/* Links */

a,
a:link,
a:visited
{
	/* color: inherit; */
	text-decoration: none;
	/* display: inline-block; */
}

a:hover
{
	/* color: inherit; */
	text-decoration: none;
}

a:focus,
a:active
{
	/* outline: none;*/
}



/* Form */

input,
textarea,
button,
select
{
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear
{
	display: none;
}

button,
input[type="submit"]
{
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active
{
	outline: none;
}

button::-moz-focus-inner
{
	padding: 0;
	border: 0;
}

label
{
	cursor: pointer;
}

legend
{
	display: block;
}



/*

body
{
	margin: 0;
}

*
{
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
}

p, li, ul, pre, div, h1, h2, h3, h4, h5, h6, figure, blockquote, figcaption
{
	margin: 0;
	padding: 0;
}

button
{
	background-color: transparent;
}

button, input, optgroup, select, textarea
{
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button, select
{
	text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"]
{
	-webkit-appearance: button;
}

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner
{
	border-style: none;
	padding: 0;
}

button:-moz-focus, [type="button"]:-moz-focus, [type="reset"]:-moz-focus, [type="submit"]:-moz-focus
{
	outline: 1px dotted ButtonText;
}

a
{
	color: inherit;  text-decoration: inherit;
}

input
{
	padding: 2px 4px;
}

img
{
	display: block;
}

*/