/* The semantic approach in this css file are structured like this, 
Main: RESET, PARAGRAPH, ID and CLASSES. Sub: Comments to specific objekts 
and alphabetic ordering. */

/*****************************
RESET
*****************************/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*
 * CLEARFIX (Out of date to some of the internet aricles,, But what do i know ? =)
 * display: inline-block is a alternative that exists they say, but for insurance i use this)
 * Or maybe not =) depends on how it comes out =) So here it is to come in handy,,
 * After float elements this maybe inorder to fix some issues. (Inherit issues ?)
 * ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

/*****************************
BASE
*****************************/

body {
   
}



p {

}

.wrapper {
	/* Gradient from http://www.colorzilla.com/gradient-editor/*/
	background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 9%, #f6f6f6 50%, #ededed 91%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(9%,#ffffff), color-stop(50%,#f6f6f6), color-stop(91%,#ededed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 9%,#f6f6f6 50%,#ededed 91%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 9%,#f6f6f6 50%,#ededed 91%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 9%,#f6f6f6 50%,#ededed 91%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 9%,#f6f6f6 50%,#ededed 91%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */

     
	border-bottom: none;
	height: auto;
    margin: 0 auto;
    width: 100%;
}

/****************************
HEADER  
****************************/

header {
	background-image:url('../bild/Header_img/key3.PNG');
	background-size: 100% 100%;
	border: 1px solid #79797f;
	box-shadow: 0px 3px 5px #888888;
    display: inline-block;
	height: auto;
	width: 100%; 
}

h1 {
	
	
}

h2 {
	font-family: 'ralewaybold','arial black';
	font-size: 1.5em;
	padding-top: 2%;
	padding-bottom: 2%;
}

h3 {
	font-family: 'ralewayregular', arial;
    font-weight: lighter;
	font-size: 1.2em;
	padding-top: 2%;
	padding-bottom: 2%;
}

h4 {
	font-family: 'ralewaybold','arial black';
	font-size: 100%;
	padding-top: 2%;
	padding-bottom: 2%;
}

/* Logo text in the header */
.logo_text1 {
    color: #E2E2E2;
    font-family: 'ralewayregular', arial;
    font-weight: lighter;
	font-size: 1.5em;
	letter-spacing: 2px;
	padding: 5px;
	width: 100%;
}

/*Smaller text in the header*/
.logo_text2 {
    color: #E2E2E2;
    font-family: 'ralewayregular', arial;
    font-weight: lighter;
	font-size: 1em;
	padding: 5px;
	width: 100%;
}

.logo {
	float: left;
	font-family: 'ralewayregular', arial;
    font-weight: lighter;
	top: 10px;
	padding: 2%;
	width: 96%;
	text-align: center;
    /* Background transparency from http://robertnyman.com*/
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

}

/* head_link sets the css to links in the header*/
.head_link {
   color: #E2E2E2;
}


/********************************
NAVIGATION
*********************************/

/* nav controls the position of the navigationbar */

nav {
	display: inline-block;
    padding-top: 2%;
    margin: 0 auto;
	width: 100%;

}

/* ul controls the positioning of the navigationbar */

ul {
	
	width: 100%;
}

/* li controls the design of the navigation buttons and the text
on the buttons*/

li {
	border-right: 1px solid #79797f;
    display: inline-block;
	float: left;
    height: 20px;
    list-style: none;
    width: 24.73%;
}

a {	
    color: #79797f; /*  #282828*/
	font-size: 1em;
    font-family: 'ralewayregular', arial;
    font-weight: lighter;
    padding-top: 4px;
    text-decoration: none;
    /* text-shadow:2px 1px 1px #001;*/
    width: 100%;
}

/* li hover, controls what happens when the mouse hovers over the
navigation text */

li a:hover {
	color: #c6c6c6;
	border-bottom: 1px solid #c6c6c6;
}

li a:active{
	border-top-color: #5bd1eb;
    background: #5bd1eb;
}
/* link controls the link text in the navigation*/

#link1, #link2, #link3, #link4 {
   
   text-align: center;
}

#link4 {
	border-right: none;
}

/* .last = This is the last of the hr element used under nav 
* to control the content below, that is, in this case -value 
* that rises up into this last hr tag and interfears with the nav
*/

