/* ==========================================================================
   Bebas bold
   ========================================================================== */
@font-face {
  font-family: 'bebas_neuebold';
  src: url('../fonts/bebasneue_bold-webfont.eot');
  src: url('../fonts/bebasneue_bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/bebasneue_bold-webfont.woff2') format('woff2'),
    url('../fonts/bebasneue_bold-webfont.woff') format('woff'),
    url('../fonts/bebasneue_bold-webfont.ttf') format('truetype'),
    url('../fonts/bebasneue_bold-webfont.svg#bebas_neuebold') format('svg');
  font-weight: bold;
  font-style: normal;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body,
.h4ContactHeader .spnEmail {
  font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #494948;
}

@media (min-width: 750px) {
  html {
    font-size: 13px;
  }
}

::-moz-selection {
  background: #A7C80F;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #A7C80F;
  text-shadow: none;
  color: #fff;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5 {
  color: #A7C80F;
  font-family: 'bebas_neuebold', 'Open Sans', sans-serif;
  letter-spacing: normal;
  line-height: 1.25;
}

h1 {
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h2 { 
  text-align: center;
  font-size: 5rem;
  line-height: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
}
@media (max-width:650px) {
  h1, h2 {
    font-size: 4rem;
  }
}

pre, blockquote, dl, figure, table, p, ul, ol, form {
  margin-bottom: 1em;
}

textarea {
  resize: vertical;
}

input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
  font-size: 16px;
}

label {
  font-size: 13px;
}

li {
  list-style: disc;
}

/* Browser Upgrade Prompt */
.browserupgrade {
  margin: 0em 0;
  background: #FCFF4C;
  color: #000;
  padding: 0.5em 1em;
}

/* ==========================================================================
   Parts
   ========================================================================== */

/* Legend */
.legend {
  text-align: center;
}
.legend .button:active,
.legend .button:hover,
.legend .button{ 
  font-size: 1.25rem;
  margin: 2em 0 3em 0;
}

.talosofta-logo {
  position:absolute;
  bottom: 8%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width:45vw
}

.logo {
  padding: 2em 2em 0;
}

.logo img {
  margin-bottom: 0.3em;
}

.logo p {
  text-transform: uppercase;
}

.contact-bar {
  font-family: 'Oswald', sans-serif;
  background: #333333; 
  color: white; 
  text-align: center; 
  padding:15px 30px; 
  font-size: 1.4em;
}

.contact-bar a {
  text-decoration: none;
  color: white;
  word-spacing: -2px;
  padding: 0 4px;
}  

.contact-bar span {
  display: inline-block;
  padding: 0 20px;
}

.contact-bar strong {
  text-transform: uppercase;
  padding-right:10px;
}

.video {
  margin-bottom: 2.5em;
  position: relative;
}

.video-form {
  background: #f4f4f4;
  padding: 1em;
  margin-top: 20px;
  display: none;
}

.video-form .hide-mobile {
  display: none
}

.video-form .close-video-form {
  display: inline-block;
  position: absolute;
  right: 15px;
  top: 10px;
  text-transform: uppercase;
  font-size: 0.7em;
  color: #828282;
}

@media (min-width: 550px) {
  .video-form {
    padding: 1.5em;
    position: absolute;
    top: 10px;
    left: 10%;
    right: 10%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  .video-form .phone-email {
    color: #000;
  }

  .video-form .hide-mobile {
    display: inline;
  }
}

@media (min-width: 750px) {
  .video-form {
    top: 20px;
    left: 20%;
    right: 20%;
  }
}


/* Features */

.features {
  background: #f4f4f4;
  padding: 2.5em 0em 0;
}

.feature {
  margin-bottom: 1.5em;
}
.feature .icon {
  width: 150px;
  margin-bottom: 1em;
  margin-top: 10px;
  border-radius: 0.7rem;
}

@media (min-width: 750px) {
  .feature .icon {
    width: auto;
  }
}

/* Customers */

.customer {
  color: #fff;
  padding: 1em 0 0;
  overflow: hidden;
  margin-bottom: 1em;
  background-size: cover;
  background: url("../img/asiakkaat/tausta.jpg") 50% 50% repeat #A7C80F;
}

@media (max-width: 550px) {
  .six.columns:nth-child(1) iframe {
    margin-bottom: 2rem;
  }
}
.customer--text {
  padding: 1em 0;
}

.customer h3 {
  color: #fff;
}

.customer--person {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  max-height: 280px;
}

@media (min-width: 950px) {
  .customer--text {
    padding: 2em 330px 2em 0;
    min-height: 310px;
  }

  .customer--person {
    position: absolute;
    right: 0;
    bottom: 0;
    max-height: none;
  }
}

/* Call to action */
.cta {
  text-align: center;
}

.cta .flex50 {
  -ms-flex-preferred-size: 500px;
  flex-basis: 500px;
}

@media (max-width:750px) {
  .cta .flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .cta .flex50 {
    -ms-flex-preferred-size: 500px;
    flex-basis: 500px;
  }

  .kuvatausta {
    background-size: cover;
  }
}

.cta .flex50 { 
  background-color: #f4f4f4;
}

.cta-form {
  text-align: left;
  max-width: 400px;
  margin: 1em auto 0;
  padding: 1em 2em;
  padding: 1rem 3rem 3rem;
}

.cta-form .phone-email {
  width: 100%;
}

.cta-hl {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem;
  line-height: 1.125;
  max-width: 400px;
  margin: auto;
  margin-top: 3rem;
}

.button,
.button:hover,
.button:active,
.button:focus {
  font-size: 13px;
  background: #A7C811;
  border: none;
  color: #fff;
}

.alert-box {
  background: #E0E0E0;
  padding: 0.5em 1em;
  font-size: 0.875em;
  display: none;
}

.alert-box.error-msg {
  background: #FFFB75;
}

.alert-box.ok-msg {
  background: #B3FF6D;
}

@media (min-width: 550px) {
  .cta-form .send {
    margin-top: 1rem;
    width: 100%;
    padding: 0;
  }
  h3 {
    font-size: 3.2rem;
  }
}
@media (max-width: 950px) {
  .hidden-sm {
    display: none;
  }
}
@media (min-width: 950px) {
  .visible-sm {
    display: none;
  }
}
@media (max-width: 550px) {
  .hidden-xs {
    display: none;
  }
}

/* Contacts */
.contacts {
  /* padding: 2em 0; */
}

.contact {
  text-align: center;
  font-size: 0.875em;
  margin: 0 0 2em;
}
.contact img {
  width: 100%;
  max-width: 150px;
  margin-bottom: 1em;
}

.contact b {
  color: #A7C811;
}

.h4ContactHeader {
  color: #333;
  text-align: right;
  padding: 20px;
}

.spnPhone {
  color: #333;;
}

.spnEmail {
  color: #333;
  font-size: 2.5rem;
}

/* History */
#historia {
  background-color: #F4F4F4;
  padding: 50px 0 40px 0;
  text-align: center;
}
#historia #historiaInner {
  text-align: left;
}
#historia ul {
  margin: 5px 0 30px 0;
}
#historia ul li {
  margin-bottom: 0px;
}

