/* Additions to the original stiler.css. Replaces <body leftmargin=…> attributes and inline document.write styles. */

body {
  margin: 0;
  background: #fff url('../images/background.gif');
}

.submenu { display: none; }

.flash {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #e0c060;
  background: #fff6d0;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
}

.feil { color: #a00000; font-weight: bold; }

form.inline { display: inline; margin: 0; }

button.linkbutton {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #0000ee;
  text-decoration: underline;
  cursor: pointer;
}

/* Scrolling product strip on the front page (replaces the Dynamic Drive conveyor script). */
.slider {
  width: 600px;
  max-width: 100%;
  height: 60px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.slider-spor {
  display: flex;
  gap: 5px;
  width: max-content;
  animation: slider-rull 40s linear infinite;
}
.slider:hover .slider-spor { animation-play-state: paused; }
.slider img { height: 60px; border: 0; display: block; }
@keyframes slider-rull {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .slider-spor { animation: none; }
}

table.skjema td { padding: 3px; vertical-align: top; }
