/*ToP Tunniste Oy - (c) 2016
    Anni Uusitalo*/

body {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #eee;
}

div.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    background-image: url(../images/background_structure.png);
    background-repeat: repeat-x;
    height: 100px;
    border-bottom: 1px solid #000;
    moz-box-shadow: 0 0px 5px #000;
    -webkit-box-shadow:  0 0px 5px #000;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}

div.navbar {
    position: relative;    
    height: 50px;
    float: right;
    margin-left: 450px;
    margin-top: 45px;
    margin-right: 40px;
}

a.tab {
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #F27221;
    font-size: 16px;
    font-family: Arial;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid #111;
    background: rgba(255, 255, 255, 0);
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

a.tab:hover {
    color: #fff;
    border-radius: 30px;
    border: 2px solid #111;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

a.tab.selected, a.tab.selected:hover {
    color: #fff;
    /*text-decoration: underline;*/
    border-radius: 30px;
    border: 2px solid #111;
    background: rgba(255, 255, 255, 0.2);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

a.tab.special {
    color: #111;
    background-color: #F27221;
    /*background: rgba(242, 114, 33, 0.5);*/
    border-radius: 30px;
    border: 2px solid #111;
}

a.tab.special:hover {
    color: #F27221;
    background-color: #fff;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

img.logo {
    display: block;
    position: absolute;
    top: 5px;
    left: 30px;
}

img.logo.topbarLogo {
    height: 85px;
}

div.scrollable_area {
    width: 100%;
    min-height: 100%;
    margin-top: 100px;
}

div.area {
    width: 100%;
    min-height: 350px;
    border-bottom: 1px solid #888;
    /*moz-box-shadow: 0 0px 30px #aaa;
    -webkit-box-shadow:  0 0px 30px #aaa;
    box-shadow: 0 0px 30px #aaa;*/    
    position: relative;
}

div.area.dark {
    background-color: #222;
    moz-box-shadow: 0 0px 30px #444;
    -webkit-box-shadow:  0 0px 30px #444;
    box-shadow: 0 0px 30px #444;
    border-bottom: 1px solid #111;
}

div.area.orange {
    background-color: #F27221;
}

div.area.lightstructure, div.area.lightstructure_large {
    background-image: url(../images/background_structure2.png);
    background-repeat: repeat-x;
}

div.area.lightstructure_large {
    background-position-y: -100px;
    height:100vh;
}

div.area.imagebackground1 {
    background-image: url("../images/image1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100%;
    min-height: 800px;
    moz-box-shadow: 0 0px 30px #444;
    -webkit-box-shadow:  0 0px 30px #444;
    box-shadow: 0 0px 30px #444;
}

div.area div.absoluteAreacontent {
    position: absolute;
    width: 90%;
    top: 20px;
    left: 5%;
}

div.area div.normalAreacontent {
    width: 90%;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 5%;
    margin-right: 5%;
    display: inline-block;
}

div.area div.normalAreacontent:last-child {
    padding-bottom: 80px;
}

p.highlight {
    color: #F27221;
    font-size: 50px;
    text-shadow: 1px 1px #fff;
    text-align: center;
}

p.highlight b{
    color: #fff;
    font-size: 74px;
    font-weight: bold;
    text-shadow: 1px 2px #777;
}

p.semi_highlight {
    color: #F27221;    
    font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px #000;
}

p.semi_highlight b {
    color: #fff;    
    font-size: 24px;
    font-weight: normal;    
    line-height: 40px;
}

div.pictureBox {
    background-color: #000;
    width: 40%;
    border: 1px solid #000;
    moz-box-shadow: 0 0px 10px #000;
    -webkit-box-shadow:  0 0px 10px #000;
    box-shadow: 0 0px 10px #000;
    float: left;
}

div.infoBox {
    width: 55%;
    float: left;    
}

div.contentrow {
    height: 35px;
    background-image: url("../images/ready_for_encoding.png");
    background-repeat: no-repeat;
    background-size: 50px 50px;
    background-position: 12% 50%;
    padding: 25px 0 0 20%;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    text-shadow: 1px 1px #eee;
    text-transform: uppercase;
}

div.contentrow:first-child {
    margin-top: -15px;
}

div.contentrow i {
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    text-shadow: 1px 1px #eee;
    /*text-transform: none;*/
}

div.videoBox {
    margin: 10px 1% 10px 1%;
    background-color: #444;
    height: auto;
    /*min-height: 250px;*/ /*for testing*/
    float: left;
    moz-box-shadow: 0 0px 15px #000;
    -webkit-box-shadow:  0 0px 15px #000;
    box-shadow: 0 0px 15px #000;
    background-image: url("../images/play2.png");
    /*opacity: 0.5;*/
    background-repeat: no-repeat;
    background-size: 70px 70px;
    background-position: 50% 50%;
    cursor: pointer;
    position: relative;
}

div.videoBox:hover {
    opacity: 1;
}

/*video.video-js {
    width: 30%;
    height: auto;
}*/

div.textInfo {
    color: #fff;
    margin: 5px 1% 5px 1%;
    text-align: center;
    font-size: 16px;
    float: left;
    font-family: Calibri;
}

div.adverticementBox {
    /*border: 2px solid #F27221;*/
    border: 2px solid #fff;
    border-radius: 10px;
    height: 450px;
    width: 50%;
    margin: 20px auto 20px auto;
    padding-bottom: 50px;
    padding-top: 10px;
    /*background: rgba(242, 114, 33, 0.1); */
    background: rgba(255, 255, 255, 0.6);
}

div.adverticementBox.smaller {
    height: 250px;
}

div.adverticementBox img {
    display: block;
    margin: 0 auto 0 auto;
    width: 80%;
}

div.adverticementBox p {
    text-align: center;
    padding: 0 20px 0 20px;
}

div.adverticementBox p.firstRow {
    color: #F27221;
    /*color: #555;*/
    /*font-weight: bold;*/
    font-size: 18px;
    padding-top: 15px;
}

div.adverticementBox p.secondRow {
    color: #444;
    /*color: #F27221;*/
    font-weight: bold;
    font-size: 18px;
}

div.adverticementBox p.price {
    color: #444;
    font-size: 30px;
    font-weight: bold;
}

div.adverticementBox a.buyButton, div.adverticementBox a.downloadButton {
    display: block;
    text-align: center;
    width: 50%;
    margin: 0 auto 0 auto;
    padding: 20px 40px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #F27221;
    /*background: rgba(242, 114, 33, 0.5);*/
    border-radius: 30px;
    /*border: 2px solid #111;*/
    moz-box-shadow: 0 0px 10px #333;
    -webkit-box-shadow:  0 0px 10px #333;
    box-shadow: 0 0px 10px #333;
    text-transform: uppercase;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

div.adverticementBox a.downloadButton {
    margin-top: 40px;
    background-image: url("../images/save_50x50.png");
    background-repeat: no-repeat;
    background-size: 35px 35px;
    background-position: 90% 50%;
}

div.adverticementBox a.buyButton:hover, div.adverticementBox a.downloadButton:hover {
    color: #F27221;
    background-color: #fff;
    background: rgba(255, 255, 255, 0.9);
    moz-box-shadow: 0 0px 10px #555;
    -webkit-box-shadow:  0 0px 10px #555;
    box-shadow: 0 0px 10px #555;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
    /*background-image: url("../images/save_50x50.png");*/
    background-repeat: no-repeat;
    background-size: 35px 35px;
    background-position: 90% 50%;
}

div.adverticementBox a.downloadButton:hover {
    background-image: url("../images/save_orange_50x50.png");
}

div.size1_3 {
    width: 30%;
    margin-left: 1.6%;
    margin-right: 1.6%;
}

div.size1_2 {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
}

div.sidebar {
    position: fixed;
    left: 0;
    top: 100px;
    width: 20%;
    min-width: 260px;
    background-color: #1A1A1A;
    moz-box-shadow: 0 0px 5px #000;
    -webkit-box-shadow:  0 0px 5px #000;
    box-shadow: 0 0px 5px #000;
}

div.rightsidebar {
    position: fixed;
    right: 0;
    top: 150px;
    width: 70px;
}

a.sideButton {
    text-decoration: none;
}

div.sideButton {
    width: 70px;
    height: 70px;
    background-color: #222;
    border-radius: 15px 0 0 15px;
    moz-box-shadow: 0 0px 5px #000;
    -webkit-box-shadow:  0 0px 5px #000;
    box-shadow: 0 0px 5px #000;
    cursor: pointer;
    opacity: 0.5;    
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

div.sideButton.upButton:hover,
div.sideButton.contactButton:hover,
div.sideButton.downButton:hover {
    opacity: 1;    
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

div.upButton {
    background-image: url("../images/up.png");
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: 50% 30%; 
}

div.contactButton {    
    background-image: url("../images/message.png");
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: 50% 30%;
    /*background-color: #F27221;*/
}

div.downButton {
    background-image: url("../images/down.png");
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: 50% 30%;
}

div.sideButton p {
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    padding-top: 50px;
    font-weight: bold;
}

div.headerbox {
    height: 50px;
}

div.headerbox h2 {
    color: #F27221;
    font-size: 16px;
    padding-left: 10px;
    margin-top: 15px;
}

div.headerbox p {
    color: #999;
    font-size: 10px;
    padding-left: 10px;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: -10px;
}

a.subjectbox {
    display: block;
    background-color: #262626;
    border-top: 1px solid #666;
    height: 27px;
    padding-top: 13px;
    background: #262626 url(../images/arrowToRight.png) no-repeat 95% 50%;
    background-size: 20px 20px;
    padding-left: 10px;
    color: #fff;
    /*font-weight: bold;*/
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

a.subjectbox span.subtitle {
    color: #999;
    font-size: 10px;
}

a.subjectbox:nth-child(odd) {
    background-color: #333;
}

a.subjectbox:hover {
    color: #F27221;
}

a.subjectbox:hover span.subtitle {
    color: #F27221;
}

div.background_structure {
    background-image: url(../images/background_structure2_opacity0_2.png);
    background-repeat: repeat-y;
    width: 100%;
    display: inline-block;
}

div.content {
    padding-top: 100px;
    width: 75%;
    margin-left: 22%;
    margin-right: 3%;
    float: left;    
}

div.content.first{
    padding-top: 130px;
}

div.content h3 {
    color: #F27221;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
}

div.content h4 {
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 0px;
    font-weight: bold;
}

div.content p {
    font-size: 16px;
    text-align: justify;
    color: #444;
}

div.content p a.link {
    color: #B65619;
}

div.content p a.link:hover {
    color: #F27221;
}

div.content img.shadow {
    moz-box-shadow: 0 0px 15px #444;
    -webkit-box-shadow: 0 0px 15px #444;
    box-shadow: 0 0px 15px #444;
}

img.listblock {
    display: block;
    float: left;
    clear: left;
    margin-top: -20px;
}

img.size_80 {
    width: 80%;
}

img.size_60 {
    width: 60%;
}

img.size_40 {
    width: 40%;
}

img.size_05 {
    width: 5%;
}

img.size_50px {
    width: 50px;
}

span.listblock {
    margin-left: 10px;
    color: #444;
}

div.listArea {
}

div.listRow {
    height: 50px;
    padding-top: 15px;
}

div.content table {
    width: 100%;
}

div.content table tr th {
    border: 1px solid #999;
    width: 25%;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
}

div.content table tr td {
    border: 1px solid #555;
    width: 25%;
    padding: 10px;
    background-color: #555;
    color: #fff;
}

div.subject_change {
    height: 1px;
    width: 75%;
    margin-left: 22%;
    margin-right: 3%;
    float: left;
    background-color: #ccc;
    margin-top: 40px;
    margin-bottom: -40px;
}

div.subtitle_starts {
    height: 20px;
    width: 100%;
    float: left;
    display: inline-block;
    margin-bottom: 100px;
}

div.bottombar {
    float: left;
    width: 100%;
    background-color: #333;
    background-image: url(../images/background_structure.png);
    background-repeat: repeat-x;
    height: 50px;
    margin-top: 40px;
    position: relative;
    border-top: 1px solid #000;
    moz-box-shadow: 0 0px 5px #000;
    -webkit-box-shadow:  0 0px 5px #000;
    box-shadow: 0 0px 5px #000;
    position: fixed;
    bottom: 0;
    z-index: 999;
}

div.bottombar img.logo {
    top: 10px;
    left: 15px;
}

p.footerinfo {
    color: #555;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    margin-right: 20px;
    margin-top: 25px;
    font-family: Arial;
}

@media only screen and (min-width: 1450px) {
    
    div.area.upper {
        margin-top: -350px;
    }
    
}

@media only screen and (max-width: 1450px) {
    a.tab {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    div.contentrow {
        height: 35px;
        background-size: 50px 50px;
        background-position: 6% 50%;
        padding: 25px 0 0 16%;
        font-weight: bold;
        font-size: 18px;
        color: #333;
        text-shadow: 1px 1px #eee;
        text-transform: uppercase;
    }
}

@media only screen and (max-width: 1300px) {

    img.logo.topbarLogo {
        height: 65px;
        top: 15px;
    }

    div.navbar {
        margin-left: 350px;
    }

    div.content {
        margin-right: 20px;
        margin-left: 280px;
        width: auto;
    }

    p.highlight {
        font-size: 45px;
    }

    p.highlight b{
        font-size: 70px;
    }

}

@media only screen and (max-width: 1200px) {
 
    img.logo.topbarLogo {
        height: 55px;
        top: 20px;
    }
   
    div.navbar {
        margin-left: 320px;
        margin-top: 35px;
        margin-right: 2%;
    }

    a.tab {
        padding-left: 17px;
        padding-right: 17px;
        padding-top: 10px;
        padding-bottom: 8px;
        font-size: 14px;
        display: block;
        float: left;
    }

    div.adverticementBox {
        width: 70%;
    }
}


@media only screen and (max-width: 1000px) {
    div.navbar {
        margin-left: 320px;
        margin-top: 40px;
        margin-right: 1%;
    }

    a.tab.special {
        position: absolute;
        padding: 15px 20px 15px 20px;
        top: 61px;
        right: 5%;
        border-radius: 0 0 20px 20px;
        border: 1px solid #B65619;
        moz-box-shadow: 0 0px 5px #000;
        -webkit-box-shadow:  0 0px 5px #000;
        box-shadow: 0 0px 5px #000;
    }
}

@media only screen and (max-width: 900px) {
    
    p.highlight {
        font-size: 40px;
    }

    p.highlight b{
        font-size: 60px;
    }

    div.infoBox {
        width: 100%;
    }

    div.pictureBox {
        width: 60%;
        margin-left: 20%;
        margin-top: -40px;
    }

    div.contentrow {
        height: 25px;
        background-size: 40px 40px;
        background-position: 3% 50%;
        padding: 15px 0 0 11%;
    }

    div.contentrow:first-child {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 800px) {
    
    div.navbar {
        margin-left: 320px;
        margin-top: 20px;
        margin-right: 1%;
    }

    a.tab {
        margin-bottom: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    a.tab.special {
        top: 81px;
    }

    div.adverticementBox {
        width: 85%;
    }
}

@media only screen and (max-width: 750px) {
    
    div.content {
        margin-right: 2%;
        margin-left: 2%;
        width: 96%;
    }

    div.sidebar {
        display: none;
    }

    p.highlight {
        font-size: 35px;
    }

    p.highlight b{
        font-size: 50px;
    }

    div.pictureBox {
        width: 80%;
        margin-left: 10%;
        margin-top: -40px;
    }

}

@media only screen and (max-width: 630px) {
    img.logo.topbarLogo {
        height: 45px;
        top: 30px;
        left: 2%;
    }

    div.navbar {    
        margin-left: 260px;
    }

    div.contentrow {
        height: 35px;
        background-position: 0% 50%;
        padding: 15px 0 0 12%;
    }

    div.contentrow:first-child {
        margin-top: 20px;
    }

    div.adverticementBox {
        width: 95%;
    }
}

@media only screen and (max-width: 570px) {

    div.navbar {
        margin-top: 10px;
        margin-left: 250px;
    }

    a.tab {
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 12px;
        margin-bottom: 2px;
    }

    a.tab.special {
        top: 91px;
    }

    div.pictureBox {
        width: 90%;
        margin-left: 5%;
        margin-top: -40px;
    }

    div.infoBox {
        width: 100%;
    }

    div.contentrow {
        font-size: 16px;
    }

    p.highlight {
        font-size: 30px;
    }

    p.highlight b{
        font-size: 45px;
    }
}

@media only screen and (max-width: 430px) {
    img.logo.topbarLogo {
        height: 45px;
        top: 6px;
        left: 2%;
    }

    div.navbar {
        margin-top: 58px;
        margin-left: 2%;
    }

    a.tab {
        font-size: 11px;
        margin-bottom: 2px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    a.tab.special {
        top: 43px;
    }

    div.pictureBox, div.owl-carousel.owl-theme.banneri {
        display: none;
    }

    div.contentrow {
        height: 50px;
        padding: 25px 0 0 15%;
    }

    div.contentrow:first-child {
        margin-top: 0px;
    }
}