.navbar-form input,
.form-inline input {
    width: auto;
}

header {
    min-height: 230px;
    margin-bottom: 5px;
}

@media (min-width: 979px) {
    #sidebar.affix-top {
        position: static;
    }
    #sidebar.affix {
        position: fixed;
        top: 0;
        width: 21.2%;
    }
}

.affix,
.affix-top {
    position: static;
}

body {
    color: #2c2c2c;
    background-color: #fafafa;
}

ul {
    list-style: none;
    line-height: 130%;
    margin-left: 1.2em;
    width: 100%;
}

ul li {
    background: url(../gfx/bullet.gif) no-repeat 0 .4em;
    padding: 0 0 0 17px;
    margin-top: .25em
}

h2 {
    font-size: 1.5em;
    width: 100%;
    color: #ee1111;
}

h3 {
    font-size: 1.5em;
    width: 100%;
    color: #ee1111;
}

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

label {
    font-weight: normal;
    text-indent: .45em;
    line-height: 120%;
}

dt {
    float: left;
}

legend {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: .5em;
    text-transform: uppercase;
    color: #3f99be
}

.nav {
    margin: 0;
}

.nav>li {
    background-image: none;
    padding: 0px;
    margin-top: 0.2em
}

.nav>li>a {
    color: #494949;
    padding-left: 10px;
    padding-right: 0px;
    padding-top: 0px;
}

.nav>li>a:hover {
    color: #f40000;
}

.panel-body {
    height: auto;
    padding: 10px;
}

.highlight-bk {
    background-color: #ff3333;
    padding: 1px;
    width: 100%;
}

.highlight {
    color: #2b2b2b;
}

h4.highlight {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00647d;
}

.navbar {
    background-color: #ffffff;
    color: #ffffff;
    border: 0;
    border-radius: 0;
}

.navbar-nav>li>a {
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    border-left: 1px solid #ee3333;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
    color: #666666;
}

.navbar-nav>li:last-child>a {
    border-right: 1px solid #ee3333;
}

.navbar-nav>.active>a,
.navbar-nav>.active>a:hover,
.navbar-nav>.active>a:focus {
    color: #ffffff;
    background-color: transparent;
}

.navbar-nav>.open>a,
.navbar-nav>.open>a:hover,
.navbar-nav>.open>a:focus {
    color: #f0f0f0;
    background-color: transparent;
    opacity: .9;
    border-color: #ff3333;
}

.nav .open>a {
    border-color: #777777;
    border-width: 0;
}

.accordion-group {
    border-width: 0;
}

.dropdown-menu {
    min-width: 250px;
}

.accordion-heading .accordion-toggle,
.accordion-inner,
.nav-stacked li>a {
    padding-left: 1px;
}

.caret {
    color: #fff;
}

.navbar-toggle {
    color: #fff;
    border-width: 0;
}

.navbar-toggle:hover {
    background-color: #fff;
}

.panel {
    padding-left: 27px;
    padding-right: 27px;
}

.rightpanel {
    padding-left: 10px;
    padding-right: 10px;
}

p#dato {
    font-size: 1em;
    color: #007091;
    padding: 0px 0px;
    margin: 0;
    font-weight: bold;
}

.small,
small {
    font-size: 0.75em;
}

input.knapp {
    -moz-box-shadow: inset 0px 1px 0px 0px #1591e3;
    -webkit-box-shadow: inset 0px 1px 0px 0px #1591e3;
    box-shadow: inset 0px 1px 0px 0px #1591e3;
    background-color: #1168a2;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #3866a3;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 3px;
    text-decoration: none;
    margin-top: 10px;
    min-width: 120px;
}

input.knapp:hover {
    background-color: #468ccf;
}

input.knapp:active {
    position: relative;
    top: 1px;
}

span.oblig {
    color: red;
    font-weight: bold;
    width: 10px;
}

p.notice {
    color: black;
}

.error {
    color: red;
}

ul#bildegalleri {
    width: 524px;
    padding: 0;
    margin: 2em 0 -2em 0;
    overflow: hidden;
    position: relative;
    left: -18px
}

ul#bildegalleri li {
    width: 155px;
    float: left;
    padding: 0;
    display: inline;
    margin: 0 0 2em 19px;
    background: none
}

ul#bildegalleri a {
    float: left;
    width: 149px;
    border: 1px solid #a9d6e0;
    padding: 2px;
    display: block;
    background: none;
    margin: 0
}

ul#bildegalleri a:hover {
    border-color: #093d49
}

