@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body,
input,
select,
textarea {
	font-size: 16px;
	font-family: 'Rubik', Open Sans, Helvetica, sans-serif;
	font-weight: normal;
	background-color: #FAFAFA;
    color: black;
	line-height: 1.5;
}

body {
    margin-top: 10px;
    background-color: #212a37;
}

.sivu {
    max-width: 980px;
    min-height: 100vh;
	position: relative;
	margin: auto;
	overflow: hidden;
	background-color: none;
	padding: 0px;
	display: flex;
	flex-direction: column;
}

div.kehys {
    min-height: 95vh;
	border: 1px solid #cccccc;
}

/* Page header company image */
input[type='image'][id$='imgLogo'] {
	height: 175px;
	padding-bottom: 8px;

}

.sisaltokehys {
	margin-top: 0px;
	position: relative;
	padding: 20px;
	background-color: white;
	width: 100%;
}

/*
.sisaltokehys::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('Kuvat/as/hoitotilanne.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}*/

.kehys {
    max-width: 100%;
    min-width: 300px;
    position: center;
    margin-left: 0px;
    padding: 0px;
    background-color: #EDEDED;
    display: flex;
    flex-direction: column;
}

.kehys > article {
    flex: 1;
}

.menurivi {
	margin-left: 15px;
    text-align: right;
    flex: 1;
}

.otsikko {
    font-weight: inherit;
}

.otsikkovahva {
    font-weight: normal;
    font-size: larger;
    border-style: none;
}

.syotto {
	color: Black;
	background-color: white;
	margin-left: 10px;
	border-radius: 5px;
	font-size: 1.0em;
    /*border-radius: 4px 4px;*/
}

.keski {
    margin-left: 8px
}

.pudotusvalikko {
    width: 200px;
    font-weight: normal;
    background-color: white;
    color: black;
    margin-left: 10px;
}

.vahvistusaika {
	font-size: 14px;
	font-weight: normal;
    background-color: #FAFAFA;
    border: 1px solid #212a37;
	padding: 14px;
    color: #222222;	
}

.labelIlmoitus {
    color: #222222;
    max-width: 100%;
    min-width: 100px;
    font-weight: bold;  
    font-size: normal;
}
.ilmobox {
    background-color: rgb(231, 246, 255);;
    border-style: solid;
    border-width: thick;
    border-color: #212a37;
	padding: 6px;
}
.labelHuomautus {
    color: #222222;
    font-weight: normal;
    padding: 20px;
    
}

.labelHuomautusKesk {
    color: #222222;
    font-weight: normal;
    text-align: center;
    min-width: inherit;
    padding: 4px;
}

.tpteksti {
    min-width: 300px;
    font-size: large;
    margin: 1px;
    background-color: white;
    color: #222222;
    border-style: none;
    border-color: #009FE3;
    align-self: center;
}

/* pbNappula-tyylit perityv�t t�st� luokasta */
[class*="pbNappula"] {	
	margin: 10px;
	font-weight: 500;
    background-color: #4a6ddf;
	color: rgb(231, 246, 255);
	border-radius: 15px;
    border-style: none !important;
	padding: 4px;	
}

[class*="pbNappula"]:hover {
	color: rgb(15,24,32 );
}

/* vap.ajat taulukon nappula */
.pbNappula {
    min-width: 60px;
}

.pbNappulaIso {
    font-size: x-large;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
	max-width: 460px;
}

.pbNappulaMenu {
	width: 180px;
}
   
.pbNappulaMenuLippu {
	width: 47px;
    height: 39px;
	border-style: none;
    background-color: transparent;
}

.pbNappulaMenuLippu:hover {
	background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 5px 1px rgb(15,24,32 );
}

.pbNappulaMiksi {
	min-width: 210px;
}
.pbNappulaMiksiValittu {
    color: #dbdbdb !important;
    box-shadow: 3px 3px 5px 1px rgb(15,24,32 );
	min-width: 210px;
}

.pbNappulaMiksiKamp {
     color: gold;
    font-style: italic;
    font-weight: bold;
    border-style: solid;
 }

.pbNappulaVid {
	min-width: 210px;
 
}
.pbNappulaVidValittu {
    color: #dbdbdb !important;
    box-shadow: 3px 3px 5px 1px rgb(15,24,32 );
	min-width: 210px;
}

.pbNappulaAnonyymi {
    /* suoraan vaipaiden aikojen katseluun */
	vertical-align: middle;
    font-weight: bold;
    font-size: 22.825px;
	min-width: 200px;
	max-width: 50%;
	margin: auto;
    height: 75px;
    background-color: #4a6ddf !important;
	border-radius: 50px;
	padding: 4px;
	font-Weight: 500;
}

.pbNappulaAnonyymi:hover {
	color: rgb(15,24,32 );
}

