/* default/theme.css */

body {
  font: 13px verdana,sans-serif;
  line-height: 160%;
}

h1,h2,h3,h4,h5 { font-weight: bold; }
p,h1,h2,h3,h4,h5 { margin-top:0; }

h1 { font-size: 2em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em;   }

#content       { margin: 0 auto; text-align:center; }
.blog-content  { padding: 5px; }
.album-content { padding: 5px; }
.other-content { padding: 5px; }

@media screen and (min-width: 768px) {
  .blog-content  { width: 550px; padding-left: 180px; }
  .album-content { width: 725px; }
  .other-content { width: 725px; }
}

.blog-content div   { text-align:left; }

#nav { font-size: 0.85em; width: 160px; margin: 1em auto; padding: 3px; overflow: hidden; line-height: 140%; border: 1px solid gray; border-top: 3px solid gray; border-bottom: 3px solid gray }

@media screen and (min-width: 768px) {
  #nav { margin: 0; position: absolute; top: 5px; left: 5px; }
}    
#nav ul { margin:0 0 0 .7em; padding: 0 0  0 0.6em; list-style: disc outside;  }
#nav ul li { margin:0 0 0.3em 0; padding:0; }
#nav .box { margin-bottom: 1em; }
.box h2 { margin-bottom:.6em; }

.album-content #nav { display: none; }
.other-content #nav { display: none; }

#Calendar-box { line-height: 14px; }
#Calendar-box td { text-align:right; }
#Calendar-box th { text-align:right; }
#Calendar-box td.monthname { font-size:1.4em; font-weight:bold; text-align:left;  }
#Calendar-box div.blog-calendar-nav {  text-align: center;  }
#Calendar-box div.blog-calendar-nav div { display: inline; padding: 0 .3em; }

#Header-image { text-align:center; border: 2px solid gray; margin-bottom: 1em; _height: 0; }
#Header-image h1 { margin: 2px; border: 1px solid gray; padding: 1em 0; text-align:center; }
#Header-image h1 a { color: black; text-decoration:none; }
#Header-image img { display:none; }

p.entry-date { font-size: 0.85em; }
p.entry-info { font-size: 0.85em; margin-bottom: 1.5em; background-color: #eee; text-align:right; }

.entry-comments { font-size: 0.86em; line-height: 1.3em;  }
.comment { margin: 1em 2em; }
.comment-number { display:none; }
.comment-body { margin-left: 60px; }
.comment-text { margin-bottom: 0; }
.comment-signature { margin-left: 60px; margin-top:2px; font-style:italic; }

label { vertical-align: top; }
input { margin: 3px; }

#Photo-album { margin: 1em auto; text-align: center; }

div.album-description { width: 80%; max-width: 530px; padding: 4px; background-color: #eee; margin: .7em auto; text-align: left; }
div.album-description h2 { font-size:1.4em; margin: 0; text-align:left; }
div.album-description p  { font-size:0.85em; margin: 0; text-align:left; line-height: 1.2em; }

/*
.blog-content #Photo-album div.album-description { width: auto; }
.blog-content #Photo-album div.thumb-row { width: auto; display: inline; }
*/

#Photo-album div.thumb-row { width: 85%; max-width: 590px; margin: 0 auto; text-align: center;}
/* clearfix fyrir smámyndaraðir */
#Photo-album div.thumb-row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
#Photo-album div.thumb-row { _height: 0; }

#Photo-album div.thumb, #Photo-album-list div.thumb { background-color: #ddd; margin: 6px; padding: 6px; border: 1px solid gray; float:left; }
#Photo-album img, #Photo-album-list img { border: 1px solid gray; }

#Photo-album-list div.album { width: 85%; max-width: 590px; margin: 0 auto; text-align: center; }
#Photo-album-list div.album-thumbs { text-align: center;  }
#Photo-album-list div.album-thumbs:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

p.img_info { background-color: white; color: black; padding: 4px; border: 1px solid gray; margin: 85px 0 0 20px; font-size: .85em;  }


/* viðbót við default.css -- stílar fyrir kerfisskilaboð */

div.system-message {
  width: 80%;
  max-width: 540px;
  border-top: 3px solid #999;
  padding: 0.8em 1.5em;
  margin: 1em auto;
  text-align: left;
  background: url('/img/uppl_bakgr.gif') repeat-x top left;
  _height: 500px;
  min-height: 500px;
}

div.system-message h1 {
  background: url('/img/admin/ok.gif') no-repeat top left;
  font-size: 2em;
  font-weight: normal;
  margin-top: 0.2em;
  min-height: 32px;
  _height: 32px;
  padding-left: 43px;
  line-height: 1.2;
}

div.system-message h1.error {
  background: url('/img/admin/error.gif') no-repeat top left;
}

div.system-message div.comment-box {
  border: 1px solid #999;
  margin: 10px;
  background: lightyellow;
  padding: 2px 5px;
  font-size: 0.9em;
  line-height: 1.4;
}

div.system-message div.comment-box p {
  margin: 0.2em 0; 
}

div.system-footer {
  margin: 4em auto 0 auto; 
  text-align: center; 
  color: #333; 
  font-size: 0.8em;
  width: 300px; 
  border-top: 1px solid #ccc; 
  padding-top: 10px;
}


table.form {
	line-height: 1.2;
}

table.form label {
	white-space: nowrap;
	font-weight: bold;
}

table.form th { 
	vertical-align: top; 
	margin-top: .2em;
}
