/* 
Styles for Devising/Labra
by Anne-Mari Seppola
(logos&images by Mia Kivinen)

Devicing Menetelmäopas by Milla Kortemaa
Teatterimuseo


Contents 
---------------------------------------------
*********************************************
---------------------------------------------
1. Body
2. Header and top navigation
3. Typography
4. links
5. Main content
6. kone-page
7. Lists
8. Footer
---------------------------------------------
---------------------------------------------

 */


html{
	height: 100%;
	width: auto;
}

/* 1. Body
--------------------------------------------- */

body {
	background-color: white;
	min-height:100% ;
	font: normal 50%/1.5;
	width: auto;
	margin: auto;
	overflow-x: hidden;
}

/* Body: to get the page to start from top
--------------------------------------------- */
body:before {
	content: "";
	position: fixed;
	top: -10px;
	left: 0;
	width: 100%;
	height: 10px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
	box-shadow: 0px 0px 10px rgba(0,0,0,.8);
	z-index: 100;
}





/*2. Header and top navigation
--------------------------------------------- */
img.logo{
	display: block;
	float:left;
	width: 20%;
	margin: 0% 1% 0% 0%;
	clear: both;
}

.header2 > img{
	display: block;
	float:left;
	width: 350px;
	margin: 0%;
	clear: both;
}
#header{
 	background:  url(images/kone/kone_kirkas.png) right no-repeat;
	background-size: 78%;

}

.header2{
 	background:  white;

}

#putkisto
{
	position:absolute;
	left:0px;
	top:0px;
	z-index:-1;
}

#labra{
	position:absolute;
	left:0px;
	top:0px;

}


header{
	padding-top: 5%;
}


.top2{
	display: block;
	float:right;
	margin: 0 10% 0% 30%;
	border-radius: 16px;
}

nav{
	display: block;
	float:left;
	padding: 1% 5% 0 1%;
	border-radius: 16px;
	width: auto;
	margin: 0 0 0 30%;

}

header > nav{
	display: block;
	float:left;
}


nav>a {
	/*background: #66FFFF;*/
	display:block;
	float:left;
	margin: 5px;
	padding:10px;
	color: black;
	/*border-style: solid;
	border-color:  #66FFFF;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px;
	border-radius: 8px;
	-webkit-transition: all 0.3s ease-in-out; 
	-moz-transition: all 0.3s ease-in-out; 
	-o-transition: all 0.3s ease-in-out; 
	 transition: all 0.3s ease-in-out;
	*/
	}
	nav > a:visited{
	color:black;
	}


/*3.  Typography
--------------------------------------------- */

h1 {
	color: black;
	font-family: 'Arvo', serif;
	font-size: 1.2em;
}

h2 {
	color: black;
	font-family: 'Arvo', serif;
	font-size: 1.1em;
}

body{
	font-family: 'Arvo', serif;
/*	font-family: 'Roboto Slab', serif; */
	font-size:0.8em;
}

.pienifontti{
	font-size: 0.85em;
}

li{
	font-size: 0.9em;
}

/*4. links
--------------------------------------------- */

a:link, a:visited {
	text-decoration:none;
	font-weight: normal;
	
	}



.colorlink{
	color:  #FF00FF;
}

.colorlink:visited{
	color:  #FF00FF;
}

a:hover {
	color: #39c;
	text-decoration: none; 
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	}

nav > a:link{
	
	font-family: ''Roboto Slab', serif;
	font-weight: normal;
	font-size: 1.3em;
/*	background:  #00C7D5;*/
   	background:  #52F3FF;
	border-color:   #00C7D5;
	-webkit-border-radius: 16px; 
	-moz-border-radius: 16px;
	border-radius: 16px;
	box-shadow: 0px 3px 5px #000;
	-moz-box-shadow: 0px 3px 5px #000;
	-webkit-box-shadow: 0px 3px 5px #000;
}

nav >  a:active {
	text-decoration: none;
/*	font-weight: bold;*/
	color: white;
}

nav >  a.selected {
	/*text-decoration: none;*/
	font-weight: bold;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}

nav > a:hover{
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;

}

.top2 > a{
	background:  #00C7D5;
	border-style: solid;
	border-color:   #00C7D5;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px;
	border-radius: 8px;
}

/* 5. Main content
--------------------------------------------- */
#main {
	margin-top: 5%;
	padding-bottom:50px;
	padding-top: 20px;

}
#main a{
	font-weight: bold;
	
}

a.blink{
	color:black;
}

#main h2 > a{
	font-weight: bold;
	/*color: #00C7D5;*/
}