/* toimipistevalintanappulat */
.pbEiValittu {
    margin: 5px;
    min-width: 120px;
    background-color: #FFFFFF;
    color: #009ee3;
    border-radius: 0px;
    border: 1px thin #D4D4D6;
    padding: 3px;
}
.pbValittuX {
    margin: 5px;
    min-width: 120px;
    background-color: #009ee3;
    color: #FFFFFF;
    border-radius: 0px;
    border: 1px thin #D4D4D6;
    padding: 3px;
}

/* Own reservations page cancel reservation button */
td.pbNappula {
    border: solid 1px #525252 !important;
}

td.pbNappula, td.pbNappula > input.pbNappula {
    border-radius: 0px !important;
}

.txtotsikko {
    font-weight: bold;
    font-size: x-large;
    text-transform: uppercase;
    color: buttontext;
    background-color: #505050;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom-style: none;
}

.yritys {
    font-weight: bold;
    font-size: 20px;
}

.varaaja {
    font-size: x-small;
    font-Weight: bold;
    text-align: right;
    /*width: 590px;*/
}

.labelError {
    color: white;
    background-color: red;
}

.nappularivi {
    vertical-align: middle;
    position: absolute;
    right: 5px;
}

#ylareuna {
	padding-top: 8px;
	padding-left: 20px;
	border-top: 5px solid #212a37;
	border-bottom: 2px solid #212a37;
    background-color: #fdfdfd;
	display: flex;
	align-items: center;
}

footer.alareuna {
    /* margin-top: auto; */
    vertical-align: middle;
    text-align: center;
    font-size: smaller;
    margin-left: 0px;
    width: 100%;
    /* color: #cbcbcb; */
    background-color: #fdfdfd;
	border-top: 2px solid #212a37;
	border-bottom: 5px solid #212a37;
    padding-bottom: 12px;
}

.av_otsikko {
    font-size: larger;
    color: gray;
}

.pbInfo {
    font-size: small
}


.roundedPanel {
    width: 300px;
    background-color: red;
    color: white;
    font-weight: bold;
}

.lisatietoikkuna {
    background-color: White;
    color: Black;
}

/*  kalenterin tyylit */

.kalenteri {
    background-color: white;
    width: 250px;
    color: black;
}

.kalenteri a {
    text-decoration: none;
}

.kalenteri .kalenteriTitle {
    font-weight: bold;
    background-color: #cec9c9;
}

.kalenteri .kalenteriNextPrev {
    text-align: center;
}

    .kalenteri td.kalenteriSelector {
          background-color: #67B7C3;
    }

.kalenteri .kalenteriDay a,
.kalenteri .kalenteriSelector a,
.kalenteri .kalenteriNextPrev a {
    display: block;
    line-height: 18px;
}


/* --- gridin tyyli */

.mGrid {
    max-width: 1000px;
    background-color: #fff;
    border: solid 1px #525252;
}

.mGrid td {
    padding: 2px;
    border: solid 1px #c1c1c1;
    color: Black;
}


/* otsikko */

.mGrid th {
    padding: 4px 2px;
    color: #fff;
    background: #4a6ddf;
    border-left: solid 1px #525252;
}

.mGrid .alt {
    background: #efebeb;
}

.mGrid .pgr {
    background: #dddddd;
}

.mGrid .pgr table {
    margin: 5px 0;
}

.mGrid .pgr td {
    border-width: 0;
    padding: 0 6px;
    border-left: solid 1px #666;
    font-weight: bold;
    color: #fff;
    line-height: 12px;
}

.mGrid .pgr a {
    color: #666;
    text-decoration: none;
}

.mGrid .pgr a:hover {
    color: aqua;
    text-decoration: none;
}

div.kalenteriKehys td[style*="background-color:LightGreen"] {
    background-color: #4a6ddfaf !important;
}

div.kalenteriKehys td[style*="background-color:LightGreen"] > a {
    color: rgb(231, 246, 255) !important;
}

.Pikahaku {
    border-width: initial;
    border: solid;
    font-weight: normal;
    color: cornflowerblue;
    display: flex;
    align-items: center;
    justify-content: center;
 }

.piilo {
    width: 1px;
    font-size: xx-small;
    padding: 0px;
    border:none;
    color: white;
}

/* varauksen tiedot taulukko*/
.varaustxt {
    font-weight: normal;
    font-size: inherit;
}

.vahvistusaikaArvo {
    font-weight: bold;
    font-size: larger;
    padding: 10px;
}

.card-text {
	margin-left: 12px;
	margin-top: 6px;
}

.card-footer {
    background-color: inherit;
    border: none;
}

.card-image-right {
	margin-top: 5px;
	border: 1px solid #EDEDED;
}

div[id^='vapaa'] {
	font-size: 12px;
	font-Weight: normal;
	margin-bottom: 10px;
	background-color: white;
	color: #222222;
}

#Pikahaku {
	margin-top: 20px;
}

/* Hide the phone number from the confirmation page.*/
tr:has(td > span[id$="_lblTpPuhArvo"]){
    display: none;
}

form.aspnetForm {
    display: flex;
    flex-direction: column;
    flex: 1;
}