@font-face {
    font-family: 'Open sans';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#Open%20sans') format('svg');
    font-weight: normal;
    font-style: normal;

}

html,
body {
    width: 100%;
    height: 100%;
    font-size: 30px;
    overflow: hidden;
    font-family: 'Open sans', Helvetica, sans-serif;
    webkit-tap-highlight-color: #222;
}

body {
    height: auto;
}


/* Preload */

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    /*background: url('../img/preloader.GIF') center no-repeat #fff; */
    background-color: #fff;
    color: #f5911e;
}

.preloader > div {
    margin: auto;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 40%;
}


/* GENERAL FONT SIZING */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open sans', 'Open sans', sans-serif;
    margin-top: 0;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 0.8em;
}

h4 {
    font-size: 0.7em;
    line-height: 1.5em;
    text-align:center;
}
h5 {
    font-size: 0.7em;
    line-height: 1.5em;
}
p {
    font-size: 0.4em;
    line-height: 1.0em;
}

h1.main{
    font-size: 0.5em;
    color:#1fa163;
    text-transform: uppercase;
}

section::after{
    clear:both;
}

h5.price{
    color: #000;
    padding: 10px 5px;
    text-align:center;
}

iframe[seamless]{
    background-color: transparent;
    border: 0px none transparent;
    padding: 0px;
    overflow: hidden;
}
iframe#contact-form{
    width:100%;
    height:520px;
}
@media only screen and (min-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }
    h4 {
        font-size: 1em;
    }
    p {
        font-size: 1em;
        line-height: 1.3em;
    }
    h1.main {
        font-size: 0.8em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1em;
    }
    h4 {
        font-size: 0.9em;
    }
    p {
        font-size: 0.8em;
        line-height: 1em;
    }
}



.pull-bottom {
    display: inline-block;
    vertical-align: bottom;
    padding: 0;
    margin: 0;
    height: 100%;
}

@media only screen and (max-width:768px) {
    .pull-bottom {
        width: 100%;
    }
}

.text-shadow {
    text-shadow: 1px 3px 0 black;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0;
}

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

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

.bold {
    font-weight: 500;
}

.display-none {
    display: none;
}

.hidden {
    opacity: 0;
}

/* LINKS */

a {
    color: #f5911e;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #535353;
}

a.base-dark {
    color: #078cc7;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a.base-dark:hover,
a.base-dark:focus {
    text-decoration:none;
    color: #f5911e;
}

a.smaller {
    font-size: 0.7em;
}
i#fullscreen-header-video:hover{
    cursor: pointer;
    color: #000;
}
a.base-dark .address{
    font-size: 0.7em;
    line-height: 1.2em;
}
/* BACKGROUND STYLE SETS */

.bg-white {
    color: #000;
    background-color: #fff;
}

.bg-orange {
    color: #fff;
    background-color: #f5911e;
}
.bg-grey {
    color: #fff;
    background-color: seashell;
}



/* BUTTONS */

button.language {
    margin-top: 0px;
    padding: 4px 10px 4px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: transparent;
    font-size: 0.8em;
    color: #666;
    opacity: 1;
}

button.language:hover {
    opacity: 0.8;
    border-color: #fff;
    background-color: rgba(59, 59, 57, 0.3);
}

button.language.active {
    border: 1px solid #f5911e;
    color: #f5911e;
    background-color: #fff;
    font-weight: 800;
}

@media only screen and (min-width:768px) {
    button.language {
        margin: 0;
        padding: 2px 14px 2px 14px;
        font-size: 0.5em;
    }
    button.language.active {
        border: 1px solid #f5911e;
        color: #f5911e;
        font-weight: 800;
        background-color: transparent;
    }
}

/* carousel image sliders*/
.carousel .carousel-inner .item img {
    height: 200px;
    width: auto;
    margin: 0 auto;
}
@media only screen and (min-width:500px) and (max-width: 991px){
    .carousel .carousel-inner .item img {
        height: 300px;
    }
}
@media only screen and (min-width:480px) and (min-height: 320px){
    .carousel .carousel-inner .item img {
        height: 150px;
    }
}
@media only screen and (min-width:640px) and (min-height: 320px){
    .carousel .carousel-inner .item img {
        height: 200px;
    }
}
@media only screen and (min-width:500px) and (min-height: 400px){
    .carousel .carousel-inner .item img {
        height: 300px;
    }
}
@media only screen and (min-width:360px) and (min-height: 600px) {
    .carousel .carousel-inner .item img {
        height: 400px;
    }
}
@media only screen and (min-width:360px) and (min-height: 780px){
    .carousel .carousel-inner .item img {
        height: 500px;
    }
}

