/* cmsms stylesheet: VALA_HD modified: 06/26/18 15:15:29 */
@media only screen and (min-width: 1200px) {

a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}


#slideshowmob  {
        display:none;
}

#logomob  {
        display:none;
}

body {
    	background-color: #535353; 
	margin:0px auto;
}

#main {
	position:relative;
	top:0px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#top {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.9vw;
	font-family: 'Roboto', sans-serif;
	color: white;
	text-shadow: -0px 0px 3px #000;
	background: rgba(221, 122, 59, 1);
	vertical-align: middle;
	line-height: 50px;
}

#top a:link { color: #ffffff; }
#top a:visited { color: #ffffff; }
#top a:hover { color: c1c1c1; }



#top img {

    vertical-align: middle;
    max-height: 40px;
    max-width: 200px;
}



#topcontainer {
	position: -webkit-sticky; position: sticky; 
	width:100%;
   	top: 0;
   	margin:auto;
   	left: 0;
   	right: 0;
	z-index: 10000;
}



#menu {
	position: -webkit-sticky; position: sticky; 
        position: relative;                          /* added to support older browsers */
        margin-top:-50px;
	z-index: 10000;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	background: rgba(221, 122, 59, 1);
        text-align: center;
	vertical-align: middle;
	line-height: 50px;

}

#content {
	position: relative;
	width: 87%;
	top: 50px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.9vw;
	color: black;

}

#contentcontainer {
	position: relative;
	width: 100%;
	margin-top: -50px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.9vw;
	color: black;
	background-color: white;

}

#uutiset {
	position:relative;
	width:87%;
	top:50px;
	margin-left: auto;
	margin-right: auto;


}

#wide1 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 394px;
     width: 100%;
     margin-left: auto;
}

#wide_palvelut {
     position:relative;
     top:50px;
     background-image: url("../../images/rakennuspalvelut.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 394px;
     width: 100%;
     margin-left: auto;
}



#contentcontainer h1 {
        font-family: 'Roboto', sans-serif;;
   	font-size: 2.4vw;
   	color: black;
	margin-left: auto;
	margin-right: auto;
}

#content a {
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 1.9vw;
   	color: black;
	margin-left: auto;
	margin-right: auto;
}




#slideshow {
	position:relative;
	width:100%;
	top:0px;
}

#slideshow img {
	max-width: 100%; 
	min-width: 100%;
        border-style: none; 

}

img.opacity {
	max-width: 100%; 
	min-width: 100%;
        border-style: none; 
        opacity: 1.0;
}

.caption h1 {    
/* 
    background-color: rgba(80, 80, 80, 0.65);
*/
}

.caption {
      z-index: 1;
/*
      font-family: 'Merriweather', sans-serif;
*/
      font-size: 1.5vw;
      position: absolute;
      top: 41px;
      float: left;
      left: 27%;
      width: 34%;
      height: 130px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.2;
      color: #ffffff;

/*
      background: rgb(54, 25, 25);
      background: rgba(0, 0, 0, 0.4);
*/
      padding-left: 5%;
      text-shadow: -2px 1px #000;
}


.captiontext2 {
      z-index: 1;
      font-family: 'Roboto', sans-serif;
      font-size: 2.0vw;
      position: absolute;
      top: 0px;
      float: left;
      left: 0%;
      width: 100%;
      height: 100%;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.2;
      color: #fff;
      text-align: center;
      padding-left: 5%;
      text-shadow: -2px 2px 5px #000;
      margin-top: 36%;
}



#bottom {
	clear: both;
	position:relative;
	width:100%;
	top: -36px;
	background: rgba(221, 122, 59, 1);
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 1.2vw;
        color:black;
}

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

#tjdesign {
        clear:both;
        width: 100%;
        font-family: 'Source Sans Pro', sans-serif;
        margin-top: -21px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}

#tjdesign a:link { color: #ababab; }
#tjdesign a:visited { color: #ababab; }
#tjdesign a:hover { color: black; }


}
/* cmsms stylesheet: VALA_HD_MENU modified: 04/13/18 09:41:58 */
@media only screen and (min-width: 1200px) {


.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin: 0;
text-align: center;

}

