/* cmsms stylesheet: Kainieminen_HD modified: 05/23/19 09:40:01 */
@media only screen and (min-width: 1200px) {

#slideshowmob  {
        display:none;
}

#logomob  {
        display:none;
}

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

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

#contentcontainer h1 {

   	font-size: 2.4vw;
   	color: #ff5a00;
        font-family: 'Lato';
}

a {
   	color: #555555;
        text-decoration: none;
}


.caption a {
   	color: #ee6700;
        text-decoration: none;
}

a:hover {
   	color: #d40000;
        text-decoration: none;
}

#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 {
	position:fixed;
	z-index: 1000;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(to right, white , white, #ffb076, #ff6300);
        text-align: center;
	vertical-align: middle;
	line-height: 50px;
        padding-top: 11px;
}

#logo {
        position: absolute;
        width: 300px;
        left: 10%;
        top: 16px;
        z-index: 1000;

}

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

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

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

.caption {
       z-index: 1;
       font-family: 'Racing Sans One', cursive;
       font-size: 1.5vw;
       position: absolute;
       top: 15%;
       float: left;
       left: 5%;
       width: 24%;
       height: 130px;
       margin-left: auto;
       margin-right: auto;
       line-height: 1.2;
       color: white;
/*   
       background: rgb(54, 25, 25);
       background: rgba(0, 0, 0, 0.4);
*/
       padding-left: 5%;
       text-shadow: -1px 1px 1px #000;
}

#contentcontainer {
	position:relative;
	width:100%;
	top:70px;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';
   	font-size: 1.9vw;
}

#content {
	position:relative;
	width:75%;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';

}

#content_sahkopalvelut {
	width:75%;
	margin: auto;
}


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


#wide2 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide2.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 467px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 80px;
}


#laatikko1_palsta {
	position:relative;
	text-align:left;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;

}


#laatikko2_palsta {
	position:relative;
	text-align:left;
	width:45%;
	float:right;
	margin-left:1%;
	margin-right:1%;

}


#content3 {
	width:75%;
	margin: auto;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:50px; 
	background: #ff6300;
	padding-bottom: 14px;
	padding-top: 15px;
	margin-top: 70px;
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Lato', sans-serif;
   	font-size: 1.5vw;
        color:white;

}

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

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

}
/* cmsms stylesheet: Kainieminen_HD_MENU modified: 04/05/19 10:27:13 */
@media only screen and (min-width: 1200px) {


.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin-top: 20px;
margin-right: 70px;
margin-bottom: 20px;
margin-left: 20px;
text-align: right;

}

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

.topnav a:link, .topnav a:visited
{
font-size: 2.2vw;
font-family: 'Racing Sans One';
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: darkgray; 
}





}
/* cmsms stylesheet: Kainieminen_SD modified: 05/23/19 09:40:37 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {

#slideshowmob  {
        display:none;
}

#logomob  {
        display:none;
}

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

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

#contentcontainer h1 {

   	font-size: 3.4vw;
   	color: #ff5a00;
        font-family: 'Lato';
}

a {
   	color: #555555;
        text-decoration: none;
}

.caption a {
   	color: #ee6700;
        text-decoration: none;
}


a:hover {
   	color: #d40000;
        text-decoration: none;
}

#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 {
	position:fixed;
	z-index: 1000;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(to right, white , white, #ffb076, #ff6300);
        text-align: center;
	vertical-align: middle;
	line-height: 50px;
        padding-top: 11px;
}

#logo {
        position: absolute;
        width: 300px;
        left: 10%;
        top: 16px;
        z-index: 1000;

}

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

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

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

.caption {
       z-index: 1;
       font-family: 'Racing Sans One', cursive;
       font-size: 2.5vw;
       position: absolute;
       top: 15%;
       float: left;
       left: 5%;
       width: 44%;
       height: 130px;
       margin-left: auto;
       margin-right: auto;
       line-height: 1.2;
       color: white;
/*   
       background: rgb(54, 25, 25);
       background: rgba(0, 0, 0, 0.4);
*/
       text-shadow: -1px 1px 0px #000;
       padding-left: 5%;
}

