/* cmsms stylesheet: tiilikangasHD modified: 07/28/18 16:27:21 */
@media only screen and (min-width: 1200px) {




@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

html { 
        margin:0; 
	padding:0; 
	height:100%; 
}

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
  	margin:0; 
  	padding:0; 
  	height:100%; 
}

A {
    text-decoration: none;

    color: #878787;

}

span.sectionheader {
color: white;
}

#main {
	position:relative;
	background:white;
	width:100%;
	height:100%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#top {
	position:relative;
      background: url(../../images/back_top.png) no-repeat;
	background-size:100% 100%; 
}

#top_esittely img {
    max-width: 70%;
    min-width: 70%;
    border-style: none;
}

#logomob {
	display:none;
}

#logo {
	position:relative;
	text-align:center;
	left:24%;
	width:50%;
}

img.logo { 
	max-width: 50%; 
	min-width: 50%;
      border-style: none;
}

#menucontainer {
	position:fixed;
	background-color: rgba(79, 103, 131, 0.5);
	z-index: 1000;
	width: 100%;
		
}

#menu {
	position:relative;
	width:100%;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#container {
	position:relative;
	background:white;
	width:100%;
	top:0px;
      background: url(../../images/back_main.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
       overflow: auto;
}

#container_esittely {
	position:relative;
	background:white;
	width:100%;
      min-height: 450px;	
      background: url(../../images/henkilokunta.jpg) no-repeat; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_hinnasto{
	position:relative;
	background:white;
	width:100%;
      min-height: 450px;	
      background: url(../../images/hinnasto.jpg) no-repeat; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_yhteystiedot{
	position:relative;
	background:white;
	width:100%;
      min-height: 450px;	
      background: url(../../images/yhteystiedot.jpg) no-repeat; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}


#palvelut {
	position:relative;
	text-align:right;
        padding-top:25px;
        padding-left:15%;
	width:35%;
	float:left;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#top_esittely {
	position: relative;
	text-align: left;
	padding-top: 50px;
	padding-left: 15%;
	width: 35%;
	float: left;
	font-size: 3.5vw;
	color: #fff;
	font-family: 'Lato', sans-serif;
	text-shadow: -2px 2px 5px #000;
	font-weight: bold;
}

#contentbox {
	position:relative;
	text-align:left;
	width:75%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#content {
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
	text-align:left;
}

#laatikkocontainer_palstat {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
}


#laatikko1_palsta {
position:relative;
	font-size: 1.5vw;
	text-align:left;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}


#laatikko2_palsta {
position:relative;
	font-size: 1.5vw;
	text-align:left;
	width:45%;
	float:right;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}



#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
        background-color: rgba(79, 103, 131, 1.0);
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
    	color: #fff;
}


#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#tjdesign {
        clear:both;
        width: 100%;
        font-family: 'Lato', sans-serif;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}



}
/* cmsms stylesheet: tiilikangasHD_menu modified: 03/19/18 12:19:02 */
@media only screen and (min-width: 1200px) {




.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin: 0;
text-align: center;
padding-top: 5px;

}

.topnav ul, .topnav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

.topnav a:link, .topnav a:visited
{
    font-size: 1.4vw;
    font-family: 'Lato', sans-serif;
    margin: 0 10px 0px 10px;
    text-decoration: none;
    color: #FFFFFF;
}

.topnav a:link#current, .topnav a:visited#current, .topnav a:hover
{
background: transparent;
}

.topnav a:hover 
{ 
color: #fff;
text-shadow: -2px 2px 2px #000;
}



}
/* cmsms stylesheet: tiilikangasHD_menu2 modified: 03/19/18 12:19:09 */
@media only screen and (min-width: 1200px) {



#menuwrapper2 { 
margin: 0;
text-align: right;
line-height: 40px;
column-count: 2;
-webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */
}

#menuwrapper2 ul, #menuwrapper2 li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#menuwrapper2 a
{
background: transparent;
}