ul#bildegalleri img {
    width: 149px;
    height: 120px;
    border: 0;
    padding: 0;
    margin: 0
}

div#selgesogkjopes ul {
    list-style: none;
    line-height: 130%;
    margin-left: 1.2em;
    width: 100%;
}

div#selgesogkjopes ul li {
    background: url(../gfx/bullet.gif) no-repeat 0 .4em;
    padding: 0 0 0 17px;
    margin-top: .25em
}

div#selgesogkjopes {
    padding: 25px;
    background: url(../gfx/selgeskoll2.jpg) no-repeat 420px 85px #e0f1f5;
    margin-top: 1.2em
}

#selgesogkjopes h2 {
    color: #f7220c;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 2.3em;
    text-transform: uppercase;
    border-bottom: 1px solid #b0d6e4;
    padding-bottom: .2em;
    margin: -.2em 0 0 0
}

h3 a {
    border-bottom: 1px dotted !important;
    color: #052a39;
    text-decoration: none !important;
}

#selgesogkjopes img {
    margin: 1.2em 0 0 0;
    background: #fff none repeat scroll 0 0;
    border: 1px solid #a9d6e0;
    margin: 0 1em 0 0;
    padding: 2px;
}

#selgesogkjopes img:hover {
    -moz-box-shadow: 0 0 5px #017cb1;
    -webkit-box-shadow: 0 0 5px #017cb1;
    box-shadow: 0 0 5px #017cb1;
}

div#selgesogkjopes ul {
    list-style-type: none;
}

div#selgesogkjopes ul li {
    background: url(../gfx/bullet1.gif);
    background-repeat: no-repeat;
    background-position: 0em;
    padding-left: 1.0em;
}

p a:hover,
ul a:hover {
    background: #13475c;
    color: #FFF;
    text-decoration: none;
    border: 1px solid #FFF;
    border-top: 0;
    border-left: 0
}

div#merknad {
    color: #0a62f5;
}

p#artikkelheading {
    border-bottom: 1px solid;
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    color: #448d9a;
}

div#artikler_title h2 {
    padding-left: 20px;
    background-color: #6aa100;
    height: 40px;
    padding-top: 10px;
    color: #ffffff
}

div#artikler_title h2 a {
    color: #ffffff;
}

div#artikler_title h2 a:hover {
    color: #ffff44;
}

div#nyheter_title h2 {
    padding-left: 20px;
    background-color: #024c83;
    height: 40px;
    padding-top: 10px;
    color: #ffffff
}

div#nyheter_title h2 a {
    color: #ffffff;
}

div#nyheter_title h2 a:hover {
    color: #ffff44;
}

ul#artikler,
ul#nyheter {
    margin: 0;
    padding-left: 10px;
}

ul#artikler li a,
ul#nyheter li a {
    color: #414141;
}

ul#artikler li a:hover,
ul#nyheter li a:hover {
    color: #fff;
}

form#annonsesok fieldset#info label {
    width: 90px;
    float: left;
    margin-top: 10px;
}

form#annonsesok fieldset#info input {
    width: 60px;
    float: left;
    margin-top: 10px;
}

dl#attributter {
    background: #e7f3f7;
    color: #2b5071;
    padding: 4px 10px 5px 10px;
    height: 25px;
}

dl#attributter dt,
dl#attributter dd {
    float: left;
    margin: 0;
    padding: 0;
    border: 0
}

dl#attributter dt {
    margin-right: .45em;
    padding-left: 1.75em;
    width: auto
}

dl#attributter dt#skrevetav {
    background: url(../gfx/skrevetav.gif) no-repeat center left
}

dl#attributter dd#publisert {
    background: url(../gfx/publisert.gif) no-repeat center left;
    padding-left: 1.75em
}

dl#attributter dd#kategori {
    background: url(../gfx/kategori.gif) no-repeat center left;
    padding-left: 1.75em
}

dl#attributter dd {
    margin-right: 1.5em;
    width: auto
}

p.knapp,
p.knapp:hover {
    width: 100%;
    background: none;
    border: 0
}

p.knapp a,
a.knapp {
    color: #194751;
    background: #bbe0ea;
    padding: .25em .5em;
    border: 1px solid #8bb5be;
    border-top: 0;
    border-left: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif
}

p.knapp a:hover,
a.knapp {
    color: #e0f2f5;
    background: #1e515e;
    padding: .25em .5em;
    border: 1px solid #8bb5be;
    border-top: 0;
    border-left: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif
}

