body, html {
	width: 100vw;
	height: 100vh;
}
body {
	background: rgb(102,154,255);
	color: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	font-family: Roboto,Helvetica,Arial,sans-serif;
	font-variant-ligatures: none;
	margin: 0;
	padding: 66px 0 0 0;
	overflow-x: hidden;
}

@font-face {
  font-family: 'Supercell-magic-webfont';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/Supercell-magic-webfont.ttf) format('truetype');
}


/** BOOTSTRAP OVERRIDES **/
.card {
	background-color: rgba(255,255,255,.95);
	font-size: 1rem;
}
.card hr {
	border-top: 1px solid rgba(255,255,255,.1);
}
.custom-control-label:after, .custom-control-label:before {
	top: auto;
}
.bg-primary {
	background: #007AFF !important;
}
.btn {
	border-radius: 4px;
}
.btn-primary.custom-file-control:before, .btn.btn-primary {
	color: #007AFF;
}
.btn-primary.active.custom-file-control:before, .btn-primary.custom-file-control:active:before, .btn-primary.custom-file-control:focus:before, .btn-primary.custom-file-control:hover:before, .btn-primary.focus.custom-file-control:before, .btn.btn-primary.active, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .open>.btn-primary.dropdown-toggle.custom-file-control:before, .open>.btn.btn-primary.dropdown-toggle {
	color: #007AFF;
}
.btn-primary.active.custom-file-control:focus:before, .btn-primary.active.custom-file-control:hover:before, .btn-primary.active.focus.custom-file-control:before, .btn-primary.custom-file-control:active.focus:before, .btn-primary.custom-file-control:active:focus:before, .btn-primary.custom-file-control:active:hover:before, .btn.btn-primary.active.focus, .btn.btn-primary.active:focus, .btn.btn-primary.active:hover, .btn.btn-primary:active.focus, .btn.btn-primary:active:focus, .btn.btn-primary:active:hover, .open>.btn-primary.dropdown-toggle.custom-file-control:focus:before, .open>.btn-primary.dropdown-toggle.custom-file-control:hover:before, .open>.btn-primary.dropdown-toggle.focus.custom-file-control:before, .open>.btn.btn-primary.dropdown-toggle.focus, .open>.btn.btn-primary.dropdown-toggle:focus, .open>.btn.btn-primary.dropdown-toggle:hover {
	color: #007AFF;
}
.bmd-btn-fab.btn-primary.custom-file-control:before, .btn-group-raised .btn-primary.custom-file-control:before, .btn-group-raised .btn.btn-primary, .btn-raised.btn-primary.custom-file-control:before, .btn.bmd-btn-fab.btn-primary, .btn.btn-raised.btn-primary {
	background-color: #007AFF;
	border-color: #1f3195;
}
.bmd-btn-fab.btn-primary.active.custom-file-control:before, .bmd-btn-fab.btn-primary.custom-file-control:active:before, .bmd-btn-fab.btn-primary.custom-file-control:focus:before, .bmd-btn-fab.btn-primary.custom-file-control:hover:before, .bmd-btn-fab.btn-primary.focus.custom-file-control:before, .btn-group-raised .btn-primary.active.custom-file-control:before, .btn-group-raised .btn-primary.custom-file-control:active:before, .btn-group-raised .btn-primary.custom-file-control:focus:before, .btn-group-raised .btn-primary.custom-file-control:hover:before, .btn-group-raised .btn-primary.focus.custom-file-control:before, .btn-group-raised .btn.btn-primary.active, .btn-group-raised .btn.btn-primary.focus, .btn-group-raised .btn.btn-primary:active, .btn-group-raised .btn.btn-primary:focus, .btn-group-raised .btn.btn-primary:hover, .btn-raised.btn-primary.active.custom-file-control:before, .btn-raised.btn-primary.custom-file-control:active:before, .btn-raised.btn-primary.custom-file-control:focus:before, .btn-raised.btn-primary.custom-file-control:hover:before, .btn-raised.btn-primary.focus.custom-file-control:before, .btn.bmd-btn-fab.btn-primary.active, .btn.bmd-btn-fab.btn-primary.focus, .btn.bmd-btn-fab.btn-primary:active, .btn.bmd-btn-fab.btn-primary:focus, .btn.bmd-btn-fab.btn-primary:hover, .btn.btn-raised.btn-primary.active, .btn.btn-raised.btn-primary.focus, .btn.btn-raised.btn-primary:active, .btn.btn-raised.btn-primary:focus, .btn.btn-raised.btn-primary:hover, .open>.bmd-btn-fab.btn-primary.dropdown-toggle.custom-file-control:before, .open>.btn-group-raised .btn-primary.dropdown-toggle.custom-file-control:before, .open>.btn-group-raised .btn.btn-primary.dropdown-toggle, .open>.btn-raised.btn-primary.dropdown-toggle.custom-file-control:before, .open>.btn.bmd-btn-fab.btn-primary.dropdown-toggle, .open>.btn.btn-raised.btn-primary.dropdown-toggle {
	background-color: #1f3195;
	border-color: #1f3195;
}
[class*=" bmd-label"], [class^=bmd-label] {
	color: rgba(255,255,255,.5);
}
.breadcrumb-item+.breadcrumb-item:before {
	color: rgba(255,255,255,.6);
}
.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:active {
	background-color: rgba(0,0,0,.05);
}
.custom-file-control, .form-control {
	padding: .4375rem;
}
.navbar {
	z-index: 99;
}
.navbar .dropdown-toggle {
	border-radius: 20px;
	right: 10px;
	position: absolute;
	top: 19px;
}
.navbar .dropdown-toggle:after {
	border: none !important;
}
.dropdown-menu-right {
	left: auto;
	right: 0;
}
.navbar .dropdown-menu {
	background: rgba(0,0,0,.8);
	margin: 0;
}
.navbar .dropdown-menu li a {
	display: block;
}
.custom-control-input:checked~.custom-control-label:before {
	background-color: #007AFF;
}
.popover {
	box-shadow: none;
	border: none;
	margin-top: 2px;
}
.popover .arrow {
	display: none;
}
.popover-body {
	color: #f00;
	padding: 0 12px;
	line-height: 1;
}
.custom-file-control, .form-control {
	color: #bbb;
	background-image: linear-gradient(0deg,#bbb 2px,rgba(255,255,255,0) 0),linear-gradient(0deg,rgba(255,255,255,.26) 1px,transparent 0);
}
.is-focused .custom-file-control, .is-focused .form-control {
	background-image: linear-gradient(0deg,#fff 2px,rgba(255,255,255,0) 0),linear-gradient(0deg,rgba(255,255,255,.26) 1px,transparent 0);
	color: #fff;
}
.is-focused [class*=" bmd-label"], .is-focused [class^=bmd-label] {
	color: #007AFF;
}
.text-primary { color:#007AFF !important; }

a,
a.visited {
	/* color: #007AFF; */
	color: #fff;
	text-decoration: none;
}
a:hover,
a:focus,
a:active {
	color: #fff;
	text-decoration: underline;
}

.clickable {
	cursor: hand;
	cursor: pointer;
}
.card {
	border-radius: 6px;
	background-color: rgba(0,0,0,.75);
	color: #eee;
}
.card a,
.card a:visited {
	color: #fff;
}

.config-bar {
	background: #fff;
	border-bottom: 1px solid #eee;
	box-shadow: 0 3px 3px #eee;
	height: 56px;
	line-height: 56px;
	width: 100%;
}
.config-bar a {
	color: rgba(0,0,0,.7);
}
.config-bar a:hover,
.config-bar a:active {
	color: rgba(0,0,0,1);
}


/** CURLY BRACE **/
.curly-brace {
  width: 94%;
  position: absolute;
  left: 50%;
  margin-left: -47%;
  top: 25px;
}

.curly-brace .brace {
  border-bottom: 1px solid;
  margin: 0 10%;
  width: 30%;
  height: 10px;  
  float: left;
}

.curly-brace .brace:before,
.curly-brace .brace:after {
  content: "";
  width: 10%;
  height: 30px;
  position: absolute;
  display: block;
}

.curly-brace-left:before {  
  border-top: 1px solid;  
  border-top-left-radius: 10px;
  margin-left: -10%;
  margin-top: 9px;
}

.curly-brace-left:after {
  border-bottom: 1px solid;
  border-bottom-right-radius: 10px;
  margin-left: 30%;
  margin-top: -20px;    
}

.curly-brace-right:before {
  border-bottom: 1px solid;
  border-bottom-left-radius: 10px;
  margin-left: -10%;
  margin-top: -20px;
}

.curly-brace-right:after {
  border-top: 1px solid;
  border-top-right-radius: 10px;
  margin-left: 30%;
  margin-top: 9px;
}


/** MENU-RELATED STYLES **/
.card.menu-block {
	border-radius: 20px;
	height: auto;
	min-height: 150px;
	max-width: 350px;
}
.card.menu-block.full-width {
	max-width: initial;
	width: 100%;
}
.card.menu-block .card-body {
	background-color: transparent;
	background-position: center center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	border-radius: 20px;
}
.card.menu-block .card-body h2 {
	line-height: 110px;
	font-weight: bold;
}
.card.menu-block .card-body h3 {
	line-height: 110px;
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0;
	padding-top: 10px;
}
.card.menu-block .card-body .vertical-padding {
	padding: 30px 0 0 0;
}
.card.menu-block .card-body .vertical-padding h3 {
	line-height: 1;
}
.card.menu-block .card-body h3.vertical-padding {
	padding: 30px 0;
}

/*
.card.menu-block.fixed-size {
	overflow: hidden;
	white-space: nowrap;
}
*/
.card.menu-block .card-body.resized h3 {
	line-height: 1;
	position: relative;
	top: 50%;
	margin-top: -20px;
	white-space: normal;
}
.card.menu-block .card-body h3.resized-only {
	display: none;
}
.card.menu-block .card-body.resized h3.resized-only {
	display: block;
}
.card.menu-block .card-body.resized h3.hidden-when-resized {
	display: none;
}
.card.menu-block .card-footer {
	border-radius: 0 0 20px 20px
}
.card.small.menu-block {
	height: 75px;
}
.card.small.menu-block .card-body h2,
.card.small.menu-block .card-body h3 {
	line-height: 1;
}
.card.menu-block.questionContent {
	display: inline-block;
	min-height: 70px;
	width: 100%;
}
.flip-card .card.menu-block.questionContent {
	display: flex;
}
.card.menu-block.questionContent .card-body {
	padding: 2.5rem 1.25rem;
	transition: opacity .1s linear;
	will-change: opacity;
}
.card.menu-block.questionContent .card-body,
.card.menu-block.questionContent .card-body h3 {
	color: #141414;
	font-weight: normal;
	line-height: 1;
	font-size: 1.5rem;
}
.card.menu-block.questionContent .card-body .rounded.playSoundFile,
.card.menu-block.questionContent .card-footer .rounded,
.rounded.btn-slim {
	border-radius: 10px;
	height: 30px;
	line-height: 30px;
	margin: 5px;
	width: 60px;
	padding: 0;
}
.card.menu-block.questionContent .card-footer .rounded.with-text {
	width: auto;
	padding: 0 20px;
}
.card.menu-block.questionContent .card-footer .rounded.with-text span {
	font-size: .75rem;
	position: relative;
	top: -3px;
	white-space: normal;
}
.card.menu-block.questionContent .card-body .rounded.playSoundFile i.material-icons,
.card.menu-block.questionContent .card-footer .rounded i.material-icons,
.rounded.btn-slim i.material-icons {
	font-size: 18px;
	line-height: 30px;
}
.card.menu-block.questionContent .card-body img.questionImage {
	height:auto;
	width:140px;
	top: 0;
	margin-bottom: 20px;
}


/** LEARNING STEPS **/
.step-container {
	background: #f8f8f8;
	height: calc(100% - 58px);
	left: 0;
	overflow: auto;
	padding-bottom: 61px;
	position: absolute;
	top: 58px;
	width:100%;
	z-index: 1;
}
#step2-container,
#step3-container,
#step4-container,
#step5-container,
#step6-container,
#step7-container,
#step8-container,
#step9-container,
#step10-container {
	left: 100%;
	opacity: 0;
	transition: left .5s linear, opacity .5s linear;
	z-index: 2;
}
#step3-container { z-index: 3; }
#step4-container { z-index: 5; }
#step5-container { z-index: 6; }
#step6-container { z-index: 7; }
#step7-container { z-index: 8; }
#step8-container { z-index: 9; }
#step9-container { z-index: 10; }
#step10-container { z-index: 11; }

.step-container.active,
#step2-container.active,
#step3-container.active,
#step4-container.active,
#step5-container.active,
#step6-container.active,
#step7-container.active,
#step8-container.active,
#step9-container.active,
#step10-container.active {
	left: 0;
	opacity: 1;
}


/** NAVBAR **/
.navbar, .navbar>.container, .navbar>.container-fluid {
	justify-content: center;
}
.navbar {
	box-shadow: none;
	position: fixed;
	top: 0;
	width: 100%;
}
.navbar.navbar-dark {
	background: rgb(0,0,0,.8);
}
.navbar-brand {
	font-family: "Supercell-magic-webfont";
}
.navbar,
.navbar a {
	color: rgba(255,255,255, .6);
	line-height: 40px;
}
.navbar a {
	margin: 0 10px;
}
p,
.navbar p {
	margin: 0;
}
.navbar .two-liner {
	line-height: 20px;	
}
.navbar .title-top {
	color: #fff;
	font-weight: bold;
	font-size: 16pt;
}


/** STARTPAGE **/
	.hero-content { color: #fff; text-shadow: 0 2px 2px rgba(0,0,0,.2); padding-top: 50px; }
	.hero-content h4 { font-style: italic; font-weight: bold; }


/** STATS **/
	.stats-table.row {
		border-top: 1px solid rgba(0,0,0,.1);
		vertical-align: top;
		padding: 5px 10px;
	}
	.stats-table.row.title-row {
		border-top: 1px solid rgba(0,0,0,.1);
		border-top: none;
		font-weight: bold;
		font-style: italic;
		text-align: left;
		padding: 5px 10px;
	}
	.stats-table.row {
		background: transparent;
	}
	.stats-table.row:hover {
		background: rgba(0, 122, 255, .1);
	}
	.war-wrapper {
		border-right: 1px solid rgba(0,0,0,.1);
		float: right;
		padding:0 5px;
		text-align: center;
		width: 100px;
	}
	.war-wrapper:last-child { border-right: none; }
	.star-color { padding: 4px 8px; border-radius: 6px;}
	.star-color.color-0 { background: rgba(0, 255, 255, .8); }
	.star-color.color-1 { background: rgba(135, 238, 135, 0.8); }
	.star-color.color-2 { background: rgba(241, 241, 149, 0.8); }
	.star-color.color-3 { background: rgba(231, 82, 82, 0.8); }
	.star-color.color-na { background: rgba(0, 0, 0, .05); }
	
/** GENERAL STYLES **/
	.anchorLink { position: relative; top: -126px; }
	.animated { transition: all .5s linear; }
	.bg-gray { background: rgba(0,0,0,.05); }
	.block-display { display: block; }
	.border-dotted { border-radius:10px; padding:20px; border:1px dotted #ccc; }
	.circled { border: 2px solid #5a5 !important; border-radius: 50px; }
	.flex-center { display:flex; flex-wrap:wrap; flex-direction:row; justify-content:center; }
	.halfTransparent { opacity: .5; }
	.hidden { display: none !important; }
	.hidden-submit { position:absolute; top:-5000px; left: -5000px; }
	.inlined { display: inline-block;}
	.invisible { opacity: 0; visibility: visible !important; }
	.invisible.active { opacity: 1; }
	.margin-5 { margin: 5px !important; }
	.margin-v-5 { margin-top: 5px !important; margin-bottom: 5px !important; }
	.margin-bottom-10 { margin-bottom: 10px !important; }
	.margin-bottom-30 { margin-bottom: 30px !important; }
	.margin-bottom-50 { margin-bottom: 50px !important; }
	.margin-left-10 { margin-left: 10px !important; }
	.margin-left-20 { margin-left: 20px !important; }
	.margin-left-25 { margin-left: 25px !important; }
	.margin-right-10 { margin-right: 10px !important; }
	.margin-top-10 { margin-top: 10px !important; }
	.margin-top-20 { margin-top: 20px !important; }
	.margin-top-30 { margin-top: 30px !important; }
	.margin-top-50 { margin-top: 50px !important; }
	.no-margin { margin: 0 !important; }
	.no-padding { padding: 0 !important;}
	.relative-positioned { position: relative; }
	.text-black { color: #000 !important; }
	.text-blue { color: #007AFF !important; }
	.text-gray { color: rgba(0,0,0,.3) !important; }
	.text-red { color: rgba(255,0,0,1) !important; }
	.underlined { border-bottom: 2px solid #f00; }
	.underlined.white { border-bottom-color: #fff; }
	.underlined.red { border-bottom-color: #f00 !important; }
	.btn.rounded-circle { height: 60px; line-height: 60px; width: 60px; }
	.btn.rounded { border-radius: 36px !important;}
	.questionImage { display:inline-block; background-color:#fff; background-repeat:no-repeat; background-position:center center; background-size:auto 100%; border-radius:10px; width:200px; height:100px; position:relative; top:44px; }
	.half-size { transform: scale(0.5); }
	.title { font-family: "Supercell-magic-webfont"; font-weight: bold; text-shadow: 0 2px 2px rgba(0,0,0,.5); }
	.with-icon { padding-left: 40px; position: relative; line-height: 30px; }
	.row-icon { position: absolute; left: 10px; top: 50%; margin-top: -10px; width: 20px; height: auto; }
	
/** FOOTER **/
	.footer {
		background: #000;
		color: #fff;
		min-height: 150px;
		padding: 20px;
	}
	.footer.fixed {
		background: rgba(0, 112, 192,.2);
		position: fixed;
		bottom: 0px;
		min-height: 100px;
		width: 100%;
		z-index: 99;
		padding: 5px 0;
	}
	.footer a.active {
		font-weight: bold;
		text-decoration: underline;
	}
	.footer hr {
		border-top: 1px solid #333;
	}
	.container-fluid .footer {
		margin-left: 150px;
		width: calc(100% - 150px);
	}
	.footer .btn {
		margin-bottom: 0;
	}



/** MATERIAL DESIGN SPINNER **/
	.md-spinner {
		height: 32px;
		width: 32px;
		-webkit-animation: spinner-rotator 1.4s linear infinite;
				    animation: spinner-rotator 1.4s linear infinite;
	}
	.md-spinner.small {
		height: 16px;
		width: 16px;
	}
	.md-spinner.large {
		width: 65px;
		height: 65px;
	}
	
	.md-spinner-path {
		stroke: #1b6bb5;
		stroke-dasharray: 187;
		stroke-dashoffset: 0;
		-webkit-transform-origin: center;
				    transform-origin: center;
		-webkit-animation: md-spinner-dash 1.4s ease-in-out infinite;
				    animation: md-spinner-dash 1.4s ease-in-out infinite;
	}
	.colored .md-spinner-path {
		-webkit-animation: md-spinner-dash 1.4s ease-in-out infinite, md-spinner-colors 5.6s ease-in-out infinite;
				    animation: md-spinner-dash 1.4s ease-in-out infinite, md-spinner-colors 5.6s ease-in-out infinite;
	}


/* FLIP CARDS */
	.flip-card {
		height: 270px;
		perspective: 1000px; /* Remove this if you don't want the 3D effect */
	}


/* This container is needed to position the front and back side */
	.flip-card-inner {
		position: relative;
		width: 100%;
		height: 100%;
		text-align: center;
		transition: transform 0.6s;
		transform-style: preserve-3d;
		will-change: transform;
	}
	.flip-card.flipped .flip-card-inner {
		transform: rotateY(180deg);
	}
	.flip-card-front, .flip-card-back {
		position: absolute;
		width: 100%;
		height: 100%;
		-webkit-backface-visibility: hidden; /* Safari */
		backface-visibility: hidden;
		transition: background-color .5s;
	}
	.flip-card-front {
		background-color: #fff;
	}
	.flip-card-back {
		background-color: #fff;
		transform: rotateY(180deg);
	}


/** CLOUDS **/
.sky-container {
	background: rgb(102,154,255);
	background: linear-gradient(0deg, rgba(102,154,255,1) 0%, rgba(49,118,249,1) 100%);
	height: calc(100vh - 100px);
	position: relative;
	width: 100vw;
	overflow: hidden;
	z-index: 0;
	transform: translate3d(0, 0, 0);
}
.cloud {
	position: absolute;
	height: auto;
	transform: translate3d(0, 0, 0);
	z-index: 1;
}
.cloud.cloud-1 {
	bottom: 80%;
    -webkit-animation: moveCloud 45s linear infinite;
	animation: moveCloud 45s linear infinite;
	right: -450px;
	width: 100px;
	opacity: .5;
}
.cloud.cloud-2 {
	bottom: 70%;
    -webkit-animation: moveCloud 35s linear infinite;
	animation: moveCloud 35s linear infinite;
	right: -950px;
	width: 200px;
	opacity: .7;
}
.cloud.cloud-3 {
	bottom: 50%;
    -webkit-animation: moveCloud 30s linear infinite;
	animation: moveCloud 30s linear infinite;
	right: -450px;
	width: 350px;
	opacity: .8;
}
.cloud.cloud-4 {
	bottom: 20%;
    -webkit-animation: moveCloud 20s linear infinite;
	animation: moveCloud 20s linear infinite;
	right: -850px;
	width: 500px;
	opacity: .9;
}
.cloud.cloud-5 {
	bottom: 5%;
    -webkit-animation: moveCloud 15s linear infinite;
	animation: moveCloud 15s linear infinite;
	right: -650px;
	width: 650px;
}
.cloud.animate {
	transition: left 3s linear;
}
.balloon {
	position: absolute;
	transform-origin:50px 5px;
	transition: transform 1s ease-in 0s;
	animation-duration: 2.2s;
	animation-name: balloon;
	animation-iteration-count: infinite;
	animation-direction: alternate;
    -webkit-animation-duration: 2.2s;
	-webkit-animation-name: balloon;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
    -webkit-animation-timing-function: ease-in-out; /* Chrome, Safari, Opera */
    animation-timing-function: ease-in-out;
    max-height: 250px;
    width: auto;
    z-index: 2;
    top: 310px;
    left: 10%;
}


/** GRUPPSPEL **/
.gruppspel-wrapper {
	background: url('../img/scwl.jpg') no-repeat center center / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 58px 0;
}

/** ACTIVE EVENT **/
.events-wrapper {
	background: url('../img/scwl.jpg') no-repeat center center / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 28px 0 58px 0;
}

/** LEGEND TRACKER **/
body.legendTracker {
	background: url('../img/legendTracker.jpg') no-repeat center center / cover fixed;
}
.legendTracker-wrapper {
	background: url('../img/legendTracker.jpg') no-repeat center center / cover;
	color: #bbb;
	padding: 58px 0;
}
body.legendTracker .legendTracker-wrapper {
	background: transparent;
}
.legendTracker-wrapper hr {
	border-top: 1px solid rgba(255,255,255,.25);
}
.legendTracker-wrapper .form-control {
	color: #bbb;
	background-image: linear-gradient(0deg,#bbb 2px,rgba(255,255,255,0) 0),linear-gradient(0deg,rgba(255,255,255,.26) 1px,transparent 0);
	width: calc(100% - 60px);
}
.legendTracker-wrapper .is-focused .form-control {
	/* background-image: linear-gradient(0deg,#007AFF 2px,rgba(255,255,255,0) 0),linear-gradient(0deg,rgba(255,255,255,.26) 1px,transparent 0); */
	background-image: linear-gradient(0deg,#fff 2px,rgba(255,255,255,0) 0),linear-gradient(0deg,rgba(255,255,255,.26) 1px,transparent 0);
	color: #fff;
}
.legendTracker-wrapper .is-focused label {
	color: #fff;
}
.legendTracker-wrapper .submitFormBtn {
	margin: 0;
	position: absolute;
	right: 0;
	height: 30px;
	padding: 0.2rem;
	width: 50px;
}
.legendTracker-wrapper .progress {
	position: absolute;
	bottom: 15px;
	left: 20px;
	width: calc(100% - 40px);
}
.legendTracker-wrapper .legendTrackerContent {
	max-height: 0px;
	overflow: hidden;
	opacity: 0;
	transition: opacity .3s linear, max-height .3s linear;
	will-change: opacity, max-height;
}
.legendTracker-wrapper .legendTrackerContent.active {
	max-height: 2000px;
	opacity: 1;
	overflow: auto;
}
.legendTracker-wrapper .legendTrackerContent h4 {
	font-family: "Supercell-magic-webfont";
	font-size: 10pt;
	margin: 0;
	text-shadow: 0 2px 2px rgb(0 0 0 / 50%);
}
.legendTracker-wrapper .legendTrackerContent #legendClanWrapper {
	background-repeat: no-repeat;
	background-size: auto 50px;
	background-position: center bottom;
	min-height: 80px;
}
.legendTracker-wrapper .legendTracker {
	background-color: rgba(0,0,0,.5);
	border-radius: 6px;
	color: #eee;
	height: 130px;
	padding: 20px;
	text-align: center;
}
.legendTracker-wrapper .legendTracker #trophyCanvas {
	border-bottom: 1px solid rgba(254, 251, 210, .3);
}
.legendTracker-wrapper .subText {
	color: rgba(255,255,255,.3);
	font-size: 8pt;
}
.legendTracker-wrapper .legendTracker.attackChart {
	box-shadow: 0 0 25px 0px #76f489 inset, 0 0 0px 4px #ffffff, 0 0 7px 7px #76f489;
}
.legendTracker-wrapper .legendTracker.defChart {
	box-shadow: 0 0 25px 0px #f00 inset, 0 0 0px 4px #ffffff, 0 0 7px 7px #f00;
	margin-top: 40px;
}
.legendTracker-wrapper .legendTracker.trophyChart {
	box-shadow: 0 0 25px 0px #fdfc54 inset, 0 0 0px 4px #fdfb5b, 0 0 7px 7px #fdfc54;
	height: 300px;
}
.legendTracker-wrapper .legendTracker h4 {
	font-weight: bold;
}
.legendTracker-wrapper .legendTracker i.material-icons {
	text-shadow: 0 2px 4px #000;
}
.legendTracker-wrapper .legendTracker i.material-icons.off {
	color: #050811;
	text-shadow: 0 1px 0px rgba(255,2552,255,.1);
}


/** PROGRESS BAR **/
.progress {
	background-color: rgba(0, 122, 255, .3);
	background-clip: padding-box;
	border-radius: 2px;
	position: relative;
	height: 4px;
	display: block;
	width: 100%;
	margin: 0.5rem 0 1rem 0;
	overflow: hidden;
	transition: opacity .3s linear;
}
.progress.inactive {
	opacity: 0;
}
.progress .indeterminate:before {
	content: '';
	position: absolute;
	background-color: rgba(0, 122, 255, 1);
	top: 0;
	left: 0;
	bottom: 0;
	will-change: left, right;
	-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
					animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.progress .indeterminate:after {
	content: '';
	position: absolute;
	background-color: rgba(0, 122, 255, 1);
	top: 0;
	left: 0;
	bottom: 0;
	will-change: left, right;
	-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
					animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
	-webkit-animation-delay: 1.15s;
					animation-delay: 1.15s;
}

@-webkit-keyframes indeterminate {
	0% {
		left: -35%;
		right: 100%;
	}
	60% {
		left: 100%;
		right: -90%;
	}
	100% {
		left: 100%;
		right: -90%;
	}
}
@keyframes indeterminate {
	0% {
		left: -35%;
		right: 100%;
	}
	60% {
		left: 100%;
		right: -90%;
	}
	100% {
		left: 100%;
		right: -90%;
	}
}
@-webkit-keyframes indeterminate-short {
	0% {
		left: -200%;
		right: 100%;
	}
	60% {
		left: 107%;
		right: -8%;
	}
	100% {
		left: 107%;
		right: -8%;
	}
}
@keyframes indeterminate-short {
	0% {
		left: -200%;
		right: 100%;
	}
	60% {
		left: 107%;
		right: -8%;
	}
	100% {
		left: 107%;
		right: -8%;
	}
}


/** TEAMS **/
.teams-wrapper {
	background: rgba(0,0,0,.2) url('../img/baloons.jpg') no-repeat center center / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 28px 0 58px 0;
}

/** SIGNUP **/
.signup-wrapper {
	background: url('../img/baloons.jpg') no-repeat center center / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 28px 0 58px 0;
}

.section.title {
	color: #fff;
	font-family: "Supercell-magic-webfont";
	font-weight: bold;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
	text-shadow: 0 2px 2px rgba(0,0,0,.5);
	text-transform: uppercase;
}
.gruppspel-wrapper .card {
	width: auto;
	margin: 0 auto;
}
.gruppspel-wrapper .card .card-body {
	padding: 5px 1.25rem;
}
.gruppspel-wrapper .card .card-body h5 {
	border-bottom: 1px solid #ccc;
	font-size: 12pt;
	font-weight: bold;
	padding: 5px;
}
.gruppspel-wrapper .winner {
	color: rgba(0,0,0,.6);
	font-weight: bold;
}
.required.has-error {
	background-color: rgba(255,0,0,.1);
	background-image: linear-gradient(0deg,#a00 2px,rgba(252,255,255,0) 0),linear-gradient(0deg,rgba(255,0,0,.75) 2px,transparent 0);
}
	

/** RULES **/
.rules-wrapper {
	background: url('../img/builders.jpg') no-repeat center bottom / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 58px 0;
}


/** SCOREBOARD **/
.scoreboard-wrapper {
	background: rgb(51, 51, 51) url('../img/wizard.jpg') no-repeat center bottom / cover;
	box-shadow: 0 50px 100px inset #000;
	padding: 58px 0;
}
.score-card {
    max-width: calc(100% - 20px);
    flex: 0 0 100%;
    margin: 10px;
    overflow: hidden;
    border-radius: 1rem;
    padding-top: 10px;
	transition: opacity .5s linear, background-color .5s linear;
	will-change: opacity, background-color;
}
.score-card.loading {
	opacity: 0;
}
.score-card .score-card_title,
.score-card .clan-score {
	font-weight: bold;
}
.score-card .title {
	color: rgba(255,255,255,.5);
	text-shadow: none;
}
.home-leader .home-team,
.enemy-leader .enemy-team {
	color: hsl(120, 79%, 35%);
}
.enemy-leader .home-team,
.home-leader .enemy-team {
	color: #d74444;
}
.no-leader .home-team,
.no-leader .enemy-team {
	color: rgba(0, 112, 192, 1);
}
.clan-badge {
	background-repeat: no-repeat;
	background-size: 40px;
	height: 50px;
	min-width: 50px
}
.clan-badge.home-team {
	background-position: center center;
}
.clan-badge.enemy-team {
	background-position: center center;
}
.striped .row .col-3,
.striped .row .col-6,
.striped .row .col-12 {
	padding: 5px;
}


/** SHAKE ELEMENT **/
.score-card {
	animation: none;
	animation-iteration-count: infinite;
}
.score-card.shake {
	animation: shake 0.5s;
}

@media (min-width: 768px) {
    .score-card {
        max-width: calc(50% - 20px);
        flex: 0 0 50%;
    }
}
@media (min-width: 992px) {
    .score-card {
        max-width: calc(33% - 20px);
        flex: 0 0 33%;
    }
}


/** ANIMATIONS **/
	@-webkit-keyframes balloon {
		 from {
		    transform:rotate(-3deg);
		  }
		  to {
		    transform:rotate(3deg);
		  }
	}
	@keyframes balloon {
		 from {
		    transform:rotate(-3deg);
		  }
		  to {
		    transform:rotate(3deg);
		  }
	}
	
	@-webkit-keyframes moveCloud {
		100% { transform: translateX(calc(-100vw - 800px)); }
	}
	@keyframes moveCloud {
		100% { transform: translateX(calc(-100vw - 800px)); }
	}

	@keyframes shake {
		0% { transform: translate(1px, 1px) rotate(0deg); }
		10% { transform: translate(-1px, -2px) rotate(-1deg); }
		20% { transform: translate(-3px, 0px) rotate(1deg); }
		30% { transform: translate(3px, 2px) rotate(0deg); }
		40% { transform: translate(1px, -1px) rotate(1deg); }
		50% {
			transform: translate(-1px, 2px) rotate(-1deg);
			background-color:rgba(162, 240, 250, 0.8);
		}
		60% { transform: translate(-3px, 1px) rotate(0deg); }
		70% { transform: translate(3px, 1px) rotate(-1deg); }
		80% { transform: translate(-1px, -1px) rotate(1deg); }
		90% { transform: translate(1px, 2px) rotate(0deg); }
		100% { transform: translate(1px, -2px) rotate(-1deg); }
	}

	@-webkit-keyframes spinner-rotator {
		0% {
			-webkit-transform: rotate(0deg);
			        transform: rotate(0deg);
		}
		100% {
			-webkit-transform: rotate(270deg);
			        transform: rotate(270deg);
		}
	}
	
	@keyframes spinner-rotator {
		0% {
			-webkit-transform: rotate(0deg);
			        transform: rotate(0deg);
		}
		100% {
			-webkit-transform: rotate(270deg);
			        transform: rotate(270deg);
		}
	}
	
	@-webkit-keyframes md-spinner-colors {
		0% {
			stroke: #1b6bb5;
		}
		25% {
			stroke: #DE3E35;
		}
		50% {
			stroke: #F7C223;
		}
		75% {
			stroke: #1B9A59;
		}
		100% {
			stroke: #4285F4;
		}
	}
	
	@keyframes md-spinner-colors {
		0% {
			stroke: #4285F4;
		}
		25% {
			stroke: #DE3E35;
		}
		50% {
			stroke: #F7C223;
		}
		75% {
			stroke: #1B9A59;
		}
		100% {
			stroke: #4285F4;
		}
	}
	@-webkit-keyframes md-spinner-dash {
		0% {
			stroke-dashoffset: 187;
		}
		50% {
			stroke-dashoffset: 46.75;
			-webkit-transform: rotate(135deg);
			        transform: rotate(135deg);
		}
		100% {
			stroke-dashoffset: 187;
			-webkit-transform: rotate(450deg);
			        transform: rotate(450deg);
		}
	}
	@keyframes md-spinner-dash {
		0% {
			stroke-dashoffset: 187;
		}
		50% {
			stroke-dashoffset: 46.75;
			-webkit-transform: rotate(135deg);
			        transform: rotate(135deg);
		}
		100% {
			stroke-dashoffset: 187;
			-webkit-transform: rotate(450deg);
			        transform: rotate(450deg);
		}
	}
	
	
/** SIZE SPECIFIC STYLES **/

	/* Extra small */
	@media (max-width: 575px) {
		.xs-hidden {
			display: none;
		}
		.xs-only {
			display: block;
		}
		.xs-only.navbar {
			display: flex;
		}
    }
	
	/* Small */
	@media (min-width: 576px) {
		.balloon {
			display: none;
		}
		.xs-hidden {
			display: block;
		}
		.xs-hidden.navbar {
			display: flex;
		}
		.xs-only {
			display: none;
		}
	}
	
	/* Medium */
	@media (min-width: 768px) {
		.hero-content {
			padding-top: 250px;
		}
		.balloon {
			display: inline-block;
			max-height: calc(70vh + 1px);
	    	width: auto;
	    	z-index: 2;
	    	top: 50px;
	    	left: -40vw;
		}
	}
	
	/* Large */
	@media (min-width: 992px) { }
	
	/* Extra large */
	@media (min-width: 1200px) { }
	
	
	/** TOORNAMENT **/
	.toornament-widget {
		width: 300px;
		height: 330px;
	}
	
	@media (max-width: 669px) { }
	@media (min-width: 670px) and (max-width: 882px) {
		.toornament-widget {
			width: 640px;
			height: 360px;
		}
	}
	@media (min-width: 883px) {
		.toornament-widget {
			width: 853px;
			height: 480px;
		}
		.cloud.cloud-5 {
			-webkit-animation: moveCloud 15s linear infinite;
			animation: moveCloud 15s linear infinite;
		}
	}