.embed-responsive {
  position: relative;
  width: 100%;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.8571428571%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

html {
  /* Moz */
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  color: #222;
  height: 100%;
  margin-bottom: 0.1em;
}

/* Main Layout
------------------------------ */

body {
  background-color: #fff;
  font-size: 62.5%;
  margin: 0;
  padding: 0;
}

#main {
  padding-top: 0;
  width: 650px;
  margin: 0 auto;
}

#header {
  width: 650px;
  margin: 20px 0 20px 0;
  padding: 0;
  display: block;
  float: left;
  border-bottom: 3px solid #f00;
}

#header h1 {
  text-align: left;
  font-size: 2.4em;
  font-weight: bold;
  width: 240px;
  float: left;
  display: block;
  margin: 0 20px 10px 0;
}

#breadcrumb {
  height: 1.5em;
  background-color: #f00;
  font-size: 1.3em;
  padding-top: 7px;
  padding-bottom: 4px;
  padding-right: 0;
  padding-left: 37px;
  color: #fff;
  display: none;
}

#breadcrumb h2 {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  float: left;
  width: 590px;
}

#breadcrumb a {
  text-align: right;
  color: #fff;
}

#breadcrumb a:hover {
  color: white;
}

#content {
  width: 650px;
}

#content-error {
  width: 500px;
  padding: 45px 25px 45px 25px;
  background-color: white;
  font-size: 14px;
  margin-left: 5px;
}

#news-content-full {
  width: 645px;
  float: right;
}

#news-content-full img {
  width: 645px;
  height: auto;
}

#news-content-full p {
  font-size: 12px;
  line-height: 1.4em;
  margin-bottom: 1.4em;
  clear: both;
  text-align: justify;
}

#news-content-full .newsarticle {
  font-size: 12px;
  line-height: 1.4em;
  clear: both;
  text-align: justify;
}

#news-content-right {
  width: 435px;
  float: right;
}

#news-content-right p {
  font-size: 12px;
  line-height: 1.4em;
  margin-bottom: 1.4em;
  clear: both;
  text-align: justify;
}

#news-content-right .newsarticle {
  font-size: 12px;
  line-height: 1.4em;
  clear: both;
  text-align: justify;
}

#content-right {
  width: 650px;
  float: right;
}

#content-right h3 {
  font-size: 1.4em;
  line-height: 1.1em;
  margin-bottom: 0.3em;
}

#content-right p {
  font-size: 13px;
  line-height: 1.4em;
  margin-bottom: 1.4em;
  clear: both;
  text-align: justify;
}

#content-right li {
  font-size: 13px;
  line-height: 1.3em;
  list-style: square;
}

#content-right table {
  border-collapse: collapse;
}

#content-right td {
  vertical-align: top;
  padding: 5px;
  border-bottom: 1px solid #ccc;
  font-size: 1.3em;
}

#tekst {
  width: 430px;
  float: left;
}

#sidebar {
  width: 200px;
  float: right;
  margin-left: 1em;
  margin-bottom: -23px;
}

#sidebar li {
  list-style: none;
  font-size: 11px;
}

.menu h3 {
  font-size: 1em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: black;
  margin-bottom: 0.5em;
  margin-top: 0.7em;
  margin-left: 1.6em;
  border: 0px solid gray;
}

.menu ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.menu a:link,
.menu a:visited,
.menu a:active {
  text-decoration: none;
  text-transform: uppercase;
  color: #333;
  padding: 5px 5px 3px 8px;
  background: #f2f2f2;
  display: block;
  margin: 0 0 1px 0;
}

.menu a:hover {
  text-decoration: none;
  color: #000;
  background: #ccc;
}

.menu-active {
  color: #f00;
  padding: 8px 5px 5px 8px;
  background: #000;
  display: block;
  margin: 0 0 1px 0;
  text-transform: uppercase;
}

.submenu {
  list-style: none;
}

#footer {
  width: 650px;
  padding: 16px 0;
  text-align: center;
  clear: both;
  font-size: 1.2em;
  border-top: 3px solid #f00;
  float: right;
  margin: 20px 0 0 0;
}

/* Link Styles
------------------------------ */

a:link,
a:visited,
a:active {
  text-decoration: none;
  color: #f00;
}

a:hover {
  text-decoration: none;
  color: #000;
}

/* Miscellaneous
------------------------------ */

img {
  border: 0;
}

blockquote {
  border-left: 1px dotted #96967e;
  margin-left: 20px;
  padding-left: 20px;
  color: #363630;
}

#imagemetadata {
  text-align: right;
  position: relative;
  display: none;
}

