/* THIS IS HOW I ADD SOME COMMENTS HERE */
#flaginheader {
/* display: none;*/
float: left;
padding: 0px;
margin: 0px;
border: 0px;
}


#flaginheader img {
background-color: none;
height: 60px;
margin: 5px;
border: 0;
padding: 0px;
display: block;
}


#cssmenu ul { margin: 0; padding: 0;}
#cssmenu li { margin: 0; padding: 0;}
#cssmenu a { margin: 0; padding: 0;}
#cssmenu ul {list-style: none;}
#cssmenu a {text-decoration: none;}

#cssmenu {
margin-left: 10px;
margin-right: 10px;
			/* This is for the main menu bit at the top */
	width: 100-20px%;			/* This means on every screen no matter the size, the width will cover the top  */
	line-height: 3;
	text-align: center;
	background-color: rgb(35,35,35); 
	box-shadow: 0px 2px 3px rgba(0,0,0,.4);
	vertical-align: middle;
display: block;
}

#cssmenu > ul {

}

#cssmenu > ul > li {
    display:inline-block;
    margin-left: 0px;       /* This is when the drop down box appears */
    position: relative;
    text-align:center;

}


#cssmenu > ul > li:hover {
background-color: #984B43	;
}

#cssmenu > ul > li > a {
    color: rgb(160,160,160);
    font-family: Verdana, 'Lucida Grande';
    font-size: 14px;
    line-height: 30px;		/* This bit changes the size of the text on the main heading */
    padding: 10px 24px;		/* This is the padding between the different titles */

}



#cssmenu > ul > li > a:hover {color: rgb(250,250,250); }

#cssmenu > ul > li > ul {
    opacity: 0;
    visibility: hidden;
    padding: 0;
    background-color: rgb(250,250,250);
    text-align: left;  
    position: absolute;
    top: 55px;			/* This is for the drop down annimation */
    left: 50%;
    margin-left: -90px;
    width: 180px;
}



#cssmenu > ul > li:hover > ul {

    opacity: 1;
    top: 42px;			/* This is how far from the top the drop down annimation will go  */
    visibility: visible;

}




#cssmenu > ul ul > li { 
position: relative;
}

#cssmenu ul ul a {     /* This is the drop down menu, change font or size when its drops down */
    color: rgb(50,50,50);
    font-family: Verdana, 'Lucida Grande';
    font-size: 13px;   
    background-color: rgb(250,250,250);
    padding: 5px 8px 7px 16px;
   display: block;
-webkit-transition: background-color .1s;
   -moz-transition: background-color .1s;
     -o-transition: background-color .1s;
        transition: background-color .1s;
}

#cssmenu ul ul a:hover {
background-color: rgb(240,240,240);}

#cssmenu ul ul > li:hover > ul { 
	opacity: 1; 
	left: 196px; 
	visibility: visible;}

#cssmenu ul ul a:hover{
    background-color: rgb(114,164,65);
    color: rgb(240,240,240);
}

.hidden {
display: none;
}

#nav {	
display: hidden;
background: rgb(114,164,65)
/*url(MKECSMCSfiles/Menubutton.png); */
  width: 50px;
  height: 50px;
} 

#nav img {
display: none;
  width: 50px;
  height: 50px;
}

/*MEDIA QUERY*/

@media only screen and (max-width : 640px) {

#nav img {
display: block;
}

#nav {	
position: absolute;
right: 15px;
top: 50px;
transition: opacity 1s ease-in-out;


}

	
#cssmenu ul, nav:active ul { 		
display: none;		
position: absolute;		
padding: 0px;
margin: 0px;		
background: #fff;	
border: 5px solid #444;	
right: 12px;	
top: 130px;	
width: 40%;	
border-radius: 4px 0 4px 4px;


}

#cssmenu li {	
text-align: center;	
width: 100%;	
padding: 0px 0;	
margin: 0;
transition: opacity 1s ease-in-out;
-webkit-transition: background-color .1s;
   -moz-transition: background-color .1s;
     -o-transition: background-color .1s;
        transition: background-color .1s;
}


#cssmenu:hover ul {	
display: block;	
}

#cssmenu > ul > li:hover > ul {
display: block;
position: absolute;
    opacity: 1;
    top: 0px;	
