/** CSS begins **/
body {
	font-family: sans-serif;
    background: #0e52b8;
    padding: 0px;
	margin: 0px;
	font-size:20px;


}

h1{
    font-size: 1.625em;
}

h2{
    font-size: 1.375em;
}

.editorinappi {
	position: relative;
	float: right;
    border: 1px solid #006;
    background: #FF0000;
}

.header {
	background-image: url("kuvat/vesivari2.jpg");
    padding-left: 2%;
	margin: 0px;    
	font-size:20px;
	color: white;
}

.header p {
	margin:0;
	padding:0;
}

.header a {
	color:white;
}

.menuitem {
    margin: 0;
    margin-left: 0;
    margin-top: 0;
    padding: 4%;
    border-bottom: 1px solid #e9e9e9;
    cursor: pointer;
}

.main {
    padding-left: 2%;
	padding-bottom: 2%;
	border-radius: 25px;
	background: #ffffee;
	margin:2%;
}

.laulajat {
	background-color: white;
}

.laulajat a {
	color:black;
	text-decoration:none;
}

.right {
    padding: 2%;	
	font-size:20px;
	border-radius: 15px;
	background: #ffffee;
	margin:5%;
}

.footer {
    padding: 0px;
    text-align: center;
    background-color: #642d80;
	color:white;
    font-size: 20px;
}

.gridcontainer {
    width: 100%;	
    padding: 0px;
	margin: 0px;

}

.gridwrapper {
    overflow: hidden;
    padding: 0px;
	margin: 0px;

}

.gridbox {
    padding: 0px;
	margin: 0px;
    float: left;
}

.gridheader {
    width: 100%;
	margin:0px;
	margin-bottom:-1px;
	padding:0px;
}

.gridright {
    width: 20%;
	height: 100%;
	margin-right: 0px; 	
}

.gridmenu {
    width: 100%;
	margin:0px;	
}

#ylapalkinvarinen {
	background: #642d80;
	border-style: solid; 
	border-width: 2px 0px 2px 0px; 
	border-color: #694968;
}
#alemmanpalkinvarinen {
	background: #02778b;
	margin-top: 3px;
	margin-bottom: 3px;
	border-style: solid;
    border-width: 2px 0px 2px 0px;
	border-color: #b393b3;
}



.gridmenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;  
}

.gridmenu li {
    float: left;
	
}

.gridmenu li a {
    display: block;
    color: #FFFFFF;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 20px;	
    text-align: center;
    padding: 6px 20px;
    text-decoration: none;
}

.gridmenu li a:hover:not(.active) {
    background-color: #111;
	color:white;
}

.gridmain {
    width: 80%;
	background: #dddddd;
}

.gridright {
    width: 20%;	
}

.gridright a {
	text-decoration:none;
	color:blue;
}
.gridfooter {
    width: 100%;
    margin-bottom: 0;
}

@media only screen and (max-width: 1200px) {
	body {
		font-size:8px;
	}
	
    .gridmenu {
        width: 100%;
    }

    .menuitem {
        margin: 1%;
        padding: 1%;
    }

    .gridmain {
        width: 100%;
    }

    .gridright {
        width: 100%;
    }

    .gridbox {
        margin-right: 0;
		font-size: 20px;
        float: left;
    }
	
	.gridmenu ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		overflow: hidden;  	
		}

	.gridmenu li {
		width:100%;		
		font-size: 20px;
		float: left;	
		}

.gridmenu li a {
    display: block;
    color: #333;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 20px;	
    text-align: center;
    padding: 0px 0px;
    text-decoration: none;
}

.gridmenu li a:hover:not(.active) {
    background-color: #111;
	color:white;
}
}
