#mainnavi2 ul, #mainnavi2 li.active ul ul {
	display:none;
}
#mainnavi2 li.active ul, #mainnavi2 li.active ul li.active ul {
	display: block;
}
nav#sub-pages ul li.active {
  margin-bottom: 10px;
}
nav#sub-pages ul li.active ul li {
  margin-bottom: 0px;
}
nav#sub-pages .active > a {
  background: #015294 url(../images/arrow-white.png/$FILE/arrow-white.png) 96% center no-repeat;
  color: #fff;
  padding-right: 25px;
}
nav#sub-pages ul li.active ul li a {
  border: none;
  padding: 10px;
  color: #000;
  text-decoration: none;
  font-size: 0.8125em;
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  padding: 5px 5px 5px 5px;
  background-color: transparent;
}
nav#sub-pages ul li.active ul li a:hover, nav#sub-pages ul li.active ul li.active a, nav#sub-pages ul li.active ul li.active ul li a:hover, nav#sub-pages ul li.active ul li.active ul li.active a {
  border: none;
  background-color: transparent;
  color: #007cc4;
}
nav#sub-pages ul li.active ul li.active a, nav#sub-pages ul li.active ul li.active ul li.active a {
	font-weight:bold;
}
nav#sub-pages ul li.active ul li.active ul li a, nav#sub-pages ul li.active ul li ul li a {
	font-weight: normal;
	  color: #000;
	  font-size: 0.75em;
}
.inplaceeditor-form tr, .toolbar tr {
	border: none !important;
}
.inplaceeditor-form td, .toolbar td {
	padding: 0 !important;
}
.inplaceeditor-form img, .toolbar img {
	width: auto !important;
	max-width: 10000px !important;
	height: auto !important;
	margin: 0px !important;
	padding: 0px !important;
}
.inplaceeditor-form select, .toolbar select {
	width: auto !important;
	height: auto !important;
	margin: 0px !important;
	padding: 0px !important;
}
#product-page .tech-info .inplaceeditor-form  table{
    width: auto;
}
 #product-page .tab-content .inplaceeditor-form  table {
    width: auto;
}
/* #product-page .tab-content .inplaceeditor-form  table table {
    width: 700px;
}
 #product-page .tab-content .inplaceeditor-form  table table td{
    max-width: 50px;
}*/
DIV.section {
	width:50%;
	float:left;
}
.section .contact-details {
	width:92%;
	float: left;
	margin: 0 0 2%;
	margin-right:8px;
	border: 1px solid #ccc;
	border-bottom: 3px solid #007dc5;
	border-radius: 4px;
	padding: 2%;
	*zoom: 1;
}
.ddhover{
	background: #CCC;
}
#mainnavi1-editlink {
	display:none;
}
.product .image {
	min-height:150px;
	vertical-align:middle;
	horizontal-align: middle;
	text-align: center;
	line-height:170px;
}
.tab-pane active  {
  font-size: 1.5em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
#productsettingsfrm input.min {
	width:100px;
	font-size:12px;
}
#productsettingsfrm input.max {
	width:200px;
	font-size:12px;
}
#productsettingsfrm h1 {
	font-size:14px;
}
#productsettingsfrm p {
	font-size:12px;
	font-weight: bold;
}
#productsettingsfrm  {
	font-size:12px;
}
.category h1 a {
  display: block;
  text-decoration: none !important;
  border: 0px;
  padding: 2px;
  -webkit-transition: border-color 250ms ease-in;
  -moz-transition: border-color 250ms ease-in;
  -o-transition: border-color 250ms ease-in;
  -ms-transition: border-color 250ms ease-in;
  transition: border-color 250ms ease-in;
  color:#FFFFFF;
}
.category h1 a:hover {
  border: 0px;
}
.category-image .htmlarea {
	max-width: 372px;
}
.red {
	color:red;
}
.content .lineitem, #company-intro {
	font-size: 0.8125em;
}
.content .lineitem p, #company-intro p, .section .lineitem  {
}
.section .lineitem p {
}
#product-page .product-image #carousel img {
	max-width:30px !IMPORTANT;
}
.company .contact {
	max-width:40%;
}
#slider ul li {
  list-style-image: none;
}
.content .orange ul{margin:10px 20px}
.cart-content .product-cart .product-image img {
	max-width:100px;
	max-height:72px;
}
label {
	display:block;
	margin-bottom: 5px;
}
.btn{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}
.service-sales .company .logox{clear:both; width:43%;float:left;margin-right:5%;margin-bottom:5px}
.pagination p{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05);padding:0}
.pagination ul>li{display:inline}
.content .pagination span a, .content .pagination span.inactive{float:left;padding:4px 12px;line-height:20px;background-color:#fff;border:1px solid #ddd;border-left-width:0;text-decoration:none;font-size:1em}
.content .pagination span a:hover,.content .pagination span.active>a,.content .pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.content .pagination ul>.disabled>span,.content .pagination ul>.disabled>a,.content .pagination ul>.disabled>a:hover{color:#999;cursor:default;background-color:transparent}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.pagination-centered{text-align:center}.pull-right{float:right;margin:0 0 10px 10px}.pull-left{float:left;margin:0 10px 10px 0}.all-results{text-align:right}
.results {display:inline}
textarea {
	width:100% !IMPORTANT;
}
.toolbarElement {
/*	width:99% !IMPORTANT;
	float:left;
*/}
.newssidebar {
	padding-top:10px;
	width:100%;
}
.newssidebar ul li a{
  border: 0 none;
    color: #000000;
    display: block;
    font-family: 'Open Sans',sans-serif;
    font-size: 0.8125em;
    font-weight: normal;
    padding: 5px;
    text-decoration: none;
}
.newssidebar ul li a:hover{
	background-color:#FFFFFF !IMPORTANT;
	color:#007CC4 !IMPORTANT
}
nav#sub-pages .newssidebar .active > a {
    background: none !IMPORTANT;
    color: #000000 !IMPORTANT;
    padding-right: 0px !IMPORTANT;
}
#front-news div {
    font-family: Arial,sans-serif;
    font-size: 0.8125em;
    margin: 0.625em 0;
}
#page UL, .tab-pane table UL, .newssidebar UL {
	margin-left: 15px !IMPORTANT;
}
.product-page-tabs ul {
	margin-left: 0px !IMPORTANT;
	width:99%;
}
.product-page-tabs .tab-content ul {
	margin-left: 15px !IMPORTANT;
}
.content #search-results-tabs{
	margin-left: 0px !IMPORTANT;
}
/*#logo img {
	width:250px !IMPORTANT;
}*/
.pagination {
	border: none !IMPORTANT;
}
.list .item .image {
	vertical-align:middle !IMPORTANT;
	/*line-height:230px !IMPORTANT;*/
	text-align:center !IMPORTANT;
}
#new-products .list .item .image {
	line-height:230px !IMPORTANT;
}
.list .item, .item-content {
	min-height:400px !IMPORTANT;
}
.service-sales .company .logo img {
	width:100%;
}
xtable img {
	width:90px;
}
#categories-front #sahkotekniikka .dropdown {
  background: #f1f1f1 url('../images/automaatio.png/$FILE/automaatio.png') no-repeat 100% 50% !IMPORTANT;
}
#categories-front #koneenrakennus .dropdown {
  background: #f1f1f1 url('../images/mekaniikka.png/$FILE/mekaniikka.png') no-repeat 100% 50% !IMPORTANT;
}
#categories-front #nayttamotekniikka .dropdown {
  background: #f1f1f1 url('../images/mechatronics.png/$FILE/mechatronics.png') no-repeat 100% 50% !IMPORTANT;
}
#categories-front #jarjestelmatoimitukset .dropdown {
  background: #f1f1f1 url('../images/jarjestelmatoimitukset.png/$FILE/jarjestelmatoimitukset.png') no-repeat 100% 50% !IMPORTANT;
}
.xhide li {
	display: none;
}
#addfile iframe {
	width:100%;
	height:60px;
}
.product .image li {
 list-style:none;
margin:0px;
}
/*
.contact-row {
display: table-row !IMPORTANT;
}
.contact-details {
display: table-cell !IMPORTANT;
}
*/
.logox .btn-contact{max-width:155px;}
.category-image img {
	min-height: 130px; !IMPORTANT
}
#info1 table td li {
	width:98%;
}
.content .title a:link, .content .title a:visited, .content .title a:hover, .content .title a:active, .service a:link, .service a:visited, .service a:hover, .service a:active {
  color: #000000;
  text-decoration: none;
}
#footer-wrapper.juhlalogo{
  padding-top:40px;
  min-height:175px;
}
#juhla-logo{
  text-align:right;
  padding:0 3% 20px 3%;
}
@media (max-width: 979px) and (min-width: 768px){
  #juhla-logo{
    text-align:right;
    padding:0 3% 20px 3%;
    width:94%;
  }
  #footer-wrapper.juhlalogo{
    height:200px;
  }
}
@media screen and (max-width: 767px){
  #juhla-logo{
      width:94%;
  }
  #footer-wrapper.juhlalogo{
    height:220px;
  }  
  #footer-wrapper.juhlalogo{
    padding-top:60px;  
  }
}