#mainkone {
	margin-top: 5%;
	padding-bottom:50px;
	padding-top: 20px;
	overflow:hidden;
	
}

#infoloota{
	display:block;
	float: left; 
	margin: 0 0 0 1%; 
	padding: 0 0 0 2%;
	width: 30%;
	border-left: 15px solid #52F3FF;
	font-size:1.1em;
}


#infoloota2{
	display:block;
	float: left; 
	margin: 0 0 0 1%; 
	padding: 0 0 0 2%;
	width: 30%;
	border-left: 15px solid #52F3FF;
	font-size:1.1em;
}

#infolootakone{
	display:block;
	float: left; 
	margin: 0 0 0 1%; 
	padding: 0 0 0 2%;
	max-width: 37%;
	border-left: 15px solid #52F3FF;
	font-size:1.1em;
	background: white;
}

#intro{
	display:block;
	float: left;
	width: 56%; 
	margin: 0 1% 0 2%;
	    
	/*border-right:2px dashed grey; */
	padding: 0 1% 0 2%;

}

#introkone{
	display:block;
	float: left;
	max-width: 50%; 
	margin: 0 1% 0 1%;
	/*border-right:2px dashed grey; */
	padding: 0 1% 0 1%;

}

.kone > img{
	width: 100%;
	height: auto;
}


.kone2 > img{
	width: 100%;
	height: auto;
}

#intro2{
	display:block;
	float: left;
	width: 80%; 
	margin: 0 1% 0 2%;
	    
	/*border-right:2px dashed grey; */
	 padding: 0 1% 0 2%;

}


#intro3{
	display:block;
	float: left;
	width: 56%; 
	height: 700px;
	margin: 0 1% 0 2%;
	    
	/*border-right:2px dashed grey; */
	padding: 0 1% 0 2%;

}


#intro2 > img{
	text-align: center;
	max-width: 100%;
	margin: 5px;
}

#infoloota >img{
	text-align: center;
	width: 50%;
}

#intro >img{
	text-align: center;
	max-width: 100%;
	margin: 5px;
}

img.pienikuva{
	text-align: center;
	width: 40%;
	padding: 2% 2% 2% 10%;

}
img.pienikuva2{
	text-align: center;
	width: 80%;
	padding: 2% 2% 2% 10%;

}

img.pienikuva3{
	display: block;
	float: left;
	max-width: 35%;
	padding: 2%;

}

.sivukuva{
	
	max-width: 80%;
	padding: 2%;
	clear:both;
}

#vier{
	clear:both;
	display: block;
	vertical-align: middle;
	margin: 0 0 0 15%;
}

/* 6. kone-page
--------------------------------------------- */
canvas {display:block; background:url(images/kone/kone_kirkas222.png)  no-repeat};

.button > a {
	display:block;
	float:left;
	margin: 5px;
	padding:10px;
	background:  green;
	border-style: solid;
	border-color:   #00C7D5;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px;
	border-radius: 8px;
};

.kone { 
   position: relative; 
   width: 100%; /* for IE 6 */
}

.kone > h2 { 
   position: absolute; 
   top: 200px; 
   left: 0; 
   width: 100%; 
}

/*Config for kone page (kone.html)
******************************/
#wrapper{
	width: 90%;
	min-height: 60;
	text-align:center;
	margin:2%;
}


.vasenlaatikko{
	position:relative;
	float:left;
	margin: 0 1% 0 1%;
	padding: 0 1% 0 1%;
	width: 65%;
	min-height: 90%;
}

.oikealaatikko{
	width:25%;
	position:relative;
	display:block;
	float: left; 
	margin: 0 0 1% 1%; 
	padding: 0 0 0 2%;
	max-width: 30%;
	border-left: 15px solid #52F3FF;
	font-size:1.1em;
	background: white;
	text-align: left;
}

.vasenlaatikko > img{
	max-width:100%;
	display: block;
}

.vasenlaatikko > ul{
	list-style: none inside none;
	font-weight: bold;
}


vasenlaatikko > ul > li> a{
	color: black;
	font-weight: bold;
}

/*positioning individual buttons (1. ryhmäytyminen ... 5. esitys*/
#ryhm{
	position: absolute;
	top: 56%; 
	left: 11%;
	font-weight: bold;
}

#tila2{
	position:absolute;	
	top: 40%; 
	left: 40%;
	
}


#aihe2{
	position:absolute;	
	top: 50%; 
	left: 50%;
}

#kokoaminen2{
	position:absolute;	
	top: 70%; 
	left:55%;
}

