
@charset "utf-8";
/* CSS Document */

html {
  font-family: "Titillium Web", "Fjalla One";
  margin:0;
}



.index_bg {
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.tervetuloa_bg {
/*background: url("TujausValokuvat/demo.png") no-repeat center center fixed;*/
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.omatvaraukset_bg {
/*background: url("TujausValokuvat/demo.png") no-repeat center center fixed;*/
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.kayttajatiedot_bg {
/*background: url("TujausValokuvat/yhteys.png") no-repeat center center fixed;*/
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.lomake_bg {
/*background: url("TujausValokuvat/edut.png") no-repeat center center fixed;*/
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.kayttajat_bg {
/*background: url("TujausValokuvat/edut.png") no-repeat center center fixed;*/
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.raportit_bg {
background: url("TujausValokuvat/kuva15.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
body {
	padding-bottom: 150px;
}

#ylapalkki {
	height: 90px;
	width: 950px;
	background: rgba(46,90,115,0.95);
	position: fixed;
	top:0;
	right:0;
	z-index: 4;
}

.index_bg #ylapalkki {
	visibility: hidden;
}

#asiakaslogo {
	position:fixed;
  height: 70px;	z-index: 0;
	top: 20px;
	left:20px;
	border-radius: 6px;
}

.index_bg #asiakaslogo {
	visibility:hidden;
}

.index_bg #vuokraamologo {
	visibility: visible;
	position:relative;
  height: 70px;	z-index: 3;
	border-radius: 18px;
	top: 0px;
}

.index_bg #eiLogoa {
	position:fixed;
	width: 340px;
	top: 210px;
	left: 50%; transform: translate(-50%);
	text-align:center;
	z-index: 3;
}

.tervetuloa_bg #eiLogoa, #vuokraamologo {
	visibility:hidden;
}

.omatvaraukset_bg #eiLogoa, #vuokraamologo {
	visibility:hidden;
}

.kayttajatiedot_bg #eiLogoa, #vuokraamologo {
	visibility:hidden;
}

.lomake_bg #eiLogoa, #vuokraamologo {
	visibility:hidden;
}

.overlay {
 	position: absolute;
	display:none;
	z-index: -1;

    /* color with alpha transparency */
    background-color: rgba(0, 0, 0, 0.7);

    /* stretch to screen edges */
    top: 0;
	left: 0;
    bottom: 0;
    right: 0;
}


h1 {

}

h3{
	padding-left: 4px;
  color: #3b7494;
}

h2{
	font: Titillium Web;
	text-align:center;
}

#tarkemmattiedotId {
  height: 10px;
  text-align:left;
}

#tarkemmattiedotIdK {
  text-align:left!important;
}

.login {
	padding-right:4px;
	padding-top:8px;
}

#tervetuloaOtsikot, #tervetuloaOtsikotK, #kirjautuminenOtsikko {
	margin-bottom: 30px;
	display: inline-block;
}

#login{
	background-color: white;
    padding: 20px;
	border-radius: 25px;
	padding-top: 20px;
	padding-bottom: 50px;
	position: absolute;
	top: 185px;
	left: 50%; transform: translate(-50%);
	text-align: center;
	width: 300px;
}

#inputEmail {
  width: 183px !important;
  padding-left:20px;
}

#aloita{
	margin-top: 30px;
	float: bottom;
}

#jarjestelmavalinta {
  width: 183px !important;
}

#jarjvalDiv{
  display:none;
}

input[type=text], select {
    padding: 12px 9px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /*width: 183px;*/
}

input[type=password], select {
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 183px;
}

input[type=submit] {
    width: 183px;
	  background-color: grey;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #3b7494;
}

.asTiedot {
  width: 30%!important;
}
.asTiedotlev {
  width: 47%!important;
}

#unohditko {
	color: #3b7494;
	text-decoration: none;
}

#unohditko:hover {
	color: black;
}

#molemmatLaatikot, #molemmatLaatikotK {
	width: 1530px;
  padding: 20px;
	border-radius: 25px;
	margin-top: 100px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
}

/********************* kolmas boksi *****************/

#reunusUusiboksi, #reunusUusiboksiK {
position:relative;
	padding: 20px;
	max-width: 1444px;
	/*width: 562px;*/
	height: 730px;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	margin: 15px;
	z-index: 1;
}

