/*!
 * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    height: 100%; 
    /*height: 736px;*/
    font-family: 'Open Sans',Helvetica,Arial,sans-serif;
    color: #000000;
    background-color: #f4f4f4;
}

html {
    width: 100%;
    height: 100%;
}

.en, :lang(en){  display: none;  } 
.fi, :lang(fi){  display: true;  } 
#finnish {  display: none;  }

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}


a {
    color: #337ab7;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.modal-content{
    width: 600px !important;
    right: 50%;
}

.modal-body{
    text-align: center !important;
}

#modal_img1{
        width: 500px;
}

#modal_img2{
        width: 300px;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #337ab7;
}

.light {
    font-weight: 400;
}

.navbar-img1 {
    width: 60px;
    /*height: auto;*/
}

.navbar-img2 {
    margin-left: 5px;
    width: 80px;
    height: auto;
}

.navbar-toggle {
    color: white;
    font-size: 24px;
}

.navbar-custom {
    margin-bottom: 0;
    border-bottom: 0px solid rgba(255,255,255,.3);
    font-size: 1.2em;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: rgba(66, 72, 72,.55);
    <!--opacity: 0.7;-->
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: #fff;
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover {
    outline: 0;
    color: rgba(255,255,255,.8);
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    background-color: rgba(255,255,255,.3);
}

.navbar-custom .nav li.active a:hover {
    color: #fff;
}

.navbar-brand {
    padding: 11px 15px;
}



#bistro_kanta3d:hover,
#bistro_kanta3d:focus {
    -webkit-filter: grayscale(0%);
}

#bistro_header_h2{
    padding-top: 40px;
}

#bistro_header_h4{
    height: 70px;
    padding-top: 10px;
}

/* Portrait and Landscape */
@media only screen 
    and (min-width: 1367px) {

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

    .service-desc {
      height: 80px;
    }

    .service-desc_en {
      height: 80px;
    }

    p {
        margin: 0 0 35px;
        font-size: 18px;
        line-height: 1.6;
    }

    .navbar-custom {
        padding: 5px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: rgba(66, 72, 72,.55);
        font-size: 1.2em;

        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .navbar-custom.top-nav-collapse {
        padding: 0;
        border-bottom: 0px solid rgba(255,255,255,.3);
        background: rgba(66, 72, 72,.55);
    }


    .intro {
        display: table;
        width: 100%;
        height: auto;
        padding: 100px 0;
        text-align: center;
        color: #fff;
        background: url(/img/header_image.jpeg) no-repeat bottom center scroll;
        background-color: #000;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }

    .intro .intro-body {
        display: table-cell;
        vertical-align: middle;
    }
	
    .master_logo{        
       padding-top: 280px;
       margin-top: -110px;     
    }

    .logo{        
       padding-top: 120px;
       margin-top: -110px;     
    }

     span.highlight_header {        
         color: #FFFFFF;
         /*background-color:rgba(0, 0, 0, 0.3);*/
         padding-left: 10px;
         padding-right: 10px;
         font-size: 3.3em;        
         /*text-transform: uppercase;*/
     }

    span.highlight_ingres {        
         color: #FFFFFF;
         /*background-color:rgba(0, 0, 0, 0.3);*/
         padding-left: 10px;
         padding-right: 10px;
         font-size: 2em;         
         font-size: 1.5em;
       
     }

    .logo_img{
       background: url(../img/) no-repeat top center scroll;
       background-size: 250px;

    }

    .intro .intro-body .brand-heading {
        font-size: 40px;

    }

    .intro .intro-body .intro-text {
        font-size: 18px;
       
    }


    .intro {
        height: 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        font-size: 100px;
    }

    .intro .intro-body .intro-text {
       
    }

    .content-section {
        padding-top: 150px;
    }

    .download-section {
        padding: 100px 0;
    }

    #map {
        height: 400px;
        margin-top: 250px;
    }
} /* end media width */

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .service-desc {
      height: 150px !important;
   }
  .service-desc_en {
      height: 150px !important;
   }
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .service-desc {
      height: 120px !important;
   }
  .service-desc_en {
      height: 120px !important;
   }
}