@media only screen and (min-width:500px) and (max-width: 768px) and (min-height: 580px){
    .carousel .carousel-inner .item img {
        height: 400px;
    }
}
@media only screen and (min-width:500px) and (max-width: 768px) and (min-height: 700px){
    .carousel .carousel-inner .item img {
        height: 500px;
    }
}
.carousel .carousel-indicators li{
    border: 1px solid #000;
    background-color: rgba(0,0,0,0.8);
}
.carousel .carousel-indicators li.active{
    border: 1px solid #000;
    background-color: rgba(255,255,255,1);
}
.carousel .carousel-control{
    background: none;
    z-index:3;
}
.carousel .carousel-inner .item{
    text-align: center;
}



/* SECTION STYLES */

.row {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    height: 100%;
}

.row.no-gutters {
    padding: 0 !important;
    margin: 0 !important;
}

.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.container {
    position: relative;
}

section {
    padding: 20px 0;
}


/* Section icon (above heading) */

.section-icon {
    height: 80px;
}

.section-icon img {
    height: 100%;
    width: 100%;
}

.Slogan div,
#Social div {
    text-transform: uppercase;
    font-family: 'Open sans', 'Open sans', sans-serif;
}

#Social div {
    padding: 10px 0 10px 0;
}

.after-form {
    padding-top: 30px;
}

/**/


/* Big backgrounds */

.bg-screen {
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
    position: relative;
    background-position: center center;
    padding-bottom:50px;
}


/* screens */
.bg-screen.test {
    background-image: url(../img/bg-test.jpg);
}
.phone-screen.test {
    background-image: url(../img/bg-test-phone.png);
}
.wrapper {
    clip: rect(auto auto auto auto);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.wrapper-video {
    clip: rect(auto auto auto auto);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/**/

footer {
    font-size: 0.6em;
    margin-top: 10px;
    padding-bottom: 30px;
    border-top:#078cc7 10px solid;
    color: #078cc7;
}

footer .links,
footer .logo {
    text-align: center;
    max-height: 40px;
    margin: 40px 0;
    font-size: 0.8em;
}

footer .links {
    text-align: center;
    margin: 30px 0;
    vertical-align: baseline;
}

footer .links-placement {
    line-height: 0.6em;
    padding-bottom: 25px;
}

footer .logo .logo-img {
    height: 40px;
}

footer .logo img.icon-info {
    display: none;
}

footer .matmat {
    font-size: 0.7em;
}

footer .social-links i {
    padding: 0 10px 0 0;
    display: inline-block;
    margin-bottom: 24px;
    font-size: 2.4em;
}


@media only screen and (min-width:768px) {
    section {
        padding: 40px 0 40px 0;
    }
    footer {
        font-size: 0.8em;
        padding: 60px 0 90px 0;
    }
    footer .links {
        text-align: left;
    }
    footer .logo {
        text-align: right;
        font-weight: bold;
    }
    footer .logo .logo-img {
        height: 72px;
    }
    footer .logo img.icon-info {
        height: 20px;
        position: relative;
        bottom: 4px;
        right: 5px;
        display: inline-block;
    }
    footer .links-placement {
        float: right;
        padding-right: 8px;
        line-height: 1em;
    }
    /* Section icon (above heading) */
    .section-icon {
        height: 110px;
    }
    .section-icon img {
        height: 100%;
        width: 100%;
    }
    #Contact {
        padding-bottom: 100px;
    }
    #Social {
        padding: 15px 0 15px 0;
        margin: 10px 0 10px 0;
    }
    #Social .text {
        font-size: 1em;
    }
    #Social .social-wrapper i {
        padding: 0 10px 0 10px;
        display: inline-block;
    }
    /* Big backgrounds */
    .bg-screen {
        background-repeat: no-repeat;
        background-size: cover;
        isolation: isolate;
        position: relative;
        background-position: center center;
    }
    /* Big screens & Phone screens */
    .bg-screen.test {
        background-image: url(../img/bg-test.jpg);
    }
    .phone-screen {
        display: none;
    }
    .wrapper {
        clip: rect(auto, auto, auto, auto);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.75);
    }
    .roundwrap {
        -webkit-clip-path: circle(400px at 0, 0);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
    }
    .roundwrap:before {
        content: "";
        width: 300px;
        height: 300px;
        display: block;
        position: fixed;
        z-index: 1;
        top: 45%;
        right: 15%;
        transform: translateY(-55%);
        -webkit-transform: translateY(-55%);
        -ms-transform: translateY(-55%);
    }
    .roundwrap.roundtest:before {
        clip-path: circle(400px at 0, 0);
        background-color: rgba(255, 255, 255, 1);
        -webkit-background-blend-mode: multiply;
    }
    .wrapper-video {
        display: none;
    }
}


