*{margin:0;padding:0;}

a,a:link,a:visited{text-decoration:none;color:#0a3971;}
a:hover{color:black;text-decoration:none;}
h1,h2,h3,h4,h5,h6{color:#3366CC;}
h1 a,h1 a:link,h1 a:visited,h2 a,h2 a:link,h2 a:visited,h4 a:link,h4 a:visited{color:#0a3971;}
h2 a:hover,h4 a:hover{text-decoration: underline;}
input{ color: #5e5e5e; }
img{border:none;}
a img{border:none;}
p{margin: 2px 0;}

/*Responsive*/
img,
embed,
object,
video {
  max-width: 100%;
}
/*Structure*/
html{font-size:11px;font-family:Verdana,Arial,Helvetica,sans-serif;color:#6f6f6f;min-height:100%;}
body{margin: 0; padding: 0; } /*#2E4892*/

.framedhead /*titlar á contenti*/ {
	margin: 20px 0 8px;
	border: solid grey 3px;
	border-radius: 10px;
	box-shadow: 4px 4px 5px #888888;
}
#content .framedhead{margin-top:0;}

.adspace {
	margin-top: 20px;
	margin-bottom: 20px; 
}

.content-bottom-ad {
	margin-top: 30px;
	margin-bottom: 20px;
}

.content-bottom-ad img {
	padding: 10px;
}

.background {
	background: linear-gradient(to top left, #2E4892, white);
}

.content-background {
	overflow:hidden;
	background: white;
}

/*Grid Container*/
#container {
		
}

/*header*/
#header {
	
	background: url("/images/kfs.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 1170px 117px;
	min-height: 117px;
}

/*Navigation bar*/
#navbar {
	background: linear-gradient(to top, #E6E6FF, white);  /*EDF4FF*/
	min-height: 75px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	/*border-radius: 15px;*/
}

#navbarlist {
	padding: 20px 0 5px;
}
#navbarlist ul li {
	list-style-type: none;
	display: inline-block;
	font-size:large;
	color: #2E4892;
	padding-left: 30px;
	/*border-left: solid #dadada 1px;*/
}

#navbarlist ul li:first-child {
	border: none;
}

#navbar #rightmost {
	border-right-style: none;
}

#navbarlist #dropdown {
	display:none;
}
/*Left Column*/
#leftbar {
	background: white;
	/*
	-webkit-border-top-left-radius: 15px;
	-webkit-border-bottom-left-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-bottomleft: 15px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	*/
}

#fakelist {
	text-align: left;
	text-decoration:underline;
}

/*Main Content - Center Column*/
#content {
	background: white;
	padding-top:20px;
	/*
	-webkit-border-bottom-right-radius: 15px;
	-webkit-border-bottom-left-radius: 15px;
	-moz-border-radius-bottomright: 15px;
	-moz-border-radius-bottomleft: 15px;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
	*/
}

.albumframe {
	height: 210px;
	width: 45%;
	margin: 0px 0 0px 20px;
	display: inline-block;
	float:left;	
}

.albumframe-right {
	height: 210px;
	width: 45%;
	margin: 0px 0 0px 20px;
	display: inline-block;
	float:right;
}

.albumslider {

}
.albumslider .slideitem{display:none;}
.albumslider .slideitem:first-child{display:block;}
.albumslider .slideitem img{border-radius:6px;}

#front-page-news .item {
	text-align: left;
}

#content .page-content {
	padding: 20px 10px;
	text-align:left;
}

/*Right Column*/
#rightbar {
	background: white;
	/*
	-webkit-border-top-right-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-bottomright: 15px;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	*/
}

/*Footer*/
#footer {
	
}

.clear {
	clear:both;
}