/* Portrait and Landscape */
@media only screen 
    and (min-width: 768px) and (max-width: 1366px) {

    .service-desc {
      height: 100px;
    }

    .service-desc_en {
      height: 100px;
    }


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

    p {
        margin: 0 0 35px;
        font-size: 15px;
        line-height: 1.6;
    }

    h3{
        font-size: 1.3em;
    }

    .navbar-img1 {
    width: 24px;
    height: auto;
    padding-top: 2px;
    }

    .navbar-img2 {
    margin-left: 5px;
    width: 68px;
    height: auto;
    padding-top: 1px;
    }

    .navbar-custom {
        padding: 5px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: rgba(66, 72, 72,.55);
        font-size: 1.0em;

        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .navbar-custom.top-nav-collapse {
        padding: 0;
        border-bottom: 0px solid rgba(255,255,255,.3);
        background: rgba(66, 72, 72,.55);
    }

    .intro {
        display: table;
        width: 100%;
        height: auto;
        padding: 100px 0;
        text-align: center;
        color: #fff;
        background: url(/img/header_image.jpeg) no-repeat bottom center scroll;
        background-color: #000;
         background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }

    .intro .intro-body {
        display: table-cell;
        vertical-align: middle;
    }

    .logo{        
       padding-top: 120px;
       margin-top: 65px;     
    }

     span.highlight_header {        
         color: #FFFFFF;
         background-color:rgba(0, 0, 0, 0.4);
         padding-left: 10px;
         padding-right: 10px;
         font-size: 2.8em;         
     }

    span.highlight_ingres {        
         color: #FFFFFF;
         background-color:rgba(0, 0, 0, 0.4);
         padding-left: 10px;
         padding-right: 10px;
         font-size: 2em;         
         font-size: 1.5em;
        
     }

    .logo_img{
       background: url(../img/) no-repeat top center scroll;
       background-size: 170px;
    }

    .intro .intro-body .brand-heading {
        font-size: 40px;

    }

    .intro .intro-body .intro-text {
        font-size: 18px;
    }


    .intro {
        height: 100%;
        padding: 0;
    }

    .intro .intro-body .brand-heading {
        font-size: 100px;
    }

    .intro .intro-body .intro-text {
     
    }


    .content-section {
        padding-top: 150px;
    }

    .download-section {
        padding: 100px 0;
    }

    #map {
        height: 400px;
        margin-top: 250px;
    }

    .contact-contact p {
        font-size: 17px !important;
    }
} /* end media width */

.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid #fff;
    border-radius: 100%!important;
    font-size: 40px;
    color: #fff;
    background: 0 0;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #fff;
    background: rgba(255,255,255,.1);
}

.btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {    
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {    
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

.content-section {
    padding-top: 100px;
}

#palvelut {
    padding-top: 100px;
    padding-bottom: 50px;
}

#yritys {
    padding-top: 20px;
    background-color: #e7e7e7;
}

#contact {
    padding-top: 170px;
    padding-bottom: 150px;
    width: 100%;
    max-height: 700px;
    color: #fff;
    background: url(/img/footer_basemap.png) no-repeat center center scroll;
    background-color: #262626;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    position: absolute;    
}

#sonar{
    width: 100%;
    height: 325px;
    position: absolute;
    float: left;   
    left: 0px;
    top: 0px;
}

}



.download-section {
    width: 100%;
    padding: 50px 0;
    color: #fff;
    background: url(../img/screenshot1_filtered2.jpg) no-repeat center center scroll;
    background-color: #d7d7d7;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

#map {
    width: 100%;
    height: 200px;
    margin-top: 100px;
}


.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-default {
    border: 1px solid #42dca3;
    color: #42dca3;
    background-color: transparent;
}

