/*-----------------------------------------------
INDEX
-------------------------------------------------
	Global
	Layout
        Jaksumittari
	Navigation
		TopNav
		SubNav
	Startpage
------------------------------------------------*/

/*-----------------------------------------------
Huom! inc/styles.inc, styles_medium.css ja styles_mobile.css
------------------------------------------------*/

/*-----------------------------------------------
GLOBAL
-----------------------------------------------*/

body {
  height: 100vh;
  background: #d7f1fc url(/img/layout/body-bg.jpg); 
  background-size: cover;
  margin: 0px; 
  padding: 0px;
  line-height: 1em;
}

h1 { 
 margin-top: 0;
 line-height: 1.2em;
}

div {
 -webkit-box-sizing:border-box;
 -ms-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;
}

form { margin: 0; }

input {
 border: 1px solid #dddddd;
 padding: 6px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

textarea {
 border: 1px solid #dddddd;
 padding: 6px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

select {
 border: 1px solid #aaaaaa;
 padding: 6px;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
 font-size: 20px;
}

.button {
 padding:  4px 6px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

a.button {
 font-size: 20px;
 padding: 10px;
 margin-top: 10px;
 margin-right: 10px;
 border: 1px solid #aaaaaa;
 width: 200px;
 background: #dddddd;
 outline: none;
 color: black;
 text-decoration: none;
}

a.button:hover {
 background: #d4d4d4;
 cursor: pointer;
}

.buttonLike {
 padding:  6px 8px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.highlight { color: #aa3333; }

.right { text-align: right; }

/*-----------------------------------------------
LAYOUT
-----------------------------------------------*/

/* R */
div#page-wrap {
 width: 960px;
 margin: 30px auto;
 background: #ffffff;
 -webkit-border-radius: 20px;
 -moz-border-radius: 20px;
 border-radius: 20px;
 -webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
 -moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
 box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
}

div#print-header { display: none; }

/* R */
div#header {
 padding: 30px 50px 0 50px;
 position: relative;
}

/* R */
div#headerCont {
 display: table;
 width: 100%;
}

/* R */
div#logoWrap { 
 display: table-cell;
 vertical-align: top;
}

div#search-form-wrapper { 
 background: #ededed;
 display: none;
 padding: 15px;
 position: absolute;
 top: 50px;
 right: 0;
 z-index: 1000;
}

div#search-form { display: table; }

div#search-form div.cell {
 display: table-cell;
 vertical-align: top;
}

input#searchText {
  border: 1px solid #aaaaaa;
  border-right: 0;
  height: 40px;
  width: 200px;
 -webkit-box-sizing:border-box;
 -ms-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;
 -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}

input#searchFormButton {
 width: 40px !important;
 height: 40px !important;
 background: #ffffff center center no-repeat url('/common_ui/embed_ui/img/icons/search-icon-grey.png') !important;
 border: 1px solid #aaaaaa;
 border-left: 0;
 -webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
 padding: 0;
}

/* R */
div#container {
 position: relative;
 padding: 70px 50px 50px 50px;
 display: block;
 width: 960px;
 background: #ffffff;
 line-height: 130%;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
}

img#jaksulogo {
 position: absolute;
 top: 10px;
 right: 10px;
 height: 100px;
}

/* R */
div#footer {
 position: relative;
 margin: 0;
}

div#copyright-text {
 position: absolute;
 bottom: 5px;
 right: 10px;
 font-size: 12px;
}

div#netland-wrap { 
 position: absolute;
 bottom: -20px;
 right: 5px;
}

div#netland-wrap-sp {
 position: absolute;
 bottom: -20px;
 right: 5px;
}

div.input-wrap { margin: 13px 0; }

div.input-title-cont-hor  { font-weight: bold; }

div.input-cont-hor input { box-sizing: border-box; }


/*-----------------------------------------------
Jaksumittari
-----------------------------------------------*/

input#tunniste {
 width: 400px;
 outline: none;
 font-size: 20px;
}

div.error { color: red; }

input.modebutton {
 font-size: 20px;
 padding: 10px;
 margin-top: 10px;
 margin-right: 10px;
 border: 1px solid #aaaaaa;
 width: 200px;
 background: #dddddd;
 outline: none;
}

input.modebutton.flexible { width: auto; }

input.modebutton:hover {
 background: #d4d4d4;
 cursor: pointer;
}

input.modebutton.start {
 background: #ccecff;
 border: 1px solid #99ccff;
}

input.modebutton.disabled,
input.modebutton.disabled:hover {
 background: #dddddd;
 opacity: 0.6;
 cursor: initial;
}

input.modebutton.selected {
 background-color: #00579d;
 color: #ffffff;
}

div.jm_table { display: table; }

div.jm_row { display: table-row; }

div.jm_choice {
 display: table-cell;
 padding-left: 55px;
 margin-bottom: 20px;
 background-image: url(/img/select.gif);
 background-repeat: no-repeat;
 background-position: center left;
 height: 60px;

 font-size: 20px;
 cursor: pointer;
 vertical-align: middle;
}

div.jm_choice.selected {
 background-image: url(/img/selected.gif);
 background-repeat: no-repeat;
}

h1.jmquestion {
 font-size: 30px;
 margin-bottom: 30px;
}

div.vastauspalkki {
 display: inline-block; 
 position: relative;
 top: 2px;
 width: 17px;
 height: 17px;
 margin-right: 5px;
 border: 1px solid #c0c0c0;
}

div.vastauspalkki1 { background-color: green; }
div.vastauspalkki2 { background-color: #b0e900; }
div.vastauspalkki3 { background-color: yellow; }
div.vastauspalkki4 { background-color: orange; }
div.vastauspalkki5 { background-color: red; }