#varauksesiDiv2, #varauksesiDiv2K {
	/*position: absolute;*/
	max-height: 690px;
	width: 1408px;
    background-color: white;
	padding: 20px;
	opacity: 0.95;
	border-radius: 25px;
	/*margin: auto;*/

}

#varauksesiDiv2K input[type="submit"] {
  background-color: rgba(46,90,115,0.95)!important;
}

#varauksesiDiv2K input[type="submit"]:hover {
  background-color: #3b7494 !important;
}


#div_table_varauksesi2, #div_table_varauksesi2K {
	background-color: white;
	width: 1398px;
	max-height: 600px;
	overflow-y: scroll;
	clear: both;
	/*overflow: auto;*/
}
#div_table_varauksesi2K {
  max-height:580px!important;
}

#table_varauksesi2, #table_varauksesi2K {
    background-color: white;
	border-radius: 25px;
	width: 1380px;
	height: 580px;
	border: 1px;
}

#eiKayttajia {
  display:none;
  padding: 20px 100px;
  background-color:#fff;
  border: 5px solid grey;
  border-radius:4px;
  position:absolute;
  top:200px;
  left: 50%;
  transform:translate(-50%);
}

/****************************************************/


#varauksesiDiv {
	/*position: absolute;*/
	max-height: 390px;
    background-color: white;
	padding: 20px;
	opacity: 0.95;
	border-radius: 25px;
	/*margin: auto;*/
}

#aiemmatvarauksesiDiv {
	position: relative;
	max-height: 390px;
	background-color: white;
    padding: 20px;
	opacity: 0.95;
	border-radius: 25px;
	margin: auto;
}

#reunusVarauksesi {
	position: absolute;
	padding: 20px;
	max-width: 680px;
	/*width: 562px;*/
	height: 430px;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	margin: 15px;
	z-index: 1;
}

#reunusAiemmatvarauksesi {
	position: relative;
	padding: 20px;
	width: 680px;
	height: 430px;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	left: 50%;
	margin-top:30px;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	z-index: 1;
}

#molemmatLaatikotKayttaja{
	margin-top:120px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
}

#kayttajaDiv {
	top: 15px;
	background-color: white;
	opacity: 0.95;
    padding: 20px;
	border-radius: 25px;
	width: 800px;
	float: top;
}

#kirjautuminenDiv {
	top: 150px;
	background-color: white;
	opacity: 0.95;
    padding: 20px;
	border-radius: 25px;
	width: 800px;
	margin: 15px;
	float: bottom;
}

#omatvarauksetDiv {
    background-color: white;
	max-height: 390px;
	padding: 20px;
	opacity: 0.95;
	border-radius: 25px;
	width: 520px;
	margin: auto;
}

#reunusOmatvaraukset {
	width: 620px;
	height: 475px;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	z-index: -1;
	margin:auto;
	padding-top: 30px;
	padding-left: 2px;
}

#lomake1Div {
	background-color: white;
	position: relative;
	top: 100px;
	/*left:50%; transform: translate(-50%);*/
	padding: 40px;
	opacity: 0.98;
	border-radius: 15px;
	width: 524px;
	margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 150px;
}

#lomake2Div {
	background-color: white;
	position: relative;
	top: 0px;
	padding: 40px;
	opacity: 0.98;
	border-radius: 15px;
	width: 524px;
	margin: auto;
}

#lomake3Div {
	background-color: white;
	position: relative;
  float:left;
	top: 130px;
	/*left:50%; transform: translate(-50%);*/
	padding: 40px;
	opacity: 0.98;
	border-radius: 15px;
	width: 524px;
  height:810px;
	margin-top: auto;
  margin-left: auto;
  margin-right: 0px;
  margin-bottom: 150px;
  border-right:1px solid grey;
}

#lomake4Div {
	background-color: white;
	position: relative;
  float:left;
	top: 130px;
	/*left:50%; transform: translate(-50%);*/
	padding: 40px;
	opacity: 0.98;
	border-radius: 15px;
	width: 524px;
  height:810px;
	margin-top: auto;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 150px;
}

#lomakkeet3ja4 {
  width:1210px;
  height:1200px;
  margin-top: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
}

