.slideshowlink {
    display:none;
}

.inside-header.grid-container.grid-parent h4 {
    margin-bottom: 3px;
   color: #fff;
}

.site-header a, .site-header a:visited {
    color: #fff;
}

#masthead.site-header {
    background: url("http://ruukinsaha.fi/wp-content/uploads/2017/09/headerintausta.png") repeat-x;
  
}

.inside-header.grid-container.grid-parent h4 {
    margin-bottom: 3px;
}

.main-navigation {
    z-index: 100;
    clear: both;
    display: block;
}

.site-header .header-image {
    vertical-align: middle;
    max-width: 90%;
}

.widget ul li a:hover {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.inside-right-sidebar .widget ul li:hover {
    margin-bottom: 10px;
    border-bottom: 1px dotted #ddd;
    background: #153a8b;
}

.main-navigation .main-nav ul ul li a {
    border-bottom: 1px dotted #0066ff;
}

body.home #breadcrumbs{display:none;}

#breadcrumbs { 
  background-color: #153a8b; 
color: #fff;
  text-align: center !important;

}

#breadcrumbs .breadcrumb_last { color: #fff;
    }

#breadcrumbs a {
line-height: 3em;
  color: #fff;
    text-align: center;
}

#breadcrumbs a:hover {
 color: #ddd;
}

h3 {
   margin-bottom: 3px;
}

#yhteystiedot .generate-sections-inside-container h4 {

    color: #000000;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 16px;
  
}

.page .entry-content {
    border-right: 1px solid #ddd;
}

.sidebar .widget .widget-title {
    color: #000000;
    margin-bottom: 10px;
    font-weight: 800;
}
  
#text-5.widget.inner-padding.widget_text   {
    padding-top: 10px;
}

.widget ul li a {
    color: #153a8b;
    font-size: 15px;
    font-weight: 700;
}

.inside-right-sidebar .widget ul li  {
margin-bottom: 10px;
    border-bottom: 1px dotted #ddd;
}



.inside-header p {
    font-size: 14px;
    color: #808080;
    line-height: 0.7em;
}

.sidebar .widget p {
   font-size: 14px;
    margin-bottom: 0.3em;
}
  
.generate-content-header {
    background-color: #153a8b;
    -webkit-box-shadow: inset 0px -4px 14px -7px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px -4px 14px -7px rgba(0,0,0,0.75);
box-shadow: inset 0px -4px 14px -7px rgba(0,0,0,0.75);
}

#generate-section-3.generate-sections-container p { color: #fff;  }

#generate-section-3.generate-sections-container h4 { 
  font-size: 27px;
  color: #fff;   
}

.page-header-content {
    background-position: center center;
}

#generate-section-3.generate-sections-container.energiatehokkuus p {
   font-size: 15px;
   margin-right: 8%;
}

#generate-section-3.generate-sections-container.energiatehokkuus h2 {
   color: #153a8b;
}

#generate-section-4.generate-sections-container.kattoelementti_4 p {
   margin-right: 8%;
   font-size: 14px;
}

#generate-section-4.generate-sections-container.optimihallitsection1 h2 {
   margin-bottom: 0px;
   color: #000;
}

#generate-section-4.generate-sections-container.optimihallitsection1 p {
   font-size: 15px;
}





#generate-section-2.generate-sections-container.kattoelementti p {
   margin-right: 8%;
  font-size: 14px;
}

#generate-section-2.generate-sections-container.kattoelementti h4 {
   margin-right: 8%;
}


#yhteystiedot .generate-sections-inside-container .wpcf7-form {
    width: 100%;
}

.wpcf7-form { float : right; margin: 0 auto; }

#wpcf7-f270-o1.wpcf7 {
   max-width: 400px;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], .button, .button:visited {
    color: #153a8b;
    background-color: #fff;
    border: 2px solid #153a8b;
}

input[type="submit"]:hover, .button:hover, button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .button:focus {
    color: #fff;
    background-color: #153a8b;
}

.wpcf7-form-control.wpcf7-textarea {
   height: 80px;
}

#generate-section-1.generate-sections-container .wpcf7-form p {
   margin-bottom: 1em;
}

#generate-section-1.generate-sections-container .wpcf7-form {
   width: 100%;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="tel"], input[type="search"], textarea {
   padding-top: 2px;
   padding-bottom: 2px;
      font-size: 15px;
   color: #666666;
}

#text-2.widget.inner-padding.widget_text p {
    margin-bottom: 0em;
    font-size: 15px;
}

#text-3.widget.inner-padding.widget_text {
     padding: 0 0 0 80px;
}

#pages-2.widget.inner-padding.widget_pages a {
    color: #fff;
    font-size: 15px;
    line-height: 1em;
}
#pages-2.widget.inner-padding.widget_pages   {
    padding: 0 0 0 80px;
}

.widget ul li {
    padding-bottom: 2px;
}


.footer-widgets .widget-title {
    display: none;
}

.tp-caption.tp-resizeme {
text-shadow: 2px 2px 5px rgba(21, 21, 21, 1);
}

 h2 {
  font-size: 34px;
    font-weight: bold;
    margin-bottom: 0em;
    color: #153a8b;
}

.generate-inside-combined-content, .generate-inside-page-header-content h2  {
    color: #ffffff;
    font-size: 18px;
    margin-left: 40px;
}

 h3 {
    font-weight: 600;
    text-transform: none;
    font-size: 22px;
}

 h4 {
    font-weight: 700;
    color: #153a8b;
}

.size-full.wp-image-137.aligncenter {
   width: 65px;
}

.main-navigation .main-nav ul li a {
    border-right: 1px solid #d9d9d9;
}

#nav_menu-3.widget.inner-padding.widget_nav_menu a {
    color: #fff;
}

@media screen and (max-width: 1082px) {
 
  body {
    background-image: none;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-color: #fff;
}

  
}

@media screen and (max-width: 757px) {

  #text-3.widget.inner-padding.widget_text {
    padding: 0 0 0 0px;
} 
  
    #breadcrumbs {
margin-bottom: 0em;
}

}

@media screen and (max-width: 470px) {

  h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 0em;
    color: #153a8b;
}
}
  
@media screen and (max-width: 584px) {  
  
  .page .entry-content {
    border-right: none;
}

  
}
