body {
    font: 400 17px Lato, sans-serif;
    line-height: 1.8;
    color: #818181;
}
h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030;
    font-weight: 600;
    margin-bottom: 30px;
}

h4{
    margin-top: 30px;
    font-size: 19px;
}

.jumbotron > h2{
    color: white;
    font-family: Montserrat, sans-serif;
    font-weight: normal;
    line-height: 45px;
} 
.jumbotron {
    background-color: #091f3a;
    color: #fff;
    padding: 100px 25px;
    font-family: Montserrat, sans-serif;
    background-image:url(/img/Taustakuva2.jpg);
    /*background-position: center;*/
    background-position: 50% 70%;
    background-repeat: no-repeat;
    background-size:100%;
}

.testitausta {
    background-image:url(/img/testitausta.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:100%;
}
.container-fluid {
    padding: 60px 50px;
}
.bg-grey {
    background-color: #f6f6f6;
}
.logo-small {
    color: #091f3a;
    font-size: 50px;
}
.logo {
    color: #091f3a;
    font-size: 200px;
}
.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}
.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #091f3a;
}
.carousel-indicators li {
    border-color: #091f3a;
}
.carousel-indicators li.active {
    background-color: #091f3a;
}
.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}
.item span {
    font-style: normal;
}
.panel {
    border: 1px solid #091f3a; 
    border-radius:0 !important;
    transition: box-shadow 0.5s;
}
.panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
}
.panel-footer .btn:hover {
    border: 1px solid #091f3a;
    background-color: #fff !important;
    color: #091f3a;
}
.panel-heading {
    color: #fff !important;
    background-color: #091f3a !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.panel-footer {
    background-color: white !important;
}
.panel-footer h3 {
    font-size: 32px;
}
.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}
.panel-footer .btn {
    margin: 15px 0;
    background-color: #091f3a;
    color: #fff;
}
.navbar {
    margin-bottom: 0;
    background-color: #091f3a;
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font-family: Montserrat, sans-serif;

}
.navbar li a, .navbar .navbar-brand {
    color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
    color: #091f3a !important;
    background-color: #fff !important;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
}
footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}
.slideanim {
    visibility:hidden;
    margin-bottom: 20px;
}
.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

.pagesplitter{
    border-bottom: 1px solid #091f3a;
    margin-bottom: 30px;
    margin-top: 20px;
}


.nav-stacked{
    margin-top: 25px;
}

.nav-pills > li.active > a{
    background-color: #091f3a !important;
}

.nav-pills > li > a{
    color: #091f3a !important;
}

.nav-pills > li.active > a{
    color: white !important;
}

footer{
    background-color: #091f3a !important;
}

footer > p{
    color:white;
}

.btn-theme{
    background-color: #091f3a;
    color:white;
}

.btn-theme:hover{
    color: #c8c8c8;
}

.text-theme{
    color: #091f3a;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

#map {
    height: 400px;
    width: 100%;
}
@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%);
    }
}

@media screen and (max-width: 1000px) {
    .jumbotron {
        background-size:auto 100%;
    }
}
@media screen and (max-width: 768px) {
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}
@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }

}