/*** autovuokraamon select search ***/
/* Dropdown Button */
.dropbtn {
 background-color: #4CAF50;
 color: white;
 padding: 16px;
 font-size: 16px;
 border: none;
 cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
 background-color: #3e8e41;
}

/* The search field */
#myInput {
 box-sizing: border-box;
 background-image: url('searchicon.png');
 background-position: 14px 12px;
 background-repeat: no-repeat;
 font-size: 16px;
 padding: 14px 20px 12px 45px;
 border: none;
 border-bottom: 1px solid #ddd;
}

/* The search field when it gets focus/clicked on */
#myInput:focus {outline: 3px solid #ddd;}

/* The container <div> - needed to position the dropdown content */
.dropdown {
 position: relative;
 display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
 display: none;
 position: absolute;
 background-color: #f6f6f6;
 min-width: 230px;
 border: 1px solid #ddd;
 z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
 color: black;
 padding: 12px 16px;
 text-decoration: none;
 display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/*** select search päättyy ***/

#uusivaraus, #etsi_omatvarauksesi {
	opacity:1;
	width: 120px;
	margin-left: 4px;
	margin-bottom: 20px;
	margin-top: 15px;
  position:relative;
  right: 0px;
	float:right;
}

#etsi_kaikkivarauksesi {
	opacity:1;
	width: 142px;
  height:45px;
	margin-left: 4px;
	margin-bottom: 20px;
	margin-top: 15px;
	margin-right: -12px;
	float:right;
}

#etsi_reknro {
  opacity:1;
  float:right;
  width: 116px;
  height:45px;
  margin-left: 4px;
  margin-bottom: 12px;
  margin-top: 15px;
  margin-right: 12px;
}

#etsi_nimella {
  opacity:1;
  float:right;
  width: 215px;
  height:36px;
  margin-top: 2px;
  margin-right: 0px;
  border-radius: 4px;
}

#etsiIkoni {
  border: none;
  float:right;
  position: relative;
  top: 13px;
  right: 50px;
  color: #fff;
  padding:13px;
  border-radius: 4px;
}

#etsiIkoni:hover {
  background-color: #3b7494;
  cursor: pointer;
}

#etsiVarausInput {
  width: 50px;
  height:50px;
  margin-top: 13px;
  float:right;
}

#etsiNimellaInput {
  width: 60px;
  height:36px;
  margin-top: 2px;
  float:right;
  border-radius: 0px 4px 4px 0px;
  line-height:10px;
}

#etsiNimellaInput:hover {
  width: 60px;
  height:36px;
  margin-top: 2px;
  float:right;
  border-radius: 0px 4px 4px 0px;
}

#etsiVarausNappi {
  position:relative;
  float: right;
  right:-30px;
}

#etsiVarausNappiK {
  position:relative;
  float: right;
  width: 300px;
  top: 0px;
  right: 20px;
}

#etsiKdiv {
  position:relative;
  float: right;
  width: 100px;
  margin-top: 5px;
  margin-right:10px;
  padding-left:20px;
  border-left: 1px solid grey;
}

#lisaaKayttajaDiv {
  position:relative;
  float: right;
  width: 138px;
  margin-top: 5px;
  margin-right:10px;
  padding-left:20px;
  border-left: 1px solid grey;
}

#uusikayttaja {
  opacity:1;
  width: 150px;
  margin-left: 4px;
  margin-bottom: 20px;
  margin-top: 16px;
  position:relative;
  right: 0px;
  float:right;
  height:50px;
  margin-right: -12px;
  font-size:14px;
}

#etsiKaikkiNappi, #etsiKaikkiNappiK {
  width: 100px;
  height:50px;
}

#etsiKaikkiNappiK {
  width: 215px;
  height:36px;
  line-height:10px;
  margin-bottom:20px;
  float:right;
}

.editInput {
  width: 100%;
  height: 30px;
}

.jaettu {
  width: 49%!important;
}

.salasana {
  width: 100%!important;
}

#molemmatLaatikot .editTable select {
  line-height: 12px;
  padding:0px 10px!important;
}

.alueyhtio, .autovuokraamo, .vuokraamoketju, .vuokraamoPuh {
  width:100%;
  height:30px;
  padding: 0px 0px 0px 5px!important;
  line-height: 12px;
}

