@import url(reset.css); 
/* http://pressedweb.com/css/responsive-design-explained-part-2/ */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }

a:link {color: #4e6cad;}      /* unvisited link */
a:visited {color: #4e6cad;}  /* visited link */
a:hover {
	text-decoration: underline;
}  /* mouse over link */
a:active {color: #fff;}  /* selected link */

html {
    overflow-y:scroll;
    font-family: "Open sans", arial, sans-serif;
    font-size:62.5%; /* 1em = 10px */
    background: #3c5984;
	max-width: 1000px;
    margin: 0 auto;
    height:100%;
}

body{
	height: 100%; /*ie fix*/
}

h1{
	font-size: 1.9em;
	font-weight: 600;
	color: black;
	margin-bottom: 1em;
	word-break: break-all;
	font-family: arial, sans-serif;
}

h2{
	font-size: 1.7em;
	font-weight: 600;
	color: black;
	margin-top: 1em;
	font-family: arial, sans-serif;
}

p {
	font-size: 1.3em;
	color: black;
	overflow: hidden; /* hide extremely long words - often spam */
}

.content p{
	color: gray;
}

article.ad p, article.efterlysning p {
	color: black;
}

.container {
    width: 100%;
    background: #3c5984;
    height:100%;
}
/*
ul.searchresults li{
	border-bottom: 1px solid #c0c0c0;
	margin: 1em 0;
	background: white;
	padding: 1em;
}

ul.searchresults li p {
	color: black;
}*/

.searchresult {
	background: white;
	padding: 1em;
	margin: 1em 0;
}

.searchresult p { color: black;}

.navbar{
	background: #3c5984;
	overflow: hidden;
	padding-left: 4em;
	width: 100%;
}

img[alt~="AdTech"]{
	display: none; /*döljer tomma rutor */
}

.navbar a{
	text-decoration: none;
}

.navbar ul, .navbar li{
	float: left;
}

.navbar ul{
	margin-right: 0.2em;
	font-size: 1.1em;
	margin-top: 1em;
}

.navbar p a{
	padding: 1em;
	display: inline-block;
	color: #c5d0e4;
}

.navbar a.active {
	color: white;
	background-color: #192f4f;
}

.searchdropdown {
	display: none;
}

div.logo a{
	color: white;
	font-size: 2.8em;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding: 1em 0.5em 0 0;
	font-weight: bold;
}

div.logo{
	display: block;
	margin: 1.2em 0 0.2em;
}

#search-form{
	float: right;
	margin: 1em 2em 0 0;
}

input#search_query {
	padding: 0.9em 0.2em 0.9em 0.5em;
	border: 0;
	width: 30em;
	border-radius: 0;
	transition: width 0.6s ease-in-out;
}

#search_submit{
	padding: 0.9em 0.9em;
	border: 0;
	background: #fbfbfb;
	margin: 0;
}

.ui-autocomplete {
	z-index: 999 !important;
}

#adarticles{
	/*background: red;*/
}

article.efterlysning{
	padding-top: 1em;
	word-wrap: break-word;
}

.nextefterlysning{
	font-size: 1.3em;
	float: right;
}

.songfound {
	margin: 2em 0;
	background: #028453;
}

.songfound h2{
	padding: 1em 0 0 1em;
}

.songfound p{
	background: #255233;
	padding: 1em;
}

.songfound p, .songfound h2, .songfound a, .songfound a:hover{
	color: white;
	margin: 0;
	text-decoration: none !important;
}

.grid-sizer { width: 50%; }

article.adpreview{
	margin-bottom: 1em;
	width: 49%;
}

article.ad {
	padding: 1em;
	background: white;
	border: 1px solid #e1e1e1;
}

article.ad img.vidthumb{
	width: 100%;
	margin-bottom: 1em;
}

article.ad table td{
	vertical-align: top;
	padding: 0 0.5em 0.3em;
	line-height: 20px;
}

article.ad table td:first-child{
	width: 6em;
}
article.ad table td:first-child p{
	color: #71757D;
}

article.ad table a{
	z-index: 2;
	position: relative;
}

article.ad .socialsection{
	float: left;
	border-top: 1px dotted #c0c0c0;
	width: 100%;
	z-index: 2;
	position: relative;
	padding: 0.6em 0 0;
	display: none;
}

article.adpreview:hover{
	background: white;
}

article.adpreview:hover img{
	opacity: 0.9;
}

.popularbrand {
	padding: 1em;
	background: white;
	border: 1px solid #e1e1e1;
	float: left;
	font-size: 1.3em;
	margin: 0.5em 0.5em 0em 0;
}

.popularad {
	padding: 1em;
	background: white;
	height: 90px;
}


.popularad .text{
	float:left;
}

