


.header {padding: 20px;
  text-align: center;
  background: #F3C5C5;
  font-family: 'Garamond';
  color: #000000;
}


/*Otsikot*/
h2 {
	font-family:  'Garamond';
	font-size: 50px;
	text-align: center;
}

h3 {
	font-family:  'Garamond';
	font-size: 30px;
	text-align: left;
}

h4 {
	font-family:  'Garamond';
	font-size: 30px;
	text-align: center;
}

/*NAVI*/
.topnav {
  overflow: hidden;
  background-color: #7F5858;
}

.topnav a {
  font-family: 'Garamond';
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #C1A3A3 ;
  color: #694E4E; 
}

.topnav a.active {
  background-color: #694E4E ;
  color: #ffffff;
}

/*Palvelut*/
.palvelut {
	margin: 0;
	padding: 30px;
	background-color: #C1A3A3;
}
* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-direction: row;
  font-size: 20px;
  text-align: left;
}

.flex-item-left {
  background-color: #C1A3A3;
  padding: 10px;
  flex: 50%;
}

.flex-item-right {
  background-color: #C1A3A3;
  padding: 10px;
  flex: 50%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
}

/*Kivimurto*/
.kivimurto {
	font-family: 'Garamond';
	font-size: 20px;
	margin: 0%;
	padding: 0px;
	background-color: #ffffff;
	text-align: left;
	letter-spacing: 1px;
}

/*Galleria*/
.kuvakokoelma {
	margin: 0;
	padding: 50px 50px 75px 50px;
	background-color: #C1A3A3;
}

.galleria {
  float: left;
  width: 25%;
  padding: 5px;
  box-sizing: border-box;
  border-color: #ffffff;
  overflow: hidden;
}

img {
  border: 5px solid #ffffff;
 
}
figure:hover+span {
        bottom: -36px;
        opacity: 1;
}

img {
  border: 5px solid #ffffff;
}

.hover08 img {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
      }
.hover08:hover img {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
      }
 
/* Galleriakuvien Clearfix (clear floats) */
.rivit::after {
  content: "";
  clear: both;
  display: table;
}
/*Lomake*/
body {
	font-family: 'Garamond';
	
}
* {box-sizing: border-box;}

input[type=text], select, textarea {
  width: 90%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #C1A3A3;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #694E4E;
}

.lomake {
  margin-right: 20%;
  margin-left: 20%;
  margin-bottom: 100px;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}



/*Footer*/
.footer {
	margin: 0;
	padding: 10px 5px 5px 25px;
	background-color: #7F5858;
	color: #000000; 
	font-size: 10px;
}

/*instalogo*/
.fa {
  padding: 5px;
  font-size: 100px;
  width: 150px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-instagram {
  background: #C1A3A3;
  color: #000000 ;
}

/*fb-logo*/
.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #C1A3A3;
  color: #000000;
}

.responsive {
  width: 100%;
}
	
/*Hinnasto*/
.hinnasto {
	margin: 0;
	padding: 30px;
	background-color: #ffffff;
}

/*Yhteystiedot*/
.yhteystiedot {
	background-color: #C1A3A3;
	text-align: center;
}