p#browse {
    background: #b2cfd8;
    color: #2b5071;
    padding: 4px 10px 5px 10px;
    font-weight: bold;
}

table {
    width: 100%;
    border-top: 1px solid #b2cfd8;
    float: left;
    text-align: left
}

td table {
    width: auto;
}

table caption {
    padding-bottom: .75em;
    margin-top: 1.5em !important;
    margin-top: 0;
}

th,
td {
    padding: 5px 7px;
    border-bottom: 1px solid #b2cfd8;
}

th {
    background: url(../gfx/ul.jpg) repeat-x #cce9f1;
    border-right: 1px solid #b2cfd8;
    border-top: 1px solid #f2f9fc;
    width: 196px
}

td {
    background: #f0f7f9;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    width: 281px;
}

div#tre ul {
    margin-left: 0;
    padding: 0;
    list-style: none;
}

div#tre ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #4e8bb0
}

div#tre ul li a {
    padding: 10px 12px;
    color: #fff;
    display: block;
    margin: 0;
    background: none;
    text-decoration: none;
    background: url(../gfx/ul1.jpg) repeat-x #24658d
}

div#tre ul li a.active {
    font-weight: bold
}

div#tre ul li a:hover,
div#tre ul li a.active {
    color: #FFF;
    background: url(../gfx/ul2.jpg) repeat-x #3f7da0
}

div#vorimg {
    padding: 25px;
    background: #e0f1f5;
    margin-top: 1.2em
}

#vorimg img {
    margin: 1.2em 0 0 0;
    background: #fff none repeat scroll 0 0;
    border: 1px solid #a9d6e0;
    margin: 0 1em 0 0;
    padding: 2px;
}

#vorimg img:hover {
    -moz-box-shadow: 0 0 5px #017cb1;
    -webkit-box-shadow: 0 0 5px #017cb1;
    box-shadow: 0 0 5px #017cb1;
}


/* Weather Card */

.card {
    font-family: 'Merriweather', serif;
    background: transparent;
}

.card.weather-card {
    position:fixed;
    bottom: 20px;
    right:30px;
    width: 310px;
    background: url('../img/ocean.jpg');
    background-size: cover;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    padding: 20px 10px;
    color: #eee;
}

.card.weather-card a {
    color: #eee;
}

.card.weather-card a.card-content {
    display: block;
    width: 100%;
}

.card .card-body {
    display: flex;
    position: relative;
}

.card .card-body .card-close {
    position: absolute;
    top: -13px;
    right: 0;
    z-index: 1001;
    padding: 5px;
    cursor: pointer;
    color: #ddd;
}

.card .card-body .card-close:hover {
    color: white;
}

.card.weather-card .card-body {
    vertical-align: bottom!important;
    padding-left: 10px;
}

.card.weather-card table {
    width: 100%;
    border: none!important;
}

.card.weather-card table td {
    background: transparent!important;
    border: none!important;
    width: auto!important;
    padding: 0!important;
    
}

.card.weather-card table td p {
    letter-spacing: 1px;
    margin-bottom: 0;
}

.card.weather-card table td h1 {
    margin: 0!important;
}

.card.weather-card table td h2 {
    font-size: 24px;
    margin: 0!important;
    color:white;
}

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1);
    transform: scale(0.1) ;
    -webkit-transform-origin: right center;
    transform-origin: right center;
    right: -1000px;
  }
}

@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;;
  }
}

.card.weather-card.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation: zoomOutRight 1s;
}

@media(max-width: 768px) {
    .card.weather-card {
        bottom: 50px;
        right: 45px;
    }
}

/* Admin */

.text-right {
    text-align: right;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.full-width {
    width: 100%!important;
}

.container {
    padding: 0 5%;
}
.admin-navbar {
    padding: 5px 0;
    border-bottom: 1px solid #999;
    text-align: center;
}

.nav-link {
    padding: 5px;
    font-size: 12px;
    transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.nav-link.active, .nav-link:hover, .nav-link:focus {
    color: white;
    background: #007091;
}

#footer {
    margin-top: 50px;
}

.login-table-container {
    text-align: center;
    min-height: 200px;
    padding-top: 25px;
}
.login-table {
    min-width: 280px;
    width: 50%;
    margin: 0 auto;
    float: none;
    border: none!important;
}

.login-table td {
    padding: 0 10px 30px 0px;
    background: transparent;
    border: none!important;
}

.login-table td label {
    float: none;
}