.popularad img.vidthumb{
	width: 120px;
	float: right;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 1em;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.musicsearch{
	margin-left: 0.5em;
	position: relative;
}

.clickarea{
	position: absolute;
	text-decoration: none;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
}

.content{
	/*margin-right: 290px;*/ /* Gör rum för fast bredd reklam */
	padding: 2em 2em;
	background: #F5F5F8;
	min-height: 100%;
	position: relative;
	overflow: auto;
	height: auto;
}

body.mobile .content{
	margin-right: 0;
}

.beon{
	background:#E1E1E6; 
	width: 99%; 
	padding: 10px 0 20px; 
	margin: 5px 0 10px;
	height: 300px;
	text-align: center;
}

.gv-placement-sp{
	width: 320px;
	height: 250px;
	margin: 0 auto;
}

ins.adsbygoogle[data-ad-status='unfilled'] {  /* empty google ads*/
    display: none !important;
}

.ad-top{
	width: 100%;
	margin: 0 auto;
	position: relative;
	height: auto;
	background: #354B6E;
}

.ad-top > img {
	display: block;	
}

.ad-aside{
	background: #354B6E;
	width: 250px;
	height: 360px;
	margin-bottom: 1em;
}

p.annonstext{
	font-size: 0.8em;
	float: left;
	padding: 0.3em 0.5em;
	color: #B0C3DD;
}

.ad-mobile{
	width: 320px;	
}

.mobilemidad{
	position: relative;
	margin: 0 auto 0.3em;
	width: 32em;
}

.sidebar{
	position: absolute;
	right: 0px;
	margin-top: 0em;
	margin-right: 3.5em;
}

.stick {
    position:fixed;
    top: 0px;
}

.comment{
	padding: 1em;
	border-top: 1px solid #eee;
}

.comment #ny-kommentar {
	margin-left: 1.5em;
}

.comment p{
	color: black;
}

footer{
	margin-top: 2em;
	color: #526071;
	padding: 1em;
	overflow: auto;
	width: 100%;
}

footer .contactlink {
	border: 1px solid white;
	padding: 1.2em;
	border-radius: 4px;
	margin-bottom: 1em;
	margin-right: 1em;
	float: left;
}

footer a, footer a:visited, footer a:active{
	color: white !important;
}

.fb-like{
	float: left;
}

/* 
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/ 
*/

/* 
This element holds injected scripts inside iframes that in 
some cases may stretch layouts. So, we're just hiding it. 
*/

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
    
	margin-top: 2em;
}

.cookiesinfo{
	float: right;
	width: 150px;
}

.btn{
	border-width: 0;
	padding: 10px;
	border-radius: 3px;
	color: white;
	background-color: #f14f38;
	text-shadow: 0 1px rgba(255, 255, 255, 0.2);
	position: relative;
	display: block;
	width: 170px;
	text-align: center;
	margin-top: 20px;
	cursor: pointer;
	font-size: 1.3em;
	box-shadow: inset 0px -2px 0px #B42A2A;
}

a.btn{
	color: white;
}

.column {
	width: 70%;
	float: left;
}

.columnright {
	width: 25%;
	float: right;
}

table.efterlysningar{
	width: 100%;
}

p.date{
	color: gray;
}

p.username{
	color: gray;
	font-weight: bold;
}

.comment p.username,.comment p.date{
	display: inline;
}


table.efterlysningar .replies{
	width: 7em;
}

.efterlysningar td{
	padding: 1em;
}

table.efterlysningar tr:nth-child(odd),
table.hinktable tr:nth-child(odd) { 
	background: white; 
}
table.efterlysningar tr:nth-child(even),
table.hinktable tr:nth-child(even){ 
	background: hsl(239, 5%, 99%); 
}

table.hinktable{
	font-size: 1.2em;
	padding: 5px;
}

table.hinktable td, table.hinktable th{
	padding: 5px;
}

table.hinktable th{
	font-weight: bold;
	cursor: pointer;
}

table.hinktable td:first-child{
	width: 60%;
}

.MarkupPagerNav {
    margin: 2em 0 2em;
    font-size: 1.3em;
}
.MarkupPagerNav li {
	display: inline;
}

.MarkupPagerNav li a{
	padding: 0.5em 0.8em;
	color: #4e6cad;
}
                
.MarkupPagerNav li.MarkupPagerNavOn a,
.MarkupPagerNav li a:hover {
	background: #e1e2e9;
}

li.MarkupPagerNavNext a, li.MarkupPagerNavPrevious a{
	font-size: 1.5em; /* larger arrows */
	padding: 0em 0.6em 0.2em;
	background: #4e6cad;
	color: white;
	border-radius: 30px;
}

.song i.icon-remove{
	right: 0.4em;
	top: 0.2em;
	font-size: 1.8em;
	position: absolute;
}

.song i.icon-remove:hover{
	color: #ec512e;
	cursor: pointer;
}

.song{
	border: 1px solid #cbcbcb;
	padding: 10px;
	margin-bottom: 20px;
	overflow: auto;
	position: relative;
}

#addSong{
	margin-bottom: 10px;
}

#addSong:hover{
	cursor: pointer;
}

