@charset "utf-8";
/* CSS Document */

/* HTML 5-fix för äldre webbläsare */
header, nav, article, aside, section, footer {
	display: block;
	box-sizing: border-box;
	position: relative;
}

div {
	box-sizing: border-box;
	position: relative;
}

body {
	/*width: 100vw;
	height: 100vh;
	overflow: hidden;*/
	margin: 0;
	padding: 0;
	background-color: #9D31AD;
	background-image: linear-gradient(180deg,rgba(105, 21, 179, 1) 0%, rgba(157, 49, 173, 1) 100%);
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #fff;
	font-family: arial, sans-serif;
	font-size: 16px;
	line-height: 135%;
	text-align: left;
}

#content {
	min-height: 100vh;
	position: relativeM
}

#header, #wrapper, #footer {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

#header {
	position: relative;
	margin: 0 auto;
	padding-top: 15px;
	text-align: center;
}

#header_logo {
	display: inline-block;
	margin: 0 auto;
	width: auto;
	max-height: 100px;
	opacity: 1;
	transition: 0.5s;
}
#header_logo:hover {
	opacity: 0.6;
	transition: 0.5s;
}

#menyn {
	position: absolute;
	display: none;
	z-index: 2600;
	top: 46px;
	right: 6px;
	border: 1px solid #ccc;
	padding: 5px;
	background: #e8e8e8;
	text-align: right;
}

#menyn ul {
	margin: 0;
	padding: 0;
}

#menyn li {
	list-style: none;
	margin: 2px 5px;
	padding: 5px 8px;
}

#wrapper {
	position: relative;
	margin: 0 auto;
	padding: 20px;
	/*text-align: center;*/
}

#footer_wrapper {
	margin: 10px 0 20px 0;
	/*position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 20px;*/
}

#footer {
	padding: 20px;
}

#footer h3 {
	margin: 0 0 10px 0;
	font-size: 1.5rem;
}

#footer a {
	color: #ffea3e;
}

#footer_social {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: flex-start;
	gap: 20px;
	margin: 40px 0;
	text-align: center;
}

#footer_social img {
	width: 100%;
	max-width: 40px;
	height: auto;
	opacity: 1;
	transition: 0.5s;
}
#footer_social img:hover {
	opacity: 0.4;
}

/* Startsidan CSS */
.spel_lista {
	margin: 20px auto;
	width: 100%;
	max-width: 860px;
	padding: 20px;
	/*background: #91861d;
	background: linear-gradient(180deg,rgba(145, 134, 29, 1) 0%, rgba(97, 87, 13, 1) 100%);*/
	background: #eb8531;
	background: linear-gradient(180deg,rgba(235, 133, 49, 1) 0%, rgba(161, 90, 18, 1) 100%);
	background: #3b91a8;
	background: linear-gradient(180deg,rgba(59, 145, 168, 1) 0%, rgba(25, 110, 120, 1) 100%);
	border-radius: 20px;
	-webkit-box-shadow: inset 0px 0px 4px 0px #ac77db, 0px 0px 10px 0px #341656; 
	box-shadow: inset 0px 0px 4px 0px #ac77db, 0px 0px 10px 0px #341656;
}

.spel_lista#idag {
	background: #ab3e6f;
	background: linear-gradient(180deg,rgba(171, 62, 111, 1) 0%, rgba(143, 31, 82, 1) 100%);
}

.spel_lista#igar {
	background: #3b91a8;
	background: linear-gradient(180deg,rgba(59, 145, 168, 1) 0%, rgba(25, 110, 120, 1) 100%);
}

.spel_lista.spelat {
	background: #8c8c8c;
	background: linear-gradient(180deg,rgba(140, 140, 140, 1) 0%, rgba(69, 69, 69, 1) 100%);
	background: #1d9149;
	background: linear-gradient(180deg,rgba(29, 145, 73, 1) 0%, rgba(13, 97, 51, 1) 100%);
}

.spel_lista .klarmarkering {
	float: left;
	margin-right: 10px;
	/*max-height: 80px;*/
	width: 100px;
	max-width: 12%;
}

.spel_lista .klarmarkering img {
	/*max-height: 80px;
	width: auto;*/
}

