



html,
body {
  /* The html and body elements cannot have any padding or margin. */
  -webkit-font-smoothing: antialiased;
  image-rendering: -webkit-optimize-contrast;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 164%;
}

.mstouch .navbar{
  box-shadow: none;
}

#wrap{
  overflow: hidden;
}

.row {
  margin-left:0px;
  margin-right:0px;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  margin-top:50px;
  padding-top:20px;
  padding-bottom:20px;
}


/* Custom page CSS
-------------------------------------------------- */

#wrap > .container {
  padding: 60px 15px 0;
}
.container .credit {
  margin: 20px 0;
}

#footer {
  background-color:#414141;
}

#footer a {
  color:#efefef;
}

h1,h2,h3 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;  
  vertical-align: middle;
  color: #483f3d;
}

.lead{
  font-size: 16px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  color: #483f3d;
}

#nav li a{
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;  
  font-size: 15px;
  color: #aaa1a1;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.navbar-nav>li>a{
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-toggle{
  background-color: #aaa1a1;
  margin-top: 29px;
  margin-right: 0px;
  padding-right: 14px;
  padding-left: 14px;
  position: absolute;
  right: 6%;
}

.navbar-inverse .navbar-toggle{
  border-color: #fff;
}

.icon-bar{
  height: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
}


#mobileImg{
  padding-top: 100px;
}

html.touch .bg-1, html.touch .bg-3, html.mstouch .bg-1, html.mstouch .bg-3{
  background-attachment: scroll;
  background-position: center top;
}


#container .col-xs-12{
  margin:auto;
}

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

header h1,header h2,header h3 a,header a,header a:hover {
  color:#483f3d;
  font-weight: normal;
  text-decoration: none;
}

header h3 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;  
  background: #ffcc33;
  padding:10px;
  border-radius:3px;
  font-size:30px;
  padding:12px 10px 6px 10px;
}

header .dropdown-menu {
  top:74px;
  background: #ffcc33;
  border-width:0;
}

.navbar-header{
  height: 74px;
}

#home{
  position: relative;
  background-color: #fff;
}


.page-header{
  border-bottom: none;
}

h1 {
  font-size:35px;
  margin-bottom: 34px;
}

h2{
  font-size: 35px;
  margin-bottom: 40px;

}

h3{
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;  
  font-size: 15px;
}

h4 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;  
  vertical-align: middle;
  color: #483f3d;
  font-size: 16px;
}

hr{
  height: 1px;
  background-color: #fff;
}

#redtext{
  color: #ba3d26;
}

#fi{
  position: absolute;
  top: 0px;
  right: 56px;
  float: right;
  margin-right: 8px;
  margin-top: 6px;
}

#eng{
  position: absolute;
  top: 0px;
  right: 0px;
  float: right;
  margin-top: 6px;
  margin-right: 8px;
}


#nav {
  position: absolute;
  width: 100%;
  top:0;
}

.navbar {
  min-height: 102px;
  -webkit-box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:    0px 6px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow:         0px 6px 20px 0px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
  margin: 28px 1px 1px 0px; 
}  

/* customize nav style */
.navbar-custom {
  background-color: #fff;
  font-weight:700;
  text-transform:uppercase;
  border-width:0;
  margin-bottom: 0;
}
.navbar-custom  .navbar-nav>li>a {
	color: #ddd;
}
.navbar-custom  .navbar-nav li>a:hover, .navbar-nav li .open, .navbar-custom .navbar-nav .active a  {
	background-color: #483f3d;
}
.navbar-custom .dropdown-menu{
	right:0;
}
.navbar-custom .navbar-nav>.dropdown>a .caret {
	border-top-color: #999;
	border-bottom-color: #999;
}

.navbar-collapse.in { /*3.0.2 bug workaround*/
  overflow-y: visible;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form{
  border-color: transparent;
}


.navbar-toggle {
	outline:0;
}

.divider {
	height:50px;
  color: #fff;
}

#section2{
  height: 100px;
}

.panel {
	border-width:0;
  box-shadow: none;
}


.panel-default{
  background-color: #e8e8e8;
  padding-top: 20px;
  max-width: 400px;
  position: relative;
  margin-left: auto;
  margin-right: auto;

}