/**Spjall**/
.mainbar {
	width: 440px;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	color: #828282;
	margin: 0 5px 0;
	padding: 0 0 20px 0;
	float: left;
}
#content .haus {margin-top:22px;}
#content .spjall {
	text-align:left;
} 
#content .maintext {
	padding: 15px 0px;
}
#content #newpost2{
	overflow:hidden;
	margin: 20px auto;
	width:57%;
}
#content #newpost .lina,
#content #newpost2 .lina{
overflow:hidden;
}
#content #newpost .texti,
#content #newpost2 .texti{
overflow:hidden;
}
#content #newpost .btn,
#content #newpost2 .btn{
clear:both;
}
#content #newpost h4,
#content #newpost2 h4{
width:350px;
height:14px;
float:left;
font:11px Verdana, Arial, Helvetica, sans-serif;
margin:0 0 0 140px;
}
#content #newpost h3,
#content #newpost2 h3{
width:130px;
height:18px;
padding:2px 0 0 0;
margin:4px 0;
text-align:right;
float:left;
clear:both;
font:11px Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
position:relative;
}
#content #newpost input,
#content #newpost select{
width:346px;
height:16px;
float:right;
margin:4px 70px 4px 0;
padding:2px;
font:11px Verdana, Arial, Helvetica, sans-serif;
}
#content #newpost2 h3{width:60px;
}
#content #newpost2 input,
#content #newpost2 select{
width:300px;
height:16px;
float:right;
margin:4px 20px 4px 0;
padding:2px;
font:11px Verdana, Arial, Helvetica, sans-serif;
}
#content #newpost2 h4{width:300px;margin:0 0 0 40px;
}
#content #newpost select,
#content #newpost2 select{
width:307px;
/*margin:4px 70px 4px 0;*/
height:22px;
padding:2px;
}
#content #newpost textarea,
#content #newpost2 textarea{
width:346px;
height:120px;
float:right;
margin:2px 70px 2px 0;
padding:2px 2px 0 2px;
font:11px Verdana, Arial, Helvetica, sans-serif;
}

#content #newpost2 textarea{
width:300px;
margin:2px 20px 2px 0;
}
#content #newpost .closeDiv,
#content #newpost2 .closeDiv{
position:absolute;
margin:0 0 0 550px;
margin-top:-10px;
}

#content #newpost .closeDiv a,
#content #newpost2 .closeDiv a{
cursor:pointer;color:#FF0000;
font:16px Arial, Helvetica, sans-serif;
font-weight:bold;}
#content #newpost .closeDiv a:hover{
text-decoration:none;}
#content #newpost .submitbtn,
#content #newpost2 .submitbtn{
width:100px;
height:19px;
background:none;
border:1px solid #999999;
margin:5px 70px 0 0;
padding:0;
clear:both;
}
#content #newpost .submitbtn:hover,
#content #newpost2 .submitbtn:hover{
background:#eaeaea; cursor:pointer;
}

#content .spjallmain{
width:84px;
height:16px;
margin:0 0 0 30px;
padding:6px 0 0 0;
display:block;
text-align:center;
background:url(../images/spjall-tabs.jpg) no-repeat 0 0;
font:11px Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color:#3c3e44;
float:left;
margin-bottom:-1px;
text-decoration:none;
}
#content .spjallmain:hover,
#content .spjallget:hover,
#content .spjallold:hover{
text-decoration:none;
color:#000000;}
#content .spjallget{
width:84px;
height:16px;
padding:6px 0 0 0;
display:block;
text-align:center;
background:url(../images/spjall-tabs.jpg) no-repeat 0 0;
font:11px Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color:#3c3e44;
float:left;
margin-bottom:-1px;
text-decoration:none;
}
#content .spjallold{
width:84px;
height:16px;
margin:0 20px 0 0;
padding:6px 0 0 0;
display:block;
text-align:center;
background:url(../images/spjall-tabs.jpg) no-repeat 0 0;
font:11px Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color:#3c3e44;
float:right;
margin-bottom:-1px;
text-decoration:none;
}
#content .newpostlink{
text-decoration:none;
color:#1877a8;
font:11px Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
display:inline-block;
width:111px;
height:20px;
padding:5px 0 0 0;
background:url(../images/topmenu-bg.png) no-repeat 0 0;
text-align:center;
cursor:pointer;
}
#content .newpostlink:hover {
	background:url(../images/topmenu-bg.png) no-repeat 0 -26px;
	color:white;
}
#content .spjall{
clear:both;
padding:20px 10px 0;
color:#666;
}
#content .spjall ul li{
padding:5px 0 7px;
}
#content .spjall ul li ul li{
padding:2px 0;}
#content .spjall ul li a{
color:#176492;
text-decoration:underline;
}
#content .spjall ul li a:hover{
text-decoration:none}
#content .spjall ul li a:visited{
color:#996699;}
#content .spjall ul li .editor{
font-weight:bold;
}
#content .spjall .grey{ background:#EAEAEA;overflow:hidden;padding:5px;}
#content .spjall .white{overflow:hidden;padding:5px; border-left:1px solid #EAEAEA;border-right:1px solid #EAEAEA;}
#content .spjall .titleitem{display:block; margin:0 0 10px 0; font:10px Verdana, Arial, Helvetica, sans-serif;}
#content .spjall h3{font:12px Verdana, Arial, Helvetica, sans-serif; font-weight:bold; margin:0 0 3px 0;}
#content .spjall .skilabod{overflow:hidden; margin:0 0 15px 0;}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/**Staðan**/
#kfs-status{padding-bottom:5px;}
#kfs-status .stada-divider{border-bottom: 1px solid #ddd;margin-bottom: 5px;}
#kfs-status .stada-item{padding: 5px 10px; text-align:left;}
#kfs-status .stada-nr{float:left;}
#kfs-status .stada-felag{margin: 0 auto; padding-left:10px;}
#kfs-status .stada-stig{float:right;}
	