.last {
   border-top: 1px solid #79797f;
   margin: 0 auto;
   margin-top: 15px;
   margin-bottom: 70px;
   width: 87%;
}

/* aside, is here the small text box in the header E2E2E2 #000e38*/

aside {
	/*border-radius: 5%;*/
	color: #E2E2E2;
    display: inline-block;
    font-family: 'ralewayregular','arial black', sans-serif;
	font-size: 0.9em;	
	float: left;
	letter-spacing: 1px;
	text-align: center;
	width: 96%;
    padding: 2%;
    padding-bottom: 35px;
    /* Background transparency from http://robertnyman.com*/
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

/*******************************
CONTENT
********************************/

.header_text {
	color: #79797f;
	font-size: 1.9em;
    font-family: 'ralewayregular', arial;
    font-weight: lighter;
    margin-bottom: 100px;
    padding: 10px;
    text-align: center;
}
.content {

}

/* id=img are used for the positioning of the circular pictures 
on top of the columns */

#img1 {
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	border-radius: 50%;
	background-color: #fff;
    float: left;
	margin-top: -50%;
	position: relative;
	width: 75%;
}

#img2 {
	left: 12%;
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	border-radius: 50%;
	background-color: #fff;
	margin-top: -50%;
	position: relative;
	width: 75%;
}

#img3 { 
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	border-radius: 50%;
	background-color: #fff;
	float: right;
	margin: 0 auto;
	margin-top: -50%;
	position: relative;
	width: 75%;
}

/* id=me with display: inline-block; needs to keep the text under the 
circular picture */

#me1 {
    display: inline-block;
    padding-bottom: 20px;	
} 

#me2 {
	display: inline-block;	
	padding-bottom: 20px;	
}

#me3 {
    display: inline-block;
    padding-bottom: 20px;   	
}

/* column 1,2 and 3 is the text columns that keeps the text content. 
The most important is column 2 this one should be displayed as the 
first one in the mobile version */

/*The width of the three columns are 84% and the left padding are 8% */

#column1 {
	background-color: #fff;
	border: 1px solid #79797f;
	float: left;
	height: auto;
	min-height: 630px;
	margin: 1%;
	margin-left: 7%;
	margin-top: 6%;
	padding: 2%;
    width: 23%;
}

#column2 {
	background-color: #fff;
	border: 1px solid #79797f;
	float: left;
	height: auto;
	min-height: 630px;
	margin: 1%;
	margin-top: 6%;
	padding: 2%;
    width: 23%;  
}

#column3 {
	background-color: #fff;
	border: 1px solid #79797f;
	clear: right;
	float: left;
	height: auto;
	min-height: 630px;
	margin: 1%;
	margin-top: 6%;
	padding: 2%;
	width: 23%;
}

/* Class=column is used to set the text style in the 3 columns 
that is used for the text content */

.column {
	border-radius: 0.3em;
	box-shadow: 0px 3px 3px #888888;
	color: #79797f;
    font-family: 'museo_sans_500regular','arial';
    font-size: 1em;
}

/***************************
FOOTER 
****************************/

footer {
	background-size: 100% 100%;
    display: inline-block; 
	height: auto;
	margin-bottom: 0%;
	margin-top: 20px;
    width: 100%;
}

/* id=fot 1,2 and 3 controls the text position in the footer */

#fot1 {
	float: left;
	width: 33.33333333333333%;
}

#fot2 {
	float: left;
	width: 33.33333333333333%;	
}

#fot3 {
	float: right;
	width: 33.33333333333333%;	
}

/* Class=fot controls the adress phone and e-mail text headlines 
to the footer content */

.fot {
	color: #001;
	font-family: 'ralewayregular','arial';
	font-weight: lighter;
	font-size: 0.9em;
	text-align: center;
	margin-top: 2%;
	margin-bottom: 2%;
}

/* Class=downfoot, needs to set different fonts and smaller 
text that holds the adress, phone and e-mail information */

.downfoot {
	font-size: 0.7em;
	padding-top: 8%;
	text-align: center;
}

/*********************************
Om mig page
**********************************/

