/* Copyright (C) WarpTheme, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */

.tp-caption {
    text-shadow: 0px 0px 1px #ffffff40 !important;
}


html {
  scroll-behavior: smooth;
}

.row:after  {
  display: table-cell !important;
}

.row:before {
  display: table-cell !important;
}

.asuntokuva {

    width: 100%;
    height: auto;

}

.service__body {
  
  border-left: 3px solid white !important;
  border-right: 3px solid white !important;
  border-top: 3px solid white !important;

}



.cc-color-override-688238583 .cc-link, .cc-color-override-688238583 .cc-link:active, .cc-color-override-688238583 .cc-link:visited {
    color: rgb(255, 255, 255);
    display: none !important;
}

.cc-color-override-688238583 .cc-btn:hover, .cc-color-override-688238583 .cc-btn:focus {
    background-color: rgb(38, 78, 134) !important;
}


.cc-color-override-688238583 .cc-btn {
    color: rgb(255, 255, 255) !important;
    background-color: rgb(48, 94, 158) !important;
}


.offcanvas-menu {

    background-color: #305E9C !important;
  
}

.helix-social-share .helix-social-share-icon ul li div a {

    padding-top: 2px !important;
  
}

.view-article #sp-main-body {

    background-color: #fff !important;

}


.entry-header h2 {

    margin: 8px 0 0;
    font-size: 26px !important;
    line-height: 1;
    font-weight: 700 !important;
    color: #305E9C !important;

}


.page-header {
    padding-bottom: 15px;
    display: none !important;
}

.entry-header.has-post-format {

    margin-left: 0px !important;
}

.post-format {
    background: #305e9e;
    display: none !important;
}


#qx-joomla-articles-3604 .qx-btn {

    font-family: Roboto;
    font-weight: 700;
    width: 100% !important;
    border-radius: 0px !important;
    border: none !important;
    color: #305E9C !important;
    margin-top: 10px;

}

.alaviiva {

    border-bottom: 5px solid #305e9c;

}

.asunnot-ylaviiva {border-top: 1px dotted #305e9e;}

#sp-bottom .sp-module li > a {

    color: #254C7A !important;

}

#sp-footer {

    background: #305e9e !important;
    font-size: 12px !important;

}


#sp-bottom .sp-module li > a:hover, #sp-bottom .sp-module li > a:focus, #sp-bottom .sp-module li > a:active {

    background: rgba(0,0,0,0);
    color: #305e9e !important;

}


#sp-bottom {

    background-color: #F1FAFF !important;
    color: #305E9C !important;
    padding: 100px 0px;

}



.uutisarkisto {width: 100% !important;border-radius: 0px;border: none !important;}

.qx-btn.uutisarkisto.qx-btn-default:hover {

    background-color: #305e9c !important;
    border: none !important;

}

.qx-element-jarticle-introtext {

    margin-top: 10px;

}

.qx-btn-default:hover {

    background-color: #fbfeff !important;
  
}

.qx-element-accordion .collapsible-body {
    border-top: 3px solid #305e9e !important;
}

.logokuva {

    display: block;
    margin: auto;

}

.qx-media-grid {

    border-bottom: 5px solid #305e9c;

}

a {

    color: #305e9c;

}

.scrollup {

    background-color: #305e9e !important;

}


#sp-slideshow {
    border-bottom: 10px solid #305e9e;
}
  
.ajankohtaista {color: #fff !important;}

#sp-header {
    background: #F3FCFF !important;
}

#sp-logo::before {
    background: #305E9E !important;
}

.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    color: #305E9E !important;
  font-weight: 400 !important;
}

.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a {
    color: #254C7A !important;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    background: #305E9E !important;
}

#offcanvas-toggler > i {
    color: #305E9E !important;
}

a.button.border:hover, input[type="button"], input[type="submit"], input[type="button"].border:hover, input[type="submit"].border:hover, a.button {
    background-color: #305e9e !important;
}

a.button.gray:hover, a.button.dark, a.button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #254C7A !important;
    color: #fff;
}

.service__body.boxed {
    border-bottom: 5px solid #305E9E !important;
}

body {color: #000 !important;}

.logo-image {display: initial !important;}


 @media only screen and (max-width: 600px) {
  table {
    font-size: 10px;
  }
   
   .tp-caption {

    padding-left: 10px !important;

}
   
 
   
}

 @media only screen and (max-width: 1200px) {
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {

    font-size: 11px !important;
   }
   
      .tp-caption {

    padding-left: 10px !important;

}