#menuwrapper2 a:link, #menuwrapper2 a:visited
{
width: 100%;
font-size: 1.5vw;
font-family: 'Lato', sans-serif;

margin: 3px 3px 3px 3px;
      background: url(../../images/menu2bg.png) no-repeat center center; 
color: #173d53;
padding: 8px 3px;
text-align: center;
text-decoration: none;
display: inline-block;
}


#menuwrapper2 a:hover
{
color: darkgray; 
}



}
/* cmsms stylesheet: tiilikangasSD modified: 07/28/18 16:27:46 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {




@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

html { 
        margin:0; 
	padding:0; 
	height:100%; 
}

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
  	margin:0; 
  	padding:0; 
  	height:100%; 
}


span.sectionheader {
color: white;
}

A {
    text-decoration: none;

    color: #878787;

}


#main {
	position:relative;
	background:white;
	width:100%;
	height:100%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#top {
	position:relative;
      background: url(../../images/back_top.png) no-repeat;
	background-size:100% 100%; 
}

#top_esittely {
	position: relative;
	text-align: left;
	padding-top: 42px;
	padding-left: 15%;
	width: 35%;
	float: left;
	font-size: 3.5vw;
	color: #fff;
	font-family: 'Lato', sans-serif;
	text-shadow: -2px 2px 5px #000;
	font-weight: bold;
}

#top_esittely img {
    max-width: 86%;
    min-width: 86%;
    border-style: none;
}


#logomob {
	display:none;
}

#logo {
	position:relative;
	text-align:center;
	left:26%;
	width:50%;
}

img.logo { 
	max-width: 60%; 
	min-width: 60%;
      border-style: none;
}

#menucontainer {
	position:fixed;
	background-color: rgba(79, 103, 131, 0.5);
	z-index: 1000;
	width: 100%
}

#menu {
	position:relative;
	width:100%;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#container {
	position:relative;
	background:white;
	width:100%;
	top: 0px;
      background: url(../../images/back_main.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      overflow: auto;
}

#container_esittely {
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/henkilokunta.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_hinnasto{
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/hinnasto.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_yhteystiedot{
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/yhteystiedot.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#palvelut {
	position:relative;
	text-align:right;
        padding-top:25px;
        padding-left:15%;
	width:35%;
	float:left;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#contentbox {
	position:relative;
	text-align:left;
	width:75%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#content {
	font-size: 2.0vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
	text-align:left;
}

#laatikkocontainer_palstat {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
}


#laatikko1_palsta {
position:relative;
	font-size: 1.5vw;
	text-align:left;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}


#laatikko2_palsta {
position:relative;
	font-size: 1.5vw;
	text-align:left;
	width:45%;
	float:right;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}



#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #3366ff; 
    	background-color: rgba(79, 103, 131, 1.0);
    	color: #fff;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}


#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#tjdesign {
        clear:both;
        width: 100%;
        font-family: 'Lato', sans-serif;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}


}
/* cmsms stylesheet: tiilikangasSD_menu modified: 03/19/18 12:19:35 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {




.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin: 0;
text-align: center;
padding-top: 5px;

}

.topnav ul, .topnav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

.topnav a:link, .topnav a:visited
{
    font-size: 2.0vw;
    font-family: 'Lato', sans-serif;
    margin: 0 10px 0px 10px;
    text-decoration: none;
    color: #FFFFFF;
}

.topnav a:link#current, .topnav a:visited#current, .topnav a:hover
{
background: transparent;
}


.topnav a:hover 
{ 
color: #fff;
text-shadow: -2px 2px 2px #000;
}



}
/* cmsms stylesheet: tiilikangasSD_menu2 modified: 03/19/18 12:19:39 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {



#menuwrapper2 { 
margin: 0;
text-align: right;
line-height: 40px;
column-count: 2;
-webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */
}

#menuwrapper2 ul, #menuwrapper2 li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#menuwrapper2 a
{
background: transparent;
}

