
* {padding:0; margin:0;}

/*********************************************************************
For IE compability 
*********************************************************************/

article, details, figcaption, footer, header, hgroup, label, nav, section {
	display: block;
}
aside, figure{
	display: inline-block;
}
a img {
	border: none;
}

/************************************************************************ 
Styling för övergripande element 
**************************************************************************/

html{
	height: 100%;
}

body {
	min-height: 100%;
	position: relative;

    font-size: 96.7%; 
	font-family: Tahoma, Geneva, sans-serif;
    background-color: rgb(153,208,107);

	background:url(../img/bg.JPG) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	-ms-touch-action: manipulation; /* IE10 */
	touch-action: manipulation; /* IE11+ */
}

header {
	width: 94%;
    padding: 5% 3% 3% 3%;
    background-color: rgba(255,255,255,0.99);
    position: fixed;
    top: 0;
    z-index: 100;
}

header div {
	display: inline-block;
}

header div.left {
	width: 85%;
}

header div.left img{
	vertical-align: middle;
	width: 23%;
}

header div.left span{
	vertical-align: middle;
}

header div.left a {
	text-decoration: none;
}

header div.right {
	width: 14%;
	text-align: right
}

header div.right img {
	width: 50%;
}



section {
    width: 94%; 
    padding: 10% 3% 0% 3%;
	margin-bottom: 1em;
}

footer {
	text-align: center;
    padding: 2% 3%;
	/*color: #333;
	background-color: rgba(255,255,255,0.7);*/

	color: #bbb;
	text-shadow: 1px 1px 2px #000;
}

footer span{
	font-size:0.8em;
}

footer p.copy {
	display: block;
	text-align: center;
	margin-top: 1em;
	font-size:0.6em;	
}

/******************************************************************* 
Gemensam styling kring skuggor, bakgrundsfärger samt rundade hörn 
********************************************************************/

.modalDialog > div,
section article {
	background: rgba(255,255,255,0.9);
}

.modalDialog > div,
section article,
ul.menu li img,
.modalDialog ul li img, 
header {
	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-o-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 4px rgba(0,0,0,0.3);	
}

.modalDialog > div,
section article,
ul.menu li img,
.modalDialog ul li img {
    -webkit-border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	-o-border-radius: 0.8em;
	border-radius: 0.8em;	
}

.modalDialog > div,
section article,
ul.menu li img,
.modalDialog ul li img {
	border: solid 1px rgba(200,200,200,0.3);
}



/*********************************** MENU *****************************************
 * Copyright (c) 2012-2013 Kaerus (kaerus.com), Anders Elo <anders @ kaerus com>. *
 **********************************************************************************/

nav {
	text-align: center;
}

ul.menu,
.modalDialog ul {
	font-family: 'lucida grande', sans-serif;
	margin: 0;
	padding: 0;
	cursor: default;
}

ul.menu li,
.modalDialog ul li {
	display: inline-block;
    margin: 0 2.4% 1.5em 2.4%;
    width: 17.5%;
    text-align: center;
}

ul.menu li img,
.modalDialog ul li img {
    width: 100%;
}

ul.menu li span,
.modalDialog ul li span {
    font-size: 0.7em;
    color: white;
    text-shadow: 1px 1px 2px #000;
}

ul.menu li a,
.modalDialog ul li a {
	color: #444;
	text-decoration: none;
}



/*************************************************************** 
Modala fönstret, exmpel Djuren 
****************************************************************/

.modalDialog {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.9);
	z-index: 99999;
	opacity:1;
}

.modalDialog > div {
	background:url(../img/bg.JPG) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 90%;
	max-width: 40em;
	position: relative;
	margin: 10% auto;
	padding: 0.5em 3% 1em 3%;
}

.modalDialog h2 {
	margin: 1em 1.2em;
	color: white;
    text-shadow: 1px 1px 2px #000;
}

