* {
	  margin: 0;
	  padding: 0;
	  box-sizing: border-box;
	}


body {
	background-color:#fff;
	/* background-color:#fffffb; */
	margin:auto;
	font-family:sans-serif;
}

@font-face {
    font-family: geoicons;
    src: url(/geosans_typicons.ttf);
}
.myfont {
	font-family:geoicons;
	font-size:2em;
	text-decoration:none;
}
.myfont a {
	text-decoration:none;
	color:inherit;
}
	
#info {
	text-align:left;
	margin:0.3em 0 0 0.3em;
}
#info a {
text-decoration:none;
color:inherit;
}

#infoicons {
	text-align:center;
	float:left;
	
	margin-right:-1em; /* För att rubirken ska centreras */
}

div#infoicons > a img {
	margin:0 0 10px 5px;
}

#infotext {
	display:none;
}


h1,h2,h3,h4 {
font-family:geoicons;
}

h1 {
	margin-top:0.5em;	
	
}

#main {
    
    background-color:#fff;
    /* text-align:center; */
    border:solid 0px #666;
    overflow:hidden;
	
	clear:both;
}

#categories {}
/*
#categories a {
text-decoration:none;
color:inherit;
}
*/
#intro {text-align:center;width:100%;}


.centertext {text-align:center;}

.categorybox {
	border:solid 1px #666;
	float:left; 
	position: relative;
	margin:0;
}

.categorybox a {
text-decoration:none;
color:inherit;
}


.categorycontent {
    position:absolute;
    top:0; left:0; bottom:0;right:0;
	
	overflow:hidden;
	;
}

.categorycontent h2{
	/* background-color:rgba(204,204,204,0.5); */
	height:2em;
	padding:0.2em;
	background:linear-gradient(rgba(204,204,204,1), rgba(204,204,204,0));
	
	 position:relative;
	 z-index:50;
	 
	text-align:center; 
}

.categorycontent p{
	margin:1em;
}
/*
.categorycontent img{
 position:absolute;
 top:0;left:0;width:100%;height:100%;
}
*/

.categoryimage{
 position:absolute;
 top:0;left:0;width:100%;height:100%;
}
.categoryimage1{
 position:absolute;
 top:0;left:0;width:50%;height:50%;
}
.categoryimage2{
 position:absolute;
 top:0;left:50%;width:50%;height:50%;
}
.categoryimage3{
 position:absolute;
 top:50%;left:0;width:50%;height:50%;
}
.categoryimage4{
 position:absolute;
 top:50%;left:50%;width:50%;height:50%;
}


/*
Portfolio
*/
#image {clear:both;text-align:center;}
#theImage {
	border:solid 1px #333;
	
}

#thumbnails{
		text-align:center;
		max-height:90px;
		overflow:scroll;	
}

#imgcaption{
	width:100%;
	text-align:center;
	border:solid 0px #33F;
}
	
#fullsizediv {
	position:absolute;
	top:0; left:0; 		
	z-index:110;
	cursor:zoom-out;
	width:100%;
	text-align:center;
	background-color:rgba(0.4, 0.4, 0.4, 0.7);
	display:none;
}

#fullsize {
	margin:auto;
	border:solid 2px #333;
}




/* Mobile Styles */
@media only screen and (max-width: 500px) 
{
	  body {
		/* background-color: #F09A9D; /* Red */
		width:100%;
	  }
	  
	  .categorybox {
	    width:90%;
	    padding-top:90%;
    	margin:4%;
	  }
	  
}

/* Tablet Styles */
@media only screen and (min-width: 501px) and (max-width: 960px) 
{
	  body {
		/* background-color: #F5CF8E; /* Yellow */
		width:400px;
		width:100%;
		
	  }
	  h1{padding-right:0.5em;}
	  
	   .categorybox {
	      width:45%;
	      padding-top:45%;
	      margin:2%;
	  }

}

/* Desktop Styles */
@media only screen and (min-width: 961px) {

	  body {
	      max-width:960px;
	  }
	  h1{padding-right:2em;}
	  
	  .categorybox {
	    width:28%;
	    padding-top:28%;
		margin-right:4%;
		margin-bottom:4%;
	  }
	  .firstbox {
		   width:60%;padding-top:60%;
	  }
	  .categorybox p {
		  font-size:90%;
	  }
	  
	  #mainImage {width:576px; height:576px;}
}


