/*
	Theme Name: Maskin AB
	Theme URI: http://html5blank.com
	Description: a HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto) & Prinforydins
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
    overflow-y: scroll;
}
body {
    background-color:#555;
   /* background-image:url(img/chrome_bg.png);*/
    background-image:url(img/chrome_bg_darker.jpg);
    background-position:left;
    background-attachment:fixed;
/*    background-size:cover;*/
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Source Sans Pro', sans-serif;
    
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#0b4ea2;
	text-decoration:none;
}
a:hover {
	color:#1861c2;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

ul {
    padding-left:20px;
}

/*------------------------------------*\
    FONTS
\*------------------------------------*/

h1 {
    color:#0b4ea2;
    font-weight:700;
    font-size:32px;
    text-transform:uppercase;
    margin:8px 0 25px 0;
}

h1:after {
    content:'.';
    color:#e61937;
    font-size:45px;
}


h2 {
    color:#0b4ea2;
    font-weight:700;
    font-size:32px;
    text-transform:uppercase;
    margin:45px 0 0px 0;
}

h2:after {
    content:'.';
    color:#e61937;
    font-size:45px;
}


h3 {
    font-size:19px;
    color:#000;
    font-weight:600;
    margin:29px 0 -2px 0;
}

h4 {
    font-size:18px;
    color:#000;
    font-weight:600;
    margin:33px 0 -8px 0;
}

h5 {
    font-size:16px;
    color:#000;
    font-weight:600;
    margin:33px 0 -8px 0;
}

.content table {
    margin:16px 0;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:1024px;
	margin:0 auto;
	position:relative;
}

.content {
    background:rgba(255,255,255,0.7);
    padding:40px;
    margin:20px 0;
    
    border:1px solid #444;
    -moz-box-shadow: 0px 0px 6px #000000;
    -webkit-box-shadow: 0px 0px 6px #000000;
    box-shadow: 0px 0px 6px #000000;
}

.content img {
    border:5px solid #0b4ea2;
	max-width:100%;
	vertical-align:bottom;
}



/*------------------------------------*\
    HEADER
\*------------------------------------*/

/* header */
.header {
    background:rgba(255,255,255,0.3);
    background:rgba(203,219,235,0.5);
    border:1px solid #555;
    -moz-box-shadow: 0px 0px 6px #000000;
-webkit-box-shadow: 0px 0px 6px #000000;
box-shadow: 0px 0px 6px #000000;

}
/* logo */
.logo {
    padding:53px 40px 30px 40px;
}
.logo-img {

}



.mellan_border {
    height:7px;
    background:#0b4ea2;
    margin:0 -1px;
    -moz-box-shadow: inset 0px 2px 2px #000000;
    -webkit-box-shadow: inset 0px 2px 2px #000000;
    box-shadow: inset 0px 2px 2px #000000;
    /*Inner elements should not cover inner shadows*/
    /*IE 7 AND 8 DO NOT SUPPORT INSET SHADOWS*/

}

/*------------------------------------*\
    NAV HUVUDMENY
\*------------------------------------*/

.nav {
    padding:17px 12px 0px 40px;
}

.nav ul {
    margin:0;
    padding:0;
}

.nav li {
    float:left;
    list-style:none;
    margin:0 50px 0 0px;
    position:relative;
     padding:0 0 12px 0;
}



.nav li a {
    text-transform:uppercase;
    font-size:18px;
    color:#0b4ea2;
    line-height:0;
    font-weight:600;
   
}

.nav .current_page_item a, .nav li a:hover {
    color:#fff;
}

/* CHILDREN */

.nav li .children {
    background:#0b4ea2;
    background:rgba(11,78,162,0.95);
    position:absolute;
    left:0px;
    top:36px;
    z-index:101;
    width:auto;
    padding:10px 0;
    display:none
}

.nav li .children li {
    float:none;
    padding:5px 15px;
    margin:0 !Important;
}

.nav li .children a {
    color:#fff;
    font-weight:600;
    text-transform:none;
     white-space: nowrap;
    /*padding-right:7.5px; */
}

.nav li .children li a:hover {
    /*font-weight:600; */
    /*padding-right:0px;*/
    /*background:rgba(0,0,0,0.3)*/
}

.nav li:hover .children {
    display:block;
}

/* GRANDCHILDREN */

.nav li .children  ul {
    top:0;
    background:none;
    position:relative;
    width:100%;
    height:auto;
    margin:0;
    padding:3px 0 0 0;
}

.nav li .children  ul li a:before { 
    content:'– ';
}
    
.nav li .children  ul li {
    color:#fff;
    color:#fff;
    padding:4px 0px 4px 0px;
}

.nav li .children  ul a {
    color:#fff;
    font-weight:400;
}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/

.footer {
    padding:20px;
    background:rgba(255,255,255,0.3);
    background:rgba(203,219,235,0.5);
    border:1px solid #555;
    
    -moz-box-shadow: 0px 0px 6px #000000;
    -webkit-box-shadow: 0px 0px 6px #000000;
    box-shadow: 0px 0px 6px #000000;
    text-align:center;
}

.copyright {
    margin:0;
    padding:0;
    display:inline-block;
}



.footer .widget_text h3, .footer #text-3 {
    display:none;
}

.footer .widget_text {
    display:inline;
    float:left;
}