#contentcontainer {
	position:relative;
	width:100%;
	top:70px;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';
   	font-size: 2.5vw;
}

#content {
	position:relative;
	width:90%;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';

}

#content_sahkopalvelut {
	width:90%;
	margin: auto;
}


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


#wide2 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide2.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 467px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 80px;
}


#laatikko1_palsta {
	position:relative;
	text-align:left;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;

}


#laatikko2_palsta {
	position:relative;
	text-align:left;
	width:45%;
	float:right;
	margin-left:1%;
	margin-right:1%;

}


#content3 {
	width:90%;
	margin: auto;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:50px; 
	background: #ff6300;
	padding-bottom: 14px;
	padding-top: 15px;
	margin-top: 70px;
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Lato', sans-serif;
   	font-size: 1.5vw;
        color:white;

}

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

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

}
/* cmsms stylesheet: Kainieminen_SD_MENU modified: 04/05/19 10:50:13 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {


.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin-top: 20px;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 20px;
text-align: right;

}

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

.topnav a:link, .topnav a:visited
{
font-size: 3.0vw;
font-family: 'Racing Sans One';
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: darkgray; 
}


}
/* cmsms stylesheet: Kainieminen_MOB modified: 05/23/19 09:41:05 */
@media only screen and (max-width: 799px) {

#slideshow  {
        display:none;
}

#logo  {
        display:none;
}

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

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

#contentcontainer h1 {

   	font-size: 6.4vw;
   	color: #ff5a00;
        font-family: 'Lato';
}

a {
   	color: #555555;
        text-decoration: none;
}

.caption a {
   	color: #ee6700;
        text-decoration: none;
}


a:hover {
   	color: #d40000;
        text-decoration: none;
}

#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 {
	position:fixed;
	z-index: 1000;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(to right, white , white, #ffb076, #ff6300);
        text-align: center;
	vertical-align: middle;
	line-height: 50px;
        padding-top: 11px;
}

#logo {
        position: absolute;
        width: 300px;
        left: 10%;
        top: 16px;
        z-index: 1000;

}

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

#slideshowmob {
	position:relative;
	width:100%;
	top:89px;
}

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

.caption {
       z-index: 1;
       font-family: 'Racing Sans One', cursive;
       font-size: 4.5vw;
       position: absolute;
       top: 4%;
       float: left;
       left: 5%;
       width: 80%;
       height: 130px;
       margin-left: auto;
       margin-right: auto;
       line-height: 1.2;
       color: white;
/*   
       background: rgb(54, 25, 25);
       background: rgba(0, 0, 0, 0.4);
*/
       text-shadow: -1px 1px 0px #000;
       padding-left: 5%;
}

#contentcontainer {
	position:relative;
	width:100%;
	top:85px;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';
   	font-size: 5.5vw;
}

#content {
	position:relative;
	width:90%;
	margin-left: auto;
	margin-right: auto;
        font-family: 'Lato';

}

#content_sahkopalvelut {
	width:90%;
	margin: auto;
}


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


#wide2 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide2.jpg");

     background-repeat: no-repeat;
     background-size: 100%;
     height: 218px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 80px;
}


#laatikko1_palsta {
	position:relative;
	text-align:left;
	width:90%;
	float:left;
	margin-left:1%;
	margin-right:1%;

}


#laatikko2_palsta {
	position:relative;
	text-align:left;
	width:90%;
	float:right;
	margin-left:1%;
	margin-right:1%;

}


#content3 {
	width:90%;
	margin: auto;
}

#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:50px; 
	background: #ff6300;
	padding-bottom: 14px;
	padding-top: 15px;
	margin-top: 70px;
}

#bottomcontainer {
	position:relative;
	width:75%;
        margin: 0 auto;
	text-align:center;
        font-family: 'Lato', sans-serif;
   	font-size: 4.5vw;
        color:white;

}

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

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

}
/* cmsms stylesheet: Kainieminen_MOB_MENU modified: 04/05/19 17:39:09 */
@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-image: linear-gradient(to right, white , white, #ffb076, #ff6300);
}

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

/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    color: #525252;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 30px;
    font-family: 'Racing Sans One';
}

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

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