#esitys2{
	position:absolute;
	top: 78%; 
	left: 25%;
}


.vasenlaatikko > ul > li > a{
	padding:10px;
	margin:10px;
	text-align: center;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	box-shadow: 0px 3px 5px #000;
	-moz-box-shadow: 0px 3px 5px #000;
	-webkit-box-shadow: 0px 3px 5px #000;
	padding:10px;
	background:#FF00BF;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px;
	border-radius: 8px;
	padding: 10px; 
	border-style: solid;
	border-color:   #00C7D5;
	color: black;
	font-weight:bold;
}

.vasenlaatikko > ul > li > a:hover {
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}



/*colors for boxes on squarepages  */

#vasen1 {background-color:#FF00FF;}

#vasen2 {background-color:#2EFE2E;}

#keski1 {background:#FF009E;

text-align: center;
}

#keski2 {
	background-color:#52F3FF;
	}
#keski3 {
	background-color:#FFFF00;
	}

#oikea1 {
	background-color: #00FF00;
}

#oikea2 {
/*	background:#FF0040;*/
	background:#FF009E;
	}

#oikea3 {
	background-color:#FFFF00;
	}

#oikea4 {
	background-color:#00FFFF;
	}
#oikea5 {
	background-color:#2EFE2E;
	}

.siirry img{
	margin: 2%;
}




/* 7. Lists
--------------------------------------------- */
#siirrynappi > a > img{
	text-align: center;
	display: block;
	float:right;
	width: 300px;
	height: auto;
	margin: 0 40% 10% 0;
    
}

ul{
	list-style-image: url('/images/yleiset/checkmark.png');
}

/* 8. Footer (stupid footer)
--------------------------------------------- */

#footer{
	position: relative;
	bottom: 0;
	/* margin-top: -50px; negative value of footer height */
	clear:both;
	/*height: 100px; */
	text-decoration: none;
	  border-top: solid #52F3FF;
	  border-top-width: 20px 40px;
	    padding: 2px;
		margin: 2%;
	}

#footer > ul{
	text-align:center;
	list-style:none;
}

#footer > ul > li{
	display:inline;
	text-decoration: none;
}

#footer-logos{
	float:left;
}

#footer a{
	color: black;
}




/*9. columns on squarepages (ryhmautuminen.html etc)
--------------------------------------------------
*/

/*Container holds all the boxes*/

  .container { 

	display:block;
	width:95%; 
	padding: 0 0 0 2.5%;
	}

  .col { 
	display:block;
        float:left;
        width:30%; 
	}

.col2 {
	display:block;
        float:left;
        width:40%; 
	}

  .box {
	display:block; 
	padding:10px;
        margin:10px;
	border-radius: 4px;
	}

.box h1 {
	/*	word-break:break-all;*/
	word-wrap: break-word;
}

 
.box a{
color: black;
}

.box > img.box2{
text-align:center;
padding: 0 0 0 0;

}



/*10. "Responsive" adjusments (ha). Adjusting for smaller screens such that the box pages won't look so stupid (they do anyway though..)
*****************************************************************************************************************************************/

/*Adjust for smartphone screensizes*/
@media all and (max-width: 480px ) {

/*Siirry-button does not fit on iphone screens --> has to be equipped with larger margin*/

#siirrynappi > a > img{
	
	width: 200px;
	height: auto;
	margin: 0 0% 10% 10%;
	padding:0 2% 0 2%;
    
}

nav{
	display: block;
	float:left;
	padding: 1% 5% 0 1%;
	border-radius: 16px;
	width: auto;
	margin: 0 0 0 10%;

}


#vasen1 {display:none;}
#vasen2 {display:none;}

/*positioning individual buttons (1. ryhmäytyminen ... 5. esitys*/
#ryhm{
	position: absolute;
	top: 5%; 
	left: 1%;
	font-weight: bold;
}

#tila2{
	position:absolute;	
	top: 5%; 
	left: 60%;
	
}


#aihe2{
	position:absolute;	
	top: 30%; 
	left: 1%;
}

#kokoaminen2{
	position:absolute;	
	top: 55%; 
	left:1%;
}

#esitys2{
	position:absolute;
	top: 80%; 
	left: 1%;
}

}




@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
#intro{
	width: 80%;

}

#infoloota{
	width: 80%;

}

.oikealaatikko{
	display:block;
	float: left; 
	min-width: 100%;
	font-size: 1.2em;
}

body{
font-size: 1.2em;
}

.vasenlaatikko{
	display:block;
	float: left; 
	min-width: 100%;}

