body.page-Portal_Forside.action-view.skin-vector #mw-page-base {
  height: 2em;
}

body.page-Portal_Forside.action-view.skin-vector #content {
  border: none;
  background: none;
}

body.page-Portal_Forside.action-view.skin-vector #konteiner {
  grid-template-columns: 60% 20px auto;
}

body.page-Portal_Forside.action-view.skin-vector .forsideboks {
  background-color: #fff !important;
  border: none !important;
  box-shadow: 0 3px 5px #ccc;
  padding: 2rem;
  margin-bottom: 20px;
}

body.page-Portal_Forside.action-view.skin-vector #forsidebanner {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/aa/Wikipedia-logo-v2-o50.svg);
  background-size: 25vw;
  background-position: 110% 50%;
  background-repeat: no-repeat;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .bannerhøyre {
  justify-self: center;
  text-align: center;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .bannerhøyre #searchform {
  font-size: 150%;
}

body.page-Portal_Forside.action-view.skin-vector #mw-head {
  position: static;
}

body.page-Portal_Forside.action-view.skin-vector-legacy #left-navigation,
body.page-Portal_Forside.action-view.skin-vector-legacy #right-navigation {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-tabs,
body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-tabs li,
body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-tabs a,
body.page-Portal_Forside.action-view.skin-vector #catlinks {
  border: none;
  background: none;
  height: auto;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-tabs a:hover {
  background: linear-gradient(to bottom, #ddd, transparent);
}

body.page-Portal_Forside.action-view.skin-vector-legacy #mw-head .vector-menu-dropdown h3 {
  background: none;
  margin: 0;
}

body.page-Portal_Forside.action-view.skin-vector-legacy #right-navigation #p-search {
  display: none;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-dropdown .vector-menu-content {
  border: 0;
  background-color: #fff;
  box-shadow: 0 3px 5px #ccc;
  left: inherit;
  right: 3px;
}

body.page-Portal_Forside.action-view.skin-vector .mw-footer {
  clear: both;
}

body.page-Portal_Forside.action-view.skin-vector-legacy #p-namespaces {
  margin-left: 1.25em;
}

body.page-Portal_Forside.action-view.skin-vector-legacy #p-namespaces,
body.page-Portal_Forside.action-view.skin-vector-legacy #right-navigation {
  border-top: 1px dashed #ccc;
}

body.page-Portal_Forside.action-view.skin-vector-legacy #searchInput {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.5em;
}

body.page-Portal_Forside.action-view.skin-vector-legacy .vector-menu-tabs .mw-watchlink.icon a {
  height: 2em;
}

/* Tilpasninger for Vector-2022 */
body.page-Portal_Forside.action-view.skin-vector-2022 .vector-header-container,
body.page-Portal_Forside.skin-vector-2022 .mw-page-container {
  background-color: unset;
}

body.page-Portal_Forside.action-view.skin-vector-2022 .cdx-menu__listbox {
  margin: 0 !important;
}

body.page-Portal_Forside.action-view.skin-vector-2022 .bannerhøyre {
  display: none;
}