.lista_spel_datum {
	margin-top: 0;
	color: #f9d9af;
	color: #fff;
	font-size: 0.9rem;
	font-weight: bold;
}

.spel_lista h3 {
	margin: 0;
	font-size: 1.6rem;
}

.spel_lista a, .spel_lista a:link, .spel_lista a:visited, .spel_lista a:hover, .spel_lista a:active {
	color: #fff;
}

.lista_spel_beskrivning {
	color: #fff;
}

#nasta_knapp, #foregaende_knapp {
	display: inline-block;
	margin: 0 10px 10px 10px;
	/*background: #000;
	border-radius: 5px;*/
}

#nasta_knapp a, #foregaende_knapp a {
	display: block;
	padding: 15px;
	color: #2f2f2f!important;
	color: #fff!important;
	text-decoration: none;
	font-weight: bold;
}
#nasta_knapp a:hover, #foregaende_knapp a:hover {
	text-decoration: none;
}


/* Spelets CSS */
#valj_annat_spel {
	margin: 0 auto;
	text-align: center;
}


#hjalpruta, #resultatruta, #installningsruta, #registreringsruta, #inloggningsruta, #statistikruta {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 3000;
	/*padding: 15px;*/
	background: rgba(0, 0, 0, 0.8);
	/*color: #fff;*/
}

.popup {
	position: relative;
	width: 90%;
	max-height: 80%;
	-ms-overflow-style: none; /* Edge, Internet Explorer */
	scrollbar-width: none; /* Firefox */
	overflow-y: scroll;
	max-width: 600px;
	margin: 10vh auto;
	padding: 15px;
	/*background: rgba(0, 0, 0, 0.6);*/
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #333;
}

.popup_info {
	width: 100%;
	height: 100%;
	-ms-overflow-style: none; /* Edge, Internet Explorer */
	scrollbar-width: none; /* Firefox */
	overflow-y: scroll;
}

.popup::-webkit-scrollbar, .popup_info::-webkit-scrollbar {
	display: none;
}

.popup h2 {
	margin: 0 0 20px 0;
	font-size: 24px;
}

.popup p {
	margin-bottom: 20px;
}

#skapakonto_loggain {
	margin: 10px 0;
	padding: 10px;
	background: #fff;
	border-radius: 5px;
	border: 1px solid #ccc;
}

#skapakonto_loggain h3 {
	margin: 0 0 5px 0;
}

.stang_ruta {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	padding-top: 3px;
	border: 1px solid #333;
	border-radius: 50%;
	cursor: pointer;
	font-weight: bold;
	z-index: 4000;
}

#visa_resultatruta {
	display: inline-block;
	margin: 10px auto;
	padding: 5px 10px;
	cursor: pointer; 
	background: #3055ac;
	color: #fff;
	border-radius: 4px;
	font-weight: bold;
	font-size: 20px;
}


form ul {
	margin: 0;
	padding: 0;
	text-align: left;
}

form li {
	list-style: none;
	margin: 5px 0;
}

form label {
	margin: 0 0.5%;
	font-weight: bold;
}

form input[type=text], form input[type=email], form input[type=password] {
	width: 99%;
	padding: 5px 8px;
	margin: 8px 0.5%;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

form input[type=submit] {
	padding: 8px 10px;
	margin: 5px auto;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	background: #be61df;
	color: #fff;
}

.statistikruta {
	float: left;
	width: 49%;
	height: 73px;
	margin: 0 0.5% 10px 0.5%;
	padding: 12px;
}
.statistikruta:nth-of-type(odd) {
	clear: both;
}

.statistiksiffra {
	display: block;
	margin: 0 0 10px 0;
	font-weight: bold;
	font-size: 30px;
}

.tabell {
	float: left;
	width: 49%;
	max-width: 260px;
	margin: 0 auto 20px auto;
	margin: 0 0.5% 10px 0.%;
}
.tabell:nth-of-type(odd) {
	clear: both;
}

#statistik_meddelande .tabell {
	float: none;
	width: auto;
	max-width: 400px;
	margin: 0 auto 20px auto;
}

.tabell_vanster {
	float: left;
	width: 15px;
}