/*positioning individual buttons (1. ryhmäytyminen ... 5. esitys*/
#ryhm{
	position: absolute;
	top: 30%; 
	left: 1%;
	font-weight: bold;
}

#tila2{
	position:absolute;	
	top: 30%; 
	left: 60%;
	
}


#aihe2{
	position:absolute;	
	top: 55%; 
	left: 1%;
}

#kokoaminen2{
	position:absolute;	
	top: 55%; 
	left:50%;
}

#esitys2{
	position:absolute;
	top: 80%; 
	left: 1%;
}
}


/*Adjust for tablet screensizes*/
@media all and (max-width: 768px ) {

#vasen1 {display:none;}
#vasen2 {display:none;}  
.col { 
	display:block;
        float:left;
        width:100%; 
	}

.col2 {
	display:block;
        float:left;
        width:100%; 
	}



#infolootakone{
	display:block;
	float: left; 
	max-width: 100%;
}

.oikealaatikko > ul{
	display:block;
	float: left; 
	max-width: 100%;}
.oikealaatikko{
	display:block;
	float: left; 
	min-width: 100%;}

.vasenlaatikko{
	display:block;
	float: left; 
	min-width: 100%;}

#introkone{
	width: 100%;
}

.kone{
	width: 100%;
}
.kone2{
	width: 100%;
}
#infoloota{
	display:block;
	float: left; 
	min-width: 70%;
}

#intro{
	width: 80%;
}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1280px) 
and (orientation : landscape) {
body{
	
	font-size:1em;
}

nav{

	margin: 0 0 0 10%;

}

#ryhm{
	position: absolute;
	top: 30%; 
	left: 1%;
	font-weight: bold;
}

#tila2{
	position:absolute;	
	top: 30%; 
	left: 60%;
	
}


#aihe2{
	position:absolute;	
	top: 55%; 
	left: 1%;
}

#kokoaminen2{
	position:absolute;	
	top: 55%; 
	left:50%;
}

#esitys2{
	position:absolute;
	top: 80%; 
	left: 1%;
}


}

/*Adjust fonts to be slightly larger for large screens*/
@media all and (min-width: 1600px ) {

body{
	
	font-size:1em;
}




}

/*big buttons on square pages*/
.linkbox{
	display:block; 
	padding:10px;
	margin:10px;
	text-align: center;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	box-shadow: 0px 3px 5px #000;
	-moz-box-shadow: 0px 3px 5px #000;
	-webkit-box-shadow: 0px 3px 5px #000;
	padding:10px;
	word-wrap: break-word;
	font-weight: bold;
	color: black;
 }

#oikea1 > h2 > a{
	color:black;
	font-weight: bold;
}

#oikea2 > h2 > a{
	color:black;
	font-weight: bold;
}


#oikea3 > h2 > a{
	color:black;
	font-weight: bold;
}
#oikea4 > h2 > a{
	color:black;
	font-weight: bold;
}
.linkbox:hover {
	position:relative;
	top:3px;
	color: #fqq;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
    
  .clear{
	display:block; 
	clear:both;
	line-height:0;
    }


.col img{
	 max-width: 100%;
}
.col2 img{
	 max-width: 100%;
}


iframe
{
	display: block;
 	max-width: 100%;
	margin: 0 auto;
}




/* The clearfix-method to clear the floats
--------------------------------------------- */

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: ".";
     clear: both;
     height: 0;
     }

.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */




/* Icons for footer from fontello.com 
---------------------------------------- */
@font-face {
  font-family: 'icons';
  src: url("fonts/font/icons.eot");
  src: url("fonts/font/icons.eot?#iefix") format('embedded-opentype'), url("fonts/font/icons.woff") format('woff'), url("fonts/font/icons.ttf") format('truetype'), url("fonts/font/icons.svg#icons") format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: 'icons';
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  opacity: 0.8;
/* fix buttons height, for twitter bootstrap */
  line-height: 1em;
/* Animation center compensation - magrins should be symmetric */
/* remove if not needed */
  margin-left: 0.2em;
/* you can be more comfortable with increased icons size */
 font-size: 150%; 
/* Uncomment for 3D effect */
text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); 
}

.icon-call:before { content: '\37'; } /* '7' */
.icon-ok:before { content: '\2714'; } /* '✔' */
.icon-art:before { content: '\e803'; } /* '' */
.icon-industrial:before { content: '\e822'; } /* '' */
.icon-theatre:before { content: '\e83a'; } /* '' */
.icon-home:before { content: '\e840'; } /* '' */
.icon-facebook-rect:before { content: '\f301'; } /* '' */