/* NAVIGATION */

.navbar-default {
    background-color: transparent !important;
    color: #fff;
    border: 0;
}

nav .container-full {
    padding: 0 10px 0 10px;
    background-color: #f5911e;
}

.navbar-default .navbar-brand {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    background-image: url(../img/logo-a.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    height: 35px;
    width: 115px;
    width: 115px;
    position: relative;
    top: 9px;
    left: 10px;
    padding-left: 34px;
    padding-top: 8px;
    padding-right:0px;
    font-size: 22px;
    font-weight: bold;
    color: rgba(255,255,255,1);
    text-shadow: 0px 0px 3px rgba(245, 145, 30, 1);
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #fff;
    font-weight: bold;
}

.navbar-default .navbar-collapse {
    border: 0;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #f5911e;
}

.navbar-default .navbar-toggle[aria-expanded="true"] {
    background-color: #fff !important;
}

.navbar-default .navbar-toggle[aria-expanded="true"] .icon-bar {
    background-color: #f5911e !important;
}

.navbar-default .navbar-toggle[aria-expanded="false"] .icon-bar {
    background-color: #fff !important;
}

.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    color: #fff;
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
    color: #fff;
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
    color: #fff!important;
    background-color: transparent;
}

.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover {
    background-color: transparent;
}

.navbar-default .navbar-nav>.active>a {
    font-weight: bold;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
}

.nav-info {
    display: none;
}

.navbar-default i {
    padding-right: 5px;
}

.navbar-default .right i {
    padding-right: 15px;
}

.navbar-default .left {
    color: #fff;
    padding: 5px 20px 0 20px;
}

.navbar-default .left span {
    padding-left: 10px;
}

.navbar-default .left .fa {
    width: 15px;
}

.navbar-default .languages {
    display: inline-block;
    width: 100%;
    font-size: 0.6em;
    text-align: center;
}

