body {  
  /* background-color: hsl(0, 0%, 90%); */
  padding: 1em;
  margin: auto; /* to align by center*/
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  width: 1000px;
  color: hsl(0, 0%, 30%);
  line-height: 1.5em;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
}

h1 {
  font-size: 1.8rem;
}

.imgMargin {
  margin: 10px;
}

.boxshot {
  border-bottom: 1px solid lightgray;
}

.uk-panel {
  min-height: 250px;
}

.uk-panel img {
  float: right; 
  margin-left: 10px; 
  margin-top: 0px;
  max-width: 300px;
  max-height: 200px;
}

blockquote {
  margin: 15px 10px;
  font-style: italic;
  background: white url(files/quote1.gif) top left no-repeat;
  padding: 10px 20px 10px 60px;
  border-top: 2px dotted lightgray;
  border-bottom: 2px dotted lightgray;
}

.box-info {
  background: #ebf5fa url(files/box_info.png) 0 0 no-repeat;
  border-color: #d2dce1;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 10px 10px 40px;
  margin: 10px 0px;
}

.box-warn {
  background: #fffae6 url(files/box_warn.png) 0 0 no-repeat;
  border-color: #fae6be;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 10px 10px 40px;
  margin: 10px 0px;
}

article {
  padding-top: 1em;
}

.article-rsidebar {
  display: grid; 
  grid-template-columns: 3fr 1fr;
}

.article-lsidebar {
  display: grid; 
  grid-template-columns: 1fr 4fr;
}

.maintext {
  padding: 1em;
  padding-top: 0em;
}

hr {
  height: 1px;
  background-color: lightgray;
  border: none;
}

/* Right side bar: */
.rsidebar {
  padding: 1em;
  padding-top: 0em;
  border-left: 1px solid lightgray;
}

/* Left side bar: */
.lsidebar {
  padding: 1em;
  padding-top: 0em;
  border-right: 1px solid lightgray;
}

header {
  background-image: url("img/elphsoft-logo.png");
  min-height: 70px;
  background-repeat: no-repeat;  
  border-bottom: 1px solid lightgray;  
  padding-bottom: 1.1em;
}

a {
  color: hsl(132, 65%, 40%);
}

li {
  margin-bottom: 6px;  
}

footer {
  font-size: 0.9em;
  text-align: center;
  padding-top: 1.5em;
  margin-top: 1em;
  border-top: 1px solid lightgray;
}

/* top navigation bar: */
.topnav {
  float: inline-end;
  position: relative;
  bottom: -20px;
}

.topnav a {
  float: left;
  display: block;
  color: hsl(0, 0%, 30%);
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 1.1em;
}

.topnav a:hover {
  color: hsl(132, 65%, 40%);
}

.topnav a.active {
  color: hsl(132, 65%, 40%);
} 

.topnav a.active:hover {
  color: hsl(132, 65%, 30%);
}

button {
  font-size: 0.9rem;
  border-style: none;
  border-radius: 5px;
  padding: 1em;
  background-color: hsl(132, 65%, 40%);
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: hsl(132, 65%, 30%);
}

button:active {
  background-color: hsl(132, 65%, 40%);
}

.video-container {
  display: flex;
  justify-content: center;
}

/* --------------------------------- Dropdown menu: --------------------------------- */
/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  margin-top: calc(2em + 10px); /* 10px = topnav.a padding */
  margin-left: 1em;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 12px 12px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  display: block;
  text-align: left;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* --------------------------------- Search: --------------------------------- */

.topnav .search-container {
  float: right;
  margin-left: 30px;
}

/* .topnav input[type=search] {
  padding: 10px 10px;
  border: 1px solid lightgray;
  border-radius: 5px;
  font-size: 1em;
} */

input, textarea{
  padding: 10px 10px;
  border: 1px solid lightgray;
  border-radius: 5px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

input::placeholder {
  opacity: 0.5;
}

@media screen and (max-width: 600px) {
  .topnav .search-container {
    float: none;
  }
  .topnav a, .topnav input[type=search], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .topnav input[type=search] {
    border: 1px solid lightgray;  
  }
}

/* tables*/
th {
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
}