/**Næstu leikir**/
.gameitem{text-align:left;padding:10px;}
.gameitem p:first-child{font-weight:bold;}	
	
/**Responsive**/
@media screen and (max-width:1140px){#content{padding: 10px;}}

@media screen and (max-width:1000px){.albumframe, .albumframe-right{display:none;}#content #newpost2 {overflow:visible;width:75%;}#content .spjalltab{background:none;}}

@media screen and (max-width:803px) {#navbarlist ul li{display:none;}#navbarlist #dropdown{display:inline-block;width:70%;padding:5px 10px;} #navbarlist #dropdown option{padding:5px 0;}}

@media screen and (max-width:763px) {.adspace, .content-bottom-ad{display:none;} .notmain .grid-20{display:none;}}

@media screen and (max-width:600px) {#content #newpost2{width:100%;}}



/*news*/
#newswrap .newsItem {
	position:relative; 
	padding-bottom: 20px;
	margin-bottom: 50px;
}
#newswrap .newsItem h3.header {
	text-align:left;
	min-height:27px;
	padding:3px 0 3px 3px;
	font-size:16px; 
	font-weight:bold; 
	color:#787878;  
	background:url(../images/dotted.gif) repeat-x 0 100%;
}
#newswrap .newsItem h3.header a {
	color:#787878; 
	text-decoration:none;
}
#newswrap .newsItem span.datetime { 
	position:absolute;
	top:0;
	right:0;
}
#newswrap .newsItem span.date {
	position:absolute;
	top:0;
	right:0;
}
#newswrap .newsItem .theimg {
	display:block;
	float:left;
	width:150px; 
	margin:0 10px 13px 0;
	position:relative; 
	text-align:center;
}
#newswrap .newsItem .theimg.bigimage{width:300px;float:right;margin:0 0 13px 13px;}
#newswrap .newsItem .theimg.bigimage img{max-height:250px;}
#newswrap .info {
	text-align: left;
	padding:0 0 25px;
}
#newswrap .newsItem .readmore {
	clear:both;
	float:right;
}
#newswrap .newsItem:after{content:' ';display:block;clear:both;width:100%;height:1px;}
.boxfblike{text-align:left;}
/*poll */
.poll h3{background:url(../images/ico_poll.jpg) no-repeat 0 0;}

.poll span.title{ display:block; font-size:11px;margin:10px 0;}
.poll form{ overflow:hidden;}
.poll form label{ display:block; font-size:11px;margin:0px 5px;padding:3px 0;}
.poll form label input{float:left;margin-right:4px;}
.poll form .submitbtn{float:right;margin-right:4px;}

#polls{padding:0 0 15px;width:220px;margin:0 0 0 27px;}
#polls h3{ }
#polls span.title{font-weight:bold;}
#polls .options{ overflow:hidden;padding:2px 0;}
#polls .options span.valtitle{float:left;width:150px; font-size:11px;}
#polls .options div.percent{float:left;width:150px;height:10px;margin:2px 0; border:1px solid #cccccc;}
#polls .options span.selected{height:10px;float:left; background:#0000CC;}
#polls .totalanswers{ font-weight:bold;margin:5px 0; text-align:right; font-size:12px; display:block;}

/* gallery */