.btn-default:hover,
.btn-default:focus {
    border: 1px solid #42dca3;
    outline: 0;
    color: #000;
    background-color: #42dca3;
}

ul.banner-social-buttons {
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        margin-top: 15px;
    }
}

@media only screen and (device-width : 375px) and (device-height : 667px) and (-webkit-device-pixel-ratio: 2) {
      .intro {
        display: table;
        width: 100%;
        height: auto;
        padding: 100px 0;
        text-align: center;
        color: #fff;
       /* background: url(../img/bg_small_fading.jpg) no-repeat bottom center scroll;*/
        /*background-attachment: fixed;*/
        background-color: #000;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
        min-height: 100vh;
    }
}

@media(max-width:767px) and (-webkit-min-device-pixel-ratio: 1){
    
    .master_inner_logo{
	width:200px;
    }

    .master_logo {
    padding-top: 182px;
    margin-top: -110px;
    }

    ul.banner-social-buttons li {
        display: block;
        margin-bottom: 20px;       
    }

    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }

    p {
        font-size: 16px;
    }

    .h2, h2 {
    font-size: 22px;
    }

    .h3, h3 {
    font-size: 18px;
    }
    .intro {
        display: table;
        width: 100%;
        height: 100%;
        padding: 160px 0;
        text-align: center;
        color: #fff;
        background: url(/img/header_image.jpeg) no-repeat bottom left scroll;
        background-color: #000;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        -o-background-size: cover;
    }

    .intro .intro-body .intro-text {
        font-size: 25px;
         
         margin-top: 0px;

    }

    .navbar-brand {
    padding: 14px 15px !important; 
    }

    .navbar-toggle {
    padding: 2px 10px;
    }

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

    .logo {
    background: none;
    background-size: 132px;
    padding-top: 18px;   
   }


     span.highlight_header {        
         color: #FFFFFF;
         background-color:rgba(0, 0, 0, 0.3);      
         font-size: 1.6em;

         /*text-transform: uppercase;*/
     }

    span.highlight_ingres {        
         color: #FFFFFF;
         background-color:rgba(0, 0, 0, 0.4);
         padding-left: 10px;
         padding-right: 10px;
                 
         font-size: 0.6em;        
     }

   .navbar-custom {
    margin-bottom: 0;
    border-bottom: 0px solid rgba(255,255,255,.3);
    font-size: 1.2em;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: rgba(66, 72, 72,.85);
    }
    #imageReferences {
    padding: 10px;
    margin-bottom: 50px;
   }

   .references{
    margin-top: 50px;
    margin-bottom: 30px;
    font-size:0.8em;
   }

   .bistro{
    margin-top: 50px;
    margin-bottom: 30px;
    font-size:0.8em;
   }

   #palvelut {
    padding-top: 100px;
    padding-bottom: 50px;
    }

    #yritys {
        padding-top: 100px;
        padding-bottom: 50px;
        background-color: #e7e7e7;
    }

    .modal-content{
    width: auto !important;
    height: auto !important;
    right: 0% !important;
    }

    .modal-body{
        text-align: center !important;
    }

    #modal_img1{
        width: auto;
        height: 200px;

    }

    #modal_img2{
        width: auto;
        height: 415px;

    }

}

    #references{
    display: none;
    }   

    #bistro{
    display: none;
    } 

    .btn-default, .btn-default:focus {
    border: 1px solid #000;
    color: #000;
    background-color: #ffffff;
   } 

   .references{
    margin-top: 50px;
    margin-bottom: 30px;
   }

   .bistro{
    margin-top: 50px;
    margin-bottom: 30px;
   }

   .btn-default:hover  {
    border: 1px solid #D0DC87;
    outline: 0;
    color: #000;
    background-color: #D0DC87;
   }

   #imageReferences {
    padding: 10px;
   }

footer {
   padding: 30px 0;
   
   background-color: #1b1b1b;
   color: white;
}

