﻿/* ===== RESET CSS ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2em;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a:visited { 
	color: inherit;
}

/* ===== FONTS ===== */

@font-face {
	font-family: 'SE-Exotica';
	src: url('fonts/ShagExpert-Exotica.eot'); /* IE9 Compat Modes */
	src: url('fonts/ShagExpert-Exotica.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('fonts/ShagExpert-Exotica.woff') format('woff'), /* Modern Browsers */
	     url('fonts/ShagExpert-Exotica.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('fonts/ShagExpert-Exotica.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face { 
	font-family: "Bernhard Gothic Heavy";
	src: url("fonts/Bernhard_Gothic_Heavy.ttf");
}


/* ===== HEADINGS AND PARAGRAPHS ===== */

h1, h2, h3, h4, nav ul li { 
	font-family: "SE-Exotica", sans-serif;
}

h1 { 
	font-size: 2em;
	height: 1em;
	text-align: center;
	display: block;
	padding-top: 0.2em;
}

h1 a { 
	text-decoration: none;
}


h3 { 
	font-size: 1.5em;
	padding-bottom: 0.1em;
	display: block;
	text-decoration: none;
}

h4 { 
	font-size: 1em;
	display: block;
	padding-bottom: 0.1em;
}

p { 
	font-size: 1em;
	
}

i { 
	font-style: italic;
}

/* ===== GENERAL STYLES ===== */
body { 
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	font-size: 120%;
	font-family: Arial, sans-serif
}

#site-wrapper { 
	display: table;
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}
section.col-1 { 
	display: table-cell;
}

section.col-3 { 
	display: table-cell;
}

section.col-2 { 
	position: relative;
	z-index: 1;
	display: table-cell;
}

nav a { 
	color: #000000;
	text-decoration: none;
	font-size: 1.2em;
}

#content-wrapper { 
	width: 100%;
	min-height: 20%;
	padding: 10px;
}

#soundbtn { 
	position: absolute;
	left: 0px;
	top: 0px;
	cursor: pointer;
}

.clear { 
	clear: both;
}

#credits { 
	font-size: 0.6em;
	font-style: italic;
}
/* ===== ALFABET-SPIL ===== */
#alfabet-spil li { 
	float: left;
	cursor: pointer;
	position: relative;
} 

#alfabet { 
}

#alfabet li.letter { 
	width: 100%;
}

.ic_correct { 
	position: absolute;
	z-index: 2;
	left: 0px;
	top: 0px;
	visibility: hidden;
}

/* ===== MSGBOX ===== */
.msgbox { 
	position: fixed;
	max-width: 15%;
	border: 2px solid black;
	border-radius: 10px;
	background-color: white;
	padding: 5px;
	z-index: 2;
}

.msgbox #luk { 
	cursor: pointer;
	text-align: center;
	display: block;
	min-width: 2em;
}

#speech-bubble { 
	background-image: url("img/speech-bubble.png");
	position: absolute;
	width: 20px;
	height: 20px;
	bottom: -20px;
	right: 10px;
}

/* ===== DOWNLOADS ===== */

#downloads-wrapper img { 
	border: 2px solid black;
	margin: 5px;
	max-width: 200px;
	width: 20%;
	float: left;
} 

/* ===== FORMS ===== */

#submit-letters input[type=submit] { 
	display: block;
	/* padding: 20px 10px; */
	cursor: pointer;
}
/* ===== BACKGROUND ===== */

#bg-trine { 
	position: fixed;
	cursor: pointer;
	width: 10%;
	bottom: 0px;
	right: 0px;
}

.col-1 div { 
	width: 10%;
}
#bg-lars { 
	position: fixed;
	width: 10%;
	bottom: 0px;
}

.col-1, .col-3 { 
	width: 10%;
}
.col.2 { 
	width: 80%;
}

/* ===== NAVIGATION ===== */
.col-2 nav ul { 
	width: 100%;
	display: table;
	margin: 0px auto;
}
.col-2 nav li { 
	display: table-cell;
	width: 20%;
	margin: 0px 20px;
	text-align: center;
}
.col-2 nav li span { 
	display: block;
}
.col-2 nav li img { 
	width: 60%;
	margin: 0 auto;
}

/* ===== ALFABET-SPIL ===== */
ul#alfabet { 
	margin: 10px 0px;
}	

#alfabet-spil li { 
	width: 80px;
	height: 80px;
	margin: 5px;
}	
#alfabet-spil li img.letter { 
	width: 100%;
	height: 100%;
}


/* ===== STAV-ET-ORD ===== */
#bogstaver li { 
	float: left;
	cursor: pointer;
	margin: 0px;
} 

.letter-field { 
	border-bottom: 2px solid #aaa;
	border-right: 2px solid #aaa;
	border-left: 2px solid #666;
	border-top: 2px solid #666;
	
	background-color: rgba(24, 24, 24, 0.2);
	display: block;
	float: left;
	margin: 5px;
}

#stav-et-ord li { 
	width: 70px;
	height: 70px;
}

#stav-et-ord li img { 
	width: 100%;
	height: 100%;
}

#stav-et-ord #bogstaver { 
	border-bottom: 1px dashed black;
	margin-bottom: 5px;
	padding-bottom: 5px;
}
.letter-field { 
	width: 50px;
	height: 50px;
	margin: 5px;
}

#seo-image-wrapper img { 
	height: 60%;
	cursor: pointer;
}

#ordet { 
	text-align: center;
	display: table;
	margin: 0 auto;
}

#ordet > div { 
	display: table-cell;
	width: 50%;
}

#letterfields { 
	vertical-align: middle;
}

/* ===== BOGSTAV SANGE ===== */

#bogstav-sange li { 
	border-bottom: 1px dashed black;
	padding-bottom: 5px;
	margin-top: 10px;
}

#bogstav-sange li section { 
	float: left;
}

#bogstav-sange li > section { 
	
	min-width: 420px;
}

#bogstav-sange section.yt-container { 
	
}
#bogstav-sange section.yt-container iframe { 
	width: 420px;
	height: 325px;
} 

#bogstav-sange section.lyrics-container { 
	font-size: 0.8em;
	width: 48%;
	padding-left: 10px;
}

/* ========================================================================== */
/* ======================   	DEVICE SPECIFIC STYLES	   =================== */
/* ========================================================================== */

@media screen and (max-width: 800px) { 
	
	#alfabet-spil li { 
		width: 40px;
		height: 40px;
		margin: 2px;
	}
	
	/* #bogstav-sange section.yt-container iframe { 
		width: 200px;
		height: 180px;
	} */
	
}
