.photogallery{overflow:hidden;}

.photogallery a{width: 24%;display:block;float:left;text-align:center;min-height:160px;margin:3px;}

.photogallery a:hover{background:#f6f6f6;border:1px dashed #ccc;margin:2px;}

.photogallery a img{display:block;margin:3px auto;padding:3px;border:1px solid silver;background:white;max-width:85%;}
.photogallery a:hover img{margin:2px auto;padding:4px;}


 .myndaflokkur{
}
 .flokkur,
 .moppur,
 .gallery{
list-style:none;
width:100%;
margin:10px 0 0 0px;
overflow:hidden;
}
 .flokkur li,
 .moppur li{
overflow:hidden;
width:145px;
height:145px;
float:left;
}
 .flokkur li a{
display:block;
width:135px;
height:95px;
padding:40px 0 0 0;
border:1px solid #CCCCCC;
margin:8px;
text-align:center;
font:30px Georgia, "Times New Roman", Times, serif;
color:#003333;
text-decoration:none;
}
 .flokkur li a:hover{
text-decoration:none;color:#000; background:#f0f0f0;}

 .moppur li a{
display:block;
float:left;
width:135px;
height:95px;
padding:40px 0 0 0;
border:1px solid #CCCCCC;
margin:8px;
text-align:center;
font:18px Georgia, "Times New Roman", Times, serif;
color:#003333;
text-decoration:none;
}
 .moppur li a:hover{
text-decoration:none;color:#000; background:#f0f0f0;}

 .gallery li{
float:left;
height:150px;
margin:5px 20px;
text-align:center;
width:135px;
}
 .gallery li .maingallerytxt{
font:11px Verdana, Arial, Helvetica, sans-serif;
color:#333333;
height:45px;
overflow:hidden;
margin-top:3px;
}

/* form */
.mainbar .form{
overflow:hidden;
width:480px;
margin:20px 0 0 ;
}
.mainbar .form h3{
width:100px;
height:20px;
padding:6px 0 0 0;
margin:0;
text-align:right;
float:left;
clear:both;
font-weight:bold;
font:12px Arial, Helvetica, sans-serif;
color:#6f6f6f;
}
.mainbar .form h3.area{
height:60px;
}
.mainbar .form .lina,
.mainbar .form .area{ overflow:hidden; padding:2px 0;}
.mainbar .form span{
width:352px;
min-height:20px;
background:none;
margin:4px 0px 4px 0;
float:right;
clear:right;
}
.mainbar .form input{
border:none;
background:none;
width:340px;
height:16px;
padding:3px 5px;
font:12px Arial, Helvetica, sans-serif;
border:1px solid #CCC;
color:#6f6f6f;
}

.mainbar .form span.area{
width:352px;
height:94px;
float:right;
margin:4px 0px 4px 0;
padding:0;
}
.mainbar .form textarea{
width:340px;
height:88px;
padding:2px 5px;
border:1px solid #CCC;;
background:none;
font:12px Arial, Helvetica, sans-serif;
color:#6f6f6f;
}
.mainbar .form span.selecta{
margin:2px 40px 2px 0;
padding:2px 2px 0 2px;
}
.mainbar .form select{
width:320px;
height:20px;
margin:3px 0 0 0;
padding:0;
border:none;
background:#fff;
font:11px Arial, Helvetica, sans-serif;
}
.mainbar .form select option{
background:#fff;
height:18px;
}
.mainbar .form .btntxt{
width:80px;
height:26px;
font:12px Arial, Helvetica, sans-serif;
font-weight:bold;
color:#6f6f6f;
cursor:pointer;
margin:20px 0px 20px 0px;
background:none;
border:1px solid #CCC;
clear:right;
float:right;
}
.mainbar .form .btntxt:hover{
background:#ccc;
color:#6f6f6f;
}
.mainbar .form label.error{
color:#FF0000;
font:10px Arial, Helvetica, sans-serif;
float:right;
width:325px;
text-align:right;
}

/* spjall */
#leftbar ul#fakelist li{margin-bottom:3px;font-size:0.9em;}
#leftbar ul#fakelist li:hover,
#leftbar ul#fakelist li:hover a{color:#3366CC;}

.headerh1{display:block;width:200px;height:117px;position:absolute;top:0;left:50%;margin-left:-100px;}