.column_mig {
	border: 1px solid #79797f;
	border-radius: 0.3em;
	box-shadow: 0px 3px 3px #888888;
	background-color: #fff;
	color: #79797f;
	float: left;
	font-family: 'museo_sans_500regular','arial';
    font-size: 1em; 
	height: auto;
	margin: 2%;
	margin-top: 6%;
	margin-bottom: 100px;
	padding: 5%;
    width: 86%;     
}

/* me4 is the id that holds the picture of me */
#me4 {
     display: inline-block;
     float: left; 
     padding: 3%; 
     width: 100%;
}

/* img4 needs to control the picture of me */
#img4 { 
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	background-color: #fff;
	border-radius: 50%;
	margin-left: 30%;
	margin-top: -20%;
    position: relative;
	width: 35%;	
}

.text_mig {
    padding: 10%;
    text-align: center;
}
/*********************************
End mig page
**********************************/


/* I use Class text to control text in the columns */
.text {
     padding: 10%;
     text-align: center;
}

/*********************************
Projekt page
**********************************/

.column_projekt {
	border: 1px solid #79797f;
	border-radius: 0.3em;
	box-shadow: 0px 3px 3px #888888;
	background-color: #fff;
	color: #79797f;
	float: left;
	font-family: 'museo_sans_500regular','arial';
    font-size: 1em; 
	height: auto;
	margin: 2%;
	margin-top: 6%;
	margin-bottom: 100px;
	padding: 5%;
    width: 86%;     
}

/*projekt1 is the id that holds the first picture on projekt page */
.projekt1 {
    display: inline-block;
    float: left; 
    padding: 3%; 
    width: 100%;
}

/* This one needs to handle the first picture on project page */
.img_projekt1 { 
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	background-color: #fff;
	border-radius: 1em;
	margin-left: 28.5%;
	margin-top: -20%;
	padding: 0.2em;
    position: relative;
	width: 35%;	
}

.text_projekt {
     padding: 10px;
     
}

.header_project {
     padding: 10px;
     text-align: center;
}

/***************
CV page
***************/

.column_cv {
    border: 1px solid #79797f;
	border-radius: 0.3em;
	box-shadow: 0px 3px 3px #888888;
	background-color: #fff;
	color: #79797f;
	float: left;
	font-family: 'museo_sans_500regular','arial';
    font-size: 1em; 
	height: auto;
	margin: 2%;
	margin-top: 6%;
	margin-bottom: 100px;
	padding: 5%;
    width: 86%;     
}

/*The div that holds lifted text div*/
.cv_hightext {
    display: inline-block;
    float: left;
    padding: 3%; 
    width: 100%;
}

/*liftedtext div*/
.cv_liftedtext h3 { 
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	background-color: #fff;
	border-radius: 0.3em;
	font-family: 'ralewayregular', arial;
    font-weight: lighter; 
	font-size: 1.5em;
	margin-left: 26%;
	margin-top: -12%;
	padding: 1em;
    position: relative;
    text-align: center;
	width: 35%;	
}


.hr_cv {
   border-top: 1px solid #79797f;
   margin: 0 auto;
   margin-top: 40px;
   margin-bottom: 20px;
   width: 80%;
}

.hr_cv_short {
   border-top: 1px dashed #79797f;
   margin: 0 auto;
   margin-top: 40px;
   margin-bottom: 20px;
   width: 40%;
}

.text_cv {
     padding: 10px;
     text-align: center;
}

/***************
Studio page
***************/


.column_studio {
	border: 1px solid #79797f;
	border-radius: 0.3em;
	box-shadow: 0px 3px 3px #888888;
	background-color: #fff;
	color: #79797f;
	float: left;
	font-family: 'museo_sans_500regular','arial';
    font-size: 1em; 
	height: auto;
	margin: 2%;
	margin-top: 6%;
	margin-bottom: 100px;
	padding: 5%;
    width: 86%;     
}

/*studio1 is the id thas contains the first picture on studio page*/
#studio1 {
    display: inline-block;
    float: left; 
    padding: 3%; 
    width: 100%;
}

/* This one needs to handle the first picture on studio page */
#img_studio1 { 
	border: 1px solid #79797f;
	box-shadow: 0px 2px 3px #888888;
	background-color: #fff;
	border-radius: 1em;
	margin-left: 28.5%;
	margin-top: -20%;
	padding: 0.2em;
    position: relative;
	width: 35%;	
}

.text_studio {
     padding: 10px;
     text-align: center;
}