#menuwrapper2 a:link, #menuwrapper2 a:visited
{
width: 100%;
font-size: 1.5vw;
font-family: 'Lato', sans-serif;

margin: 3px 3px 3px 3px;
      background: url(../../images/menu2bg.png) no-repeat center center; 
color: #173d53;
padding: 8px 3px;
text-align: center;
text-decoration: none;
display: inline-block;
}


#menuwrapper2 a:hover
{
color: darkgray; 
}



}
/* cmsms stylesheet: tiilikangasMOB modified: 07/28/18 16:28:52 */
@media only screen and (max-width: 799px) {



@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

html { 
        margin:0; 
	padding:0; 
	height:100%; 
}

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
  	margin:0; 
  	padding:0; 
  	height:100%; 
}

A {
    text-decoration: none;

    color: #878787;

}


span.sectionheader {
	display:none;
}


#main {
	position:relative;
	background:white;
	width:100%;
	height:100%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#top {
	position:relative;
      background: url(../../images/back_top.png) no-repeat;
	background-size:100% 100%; 
}

#top_esittely {
      position: relative;
      text-align: center;
      padding-top: 16px;
      padding-left: 0%;
      width: 100%;
      float: left;
      font-size: 3.5vw;
      color: #fff;
      font-family: 'Lato', sans-serif;
      text-shadow: -2px 2px 5px #000;
      font-weight: bold;
}

#top_esittely img {
    max-width: 86%;
    min-width: 86%;
    border-style: none;
}


#logomob {
	display:none;
}

#logo {
	position:relative;
	text-align:center;
	left:26%;
	width:50%;
}

img.logo { 
	max-width: 60%; 
	min-width: 60%;
      border-style: none;
}

#menucontainer {
	position:relative;
	background-color: rgba(79, 103, 131, 0.5);
	z-index: 1000;

}

#menu {
	position:relative;
	width:100%;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#container {
	position:relative;
	background:white;
	width:100%;
	top: 0px;

      background: url(../../images/back_main.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      overflow: auto;
}

#container_esittely {
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/henkilokunta.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_hinnasto{
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/hinnasto.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#container_yhteystiedot{
	position:relative;
	background:white;
	width:100%;
      min-height: 350px;	
      background: url(../../images/yhteystiedot.jpg) no-repeat center center ; 
     background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;

}

#palvelut {
	position:relative;
	text-align:right;
        padding-top:25px;
        padding-left:15%;
	width:35%;
	float:left;
	font-size: 1.5vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
}

#contentbox {
	position:relative;
	text-align:left;
	width:90%;
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
}

#content {
	font-size: 6.0vw;
	color: #000000;
	font-family: 'Lato', sans-serif;
	text-align:left;
}

#laatikkocontainer_palstat {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
}


#laatikko1_palsta {
position:relative;
	font-size: 6.0vw;
	text-align:left;
	width:100%;
	float:left;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}


#laatikko2_palsta {
position:relative;
	font-size: 6.0vw;
	text-align:left;
	width:100%;
	float:right;
	margin-left:1%;
	margin-right:1%;
	font-family: 'Lato', sans-serif;
}



#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #3366ff; 
    	background-color: rgba(79, 103, 131, 1.0);
    	color: #fff;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}


#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#tjdesign {
        clear:both;
        width: 100%;
        font-family: 'Lato', sans-serif;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}





}
/* cmsms stylesheet: tiilikangasMOB_menu modified: 03/19/18 14:19:03 */
@media only screen and (max-width: 799px) {


 /* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
     background-color: rgba(79, 103, 131, 0.5);
}

/* Float the list items side by side */
ul.topnav li {float: left;}

/* Style the links inside the list items */
ul.topnav li a {
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.topnav li a:hover {background-color: darkred;}

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;}

/* Hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
  ul.topnav.responsive {position: relative;}
  ul.topnav li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }




}