.editTable td {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  white-space: normal;
}

#table_varauksesi, #table_aiemmatvarauksesi, #table_omatvaraukset {
    background-color: white;
	border-radius: 25px;
	width: 620px;
	height: 300px;
	border: 1px;
}

#molemmatTarkemmat, #molemmatTarkemmatK {
	position: absolute;
	top: 50%; left:50%; transform: translate(-50%,-50%);
	z-index: 50;
}

#tarkemmatTiedotDiv {
	position:relative;
	top:120px;
  -webkit-box-shadow: 0px 0px 50px 2000px rgba(0,0,0,0.65);
  -moz-box-shadow:0px 0px 50px 2000px rgba(0,0,0,0.65);
  box-shadow: 0px 0px 50px 2000px rgba(0,0,0,0.65);
}

#tarkemmatTiedotDivK {
	position:relative;
	top:120px;
  -webkit-box-shadow: 0px 0px 50px 2000px rgba(0,0,0,0.65);
  -moz-box-shadow:0px 0px 50px 2000px rgba(0,0,0,0.65);
  box-shadow: 0px 0px 50px 2000px rgba(0,0,0,0.65);
}

@media screen and (max-height: 800px) {

	#molemmatTarkemmat{
		position: absolute;
		top: 150px; left:50%; transform: translate(-50%);
		z-index: 50;
	}
}

#tarkemmatTiedotDiv {
	display:none;
	background-color: white;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  border-radius: 25px;
	border: 20px solid rgba(5,5,5,0.6);
  padding: 20px;
	width: 800px;
	top:150px;
  /*overflow:hidden;*/
}

#tarkemmatTiedotDivK {
	display:none;
	background-color: white;
	border: 20px solid rgba(5,5,5,0.6);
    padding: 20px;
	border-radius: 25px;
	width: 800px;
	top:50px;
}

.table_tarkemmatTiedot, .table_tarkemmatTiedotK {
	background-color: white;
	border-radius: 25px;
	border: 1px;
}

#div_table_tarkemmatTiedotPysty, #div_table_tarkemmatTiedotPystyK {
	height: 320px;
	display: none;
}

#tablePysty {
	height:600px;
}

#tablePystyK {
	height:210px;
}

#div_table_tarkemmatTiedotVaaka, #div_table_tarkemmatTiedotVaakaK {
	width: 800px;
	display: table-row;
}

#tableVaaka, #tableVaakaK {
	width: 800px;
	height: 280px;
}

#tarkemmatTiedotDiv td {
	width: 250px;
	max-width: 250px;
}

#div_table_varauksesi, #div_table_aiemmatvarauksesi, #div_table_omatvaraukset {
	background-color: white;
	max-height: 300px;
	overflow-y: scroll;
	clear: both;
}

#table_kayttajatiedot {
	width:800px;
	text-align: left;
}

button {
	color: white;
	border: 0px;
	background-color: transparent;
	font-size: 20px;
	font-weight: bold;
}

button:hover{
	color: #3b7494;
}
#kirjauduUlos:hover{
	background-color: #3b7494;
}

#palautusNappi {
	position: fixed; top: 50px; right: 310px;
}

#raportitNappi{
	position: fixed; top: 50px; right: 330px;
}

#kayttajatNappi{
	position: fixed; top: 50px; right: 330px;
}

#reknroInput {
  width: 120px;
  text-align: center;
  margin-right:15px;
}

#reknroDiv {
  display:none;
  position:fixed;
  top: 100px;
  right: 350px;
  background-color: #fff;
  border-radius:4px;
  border: 10px solid #cccccc;
  padding:15px;
  height:110px;
}

#palautusTp {
  width: 270px;
  margin-bottom:15px;
}

#palautaNappi {
  width: 120px;
  position:relative;
  right:-150px;
  top:-59px;
}

#uusivarausNappi{
	position: fixed;
  top: 50px;
  right: 780px;
}

#omatvarauksetNappi{
	position: fixed;
  top: 50px;
  right: 530px;
}

#kayttajaNappi{
	position: absolute; width: 250px; height: 50px; text-align: center; vertical-align:center; top: 38px; right: 60px; /*right: 90px;*/
}