.tabell_hoger {
	float: left;
	width: calc(100% - 20px);
}

.snitt_gissning, .stat_gissning {
	width: 10px;
	height: 24px;
	margin: 0 0 5px 0;
	padding: 3px;
	text-align: right;
	font-weight: bold;
}

.snitt_linje, .stat_linje {
	min-width: 15px;
	height: 24px;
	margin: 0 0 5px 0;
	padding: 3px;
	background: #4faa4f;
	color: #fff;
	text-align: right;
}
.stat_linje {
	background: #be61df;
}

#klarat_procent {
	font-weight: bold;
	font-size: 30px;
}



#vinst {
	font-weight: bold;
}

#slut {
	font-style: italic;
	font-weight: normal;
}

.knapp {
	display: inline-block;
	margin: 0 5px 10px 5px;
	border-radius: 10px;
	background: #318125;
	background: linear-gradient(180deg,rgba(52, 140, 38, 1) 0%, rgba(44, 112, 34, 1) 100%);
	-webkit-box-shadow: inset 0px 0px 4px 0px #ac77db, 0px 0px 10px 0px #341656; 
	box-shadow: inset 0px 0px 4px 0px #ac77db, 0px 0px 10px 0px #341656;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2rem;
	cursor: pointer;
}
.knapp:hover, #tillbaka_knapp:hover {
	text-decoration: none;
	background: #d3a937;
	background: linear-gradient(180deg,rgba(235, 186, 54, 1) 0%, rgba(173, 139, 45, 1) 100%);
	background: #de9b0b;
	background: linear-gradient(180deg,rgba(222, 155, 11, 1) 0%, rgba(153, 106, 5, 1) 100%);
}

.knapp a {
	display: block;
	padding: 15px;
	color: #2f2f2f!important;
	color: #fff!important;
	text-decoration: none;
	font-weight: bold;
}
.knapp a:hover {
	text-decoration: none;
}

#tillbaka_knapp {
	margin: 20px auto;
	background: #ab3e6f;
	background: linear-gradient(180deg,rgba(171, 62, 111, 1) 0%, rgba(143, 31, 82, 1) 100%);
}

.visa {
	display: block!important;
}

.dolj {
	display: none!important;
}

.left {
	float: left;
}

.right {
	float: right;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.error {
	background: #f00!important;
	background: linear-gradient(180deg,rgba(255, 28, 28, 1) 0%, rgba(209, 0, 0, 1) 100%)!important;
}

.success {
	background: #0f9704!important;
}

.info {
	background: #046797!important;
}

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

a img {
	border: none;
}

.ikon {
	display: inline;
	height: 1.2rem;
	margin-right: 5px;
	opacity: 1;
	transition: 0.5s;
}
.ikon:hover {
	opacity: 0.8;
	transition: 0.5s;
}

/* Rubriker, text och länkar */
h1, h2, h3, h4, h5, h6 {
	line-height: 105%;
}

h1 {
	margin: 0;
	text-align: center;
	font-size: 2rem;
	line-height: 105%
}

h2 {
	margin: 20px 0 0 0;
	font-size: 1.6rem;
}

h3 {
	margin: 20px 0 0 0;
	font-size: 1.4rem;
}

p {
	margin: 8px 0;
}


a, a:link, a:hover, a:active, a:visited, .lank {
	color: #203277;
	text-decoration: none;
	cursor: pointer;
}
a:hover, #visa_resultatruta:hover, .lank:hover {
	text-decoration: underline;
}



/* Reklam */
.reklam {
	text-align: center;
}

.reklam img {
	display: block;
	margin: 0 auto;
	opacity: 1;
	transition: 0.5s;
}
.reklam img:hover {
	opacity: 0.8;
}

.reklam_spel_mobil {
	display: none;
}

/* Animationer */

/* Responsiv design */

/* --- För skärmar med bredden max 600px --- */
@media screen and (max-width: 600px) {
	#header_logo {
		max-height: 60px;
	}
	
	.ej_mobil, .reklam_spel {
		display: none;
	}
	
	.reklam_spel_mobil {
		display: block;
	}
	
	.knapp a {
		padding: 12px;
	}
	
	.spel_lista h3 {
		clear: left;
	}
}