@import url("normalize.css");

/* Custom CSS ===================================================== */

/*  -- You might want to modify these. */

html, body {
    height: 100%;
    font-family: PTSansRegular;
}

body * {
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}


/* Helper classes ================================================= */

/* No clicks, disable pointer events */
.nc {
    pointer-events: none;
}

/* Box sizing. Padding does not change block dimensions with this class. No need for wrappers! */
.bs {
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -icab-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* No select hilight */
.ns {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* TWINTRACK BEGINS */

body {
    background-color: black;
    color: white;
}

a {
    color: #f10000;
    text-decoration: none;  
}

a:hover {
    text-decoration: underline;
}

h2, h3 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

.button {
    cursor: pointer;
}

.error label {
    color: #f10000;
}

.error input {
    background-color: #f10000;
}

.red {
    color: #f10000;
}

.content-width {
    width: 926px;
}

.main {
    margin: 0 auto;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    display: none;    
}

#mask {
    position: fixed;
    top: 0;
    background: url("../img/assets/mask.png");
    overflow: visible;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#top-bar {
    height: 47px;
    width: 100%;
    background: url("../img/assets/topbar.png");
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

#top-padding {
    height: 110px;
}

#top-container {
    margin: 0 auto;
    padding: 11px 0 0 20px;
    position: relative;
}

#twintrack-logo {
    display: block;
    width: 202px;
    height: 22px;
    background: url("../img/assets/twintrack_logo.png") 0 0 no-repeat;
    float: left;
}

.headerbox {
    margin-top: 20px;
    background-color: #222222;
    padding: 30px;
}

.headerbox h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

#dd-navi {
    margin: 20px 0 0 0;
    font-size: 40px;
    background: transparent;
    color: white;
    border: 1px solid white;
    /*background: url("../img/assets/dropdown.png") 960px 7px no-repeat;*/
    width: 100%px;
    padding: 5px;
}

#dd-navi option {
    /*background-color: #f10000;*/
    background-color: black;
    border: 0;
}

.box-right {
    float: right !important;
}

.halfbox {
    width: 453px;
    float: left;
    margin-top: 20px;
    background-color: #222222;
}

.halfbox .text {
    padding: 40px;
}

#lang-text {
    font-weight: bold;
}

#lang-select {
    position: absolute;
    left: 833px;
    top: 17px;
    cursor: pointer;
}

#lang-selector {
    display: none;
    padding: 13px;
    background-color: black;
    border: 1px solid white;
    list-style-type: none;
    line-height: 30px;    
}

/* NAVIGATION */

nav {
    font-family: PTSansNarrowBold;    
    height: 65px;
    background: url("../img/assets/navibg.png"); 
    width: 100%;
    position: fixed;
    top: 46px;
    left: 0;
    z-index: 9; 
}

nav ul {
    margin-top: 22px;
}

nav ul li {
    display: block;
    float: left;

    -moz-transform:skew(-10deg, 0deg);
    -webkit-transform:skew(-10deg, 0deg);
    -o-transform:skew(-10deg, 0deg);
    transform:skew(-10deg, 0deg);

    padding: 5px 14px 0 14px;
    margin: 0 1px 0 1px;
    font-size: 12px;
}

nav ul li:hover {
    background-color: red;
}

nav .active {
   background-color: red; 
}

nav a {
    color: white;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;

    -moz-transform:skew(10deg, 0deg);
    -webkit-transform:skew(10deg, 0deg);
    -o-transform:skew(10deg, 0deg);
    transform:skew(10deg, 0deg);    

}

nav a:hover {
    text-decoration: none;
}

#navigation-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* EDIT */

#edit {
    display: none;
    background-color: white;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -110px;
    color: black;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-color:#E3E3E3;
    -webkit-box-shadow: black 0px 0px 40px;
    -moz-box-shadow: black 0px 0px 40px;
    box-shadow: black 0px 0px 40px;

    z-index: 100;

}

#edit textarea {
    width: 500px;
    height: 130px;
}

#edit button {
    margin: 10px 10px 0 0;
    padding: 3px;
}

