::selection {
    background-color: #6a6a6a;
    color: #fff;
}
:focus {
    outline-color: #6a6a6a !important;
}
body {
    background-color: #ecedf1;
    opacity: 0;
    filter: greyscale(80%);
    -webkit-filter: grayscale(80%);
    transition: all 500ms ease-in-out;
    transition-property: opacity, filter, -webkit-filter;
}
.after-load {
    opacity: 1;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}
h1, 
h2,
h3 {
}
p {
    font-family: 'Helvetica';
}
a:hover {
    text-decoration: none;
}
img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

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

/* NAVBAR */
.fixedhead {
    position: fixed;
    z-index: 100;
    width: 100%;
    padding-bottom: 3px;
}
.navbar {
    margin-bottom: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #ecedf1;

}
.nav {
    width: 100%;
    background-color: #f8f8f8;
}
.navbar-header {
    padding-right: 15px;
    padding-left: 15px;
}
.navbar-brand {
    padding: 0;
}
.nav li a {
    color: #000 !important;
    text-transform: uppercase;
    transition: all 300ms ease-in-out;
    transition-property: font-weight;
    padding-left: 2em;
    padding-right: 2em;
    transition: all 500ms ease-in-out;
    font-weight: bold;
}
.nav li .active {
    font-weight: bold;
}
.navigointi{
    text-decoration: none;
    transition: all 500ms ease-in-out;
}
.navigointi :hover {
    text-decoration: none;
     
}


/* SLIDER */
.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}
.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
    margin-top: 103px;
}
.rslides_tabs {
    position: absolute;
    right: 10px;
    bottom: 0;
    z-index: 100;
}
.rslides_tabs li {
    float: left;
    margin: 0.2em;
    background-color: #082241;
    opacity: 0.5;
    transition: all 200ms ease-in-out;
    transition-property: opacity;
}
.rslides_tabs li:hover,
.rslides_here {
    opacity: 0.75 !important;
}
.rslides_tabs li a {
    padding: 0.5em;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

/* OVERLAYS */
.overlay {
    position: absolute;
    left: 15px;
    right: 15px;
    background-color: transparent;
    padding-top: 1em;
    padding-bottom: 1em;
    color: #fff;
}
.rslides .overlay {
    left: 50%;
    right: 15%;
    top: 25%;
    letter-spacing: 0.05em;
}
.rslides .overlay * {
    font-family: "adelle-sans" !important;
    color: #fff !important;
    background-color: transparent !important;
}
.rslides h1 {
    font-size: 40px;
    font-weight: bold;
}
.rslides p {
}

/* ECMS CONTENT */
.ecms-content {
    background-color: #fff;
    padding-right: 0;
}
.ecms-content h1,
.ecms-content h2,
.ecms-content h3 {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
}

.box {
    color: #fff;
    padding-top: 2em;
    padding-bottom: 1em;
    padding-left: 30px;
    padding-right: 30px;
    transition: all 250ms ease-in-out;
    transition-property: padding-left;
}
.box:hover {
    padding-left: 45px;
    padding-right: 45px;
}
.box:nth-child(1) {
    background-color: #1a1a1a;
}
.box:nth-child(2) {
    background-color: #3b3b3b;
}
.box:nth-child(3) {
    background-color: #6a6a6a;
}
.box:nth-child(4) {
    background-color: #515151;
}


.num {
position: absolute;
z-index: 1;
right: 27px;
top:10px;
font-family: 'Helvetica';
}

.header-text {
    font-size: 20px;
    background-color: #000;  
    color: #fff;
    border-bottom: thick solid #303030;
    padding-top: 2em;
    padding-bottom: 1em;
}
.header-text p {
    font-family: 'proxima-nova-alt' !important;
}
.header-text .excerpt {
    font-size: 16px;
    padding-left: 15px;
}
.header-text .btn-custom {
    margin-right: -16px;
}

.product-examples {
    padding-top: 1em;
    padding-bottom: 1.5em;
}
.product-examples h1 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}
.product-example {
    margin-bottom: 2em
}
.product-example .info {
    padding-left: 0;
}

/* CONTACT */
.contact {
    padding: 5em 0;
    color: #fff;
    background-color: #303030;
}
.contact h1 {
    color: #06d429;
    font-weight: bold;
    text-transform: uppercase;
}
.contact p {
    margin: 2em auto 3em;
}

.side-image {
    right: -15px;
}


/* FOOTER */
.footer {
    color: #fff;
    background-color: #000;
    padding-bottom: 30px;
}
.copyright {
    color: #505050;
    background-color: #303030;
    padding-top: 2em;
    padding-bottom: 15em;
}
.copyright a {
    font-family: 'Montserrat', sans-serif;
    color: #505050;
}
.janavalo img {
    width: 120px;
}
.linkit a{
    text-decoration: none;
    color: white;
    margin-bottom: 3px;
}
.linkit :hover{
    text-decoration: none;
    color: white;
}

/* BUTTONS */
.btn-custom {
    font-family: 'acumin-pro';
    color: #fff !important;
    background-color: #06d429;
    border-radius: 0;
    padding: 1.25em 2em;
    text-transform: uppercase;
    transition: all 300ms ease-in-out;
    transition-property: filter, -webkit-filter;
}
.btn-custom:hover {
    filter: grayscale(25%);
    -webkit-filter: grayscale(25%);
}


/* NEWS */
.news-item {
    margin-bottom: 1em;
}
.news-item .subject,
.news-item .date {
    margin-bottom: 0;
}
.news-item a {
    color: #fff !important;
    text-decoration: none;
}
.uutinen * {
    color: #000 !important;
}
.news-article {
    min-height: 500px;
}
.news-article a {
    color: #082241 !important;
}

/* Scroll-to-top icon */
.scroll-to-top {
    position: fixed;
    color: #fff !important;
    background-color: #ecedf1;
    border: none !important;
    border-radius: 5px;
    padding: 5px 15px;
    text-shadow: 1px 1px 5px #000;
    font-size: 2em;
    right: 1em;
    bottom: -100%;
    opacity: 0;
    z-index: 200;
    transition: all 500ms ease-in-out;
    transition-property: opacity, bottom;
}


@media screen and (max-width: 1199px) {
    
}

@media screen and (max-width: 991px) {
    .footer div,
    .copyright div,
    .product-example .info,
    .product-examples h1 {
        padding: 1em !important;
    }
    .side-image {
        right: auto;
    }
    .side-image img {
        width: auto !important;
    }
}

@media screen and (max-width: 767px) {
    .num {
        top:38px;
        left:31px;
        padding-bottom: 5px;
    }
    .rslides img {
        margin-top: 62px;
        height: 300px;
    }
    .navbar {
    margin-bottom: 8px !important;
	}
}

@media screen and (max-width: 567px) {
    h1,
    h2,
    h3 {
        font-size: 1.5em !important;
    }
    .side-image img {
        width: 100% !important;
    }
}
@media screen and (max-width: 339px) {
    .num {
        top:35px;
    }
    .rslides img {
        margin-top: 62px;
        height: 250px;
    }
    .navbar-toggle {
    	margin-right: -10px;
    }
    .inner {
    	margin-left: -40px;
    	margin-top: -10px;
    }
}
.content {
    margin-top: 50px;
}
.frontpage-content img {
    width: 75%;
}