#kirjauduUlos {
	 position: fixed; top: 50px; right: 30px;
 }

#suljenappi, #suljenappiK {
	float: right;
}

.muokkaaNappi{
  width: 147px!important;
  height: 50px;
  float:right;
  margin:0px!important;
  line-height: 2px;
  padding:14px 18px !important;
  background-color: rgba(46,90,115,0.95)!important;
}

.muokkaaNappi:hover {
  background-color: #3b7494!important;
}

.alvVahEina, .alvVahKna {
  background-color: rgba(46,90,115,0.95)!important;
}

.alvVahEina:hover, .alvVahKna:hover {
  background-color: #3b7494!important;
}

.tallennaNappi, .tallennaNappiK {
  width: 150px;
  height: 20px;
  float:right;
  margin-left:8px;
  margin-top:0px;
  margin-bottom:0px;
  margin-right:5px;
  line-height: 2px;
  background-color: rgba(46,90,115,0.95)!important;
}

.tallennaNappiK {
  margin-right:2px!important;
  background-color: rgba(46,90,115,0.95)!important;
  height:32px;
}

.tallennaNappi:hover {
  background-color: #3b7494!important;
}

.tallennaNappiK:hover {
  background-color: #3b7494!important;
}

.peruutaNappi, .peruutaNappiK {
  width: 120px;
  height: 0px;
  float:right;
  margin-left:8px;
  margin-top:8px;
  margin-bottom:0px;
  margin-right:0px;
  line-height: 2px;
  position: relative;
  right: 20px;
  background-color: grey;
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  text-align:center;
  cursor: pointer;
}

.peruutaNappiK {
  width: 180px;
  float:left;
  margin-left:21px;
  height:32px;
}

.peruutaNappi:hover, .peruutaNappiK:hover {
    background-color: #3b7494;
}

#div_table_tarkemmatTiedotPysty .tallennaNappi{
  width: 148px;
  padding: 14px 16px!important;
}

#div_table_tarkemmatTiedotPysty .muokkaaNappi{
  width: 148px;
  height:20px;
  padding: 14px 16px!important;
  position:relative;
  top:20px;
}

#div_table_tarkemmatTiedotPysty .peruutaNappi{
  width: 116px;
  top:38px;
  right: -148px;
  padding: 14px 16px!important;
}

#div_table_tarkemmatTiedotPystyK .tallennaNappiK{
  width: 180px;
  padding: 14px 16px!important;
  position:relative;
  top: 12px;
}

#div_table_tarkemmatTiedotPystyK .muokkaaNappiK{
  width: 148px;
  height:20px;
  padding: 14px 16px!important;
  position:relative;
  top:20px;
}

#div_table_tarkemmatTiedotPystyK .peruutaNappiK{
  width: 180px;
  top: 8px;
  right: 15px;
  padding: 14px 16px!important;
  margin-bottom: 0px;
  text-align:center;
}

.poistaKayttaja {
  width: 180px;
  font-size: 15px;
  background-color: grey;
  color: white;
  padding: 8px 16px!important;
  margin-top:80px;
  margin-left: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position:relative;
  float:left;
}

.poistaKayttaja:hover {
  color:#fff;
  background-color: #3b7494;
}

#muokkaa {
	position: relative;
	right: 5px;
	float:right;
	height: 30px;
	width: 130px;
	color: grey;
	background-color: white;
}

#muokkaa:hover {
	color: #5c9fc9;
}

#sukunimiE {
  float:right;
}

#reunusKayttaja {
	padding: 20px;
	width: 840px;
	height: auto;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	margin: auto;
	z-index: -1;
}

#reunusKirjautuminen {
	padding-top: 9px;
	padding-bottom: 5px;
	padding-left: 8px;
	width: 882px;
	height: 228px;
	background: rgba(255,255,255,0.6);
	border-radius: 25px;
	margin: auto;
	z-index: -1;
}

i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}


/*raportit*/

#raporttiSivu {
  width: 90%;
  height: auto;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 40px;
  border-radius: 25px;
  margin-top: 150px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  background-color: #fff;
}

#raporttiSivu select {
  padding: 7px 20px;
}