.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: 'Roboto', sans-serif;
    margin: 0 50px 0px 10px;
    text-decoration: none;
    color: white;
    text-shadow: -0px 0px 3px #000;
}

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

.topnav a:hover 
{ 
color: black;
text-shadow: -0px 0px 3px #fff;
}





}
/* cmsms stylesheet: VALA_SD modified: 06/26/18 15:12:19 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {

a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}


#slideshowmob  {
        display:none;
}

#logomob  {
        display:none;
}

body {
    	background-color: #535353; 
	margin:0px auto;
}

#main {
	position:relative;
	top:0px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#top {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.8vw;
	font-family: 'Roboto', sans-serif;
	color: white;
	text-shadow: -0px 0px 3px #000;
	background: rgba(221, 122, 59, 1);
	vertical-align: middle;
	line-height: 50px;
}

#top a:link { color: #ffffff; }
#top a:visited { color: #ffffff; }
#top a:hover { color: c1c1c1; }



#top img {

    vertical-align: middle;
    max-height: 40px;
    max-width: 200px;
}



#topcontainer {
	position: -webkit-sticky; position: sticky; 
	width:100%;
   	top: 0;
   	margin:auto;
   	left: 0;
   	right: 0;
	z-index: 10000;
}



#menu {
	position: -webkit-sticky; position: sticky; 
        position: relative;                          /* added to support older browsers */
        margin-top:-50px;
	z-index: 10000;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	background: rgba(221, 122, 59, 1);
        text-align: center;
	vertical-align: middle;
	line-height: 50px;

}

#content {
	position: relative;
	width: 87%;
	top: 50px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.9vw;
	color: black;

}

#contentcontainer {
	position: relative;
	width: 100%;
	margin-top: -50px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.9vw;
	color: black;
	background-color: white;

}

#uutiset {
	position:relative;
	width:87%;
	top:24px;
	margin-top: 45px;
	margin-left: auto;
	margin-right: auto;


}

#wide1 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 394px;
     width: 100%;
     margin-left: auto;
}


#wide_palvelut {
     position:relative;
     top:50px;
     background-image: url("../../images/rakennuspalvelut.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 394px;
     width: 100%;
     margin-left: auto;
}

#contentcontainer h1 {
        font-family: 'Lato', sans-serif;;
   	font-size: 2.4vw;
   	color: black;
	margin-left: auto;
	margin-right: auto;
}

#content a {
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 1.9vw;
   	color: darkgreen;
	margin-left: auto;
	margin-right: auto;
}




#slideshow {
	position:relative;
	width:100%;
	top:0px;
}

#slideshow img {
	max-width: 100%; 
	min-width: 100%;
        border-style: none; 

}

img.opacity {
	max-width: 100%; 
	min-width: 100%;
        border-style: none; 
        opacity: 1.0;
}

.caption h1 {    
/* 
    background-color: rgba(80, 80, 80, 0.65);
*/
}

.caption {
      z-index: 1;
/*
      font-family: 'Merriweather', sans-serif;
*/
      font-size: 1.5vw;
      position: absolute;
      top: 41px;
      float: left;
      left: 27%;
      width: 34%;
      height: 130px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.2;
      color: #ffffff;

/*
      background: rgb(54, 25, 25);
      background: rgba(0, 0, 0, 0.4);
*/
      padding-left: 5%;
      text-shadow: -2px 1px #000;
}


.captiontext2 {
      z-index: 1;
      font-family: 'Roboto', sans-serif;
      font-size: 2.0vw;
      position: absolute;
      top: 0px;
      float: left;
      left: 0%;
      width: 100%;
      height: 100%;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.2;
      color: #fff;
      text-align: center;
      padding-left: 5%;
      text-shadow: -2px 2px 5px #000;
      margin-top: 36%;
}



#bottom {
	clear: both;
	position:relative;
	width:100%;
	top: -19px;
	background: rgba(221, 122, 59, 1);
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 2.2vw;
        color:black;
}

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

#tjdesign {
        clear:both;
        width: 100%;
        font-family: 'Source Sans Pro', sans-serif;
        margin-top: -18px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}

