/*
Theme Name: Mikroskop 2014
*/




@font-face {
  font-family: 'ExoBold';
  font-style: normal;
  font-weight: 800;
  src: local('Exo ExtraBold'), local('Exo-ExtraBold'), url(http://themes.googleusercontent.com/static/fonts/exo/v2/JZqdj-HRS4iJsSlrSwRCxA.woff) format('woff');
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  
  @font-face {
    font-family: 'ExoBold2' !important;
    src: url('/wp-content/themes/twentyfourteen/fonts/exo-extrabold-webfont.svg') format('svg');
  }

	h1, .archive-title {
		font-family: 'ExoBold', sans-serif !important;
	}
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(http://themes.googleusercontent.com/static/fonts/ubuntu/v5/_xyN3apAT_yRRDeqB3sPRg.woff) format('woff');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://themes.googleusercontent.com/static/fonts/ubuntu/v5/0ihfXUL2emPh0ROJezvraD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

iframe {
	width: 100% !important;
	height: 300px;
}

* {
-xwebkit-tap-highlight-color: rgba(0,0,0,0);
}

article,footer,header,nav,section {
	display:block;
}

.onlyprint {
	display:none;
}

html {
	xfont-size:100%;
	overflow-y:scroll;
	-webkit-text-size-adjust: 100%;
}
body {
	font-size:16px;
	line-height:1.5;
	margin:0;
	font-weight: light;
	overflow-x:hidden;
	background-color: #f3f3f3;
}
body,button,input,select,textarea {
	color:#000;
	font-family:Ubuntu, sans-serif;
}
img {
	border:0 none;
}



h1, .archive-title {
	font-size:28px;
	font-family: 'ExoBold', sans-serif;
	font-weight: 800;
	margin-top: 0px;
	margin-bottom: 10px;
	line-height: 1.25;
}

h2 {
	font-size:24px;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 800;
	letter-spacing:-1px;
}

.archive-title {
	clear:both;
}

h3, h4 {
	font-size: 18px;
	letter-spacing:-0.7px;
}
/* h4 är samma som h3, men med clear both */
h4 {
	clear: both;
}


p {
	-moz-hyphens:auto;
}
abbr[title] {
	border-bottom:1px dotted;
}
pre {
	white-space:pre-wrap;
	word-wrap:break-word;
}
ul,ol {
	margin:1.5em 0;
	padding:0;
}
.footer-widget ul {
	list-style:none outside none;
	margin:0;
}
sub,sup {
	line-height:0;
	position:relative;
	vertical-align:baseline;
}
sup {
	top:-0.5em;
}
sub {
	bottom:-0.25em;
}
form {
	border:0 none;
	margin:0;
}
button,input,select,textarea {
	font-size:100%;
	margin:0;
	vertical-align:baseline;
}
button,input {
	line-height:normal;
}
button,input[type="button"],input[type="reset"],input[type="submit"] {
	cursor:pointer;
}
input[type="checkbox"],input[type="radio"] {
	padding:0;
}
input[type="search"] {
	-moz-box-sizing:content-box;
}

textarea {
	overflow:auto;
	vertical-align:top;
}
.clearfix:before,.clearfix:after,nav[role="navigation"] .menu ul:before,nav[role="navigation"] .menu ul:after {
	content:"";
	display:table;
}
.clearfix:after,nav[role="navigation"] .menu ul:after {
	clear:both;
}
.clearfix,nav[role="navigation"] .menu ul {
}



.footer-widget li {
	color:#444444;
	padding:3px 0;
	display:block;
}
.footer-widget ul {
	margin-top:0.75em;
	float:left;
	margin-right: 50px;
}
.footer-widget ul:last-child {
	margin-right: 0;
}

#container {
	clear:both;
	margin:0 auto;
	xmax-width:90%;
	overflow:hidden;

	max-width:1024px;
	
}
.col60,.col140,.col220,.col300,.col380,.col480,.col540,.col620,.col700,.col780,.col860,.col940 {
	padding:0 5%;
	box-sizing: border-box;
}

a {
	color:#35a4db;
	text-decoration:underline;

}
.post_content a {
	font-weight: bold;
}

a:hover,a:focus {
	color:#1584BB;
	text-decoration:underline;
}
a:link {
}

/*
h1,h2,h3,h4,h5 {
	color:#333333;
	font-weight:500;
	line-height:1.2em;
}
h1,.h1 {
	font-size:2.571em;
	line-height:1.278em;
}
h2,.h2 {
	font-size:2.2em;
	line-height:1.333em;
	margin-bottom:0.75em;
}
h3,.h3 {
	font-size:1.4em;
	line-height:1.5em;
}
h4,.h4 {
	font-size:1em;
	line-height:1.429em;
}
h5,.h5 {
	font-size:0.846em;
	line-height:2.09em;
	margin:20px 0 25px;
	padding:30px 0 0;
}
*/
img {
	xheight:auto;
	max-width:100%;
	width:auto;
}

.navigation-bars {
	max-width: 1024px;
	margin:0 auto;
	padding:0;

	background-color: #0274BE;
    background: url("/wp-content/themes/twentyfourteen/img/canvas-blue.png") repeat scroll 0 0 rgba(0, 0, 0, 0);	
    xborder: 1px solid red;
	
}
.navigation-bars a {
	color:#000;
	text-decoration:none;
}
.navigation-bars ul {
	display:block;

}

/* box shadow fx */
.page-wrapper
{
	max-width: 1024px;
	margin:0 auto;
	padding:0;

  	position:relative;  
  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);   
  	/*  
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	*/
}

/*
.page-wrapper:before, .page-wrapper:after
{
	content:"";
    position:absolute; 
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:10px;
    bottom:10px;
    left:0;
    right:0;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
} 
.page-wrapper:after
{
	right:10px; 
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg); 
       -moz-transform:skew(8deg) rotate(3deg);     
        -ms-transform:skew(8deg) rotate(3deg);     
         -o-transform:skew(8deg) rotate(3deg); 
            transform:skew(8deg) rotate(3deg);
}
*/


#navmain {
	margin: 0;
	xborder: 1px solid red;
}
.navmain {
	font-size:14px;
	font-weight: bold;
	list-style:none outside none;
	position:relative;
	width:100%;
	z-index:1002;
}
.navmain li {
	display:inline-block;
}
.navmain a {
	outline:medium none;
	z-index:10;
	height: 100%;
}
.navmain>li>a {
	color:#F8F8F8;
	display:inline-block;
	padding:15px 20px;
	text-decoration:none;
	height: 100%;
}