.edit {
    color: yellow;
    cursor: crosshair;
}

/* FRONTPAGE VIDEO */

#teaser {
	overflow: visible;
	height: 519px;
}

#front-video {
    overflow: visible;
    height: 519px;
    background: url("../img/assets/front_video_bg.png") 0 0 no-repeat;
    position: relative;
    margin: 20px 0 0 0;
}

#front-video-valtralogo {
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -204px;
    display: none;
}

#front-video-smalltext {
    font-family: PTSansNarrowRegular;
    position: absolute;
    font-size: 20px;
    top: 240px;
    text-align: center;
    display: none;
}

#front-video-largetext {
    position: absolute;
    font-size: 44px;
    top: 300px;
    text-align: center;
    display: none;
}

#front-video-watch {
    top: 400px;
    position: absolute;
    text-align: center;
    cursor: pointer;
}

#front-video-watch-icon {
    width: 65px;
    height: 75px;
    background: url("../img/assets/watch_video.png") 0 0 no-repeat;
    margin: 0 auto;
}

#videocontainer {
    display: none;
}

/* FRONTPAGE BOXES */

#front-boxes {
    margin-top: 20px;
    overflow: hidden;
}

.frontbox {
    width: 295px;
    height: 225px;
    float: left;
    overflow: hidden;
    position: relative;
    -moz-box-shadow:inset 0px 0px 50px 10px rgba(34, 34, 34, 0.5);
    -webkit-box-shadow:inset 0px 0px 50px 10px rgba(34, 34, 34, 0.5);
    box-shadow:inset 0px 0px 50px 10px rgba(34, 34, 34, 0.5);
}

.boxlink {
    cursor: pointer;
    margin-bottom: 10px;
}

#box-why {
    background: url("../img/assets/why_box_bg.png") 0 0 no-repeat;
}

#box-meet {
    background: url("../img/assets/meet_box_bg.png") 0 0 no-repeat;
    margin-left: 20px;
}

#box-game {
    background: url("../img/assets/game_box_bg.png") 0 0 no-repeat;
    margin-left: 20px;
}

.boxtext {
    background-color: #222222;
    margin-top: 168px;
    padding: 20px 20px 1px 20px;
    position: relative;
    font-family: PTSansNarrowRegular;
    font-size: 14px;
}

.boxtext h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.h-switch {
    width: 58px;
    height: 58px;
    background: url("../img/assets/vertical_switch.png") 0 -58px no-repeat;
    position: absolute;
    top: -28px;
    left: 230px;
}

/* AVAILABILITY BOX */

#availability {
    margin-top: 20px;
    padding: 20px;
    background: url("../img/assets/availability_bg.png");
}

#av-text {
    float: left;
    width: 610px;
    background: url("../img/assets/vertical_ruler.png") 640px 0 repeat-y;
    padding: 20px;
}

#av-text h3{
    font-size: 30px;
    margin-bottom: 20px;
}

#av-links {
    width: 195px;
    text-align: right;
    padding: 20px;
    float: left
}

#av-links h3{
    margin-bottom: 20px;
}

#linklist {
    line-height: 34px;
    font-size: 21px;
    font-family: PTSansItalic;
}



/* WHY TWINTRACK INTRO */

#twintrack-intro {
    margin: 20px 0 0 0;
    background: url("../img/assets/why_twintrac_uusi.png") 604px 0 no-repeat;
    background-color: #222222;
    padding: 40px;
}

#twintrack-intro ul {
    padding: 20px;
}

#twintrack-intro ul li {
    list-style-image: url("../img/assets/bullet.gif");
    margin: 5px 0 0 0;
}

#twintrack-intro h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

#saveaday_container {
    margin: 20px 0 40px 0;
    padding: 20px;
    background-color: #222222;
    position: relative;
}

#saveaday {
    width: 140px;
    text-align: center;
    float: left;
}

#saveaday img{
    margin-bottom: 20px;
}

#saveaday-switch {
    width: 58px;
    height: 58px;
    background: url("../img/assets/vertical_switch_down.png") 0 -58px no-repeat;
    margin: 0 auto -46px auto; 
}

