/* Sisällön tyylit */
a:link, a:visited, .email {
  color:#fff;
  text-decoration:underline;
}

a:hover {
  color:#000000;
  text-decoration:none;
}




a.rounded:link, a.rounded:visited {
display: block;
background-color: #000000;
width: 200px;
border-radius: 2px;
padding: 20px;
margin-left: auto;
margin-right: auto; 
  color:#000000;
  text-decoration:none;
color: #ffffff;

font-size: 30px;
text-align: center;
border: 1px solid #000;
font-family: 'Oswald', sans-serif;
}

a.rounded:hover {
  color:#ffffff;
  text-decoration:none;
border: 1px solid #fff;
 
}


a.rounded_blue:link, a.rounded_blue:visited {
display: block;
background-color: #35ab07;
width: 240px;
border-radius: 2px;
padding: 20px;
margin-left: auto;
margin-right: auto; 
  color:#000000;
  text-decoration:none;
color: #ffffff;

font-size: 25px;
text-align: center;
border: 1px solid #000;
font-family: 'Oswald', sans-serif;
}

a.rounded_blue:hover {
  color:#ffffff;
  text-decoration:none;
border: 1px solid #fff;
 
}


#front_footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
font-size: 60px;
content: '&#8595;';

}

#front_footer:after {
content: '↓';

}

h1 {
  color: #469600;
  font-weight: normal;
  font-size: 25px;
  padding-bottom: 0.3em;
font-family: 'Oswald', sans-serif;

  margin: 0;
line-height: 35px;
  display: inline;
}
h2 {
font-family: 'Courgette', cursive; color: #FFF;
  font-size: 25px;
  padding-bottom: 0.3em;


  margin: 0;
line-height: 35px;
  display: inline;
}

h3 {
  color: #000000;
  font-size: 16px;
  font-weight: bold;

  margin: 0;
  padding: 0;

  display: inline;
}



#back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #000;
    color: #FFF;
    font-size: 15px;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    
    border: 1px solid #000;
}
#back-to-top:hover {
    background: #99CA3A;
}
#back-to-top.show {
    opacity: 0.9;
}




div, td {
vertical-align: top;
}


.mainbg li {
margin-left: 30px;
line-height: 30px;
}

.mainbg li li {

line-height: 20px;
}

.etusivulinkki {
font-family: 'Oswald', sans-serif;
font-size: 30px;
text-decoration:none;

border-radius: 2px;
}

.etusivulinkki {
font-family: 'Oswald', sans-serif;
font-size: 30px;

}
a:link.etusivulinkki, a:visited.etusivulinkki {

text-decoration:none;
}
a:hover.etusivulinkki, a:hover.etusivulinkki {

opacity: 0.8;
}


.logot {
position: absolute;
top: 5px;
right: 0px;
}


body, td { 										
font-family: 'Oswald', sans-serif;
font-size:15px;
font-weight:normal;
color:#000;
}


#etusivu, #etusivu td {
color:#FFF;
}


#ravintola-lounaslista {
color:#FFF;
}

/* Rakennetyylit */

html {
min-width: 350px;
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body {
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#000;

background-image: url('../images/bodybg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body#etusivu {
	background-color: #fff;

}

#bg {
	position:fixed; 
	z-index:-1; 
	top:0; 
	left:0; 
	background-color: transparent;
/*
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: grayscale(100%);
*/
	opacity: 0.4;

}

#bg .fades {

	position:absolute;
	top:0;
	display:none;
	width:100%;
	height:100%;
	z-index:-1;
	
	background-color: transparent;

}

#bodybg {
min-width: 350px;
}



.toppic2 {

text-align: left;

}

.toparea {
min-width: 350px;
margin-left: auto;
margin-right: auto;

background-color: transparent;
height: 200px;

background-repeat: no-repeat;
background-position: center center;

-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

border-bottom: 0px solid #1A6AC2;

}

.bgtable {
max-width: 100%;
margin-left: auto;
margin-right: auto;

border: 0px solid #ffffff;
border-top: 0px;

}
#etusivu .bgtable {
position: relative;
top: 0;
}


.toppic {
min-width: 350px;
background-color: transparent;
min-height: 65px;




margin-left: auto;
margin-right: auto;


-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;

border-bottom: 0px solid #9a3a01;

}

.toppic_scroll {
background-color: #ccc;

-moz-box-shadow: 0 0 5px 5px #888;
-webkit-box-shadow: 0 0 5px 5px#888;
box-shadow: 0 0 5px 5px #888;
}

.mainbg {
position:relative;
margin-left: auto;
margin-right: auto;
background-color: #FFF;


padding: 0px;



margin-top: 0px;
padding: 0px;

padding-left: 0px;
padding-right: 0px;


border-bottom: 3px solid #000;
text-align: center;

}


.mainbg#ravintola-lounaslista {

