body {
	background: #4a4c54;
	margin: 0; 
	color: rgba(0, 0, 0, 0.87);
	font-size: 1rem;
	font-weight: 400;
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
	line-height: 1.5em;
	/*user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;*/
}

#root {
	background: #585b65;
}

.appcontainer:empty,
#root:empty {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.appcontainer:empty::after ,
#root:empty::after {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 19px);
	left: calc(50% - 82px);
	width: 165px;
	height: 35px;
	background: url(assets/images/runsaklogoclear.svg) no-repeat;
	background-size: contain;
}

#root:not(:empty) {
	margin-top: 64px;
}

.appcontainer {
	position: inherit;
}

.appcontainer > main {
	display: flex;
    flex-flow: column;
    /* overflow: hidden; */
    align-content: start;
    margin-top: 56px;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.app-header {
	background-color: #000927;
    position: fixed;
	z-index: 9;
	top: 0;
}

.app-header-row {
	max-width: 1200px;
}

.app-header-row button {
	color: #eee; 	
}
.app-header-row button.Mui-selected {
	color: #a0bfea;
}
.app-header-logo {
	position: relative;
	top: 2px;
}

.app-header-logo img {
	width: 134px;
	cursor: pointer; 
	position: relative;
	top: -1px;
}

.breadcrumbs {
	background: #4d6588;
}
.breadcrumbs nav {
	max-width: 1200px;
    margin: auto;
    color: #f1f1f1;
    padding: 4px 20px;
    box-sizing: border-box;
}

.site-footer {
	background: #4a4c54;
	padding: 36px 0;
}

.site-footer .columns  {
	padding: 0 58px;
    margin: 0 auto;
	width: 100%;
	max-width: 1100px;
	color: #939394;
	display: flex;
	box-sizing: border-box;
}

.site-footer .columns  div {
	flex-basis: 33%;
    flex: 0 0 33%;
}
.site-footer .columns  div:nth-child(2) {
	text-align: center;
}
.site-footer .columns  div:last-child {
	text-align: right;
}

.page-main  {
	min-height: 300px;
}
.page-main:empty::after {
	content: 'Loading...';
    display: block;
    position: absolute;
    top: calc(50%);
    left: 0;
    width: 100%;
    text-align: center;
    color: #bbb8b8;
}

@media (max-width: 600px) {
	.site-footer {
		padding: 24px 0
	}
	.site-footer .columns  {
		display: block;
		line-height: 1.2;
		padding: 0 58px;
	}
	.site-footer .columns  div:nth-child(2) {
		margin: 12px 0;
	}
	.site-footer .columns  div:first-child,
	.site-footer .columns  div:last-child {
		text-align: center;
	}
}
@media (max-width: 1024px) {
	#root:not(:empty) {
		margin-top: 56px;
	}
	.app-header-logo img {
		width: 116px; 
		top: -2px;
	}
}




/*------------------------------------------------------------------
PAGES
-------------------------------------------------------------------*/


.pages > div {
	width: 100%;
	max-width: 1400px;
    margin: 0 auto;
}

.card-wrapper {
	max-width: 800px;
	margin: auto;
	padding-bottom: 12px;
}

.card-wrapper .card {
	margin: 12px;
}

