/*
Theme Name: Nybro kommun 1.0
Theme URI: http://nybro.se
Author: Anders Jonasson/Nybro kommun - Wilson Creative Kalmar
Author URI: http://www.nybro.se
Description: This theme was developed for Nybro kommun by Nybro kommun 2014 when they was changing webplatform from EpiServer to WordPress.
Text Domain: nybrokommun
*/

body {}

/* Preloader för iframe */
.iframe_container{
	background-image:url(/wp-content/themes/nybrokommun/images/preloader-large.gif);
	background-repeat:no-repeat;
	background-position:10px 10px;
}

/* bildspel bild-länk startsida*/
a.slider-image-link{
	text-decoration:none; 
	border:none; 
	display:block; 
	text-align:center;
	padding-top:10%;
	margin:auto;
	width:100%;
}
a.slider-image-link:hover{
	text-decoration:none; 
	border:none; 
}
a.slider-image-link img{
	max-width:600px;
}
@media(max-width: 1300px) {
	a.slider-image-link{
		padding-top:5%;
	}
}

iframe{ /* Kartor, Matsedel med mera */
	width:100%;
	background-color:transparent;
	min-height:400px;
}

.hide{
	display:none;
}
.clear{
	clear:both;
}

/* SKRIV UT (eget sidhuvud för utskrift) */
#print_masthead{
	display:none;
}

/* Bild/ikon i huvudkategori */
.top_category_icon{
	color:#d45d47;
	margin-bottom:30px;
}

/*Standardbild i inlägg */
.post_topimage{
	width:100%;
	height:260px;
	overflow:hidden;
	border-top: 4px solid #d45d47;
	display:block;
	background-repeat:no-repeat;
	background-position:center 0px;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
}
/* utan standardbild i inlägg */
header .orange-top{
	margin-bottom:24px
}
#single-post-content header .orange-top{
	margin-bottom:0px;
}

/*Inlägg i list-läge*/
.category-pages{
	margin-top:25px;
}
.category-pages h1{
	padding-bottom:20px;
}

/*Bildgalleri*/
.gallery{
	padding-top:0em;
	padding-left:3px;
}
/*Galleri bild-block*/
.gallery .gallery-item{
	margin-bottom:2px;
}
/*Galleri bild*/
.gallery .gallery-icon{
	overflow:hidden;
	padding:0px;
	margin:auto;
}
.gallery .gallery-icon a{
	border-bottom:none;
}
.gallery .gallery-icon a:hover{
	opacity:0.9;
}
.gallery .gallery-icon a img{
	border:0 !important;
}
/*Galleri bild-text*/
.gallery .gallery-caption{
	font-size:0.9em;
}
/*Stor skärm*/
.gallery .gallery-icon{
	width:170px;
	height:170px;
}
.gallery .gallery-icon a img{
	min-width:390px;
	max-width:390px;
	margin-left:-90px;
}
/*
/*Mellan skärm*/
@media only screen and (max-width: 1200px) {
	.gallery .gallery-icon{
		width:135px;
		height:135px;
	}
	.gallery .gallery-icon a img{
		min-width:310px;
		max-width:310px;
		margin-left:-73px;
	}
}
/*Lite mindre skärm (Platta) */
@media only screen and (max-width: 767px) {
	.gallery .gallery-icon{
		width:95%;
		height:175px;
	}
	.gallery .gallery-icon a img{
		min-width:400px;
		max-width:400px;
		margin-left:-91px;
	}
}
/*liten skärm (Mobil) */
@media only screen and (max-width: 600px) {
	.gallery .gallery-icon{
		width:95%;
		height:130px;
	}
	.gallery .gallery-icon a img{
		min-width:310px;
		max-width:310px;
		margin-right:10%;
	}
}



/* Bilder i satsytan */
.alignleft {
	float:left;
	margin-right:20px;
	margin-bottom:20px;
	text-align:center;
}
.alignright{
	float:right;
	margin-left:20px;
	margin-bottom:20px;
	text-align:center;
}
.aligncenter{
	display:block;
	margin:auto;
	text-align:center;
	margin-bottom:20px;
	text-align:center;
}
@media only screen and (max-width: 600px) {
	.alignnone{
		width:100% !important;
	}
	img.size-medium{
		width:100%;
		float:none;
		display:block;
		margin:auto;
		margin-bottom:20px;
	}
}
@media only screen and (max-width: 1200px) {
	.alignnone{
		width:100% !important;
	}
	img.size-large{
		width:100%;
		min-width:100%;
		float:none;
		display:block;
		margin-left:0px;
		margin-right:0px;
	}
}


/* Postens datum och författare */
#post_footer{
	clear:both;
	margin-top: 2.4em;
	padding-top:1em;
	padding-bottom:1em;
	border-top:dotted 1px #999;
}


/*Rubriker i inlägg*/
#single-post-content h1, #single-post-content h2, #single-post-content h3{
	padding-top:0.9em;
}


/* PLUGINS OCH TILLÄGG */