#imagemetadata table {
  text-align: left;
  line-height: 1em;
  border: 1px solid #ccc;
  position: absolute;
  top: 2em;
  right: 0px;
  background-color: #fafafa;
}

#imagemetadata table td {
  border-bottom: 1px solid #f0f0f0;
  background-color: #f8f8f8;
  padding: 2px 5px;
}

/* Page Navigation
------------------------------ */

ul.pagelist {
  font-size: 1em;
  clear: both;
  padding: 0;
  margin: 20px 0 0 0;
  list-style-type: none;
}

ul.pagelist li {
  display: inline;
}

ul.pagelist li a,
ul.pagelist span.disabledlink {
  padding: 4px;
}

ul.pagelist li.current a {
  font-weight: bold;
  text-decoration: none;
  cursor: default;
  color: #82996f;
}

ul.pagelist li.prev {
  margin-right: 10px;
}

ul.pagelist li.next {
  margin-left: 10px;
}

.disabledlink {
  color: #ddd;
  cursor: default;
}

.pagenav {
  clear: both;
}

.disabled_nav {
  visibility: hidden;
}

/* AJAX
------------------------------ */

#albumDescEditable,
#albumTagsEditable {
  margin-bottom: 12px;
}

#imageDescEditable,
#albumTagsEditable {
  margin-top: 24px;
}

#imageDesc,
#exif_link {
  margin-bottom: 4px;
}

#exif_link {
  float: right;
}

/* Tags
------------------------------ */

.taglist ul {
  display: inline;
  list-style-type: none;
}

.taglist ul li {
  list-style-type: none;
  padding-left: 18px;
  float: left;
  padding-right: 5px;
  color: #999999;
  display: inline;
  list-style-type: none;
}

.taglist .tags_title {
  background: none;
  padding-right: 5px;
  padding-left: 0;
}

/* Image Thumbnails
------------------------------ */

#images {
  float: left;
  width: 100%;
}

#images h1,
#content-right h1 {
  width: 640px;
  background: #ccc;
  padding: 4px 5px 2px 5px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.6em;
}

.imagethumb a,
.imagethumb a:hover {
  display: block;
  margin: 0px 20px 20px 0px;
  line-height: 0px;
  border: 1px solid #e6e6e6;
  background-color: #fbfbf8;
}

.imagethumb a:visited {
  background-color: #fcfcfc;
  border: 1px solid #f8f8f8;
}

.imagethumb a:hover {
  background-color: #f3f3f3;
  border: 1px solid #cccccc;
}

.imagethumb {
  float: left;
}

/* Album Thumbnails
------------------------------ */

#albums {
  float: left;
  width: 500px;
}

.album {
  margin: 0px 20px 20px 0;
  padding: 0px 0px 0px 0px;
  float: left;
  background: #ccc;
  line-height: 100%;
  width: 100%;
}

.album a img {
  display: block;
}

.album .thumb {
  text-decoration: none;
  float: left;
  margin-right: 10px;
  display: block;
}

.album h3 {
  padding: 0;
  margin: 0px;
}

.albumdesc {
  width: 355px;
  float: right;
  padding-top: 10px;
}

.album p {
  line-height: 12px;
  font-size: 11px;
  padding: 0px 0px 0px;
  margin: 0px;
}

.albumdesc small {
  color: gray;
}

/* Individual Image
------------------------------ */

.image {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  float: left;
}

#image {
  text-align: left;
  line-height: 0;
  width: 650px;
  font-size: 0.7em;
}

.imgnav {
  float: right;
  position: relative;
  width: 180px;
  text-align: center;
  background: transparent;
  font-size: 1.4em;
}

.imgnav .imgprevious a,
.imgnav .imgnext a,
.imgnav .homeLink a {
  display: block;
  height: 100%;
  float: left;
  padding: 10px;
  text-decoration: none;
  color: #ccc;
}

.imgnav .imgprevious a:hover,
.imgnav .imgnext a:hover,
.imgnav .homeLink a:hover {
  background: transparent;
  text-decoration: none;
  color: #000;
}

.imgnav .imgprevious a {
  float: right;
}

.imgnav .imgnext a {
  float: right;
}

.imgnav .homeLink a {
  float: right;
}

#narrow {
  width: 500px;
  margin-top: 5px;
  float: left;
  display: block;
}

#narrow p {
  font-size: 10px;
  line-height: 1.4em;
  margin: 0 0 1em 0;
  padding: 0;
}

/* Paged thumbs nav
------------------------------ */

#pagedthumbs {
  width: 580px;
  height: 45px;
  position: relative;
  left: 50px;
  margin-bottom: 1em;
}

#pagedthumbsnav {
  height: 45px;
  text-align: center;
  padding: 0px;
  width: 580px;
  border: 0px solid gray;
  color: #444444;
}