.navmain>li:hover>a {
	background:none repeat scroll 0 0 rgba(255,255,255,0.2);
}
.navmain>li>a:active {
	background:none repeat scroll 0 0 rgba(255,255,255,0.4);
}




.navmain>li.logo a  {
	padding: 15px;
	max-width:100%;
	border: none;
    background-size: auto 100%; 
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}



.navmain>li.logo a img {
	max-width:100%;
	max-height: 50px;
	margin-right: 20px;
}

ul.navsub {
	font-size:12px;
	list-style:none outside none;
	margin:0 auto;
	max-width:1250px;
	padding:0;
	xposition:relative;
	width:100%;
	z-index:1002;
	xpadding-top: 10px;
	background-color: #fff;
	xborder:1px solid red;

	width: 100%;
	display: table;
	table-layout: fixed; 
	border-collapse: collapse;
	border: none;	
	width: 100%;
	Xborder-bottom: 1px solid rgba(0,0,0,0.1);
	
}

.navsub li {
	display: table-cell;
	xdisplay:inline-block;
	xfloat:left;
	xpadding-top: 20px;
	background-color: #fff;
	border-right:1px solid #ddd;
	width: 2%;
}
.navsub a {
	outline:medium none;
	z-index:10;
	xbackground-color: #fff;
}
.navsub>li>a {
	xcolor:#F8F8F8;
	display:inline-block;
	padding:10px 20px 10px 20px;
	text-decoration:none;
	border-bottom: 0.3125em solid #C9E9E5;
	
	text-transform:uppercase;
	
	xfont-weight: bold;
	width: 100%;
	text-align:center;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	text-align: center;
}


