@import url('https://fonts.googleapis.com/css?family=Cabin+Condensed');

html, body {
height: 100%;
}

body {
  background-color: #e6e6e6;
  background-image: url(../images/background.jpg);
  background-position: top left;
  background-repeat: repeat-x;
  text-align: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* STRUCTURE */

#pagewrap {
width: 990px;
margin: 0 auto;
background-color: #ffffff;  
padding-bottom: 5px;  
}

#header {
height: 150px;
width: 100%;
background-image: url(../images/headerbg.jpg);
background-position: right center;
background-repeat: no-repeat;
}

.facebook {
height: 30px;
width: 30px;  
margin-left: 30px;
margin-right: 30px;
top: 20px;  
background-image: url(../images/facebook.png);
background-repeat: no-repeat;
background-position: center center;
position: relative;  
display: block;
}


#logo {
height: 67px;
width: 183px;  
margin-left: 27px;
margin-right: 30px;
top: 37px;  
background-image: url(../images/logo.png);
background-repeat: no-repeat;
background-position: center center;
position: relative;  
}

#menu {
width: 100%;
height: 60px;
background-image: url(../images/menubg.jpg);
background-repeat: repeat-x;
background-position: center center;  
margin: 0 auto;
z-index: 10;  
}

#container {
width: 990px;
float: left;   
}  

#topcontent{
width: 100%;  
margin-left: auto;
margin-right: auto;  
text-align: left;  
height: 100%;
overflow: hidden;
}

#left {
width: 495px;
float: left;
text-align: left;  
}

#right {
width: 495px;
float:right;
text-align: left;
}

#left1 {
width: 330px;
float: left;
text-align: left;  
}

#center{
width: 330px;
float: left;
text-align: left;  
}

#right1 {
width: 330px;
float:right;
text-align: left;
}

#bottomcontent {
width: 100%;
float: left;
text-align: left;  
}  

#footer {
  clear: both;
  text-align: center;
  height: 20px;
  background-color: #61b4de;
  padding-top: 40px;
  padding-bottom: 40px;
  bottom: 3px;
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}

/* Joomlan sisällön tyylit */

p {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 12pt;
  line-height: 17pt;
  font-weight: normal;
  color:#646567;
  text-align: left;
  padding-left:30px;
  padding-right:30px;
 }

h1 {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 22pt;
  line-height: 24pt;
  font-weight: bold;
  color:#61b4de;
  padding-left: 30px;
  padding-top: 15px;
}

h2 {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 19pt;
  line-height: 21pt;
  font-weight: bold;
  color:#61b4de;
  padding-left: 30px;
}

h3 {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 16pt;
  line-height: 18pt;
  font-weight: bold;
  color: #61b4de;
  padding-left: 30px;
}

h4 {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 13pt;
  font-weight: bold;
  line-height: 15pt;
  color: #61b4de;
  padding-left: 30px;
}

a {
  font-family: Cabin Condensed, Verdana,Arial,Helvetica,sans-serif;
  font-size: 11pt;
  line-height: 15pt;
  font-weight: bold;
  text-decoration: none;
  color:#61b4de;
}

a:hover {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-weight: bold;
  color: #000000;
  text-decoration: underline;
}

#footer p {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10pt;
  line-height: 12pt;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
  padding: 0px;
  margin: 0px;
}

#footer a {
  font-family: Cabin Condensed,Verdana,Arial,Helvetica,sans-serif;
  font-size: 10pt;
  line-height: 12pt;
  font-weight: bold;
  text-decoration: none;
  color:#000000;
}

#footer a:hover {
  text-decoration: underline;
  }

img {
    max-width: 100%;
    height: auto;
 }

.bt-googlemaps{
         width: 88%;
         margin-left: 30px;
         margin-right: 30px;
         display: block;
         }


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 990px or less */
@media screen and (max-width: 990px) {

#pagewrap {
width: 100%;
}

#header {
width: 100%;
}  

#menu{
width: 100%;
}
  
#container {
width: 100%;
}  

#content{
width: 100%;
}  
  
#left {
width: 100%;
padding-left: 0px;
padding-right: 0px;  
}
  
#right {
width:100%;  
padding-left: 0px;
padding-right: 0px;  
clear: both;
width: auto;
float: none;
}

#left1 {
width: 100%;
padding-left: 0px;
padding-right: 0px;  
}

#center {
width: 100%;
padding-left: 0px;
padding-right: 0px;  
}

#right1 {
width:100%;  
padding-left: 0px;
padding-right: 0px;  
clear: both;
width: auto;
float: none;
}
 
/* for 750px or less */
@media screen and (min-width: 320px) and (max-width: 750px) {

#left {
width: auto;
float: none;
}
  
#right {
width: auto;
float: none;
}

/* for 460px or less */
@media screen and (max-width: 480px) {
}

/* for 320px or less */
@media screen and (max-width: 320px) {
}