#raporttivalintaDiv {
  width: 100%;
  min-width:700px;
  max-width:1200px;
  margin:auto;
  min-height:190px;
}

#raporttihakuDiv {
  float:left;
  min-width:500px;
  max-width:500px;
  /*border: 1px solid grey;*/
  margin-right:10%;
}

#ajankohtaDiv {
  float:right;
  min-width:500px;
  max-width:500px;
  /*border: 1px solid grey;*/
}

#raporttivalintaDiv h3 {
  /*margin-top:30px;*/
}

.raporttivalinnat {
  position:relative;
  float:right;
  top: -53px;
}

#ajankohta {
  float:right;
  position:relative;
  top: -53px;
}

#kalenteriAjat {
  width: 216px;
  position: relative;
  float:right;
  right: -183px;
  margin-top:-12px;
}

#kuukausi {
  position:relative;
  float:right;
  margin-right:20px;
}

#vuosi {
  position:relative;
  float:right;
  top: -34px;
}

#raporttiSivu table {
  width: 100%;
  border-collapse: collapse;
}
/* Zebra striping */
#raporttiSivu tr:nth-of-type(odd) {
  background: #eee;
}
#raporttiSivu th {
  background: #afafaf;;
  color: #000;
  font-weight: bold;
}
#raporttiSivu td, th {
  padding: 6px;
  /*border: 1px solid #ccc;*/
  text-align: left;
}

#raporttitulostusDiv {
  margin-top:25px;
}

#haeRaportti {
  position:relative;
  float: right;
  margin-top:40px;
  right: -183px;
}

#raporttiCSV {
  border: 1px solid rgba(46,90,115,1);
  color: rgba(46,90,115,0.95);
  font-weight: normal;
  border-radius: 4px;
  font-size: 16px;
  padding:6px;
  float:right;
  cursor: pointer;
}

#raporttiCSV:hover {
  background-color: rgba(46,90,115,0.95);
  color: #fff;
}

/*raportit loppuu*/

/*lomake*/

select {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;       /* remove default arrow */
   background-image: url("TujausValokuvat/nuoli.png");   /* add custom arrow */
   background-repeat: no-repeat;
   background-position: right center;
   border: 1px solid #c6c6c6;
   padding-left: 2px;
   margin:auto;
}

select::-ms-expand {
    display: none; /* hide the default arrow in ie10 and ie11 */
}

select:hover {
	background-color: #ebebeb;
}

textarea {
	max-width: 500px;
	min-width: 500px;
  margin-left: 4px;
}

#laheta {
	margin-top: 30px;
	margin-left: 170px;
}

#molemmatNapit {
	position:absolute;
	top:100px;
	right: 30px;
}

#palautusNappiTark{
	width: 100%;
	height: 40px;
	line-height: 2px;
  margin:0;
}