.footer .copy {
    display:block;
    float:left;
    margin-right:8px;
}
.footer, .footer a {
    font-size:17px;
    text-align:center;
    color:#0b4ea2;
    font-weight:600;
    word-spacing:1px;

}

.footer a:hover {
    color:#1861c2;
}


/*------------------------------------*\
    STANDARDMALL
\*------------------------------------*/

.page_title {
    margin-bottom:10px !Important;
}

.pdf {
    margin:0 0 0 -4%; 
    clear:both;
}

#pdf_object {
    width:20%;
    height:262px;
    float:left;
    margin:0 0 5% 5%;
}

#pdf_object img {
    width:100%;
    border:none !important;
    
    -moz-box-shadow: 1px 3px 2px 1px #555;
-webkit-box-shadow: 1px 3px 2px 1px #555;
box-shadow: 1px 3px 2px 1px #555;
filter: progid:DXImageTransform.Microsoft.Shadow(strength = 4, direction = 135, color = '#555');
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength = 4, Direction = 135, Color = '#555')";




}

#pdf_object:hover  img{
  -webkit-filter: opacity(.8);
  filter: opacity(.8);
    
}

#pdf_object p {
    color:#000 !important;
    margin:10px 0 0 0;
}


.bild_field {
    margin-top:-10px;
    margin-left:20px;
    float:right;
}


.innehall_editor {
    float:left;
}


.innehall_editor iframe {
    width:100%;
    height:100%;
}


/*

.halften .innehall_editor {
    width:49%;
    margin-right:1%;
    float:left;
}

.halften .pdf {
    width:54%;
    margin-right:1%;
    clear:both;
}

.halften .bild_field {
    width:49%;
    margin-left:1%;
    float:right;
}


.tredjedelar  .innehall_editor {
    width:65%;
    margin-right:1%;
    float:left;
}

.tredjedelar  .pdf {
    width:75%;
    margin-right:1%;
    clear:both;
}

.tredjedelar  .bild_field {
    width:33%;
    margin-left:1%;
    float:right;
}

*/


/*------------------------------------*\
    START
\*------------------------------------*/

.slideshow {
    position:relative;
    margin:20px 0;
    border:1px solid #444;
}

.pager-wrap {
    position:absolute;
    top:75%;
    right:20px;
    z-index:100;
    text-align:right !Important;
    color:rgba(255,255,255,0);
}

.pager-wrap span {
    display:block;
  background:#fff !important; 
    width:8px !important;
    height:8px !important;
}

.pager-wrap span:before {
    content:'';
    height:0px;
    width:0px;
    display:block;
}

.pager-wrap .cycle-pager-active {
  background:none !Important;
    border:2px solid #fff !important;
    width:11px !important;
    height:11px !important;
}

.pager-wrap .cycle-pager-active:before {
    content:'';
    height:0.5px !important;
    width:0.5px;
    display:block;
}


/*------------------------------------*\
    INLÄGG POST BLOGG AKTUELLT
\*------------------------------------*/
.inlagg {
    width:630px;
    float:left;
    border-right:3px dotted #0b4ea2;
    padding-right:40px;
    margin-right:30px;
}

.inlagg h3 {
   margin-top:0px;
}

.inlagg h3 a {
    color:#000;
    display:block;
    padding-bottom:15px;
}

.inlagg .date {
    margin-top:40px;
    display:block;
    color:#0b4ea2;
    font-weight:600;
}

.inlagg a img {
    max-width:100%;
    width:auto;
    max-height:380px;
    height:auto;
}

.nyhetsarkiv {
    width:270px;
    float:right;
}

.nyhetsarkiv h3 {
    margin-top:0px;
}

.nyhetsarkiv .date {
    margin-top:20px;
    margin-bottom:0;
    display:block;
    color:#0b4ea2;
    font-weight:600;
}

.nyhetsarkiv h5 {
    margin-top:20px;
    display:block;
    margin-top:0;
    
}

.nyhetsarkiv h5 a {
    font-weight:500;
    color:#000;
    font-size:16px;
    
}


/*------------------------------------*\
    INLÄGG POST SINGLE POST
\*------------------------------------*/

.single_post .innehall {
    width:49%; 
    float:left;
    margin-right:1%;
}

.single_post .date {
    margin-top:20px;
    margin-bottom:-15px;
    display:block;
    color:#0b4ea2;
    font-weight:600;
}

.single_post img {
    float:right;
    width:49%;
    margin:15px 0 1% 1%;
}

/*------------------------------------*\
    KONTAKT
\*------------------------------------*/

.kontakt .karta {
    width:65%;
    float:right;
    margin-left:1%;
}

.kontakt .innehall_editor {
    width:33%;
    float:left; 
    margin-left:1%;
}


.personal {
    margin-top:40px;
    clear:both;
}

.personal_object {
    width:15%;
    margin-right:5%;
    float:left;
}

.personal_object img {
    border:none;
    width:142px;
}

.personal_object p, .personal_object a {
    margin:0;
    font-size:14px;
    line-height:normal;
}

.personal_object .namn {
    margin-top:10px;
    font-weight:600;
}
.personal_object .titel {
    font-style:italic;
    margin-bottom:8px;
}
.personal_object .tele {
    border:none;
}
.personal_object a {
    border:none;
}




/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