.card-wrapper > h2 {
    color: #f1f1f1;
    margin: 18px 24px 12px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inside-float-image {
	float: left;
	width: 120px; 
	margin: 24px 18px 24px 0;
	border-radius: 4px;
}

.hero-image {
	height: 230px;
    width: 100%;
	margin: 0 auto -45px;
	position: relative;
	background: #383a40;
}
.hero-image div {
	width: 100%;
	height: 100%;
    background: url(assets/images/home.jpg);
	background-size: cover;
	margin: auto;
	background-position-x: right;
    max-width: 1200px;
	background-position-y: 50%;
}
.hero-image.about div {
	background-image: url(assets/images/about.jpg);
}
.hero-image.run div {
	background-image: url(assets/images/run.jpg);
}
.hero-image.settings div {
	background-image: url(assets/images/settings.jpg);
}
.hero-image.challenge div {
	background-image: url(assets/images/himagew.jpg);
}
.hero-image.home div {
	background-position-x: left;
	max-width: inherit;
}
.hero-image.home > span {
	width: 100%;
    height: calc(100% - 35px);
    left: 0;
    top: 0;
    padding: 4%;
    box-sizing: border-box;
	position: absolute;
	overflow: hidden;
}
.hero-image.home > span > span {
	width: 100%;
    height: 100%;
    background-image: url(assets/images/home-text-1.svg);
    background-size: contain;
    margin: auto;
    background-position-x: 80%;
    max-width: 900px;
    background-position-y: 50%;
    display: block;
    background-repeat: no-repeat;
    top: 0;
	animation: home-text-in 10s ease forwards;
}

.hero-image.home.image-1 > span > span {
    background-image: url(assets/images/home-text-1.svg);
}
.hero-image.home.image-2 > span > span {
    background-image: url(assets/images/home-text-2.svg);
}
.hero-image.home.image-3 > span > span {
    background-image: url(assets/images/home-text-3.svg);
}

@keyframes home-text-in {
	0% {
		opacity: 0;
		xfilter: blur(1px);
		transform: translateY(-4px);
	} 
	5% {
		opacity: 1;
	} 
	10% {
		opacity: 1;
		xfilter: blur(0px);
		transform: translateY(0px);
	}
	92% {
		opacity: 1;
		xfilter: blur(0px);
		transform: translateY(0px);
	}
	95% {
		opacity: 0.3;
		xfilter: blur(5px);

	}
	98% {
		opacity: 0;
		xfilter: blur(7px);
	}
	100% {
		opacity: 0;
		transform: translateY(-20px);
	}
}



.hero-image.run {
	margin-bottom: -125px;
}
.hero-image.about {
	margin-bottom: -230px;
}

.two-cards {
	margin: 12px;
}

.offer-sum {
    background: #4d6588;
	border-radius: 4px;
	cursor: pointer;
}

.offer-sum ul {
    padding: 24px;
    text-align: center;
    color: #fff;
	line-height: 1;
	margin: 0;
	padding: 24px;
	list-style: none;
}
.offer-sum ul li {
	text-align: center;
	padding: 4px;

}
.offer-sum ul li:nth-child(even) {
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 2px;
}
.offer-sum ul li:nth-child(odd) {
    font-size: 16px;
	letter-spacing: 1px;
	padding-bottom: 5px;
}

@media (min-width: 400px) {
	.hero-image {
		height: 300px;
	}
	.card-wrapper .card {
		margin: 24px;
	}
	.card-wrapper > h2 {
		margin: 12px 36px -12px;
	}
	.inside-float-image {
		width: 160px; 
	}

}
@media (min-width: 600px) {
	.two-cards {
		display: flex;
		margin: 24px;
	}
	.two-cards .card {
		flex-basis: calc(50% - 12px);
		flex: 0 0 calc(50% - 12px);
		margin: 0;
	}
	.two-cards .card:first-child {
		margin-right: 24px;
	}
}
@media (min-width: 800px) {
	.hero-image {
		height: 350px;
	}
	.hero-image.home > span {
		padding: 36px;
	}
}
@media (min-width: 1100px) {
	.hero-image {
		height: 300px;
	}
	.hero-image.home {
		height: 380px;
	}
	.hero-image div {
		background-position-y: 40%;
	}
	.hero-image.home div {
		background-position-y: 80%;
	}
}

.inline-challenge {
	background: #4d6588;
    border-radius: 4px;
    padding: 2px 4px;
    color: #fff;
    font-size: 90%;
    letter-spacing: 0.5px;
	font-size: 14px;
	white-space: nowrap;
}

.inline-nav {
	cursor: pointer;
	border-bottom: 2px dotted #4d6588;
	margin-left: 4px;
}

.fab-holder {
    position: relative;
    height: 72px;
}

.fab-holder button {
	position: absolute;
    right: 0;
    bottom: 0;
}

.fab-holder .topup {
	background: url(assets/images/topup.jpg) no-repeat;
    position: absolute;
    right: 70px;
    bottom: 20px;
    width: 200px;
    height: 28px;
    background-size: contain;
}
.fab-holder .max-added {
	position: absolute;
    right: 65px;
    bottom: 16px;
    font-size: 12px;
    color: #777;
}

/*--------------------------------------------------------
RUN
----------------------------------------------------------*/

.challenges {
	margin-bottom: 24px;
}

.challenges h2 {
    border-bottom: 1px dotted #aaa;
    padding: 0 0 12px;
    font-weight: 300;
    margin-top: 24px;
    font-size: 18px;
}

.challenges ul {
	list-style: none;
    margin: 0;
    display: flex;
	padding: 0;
	flex-flow: row wrap;
}

.challenges li {
	flex-basis: calc(20% - 8px);
    flex-grow: 0;
    background: #f9fcff;
    border-radius: 10px;
    padding: 12px;
    margin: 8px;
    box-shadow: 2px 4px 10px rgba(0,0,0,.2);
	text-align: center;
	flex-shrink: 0;
}

@media (max-width: 500px) {
	.challenges li {
		margin: 4px;
		flex-basis: calc(50% - 32px);
	}
}

.challenges.col3 li {
	flex-basis: 33.333%;
}

.challenges li.selected {
	border: 3px solid rgb(70, 70, 70);
	background-color: #fff;;
}

.challenges li h3 {
	margin: 4px 0 8px;
    font-weight: 500;
    letter-spacing: 2px;
	font-size: 16px;
	text-transform: uppercase;
}

.challenges li p {
	margin: 0;
	font-size: 14px;
    line-height: 1.2;
}

.challenges li .material-icons {
	background: #7d9cc5;
    padding: 12px;
    border-radius: 50%;
    color: #fff;
}


.form-box {
	margin: 12px 0;
}

.form-box li {
	cursor: pointer;
}

.MuiStepper-root {
	width: 100%;
}
.table-header-max {
	max-height: 200px;
	overflow: scroll;
}

.step-contents {
	margin: 0;
	padding: 0;
	width: 100%;
	margin-bottom: 24px;
}
.step-contents > li {
	display: none;
	margin: 0;
	width: 100%;
}
.step-contents.step-0 li:nth-child(1) {
	display: block;
}
.step-contents.step-1 li:nth-child(2) {
	display: block;
}
.step-contents.step-2 li:nth-child(3) {
	display: block;
}
.step-contents.step-3 li:nth-child(4) {
	display: block;
}
.step-contents.step-4 li:nth-child(5) {
	display: block;
}
.step-contents.step-5 li:nth-child(6) {
	display: block;
}

.years {
	display: flex;
	padding: 24px;
	flex-direction: column;
}

.years .year {

}
.year-label {
	display: flex;
    align-items: center;
}
.year-label .icon-container {
    display: flex;
    flex-shrink: 0;
    padding-right: 8px;
}
.year-label .icon-container svg {
	display: block;
	fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}
.year-label .icon-container svg.active {
	color: #4d6588;
}
.year-icon-text {
	fill: #fff;
    font-size: 0.75rem;
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.year-label .label-container {
	width: 100%;
}
.year-label .label-container.active {
	color: rgba(0, 0, 0, 0.87);
    font-weight: 500;
}
.year-label .label-container {
	color: rgb(0 0 0 / 78%);
    display: block;
    font-size: 0.875rem;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 600;
    line-height: 1.43;
    letter-spacing: 0.01071em;
}
.years .year-root {
    margin-top: 8px;
    border-left: 1px solid #bdbdbd;
    margin-left: 12px;
    padding-left: 20px;
    padding-right: 8px;
}
.years .connector-root {
	padding: 0 0 8px;
	margin-left: 12px;
}

.years .connector-root .connector-line {
	min-height: 24px;
	border-left-style: solid;
	border-left-width: 1px;
	display: block;
	border-color: #bdbdbd;
}

.years .motivations {
	list-style: none;
    margin: 0;
    padding: 0;
	display: flex;
	flex-flow: row wrap;
}

.years .motivations li {
	width: 150px;
    background: #ffd2aa;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
	cursor: pointer;
	padding: 6px;
	margin: 4px;
}
@media (max-width: 500px) {
	.years {
		padding: 0px;
	}
	.years .motivations li {
		width: 120px;
	}
}

.years .motivations li .intro {
	max-height: 46px;
    overflow: hidden;
}
.years .motivations li .author {
	font-weight: 500;
	margin-top: 6px;
}
.years .motivations li.reason-runner {
	background:  #eee;
}
.years .motivations li img {
	width: 100%;
    margin-bottom: 4px;
}
.klas-years .radio {
	padding: 0;
	margin-right: 8px;
}


.motivation {

}

.motivation-dialog-content {

}

.motivation-dialog-content img {
	width: 100%;
}

.motivation .a-form {
	padding: 0 12px;
}
.motivation .a-form > p,
.a-form .MuiCollapse-wrapperInner > p {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.3;
    color: #333;
}

.form-part {
	background: #f1f1f1;
    width: 100%;
    margin: 0 -12px 12px;
    border-radius: 5px;
	padding: 18px;
	position: relative;
}
.form-part h3 {
	margin: 0;
	font-weight: 500;
}

.form-part > p {
    font-size: 14px;
	color: #333;
	margin-top: 0;
	line-height: 1.4;
}
.motivation .a-form p.MuiFormHelperText-root {
	margin-top: 12px;
}

.think-about {
	padding-left: 18px;
}

.think-about li {
	font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 4px;
}

.form-part .form-fields-2col {
	display: flex;
}
.form-part .form-fields-2col .MuiFormControl-root:nth-child(2){
	margin-left: 12px;
}
.a-form .form-field-control {
	width: 100%;
}

.a-form .specify-year-button {
    position: absolute;
    right: 18px;
    bottom: 24px;
}

.action-buttons {
	display: flex;
    padding: 0 18px 18px;
    width: 100%;
	justify-content: flex-end;
}

.action-buttons button:last-child {
	margin-left: 12px;
}

.upload-image {
	width: 100%;
    height: auto;
}

@media (max-width: 500px) {
	.MuiDialog-paperFullWidth {
		width: calc(100% - 12px) !important;
		margin: 0px !important;;
	}
}


.the-run-banner {
    background: #a0bfea;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
	letter-spacing: 1px;
	cursor: pointer;
}

.the-run-banner span {
	text-align: center;
    line-height: 1;
}

@media (min-width: 750px) {
	.card.readable {
		padding-top: 24px;
		padding-bottom: 18px;
	}

	.card.readable header .inner,
	.card.readable .content {
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		position: relative;
		/*left: -20px;*/
	}
	.readable-inner {
		padding: 12px 36px 18px;
		max-width: 500px;
		margin: auto;
	}
	.think-about {
		padding-left: 36px;
		margin-right: 42px;
	}
}

.the-run-button {
	padding: 4px 24px;
}

.the-run-button div {
    background: #4d6588;
    max-width: 340px;
    margin: auto;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border-radius: 12px;
    /* border: 3px solid #4d6588; */
    text-transform: uppercase;
    box-shadow: 2px 3px 3px rgba(0,0,0,.1);
    cursor: pointer;
    text-shadow: 1px 1px #0000002e;
}
.the-run-button div:hover {
    box-shadow: 2px 4px 10px rgba(0,0,0,.4)
}

.interest form {
	padding: 0 12px;
}

@media (min-width: 750px) {
	.interest form {
		padding: 0 48px 0 96px;
	}
}

.password-error {
	background: #d24949;
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    margin: 12px 0;
}