#ny-reklam, #ny-efterlysning{ /*visas i JS onload (mot spam). Är detta bra metod?*/
	display: none;
}

.Inputfields{
	width: 90%;
	
}

.InputfieldHeader{
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 0.5em;
	font-family: sans-serif;
}

#ny-forslag .InputfieldText{
	width: 30%;
	float: left;
	margin-right: 2em;

}

.InputfieldText{
	width: 100%;
	float: left;
	margin-right: 2em;
}


.InputfieldContent{
	margin-top: 0.5em;
	margin-bottom: 1.5em;
	width: 100%;
}

.InputfieldContent textarea,
.InputfieldContent input[type="text"]{
	width: 100%;
	padding: 5px;
	font-size: 13px;
	font-family: sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 0;
	border-radius: 0;
}

.chosen-choices input[type="text"]{
	height: auto !important;
}

/**
 * The edit link that appears when you are logged in.
 * It is recommended that you implement an edit button 
 * in your templates to make it easy to switch to and
 * from the admin control panel when editing pages. 
 *
 */
 
.adminnav, .adminnav:visited,
.adminnav:link, .adminnav:active {
	position: absolute;
	top: 0;
	padding: 5px 6px; 
	background: #db1174; 
	color: #fff; 
	display: block;
	font-weight: bold; 
}

#adminlink {
	left: 0px; 
}

#editpage {
	left: 56px; 
}

#hinkenlink {
	left: 170px;
}

#adminlink:hover, 
#editpage:hover, 
#hinkenlink:hover {
	background: #ffffcc;
	color: #000; 
}
	
/**
Session meddelanden
**/

.NoticeMessage{
	background: #fffed3;
	padding: 10px;
	font-size: 1.3em;
	margin-bottom: 10px;
	border: 3px solid hsl(57, 100%, 80%);
}

/**
 * WireFatalError is a class that ProcessWire will use to output
 * fatal errors in the design, but only if debug mode is on, or if
 * you are logged in as a superuser. 
 *
 */
.WireFatalError {
	background: #a30000; 
	color: #fff; 
	padding: 1em; 
	position: relative;
	z-index: 9999;
}

.NoticeError {
	display: none;	
}

span.ui-state-error{
	 background: #a30000;
	 color: white;
	 padding: 0 5px;
}

.InputfieldHeaderHidden{
	display: none;
}

#ProCacheDebug{
	display: none;
}

/**
HONEYPOT-FÄLLA FÖR "LÄGG TILL NY REKLAM"

*/

.Inputfield_sendemail {
	display: none;       
}

/* Responsive */
/* note: media queries based off 16px */

@media (min-width:61em) { /* 1040px */
	.ad-mobile {
		display: none !important;
	}
}

@media (max-width:61em) { /* 1040px */

	.ad-desktop {
		display: none;
	}

	input#search_query {
		width: 20em;
	}
    
    .sidebar{
    	margin-right: 0em;
    }
    
    .navbar{
    	padding-left: 2em;
    }
    
    .content{
    	/*margin-right: 254px;*/ /* Gör rum för fast bredd reklam */
    	padding: 2em 1em;
    }
    
    .MarkupPagerNav .PagerStep:nth-child(n+5) {
    	display: none;
    }
    
}

@media (max-width:40em) {



	input#search_query {
		width: 11.5em;
	}

	#search-form {
		margin-right: 1em;
	}
	
	.grid-sizer { width: 100%; }
	
	article.adpreview{
		padding: 1em;
		width: 100% !important;
	}
	
	html,body { -webkit-text-size-adjust:none; }
	
	p.annonstext{
		font-size: 0.9em;
	}

	.ad-top{
	}
	
	.navbar{
		padding-left: 0.5em;
	}
	
	
	.InputfieldText{
		width: 100%;
	}
	
	.content{
		padding: 2em 0.5em;
		/*margin-right: 250px;*/ /* Gör rum för fast bredd reklam */
	}
	.sidebar{
	}

	.navbar p a{
		padding: 1em 0.7em;
	}
	
	#ny-forslag .InputfieldText{
		width: 100%;
		float: left;
		margin-right: 2em;
	}
	
	.navbar ul{
		margin-top: 0;
	}
        
    div.logo{
    	padding: 1em 0;
	}

	.column {
		width: 100%;
	}

	.columnright {
	width: 100%;
	float: right;
}
	
        
}

@media (max-width:24em) { 

	#search_query::-webkit-input-placeholder {
   		color: white; /* fake-remove placeholder, since it won't fit */
	}

	.searchdropdown {
		display: block;
	}

	input#search_query {
		width: 80%;
		margin: 0 0 1em 1em;
	}

	#search-form {
		width: 100%;
		display: none;
	}

	.content{
		padding: 1em;
	}
	
	.mobilemidad{
		margin-left: -1em;
	}
	
	.navbar{
		padding-left: 1em;
	}

	.beon{
		margin-left: -1em;
		width: 107%; 
	}



        
}