*, html {

  scroll-behavior: smooth !important;
  
}




body {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #fff;
  
  position: relative; }
  body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
  
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1; }
  body.offcanvas-menu:before {
    opacity: 1;
    z-index: 1002;
    visibility: visible; }

p {
  color: #b3b3b3;
  font-weight: 300; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

 }
 
a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a, a:hover {
    text-decoration: none !important; }

.hero {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; }


.etusivu{
  display: none;
}

@media screen and (min-width: 900px) {
 

  .Contact{
    margin-top: 150px;
  }
  

.etusivu{
  display: block;
  width: 100%;
  height: 100vh;
  background-color: #1d436c;
  background-image: url();
  background-size: cover;
  background-repeat: no-repeat;

 
}
/* https://images.pexels.com/photos/5847346/pexels-photo-5847346.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2 */





  #topsection{
  text-align: left;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  padding-top: 200px;
  backdrop-filter: brightness(0.15);
    background-color:  #1c1e251d;

    height: 100vh;

    z-index: 2;

    
    color: white;
  }

  .Otsikko{
    white-space: nowrap;
    font-size: 45px;
    font-weight: bold;
    color: rgb(184, 184, 184);
    text-align: left;
    line-height: 2.5;
    font-weight: bold;
      text-transform: uppercase; 

  }


  .Etusivunteksti{
    font-size: 19px;
    font-weight: 500;
    color: white;
    text-align: left;
  }

  .teksti{

    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
   
 
    height: 50%;
    width: 50%;

  }


  .otayhteyttä{
    width: 180px;
    margin-top: 30px;
    padding-left: 20px ;
    padding-right: 20px ;
    padding-top: 10px ;
    padding-bottom: 10px ;
    border-radius: 2px ;
    background-color: #001a3533;
    font-weight: bold;
    font-size: 19px;
    border: 2px solid #fab639; 
    outline: none;
    transition-duration: .6s;
  } 

  .otayhteyttä a{
    color:  #ff9e1f;
  } 

  .otayhteyttä:hover{
    border: 2px solid #98c8ff; 
    background-color: #414141 ;
    background-size: cover;
    background-repeat: no-repeat;
    background-origin: bottom left;
    transition-duration: .6s;
  }

  .otayhteyttä:hover a{
    color:  #98c8ff;
  
  }
}

.Meistä{
width: 100px;
    margin-top: 30px;
    padding-left: 20px ;
    padding-right: 20px ;
    padding-top: 10px ;
    padding-bottom: 10px ;
    border-radius: 0px ;
    background-color: #ffffff00;
    font-weight: 300;
    font-size: 20px;
    border: none;
    text-decoration: 2px white underline  ;
    outline: none;
  
}

.Meistä a{
  color: #fff; 
  letter-spacing: 1.5px;

}



#otayhteyttä {
  position: relative;
  font-size: 15px;

  letter-spacing: 2px !important;
  font-weight: 900;
  font-family:'Montserrat', sans-serif ;
  height: 3em;
  padding: 0 3em;
  border: none !important;
  background-color: #1f3e63;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 5px
 }
 
 #otayhteyttä ::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  height: 0px;
  width: 100%;
  background: rgb(245, 158, 36);
 
  -webkit-transition: 0.2s;
  transition: 0.2s;
 }
 
 #tayhteyttä  .label {
  position: relative;
  margin-left: -20px;
 }
 
 #otayhteyttä   .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 3em;
  width: 3em;
  position: absolute;
  top: 3em;
  right: 0;
  opacity: 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
 }
 
 #otayhteyttä :hover::before {
  height: 100%;
 }
 
#otayhteyttä :hover .icon {
  top: 0;
  opacity: 1;
  
 }






 .service-container {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
 }