@media screen and (max-width: 1300px) {

	html {
		height: 100%;
	}

	button {
	font-size: 28px;
	}

	#asiakaslogo {
	top: 137px;
	left: 50%; transform: translate(-50%);
	}

	#molemmatLaatikot, #molemmatLaatikotK {
    width: 900px;
		height: 1000px;
		position: absolute;
		left: 50%; transform: translate(-50%);
		/*left: 13%;*/
		top: 200px;
		margin:auto;
	}

  #aiemmatVarauksesiDiv {
	position:relative;
  }

	#reunusAiemmatvarauksesi {
	position: relative;
	left: 0px;
	top: 500px;
	margin-bottom: 150px;
	}

	#ylapalkki {
		height: 120px;
		width:100%;
	}

	#molemmatLaatikotKayttaja {
		margin-top: 226px;
	}

	#table_kayttajatiedot {
	width:540px;
	}

	#reunusKayttaja{
	width: 580px;
	top: 200px;
}

	#kayttajaDiv {
		width: 540px;
		top:80px;
	}

  #tarkemmatTiedotDiv {
		width: 400px;
		height: auto;
		position: absolute;
    top: -500px;
		left: 50%; transform: translate(-50%);
		z-index: 2;
	}


  #tarkemmatTiedotDivK {
    width: 400px;
    height: auto;
    position: absolute;
    top: -500px;
    left: 50%; transform: translate(-50%);
    z-index: 2;
  }

	#div_table_tarkemmatTiedotVaaka {
		display: none;
	}
	#div_table_tarkemmatTiedotPysty {
		display: table-row;
	}

	#tarkemmattiedotId {
		height: 30px;
		width: 250px;
    text-align:left!important;
	}

	#div_table_tarkemmatTiedotVaakaK {
		display: none;
	}
	#div_table_tarkemmatTiedotPystyK {
		display: table-row;
	}

	#tarkemmattiedotIdK {
		height: 30px;
		width: 250px;
    text-align:left!important;
	}

	#lomake1Div,#lomake2Div {
		top: 220px;
	}

  #lomake3Div {
  background-color: white;
  position: absolute;
  float: left;
  top: 230px;
  left: 50%;
  transform: translate(-50%);
  padding: 40px;
  opacity: 0.98;
  border-radius: 15px;
  width: 524px;
  height: 810px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 150px;
  border-right: 1px solid grey;
  }

  #lomake4Div {
    background-color: white;
    position: absolute;
    float: left;
    top: 1150px;
    left: 50%;
    transform: translate(-50%);
    padding: 40px;
    opacity: 0.98;
    border-radius: 15px;
    width: 524px;
    height: 810px;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
  }

  #palautusNappi {
  	position: fixed; top: 25px; right: 350px; width:150px;
  }

  #raportitNappi{
  	position: fixed; top: 45px; right: 340px; width:170px;
  }

  #kayttajatNappi{
  	position: fixed; top: 45px; right: 340px; width:170px;
  }

	#uusivarausNappi{
		position: absolute; top: 25px;
    right: 800px;
    width:130px;
	}

	#omatvarauksetNappi{
		position: absolute; top: 25px;
    right: 550px;
    width:200px;
	}

	#kayttajaNappi{
		position: absolute; width:250px; height: 50px; vertical-align: center; top: 38px; right: 70px;
	}

	#kirjauduUlos {
		 position: absolute; top: 50px; right:30px;
	}

	/********************* kolmas boksi *****************/

	#reunusUusiboksi {
    width: 832px;
	}

	#varauksesiDiv2, 	#varauksesiDiv2K {
    width: 791px;
	}

	#div_table_varauksesi2, #div_table_varauksesi2K {
    width: 790px;
	}

	#table_varauksesi2, #table_varauksesi2K{
    width: 761px;
	}


	/****************************************************/

/* raportit mobiili */

#ajankohtaDiv {
  float:left;
}

#haeRaportti {
  margin-top:20px;
  float:left;
  right:0px;
}

#raporttitulostusDiv {
  margin-top:140px;
}

/* raportit mobiili end */
/* ie tai oletus */

	#karttaNappi {
		position:relative;
		top:-34px;
		right:0px;
	}

	#tiedotNappi{
		position:relative;
		right:-110px;
	}

/* chrome */

	@media screen and (-webkit-min-device-pixel-ratio:0) {

	}

/* firefox */

	@-moz-document url-prefix() {

	}

}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 1) {

		#tarkemmatTiedotDiv {
		position: absolute;
		top: 350px;
		z-index: 2;
	}

  #tarkemmatTiedotDivK {
    position: absolute;
    top: 350px;
    z-index: 2;
  }

	#ui-datepicker-div {

	}

}

.tervetuloa_bg th, .kayttajat_bg th {
	background-color: #afafaf;
	min-width:100px;
}

#table_varauksesi th, #table_aiemmatvarauksesi th, #table_varauksesi2 th{
	text-align:center;
}

.otsikkorivi {
	height:30px;
  display:none;position:fixed;}

tr:nth-child(even) {
	background: #f7f7f7;
}
tr:nth-child(odd) {
	background: #ededed;
}

tr, td {
	max-width:190px;
	white-space:normal;
	word-wrap:break-word;
	text-align: left;
}

th, td {
	padding: 6px;
}

.kayttajatiedot_bg th {
	text-align:left;
	min-width:100px;
}

#table_varauksesi2K tr {
  max-height:30px!important;
}

#table_varauksesi tr:hover, #table_aiemmatvarauksesi tr:hover, #table_varauksesi2 tr:hover, #table_varauksesi2K tr:hover{
	background-color: #5c9fc9;
}



/*************CLOCKPICKER**************/