left: -70px;		/* This is how far from the top the drop down annimation will go  */
    visibility: visible;
transition: opacity 1s ease-in-out;
}
}

.tagoktable {
style="float:left; font-size:110%; margin-left:30px; margin-top:0px;"
}


.portrek {
width: 80px;
}

a:hover {

}

a:link {

}
a:visited {

}

body {
background-color:#445391; 
margin:0px;
font-family: Palatino, Palatino Linotype, Palatino LT STD, Cambria, Verdana, Georgia, serif;
font-size: 14px;
}

#body-program {
background-color: white;
font-family: Palatino, Palatino Linotype, Palatino LT STD, Cambria, Verdana, Georgia, serif;
font-size: 16px;
padding: 10px;
}


#header {
background: -webkit-linear-gradient(left,#0A0076, #445391);
background: linear-gradient(to right, #0A0076, #445391);
margin:10px 10px 0px 10px;
height: 130px;
border-radius: 5px 5px 0px 0px;
font-size: 250%;
    font-size: 4vmin;
display: block; 
}

#page {
margin: 0px 50px;
padding: 0px;
border: 2px solid black;
border-top: 1px solid black;
background-color: #EAE7DC;
}

#logoinheader {
float: right;
padding: 0px;
margin: 5px;
border: 0px;
background-color: white;
}

#logoinheader img {
background-color: none;
height: 110px;
margin: 5px;
border: 0;
padding: 0px;
display: block;
}

#logoinheader img a {
background-color: white;
margin: 0px;
padding: 0px;
border: 0px;
}


.main {
background-color:#e5e4d7;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding: 0px;
font-size: 120%;
border-radius: 5px;
}



#palyaztable {
margin-left: 10px;

}

#palyaztable tr td {
padding-bottom: 1em;
} 


.middle {
background-color: #e5e4d7;
margin-left: 260px;
margin-right: 20px;
margin-top: 10px;
margin-bottom: 10px;
padding: 0px;
font-size: 110%;
border-radius: 5px;
}

.sideright {
background-color: #e5e4d7;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding: 0px;
padding-right: 20px;
font-size: 105%;
border-radius: 5px;
float: right;
width: 260px;
clear: right;
}

.mainimage {
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding: 0px;
font-size: 110%;
border-radius: 5px;
text-align: center;
}

.paragraph {
line-height:2em; 
font-size:110%; 
margin: 10px;
}

.mainimage img {
margin: 0px;
padding: 0px;
border-radius: 5px;
border: 0px;
width: 49%;
opacity:1.0;
position: center;
transition: opacity 1s ease-in-out;
display: inline-block;
}

.mainimage img:hover {
opacity:0.4;
}


h1 {
font-size: 120%;
color: #2F2727;
margin-top: 0px;
}

h2 {
font-size: 120%;
color: #2F2727;
margin-top: 20px;
}

h3 {
font-size: 100%;
text-align: center;
color: #e5e4d7;
margin: 0px;
margin-left: 50px;
margin-right: 100px;
position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.list {
line-height: 3em; 
font-size: 110%;
}

#footer {
background: -webkit-linear-gradient(left,  #0A0076, #445391);
background: linear-gradient(to right,  #0A0076, #445391);
margin: 10px;
height: 80px;
clear: both;
border-radius: 5px;
color: #efe5d0;
text-align: center;
padding: 0px;
font-size: 120%;
}


.linkimage {
height: 75px;
align: center;
}

.linktable {
text-align: left;
font-size: 16px;
padding-left: 20px;	
}


@media screen and (max-width: 1000px) {

.main {
margin: 10px;
padding: 0px;
}

.sideright {
display: none;
}

#header {
margin:0px;
}

}

/* Rules for small screens*/
@media screen and (max-width: 640px) {

.main {
margin: 10px;
padding: 0px;
  }

.main td {
padding: 0px;
margin: 0px;
}

#footer {
font-size: 90%;
} 

.sideright {
display: none;
}

.middle {
margin-right: 10px;
margin-left: 10px;
}

#page {
margin: 0px;
}

#footer {
height: 50px;
}


#logoinheader img {
height: 80px;
width: 80px;
position: absolute;
left: 10px;
top: 15px;
display:none;
}

.mainimage img {
width: 80%;
}

h3 {
font-size: 115%;
padding-left:80px;
}

}