background-image: url('../images/lounas.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.mainbg#avantin-lounaan-juhlatila {

background-image: url('../images/juhlatila.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



.mainbg#tilauksesta {

background-image: url('../images/tilauksesta.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  
  color: #FFF;
}



.mainbg#etusivu {
background-color: transparent;
min-height: 87vh
}




.content {
background-color: transparent;

padding: 20px;
border: 0px solid #ccc;
max-width: 700px;
margin-left: auto;
margin-right: auto;

text-align: left;
}

#etusivu .content {
border: 0px;
}
.main .content {

}

.main_header {
display: block;

padding-top: 0px;
padding-left: 0px;
padding-bottom: 20px;
}




.main_header h1 {
color: #469600;
font-weight: bold;
}

#logotext {
margin-top: 0px;
padding-right: 0px;




}


#logotext2 {
margin-top: 0px;
padding-left: 0px;




}
.mainlogo {
margin-top: 0px;
padding-right: 0px;


-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; 


-webkit-animation: fadein 1s;
-moz-animation: fadein 1s;
-ms-animation: fadein 1s;
-o-animation: fadein 1s;
animation: fadein 1s;

}


#logotext {
display: none;
}


.footerdiv {
width: 100%;
margin-left: auto;
margin-right: auto;
background-color: transparent;
border-top: 0px solid #ffffff;

text-align: center;
padding-top: 5px;

padding-bottom: 0px;
color: #ffffff;

}

.footerdiv b {
color: #134882;
}


/* Taulukkorakenne */

.inner {
margin-bottom: 30px;
}


.main_50
{
display: block;
width: 100%;
}

.main_55, 
.main_45
{
padding-bottom: 20px;
}

.mainbg img {




height: auto;

max-width: 100%;

transition: all 0.1s ease-in-out 0s;

object-fit: contain;

max-width: 100%;
height: auto;
    transition: all 0.1s ease-in-out 0s;
    
    
    
}

.mainbg#tilauksesta img, .mainbg#avantin-lounaan-juhlatila img {



background-color: #ffffff;


  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  border: 2px solid #ffffff;
  
  
  -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);;
  -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);;
    
}


.borderpic {
border-left: 3px solid #000;
}

/* Navigointi */

#navbg {
width: 100%;

}


.navi {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
transition: none;
-webkit-transform-style: preserve-3d;
overflow: hidden;
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;


width: 100%;
max-height: 0; 
z-index: 99;



}

.navi.opacity {
opacity: 0; 
}

.navi.navi-show {
max-height: 2000px;
opacity: 1;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out; 
}


.navi li a {
position: relative;
display: block;
padding: 10px;
padding-bottom: 0px;

z-index: 2;

text-align: center;
color: #FFF;
background-color: transparent;
border: 0px solid #ffffff;

font-family: 'Oswald', sans-serif;

border: 0px solid #000;


/*
background-image: url('../images/mainbg.png');
background-repeat: repeat;

  border-left: 1px solid #ABABAB;
  border-top: 1px solid #ABABAB;
  border-bottom: 1px solid #ABABAB;
*/



text-decoration: none;
font-size: 20px;

font-weight: normal;

-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; 


}

.navi li a:hover {
color: #FFF;
background-color: transparent;
text-decoration: underline;
/*
background-image: url();

  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/

}


.navi li a#active {
color: #FFF;
background-color: transparent;
background-image: url();
border: 0px solid #114B89;

/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
}

.navi li {
font-size: 100%;

overflow: hidden;
margin: 0px;
}

#map {
background-color: #efefef;
height: 250px;
max-width: 100%;
min-width: 200px;


}




/* Lomaketyylit */
input, select, textarea {
font-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #000000;

-moz-border-radius:3px;
border-radius: 3px;
}

.txtinput, .selekti {		       
width:90%;
padding: 7px;
}

.tarea  { 		               
width:90%;
height:120px;
padding: 7px;
}


input[type=text], textarea {
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;

}

input[type=text]:focus, textarea:focus {
box-shadow: 0 0 5px #4575B7;
border: 1px solid #000000;

}


.potikka  {		               


color:#ffffff;
font-weight:normal;
font-size: 19px;
background-color: #e2022b;
border: 2px solid #ffffff;
font-family: 'Fjalla One', sans-serif;

padding: 10px;
padding-left: 25px;
padding-right: 25px;

-moz-border-radius:3px;
border-radius: 3px;


}

a.potikka:link, a.potikka:visited, .potikka a:link, .potikka a:visited {
color: #ffffff;
}

a.potikka:hover, .potikka a:hover {
color:#000000;
text-decoration:none;
}


/* Muut */




#map {
background-color: #efefef;
height: 225px;
max-width: 100%;
min-width: 200px;

border: 1px solid #ABABAB;
}

.icons {
width: 250px;

display: block;
text-align: left;
white-space: nowrap;
}


.icons a {
padding-right: 0px;
}


label {
display: inline-block;
width: 5em;
}

/***** TABLE *******/

table.bt thead {
  display: none;
}

table.bt tbody td {
  border: none;
  display: block;
  vertical-align: top;
}

table.bt tbody td.bt-hide {
  display: none;
}

table.bt tbody td .bt-content {
  vertical-align: top;
}

.bt-wrapper.active {
  max-height: 310px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