.form-control {
   	width: 100px;
	  height: 40px;
	  padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    margin-right:16px;
}


/*************DATEPICKER**************/

.kalenteri {
	width: 100px;
	height: 40px;
  text-align:center;
}

#tarkemmatTiedotDiv #toimitusPaiva, #tarkemmatTiedotDiv #palautusPaiva {
  margin-top:10px!important;
  width: 45%!important;
  height: 29px!important;
}

#tarkemmatTiedotDiv #toimitusPaivaEP, #tarkemmatTiedotDiv #palautusPaivaEP {
  margin-top:10px!important;
  width: 55%!important;
  height: 29px!important;
}

#toimitusKlo, #toimitusKloEP, #palautusKlo, #palautusKloEP  {
  margin-top:10px!important;
  width: 43%!important;
  height: 29px!important;
  margin-right:0px!important;
}

.kalenteriRaportti {
	width: 100px;
	height: 35px;
  text-align:center;
}

#ui-datepicker-div {
	width: 320px;
    position: relative;
    left: 50%;
    margin-left: -50px;

}

.ui-datepicker {
  background-color: white;
  margin: auto;
  	z-index: 20;

  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
}

.ui-datepicker table {
	min-width: 320px;
	max-width: 320px;
}


.ui-datepicker-prev, .ui-datepicker-next {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: pointer;
  background-repeat: no-repeat;
  line-height: 600%;
  overflow: hidden;
}

.ui-datepicker-prev {
  float: left;
  background-image: url('TujausValokuvat/nuolivasen.png');
}
.ui-datepicker-next {
  float: right;
  background-image: url('TujausValokuvat/nuolioikea.png');
}

.ui-datepicker thead {
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top,  #f7f7f7 0%, #f1f1f1 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#f1f1f1));
  background-image: -webkit-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
  background-image: -o-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
  background-image: -ms-linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
  background-image: linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1',GradientType=0 );
  border-bottom: 1px solid #bbb;
}

.ui-datepicker th {
  background-color: #bdbdbd;
  text-align:center;
  text-transform: uppercase;
  font-size: 14px;
  padding: 5px 0;
  color: black;
  /*text-shadow: 1px 0px 0px #fff;*/
  filter: dropshadow(color=#fff, offx=1, offy=0);
  min-width: 40px!important;
}

.ui-datepicker-header {
  background-color: black;
  color: #e0e0e0;
  font-weight: bold;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
  box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
  text-shadow: 1px -1px 0px #000;
  filter: dropshadow(color=#000, offx=1, offy=-1);
  line-height: 30px;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #111;
}

.ui-datepicker-title {
  text-align: center;
}



.ui-datepicker td span, .ui-datepicker td a {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #666666;
  text-shadow: 1px 1px 0px #fff;
  filter: dropshadow(color=#fff, offx=1, offy=1);
}

/*.ui-datepicker-calendar .ui-state-default {
  background: #ededed;
  background: -moz-linear-gradient(top,  #ededed 0%, #dedede 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#dedede));
  background: -webkit-linear-gradient(top,  #ededed 0%,#dedede 100%);
  background: -o-linear-gradient(top,  #ededed 0%,#dedede 100%);
  background: -ms-linear-gradient(top,  #ededed 0%,#dedede 100%);
  background: linear-gradient(top,  #ededed 0%,#dedede 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
  -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
  -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
  box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
}*/

.ui-datepicker-unselectable .ui-state-default {
  background: #f4f4f4;
  color: #b4b3b3;
}

.ui-datepicker-calendar .ui-state-hover {
  background: white;
}

.ui-datepicker-calendar .ui-state-active {
  background: #6eafbf;
  -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  color: #e0e0e0;
  text-shadow: 0px 1px 0px #4d7a85;
  filter: dropshadow(color=#4d7a85, offx=0, offy=1);
  border: 1px solid #55838f;
  position: relative;
  margin: -1px;
}

.ui-datepicker a {
  text-decoration: none;
}


/*************DATEPICKER LOPPUU**************/


#loader {
  position: absolute;
  left: 50%;
  top: 60%;
  z-index: 50;
  width: 50px;
  height: 50px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}


@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/****************CHECKMARK***************/

.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height:26px;}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #3b7494;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