.panel-body {
  padding-top: 0px;
}


.boxopen{
  background-color: #fff;
}

.panel-default:hover{
  background-color: #fff;
}

.boxopen .open {
  display:block;
}

.boxopen .shut {
  display:none;
}

#services{
  background-color: #e8e8e8;
  padding-top: 10px;
}

.nav-tabs{
  margin-bottom: 42px;
  border-bottom: 1px solid #fff;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{
  background-color: #d1edfa;
  border: 1px solid #fff;
  border-bottom-color: #d1edfa;
}

.nav-tabs>li>a:hover{
  background-color: #d1edfa;
  color: #483f3d;
  border: 1px solid #d1edfa;
  border-bottom-color: #fff;
}

#wrap > .container {
  padding: 20px 15px 0;
}

.small{
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 160%;
}

#info1{
  background-color: #d1edfa;
  padding-top: 16px;
}

.tab-pane .col-sm-3{
  margin-top: 20px;
}

.clear{
  clear: both;
}

.shut tr th{
  background-color: #483f3d;
}

.shut tr th:hover{
  background-color: #ba3d26;
}

.open .glyphicon{
  color: #fff;
}

.shut tr th:hover .glyphicon{
  color: #fff;
}

.abbreviation{
  width: 100%;
  margin-top: 40px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  line-height: 150%;
}

.abbreviation th{
  width: 100%;
  height: 60px;
  background-color: #ba3d26;
  padding-left: 20px;
  color: #fff;
  line-height: 100%;
}

.abbreviation td{
  height: 60px;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #6a6160;
  border-top: 2px solid #d1edfa;
}

.abbreviation tr{
  width: 100%;
  height: 60px;
  background-color: #fff;
  padding-left: 20px;
  color: #483f3d;
}
td{
  hyphens: auto
}
span{
  padding: 6px;
  color: #ba3d26;
}

.abbr{
  width: 60px;
  color: #ba3d26 !important;
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  border-left: 2px solid #d1edfa;
}

.det{
  width: 50%;
}

.detCol2{
  width: 100%;
}

.open{
  display: none;
  font-size: 15px;
  line-height: 160%;
}

.shut{
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 160%;
}


.scroll-top {
 position:fixed;
 bottom:0;
 right:6%;
 z-index:100;
 background: #ba3d26;
 font-size:24px;
 border-top-left-radius:3px;
 border-top-right-radius:3px;
}
.scroll-top a:link,.scroll-top {
  color:#fff;
} 

.scroll-top a:hover{
  color: #aaa1a1;
}

.scroll-top a{
  color: #fff;
}

section {
  color: #ffffff;
  min-height: 300px;
  height: auto !important;
  height: 100%;
  padding-top:100px;
}


label{
  font-size: 15px;
  font-weight: 400;
}

form{
  text-align: left;
}

.btn{
  font-weight: 300;
}

#formLeftCol{
  float: none;
}

#formRightCol{
  float: none;
}

.btn-default{
  margin-right: 20px;
  float: left;
}

.text-muted {
  font-size: 14px;
  padding-left: 15px;
}

