:root{
	--color1:rgba(120,9,29,1.00);
	--color2:rgba(27,0,83,1.00);
	--color3:rgba(239,237,242,1.00);
	--color4:rgba(178,15,64,1.00);
	--color5:rgba(114,126,151,1.00);
	--color6:rgba(113,112,116,1.00);
	--minuutti: 2;
}

html,
body{
	padding: 0;
	margin: 0;
	height: 100vh;
}

body{
    background-color: rgba(197,197,197,1.00);
    background-attachment: fixed;
    background-clip: border-box;
    background-position: center center;
    background-size: auto;
    font-family: Nunito;
    font-weight: 400;
    background-image: linear-gradient(346deg,rgba(212,210,210,1.00) 0%,rgba(236,236,236,1.00) 100%);
    overflow-y: auto;
    overflow-x: hidden;
}
	
::-webkit-scrollbar {
    width: 10px;
	background-color:rgba(212,212,212,0.02);
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
::-webkit-scrollbar-thumb {
      background-color: #7A7A7A;
      outline: 1px solid slategrey;
      border-radius: 13px;
}

#topbar{
	display:block;
	position:fixed;
	top:0px;
	left:0px;
	right:0px;
	width:100%;
	height:80px;
	z-index:9900;
	background-color:rgba(255,255,255,1.00);
	box-shadow:0px 1px 20px rgba(0,0,0,0.75);
	}

#topbar #logo{
	position:absolute;
	margin:auto auto auto auto;
	top:0px;
	left:3%;
	bottom:0px;
	width:auto;
	max-width:180px;
	height:95%;
}

#topbar #ok_btn{
	position:absolute;
	top:0px;
	right:3%;
	bottom:0px;
	width:auto;
	padding:0px 16px 0px 16px;
	border:1px solid rgba(182,182,182,1.00);
	outline:none;
	height:30px;
	line-height:30px;
	border-radius:50px;
	margin:auto auto auto auto;
	background-color:rgba(10,10,10,0.6);
	color:white;
}

#content_wrap{
	display:block;
	margin:0px;
	padding:80px 0px 0px 0px;
	box-sizing:border-box;
	width:100%;
	overflow: hidden;
	height:auto;
	font-size:13px;
	line-height:20px;
	transition:all 1s;
	}

#content_wrap header,
#content_wrap #sec {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 50vh;
    flex-direction: column;
	align-items: center;
	justify-content: center;
}

#content_wrap header{
    background-color: rgba(209,220,236,1.00);
}

#content_wrap #sec {
    background-color: rgba(206,206,206,1.00);
	background-image: linear-gradient(22deg, #5252D2 4%, #7192B5 90% );
}

#content_wrap #sec .sec_wrap{
	width: 94%;
    max-width: 1200px;
	height:auto;
	margin: 80px 0px;
    padding: 0px;
}

#content_wrap header h1{
	display:flex;
	margin:0px;
	width:65%;
	height:auto;
    align-items: center;
    justify-content: center;
	font-size:32px;
	line-height:38px;
	color:white;
	font-weight:900;
	text-align:center;
	text-shadow:0px 3px 10px black;
	}

#content_wrap header #paikka{
	display: flex;
	text-align:center;
	margin:10px 0px;
	width: 300px;
	height: 40px;
	line-height:40px;
	padding:0px 0px 0px 20px;
	box-sizing:border-box;
	-webkit-appearance: none;
	appearance: none;
	border-radius:55px;
	box-shadow:0px 1px 1px rgba(20,20,20,0.49);
	background-color: rgba(220,220,220,1.00);
	background-image: -webkit-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	outline:none;
	border:1px solid rgba(187,187,187,1.00);
	}

#content_wrap #sec .perusinfo,
#content_wrap #sec .varausinfo,
#content_wrap #sec .inputsit{
	display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	margin:20px auto;
	padding:25px 20px;
    gap:10px 0px;
	box-sizing:border-box;
	width:100%;
	height:auto;
	min-height:10px;
	color:white;
	text-align:center;
	}

#content_wrap .perusinfo h2{
	display:block;
	width:90%;
	height:50px;
	line-height:50px;
	font-size:45px;
	text-align:center;
	color:white;
	font-weight:900;
	margin:10px auto 0px auto;
	padding:0px 0px 0px 0px;
	}
	
#content_wrap .perusinfo h5{
	display:block;
	width:80%;
	height:auto;
	line-height:25px;
	font-size:18px;
	text-align:center;
	color:white;
	font-weight:500;
	text-shadow:0px 1px 2px rgba(25,25,25,0.4);
	margin:0px auto;
	padding:0px 0px;
}
	
#content_wrap .perusinfo p{
	display:block;
	width:80%;
	height:auto;
	line-height:24px;
	font-size:16px;
	letter-spacing:1px;
	text-align:center;
	color:white;
	font-weight:300;
	text-shadow:0px 1px 2px rgba(22,22,22,0.5);
	margin:0px auto 0px auto;
	padding:10px 0px 10px 0px;
}

