@import 'normalize.css';

:root {
	--mainColor: #00b4ff; /* light blue */
	--mainNeutral: #131631; /* dark blue/black */
	--lighterNeutral: #65676a; /* light gray */

	--borderMain: 1px solid var(--mainNeutral);

	--maxContentWidth: 40rem;
	--instructionsPaddingB: 40px;
	--fontWeight: 200;
}

/* android */
@supports not (-webkit-touch-callout: none) {
	@media (max-width: 800px) {
		:root {
			--fontWeight: 300;
		}
	}
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
	font-size: 1.2rem;
	font-weight: var(--fontWeight);
	line-height: 1.3;
	color: var(--mainNeutral);
}

h1,
h2,
h2,
h3,
h4,
h5 {
	font-weight: var(--fontWeight);
	margin-bottom: 0.6rem;
}

h1 {
	font-size: 1.6rem;
	margin-top: 1.2rem;
}

h2 {
	font-size: 1.5rem;
	margin-top: 1.1rem;
}

h3 {
	font-size: 1.4rem;
	margin-top: 1rem;
}

h4 {
	font-size: 1.3rem;
	margin-top: 0.9rem;
}

h5 {
	font-size: 1.2rem;
	margin-top: 0.8rem;
}

not:input[type='submit'] a,
not:input[type='button'] a,
not:button[type='button'] a,
.not:button a {
	color: var(--mainColor);
	text-decoration: none;
}

.header,
.footer {
	min-height: 2rem;
	width: 100%;
}

.buttonText {
	margin-top: 1px;
}

input[type='submit'],
input[type='button'],
button[type='button'],
.button,
.buttonOutline {
	color: var(--mainNeutral);
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
	min-height: 1.6rem;
	padding: 1rem 1.5rem;
	border-radius: 5rem;
	background-color: white;
	border: var(--borderMain);
	-webkit-transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s, -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	position: relative;
	-ms-flex-preferred-size: 120px;
	    flex-basis: 120px;
	text-transform: uppercase;
	font-weight: var(--fontWeight);
	font-size: 1.2rem;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.button:disabled {
	opacity: 0.2;
}

.buttonOutline {
	background-color: transparent;
}

.button-size-small {
	min-height: 1rem;
	font-size: 1rem;
	padding: 0.5rem 1rem;
}

input[type='submit']:hover:enabled,
input[type='button']:hover:enabled,
button[type='button']:hover:enabled,
.button:hover:enabled {
	-webkit-box-shadow: 0 1px 0 var(--mainNeutral);
	        box-shadow: 0 1px 0 var(--mainNeutral);
	-webkit-transform: translate(0, -1px);
	        transform: translate(0, -1px);
	-webkit-transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s, -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
}

input[type='submit']:active,
input[type='button']:active,
button[type='button']:active,
.button:active {
	-webkit-box-shadow: none;
	        box-shadow: none;
	-webkit-transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s;
	transition: box-shadow 0.2s, transform 0.2s, -webkit-box-shadow 0.2s, -webkit-transform 0.2s;
	-webkit-transform: translate(0, 1px);
	        transform: translate(0, 1px);
}

input[type='submit']:focus,
input[type='button']:focus,
button[type='button']:focus,
.button:focus {
	outline: none;
}

.buttonIcon {
	margin-left: 1rem;
}

[dir='rtl'] .buttonIcon {
	margin-right: 1rem;
	margin-left: 0;
	-webkit-transform: rotate(180deg);
	        transform: rotate(180deg);
}

.twoColumnsContent {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.contentBlock {
	padding: 1rem 0;
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.contentBlock:not(:last-of-type) {
	border-bottom: var(--borderMain);
}

.instructionsHeader {
	width: 100%;
	margin-top: 3rem;
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

.instructionsCancelBtn {
	margin-right: 1rem;
}

.instructionsContent {
	-webkit-box-flex: 2;
	    -ms-flex-positive: 2;
	        flex-grow: 2;
	max-width: var(--maxContentWidth);
	padding-bottom: var(--instructionsPaddingB);
}

.instructionsText {
	font-size: 1.6rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.instructionsIcon {
	height: 3.5rem;
}

.instructionsButtonsContainer {
	min-height: 58px;
}

/* override styles of elements that are hardcoded in localizations */
#install center,
#installing center,
#reinstall center {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#reinstall + span {
	margin-bottom: 1rem;
}

#reinstall + span > a {
	font-size: 1rem;
}

@media (min-width: 800px) {
	.twoColumnsContent {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
	}

	.contentBlock {
		max-width: calc(50% - 4rem);
	}

	.contentBlock:not(:last-of-type) {
		border-bottom: unset;
		padding-bottom: unset;
	}

	.contentBlock:first-of-type {
		margin-right: 4rem;
	}
}

@media (max-width: 500px) {
	body,
	input[type='submit'],
	input[type='button'],
	button[type='button'],
	.button {
		font-size: 1.1rem;
		line-height: 1.2;
	}

	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.4rem;
		margin-top: 1.1rem;
	}

	h3 {
		font-size: 1.3rem;
		margin-top: 1rem;
	}

	h4 {
		font-size: 1.2rem;
	}

	h5 {
		font-size: 1.1rem;
		margin-top: 0.8rem;
		color: var(--mainNeutral);
	}

	.instructionsCancelBtn {
		margin-bottom: 1rem;
	}
}

.mainTitle {
	font-size: 2rem;
	max-width: 26rem;
	margin-top: 1.6rem;
	margin-bottom: 2rem;
}

.marginVerticalAuto {
	margin-top: auto;
	margin-bottom: auto;
}

.marginAuto {
	margin: auto;
}

.height100vh {
	height: 100vh;
}

.flexColumn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.flexCenter {
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.innerContainer {
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	max-width: var(--maxContentWidth);
	margin: auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.fullWidthContainer {
	height: 100%;
	display: grid;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.invert {
	background: var(--mainNeutral);
	color: white;
	border-color: white;
}

.footer {
	padding: 0.8rem 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	margin: 0;
	font-size: 0.9rem;
}

.footerInnerContainer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
}

.privacyLink {
	color: white;
	margin-left: auto;
}

/* personal overrides */
.instextsteps h1 {
	margin-bottom: 1.4rem;
}

.instextsteps input[type='submit'],
.instextsteps input[type='button'],
.instextsteps button[type='button'],
.instextsteps .button {
	background-image: url(/img/vector/arrow-right.svg);
	background-position-y: center;
	background-repeat: no-repeat;
	background-position-x: calc(100% - 1.5rem);
	padding-right: 4.3rem;
}

.instextsteps h1,
.instextsteps h2,
.instextsteps h3,
.instextsteps .i2-info-content {
	font-size: 1.5rem;
	margin-top: 1.1rem;
}

@media (max-width: 500px) {
	.instextsteps h1,
	.instextsteps h2,
	.instextsteps h3 {
		font-size: 1.4rem;
		margin-top: 1.1rem;
	}
}
/* personal overrides */
