body {
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    background: #efefef;
    color: #555555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-smoothing: antialiased;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    background-image: url("../images/bg.jpg");
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: 700;
    line-height: 1.75; 
    word-wrap: break-word;
}
b, strong{
    font-weight: 700;
}
.cvPart span.headline{
    font-size: 18px;
    text-transform: uppercase;
}
span.year {
    width: 5ch;
    display: inline-block;
}
br + span.yearParagraph {
    padding-left: 5ch;
    text-indent:-5ch;
}
p + p{
    margin-top: 10px;
}
.cvPart + .cvPart{
    margin-top: 28px
}
h1 {
    font-size: 2.625em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
.forside img{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
img{
    height:auto;
}
hr {
    border: 0;
    border-bottom: 4px solid #eaeaea;
    margin-bottom: 30px;
}
a.pressLink{
    display: block;
    text-align: center;
}
.pressLink q{
    font-style: italic;
}
.pressLink q::before, 
.pressLink q::after {
    content: '...';
}

.pressLink + .pressLink,
.pressLink + hr{
    margin-top: 30px;
}

#pageWrapper{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0px 15px;
}
h1 {
    font-size: 2.625em;
    margin-bottom: 0.5em;
    margin-top: 0;
}

#footer {
    font-size: 11px;
    line-height: 4em;
    clear: both;
    padding: 0 25px 0 25px;
}

#footerHead {
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    font-size: 28px;
}
#content{
    min-height: 525px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    clear: both;
    padding: 20px;
    position: relative;
}


#showcase {
    padding: 10px 0 20px;
}
#show_images {
    height: 400px;
    position: relative;
}
.show_image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    overflow: hidden;
}
.show_image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: 100%;
    max-width: 100%;
}
#image_1 {
    z-index: 10;
}
#showcase .text{
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    padding: 10px 0 0;
}
#controlls {
    display: flex;
}
#controlls.auto{
    display: none;
}
#myGallery {
    display: flex;
    justify-content: center;     
    flex: 1 1;
    gap:10px;
    flex-wrap: wrap;
}
#myGallery li {
    position: relative;
    text-align: center;
    flex: 0 1 calc(25.11% - 2px);
    height: 70px;
}
#myGallery img {
    max-height: 110px;
    max-width: 100%;
    border: 1px solid #A9A9A9;
    padding: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform: translate(-50%,-50%);
    top: 50%;
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.arrow {
    flex: 0 1 35px;
    position: relative;
}
.arrow img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/* NAV */
nav svg {
    width: 35px;
}
.menu a {
    color: #808080;
    text-decoration: none;
    font-size: 14px;
    border: none;
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 #fff;
    transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    padding-left: 52px;
    cursor: pointer;
}
.menu,
.submenu {
  list-style-type: none;
}
#sitelocal {
  font-size: 20px;
  padding: 7.5px 10px 7.5px 0;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #292929;
}


/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
  z-index: 999;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}
/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "FontAwesome";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #eee;
  border-radius: 3px;
}
div#content.contact {
    display: flex;
    flex-direction: column;
}
.contact h5:first-child {
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    gap:20px;
    font-weight: normal;
    text-transform: uppercase;
    flex-wrap: wrap;
    flex-direction: column;
}
.contact h5:last-child {
    justify-content: center;
    align-items: center;
    display: flex;
    gap:30px;
    font-weight: normal;
    color: #808080;
    flex-wrap: wrap;
    flex-direction: column;
}
/* Tablet menu */
@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  #sitelocal {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }
  #footerHead{
      font-size: 33px;
  }
  #myGallery {
    flex-wrap: nowrap;
  }
  #myGallery li {
    flex: 0 1 calc(11.11% - 2px);
    height: 110px;
  }
  .contact h5:first-child,
  .contact h5:last-child {
      flex-direction: row;
  }
}
/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  #sitelocal {
      display: none;
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
    flex: 1 1 100%;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #eee;
    min-width: 100%;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
}