.service-container .icon {
  margin-top: 5%;
  font-size: 38px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-container .number-icon .icon-2 {
  height: 70px;
  width: 70px;
  line-height: 80px;
  border-radius: 64% 36% 55% 45% / 76% 72% 28% 24% !important;
  border-color: #f89d36 !important;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-container .number-icon .icon-2 i {
  font-size: 30px;
}

.service-container .number-icon .number {
  position: absolute;
  top: 0;
  right: 70px;
  left: 0;
  height: 35px;
  width: 35px;
  margin: 0 auto;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-container .number-icon .number span {
  line-height: 30px;
 

}

.service-container .content .number {
  font-size: 40px;
  color: #dee2e6;
}

.service-container .content .title {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;

}

h5 .title{
  font-weight: 900 !important;
}
.service-container.hover-bg {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-container.hover-bg .smooth-icon {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 60px;
  color: #f8f9fa;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

.service-container.hover-bg:hover {
  background-color: #f89d36;
}

.service-container.hover-bg:hover .content .title {
  color: #ffffff !important;
}

.service-container.hover-bg:hover .content .serv-pera {
  color: #fafafb !important;
}

.service-container.hover-bg:hover .smooth-icon {
  font-size: 100px;
  opacity: 0.2;
  bottom: -20px;
  right: 10px;
}

.service-container:hover {
  background-color: #ffffff;
  -webkit-box-shadow: 0 10px 25px rgba(47, 60, 78, 0.15) !important;
          box-shadow: 0 10px 25px rgba(47, 60, 78, 0.15) !important;
}

.service-container:hover .icon {
  color: #f89d36;
  -webkit-animation: mover 1s infinite alternate;
          animation: mover 1s infinite alternate;
}

.service-container:hover .number-icon .icon-2 {
  background-color: #f89d36;
  border-radius: 50% !important;
}

.service-container:hover .number-icon .icon-2 i {
  color: #ffffff !important;
}

.service-container:hover .number-icon .number {
  color: #ffffff;
  background: #f89d36 !important;
  border-color: #ffffff !important;
}

.service-container:hover .content .title {
  color: #f89d36;
}

.service-container a:hover,
.service-container a .title:hover {
  color: #f89d36 !important;
}

@-webkit-keyframes mover {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
  }
}

@keyframes mover {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
  }
}

.service-wrapper {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  min-height: 100%;
  animation-name: slide;
  -webkit-animation-name: slide;

}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}




.service-wrapper .icon {

  width: 60px;
  height: 60px;
  line-height: 45px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  color: #fff !important;
  background-color: #1d355b !important ;
}

.service-wrapper .content p{
  font-weight: 200;
}
.service-wrapper .big-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-wrapper:hover {
  -webkit-box-shadow: 0 10px 25px rgba(47, 60, 78, 0.15) !important;
          box-shadow: 0 10px 25px rgba(47, 60, 78, 0.15) !important;
  background: #ffffff;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  border-color: transparent !important;
}

.service-wrapper:hover .icon {
  background: #fff !important;
  color: #1d355b !important;
}

.service-wrapper:hover .big-icon {
  z-index: 15;
  opacity: 1 !important;
  width: 50px !important;
}

.text-custom {
    color: #0062ff !important;
}

.uim-svg {
    display: inline-block;
    height: 1em;
    vertical-align: -0.125em;
    font-size: inherit;
    fill: var(--uim-color, currentColor);
}





.custom-select {
  position: relative;
  font-family: Arial;
  font-weight:100 !important;
margin-top: 10px;
margin-bottom: 30px;
border-radius: 0px !important;
background-color: #ffffff !important;
outline: none !important;
background-color: #25252500 !important;
color: rgb(175, 175, 175) !important;
border: none !important;; 
border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}








.custom-select:focus{
outline: none !important;
background-color: #252525 !important;
color: white !important;
-webkit-appearance: none !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; 
box-shadow: none !important;
outline: 0 !important;


}

.custom-select option{
font-size: 15px;

}





.custom-select:hover{

background-color: #232323 !important;
color: rgb(255, 255, 255) !important;
}




/*  Footer  alkaa tästä*/
footer .main-footer{  padding: 20px 0; background-color: #1C1E25 !important; }
footer ul{  padding-left: 0;  list-style: none;}


.footer-copyright { background: rgb(15, 15, 15); padding: 5px 0;  border-top: .001px solid rgb(82, 82, 82) !important;}
.footer-copyright .logo {    display: inherit;}
.footer-copyright nav {    float: right;    margin-top: 5px;}
.footer-copyright nav ul {  list-style: none; margin: 0;  padding: 0;}
.footer-copyright nav ul li { border-left: 1px solid #505050; display: inline-block;  line-height: 12px;  margin: 0;  padding: 0 8px;}
.footer-copyright nav ul li a{  color: #969696;}
.footer-copyright nav ul li:first-child { border: medium none;  padding-left: 0;}
.footer-copyright p { color: #969696; margin: 2px 0 0;}


.footer-top{  background: #252525;  padding-bottom: 30px; margin-bottom: 30px;  border-bottom: 3px solid #222;}


footer.transparent .footer-top, footer.transparent .main-footer{  background: transparent;}
footer.transparent .footer-copyright{ background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6) ;}

footer.light .footer-top{ background: #f9f9f9;}
footer.light .main-footer{  background: #f9f9f9;}
footer.light .footer-copyright{ background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3) ;}


.footer- .logo {    display: inline-block;}

.widget{  padding: 20px;  margin-bottom: 40px;}
.widget.widget-last{  margin-bottom: 0px;}
.widget.no-box{ padding: 0; background-color: transparent;  margin-bottom: 40px;
  box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; -ms-box-shadow: none; -o-box-shadow: none;}
.widget.subscribe p{  margin-bottom: 18px;}
.widget li a{ color: #ff8d1e;}
.widget li a:hover{ color: #c2daf4;}
.widget-title {margin-bottom: 20px;}
.widget-title span {background: #839FAD none repeat scroll 0 0;display: block; height: 1px;margin-top: 25px;position: relative;width: 20%;}
.widget-title span::after {background: inherit;content: "";height: inherit;    position: absolute;top: -4px;width: 50%;}
.widget-title.text-center span,.widget-title.text-center span::after {margin-left: auto;margin-right:auto;left: 0;right: 0;}
.widget .badge{ float: right; background: #7f7f7f;}

.typo-light h1, 
.typo-light h2, 
.typo-light h3, 
.typo-light h4, 
.typo-light h5, 
.typo-light h6,
.typo-light p,
.typo-light div,
.typo-light span,
.typo-light small{  color: #fff;}

ul.social-footer2 { margin: 0;padding: 0; width: auto;}
ul.social-footer2 li {display: inline-block;padding: 0;}
ul.social-footer2 li a:hover {background-color:#ff8f1e00;
  color:#ff6969;}
  ul.social-footer2 li a {
    color:#ff5cc6;}
ul.social-footer2 li a {display: block; height:50px;width: 50px;text-align: center;}







#Lähetä {
  position: relative;
  font-size: 15px;
 white-space: nowrap;
  letter-spacing: 2px !important;
  font-weight: 900;
  font-family: 'Quicksand', sans-serif !important;
  height: 3em;
  padding: 0 3em;
  border: none !important;
  background-color: #1f3e63;
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: 5px
 }
 
 #Lähetä::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  height: 0px;
  width: 100%;
  background: #0c223c;
 
  -webkit-transition: 0.2s;
  transition: 0.2s;
 }
 
 #Lähetä .label {
  position: relative;
  margin-left: 0px;

 white-space: nowrap;
 }
 
 #Lähetä  .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 3em;
  width: 3em;
  position: absolute;
  top: 3em;
  right: 0;
  opacity: 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  color: #ff8d1e !important;
 }
 
 #Lähetä:hover::before {
  height: 100%;
 }
 
 #Lähetä:hover .icon {
  top: 0;
  opacity: 1;
  
 }

 #Lähetä:focus{
  border: none !important;
  outline: none !important;
 }








 .meistä1 {
  background-color: #fcfcfc;
  width: 100%;
  height: 50vh !important;
  color: rgb(21, 21, 21);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;

 }


 .contactForm .form-control {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0; }

#contactForm .error {
  color: #f65c78;
  font-size: 12px; }

#contactForm .form-control {
  font-size: 16px; }

#message {
  resize: vertical; }

#form-message-warning, #form-message-success {
  display: none; }

#form-message-warning {
  color: red; }

#form-message-success {
  color: #28a745;
  font-size: 18px;
  font-weight: 500; }

.submitting {
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-size: 16px;
  font-weight: 500; 

 
}






  
  

  input:-webkit-autofill{
    -webkit-text-fill-color: #c6c6c6 !important;
    caret-color: white !important;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}



#yhttiedot p{
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  
}