/* Footer */
.footer {
  background: #494948;
  color: #fff;
  font-size: 0.9em;
  padding: 1.5em;
}
.footer .kayttosofta-linkki {
  margin-top: 10px;
  display: inline-block;
}

#imgSuomenVahvimmat,
#imgAaaLuokitus {
  border: 2px solid #777777;
  display: inline-block;
  height: 70px;
  width: auto;
  margin: 20px 10px 10px 0;
}
@media (max-width: 800px) {
  #imgSuomenVahvimmat,
  #imgAaaLuokitus {
    margin-top: 10px;
  }
}
@media (max-width: 550px) {
  #imgSuomenVahvimmat,
  #imgAaaLuokitus {
    display: block;
    margin-top: 0;
  }
}

/* Rekisteriseloste */

.container.rekisteriseloste {
  line-height: 1.5em;
}
.container.rekisteriseloste h1 {
  font-size: 4rem;
}
.container.rekisteriseloste h2 {
  font-size: 2.5rem;
  margin-top: 60px;
}
.container.rekisteriseloste ul li {
  margin-bottom: 0.4rem;
}


/* ==========================================================================
   Helpers
   ========================================================================== */

/* Indets the pargraph */
.indent {
  padding: 0 1em;
}
@media (min-width: 750px) {
  .indent {
    padding: 0 4em;
  }
}