.navsub>li:nth-child(1)>a, .meta-right.cat1 a  {	border-color: #ff8080;} .navsub>li:hover.cat1>a {	background-color: #ff8080; }
.navsub>li:nth-child(2)>a, .meta-right.cat2 a {	border-color: #ffaa80;} 
.navsub>li:nth-child(3)>a, .meta-right.cat3 a {	border-color: #ffd580;}
.navsub>li:nth-child(4)>a, .meta-right.cat4 a {	border-color: #ffff80;}
.navsub>li:nth-child(5)>a, .meta-right.cat5 a {	border-color: #80d5ff;}
.navsub>li:nth-child(6)>a, .meta-right.cat6 a {	border-color: #aaff80;}
.navsub>li:nth-child(7)>a, .meta-right.cat7 a {	border-color: #d580ff;}
.navsub>li:nth-child(8)>a, .meta-right.cat8 a {	border-color: #ff80ff;}
.navsub>li:nth-child(9)>a, .meta-right.cat9 a {	border-color: #ffaa80;}

/*
*/

.meta-right {
	font-size: 14px;

}
.meta-right a {
	border-left: 1.2em solid;
	padding-left: 0.5em;
}


.navsub>li:last-child {
	border-right: none;
}

.navsub>li>a:hover {
	background:none repeat scroll 0 0 #eee;
	color:#000;
}

.navsub>li>a:active {
	background:none repeat scroll 0 0 #ccc;
	xcolor:#F8F8F8;
}

.navsub>li>a {
	xbackground:none repeat scroll 0 0 #ccc;
}

.navsub>li.right {
	float:right;
}
.navsub>li.home {
	border-left:1px solid #7397BB;
}



/* Nav bar for mobile */

.mobile-menu-bar {
	max-width: 1000px;
	margin:0 auto;
	padding:0;
	height: 54px;
	display: none;
	background-color: #0274BE;
    background: url("/wp-content/themes/twentyfourteen/img/canvas-blue.png") repeat scroll 0 0 rgba(0, 0, 0, 0);	
}

.mobile-menu-bar .site-title a {
    background-image: url("/wp-content/themes/twentyfourteen/img/logo6.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    display: block;
    float: left;
    width: 200px;
    height: 34px;
    margin-bottom: 0;
    overflow: hidden;
    text-indent: -9999px;
    xborder:1px solid green;
    border: 10px solid transparent;
}




.menu-icon {
    margin-right: 13px;
    padding-right: 40px;
    position: relative;
    line-height: 40px;
    height: 40px;
	float:right;
}
.menu-icon a {
	text-decoration:none;
	color: #fff;
}
.border-menu:after {
    border-bottom: 0.125em solid #fff;
    border-top: 0.375em double #fff;
    content: "";
    font-size: 40px;
    height: 0.125em;
    position: absolute;
    right: 0;
    top: 0.4em;
    width: 32px;
}




	
.navigation-bars {
	xclear:both;
}

/*-----------------------*/





#content {
	background:none repeat scroll 0 0 #FFFFFF;
	position:relative;
}
.hentry {
	position:relative;
}
.meta {
	
	margin:-5px 0 3px;
}
.postmeta-categories {
	border-bottom:1px solid #EEEEEE;
	border-top:1px solid #EEEEEE;
	color:#777777;
	margin:10px 0;
	padding:10px 0;
}
.postmeta-categories {
	margin:0 0 22px;
}
.meta-right {
	float:right;
}

/*
.post-title, h1 {
	font-size:2.3em;
	font-weight:normal;
	margin:0 0 3px;

}

.post-title-small {
	font-family:Ubuntu, sans-serif;
	font-weight: bold;
	font-size:1.1em;
	line-height:1.3em;
	margin-bottom:5px;
	padding-left:75px;
}
*/

.by {
	color:#777777;
	padding:0;
}
.home-thumb {
	max-width:100%;
	padding:0 0 5px;
}
.post_content h2,h3,h4,h5 {
	line-height:1.333em;
	margin:15px 0 5px 0;
	
	font-weight: bold;
}


/*
.post_content h2 {
	font-size:1.8em;
}
*/
.post_content {
	border-bottom:1px solid #ddd;
	xmargin-bottom:35px;
	xpadding-bottom:20px;
}
.post_content p,
.archive p {

	
	margin:0;
	padding:0 0 20px;
}

/*
.post_content img {
	height:auto;
	margin:0 0 1.5em;
	max-width:100%;
}
*/


.post_content ul,.post_content ol {
	
	line-height:1.7em;
	list-style-position:outside;
	margin:0.5em 2.5em 2em;
	padding:0;
}
.thumb-text:hover,.thumb-text-post:hover {
	background:none repeat scroll 0 0 #444444;
}
.alignleft,UNUSEDimg.alignleft {
	float:left;
	margin:0 20px 20px 0;
}
.single .hentry section {
	border-bottom:medium none;
	margin-bottom:0 !important;
}
.single .post header,UNUSED.page .hentry header {
	margin-bottom:10px;
	padding-bottom:0;
}
.single .post footer {
	margin:0 -2.857em;
	padding-bottom:0.714em;
	padding-left:2.857em;
	padding-right:2.857em;
	position:relative;
}


.sidebar,#main {
	overflow:hidden;
}
.sidebar {
	padding: 35px 40px 20px 50px;
}

.sidebar a img {
	margin:0 0 32px;
}
.widget {
	background:none repeat scroll 0 0 #eee;
	clear:both;
	margin:0 0 35px 0;
	padding:0;
	border-radius: 10px;
	font-size:14px;
}
.widgettitle {
	background:none repeat scroll 0 0 #3da1f3;
	color:#FFFFFF;
	margin:0;
	padding:10px 15px;
	position:relative;
	border-radius: 10px 10px 0 0;
	font-weight: bold;
}
.widgettitle a {
	color:#FFFFFF;
}
.widgettitle a:hover {
	color:#555555;
	opacity:1;
}
.widgettitle .right {
	color:#555555;
	float:right;
	
}
.widget p {
	padding: 15px;
	margin: 0;
	
}
.widget, .tab-container, .related {
	max-width: 520px;
	clear:both;
}

.footer-widget {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	color:#AAAAAA;
	display:inline;
	float:left;
	margin:0;
	padding:0 5%;
	position:relative;
	xwidth:50%;
}
.footer-widgettitle {
	border:medium none;
	clear:both;
	
	margin:0;
	padding:20px 0 0;
	position:relative;
}

form {
	padding: 0 15px;
}
.widget form p {
	padding: 0;
}
.widget form input {
	width: 100%;
}

.widget small {
	padding: 5px 0 10px 0;
	text-align: center;
	display:block;
}
.widget form input.wysija-submit {
	padding: 5px;
}

.wysija-msg {
	padding: 0 15px;
	
}

.wysija-required,
.wysija-paragraph .abs-req {
	display:none;
}

#subscribe-text:hover {
	background:none repeat scroll 0 0 #FFFFFF;
}
.subscribe-button {
	background:none repeat scroll 0 0 #555555;
	border:1px solid #555555;
	color:#FEFEFE;
	xdisplay:block;
	
	font-weight:bold;
	margin:10px 0;
	padding:12px;
	text-decoration:none;
	text-transform:uppercase;
	width:100%;
	border-radius: 15px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
.subscribe-button:hover {
	background:none repeat scroll 0 0 #587898;
	border:1px solid #587898;
}
#searchform #searchsubmit:hover {
	color:#222222;
}
ul.tabs {
	float:left;
	list-style:none outside none;
	margin:0;
	padding:0;
	position:relative;
	z-index:1000;
}
ul.tabs li {
	background-color:#FFFFFF;
	float:left;
	margin:0;
	overflow:hidden;
	padding:0;
	position:relative;
}
ul.tabs li a {
	color:#444444;
	display:block;
	
	outline:medium none;
	padding:6px 15px 5px;
	text-decoration:none;
}
html ul.tabs li.active,html ul.tabs li.active a:hover {
	background-color:#F2F2F2;
}
html ul.tabs li.active a:link {
	color:#444444;
}
.tab-container {
	background-color:#F2F2F2;
	float:left;
	margin-bottom:32px;
	position:relative;
	width:100%;
	z-index:999;
}
.tab-content {
	padding:20px 20px 0;
}

.tab-content .tabs-stream a {
	text-decoration: none;

}

.tabs-stream .post_content {
	border-bottom:medium none;
	margin-bottom:0.714em;
}
.tabs-stream .home-thumb {
	float:left;
	margin-bottom:0;
}
.tabs-stream .meta {
	color:#999999;
	
	margin-bottom:0;
	padding:2px 0 0 75px;
}
.tabs-stream {
	border-bottom:1px solid #E5E5E5;
	margin-bottom:20px;
	padding-bottom:0;
}
.tabs-stream:last-child {
	margin-bottom:0;
}
.tabs-stream a.home-thumb {
	width:55px;
}
.tabs-stream .home-thumb img {
	height:auto;
	margin-bottom:0;
	margin-top:5px;
	max-width:55px;
}
.tabs-stream .post_content {
	border-bottom:medium none;
	margin-bottom:0;
}
.tabs-stream .home-thumb {
	float:left;
	margin-bottom:0;
}
#widget-125ads {
	background:none repeat scroll 0 0 #F2F2F2;
	clear:both;
	margin:0 0 32px;
	padding:10px 0 12px 19px;
}
#widget-260ads {
	margin:0;
	padding:0;
}
.footer {
	background:none repeat scroll 0 0 #222222;
	clear:both;
	color:#FFFFFF;
}
.footer a {
	color:#858585;
}
.footer a:hover {
	color:#EEEEEE;
}
.footer-widgettitle {
	color:#BBBBBB;
}
.attribution {
	xbackground:none repeat scroll 0 0 #F3F3F3;
	color:#aaa;
	
	margin:0;
	padding:30px;
	text-align:center;
}
.attribution a {
	color:#658DB5;
}
.attribution a:hover {
	color:#222222;
}
.attribution p {
	margin:0;
}


/* niclas custom från articles */
.article-image-div {
    display: block;
    float: right;
    padding-bottom: 15px;
    padding-left: 25px;
}


.author-box h2 {
	margin-top: 0px;
	margin-bottom: 5px;
	letter-spacing: -0.1px;
}

.author-box {
	max-width: 520px;
	border: 1px solid #ddd;
	background-color: #eee;
	padding: 20px;
	margin-top: 20px;
	border-radius: 10px;
}
.author-box .share-container {
	margin-top: 10px;
}
.author-box a {
	text-decoration:none;
}

.photo-frame {
    background: none repeat scroll 0 0 #FFFFFF;
    xborder: 1px solid #aaa !important;
    border-radius: 10px;
    xbox-shadow: 2px 2px 8px #CCCCCC;
    margin-bottom: 4px;
    padding: 0px;
    width: 100px;
    height: 100px;
}



.share-wrapper h2,
.author-box h2 {
	font-size: 16px;
	font-weight: bold;
}

.author-box h2 {
	font-family:Ubuntu, sans-serif;
}

.related h2 {
	xfont-size: 1.8em;
	font-weight: bold;
}

/* Relaterade artiklar */

.related article {
	width: 30%;
	margin-right: 5%;
	float:left;
}
.related article:last-child {
	margin-right: 0%;

}
.related {
	xborder-top: 1px solid #ddd;
	margin-top: 30px;
}

.related a {
	text-decoration:none;
	font-weight: bold;
}
.related a:hover,
.author-box a:hover {
	text-decoration:underline;
}

.related .related-title {
	margin-top: 10px;
	letter-spacing: -0.7px;

}


.related a img {
	height: auto;
	display: block;
	max-height: 81px;
	min-height: 81px;
	border-radius: 5px;

}




/* Arkiv över en hel kategori - visas en per rad */

.archive section {
	border: 0;
	margin-bottom: 20px;
}





div.archive {
	margin-top: 20px;
}
div.archive .archive-title {
	margin-top: 10px;

}

.archive-thumb {
	width: 100%;
	xoverflow: hidden;
	xborder: 1px solid #bbb;
	xwidth: 100%;
	max-height: 200px;
	overflow: hidden;
	border: 0px solid #ddd;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	xborder-radius: 10px;
}

.archive-thumb img {
	xmax-height: 200px;
	height: auto;
	border-radius: 10px;
	display: block;

    -moz-box-sizing: border-box;
    border: 1px solid #C6C6C6;	
}




.archive-intro {
	margin-bottom: 0px;
}

.archive-title {
	xpadding-top: 5px;
	font-size: 24px;
	xline-height: 1.3em;
}

.archive-title a {
	color: black;
	text-decoration: none;
}
.archive-title a:hover {
	text-decoration: underline;

}


.archive article {
	width: 100%;
	xmargin-right: 5%;
	float:none;
	xpadding-top: 30px;
	padding-bottom: 30px;
	padding-top: 0px;
	xmargin-bottom: 20px;
	xborder-top: 1px solid #ccc;
}



.archive-noimage {
	xpadding-top: 20px;

}

.archive-article-intro {
    xfont-size: 16px;
    xline-height: 24px;
}
.archive-article-intro a {
	xdisplay: block;
	white-space:nowrap;
	text-decoration:none;
	font-weight: bold;

}



.share-wrapper {
	padding: 20px;
	
}

.share-wrapper h2 {
	xdisplay:none;
}

.share-wrapper {
	xborder-top: 1px solid #ddd;
	xborder-bottom: 1px solid #ddd;
	padding-top: 0px;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.share-container {
	display: inline-block;
	margin-right: 10px;	
	xfont: 13px 'Helvetica Neue',Arial,sans-serif;
	font-size: 13px;
	font-weight: normal;
	line-height: 100%;
}


/* Twitter Button Styles */
.share-button {
margin-right: 0px;
max-width: 100%;
display: inline-block;
vertical-align: bottom;
zoom: 1;
white-space: nowrap;
text-align: left;
position: relative;
background-color: #F8F8F8;
background-image: -webkit-gradient(linear,left top,left bottom,from(white),to(#DEDEDE));
background-image: -moz-linear-gradient(top,white,#DEDEDE);
background-image: -o-linear-gradient(top,white,#DEDEDE);
background-image: -ms-linear-gradient(top,white,#DEDEDE);
background-image: linear-gradient(top,white,#DEDEDE);
border: #CCC solid 1px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
xcursor: pointer;
color: #333 !important;
font-weight: bold;
	xborder:1px solid red;
	
}


.share-button a {
	text-decoration: none;
	color: #666;
	padding: 6px 5px 6px 28px;
	display: block;

}

.share-button a:hover,
.share-button a:active {
	text-decoration: none !important;
}

.share-button:hover,
.share-button:active {
	text-decoration: none !important;
	border-color: #BBB;
	background-color: #F8F8F8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#D9D9D9));
	background-image: -moz-linear-gradient(top,#F8F8F8,#D9D9D9);
	background-image: -o-linear-gradient(top,#F8F8F8,#D9D9D9);
	background-image: -ms-linear-gradient(top,#F8F8F8,#D9D9D9);
	background-image: linear-gradient(top,#F8F8F8,#D9D9D9);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: #bbb solid 1px;
}

.share-button:active {
	background-image: -webkit-gradient(linear,left bottom,left top,from(#F8F8F8),to(#D9D9D9));
	background-image: -moz-linear-gradient(bottom,#F8F8F8,#D9D9D9);
	background-image: -o-linear-gradient(bottom,#F8F8F8,#D9D9D9);
	background-image: -ms-linear-gradient(bottom,#F8F8F8,#D9D9D9);
	background-image: linear-gradient(bottom,#F8F8F8,#D9D9D9);
	border: #999 solid 1px;

}

.share-button .icon {
	width: 16px;
	height: 15px;
	position: absolute;
	top: 50%;
	margin-top: -7px;
	left: 6px;
	background: url('/wp-content/themes/twentyfourteen/img/share-icons-sprite.png') no-repeat -27px 0px / 150px 40px;
}

.share-button.facebook .icon {
	background-color: #3a519f;
	background-position: -95px 1px;
	width: 14px;
}

.share-button.google .icon {
	background-color: #e46044;
	background-position: -71px 0px;
}



.share-count {
	display:inline-block;
	padding: 6px 8px 6px 8px;	
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-weight: normal;
    margin-left: 2px;
    margin-top: 0;
    position: relative;
    
    /* TEMP DISABLE */
    display: none;
}

.share-count:before {
    border-color: rgba(0, 0, 0, 0) #CCCCCC;
    border-style: solid;
    border-width: 3px 3px 3px 0;
    content: "";
    display: block;
    left: -4px;
    position: absolute;
    top: 9px;
    width: 0;
    z-index: 0;
}

.share-count:after {
    border-color: rgba(0, 0, 0, 0) #FFFFFF;
    border-style: solid;
    border-width: 3px 3px 3px 0;
    content: "";
    display: block;
    left: -3px;
    position: absolute;
    top: 9px;
    width: 0;
    z-index: 1;
}





.mediaboxes {	display:none; position: fixed; top:0 left:0; color: red; background:white; z-index: 5000; padding: 5px;}
.media {	display: none; xposition: fixed; top:0 left:0; color: red; background:white;}

/* common wordpress rules */

.alignright {
	float:right;
}



/* From twentyfourteen */


.wp-caption.alignright {
	margin: 7px 0 7px 30px;
	padding: 0;
	xwidth: 200px !important;
	margin-bottom: 20px;

}

.post .wp-caption.alignright {
	width: 200px !important;
}


.wp-caption img {
	height: auto;
	border-radius: 5px;
}

.wp-caption-dd,
.wp-caption-text,
.wp-caption p.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 12px;
	xfont-style: italic;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	text-align: left;
	margin: 0 8px;
	margin-bottom: 0px;
	color: #767676;
}


.wp-caption-dd a,
.wp-caption-text a,
.wp-caption p.wp-caption-text a {
	font-weight: normal;
	color: #b6b6b6;
	display: block;
	text-decoration: none;
}

.wp-caption-dd a:hover,
.wp-caption-text a:hover,
.wp-caption p.wp-caption-text a:hover {
	text-decoration: underline;
}


/* -------------------------- */ 




.search-form  {
	margin: 0;
	padding: 0;
}
.search-form label span {
	display: none;

}


ul.footer-middle-menu li:first-child {
	xmargin-left: 0;
}

ul.footer-middle-menu li {
	xmargin-left: 10px;
}


.sitemap ul {
	margin-left: 0px;
}

.sitemap ul li {
	margin-left: 0px;
	list-style-type: none;
}

.sitemap ul li li {
	margin-left: 10px;
}

.sitemap ul li ul {
	margin-top: 0px;
}

.sitemap ul.posts li {
	margin-left: 0px;
}





.navigation {
	xborder-top:1px solid #ccc;
	padding-top: 20px;
	xmargin-top: 20px;
	margin-bottom: 20px;
}
.navigation h1 {
	display:none;
}

.navigation .pagination a,
.navigation .pagination span {
	display:inline-block;
	padding: 10px 20px;
	border: 1px solid #ccc;
	text-decoration:none;
}

.navigation .pagination span {
	background-color: #3DA1F3;
	color: white;
}
.navigation .pagination a:hover {
	background-color: #eee;
}



/* Startsidan har ingen sidebar */


.home #main {
	padding: 30px 50px 0px 50px;
	margin: 0;
}

/* Alla sidor har sidebar när de är stora */
#main {
	margin-right:-400px;
	padding:30px 440px 30px 50px;
}



.home .archive {
	margin-top: 0;
}

.home-articles {
	width: 50%;
	xmargin-right: 5%;
	padding-right: 2.5%;
	border-right: 1px solid #ddd;
	float: left;
	margin-bottom: 20px;
	margin-top: 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	clear:both;
	
}

div.archive.home-news .archive-title {
	margin-top: 0;
}

.home-news {
	width: 50%;
	padding-left: 2.5%;
	margin-right: 0;
	margin-top: 0;
	float: left;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	
}

.home-news p.postmeta-categories {
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    color: #777777;
}

.home-news h1 {
	display: none;
}


.home-splash {
	margin-bottom: 40px;
	xheight: 200px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 40px;
}

.home-splash > div {
	box-sizing:border-box;
	-moz-box-sizing:border-box;

}

.home-splash .splash-image {
	padding-right: 2.5%;
	xborder:1px solid red;
	width: 50%;
	float:right;
}
.home-splash .splash-image img {
	width: 100%;
	height: auto;

}

.home-splash .splash-text {
	width: 50%;
	padding-left: 2.5%;
	xborder:1px solid blue;
	padding: 10px;
	text-align: center;
	float:right;
}




.home-splash a.button-guide,
.post_content a.button-guide {
border-top: 1px solid #96d1f8;
   background: #0099ff;
   padding: 10px 20px;
   -webkit-border-radius: 19px;
   -moz-border-radius: 19px;
   border-radius: 19px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 20px;
   text-decoration: none;
   vertical-align: middle;
   font-weight: bold;
   display: inline-block;
}
.post_content a.button-guide {
	margin-top: 15px;
	padding: 6px 15px;
	font-size: 18px;
}

a.button-guide:hover {
   color: #fff;
   background: #0089EF;
}

a.button-guide:active {
	position:relative;
	top:2px;
}



.widget .home-splash {
	border: 0;
	margin: 0;
	padding: 10px;
}
.widget .home-splash .splash-text {
	width: 100%;
	margin: 0;
	padding: 0px;
	float: none;
	margin-top: 5px;
	margin-bottom: 15px;
}

.widget .home-splash .splash-text h1 {
	font-size: 26px;
}

.widget .home-splash .splash-text h2 {
	font-size: 18px;
}

.widget .home-splash a.button-guide {
	font-size: 16px;
}



#breadcrumbs{
    list-style:none;
    overflow:hidden;
    margin: 0;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom: 1px solid #ddd;
}
 
#breadcrumbs li{
    xfloat:left;
    margin-right:10px;
    display:inline-block;
}
 
#breadcrumbs span {
    xfont-weight:700;
    font-size:13px;
    color:#666;
    display:inline-block;
}
#breadcrumbs .breadcrumb_last {
	color: #666;
}

#breadcrumbs a{
	text-decoration:none;
}

/* produktsidor/tillverkare */

.page article .entry-content {
	xmargin-top: 20px;
}

.page .post-thumbnail {
	float: right;
	margin-top: 0px;
	margin-left: 40px;

	border-radius: 5px;
	xborder: 1px solid #ccc;
	
}

.page .post-thumbnail img {
	border-radius: 5px;
	display: block;
}

.page .post-thumbnail.noborder {
	border: 0;
}

.page .post_content {
	border: 0;
}

.subpage {
	clear:both;
	margin-bottom: 20px;
	xborder:1px solid red;
}

.subpage:after {
   content: " ";
   visibility: hidden;
   display: block;
   height: 0px;
   clear: both;
}


.subpage h2 {
	margin-top: 0;
	margin-bottom: 0;
	xfont-size: 1.5em;
	font-weight: bold;
}
.subpage h2 a {
	color: black;
	text-decoration:none;
	
}
.subpage img {
	float:right;
	margin-left: 20px;
	border-radius: 5px;
	border: 0px solid #ccc;
}

.subpage img {
	right: 0;
	position: absolute;
	top: 40px;
}

.subpage  {
	position: relative;
	padding-right: 170px;
	min-height: 170px;
}






/*----------------

Sample device				Resolution	Breakpoint	Media query section				Info
-------------				----------	----------	-------------------				-------------------------------------
Big screen, iPad Landscape 	1024 x 768	(>950)  	2, 5	 	(-551, -950)	 	Visar allt
iPad Portrait 				768 x 1024	(<949)  	2, 4	 	(-551, 949+)		Ej sidopanel
iPhone landscape			568 x 320	(<695)  	2, 3, 4		(-551, 695+, 949+)	Ej sidopanel, logga minskar, meny?
iPhone portrait				320 x 568	(<550)  	1, 3, 4		(550+, 695+, 949+)	Ej sidopanel, logga minskar, meny-ikon




----------------*/


@media only screen and (max-width:550px) {
	.media1 {	display: block; }


	
	body {
		xfont-size:16px;
	}

	#main {
		padding:15px;
	}

	
	.single .post_content img,.single .post_content img a,UNUSED.single .post_content iframe {
		height:auto;
		padding:0;
	}
	.by {
		float:right;
	}
	.post_content p {
		xline-height:23px;
	}
	.thumb-text {
		top:0;
	}
	.footer-widget {
		margin:0;
		xmax-width:300px;
		padding:0 30px 30px;
	}
	.footer-ad {
		margin:0;
		padding:20px 20px 30px;
	}
	.footer-widgettitle {
		padding:25px 0 0;
	}

	#sidebar1 {
		padding:20px;
	}
	.post_content {
		margin-bottom:25px;
		padding-bottom:0;
	}

	.pages {
		display:inline;
	}
	.navmain li>.megamenu form input[type="submit"] {
		width:100%;
	}
	.navmain li>.megamenu form input[type="text"] {
		width:100%;
	}
	

	/* Change images in mobile view */
	.wp-caption.alignright {
		float: none;
		width: 100% !important;
		margin: 0;
	}
	
	
	.wp-caption img {
		height: auto;
		width: 100%;
	}
	
	.wp-caption-dd,
	.wp-caption-text,
	.wp-caption p.wp-caption-text {
		margin: 0;
		margin-bottom: 15px;
	}
	

	
		
}
@media only screen and (min-width:551px) {
	.media2 {	display: block;}


	#main {
		xpadding:30px 30px 30px 30px;
	}
	.mobile-tabs {
		margin:0 0 0 10px;
	}
	
	#container {
		clear:both;
		xmax-width:95%;
		xwidth: 100%;
	}


	.single #main h1.post-title {
		xfont-size:32px;
		xline-height:1.4em;
	}
	.footer-widget {
		xwidth:40%;
	}
	.right {
		color:#AAAAAA;
		xfloat:right;
		text-align:right;
	}

	.home-splash h1 {
		font-size: 45px;
		margin-bottom: 10px;
	}
	.home-splash h2 {
		font-size: 25px;
		margin-top: 0;
		margin-bottom: 25px;
	}
	

	.page .post-thumbnail,
	.post .wp-caption.alignright {
		xwidth: auto !important;
	}	


}
@media only screen and (max-width:695px) {
	/* Allt här visas bara på iphone liggande+stående */
	.media3 {	display: block;}


	.home #main {
		padding: 20px;
		margin: 0;
	}
	
	#main {
		padding:20px;
		margin: 0;
	}
	
	.post_content p {
		xline-height: 26px;
	}	
	.share-count,
	.share-wrapper h2 {
		display:none;
	}
	
	.share-wrapper {
		padding-top: 20px;
	}
	
	
	.footer-widget {
		width:100%;
	}


	/* Relaterade artiklar visas en per rad i mobilen */
	
	
	.related a {
		xfont-size: 1.4em;
	}
	
	.related article {
		width: 100%;
		xmargin-right: 5%;
		float:none;
		margin-bottom: 40px;
	}


	.related-thumb {
		xwidth: 100%;
		height: 120px;
		xoverflow: hidden;
		border: 1px solid #ddd;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	
	.related-thumb img {
		height: auto;
		display: block;
	
	}





	.mobile-menu-bar {
		display: block;
	}

	/* Change navbars and hide logo for mobile view */
	.navigation-bars {
		display: none;
		xborder: 1px solid black;
	}

	
	.navmain > li.logo {
		display: none;
	}	
	
	ul.navsub,
	ul.navmain {
		display: block;
	}
	
	
	.navmain > li > a,
	.navsub > li > a {
		width:100%;
		border-bottom: 1px solid #ddd !important;
		border-left: 5px solid #ccc;
		background-color: white;

		display: inline-block;
		font-size: 12px;
		padding: 10px 20px;
		text-decoration: none;
		text-transform: uppercase;
		-moz-box-sizing:border-box;	
		box-sizing:border-box;	
		color: #000;
		text-align: left;

    
	}

	.navmain > li,
	.navsub > li,
	.navmain > li.right {
		xwidth:100%
		display: block;
		text-align:left;
		border: 0;
		float:none;
	}

	.navmain li,
	.navsub li {
		display: block;
		width: auto;

	}

	.navmain>li.main1>a {	border-color: #444;} 
	.navmain>li.main2>a {	border-color: #777;}
	.navmain>li.main3>a {	border-color: #aaa;}
	.navmain>li.main4>a {	border-color: #ccc;}


	.page-of {
		display:none;
	}
	.page-navigation {
		border-bottom:1px solid #EEEEEE;
		padding:0 0 60px;
	}
	.widget-ios {
		display:none;
	}
	

	.article-image-div {
		margin-top: 2.6em;
	}
	.photo-frame {
		background: none repeat scroll 0 0 #FFFFFF;
		border: 0px solid #CCCCCC !important;
		border-radius: 10px;
		box-shadow: 2px 2px 8px #CCCCCC;
		margin-bottom: 4px;
		padding: 0px;
		width: 80px;
		height: 80px;
		float:left;
	}

	
	
	

	
	
	.archive.home-articles,
	.archive.home-news {
		width: 100%;
		padding-right: 0;
		margin-bottom: 20px;
		margin-top: 0;
		padding-left: 0;
		border: 0;
	}

	.home-news h1 {
		margin-top: 20px;
		margin-bottom: 30px;
		display:block;
	}
	

	
	
	.home-splash .splash-image {
		padding-right: 0;
		width: 100%;
		display: none;
	}
	.home-splash .splash-image img {
		width: 100%;
		height: auto;
	
	}
	
	.home-splash .splash-text {
		width: 100%;
		padding-left: 0;
		padding: 0px;
		text-align: center;
		margin-bottom: 30px;
	}
	
	
	.home-splash h1 {
		font-size: 30px;
		margin-bottom: 10px;
	}
	.home-splash h2 {
		font-size: 18px;
		margin-top: 0;
		margin-bottom: 25px;
	}
	
	
	/**/
	
	.subpage img {
		width: 100px;
		height: auto;
	}
	
	.subpage  {
		position: relative;
		padding-right: 120px;
	}
	

	.page .post-thumbnail,
	.post .wp-caption.alignright {
		width: 100%;
	}
	
	.page .post-thumbnail img,
	.xpost .wp-caption.alignright img {
		width: 100%;
		height: auto;
	}
	
	
}


@media only screen and (max-width:949px) {
	.media4 {	display: block;}
	.sidebar {
		margin-top: 30px;
		padding:0 30px;
	}
	
	#main {
		xmax-width: 520px;
		xclear:both;
		xmargin-right:0;
		xpadding:30px 50px 30px 50px;
	}


}

@media only screen and (min-width:696px) and (max-width:800px) {
	.media4b {	display: block;}
	.navmain li a {
		padding: 15px 5px;
		font-size: 14px;
	}
}

@media only screen and (min-width:950px) {
	.media5 {	display: block;}
	#container {
		clear:both;
		xmax-width:1000px;
		xwidth:95%;
	}
	#logo {
		width:173px;
	}
	.wrap {
		width:100%;
	}
	
	
	#main {
		border-top:medium none;
		float:left;
		margin-right:-400px;
		padding:30px 440px 30px 50px;
	}
	.col300 {
		width:400px;
	}
	.col480 {
		width:50%;
	}
	.col620 {
		width:100%;
	}
	.col940 {
		width:100%;
	}
	.col300,.col480,.col620,.col940 {
		-moz-box-sizing:border-box;
		display:inline;
		float:left;
		position:relative;
		
	}

	.single #main .post_content,
	.page-default #main .post_content {
		margin-bottom:0;
	}
}

/*
@media only screen and (min-width:992px) {
	.media6 {	display: block;}
	#container {
		clear:both;
		max-width:1250px;
	}
}
*/

@media print {
	* {
		background:none repeat scroll 0 0 rgba(0,0,0,0) !important;
		color:#000000 !important;
		filter:none !important;
		text-shadow:none !important;
	}
	a,a:visited {
		color:#444444 !important;
		text-decoration:underline;
	}
	
	.navigation-bars, #footer-widgets, .share-wrapper, .author-box, .sidebar {
		display: none;
	}

	.onlyprint {
		display:block;
	}
	
	body {
		background: none;
	}
	/*
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	UNUSED.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after {
		content:"";
	}
	*/
	pre,blockquote {
		border:1px solid #999999;
		page-break-inside:avoid;
	}
	UNUSEDtr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:1cm;
	}
	p,h2,h3 {
		orphans:3;
		widows:3;
	}
	h2,h3 {
		page-break-after:avoid;
	}
}