.modalDialog a.close {
	color: white;
    text-shadow: 1px 1px 2px #000;
}



/******************************************************* 
Artiklarna 
****************************************************************/


section article {
	position: relative;
    background-color: rgba(255,255,255,0.9);
    padding: 2em;
    max-width: 40em;
    margin: 0 auto;
}

section article h2 {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 2em;
    margin-bottom: 1em;
   	margin-top: 1em;
   	font-weight: 100;
}

section article h2 span{
	color: #9d0010;
}

section article h3 {
    font-size: 1.5em;
	text-transform: uppercase;
	margin-top: 1em;
	font-weight: 100;
}

section article h4 {
	font-size: 0.75em;
}

section article hr {
	margin-top: 0.2em;
	border: 1px solid lightgrey;	
	margin-bottom: 1em;
}

article p {
	margin-bottom: 1em;
	line-height: 1.6em;
}

a.close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.2em 1% 0 0;
	font-size: 1.5em;
	line-height: 1em;
	text-decoration: none;
	font-weight: bold;
	color: #999;
}

.button {
	-moz-box-shadow:inset 0px 1px 3px 0px #91b8b3;
	-webkit-box-shadow:inset 0px 1px 3px 0px #91b8b3;
	box-shadow:inset 0px 1px 3px 0px #91b8b3;

	background:#4193e1;

	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;

	border:1px solid #566963;
	display:inline-block;
	padding:11px 23px;
	margin-top: 3em;
	margin-bottom: 2em;
	cursor:pointer;

	color:#ffffff;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px -1px 0px #2b665e;
}

.right {
	float: right;
}

.button:hover {
	background:#00155d;
}

.button:active {
	position:relative;
	top:1px;
}

a.button,
a.button:visited {
	text-decoration: none;
	color: white;
}

.button.green {
	background:#0A6224;
}
.button.green:hover {
	background:#074719;
}

.button.red {
	background:#9d0010;
}
.button.red:hover {
	background:#5d151c;
}

.button.blue {

}
.button.blue:hover {

}


/********************************************************* 
Facebook pluginen 
**************************************************************/

iframe {
	width: 100%;
}

#u_0_0 {
    width: 100% !important;
}
.fb-like.fb_edge_widget_with_comment.fb_iframe_widget, .fb-like.fb_edge_widget_with_comment.fb_iframe_widget > span, .fb-like.fb_edge_widget_with_comment.fb_iframe_widget > span > iframe {
    width: 100% !important;
    height: auto !important;
}

/********************************************************* 
Kontaktformuläret  
**************************************************************/

textarea, input {
	max-width: 100% !important;
}

/********************************************************* 
Styling för olika skärmstorlekar 
**************************************************************/

@media all and (min-width: 1000px) {

  ul.menu li span, .modalDialog ul li span {
  	font-size: 1em;
  }

  header {
  	padding: 1% 3% 0.5% 3%;
  }

    footer {
  	padding: 0.5% 3%;
  }

}

@media all and (max-width: 999px) and (min-width: 520px) {

  ul.menu li span, .modalDialog ul li span {
  	font-size: 1em;
  }

	header {
  		padding: 1% 3% 0.5% 3%;
	}

	header div.left img {
    	width: 20%;
	}

	header div.right img {
	width: 75%;
	}

	footer {
  		padding: 1% 3%;
	}

	article p {
  		font-size: 0.9em;
  	}
}

@media all and (max-width: 519px) {  	
	section {
		padding-top: 25%;
		padding-bottom: 0em;
	}

	header div.left {
		font-size: 0.7em;
	}

	header div.left img {
    	width: 35%;
	}

	header div.right img {
		width: 75%;
	}

  	footer {
		position: relative;
	}

	footer span {
		font-size: 0.7em;
	}

  	article p {
  		font-size: 0.9em;
  	}

  	.button{
  		font-size: 0.8em;
  	}

}