.text-center {
  text-align: center;
}

/* Responsive iframe */
.video-container {
  position: relative;
  /*padding-bottom: 56.25%;*/
  padding-bottom: 52.6%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

span.required {
  color: #FF0000;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex50 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.kuva {
  background-size: cover;
  background-position: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-height: 460px;
}
@media (max-width: 900px) {
  .flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .kuva {
    min-width: 100%;
    min-height: 320px;
  }
  .order2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

.ff-img--1 {
  background-image:url("../img/ff-bg-1.jpg");
}
.ff-img--3 {
  background-image:url("../img/ff-bg-3.jpg");
}
.ff-img--4 {
  background-image:url("../img/ff-bg-4.jpg");
}
.ff-img--5 {
  background-image:url("../img/ff-bg-5.jpg");
}
.ff-img--6 {
  background-image:url("../img/ff-bg-6.jpg");
}

.teksti {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.teksti-wrapper {
  max-width: 620px;
  padding: 1rem 1rem 1rem 6rem;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
}

.teksti-wrapper h3 {
  font-family: 'Oswald', sans-serif;
  position: relative;
  color: #333333;
  margin-bottom: 1.5rem;
  line-height: 1.125;
  font-size: 2.25rem;
}

.teksti-wrapper h3::before {
  font-family: 'Oswald', sans-serif;
  width: 3rem;
  height: 3rem;
  background: #A7C80F;
  position: absolute;
  left: -2em;
  top: -3px;
  text-align: center;
  font-size: 2rem;
  line-height:3rem;
  border-radius: 50%;
  color: white;
}

@media (max-width: 900px) {
  .teksti-wrapper {
    padding-left: 20px;
  }
  .teksti-wrapper h3 {
    padding-left: 4rem;
    margin-bottom: 1.5rem;
  }
  .teksti-wrapper .ff-6 {
    padding-left: 0;
  }  
  .teksti-wrapper h3::before {
    left: 0;
    top: 0px;
  }   
}

.ff-2-wrapper strong {
  margin-bottom: 0.5rem;
}
.ff-2-wrapper ul {
  margin-bottom: 1em;
}
.ff-img--2 {
  background-color: #F4F4F4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.ff-2-logot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8%;
}

.ff-2-logot span {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 20%;
  flex: 1 1 20%;
  padding: 1rem;
  max-width: 180px;
}
.ff-2-logot img {
  max-width: unset;
  display: block;
  margin: auto;
}
@media (max-width: 500px) {
  .ff-2-logot img {
    max-width: 100px;
    max-height: 65px;
  }
}

.ff-1::before {
  content: "1";
}
.ff-2::before {
  content: "2";
}
.ff-3::before {
  content: "3";
}
.ff-4::before {
  content: "4";
}
.ff-5::before {
  content: "5";
}

.teksti-wrapper li {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.5em;
  margin-bottom: 8px;
  line-height: 1.25;
  font-size: 1.6rem;
}

.kuvatausta {
  background:url("../img/contact-bg.jpg");
  background-size: cover;
  text-align: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack:end;
  -ms-flex-pack:end;
  justify-content:flex-end;
  padding: 40px;
}

@media (max-width: 450px) {
  .kuvatausta {
    background: linear-gradient( rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85) ), url(../img/contact-bg.jpg);
    text-align: left;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

.kuvatausta h3 {
  color: #333;
  margin-bottom: 0; 
}
.cta-support {
  margin-top: 1rem;
}

.kuvatausta a {
  color: #333; 
  display: block;
  font-size: 2rem;
  font-weight: 600;
} 

.contacts h3 {
  background: #A7C80F;
  color: white;
  text-align: center;
  line-height: 1.5;
  font-size: 2.5rem;
}
.contacts-sales-business {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 700px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: auto;
}
.contacts-sales-business::before {
  content: "";
  background:#A7C80F;
  height: 51px;
  width: 100vw;
  max-width: 100%;
  z-index: -1;
  position: absolute;
  display: block;
}
@media (max-width: 748px) {
  .contacts-sales-business::before {
    height: 40px;
  }
}

.contacts .flex { 
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.contacts-group {
  max-width: 900px;
  margin: auto;
}
.contacts .flex .contact { 
  -ms-flex-preferred-size: 250px;
  flex-basis: 250px;
} 
.contact-wrapper {
  -ms-flex-preferred-size: 250px;
  flex-basis: 250px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.greenbox {
  height: 54px;
  width: 50x;
  background: #A7C80F;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.briefly {
  padding-top: 1px;
  background:#F4F4F4;
}

.briefly .flex {
  margin: 0 5% 4rem;
}

.briefly h2 {
  text-align: center;
}

.briefly ul {
  margin: 0 2rem;
  margin: 0 2rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -ms-flex-preferred-size: 300px;
  flex-basis: 300px;
}

.briefly li {
  line-height: 1.125;
}

.briefly-top {
  background: #A7C80F;
  color: white; 
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding:  0.5em;
}

.briefly-top span{
  margin:0 1em;
  font-size: 1.25em;
}

.why-to-use {
  margin-top: 1em;
  margin-bottom: 1em;
}

.why-to-use h3 {
  color: #333333;
  margin-bottom: 1rem;
  line-height: 1.125;
  font-size: 2rem;
  font-family: 'Oswald', sans-serif;
}

.why-to-use li {
  margin-left: 22px;
  font-weight: 300;
  line-height: 1.25;
}

.why-to-use ul {
  margin-bottom: 2rem;
}

.why-to-use flex {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.why-to-use .flex50 { 
  padding-right: 2rem;
  -ms-flex-preferred-size: 500px;
  flex-basis: 500px;
}

.five-factors-green {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #A7C80F;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-preferred-size: 500px;
  flex-basis: 500px;
}
.five-factors-green h3{
  color: white;
  text-transform: none;
  max-width: 450px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  padding: 1rem 2rem;
  margin-bottom: 0;
  font-size: 4rem;
}

@media (max-width: 750px) {
  .five-factors-green h3{
    max-width: 400px;
  }  
}
@media (max-width: 370px) {
  .five-factors-green h3{
    font-size: 3rem;
  }  
}

.five-factors-green h3 span{
  text-transform: uppercase;
}    
.five-factors-list {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #F4F4F4;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-preferred-size: 500px;
  flex-basis: 500px;
}

.five-factors-list ul {
  margin-bottom: 0;
}

.five-factors-list li{
  list-style-type: none;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  display: block;
  padding-left: 2.5rem;
  position: relative;
  line-height: 1.125;
  margin-left: 2rem;
}

.five-factors-list li span {
  color: #96B40E;
  position: absolute;
  left: 0;
}

.five-factors-list li:last-child {
  color: #96B40E;
}

.rakentaminen a,
.rakentaminen span,
.remontointi span,
.talotekniikka span {
  max-width: 150px;
  margin: 0 2rem 2rem 1rem;
  display: inline-block;
}
@media (max-width: 580px) {
  .rakentaminen a,
  .rakentaminen span,
  .remontointi span,
  .talotekniikka span {
    max-width: 120px;
  }
}
.rakentaminen img,
.remontointi img,
.talotekniikka img{
  padding: 10px; 
}

.customer-logos .rakentaminen,
.customer-logos .remontointi,
.customer-logos .talotekniikka {
  max-width: 1240px;
  padding: 0 20px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 2rem;
}
.customer-logos h2 {
  background: #f4f4f4;
  width: 100%;
  margin-bottom: 0;
  padding: 2rem 0;
  max-width: unset;
}

.customer-logos h3 {
  text-align: center;
  background: #A7C80F;
  color: white;
  text-align: center;
  line-height: 1.5;
  font-size: 2.5rem;
}

.customer-logos h4 {
  color: #333;
}

div#alma-content-router-target-5577dbe2b922930e0c000022 {
  background: #333;
}  

div#ALMACR-container-ALMACR-widget-5577db28b922930e04000019 li  {
  list-style-type: none;
}

@media screen and (min-width: 767px){
  #ALMACR-container-ALMACR-widget-5577db28b922930e04000019 #ALMACR-widget-5577db28b922930e04000019 .right {
    width: 82%;
    float: right !important;
  }
}