/*
Theme Name:         Lainahakemus.fi
Theme URI:          https://wecodepixels.com
Description:
Version:            1.0.0
Author:             WeCodePixels
Author URI:         https://wecodepixels.com
Text Domain:        sage
*/

.row {
  padding: 0px;
}

.banner{
border-bottom: 1px solid #e7e7e7;
}

.banner ._logo {
    padding:20px 15px;
    text-align: left;
}

.main, a {
color: #3c4043;
}

.page-template-template-home-page {
  background-image: none;
  background-position: left calc(100% + 352px) top -29px;
  background-size: none;
  background-repeat: no-repeat;
  background-color: #fff;
}
.page-template-template-home-page .price {
  font-size: 21px;
}

.page-template-template-home-page .select-text{
font-size: 1rem;
}


  .h2, h2 {
  font-size: 1.5rem;
  color: #3c4043;
}

.example-text{
}

#menu-etusivu .nav-link {
  color: #333;
  font-weight: 400;
}

#menu-etusivu .nav-link:hover{
  color: #1653cd;
}

#menu-etusivu .nav-link:hover{
  color: #1653cd;
}


.page-template-template-home-page .main-text h1 {
font-size: 36px;
color: #3c4043;
font-weight: 600;
}

.page-template-template-home-page .main-text p {
font-size: 1rem;
line-height: 1.75;
letter-spacing: 0px;
font-weight: 400;
}

.page-template-template-home-page ._right-box {
padding: 10px 32px 10px;
}

.page-template-template-home-page .price-container-button {
  display: block !important;
}

.page-template-template-home-page .example-text {
padding-top: 30px;
color: #000;
font-weight: 400;
font-size: 18px;
margin-bottom: 0px !important;
}

._sticky-banner {
  display: none;
}

.btn {
font-weight: 600;
}

.nav-primary {
  margin-top: -15px !important;
}

.gray-background-text {
  font-size: 12px;
  background-color: #fdfdfd !important;
  color: #616161;
}

.footer-section {
border-top: 1px solid #dadce0;
background-color: #fff;
}

.page-template-template-home-page .table-of-contents {
border: 1px solid #dadce0;
}

.textwidget a{
text-decoration: underline; 
}

.h3, h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #3c4043;
}

.page-template-template-home-page .right-box-text {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: left;
  justify-content: left;
  font-size: 1rem;
}

.page-template-template-home-page .right-box-text li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  margin-bottom: 18px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: left;
  align-items: left;
}

.pikalinkit{
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
}

.pikalinkit a{
text-decoration: underline;
}

.partners h2{
text-align: center;
}

.partners img{
width: 100px;
height: 40px;
}

.wp-block-column:nth-child(2n) {
  margin-left: 0px;
}

.wp-block-image {
  margin-bottom: 1em;
  justify-content: center;
  text-align: center;
}

#menu-etusivu .nav-link{padding-bottom: 0px;}
#menu-etusivu>li>.nav-link:hover{
    
}
 .nav-primary{float:right;margin-top:9px}

.current_page_item a {}
#menu-etusivu .sub-menu{
  display:none;
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  
  background: white;
  z-index: 9999;
}

