
body{
	font-family: 'Open Sans', sans-serif;
	background: url('../img/bg2.png');
	background-size:cover;
	background-repeat:no-repeat;
	background-color:#c5d5e1;
}
#mainWrap{

	width: 1240px;
	margin:0 auto;
	box-shadow: 0 0 5px black;
}
#headerWrap{
	height:180px;
	max-width:1200px;
	margin: 0 auto -40px auto;
	background:#eaeaea;
	padding:20px;
}


#contentWrap{
	max-width:1200px;
	margin: 0 auto;
	background:#eaeaea;
	padding:20px;
}

h1{
	color:#484848;	
}

.small.button{
	color: #fff;
	background-color: #1583cc;
	border-radius: 0;
}

.table-cell a .button, #actionsSection .button{
	margin-right:10px;
}

.button{
	display: inline-block;
	text-align: center;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	transition: background-color 0.25s ease-out, color 0.25s ease-out;
	vertical-align: middle;
	border: 1px solid transparent;
	border-radius: 0;
	padding: 0.85em 1em;
	margin: 0 0 0 0;
	font-size: 0.9rem;
	background-color: #2199e8;
	color: #fff;
}
.button:hover{
	background-color: #24618a;
}
[type="text"], [type="password"], [type="date"], [type="datetime"], [type="datetime-local"], [type="month"], [type="week"], [type="email"], [type="number"], [type="search"], [type="tel"], [type="time"], [type="url"], [type="color"], textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    padding: 0.5rem;
    border: 1px solid #757575;
    margin: 0 0 0 0;
    font-family: inherit;
    font-size: 1rem;
    color: #0a0a0a;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    border-radius: 0;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
}
textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
	min-height:150px;
    padding: 0.5rem;
    border: 1px solid #cacaca;
    margin: 0 0 0 0;
    font-family: inherit;
    font-size: 1rem;
    color: #0a0a0a;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    border-radius: 0;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
}
#luottamustoimet {
	min-height:50px;
}
.errorBox{
	margin: 0 0 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-radius: 0;
	position: relative;
	color: #eee;
	background-color: #d72e2e;
}

.successBox{
	margin: 0 0 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-radius: 0;
	position: relative;
	color: white;
	background-color: #14b321;
}
.infoBox{
	margin: 0 0 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-radius: 0;
	position: relative;
	color: white;
	background-color: #2199e8;
}

.table {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 0 3em 0;
  padding: 0;
}
.table-cell {
	box-sizing: border-box;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	width: 100%;
	padding: 0.8em 1.2em;
	overflow: hidden;
	list-style: none;
}
.table-cell > h1,
.table-cell > h2,
.table-cell > h3,
.table-cell > h4,
.table-cell > h5,
.table-cell > h6 {
	margin: 0;
}
.table--2cols > .table-cell {
	width: 50%;
}
.table--3cols > .table-cell {
	width: 33.33%;
}
.table--4cols > .table-cell {
	width: 25%;
	display: flex;
	align-items: center;
	background:#d5d5d5;
}
.table-cell:nth-child(8n+1),
.table-cell:nth-child(8n+2),
.table-cell:nth-child(8n+3),
.table-cell:nth-child(8n+4)
 {
	background:none;
}

.header{
	border-bottom:1px solid grey;
}

.table--5cols > .table-cell {
	width: 20%;
}
.table--6cols > .table-cell {
	width: 16.6%;
}
.pending{
	background:grey;
	color:white;
	width:auto;
	padding-left:5px;
	padding-right:5px;
	display: inline-block;
	border:1px solid #c2c2c2;
}
.approval{
	background:#1583cc;
	color:white;
	width:auto;
	padding-left:5px;
	padding-right:5px;
	display: inline-block;
	border:1px solid #c2c2c2;
}
.accepted{
	background:#14b321;
	color:white;
	width:auto;
	padding-left:5px;
	padding-right:5px;
	display: inline-block;
	border: 1px solid rgba(10, 10, 10, 0.25);
}
.displayAnswers{
	display:none;
	background:white;
	padding:5px;
	border: 1px solid rgba(10, 10, 10, 0.25);
	margin-top:-15px;
	margin-bottom:15px;
}
.displayTitle{
	margin: 0 0 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-radius: 0;
	position: relative;
	color: white;
	font-weight:bold;
	font-size:18px;
	background-color: #1583cc;;	
}
p{
	margin-top: 5px;
	margin-bottom: 5px;
	font-size:14px;
}
#perustiedot input{
	font-size:14px;
	height: 2rem;
}