/*----------------------------------------------------------------------- */
/*  Theme Name  : Thermokynnys                                          */
/*  Description : Singlepage template                                      */
/*  Version     : 1.0                                                     */
/*  Author      : Markku Lahti 2016                                       */
/*----------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

/*---------------------------------------------------------------------*/
/* Defining RALEWAY-light as the defaut font
/*---------------------------------------------------------------------*/

@font-face {
   font-family: RalewayCustom;
   src: url(../ikonit/fonts/Raleway-Light.ttf);
}

/*---------------------------------------------------------------------*/
/* Body
/*---------------------------------------------------------------------*/

body,
html {
  width: 100%;
}

body {
  background-color: #FFFFFF;
  font-family: RalewayCustom,sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 25px;
  overflow-x: hidden;
  background-image: url("../images/taus1.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.KeskitettyTeksti{
  text-align: center;
}

/*---------------------------------------------------------------------*/
/* ANCHOR
/*---------------------------------------------------------------------*/
a {
  color: #0B3861;
  outline: none;
  text-decoration: none;
  font-family: RalewayCustom,sans-serif;
  font-size: 14px;
 -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  padding: 2px 10px 2px 10px;
/*  border: 1px solid;
  border-radius: 3px; */
}

a:hover,
a:focus {
  color: #0489B1;
  outline: none;
  text-decoration: none;
/*  border: 1px solid #CCCCCC;
  background-color: #EEEEEE;*/
}


.back-to-top {
    display: none;
    width: 68px;
    height: 65px;
    text-indent: -9999px;
    position: fixed;
    right: 30px;
    bottom: 50px;
    background-image: url('../ikonit/ArrowUp2.png'); /* no-repeat 0px 20px; */
}

/*---------------------------------------------------------------------*/
/* FORM related styles
/*---------------------------------------------------------------------*/
.form-group {
  color:#084B8A;
  text-decoration: none;
  font-family: RalewayCustom,sans-serif;
  font-size: 16px;
 -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  padding: 5px 10px 5px 10px;
  text-align: center;
}

.form-field {
  border: 1px solid #084B8A;
  border-radius: 3px;
  width: 220px;
  padding: 5px 2px 5px 5px;
}

.required{
  color: #DF0101;
  font-size: 10px;
  padding-top: 10px;
  position: absolute;
  margin: 0px 0px 0px -18px;
}

.requiredOk{
  color: #04B404;
  font-size: 10px;
  padding-top: 10px;
  position: absolute;
  margin: 0px 0px 0px -18px;
}

.form-label-div{
  display: inline-block;
  width: 45%;
  text-align: right;
  padding: 2px 5px 2px 5px;
}

.form-field-div{
  display: inline-block;
  width: 45%;
  text-align: left;
  padding: 2px 5px 2px 5px;
}

.btn{
  border: 1px solid #000000;
  border-radius: 3px;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
}

.btn-info{
  background-color: #045FB4;
  color: #FFFFFF;
}

.btn-info:hover{
  background-color: #084B8A;
  color: #FFFFFF;
}

.btn-default{
  background-color: #EEEEEE;
  color: #000000;
}

.btn-default:hover{
  background-color: #CCCCCC;
  color: #000000;
}

/*---------------------------------------------------------------------*/
/* Image definitions
/*---------------------------------------------------------------------*/

.cimage{
    width: 100%;
    border: 1px solid #000000;
    box-shadow: 3px 3px 3px #000000;
    float: right;
}

/*---------------------------------------------------------------------*/
/* Header definitions
/*---------------------------------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
  margin: 0px;
  margin-bottom: 5px;
  font-family: RalewayCustom,sans-serif;
}

.alaviiva{
  border: 0;
  padding:0px;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, rgba(9, 145, 7, 0.5), rgba(0, 0, 0, 0));
}

.siAlaviiva{
  border: 0;
  padding:0px;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.valiviiva{
  border: 0;
  padding:0px;
  margin-bottom: 20px;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, rgba(9, 145, 7, 0.5), rgba(0, 0, 0, 0));
}

.aakkosviiva{
  border: 0;
  padding:0px;
  margin-top: 5px;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.aakkoset{
  margin: 0px;
  font-weight: bold;
  font-family: RalewayCustom,sans-serif;
  font-size: 18px;
  color:#084B8A;
  padding: 2px;
}

/*---------------------------------------------------------------------*/
/* Notifications
/*---------------------------------------------------------------------*/

.alert{
  display: block;
  padding: 5px;
  border-radius: 2px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 2px #000000;
}

.alert-warning{
  background-color: #FCEAEA;
  border: 1px solid #8A0808;
}

.alert-success{
  background-color: #EAFCEB;
  border: 1px solid #21610B;
}

.alert-close-btn{
  display: inherit;
  float: right;
  top: 5px;
  right: 5px;
  border: 1px solid;
  border-radius: 2px;
  padding: 3px;
  color: #6E6E6E;
}

.alert-close-btn:hover{
  background-color: #FFFFFF;
  cursor: pointer;
  color: #000000;
}

/*---------------------------------------------------------------------*/
/* LIST styles
/*---------------------------------------------------------------------*/

.contact_list{
    list-style: none;
    text-decoration:none;
    padding: 30px;
}

/*---------------------------------------------------------------------*/
/* Formatting IMAGE for anchor usage for showing a modal window
/*---------------------------------------------------------------------*/

.aImg, .vImg {
    max-width: 300px;
    border: 1px solid #000000;
    box-shadow: 3px 3px 3px #000000;
    cursor: zoom-in;
    float: left;
    margin: 10px;
    width: 100%;
}

.vImg {
    cursor: pointer;
}

.aImg:hover {opacity: 0.7;}

.iconic{opacity: 0.6;}

.iconic:hover{opacity: 1;}

/*---------------------------------------------------------------------*/
/* Image PopUp window styling
/*---------------------------------------------------------------------*/

.popup {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.popupWrap{
    margin: 5% auto;
    border-radius: 3px;
    max-width: 1080px;
    max-height: 607px;
}

.PopClose{
    position: absolute;
    float: right;
    cursor: pointer;
    right: 26px;
    top: 25px;
    color: #CCCCCC;
    font-size: 36px;
    z-index: 99999;
}

.PopClose:hover{
    color: #FFFFFF;
}

.PopHeader {
    position: relative;
    width:100%;
    height: 44px;
    margin: 0;
    color: green;
    font-size: 24px;
    padding: 10px;
    background-color: #E6E6E6;
    border-bottom: 1px solid green;
}

.PopupHeaderText{
    float: left;
    padding-right: 10px;
}

.popuptext{
    position: absolute;
    top: 20px;
    left:20px;
    color: #FFFFFF;
    font-size: 24px;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    border-radius: 10px;
}

.PopContent {
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

.img-arrow{
    position: absolute;
    font-size: 48px;
    bottom: 50px;
    color: #FFFFFF;
    opacity: 0.5;
}

.img-arrow:hover{
    opacity: 1.0;
    cursor: pointer;
}

/*---------------------------------------------------------------------*/
/* Positions and styles the logo on the page
/*---------------------------------------------------------------------*/

.logo{
  position: absolute;
  height: 32px;
  text-align: left;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 4px black;
  color: limegreen;
    /*  border: 1px solid #000000;
  background-image: url(../ikonit/logofinn.png);
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 2px 2px 2px #000000;*/
  margin: 0;
  padding: 0;
  margin-left: 10px;
  top: 25px;
}

/*---------------------------------------------------------------------*/
/* Describes styling of HEADER part of the page
/*---------------------------------------------------------------------*/

.YlaAlue{
  position: fixed;
  display: block;
  width: 100%;
  background-color: #EFFBEF;
  color: #000000;
  font-family: RalewayCustom,sans-serif;
  font-size: 14px;
  top: 0;
  left: 0;
  height: 35px;
  padding: 5px 20px 5px 20px;
  text-align: right;
  z-index: 9998;
}

.UserInfo{
  display: block;
  float: right;
  color: #000000;
}

.YlaAlue a{
  text-decoration: none;
  color: blue;
  text-transform: uppercase;
  font-size: 16px;
  padding: 2px 5px 2px 5px;

}

.YlaAlue a:hover{
}

/*---------------------------------------------------------------------*/
/* Describes styling of NAVIGATION part of the page
/*---------------------------------------------------------------------*/

.NavigointiAlue{
  position: fixed;
  width: 100%;
  background-color: #FFFFFF;
  color: #000000;
  font-family: RalewayCustom,sans-serif;
  left: 0;
  top: 35px;
  padding: 2px 10px 2px 10px;
  box-shadow: 0px 1px 1px 1px green;
  text-align: right;
  z-index: 9999;
  height: 80px;
}

.NavigointiAlue ul{
  display: block;
  list-style: none;
  padding: 0;
  margin: 5px;
}

.NavigointiAlue ul li{
  display: inline;
}

.NavigointiAlue a{
  text-decoration: none;
  color:  #000000;
  text-transform: uppercase;
  font-size: 16px;
  padding: 2px 5px 2px 5px;
  border: none;
}

.NavigointiAlue a:hover,a:focus{
  color: green;
  background-color: #EFFBEF;
}

.lippuikoni{
    height: 18px;
    cursor: pointer;
    padding-top: 5px;
}

.lippulinkki{
    padding: 2px;
}

/*---------------------------------------------------------------------*/
/* Menun sijainti
/*---------------------------------------------------------------------*/
.menualue{
    position: relative;
    float:left;
    top: 22px;
}

.menualue ul #MenuLinkki{
    display: none;
}
/*---------------------------------------------------------------------*/
/* Describes styling of FOOTER part of the page
/*---------------------------------------------------------------------*/

.PohjaAlue{
  position: fixed;
  display: block;
  width: 100%;
  color: #000000;
  font-family: RalewayCustom,sans-serif;
  font-size: 14px;
  left: 0;
  bottom: 0px;
  height: 32px;
  padding: 2px 10px 2px 10px;
  background-color: #EFFBEF;
  box-shadow: 0px 0px 1px 1px green;
}

/*---------------------------------------------------------------------*/
/* Sizes the MAIN CONTENT part of the page
/*---------------------------------------------------------------------*/

.PaaSisaltoAlue{
  position: absolute;
  top: 68px;
  width: 100%;
  bottom: 32px;
  /*background-image: url("/images/taus1.jpg");
  background-repeat: no-repeat;
  background-size: contain;*/
  overflow: auto;
}

/*---------------------------------------------------------------------*/
/* Styles the MAIN CONTENT part of the page
/*---------------------------------------------------------------------*/

.SisaltoAlue{
  display: block;
  color: #000000;
  font-family: RalewayCustom,sans-serif;
  font-size: 18px;
  padding: 50px 30px 10px 30px;
  background-color: #FFFFFF;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.5));
  height: 100%;
  top: 0;
  bottom:0;
  overflow: auto;
}

.siSisaltoAlue{ /* this part is for the sign in page */
  display: block;
  color: #000000;
  font-family: RalewayCustom,sans-serif;
  font-size: 16px;
  text-align: center;
  padding: 50px 30px 10px 30px;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background-color: #FFFFFF;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.5));
  box-shadow: 2px 0px 5px #000000;
  height: 100%;
  top: 0;
  bottom: 0;
  overflow: auto;
}

/*---------------------------------------------------------------------*/
/* Styles  the font color of the HEADER part of the page
/*---------------------------------------------------------------------*/

.YlaSisaltoAlue{
  color: #000000;
}

/*---------------------------------------------------------------------*/
/* Styles  the font color of the NAVIGATION part of the page
/*---------------------------------------------------------------------*/

.NavSisaltoAlue{
  color: #FFFFFF;
}

/*---------------------------------------------------------------------*/
/* Styles the font color of the FOOTER part of the page
/*---------------------------------------------------------------------*/

.FootSisaltoAlue{
  color: #FFFFFF;
}

/*---------------------------------------------------------------------*/
/* Contains product info
/*---------------------------------------------------------------------*/

.TuotedataAlue{
    float: left;
    width: 65%;
}

/*---------------------------------------------------------------------*/
/* Contains product details image
/*---------------------------------------------------------------------*/

.TuoteKuvaAlue{
    float: left;
    width: 35%;
}

/*---------------------------------------------------------------------*/
/* Adds some extra empty space to the bottom of last content entry
/*---------------------------------------------------------------------*/

.alindiv{
  padding-bottom: 20px;
}

/*---------------------------------------------------------------------*/
/* Div for contact details
/*---------------------------------------------------------------------*/

.YhteysDiv {
    float: left;
    width: 100%;
    font-size: 16px;
}

/*---------------------------------------------------------------------*/
/* Divs for google map
/*---------------------------------------------------------------------*/

.MapDiv{
    padding-top:20px;
    overflow:hidden;
    height:400px;
    width:400px;
    float:left;
}

.GoogleMapDiv{
    margin-left: 30px;
    height: 355px;
    width: 400px;
    border: 1px solid #000000;
}

/*---------------------------------------------------------------------*/
/* LogoImage definitions
/*---------------------------------------------------------------------*/

.LogoImage {
    height:80px;
}

/*---------------------------------------------------------------------*/
/* viseo container
/*---------------------------------------------------------------------*/
.VideoDiv{
    width: 400px;
    border: 1px solid #000000;
    box-shadow: 3px 3px 3px #000000;
    margin:15px;
    display: block;"
}

/*---------------------------------------------------------------------*/
/* Table-määrityksiä
/*---------------------------------------------------------------------*/

.toimialataulu{
  font-size: 16px;
  border-collapse: collapse;
}

.toimialataulu tr td{
  padding: 5px;
}

.toimialarivi:hover{
}

.toimialarivi:hover{
  background-color: #EEEEEE;
}

.toimialasolu{ /* popupissa */
  font-weight: bold;
  vertical-align: top;
  color: #084B8A;
}

.kuvataulu{
    width: 100%;
    display: block;
    margin: auto;
}

/*---------------------------------------------------------------------*/
/* 12-osien leveydet - käytetään sivun leveyden osiin jakamiseen
/* Responsive layoutia varten
/*---------------------------------------------------------------------*/
.leveys-1 {width: 8.33%;}
.leveys-2 {width: 16.66%;}
.leveys-3 {width: 25%;}
.leveys-4 {width: 33.33%;}
.leveys-5 {width: 41.66%;}
.leveys-6 {width: 50%;}
.leveys-7 {width: 58.33%;}
.leveys-8 {width: 66.66%;}
.leveys-9 {width: 75%;}
.leveys-10 {width: 83.33%;}
.leveys-11 {width: 91.66%;}
.leveys-12 {width: 100%;}

/*---------------------------------------------------------------------*/
/* 12-osien sisennykset - käytetään msrginaalien luomiseen vasemmalle
/*---------------------------------------------------------------------*/

.sisennys-1 {margin-left: 8.33%;}
.sisennys-2 {margin-left: 16.66%;}
.sisennys-3 {margin-left: 25%;}
.sisennys-4 {margin-left: 33.33%;}
.sisennys-5 {margin-left: 41.66%;}
.sisennys-6 {margin-left: 50%;}
.sisennys-7 {margin-left: 58.33%;}
.sisennys-8 {margin-left: 66.66%;}
.sisennys-9 {margin-left: 75%;}
.sisennys-10 {margin-left: 83.33%;}
.sisennys-11 {margin-left: 91.66%;}
.sisennys-12 {margin-left: 100%;}

/* =================================== */
/* Skaalataan 1100px alkaen */
/* =================================== */

@media only screen and (max-width: 1100px) {

    .logo{
        font-size: 32px;
    }

    .aImg, .vImg {
        max-width: 250px;
    }

    .img-arrow{
        font-size: 36px;
        bottom: 40px;
        opacity: 0.5;
    }

    .NavigointiAlue a{
        font-size: 12px;
    }
}
/* =================================== */
/* Skaalataan tableteille 768px alkaen */
/* =================================== */

@media only screen and (max-width: 800px) {

  .imagemodal-content {
    width: 100%;
  }

  .NavigointiAlue a{
      font-size: 10px;
  }

  .YlaSisaltoAlue
  {
      text-align: center;
  }

  .YlaAlue{
      font-size: 12px;
  }

.UserInfo{
      float: none;
  }

  .logo{
    left: 0px;
  }

  .popupWrap{
    margin: 14% auto; /* 15% from the top and centered */
    width: 80%; /* Could be more or less, depending on screen size */
  }

    .MapDiv{
        overflow:hidden;
        height:400px;
        width:400px;
        float:left;
        margin-left: 160px;
    }

}


/* =================================== */
/* Skaalataan puhelimille 480px alkaen */
/* =================================== */

@media only screen and (max-width : 640px) {

  .popupWrap{
    width: 90%;
  }
  .img-arrow{
    font-size: 36px;
    bottom: 30px;
    opacity: 0.5;
  }

  /*Sisältöalueen marginaalit*/
  .SisaltoAlue{
      padding: 20px 15px 30px;
      font-size: 16px;
  }

  /*Taustan muotoilu kapeammalle reunukselle*/
  .leveys-10 {width: 98%;}
  .leveys-11 {width: 98%;}
  .sisennys-1 {margin-left: 0%;
  }

  /*Rakennekuvan siirto tekstin alle*/
  .TuotedataAlue{
      width: 95%;
      float: none;
  }

  /*Rakennekuvan leveys*/
  .TuoteKuvaAlue{
      width:95%;
      display:block;
      margin: auto;
      float: none;
  }

  /*Back to top ikonin koko ja paikka*/
  .back-to-top {
      right: 12px;
      bottom: 36px;
      width: 48px;
      height: 48px;
      background-image: url('../ikonit/ArrowUpSmall.png'); /* no-repeat 0px 20px; */
  }

  /*Removin list indent to get more space for text*/
  .ListIndentRemoved{
      list-style-position: inside;
      padding-left: 5px;
      font-size: 16px;
  }

  /*Header specs*/
  h1{
      font-size: 28px;
  }

  .alaviiva{
      background-color: #008000;
  }

  /*list spacing at the contact page*/
  .contact_list{
      padding: 10px;

  }

  /*Resize the map div*/
  .MapDiv{
      padding-top:20px;
      overflow:hidden;
      width:100%;
      float:left;
  }

  .GoogleMapDiv{
      margin: auto;
      width: 95%;
  }

  /*Resize the Video div*/
  .VideoDiv{
      width: 95%;
      margin: auto;
  }

  /*Hide the contact details from the top*/
  .YlaAlue{
      display: none;
  }

  /*Move the navigation to the top*/
  .NavigointiAlue{
        top: 0px;
        height: 90px;
  }

  .logo{
      display: block;
      width: 100%;
      text-align: center;
      margin: 0px;
      top: 20px;
  }

  .menualue ul li a {
      padding: 2px 2px 2px 2px;
      color: #000000;
      font-size: 16px;
      width: 100%;
      display: block;
  }

  .menualue ul li{
    display: none;
    width: 100%;
    text-align: center;
    background-color: #FFFFFF;
    border: solid 1px #EFFBEF;
  }

  .menualue ul #MenuLinkki{
    display: block;
    background-color: #EFFBEF;
    border: solid 1px #FFFFFF;
  }

  .menualue{
    top: 52px;
    position: relative;
    display: inline;
    float:none;
    width:100%;
  }

  .aImg, .vImg{
      max-width: 100%;
      display: block;
      margin: auto;
      margin-bottom: 10px;
  }

    .popuptext{
        top: 10px;
        left:10px;
        color: #FFFFFF;
        font-size: 12px;
        padding: 2px;
    }

}