#studytext {
    padding: 20px 0 0 20px;
    width: 680px;
    float: left;
}

/* WHY TWINTRACK HIGHLIGHTS */

#highlight-box-container {
    overflow: hidden;
}

.why-highlight-box {
    width: 449px;
    height: 227px;
    border: 2px solid #222222;
    margin: 20px 0 0 0;
    float: left;
    overflow: hidden;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);    	
}

.why-highlight-box h3 {
    margin: 40px 0 0 40px;
}

#highlight-field {
    background: url("../img/assets/hl_field_bg.png") -1px 0 no-repeat;
}

#highlight-municipal {
     background: url("../img/assets/hl_municipal_bg.png") -1px 0 no-repeat;
}

#highlight-maintenance {
     background: url("../img/assets/hl_farm_bg.png") -1px 0 no-repeat;
}

#highlight-forest {
     background: url("../img/assets/hl_forest_bg.png") -1px 0 no-repeat;
}

.hl-box-text {
    background-color: rgb(34, 34, 34);
    height: 230px;
    position: absolute;
    width: 250px;
    top: 0;
    left: 415px;
    padding: 40px;
    font-size: 14px;
    line-height: 30px;    
} 

.h-switch-left {
    width: 58px;
    height: 58px;
    background: url("../img/assets/horizontal_switch_left.png") -58px 0 no-repeat;
    position: absolute;
    top: 90px;
    left: -30px;   
}

/* HOW IT WORKS */

/* USERS */

#users {
    width: 463px;
    margin-top: 0px;
}

.user-row {
    overflow: hidden;
}

.userbox {
    width: 221px;
    margin: 20px 10px 0 0;
    background-color: #222222;
    float: left;
    cursor: pointer;
    font-size: 12px;
    position: relative;
}

.closeuser {
    width: 32px;
    height: 32px;
    background: url("../img/assets/close.png") 0 0 no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
}

.closeuser:hover {
    background: url("../img/assets/close.png") -32px 0 no-repeat;
}

.userbox img {
    width: 100%;
}

.usertext {
    padding: 10px;
}

.usertext .name {
    font-size: 14px;
    font-weight: bold;
}

.usertext .location{
    font-size: 13px;
    margin-bottom: 15px;
}

.usertext .description-rest {
    display: none;
}

.usertext .readmore {
    text-align: center;
    color: red;
}

/* CONTACT PAGE */

#iframeform {
    width: 100%;
    border: 0px;
    margin-top: 20px;
    height: 600px;    
}

#iframemap {
    width: 100%;
    border: 0px;
    margin-top: 20px;
    height: 700px;
    overflow: scroll; 
}

#form-container {
    margin-top: 20px;
    padding: 30px;
    background-color: #222222;
    overflow: hidden;
}

#form-container h2{
    font-size: 18px;
}

.basic-label {
    display: block;
    width: 167px;
    float: left;
}

.basic-text {
    width: 250px;
    height: 25px;
    border: 0px;
}

.basic-textarea {
    width: 250px;
    height: 100px;
}

.formrow {
    padding: 0 0 10px 0;
}

#next-tractor-title {
    width: 167px;
    float: left;
}

#radio-container {
    width: 250px;
    float: left;
}

.checkbox {
    display: block;
    float: left;
    margin-top: 4px;
}

.checkbox-container {
    height: 40px;
    width: 25px;
    float: left;
}

.checkbox-label {
    display: block;
    margin-left: 25px;
    width: 405px;   
}

#send-form {
    width: 228px;
    height: 34px;
    background: url("../img/assets/form_send.png") 0 0 no-repeat;
    font-size: 13px;
    padding: 19px 0 0 25px;
    float: right;    
}

/* GAME */

#howtoplay {
    padding: 30px;
}

#highscore-container {
    padding: 30px;
}

#highscores .row div {
    float: left;
    margin-right: 20px;
}

/* FOOTER */

footer {
    margin:20px 0 20px 0;
    background: url("../img/assets/availability_bg.png");    
}

#footer {
    padding: 20px;
    margin: 0 auto;
}