footer p {
    margin: 0;   
}

::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

::selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(255,255,255,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

.glyphicon {
    color: #fcf8e3;
    transition-property: color;
    transition-duration: 3s;
    transition-timing-function: ease;
    padding-left: 30px !important;
    padding-top: 30px !important;
}

.glyphicon:hover {
  color: #4395B0;
}

.dot {
    width: 300px;
    height: 300px;
    position: relative; 
}




.centraldot {
    width: 6px;
    height: 6px;
    background: rgba(208,220,135,1);
    border-radius: 30px;
    position: absolute;
    left:147px;
    top:147px;
    animation: animationDotCentral linear 3s;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards;
  animation-iteration-count: infinite;
}


.wave{
    width: 260px;
    height: 260px;
    background: rgba(208,220,135,0.4);
    border-radius: 200px;
    position: absolute;
    left:20px;
    top:20px;
    opacity: 0;
    animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards;
  animation-delay:0.9s;
  animation-iteration-count: infinite;
}

.wave2{
    width: 260px;
    height: 260px;
    background: rgba(208,220,135,0.4);
    border-radius: 200px;
    position: absolute;
    left:20px;
    top:20px;
    opacity: 0;
    animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards;
  animation-delay:1.07s;
  animation-iteration-count: infinite;
}

.wave_2{
    width: 260px;
    height: 260px;
    background: rgba(32,150,243,0.4);
    border-radius: 200px;
    position: absolute;
    left:20px;
    top:20px;
    opacity: 0;
    animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards;
  animation-delay:0.9s;
  animation-iteration-count: infinite;
}

.wave2_2{
    width: 260px;
    height: 260px;
    background: rgba(32,150,243,0.4);
    border-radius: 200px;
    position: absolute;
    left:20px;
    top:20px;
    opacity: 0;
    animation: animationWave cubic-bezier(0,.54,.53,1) 3s;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards;
  animation-delay:1.07s;
  animation-iteration-count: infinite;
}



@keyframes animationDotCentral{
    
    0% {
        transform:  scale(0) ;
        opacity: 0;
    }
 
    5% {
        transform:  scale(2) ;
    }
  
    10% {
        transform:  scale(0.90) ;
        opacity: 1;
    }


    11% {
        transform:  scale(1.50) ;
    }

    12% {
        transform:  scale(1.00) ;
    }
 
    28% {
        background: rgba(208,220,135,1);
    }
  
    29% {
        background: rgba(255,255,255,1);
    }

    31% {
        background: rgba(208,220,135,1);
    }

    33% {
        background: rgba(255,255,255,1);
    }

    35% {
        background: rgba(208,220,135,1);
    }

    90%{
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes animationWave{
    0% {
        opacity: 0;
        transform:  scale(0.00);
    }

    1% {
        opacity: 1;
    }

    10% {
        background: rgba(208,220,135,0.4);
    }

    100% {
        transform:  scale(1) ;
        background: rgba(208,220,135,0.0);
     }
}

.animated{
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;  
}

.animated-1 {
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -ms-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
  animation-delay: 1s;
}

.animated-2 {
  -webkit-animation-duration: 2.5s;
  -moz-animation-duration: 2.5s;
  -ms-animation-duration: 2.5s;
  -o-animation-duration: 2.5s;
  animation-duration: 2.5s;
  animation-delay: 1s;
}

.animated-3 {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  animation-delay: .1s;
}

.animated-4 {
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -ms-animation-duration: 1.5s;
  -o-animation-duration: 1.5s;
  animation-duration: 1.5s;
  animation-delay: .2s;
}


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

@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    -moz-transform: translateY(100px);
  }
  
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}

@-o-keyframes fadeInUp {
  0% {
    opacity: 0;
    -o-transform: translateY(100px);
  }
  
  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  -moz-animation-name: fadeInUp;
  -o-animation-name: fadeInUp;
  animation-name: fadeInUp;
}




