body, html {
    height: 100%;
}

body {
    background: #FFF;
    font: 400 16px 'Titillium Web', Arial, Verdana;
    color: #000;
}

h1, h2, h3, h4, h5 {
    font: 400 54px 'Droid Serif', Arial, Verdana, Tahoma;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
    font-family: 'Titillium Web', Arial, Verdana, Tahoma;
    font-weight: 700;
}

h4 {
    font-size: 20px;
    font-family: 'Titillium Web', Arial, Verdana, Tahoma;
    font-weight: 700;
}

h5 {
    font-size: 16px;
    font-family: 'Titillium Web', Arial, Verdana, Tahoma;
    font-weight: 700;
}

:focus {
	outline: none;
}

p {
    line-height: 1.4;
    margin-bottom: 24px;
}

a {
    color: #1c5fab;
    text-decoration: none;
    transition: all 0.35s;
}

a:hover {
    color: #333;
}

a.btn {
    display: inline-block;
    padding: 10px 40px;
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffcc00;
    transition: all 0.35s;
}

a.btn:hover {
    background: #ccc;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
textarea {
    border: 0;
    background: #ddd;
    padding: 10px;
    width: 100%;
    font-family: 'Titillium Web';
    font-size: 16px;
    box-sizing: border-box;
}

input[type=submit] {
    display: inline-block;
    border: 0;
    background: #018bd3;
    font-size: 16px;
    color: #FFF;
    padding: 10px 15px;
    font-family: 'Titillium Web';
    cursor: pointer;
    transition: all 0.35s;
}

input[type=submit]:hover {
    background: #aaa;
}

strong {
    font-weight: 600;
}

p strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

iframe {
    max-width: 100%;
}

textarea {
    min-height: 100px;
}

table {
    width: 100%;
}

table td {
    padding: 10px;
    vertical-align: top;
    box-sizing: border-box;
}

table tr td:first-child {
    padding-left: 0;
}

table tr td:last-child {
    padding-right: 0;
}

.titillum {
    font-family: 'Titillium Web';
    font-weight: 600;
}

.section {
    padding: 40px 0 80px;
}

.section h2 {
    font-size: 54px;
}

header#top {
    width: 100%;
    padding: 15px;
    background: #333333;
    font-size: 0;
    box-sizing: border-box;
    position: relative;
}

.wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#logo,
nav#menu {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 18px;
    color: #FFF;
}

#logo {
    width: 20%;
    padding-left: 5%;
}

#logo img {
    max-width: 100%;
}

nav#menu {
    width: 60%;
    text-align: right;
}

nav#menu ul li {
    display: inline-block;
}

nav#menu ul li a {
    color: #FFF;
    padding: 15px 7px;
    display: block;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
}

nav#menu ul li a:hover {
    color: #ccc;
}

#slider {
    padding: 20px;
    box-sizing: border-box;
}

#page-content.frontpage {
    background: url(../img/bg-1.png) right center no-repeat #008bd2;
    background-size: auto 100%;
    color: #FFF;
}

#page-content img {
    max-width: 100%;
}

#page-content table td {
    width: 50%;
}

#page-content table td:nth-child(odd) {
    padding-right: 25px;
}

#page-content table td:nth-child(even) {
    padding-left: 25px;
}

.slider .slider-nav span {
    font-size: 0;
}

.slider .slider-nav-prev span {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #555;
}

.slider .slider-nav.slider-nav-next,
.slider .slider-nav.slider-nav-prev {
    width: 20px;
}

#slider .slider-nav.slider-nav-next {
    right: 20px;
}

.slider .slider-nav.slider-nav-prev {
    left: 20px;
}

.slider .slider-nav-next span {

    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #555;
}

#products .product {
    box-sizing: border-box;
}

#products .slider-nav.slider-nav-prev {
    left: 0;
}

#products .slider-nav.slider-nav-next {
    right: 0;
}

.product {
    text-align: center;
}

.product .product-title {
    font-size: 16px;
    text-align: center;
    padding: 10px;
    display: block;
    background: #e5e5e5;
}

.padding-25 {
    padding: 25px;
    box-sizing: border-box;
}

#jalleenmyyjat {
    color: #FFF;
    background: url(../img/bg-2.png) right center no-repeat #ffcc00;
    background-size: auto 100%;
}

.form form,
.form .form-description {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    box-sizing: border-box;
}