/* Ellibot formulär */
#ellibot_forms{
	margin-top:1.6em;
}
#ellibot_forms input[type="text"], #ellibot_forms input[type="email"], #ellibot_forms input[type="tel"],#ellibot_forms input[type="date"], #ellibot_forms input[type="datetime"],#ellibot_forms input[type="month"],#ellibot_forms input[type="number"],#ellibot_forms input[type="password"],#ellibot_forms input[type="range"],#ellibot_forms input[type="search"],#ellibot_forms input[type="time"],#ellibot_forms input[type="url"],#ellibot_forms input[type="week"]{
	width:100%;
	border:dotted 1px #999;
	float:none;
	clear:both;
}
#ellibot_forms input[type="submit"]{
	margin-top:0.9em;
	padding:0.2em;
	padding-left:1em;
	padding-right:1em;
	float:left;
	clear:both;
}
#ellibot_forms input[type="checkbox"]{
	margin-top:0.6em;
	width:1em;
	height:1em;
	cursor:pointer;
	float:none;
	clear:both;
}
#ellibot_forms textarea{
	width:100%;
	border:dotted 1px #999;
	float:none;
	clear:both;
	height:7em;
}
#ellibot_forms  h3{
	text-transform:none;
	font-weight:normal;
	font-size: 1em;
	float:none;
	clear:both;
	color:#666;
	font-weight:bold;
}
#ellibot_forms label{
	cursor:pointer;
	float:none;
	clear:both;
}
#ellibot_forms .settings-error{
	color:#333;
}

/*Checkboxar visas i kolumner */
.forms_checkbox_in_rows #ellibot_forms .ellibot_forms_checkbox{
	width:50%;
	float:left;
}


/* SITEMAP (webbplatskarta) */
#sitemap{
	margin-top:30px;
	clear:both;
}
#sitemap ul li b a{
	font-weight:bold;
}


/* ALFABET A-Ö (webbplatskarta) */
#alphabet{
	margin-top:30px;
	clear:both;
}
#alphabet ul{
	margin:0px;
	padding:0px;
	list-style-type:none;
}
#alphabet ul li{
	/*
	text-overflow: ellipsis;
	overflow:hidden;
	white-space: nowrap;
	*/
}
#alphabet ul li b a{
	font-weight:bold;
}

/* FIL-LISTA*/
.filelist-item{
	/*background-color:#fefefe;*/
}
/*ikon*/
.filelist-item {
	color: #d45d47;
}

/* Informationsruta på startsidan*/
#information{
	background-color: #eff3f5;
	border: 1px solid #e4e7e9;
	height:auto !important;
	padding-left:20px;
	padding-right:20px;
	text-align:left;
}
#information .filelist-item{font-size:0.875em !important;}
#information p:last-child{margin-bottom:1em; padding-bottom:0;}
@media only screen and (max-width: 767px) {
	#information{
		padding:20px !important;
	}
	#information .filelist-item{
		margin:0 !important; 
	}
}


/*SÖKRESULTAT*/
#google_search_results{
	max-width:600px;
}
#google_search_results p:first-letter{
    text-transform: uppercase;
}


/* ELLIBOT GATUSÖK */
#ellibot_street_search{
	margin-top:1.6em;
}
#ellibot_street_search input[type="search"]{
	width:60%;
	margin-top:1em;
	margin-bottom:1.6em;
}
#ellibot_street_search #ellibot_street_search_map{
	margin-top:2em;
	margin-bottom:1.6em;
}

/* META GOOGLE MAPS*/
.ellibot_google_map{
	font-size:0.9em;
	margin-top:2em;
	background-position:10px 10px;
}
.ellibot_google_map iframe{
	height:500px;
	margin:0px;
	padding:0px;
}

/* ELLIBOT KOPPLING */

/*i högerspalt*/
#ellibot_combine ul{
	padding-left:20px;
	text-indent:-20px;
}
#ellibot_combine ul li{
	clear:both;
	display:block !important;
	line-height:2em;
}
#ellibot_combine ul li.ellibot_combine_text{
	text-indent:0;
	margin-left:-20px;
}
/*i satsyta*/
#ellibot_combine_in_content p b.related_content{
	color: #44697d;
	/*d45d47*/
}
#ellibot_combine_in_content{
	background-color:#fafafa;
	border:solid 1px #ededed;
	padding:1em;
	margin-top: 2.2em; 
	clear:both;
}
#ellibot_combine_in_content ul{
	padding:0;
	margin:0;
	padding-left:20px !important;
	text-indent:-20px;
}
#ellibot_combine_in_content ul li{
	padding:0;
	margin:0;
	clear:both;
	display:block !important;
	line-height:2em;
	padding-bottom:1em;
}


/* BOOLI (bostäder) */
#booli{
}
#booli .booli_list_object{
	font-size:0.9em;
	vertical-align:middle;
	margin-bottom:10px;
}
#booli .booli_list_object span{
	display: inline-block;
    vertical-align: middle;
    float: none;
} 
#booli #booli_full_object{
	background-color:#fafafa;
	border:solid 1px #ededed;
	padding:1em;
	font-size:0.9em;
}



/* OBJEKTVISION (mark,tomter) */
#objektvision{
}
#objektvision .objektvision_list_object{
	font-size:0.9em;
	vertical-align:middle;
	margin-bottom:10px;
}
#objektvision .objektvision_list_object span{
	display: inline-block;
    vertical-align: middle;
    float: none;
} 



/* Politikerportalen */
#politikerportalen{
}
#politikerportalen .eventBox{
	background-color:#fafafa;
	border:solid 1px #ededed;
	padding:1em;
	padding-top:0px;
	margin-top:1em;
}
#politikerportalen .eventBox h2{
	margin-top:0;
	padding-top:0;
}
#politikerportalen .contactBox{
	background-color:#fafafa;
	border:solid 1px #ededed;
	padding:1em;
	font-size:0.9em;
	margin-top:1em;
}

/* NYBRO24*/
.nybro24_image{
	max-width:262px;
}

/*FANCYBOX FIX (lägger sig över de övriga lagren) */
#fancybox-overlay, #fancybox-wrap{
	z-index:90000000000000 !important;
}
#fancybox-wrap a{
	border-bottom:none;
}