#tjdesign a:link { color: black; }
#tjdesign a:visited { color: black; }
#tjdesign a:hover { color: gray; }


}
/* cmsms stylesheet: VALA_SD_MENU modified: 04/13/18 09:42:28 */
@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;

}

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

.topnav a:link, .topnav a:visited
{
font-size: 1.5vw;
font-family: 'Roboto', sans-serif;
margin: 0 30px 10px 10px;
text-decoration: none;
color: white;
text-shadow: -0px 0px 3px #000;
}

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

.topnav a:hover 
{ 
color: black;
text-shadow: -0px 0px 3px #fff;
}





}
/* cmsms stylesheet: VALA_MOB modified: 06/27/18 13:56:53 */
@media only screen and (max-width: 799px) {

a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}

#top {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    font-size: 4.9vw;
    font-family: 'Roboto', sans-serif;
    color: white;
    text-shadow: -0px 0px 3px #000;
    background: rgba(221, 122, 59, 1);
    vertical-align: middle;
    line-height: 50px;
    text-align: center;
}

#top a:link { color: #ffffff; }
#top a:visited { color: #ffffff; }
#top a:hover { color: c1c1c1; }


#top img {
  width: 100%;
}

#slideshow  {
        display:none;
}

#slideshowmob  {
        position:relative;
        top:0px;
}

#logo  {
        display:none;
}

body {
    	background-color: #FFFFFF; 
	margin:0px auto;
}

#main {
	position:relative;
	top:0px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#topcontainer {
	width:100%;
   	top: 0;
   	margin:auto;
   	left: 0;
   	right: 0;
}

#top {
	position:relative;
	margin-left: auto;
	margin-right: auto;
}

#menu {
	z-index: 1000;
        position: fixed;
        top:0px;
	width:100%;
	margin-left: auto;
	margin-right: auto;
        background: rgba(221, 122, 59, 1);
	text-align: center;
	vertical-align: middle;
	line-height: 22px;
}

#content {
	position:relative;
	width:90%;
	top:51px;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 5.0vw;
	color: black;
}

#content img { 
	max-width:90%;
 	}

#uutiset {
	position:relative;
	width:90%;
	top:51px;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 5.0vw;
        color: black;
}

#content h1 {

        font-family: 'Roboto', sans-serif;
   	font-size: 5.4vw;
   	color: black;
}

#uutiset h1 {

        font-family: 'Lato', serif;
   	font-size: 5.4vw;
   	color: black;
}

#logomob {
	position:relative;
	top:0px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	vertical-align: middle;
	background: #7A7A7A;
}

#logomob img {
	max-width: 80%; 
	min-width: 80%;
        border-style: none; 
	vertical-align: middle;
}

#slideshow {
	position:relative;
	width:100%;
	top:3px;
}

#slideshow img {
	max-width: 100%; 
	min-width: 100%;
      border-style: none; 
}

.caption {
	z-index: 1;
	font-family: 'Merriweather', sans-serif;
	font-size: 2.7vw;
	position: absolute;
	top: 13%;
	float: left;
	left: 2%;
	width: 87%;
	height: 130px;
	margin-left: auto;
	margin-right: auto;
	color: #ffffff;
	padding-left: 5%;
	text-align: center;
	text-shadow: -2px 1px #000;
}


.captiontext2 {
	z-index: 1;
	font-family: 'Lato', sans-serif;
	font-size: 5.5vw;
	position: absolute;
	top: 0px;
	float: left;
	left: 0;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
	color: #fff;
	text-align: center;
	padding-left: 5%;
	text-shadow: -1px 1px 1px #000;
	margin-top: 42%;
}



#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:50px; 
    	background-color: rgba(221, 122, 59, 1); 
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Source Sans Pro', sans-serif;
   	font-size: 3.5vw;
        color:black;
}

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

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


}
/* cmsms stylesheet: VALA_MOB_MENU modified: 05/29/18 10:56:20 */
@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;
}

/* 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: black;
    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: darkgray;}

/* 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;
  }




}
/* cmsms stylesheet: BXSlider modified: 12/12/16 15:29:12 */
/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 0px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
        width:100%;
}

ul.bxslider {
  margin: 0;
  padding: 0;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	left: 0px;
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(../../images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 0px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #FFF;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .95em;
        height:40px;
	padding: 5px;
}