#content_wrap .inputsit input{
	display:block;
	width:100%;
	height:38px;
	line-height:38px;
	font-size:16px;
	border:1px solid white;
	margin:1px auto 0px auto;
	padding:0px 0px 0px 20px;
	box-sizing:border-box;
	}


#content_wrap #vapaatajat{
	display:block;
	width:auto;
	height:auto;
	margin:0px auto 0px auto;
	padding:0px 0px 0px 0px;
	box-sizing:border-box;
	font-size:13px;
	line-height:20px;
	transition:all 1s;
	overflow:hidden;
}

#content_wrap #vapaatajat ul{
	display:block;
	width:90%;
	height:auto;
	padding:10px 0px;
	border-radius: 10px;
	border-left: 10px solid rgba(245,245,245,1.0);
	border-right: 10px solid rgba(245,245,245,1.0);
	background-color: rgba(245,245,245,1.0);
	margin:30px auto;
	list-style:none;
	text-align:center;
	white-space:nowrap;
	overflow-y: hidden;
	overflow-x:scroll;
	}

#content_wrap #vapaatajat ul li.placetitle,
#content_wrap #vapaatajat ul li.times{
	display:block;
	float: left;
	width: auto;
	height:50px;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	box-sizing:border-box;
	font-size:16px;
	text-align:left;
	color:rgba(65,65,66,1.00);
	font-weight:900;
}

#content_wrap #vapaatajat ul li.placetitle{
	display: inline-block;
	position: sticky;
	left:0px;
	bottom:0px;
	height:20px;
	width:100%;
    clip-path: inset(0px calc( 100% - 151px) 0px 0px);
	line-height: 20px;
	font-size: 14px;
	font-weight: 800;
	box-sizing: border-box;
	padding: 0px 15px;
	margin:-20px 0px 0px 0px;
	text-align: left;
	border-bottom: 1px solid rgba(22,22,22,1.0);
	background-color: rgba(42,42,42,1.00);
	color:white;
	transform: translate(0px, 15px);
	z-index: 9880;
	border-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 10px;
}

#content_wrap #vapaatajat ul li.times{
	width: auto;
	white-space: nowrap;
	height:65px;
}

#content_wrap #vapaatajat ul li.times .aika{
	display:inline-block;
	position: relative;
	width: calc( attr(data-title) * var(--minuutti) );
	height: 65px;
	text-align: left;
	font-size: 14px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,0.75);
	border-radius: 5px;
	padding: 15px 8px;
	margin: 0px;
	background-color: rgba(242,242,242,1.00);
	cursor: pointer;
	-webkit-user-select: none;
	box-shadow: 0px 0px 2px black;
	user-select: none;
	z-index: 5555;
	transition: all 1s;
	
}

#content_wrap #vapaatajat ul li.times input[type="checkbox"]:checked + .aika{
	background-color: rgba(229,40,100,1.00);
}

#content_wrap #vapaatajat ul li.times .aika:hover{
	background-color:rgba(167,167,167,1.00);
	}

#content_wrap #vapaatajat ul li.times .aika p{
	margin: 0;
	padding: 0;
	line-height: 13px;
	text-align: center;
}

#content_wrap #vapaatajat ul li.times .aika .rivi1{ font-size:12px; font-weight: 400; }
#content_wrap #vapaatajat ul li.times .aika .rivi2{ font-size:12px; font-weight: 400; }
#content_wrap #vapaatajat ul li.times .aika .rivi3{ font-size:12px; font-weight: 700; }

#content_wrap #botwrap{ 
	display:block;
	width:100%;
	height:auto;
	white-space: nowrap;
	box-sizing: border-box;
	padding: 30px 3%;
	margin: 0;
	background-color: rgba(255,255,255,1.00);
}

#content_wrap #botwrap .col{
	display:inline-block;
	width:250px;
	height: auto;
	vertical-align: top;
}

#content_wrap #botwrap .col h5{
	height: auto;
	padding: 0px;
	margin: 0;
	font-size:20px;
	line-height: 25px;
	font-weight: 900;
}

#content_wrap #botwrap .col p{
	height: auto;
	padding: 0px;
	margin: 10px 0px;
	font-size:14px;
	line-height: 21px;
	font-weight: 300;
}

#content_wrap #botwrap .col p a{ text-decoration: none; color:inherit; }

.varattu{
	background-color:rgba(243,75,78,1.00);
	color:white;
	cursor:not-allowed;
	}

#content_wrap .perusinfo{
	display: inline-block;
	width:100%;
	height:auto;
	margin: 0px 0px;
	box-sizing: border-box;
	padding: 90px 5% 50px 5%;
}

#content_wrap .varausinfo{
	width:100%;
	height:auto;
	margin: 0px 0px;
	box-sizing: border-box;
	padding: 50px min(5%, 50px);
}

