@font-face {
    font-family: Armata;
    src: url(fontit/Armata-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2 {
    font-family: Armata, sans-serif;
    letter-spacing: 3px;
    color: #f66126;
    font-variant: small-caps;
    text-transform: uppercase
}

.h2,
h2 {
    font-size: 1.6rem
}

.h3,
h3 {
    font-size: 1.5rem
}

.h4,
h4 {
    font-size: 1.2rem
}

.h5,
h5 {
    font-size: 1.1rem
}

.h7 {
    font-family: Armata, sans-serif;
    letter-spacing: 2px;
    color: #3c3c3c;
    font-size: 1em;
}

a {
    text-decoration: none
}

a:link {
    color: #f66126
}

a:active {
    color: #f66126
}

a:visited {
    color: #f66126
}

a:hover {
    color: #d64309;
    cursor: pointer;
    text-decoration: none
}

li {
    padding-bottom: 10px
}

.tausta {
    background: url(../kuvat/header-bg.jpg) repeat-x;
    height: 219px;
    -webkit-box-shadow: 6px 6px 10px 3px rgba(0, 0, 0, .1);
    -moz-box-shadow: 6px 6px 10px 3px rgba(0, 0, 0, .1);
    box-shadow: 6px 6px 10px 3px rgba(0, 0, 0, .1)
}

.navi {
    max-width: 1300px;
    margin: 0 auto;
}

.nav-content {
    font-family: Armata, sans-serif;
    text-align: center;
    font-size: 1.1em;
    line-height: normal;
    letter-spacing: .15rem;
    font-variant: small-caps;
    text-transform: uppercase
}

.nav-content a {
    color: #fff;
    text-decoration: none;
    border-top: dashed #fff 1px;
    border-bottom: dashed #fff 1px;
    background-color: #a7a7a7;
}

.active {
    pointer-events: none
}

.nav-link.active,
.nav-link:hover {
    background-color: #929292;
}

main {
    margin-top: 4.5rem
}

.container p {
    font-size: 1.1em;
}

.intro {
    color: #61696f;
    font-size: 1.3em !important;
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual
}

.vl {
    border-right: 1px solid #e6e6e6;
    margin-left: -10px
}

.lomake {
    border: solid 1px rgba(128, 128, 128, .14);
    padding: 10px
}

.validation-error,
.with-errors {
    color: #fd0606
}

.siksak {
    width: 100%;
    height: 20px;
    background: linear-gradient(white 33%, transparent 33%), linear-gradient(-45deg, #707070 33%, transparent 33%) 0 50%, #707070 linear-gradient(45deg, #707070 33%, #fff 33%) 0 50%;
    background-repeat: repeat-x;
    background-size: 1px 100%, 20px 20px, 20px 20px
}

.kommentit {
    font-size: 1.05em;
    font-style: italic;
    color: #3c3c3c;
}

.google-maps {
    position: relative;
    padding-bottom: 75%;
    /*This is the aspect ratio-you can change this */
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

footer {
    font-family: Armata, sans-serif;
    background-color: #707070;
    letter-spacing: .1rem;
    color: #fff;
    font-variant: small-caps;
    text-transform: uppercase;
    font-size: .75em
}

footer .underline a {
    color: #fff;
    font-size: .95em;
    text-decoration: none;
    position: relative
}

footer .underline a:after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 1px;
    border-style: dashed;
    color: #e0dfdf
}

footer .underline a:hover {
    color: #e0dfdf
}

footer .underline a:hover::after {
    color: #fff
}

.copyright {
    padding: 20px 0 0;
    text-align: center;
    font-size: .85em
}

.copyright a:link {
    color: #fff
}

.footer a:hover {
    color: #f96
}

.tilt {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease
}

.tilt:hover {
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -o-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg)
}

.material-icons.md-16 {
    font-size: 16px
}

.material-icons.md-18 {
    font-size: 18px
}

.material-icons.md-dark {
    color: rgba(0, 0, 0, .54)
}

.hidden {
    display: none
}

.piilota {
    display: inline-block;
}

.vaakaviiva {
    border: dashed rgba(213, 205, 201, 0.3);
    border-width: 2px 0 0;
    height: 0
}

@media (max-width:960px) {
    .nav-content {
        font-size: .92em
    }

    .nav-link {
        margin: .5rem .25rem !important
    }
}

@media (max-width:860px) {
    .tausta {
        height: 149px
    }
}



@media (max-width:767px) {
    .navbar {
        padding: 0
    }

    main {
        margin-top: 9rem
    }

    .navbar-brand.logo {
        margin: 0
    }

    .nav-content a {
        color: #585857;
        border-top: dashed #888787 1px;
        border-bottom: dashed #888787 1px;
        background-color: rgba(139, 139, 139, 0.05)
    }

    .nav-link.active,
    .nav-link:hover {
        background-color: rgba(109, 109, 109, 0.2);
    }

    .esittely {
        margin: 48px auto;
        border: 2px dashed rgba(213, 205, 201, 0.3);
        width: 15em;
        padding-top: 15px;
    }
    .border-left {
        border-left:0!important;
    }

    .hidden {
        display: inline-block
    }

    .piilota {
        display: none;
    }
}

@media (max-width:480px) {
    .nav-content {
        font-size: .8em;
        letter-spacing: 0
    }
}

@media screen and (min-width:468px) {
    .rwd-break {
        display: none
    }
}

@media (max-width:390px) {
    .nav-link {
        margin: .5rem .1rem !important
    }
}

@media (max-width:370px) {
    .nav-content {
        font-size: .75em
    }

    .nav-link {
        padding: .5rem .1rem !important
    }
}

@media (max-width:300px) {
    .nav-content {
        font-size: .6em
    }
}

@media (max-width:240px) {
    .nav-content {
        font-size: .5em
    }
}

/*Tietosuoja-sivu*/

.vari {
    background-color: rgba(209, 236, 241, 0.13);
}

.vari2 {
    background-color: rgba(155, 239, 175, 0.13);
}