.bg-1 {
  background: url('../images/toimistokuva1_mobile.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.bg-2 {
  background: url('http://www.bootply.com/assets/example/bg_5.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg-3 {
  background: url('../images/info_mobile.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg-4 {
  padding-top:10px;
  background-color: #e8e8e8;
}

.logo{
  padding-top: 21px;
  padding-left: 15px;
}


.logo p{
  margin:0;
}

.btn-primary{
  background-color: #1ba4e5;
  border-color: #008fce;
}


/* form related */

.form-submit-indicator{
  margin-right: 15px;
}

#form-success, #form-error{
  display: none;
}

.container{
  padding-left: 0px;
  padding-right: 0px;
}



.paddingMobile{
  padding-left: 0px;
  padding-right: 0px;
}






    /* tablet */
    @media (min-width: 768px) {



          .bg-1 {
      background: url('../images/toimistokuva1.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    .bg-3 {
      background: url('../images/info.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    html.touch .bg-tablet-1, html.mstouch .bg-tablet-1{
        background: url('../images/toimistokuva1_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }
    html.touch .bg-tablet-3, html.mstouch .bg-tablet-3{
        background: url('../images/info_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }


    .logo{
    padding-left: 30px;
    }

      #nav.affix {
       position: fixed;
       top: 0;
       z-index:10;
       -webkit-transition: all .6s ease-in-out;
     }

     #nav li a{
      font-size: 13px;
    }

    .navbar-nav.nav-justified > li{
      float:none;
    }

    .col-sm-8{
      width: 61%;
      padding-right: 0px;

    }

    .navbar-collapse{
      padding-right: 0px;
    }

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

    #page-header{
      text-align:center;
      background-color: rgba(255,255,255,.75);
      padding: 20px 60px;
    }

    #masthead{
      height: 782px;
      display: block;
      position:relative;
    }

    .page-header{
      border-bottom: none;
    }

    .lead{
      font-size: 17px;
      font-family: "Ubuntu", sans-serif;
      font-weight: 400;
      color: #483f3d;
    }

    h1{
      font-size: 40px;
    }


    header {
      background:url('../images/etusivuleiska2.jpg') 50% 50% no-repeat;
      background-size: cover;
      height:782px;
      color:#000000;
      top: 0;
    }


    #second-header-image{
      background:url('../images/etusivuleiska.jpg') 50% 50% no-repeat;
      background-size: cover;
      height:782px;
      color:#000000;
      top: 0;
    }

    .divider {
      height:100px;
    }

    #container{
      position: absolute;
      left: 0;
      right: 0;
      top:50%;
      -moz-transform:translate(0,-50%);
      -webkit-transform:translate(0,-50%);
      -ms-transform:translate(0,-50%);
      -o-transform:translate(0,-50%);
      transform:translate(0,-50%);
    }

    .container{
      padding-left: 15px;
      padding-right: 15px;
    }

    #section2{
      height: 137px;
    }


    #services{
      background-color: #e8e8e8;
      padding-top: 140px;
      margin-top: -80px;
    }

    .nav-tabs{
      margin-bottom: 30px;
      border-bottom: 1px solid #fff;
    }


    .btn-default{
      margin-left: 20px;
    }

    .paddingMobile{
      padding-left: 15px;
      padding-right: 15px;

    }

    #formLeftCol{
    float: left;
    }

    #formRightCol{
      float: left;
    }

    }












    /* desktop */
    @media (min-width: 970px) {

    html.touch .bg-tablet-1, html.mstouch .bg-tablet-1{
        background: url('../images/toimistokuva1_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }
    html.touch .bg-tablet-3, html.mstouch .bg-tablet-3{
        background: url('../images/info_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }

    .bg-1 {
      background: url('../images/toimistokuva1.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    .bg-3 {
      background: url('../images/info.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    

      #nav li a{
        font-size: 15px;
      }

      h1 {
        font-size:45px;
        margin-bottom: 34px;
      }

      h2{
        font-size: 45px;
        margin-bottom: 40px;
      }

      h3{
        font-family: "Ubuntu", sans-serif;
        font-weight: 500;
        font-size: 15px;
      }


      header h3 {
        font-family: 'Ubuntu', sans-serif;
        font-weight: 300;
        background: #ffcc33;
        padding:10px;
        border-radius:3px;
        font-size:34px;
        padding:12px 10px 6px 10px;
      }

      .lead{
        font-size: 18px;
        font-family: "Ubuntu", sans-serif;
        font-weight: 400;
        color: #483f3d;
      }


      body {
        /* The html and body elements cannot have any padding or margin. */
        -webkit-font-smoothing: antialiased;
        image-rendering: -webkit-optimize-contrast;
        font-family: 'Ubuntu', sans-serif;
        font-weight: 300;
        font-size: 17px;
        line-height: 164%;
      }

    }




    @media (min-width: 996px) {
      #page-header{
        text-align: center;
        background-color: rgba(255,255,255,.75);
        padding: 20px 120px;
      }

    html.touch .bg-tablet-1, html.mstouch .bg-tablet-1{
        background: url('../images/toimistokuva1_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }
    html.touch .bg-tablet-3, html.mstouch .bg-tablet-3{
        background: url('../images/info_tablet.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: scroll;
      background-position: center top;
    }
    
    }