#content_wrap .varausinfo h3,
#content_wrap .lomakedata h3 {
	display:block;
	width:100%;
	height:50px;
	margin: 50px auto 20px auto;
	text-align: center;
	font-size: 25px;
	font-weight: 800;
	color:var(--color3);
}

#content_wrap .varausinfo .tuoterivi {
	position: relative;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
	width:80%;
	max-width: 700px;
	height:auto;
	margin: 30px auto;
	border:3px solid rgba(255,255,255,1.00);
	background-color:rgba(136,133,133,0.50);
	padding: 10px 0px;
    gap:5px 0px;
	border-radius: 50px;
	text-transform: uppercase;
	color:white;
	box-sizing: border-box;
	white-space: nowrap;
}

#content_wrap .varausinfo .tuoterivi .tuote_paikan_nimi{
	display: flex;
	width:100%;
	padding: 0px 25px;
	margin: 0;
	font-size: 25px;
	line-height: 35px;
	box-sizing: border-box;
}

#content_wrap .varausinfo .tuoterivi .tuote_paikan_nimi2{
	display: flex;
	width:100%;
	padding: 0px 25px;
	margin: 0;
	font-size: 22px;
	color:rgba(255,255,255,1.00);
	line-height: 30px;
	box-sizing: border-box;
}

#content_wrap .varausinfo .tuoterivi .tuote_varausaika{
	display: flex;
	width:100%;
	padding: 0px 25px;
	margin: 0;
	font-size:22px;
	text-align: left;
	line-height: 30px;
	box-sizing: border-box;
}


#content_wrap .varausinfo #pvm{
	display: block;
	text-align:center;
	width: 200px;
	height: 40px;
	line-height:40px;
	padding:0px 0px 0px 20px;
	margin:4px auto 2px auto;
	box-sizing:border-box;
	-webkit-appearance: none;
	appearance: none;
	border-radius:55px;
	box-shadow:0px 1px 2px rgba(20,20,20,0.49);
	background-color: rgba(220,220,220,1.00);
	background-image: -webkit-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(199,199,199,1.00) 0%,rgba(228,228,228,1.00) 38.66%,rgba(223,223,223,1.00) 60.18%,rgba(150,150,150,1.00) 100%);
	outline:none;
	border:1px solid rgba(187,187,187,1.00);
	}

#content_wrap .varausinfo h5{
	display:block;
	width:100%;
	height:auto;
	line-height:40px;
	font-size:18px;
	text-align:center;
	color:white;
	font-weight:500;
	text-shadow:0px 1px 1px black;
	margin:0px auto 0px auto;
	padding:0px 0px 0px 10px;
}

#content_wrap .varausinfo .tuoterivi .paikka{}
#content_wrap .varausinfo .tuoterivi .paikka2{}
#content_wrap .varausinfo .tuoterivi .aika{}

#content_wrap .lomakedata{
	display: inline-block;
	width:100%;
	height:auto;
	margin: 0px 0px;
	box-sizing: border-box;
	padding: 50px 5%;
	text-align: center;
	background-color: rgba(130,179,132,0.0);
}

#content_wrap .lomakedata .inpwrap{
	position: relative;
	display: block;
	width: 80%;
	max-width: 700px;
	height:70px;
	margin: 60px auto;
	border:4px solid white;
	box-sizing: border-box;
	border-radius: 100px;
}

#content_wrap .lomakedata .inpwrap:hover > input,
#content_wrap .lomakedata .inpwrap:focus > input {
	background-color: whitesmoke;
	color:black;
}

#content_wrap .lomakedata .inpwrap p{
	position:absolute;
	display:inline-block;
	width:auto;
	height:35px;
	line-height: 35px;
	font-size: 20px;
	font-weight: 800;
	margin: 0;
	padding: 0 15px;
	box-sizing: border-box;
	border-radius: 10px;
	transform: translate(-50%, -17px);
	background-color:white;
}
#content_wrap .lomakedata .inpwrap input{
	display: block;
	width:100%;
	height:100%;
	margin: 0;
	padding: 0 5%;
	outline: none;
	font-size: 18px;
	border:0;
	color:white;
	box-sizing: border-box;
	border-radius: 100px;
	background-color: transparent;
	overflow: hidden;
	transition: all 0.3s;
}


#content_wrap .lomakedata .inpwrap input::placeholder{
	color:rgba(225,225,225,1.00);
	letter-spacing: 2px;
	font-style: italic;
}

#content_wrap .lomakedata button{
	position: relative;
	display: block;
	width: 80%;
	max-width: 700px;
	height:70px;
	font-size:28px;
	font-weight: 800;
	margin: 60px auto;
	border:2px solid white;
	background-color: var(--color4);
	color:var(--color3);
	box-sizing: border-box;
	border-radius: 100px;
}