@media(min-width:768px) {
    nav .container-full {
        padding: 0 100px 0 100px;
    }
    .nav-info {
        display: block;
        height: 28px;
        background-color: rgba(255, 255, 255, 0.4)
    }
    .navbar-default {
        padding: 0;
        border: 0;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        transition: all .3s ease;
        font-size: 1em;
    }
    .navbar-default .nav > li {
        padding: 30px 15px 30px 15px;
    }
    .navbar-default .nav > li > a,
    .navbar-default .nav > li > a:focus {
        opacity: 1;
        color: #fff;
        font-size: 0.55em;
        padding: 10px 0 10px 0;
    }
    .navbar-default .nav > li > a:hover,
    .navbar-default .nav > li > a:focus:hover {
        color: #fff;
    }
    .navbar-default .nav > li.active > a,
    .navbar-default .nav > li.active > a:focus {
        color: #fff !important;
        font-weight: bold;
    }
    .navbar-default.affix .nav > li > a,
    .navbar-default.affix .nav > li > a:focus {
        opacity: 1;
        color: #fff;
    }
    .navbar-default.affix .nav > li > a:hover,
    .navbar-default.affix .nav > li > a:focus:hover {
        color: #fff;
    }
    .navbar-default .left {
        font-size: 0.6em;
        float: left;
        padding: 0 0 3px 0;
    }
    .navbar-default .right {
        float: right;
        position: relative;
        bottom: 4px;
        right: 98px;
        padding: 0;
        font-size: 0.8em;
    }
    .navbar-default i {
        padding-right: 5px;
    }
    .navbar-default .right i {
        padding-right: 15px;
    }
    .navbar-default .left span {
        padding-right: 20px;
    }
    .navbar-default .left .fa {
        width: auto;
    }
    .navbar-default .languages {
        display: none;
    }
    .navbar-default .container-padTop {
        padding-top: 0;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        transition: all .3s ease;
    }
    .navbar-default .navbar-brand {
        background-image: url(../img/logo-a.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left center;
        height: 65px;
        width: 211px;
        position: relative;
        top: 20px;
        left: 8px;
        padding-left: 56px;
        padding-top: 27px;
        padding-right:0px;
        font-size: 32px;
        font-weight: bold;
        color: rgba(255,255,255,1);
        text-shadow: 0px 0px 3px rgba(245, 145, 30, 1);
    }
    .navbar-default .navbar-nav>.active>a {}
    .navbar-default.navbar-shrink {
        background-color: #f5911e;
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        transition: all .2s ease;
        opacity: 0.85;
    }
    .navbar-default.navbar-shrink .nav-info,
    .navbar-default.navbar-shrink .container.small,
    .navbar-default.navbar-shrink .left,
    .navbar-default.navbar-shrink .right {
        height: 0;
        border: 0;
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        transition: all .2s ease;
    }
    .navbar-default.navbar-shrink .right {
        display: none;
    }
    .navbar-default.navbar-shrink .container-padTop {
        padding-top: 0;
    }
    .navbar-default.navbar-shrink .navbar-brand {
        height: 65px;
        width: 165px;
    }
}

@media(max-width:1024px) and (min-width:768px) {
    nav .container-full {
        padding: 0 30px 0 30px;
    }
    .navbar-default {
        font-size: 0.8em !important;
    }
    .navbar-default.navbar-shrink {
        font-size: 0.8em !important;
    }
    nav .container-full {
        padding: 0 40px 0 40px;
    }
    .navbar-default .navbar-brand,
    .navbar-default.navbar-shrink .navbar-brand {
        height: 50px;
        width: 140px;
        position: relative;
        top: 20px;
        left: 8px;
        padding-left: 45px;
        font-size: 28px;
        padding-top: 18px;
    }
    .navbar-default .right {
        right: 33px;
        top: 2px;
    }
}


/* HEADER */

header {
    position: relative;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    text-align: center;
    color: #fff;
    background-image: url(../img/pahkinatausta.jpg);
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

header #header-video {
    width:0px;
    height:0px;
}

header .header-content {
    width: auto;
    text-align: center;
    position: relative;
    top: 40%;
    transform: translateY(-40%);
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
}

.header-content .download-badge-android,
.header-content .download-badge-ios {
    max-height: 70px;
    height: 70px;
    opacity: 1;
}

.header-content .download-badge-android:hover,
.header-content .download-badge-ios:hover {
    opacity: 0.8;
    cursor: pointer;
}

header .header-content .header-content-inner {
    margin: 0;
    font-family: 'Open sans', Helvetica;
    font-size: 65px;
}

header .header-content .header-content-inner img {
    max-width: 300px;
}

header .header-content .header-content-inner p {
    font-size: 2.5em;
    font-weight: 300;
}

header .header-content .header-content-inner .download-buttons {
    width: 100%;
    float: none;
    padding-bottom: 30px;
}

@media(min-width:768px) {
    header {
        position: relative;
        z-index: 10;
        overflow: hidden;
        background-image: none;
    }
    header #header-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        min-height: 100%;
        height: auto;
        width: auto;
        z-index: -100;
        /*-webkit-filter: blur(3px);
		filter: blur(3px);
		filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
		*/
    }
    header .header-content {
        position: absolute;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    .header-content .download-badge-android,
    .header-content .download-badge-ios {
        max-height: 60px;
        height: 60px;
        opacity: 1;
    }
    .header-content .download-badge-android:hover,
    .header-content .download-badge-ios:hover {
        opacity: 0.8;
        cursor: pointer;
    }
    header .header-content .header-content-inner {
        margin: 0 auto;
        max-width: 1000px;
        text-align: center;
    }
    header .header-content .header-content-inner .download-buttons {
        width: 50%;
        float: left;
    }
    header .link-main-video {
        position: absolute;
        top: 137px;
        right: 100px;
        display: block;
        font-size: 0.8em;
        display: block;
    }
}

::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}