#menu-etusivu .sub-menu a{color:#333 !important;}
#menu-etusivu .sub-menu a:hover,.sub-menu .current_page_item a {text-decoration:underline}

      
      .aaalabel .aaamenu {
        position: absolute;
        right: 5px;
        top: 5px;
        z-index: 100;
        width: 80px;
        height: 80px;
        background: none;
        box-shadow:none;
        border-radius: 50% 50% 50% 50%;
        /*-webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
		*/
        /*box-shadow: 0 0 0 0 #588aed, 0 0 0 0 #588aed;*/
        cursor: pointer;
      }

      #aaaa .current_page_item a {border-bottom: 0px solid white;}
      #aaaa a{color:white}
      
      .aaalabel .hamburger {
        position: absolute;
        top: 40px;
        left: 40px;
        width: 30px;
        height: 2px;
        background: #000;
        display: block;
        -webkit-transform-origin: center;
        /*transform-origin: center;
        -webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;*/
      }
      
      .aaalabel .hamburger:after, .aaalabel .hamburger:before {
        /*-webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;*/
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        background: #000;
      }
      
      .aaalabel .hamburger:before { top: -10px; }
      
      .aaalabel .hamburger:after { bottom: -10px; }
      
      .aaalabel input { display: none; }
      
      .aaalabel input:checked + .aaamenu {
        box-shadow: 0 0 0 100vw #588aed, 0 0 0 100vh #588aed;
        border-radius: 0;
      }
      
      .aaalabel input:checked + .aaamenu .hamburger {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
      }
      
      .aaalabel input:checked + .aaamenu {background:#588aed}
      
      
      
      .aaalabel input:checked + .aaamenu .hamburger:after {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        bottom: 0;
      }
      
      .aaalabel input:checked + .aaamenu .hamburger:before {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        top: 0;
      }
      .aaalabel>div{opacity:0;display:none}
      .aaalabel input:checked + .aaamenu + ul { opacity: 1;display:inherit }
      .aaalabel input:checked + .aaamenu + #aaaa + div{opacity:1;display:inherit}
      
      .aaalabel>ul {
        z-index: 200;
        position: absolute;
        top: 30%;
        left: 50%;
        -webkit-transform: translate(-50%, -30%);
        transform: translate(-50%, -30%);
        opacity: 0;
        display:none;
        /*-webkit-transition: .25s 0s ease-in-out;
        transition: .25s 0s ease-in-out;*/
      }
     
      
      .aaalabel a {
        /*padding0.3em !important;*/
        margin-bottom: 1em;
        display: block;
        /*color: #000;*/
        text-decoration: none;
      }
      #aaaa,#aaaa .sub-menu {text-align:left;list-style:none}
      #aaaa{padding-top:50px;min-width:75%}
      #aaaa .nav-link{margin-bottom:0 !important;font-size:22px;line-height:38px}
     
        #aaaa .sub-menu{display:none}
        .menu-item-369>.nav-link:after {
            display: inline-block;
            margin-left: .255em;
            vertical-align: .255em;
            content: "";
            border-bottom: 0;
            border-right: .3em solid transparent;
            border-top: .3em solid;
            border-left: .3em solid transparent;
        }
        #menu-item-369 .nav-link-exp:after {
            border-top: 0 solid !important;
            border-bottom: 0.3em solid !important;;
        }

.col-lg-12 {
    max-width: 660px;
    margin: 0 auto;
}

.home #breadcrumbs{
display: none;
}

#breadcrumbs {
margin-bottom: 0;
padding-top: 0;
color: #777;
font-size: 13px;
}



        @media(max-width:1200px){.nav-primary{float:none}
        #menu-etusivu,#menu-etusivu div, #menu-etusivu ul, #menu-etusivu a {display:none !important}
        }

        @media(min-width:1200px){
          .aaamenu,.aaalabel>ul,.aaalabel div {display:none !important}
          .nav-item:hover .sub-menu{display:block !important;}
        }

        @media(max-width:500px){
                label .aaamednu {top: 65px;}
              }

        @media (max-width: 575.98px){

        #price-container-button-pop-4{
          width: 380px;
          max-width:80%; margin-left: auto;
          margin-right: auto;margin-top:20px;color:white;border-radius: 21px;
          border: 15px solid #fff;
          -webkit-box-shadow: 0 2px 25px 0 rgba(0,0,0,0.12);
          box-shadow: 0 2px 25px 0 rgba(0,0,0,0.12);
        }
      }

@media (max-width: 1199.98px){ 

.page-template-template-home-page .main-text {
text-align: left;
margin-top: -20px;
}
  
.wp-block-column {
  flex-basis: calc(50% - 0px) !important;
  flex-grow: 0;
}
 
  }

@media (max-width: 991px){
  
._sticky-banner {
  display: block;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: hsla(0,0%,100%,.85);
  box-shadow: 0 -2px 8px -4px 0 .5rem 1rem rgba(0,0,0,.15);
  transform: translateY(0);
  transition: all .2s ease-in-out;
  padding: 20px;
}

}

            
@media (max-width: 576px){


  
.page-template-template-home-page .main-text h1 {
font-size: 26px;
color: #3c4043;
}
  
      .page-template-template-home-page .main-text {
text-align: center;
margin-top: 0px;
}
  }
      
      .partners .wp-block-column:not(:first-child) {
  margin-left: 0px !important;
}
      
    .box123 img{margin-left:auto;margin-right:auto;height: 128px;}
  .box123 .title{font-weight:bold}
  .box123, .box123 div{display:flex;flex-wrap:wrap;}
  .box123 p,.box123{width:100%;text-align:center}
  .box123 div{width: calc(33% - 20px);margin: 10px;}
  
  @media(max-width:768px){
    .box123 div{width: calc(100% - 20px);margin: 10px;}

#aaaa {
    padding-top: 0px;
    min-width: 75%;
}
  }