

.gallery-icon.landscape, .gallery-icon.portrait { margin: 0px 4px 4px 0px !important; }

@media only screen and (min-width: 992px) {
.main-title--small {
    padding: 56px 0 16px 0;
}
  div.logo a img { 
  margin-top: 28px !important;
  }
  .page-id-2 div.master-container { margin: 0 auto!Important; }
  .navigation--main > li > a {
    padding: 14px 40px 11px !important;
  }
  .navigation--main > li.current-menu-item > a {
    padding: 11px 40px 11px !important;
    border-top: 3px solid #AD4013 !important;
  }
  .navigation--main > li > a:hover {
    padding: 11px 40px 11px !important;
    border-top: 3px solid #000 !important;
    color: #fff !important;
  }
  header.header div.container:nth-child(1) { height: 150px !important; }
  ul#menu-paavalikko { float: left !important; }
  .footer-bottom {
    padding: 5px 0;
}
  div.yhteydenotto-oikea { padding-left: 15px; }
  .footer {
    padding: 30px 0 0 0;
}
  .page-id-2 div.master-container { border-top: 3px solid #E04E12; }
}

@media only screen and (min-width: 1200px) {
  div.logo a img { 
  margin-top: 28px;
  display: block;
  width: auto;
  height: 95px;
  }
  div.widget-icon-box { margin-top: 20px; }
  div.laatikko-wrapper { width: 50%; }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
div.laatikko-wrapper { width: 40%; }
div.header-widgets { margin-top: -100px; float: right !important; }  
  div.logo { width: 50%; }
}

@media only screen and (max-width: 991px) {
  div.widget-icon-box { width: 50%; float: left; }
  div.laatikko-wrapper { width: 50%; }
  div.master-slider { border-top: 3px solid #d35b00; }
  body:not(.home) header.header { border-bottom: 3px solid #d35b00; }
  ul.js-dropdown { text-align: center; }
  .navigation--main > li > a {
    padding: 9px 10px 9px 0;
  }
  
  .navigation--main > li  {
    border-bottom: 1px solid #dedede;
  }
  .navigation--main > li:hover {
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
  }
  .navigation--main > li.current-menu-item > a { color: #E04E12; }
    div.footer div.container div.row { text-align: center !important; }
  .footer .footer__headings::after { left: calc(50% - 15px); }
}

@media only screen and (max-width: 480px) {
/* div.laatikko-wrapper { display: none; } */
  div.ms-layer { width: 100% !important; left: 20px !important; left: calc(10%) !important; }
  div.logo a .img-responsive { margin-top: 10px; max-width: 100%; }
}


@media only screen and (max-width: 420px) {
  div.widget-icon-box { width: 100%; }
}

@media only screen and (max-width: 380px) {
  span.navbar-toggle__text { display: none !important; }
  div.logo { max-width: 70% !Important; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
div.logo { margin-top: 20px; max-width: 70%; }
  palvelut-nappi { font-size: 16px !important; }
}

@media only screen and (max-width: 767px) {
a.palvelut-nappi { font-size: 16px !important; padding: 7px 15px 8px 0px !important; line-height: 35px !important; }
div.laatikko-wrapper {
    width: 75%;
}
  div.laatikko-wrapper div.laatikko-yla { padding: 10px !important; }
  div.laatikko-wrapper div.laatikko-ala { padding: 0 10px !important; }
  div.sow-features-feature, div.sow-features-feature-last-row { width: 100% !important; }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
 div.sow-features-feature-last-row { width: 50% !important; } 
 div.sow-features-feature-last-row { width: 50% !important; } 
 div.sow-features-list.sow-features-responsive div.sow-features-feature-last-row:nth-child(1), 
 div.sow-features-list.sow-features-responsive div.sow-features-feature-last-row:nth-child(2)  { padding-bottom: 45px !important; } 
}

 @media only screen and (min-width: 700px) {
  div.galleria-pieni { display: none !important; }
}

@media only screen and (max-width: 699px) {
  div.galleria-iso { display: none !important; }
}

span.slb_template_tag_ui_nav_prev, span.slb_template_tag_ui_nav_next { opacity: 1 !important; }

.slb_container {
    box-shadow: 0 0 16px 0px #4C4C4C !Important;
  	background-color: #333 !Important;
}

.slb_template_tag { color: #efefef !important; }

.gallery-item img {
    height: 100%;
    width: 100%;
}

div.sow-features-list h5:hover { color: #E04E12 !important; text-decoration: none !important; }

body a { color: #a0a0a0; }
body a:hover { color: #666;  text-decoration: none; }

div.laatikko-wrapper div.laatikko-yla:hover { cursor: default !important;}

a.palvelut-nappi:hover {  text-decoration: none; }
div.laatikko-wrapper div.laatikko-ala:hover { 
  text-decoration: none;
  background-color: rgba(224,78,18,1) !important; 
  transition: all 200ms ease-out;
  cursor: pointer;
         }

.su-tabs-nav span.su-tabs-current {
    font-weight: bold;
}

span.wpcf7-list-item label { width: 100%; }

input.wpcf7-text, .wpcf7-textarea {
    padding: 3px;
  	background: #fcfcfc;
  	margin-bottom: 5px !important;
}

.wpcf7-textarea {
    height: auto;
}

div#pg-2-0 { margin-bottom: 0px !Important; }

.btn.tarjous { border: 3px solid #C34815; background-color: #E04E12; color: #fff; }
.btn.tarjous:hover { border: 3px solid #333; background-color: #666; color: #fff; }

.btn.palvelu { border: 3px solid #696969; background-color: #E6E6E6; color: #696969; }
.btn.palvelu:hover { border: 3px solid #333; background-color: #666; color: #fff; }

span.navbar-toggle__text { color: #fff; }
span.navbar-toggle__icon-bar span.icon-bar { background-color: #fff; }

header div.widget-icon-box i.fa { color: #E04E12 !important; }
header div.widget-icon-box h4.icon-box__title { color: #666 !important; }

body:not(.home) div.master-container { margin-top: 30px; }

div.main-title { display: none !important; }

  
.main-title--small .main-title__primary {
    font-size: 23px;
}

div.breadcrumbs { display: none !important; }

a:hover, a:active { text-decoration: none !important; }

a.icon-box:hover i.fa { color: #BDBDBD !important; }