#pagedthumbsnav img {
  border: 1px solid darkgray;
  padding: 2px;
  float: left;
}

#pagedthumbsnav img:hover {
  border: 2px solid orange;
  padding: 1px;
}

#pagedthumbsnav-active img {
  border: 2px solid orange;
  padding: 1px;
  float: left;
}

.pagedthumbsnav-prev {
  width: 100px;
  height: 20px;
  padding-top: 10px;
  font-size: 1em;
  float: left;
}

.pagedthumbsnav-next {
  width: 100px;
  height: 20px;
  padding-top: 10px;
  font-size: 1em;
  float: left;
}

/* Forms
------------------------------ */

.inputbox {
  width: 250px;
  padding: 2px;
}

textarea {
  padding: 4px;
  width: 100%;
  color: #5a5a4b;
  font: 1em/2em "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.checkbox {
  cursor: pointer;
}

.pushbutton {
  cursor: pointer;
  padding: 5px 10px;
}

label {
  cursor: pointer;
}

label:hover {
  color: #000;
}

#map {
  margin-left: -77px;
}

/* Admin Toolbox
------------------------------ */

#admin,
#admin_data {
  position: fixed;
  right: 0px;
  top: 0px;
  width: 130px;
  border-bottom: 1px solid #e6e6df;
  border-left: 1px solid #e6e6df;
  background: #fff;
  z-index: 1001;
  text-align: left;
  font-size: 1.3em;
}

#admin_data {
  top: 0px;
  padding-top: 20px;
  z-index: 1000;
  line-height: 1.6em;
}

#admin h3 {
  font-weight: normal;
  color: #999;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 1.1em;
}

#admin h3:hover {
  color: #036;
}

/* Search Box
------------------------------ */

#search {
  float: right;
  margin-top: 15px;
  margin-right: 70px;
  text-align: center;
  background: transparent;
  z-index: 1000;
  position: relative;
}

#search input.pushbutton {
  padding: 1px;
  font-size: 80%;
}

#search ul {
  position: absolute;
  text-align: left;
  width: 20px;
  margin: 0px;
  padding: 0px;
  list-style: none;
  background-color: white;
}

#search ul .item {
  display: none;
  background-color: white;
}

#search ul:hover .item {
  display: block;
  padding: 1px;
  margin: 0px;
  background: #fff;
}

#search li {
  width: 150px;
  background-color: white;
}

#searchfields_icon {
  position: relative;
  top: 4px;
}

.clear {
  clear: both;
  height: 10px;
}

/* Archive View
---------------------------- */

#archive {
  width: 580px;
  text-align: left;
}

ul.archive * {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.archive .year {
  margin-top: 0px;
  text-align: left;
  font-weight: bold;
  font-size: 1.2em;
  margin-left: -30px;
}

ul.archive .month {
  font-size: 1em;
  list-style: none;
  border-top: 0px solid #e6e6df;
  padding-top: 5px;
  margin-left: -30px;
  font-weight: normal;
  margin-bottom: 15px;
}

ul.archive li {
  display: inline;
  margin-right: 9px;
}

#archive h3 {
  background-color: transparent;
  font-size: 1.3em;
}

/* Tag Cloud
---------------------------- */

#tag_cloud {
  text-align: center;
  background: #eee;
}

#tag_cloud ul li {
  display: inline;
  list-style-type: none;
}

#tag_cloud p {
  padding: 10px 0;
  margin: 20px 0;
  background: #fff;
  border-top: 3px solid #e6e6df;
  border-bottom: 3px solid #e6e6df;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}

/* Error Messages
------------------------------ */

.errorbox {
  padding: 20px;
  background-color: #fdd;
  border-top: 1px solid #faa;
  border-left: 1px solid #faa;
  border-right: 1px solid #faa;
  border-bottom: 5px solid #faa;
  margin-bottom: 10px;
  font-size: 100%;
  color: #dd6666;
}

.errorbox h2 {
  color: #dd6666;
  font-size: 100%;
  font-weight: bold;
  margin: 0px;
}

/* News Articles
------------------------------ */

.newsarticle {
  border-bottom: 1px dotted #666666;
}

.newsarticlecredit {
  margin-top: 0px;
  margin-bottom: 10px;
}

.newsarticlecredit-left {
  float: left;
  margin-right: 0.3em;
}

.newscategories {
  margin: 0;
  padding: 0;
}

.newscategories li {
  display: inline;
  list-style: none;
}

.singlenews_prev {
  float: left;
}

.singlenews_next {
  float: right;
}

.newstype {
  font-size: 0.8em;
}

.author {
  color: #000;
}

audio {
  width: 100%;
  margin-bottom: 1em;
}