.form form {

    padding-left: 1%;
}

.form .form-description {
    padding-right: 1%;
}

.form form label {
    display: none;
}

.form form li.form-field {
    padding-bottom: 5px;
}

footer#bottom {
    background: #333;
    padding: 30px 0;
    height: 220px;
    box-sizing: border-box;
    color: #FFF;
}

footer#bottom .logo,
footer#bottom .text {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
}

footer#bottom .text {
    padding-left: 40px;
}

footer#bottom strong {
    text-transform: uppercase;
}

footer#bottom a {
    color: #FFF;
}

.product a {
    display: block;
    color: #000;
}

#placeholder {
    padding: 40px 0;
    border-top: 1px solid #7f7f7f;
    border-bottom: 1px solid #7f7f7f;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    display: none;
}

.product-page {
    position: relative;
    font-size: 0;
}

.product-page .product-image,
.product-page .product-info {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    padding: 20px;
    font-size: 16px;
    text-align: left;
}

.product-page .product-image {
    width: 35%;
}

.product-page .product-info {
    width: 65%;
}

.product-page .product-info h2 {
    font-family: 'Titillium Web';
    font-size: 24px;
    font-weight: 700;
}

#close-product {
    font-size: 24px;
    background: none;
    color: #000;
    border: 0;
    position: absolute;
    top: 20px;
    right: 20px;
}

#page-content #products {
    font-size: 0;
}

#page-content #products li {
    display: inline-block;
    width: 33.33%;
    box-sizing: border-box;
    font-size: 16px;
}

#page-wrapper {
    height: auto !important;
    height: 100%;
    min-height: 100%;
    margin: 0 auto -220px;
}

.push {
    height: 220px;
}

#open-menu {
    background: none;
    border: 0;
    color: #FFF;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    display: none;
    width: 76px;
    height: 76px;
}

#open-menu:hover {
	opacity: 0.6;
}

#locale {
    display: inline-block;
    box-sizing: border-box;
    font-size: 17px;
    width: 15%;
    color: #FFF;
    vertical-align: middle;
    text-align: right;
    position: relative;
}

#locale li {
    display: inline-block;
}

#locale a {
    color: #aaa;
    font-size: 13px;
    text-align: left;
    display: block;
    padding: 5px 10px;
    transition: color 0.15s;
}

#locale a:hover {
    color: #FFF;
}

@media screen and (max-width: 960px) {
    .wrapper {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .section {
        padding: 40px 20px 60px;
    }

    nav#menu ul li a {
        font-size: 14px;
    }

    #logo {
        width: 20%;
        padding-left: 0;
    }

    #logo img {
        max-width: 100%;
    }
}

@media screen and (max-width: 890px) {
    #logo {
        width: 15%;
    }

    nav#menu {
        width: 70%;
    }
}

@media screen and (max-width: 800px) {
    nav#menu ul li a {
        font-size: 12px;
    }
    #locale li a {
        padding: 0 5px;
    }
}

@media screen and (max-width: 768px) {
    #slider .slide,
    #slider {
        min-height: 0;
    }

    h1 {
        font-size: 32px;
    }

    h2,
    .section h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    nav#menu ul {
        display: none;
    }

    #open-menu {
        display: block;
    }

    nav#menu ul li {
        width: 100%;
        display: block;
        text-align: center;
    }
    
    nav#menu ul li a {
    	font-size: 20px;
    	padding: 0;
    	line-height: 50px;
    }

    #logo {
        width: 100%;
        display: block;
    }

    nav#menu {
        display: block;
        width: 100%;
    }

    img {
        max-width: 100%;
    }

    #page-content #products li {
        width: 50%;
    }

    footer#bottom {
        height: auto;
    }

    footer#bottom .logo,
    footer#bottom .text {
        width: 100%;
        display: block;
        padding: 10px;
        box-sizing: border-box;
    }

    #locale {
        display: block;
        width: 100%;
        text-align: left;
    }
}

@media screen and (max-width: 560px) {
    #page-content #products li {
        width: 100%;
        display: block;
    }

    table td,
    #page-content table td {
        width: 100%;
        display: block;
        padding: 10px 0 !important;
    }

    .form form, .form .form-description {
        width: 100% !important;
        display: block;
    }

}


@media screen and (max-width: 480px) {
    #slider {
        display: none;
    }
}