#contactform {
  width: 100%;
  background: var(--blogi-surface);
  margin: 2em 0;
}

#contactform textarea {
  width: 90%;
  height: 15em;
  margin: 1% 5%;
}

#contactform label {
  padding: 1em;
  display: inline-block;
}

#banner {
   display:block; 
   min-width:1024px; 
   margin:0px auto;
}

#searchresult li {
  background: var(--blogi-surface);
  margin:2em 1em;
}

@media(max-width: 1919px){
   body {
      font-size:1.0em;
   }

   #header {
      min-width:1024px;
      width:100%;
      background: var(--blogi-surface-a);
   }

   #header img {
     width:1024px;
     height:120px;
   }

   #headnav ul {
     display:block;
     width:1024px;
     margin:0px auto;
     text-align:left;
   }

   #headnav ul img {
     height: 1.2em;
     width: unset;
   }
  
   #headnav a{
     font-size: 1em;
   }

   #content {
     float: left;
     width:1024px;
     margin:10px 0;
   }

   #contentidx {
     float: left;
     width:754px;
     margin:10px 0;
   }

   #idxtags {
     text-align:center;
     float: left;
     background: var(--blogi-surface);
     width:260px;
     margin:30px 0 30px 10px;
   }

   #main {
     display:block; 
     width:1024px; 
     margin:0px auto;
   }

  #ghost {
    display:inline-block;
    min-height:300px;
    height:20%;
    width:100%;
    min-width:1024px;
  }

 
  #footer {
     position:fixed;
     margin:50px 0 0 0;
     opacity: 0.7;
     display:block;
     text-align:center;
     bottom:0px;
     background: var(--blogi-surface);
     min-width:1024px;
     width:100%;
     height:50px;
  }

}

@media(min-width: 1920px) and (max-width: 3839px){
   body {
      font-size: 1.5em;
   }

   #header {
      min-width:1440px;
      width:100%;
      background: var(--blogi-surface-a);
   }
 
   #header img {
      width:1440px;
      height:205px;
   }
 
   #headnav ul {
      display:block;
      width:1440px;
      margin:0px auto;
      text-align:left;
  }

  #headnav a{
     font-size: 1em;
  }

  #headnav ul img {
     height: 1.0em;
     width: unset;
  }

  #content {
      float: left;
      width:1440px;
      margin:10px 0;
  }
  
  #contentidx {
      float: left;
      width:1070px;
      margin:10px 0 0 0;
  }

   #idxtags {
     text-align:center;
     float: left;
     background: var(--blogi-surface);
     width:360px;
     margin:30px 0 30px 10px;
   }


  #main {
    display:block; 
    width:1440px; 
    margin:0px auto;
  }

  #ghost {
    display:inline-block;
    min-height:300px;
    height:20%;
    width:100%;
    min-width:1440px;
  }

  #footer {
     position:fixed;
     margin:50px 0 0 0;
     opacity: 0.7;
     display:block;
     text-align:center;
     bottom:0px;
     background: var(--blogi-surface);
     min-width:1440px;
     width:100%;
     height:50px;
  }

}

@media(min-width: 3840px) {
  body {
     font-size: 1.5em;
  }

  #header {
      min-width:3000px;
      width:100%;
      background: var(--blogi-surface-a);
      width:3000px;
      height:320px;
   }

   #headnav ul {
      display:block;
      width:3000px;
      margin:0px auto;
      text-align:left;
  }

  #headnav a{
     font-size: 1.8em;
  }

  #headnav ul img {
     height: 1.8em;
     width: unset;
  }

  #content {
      float: left;
      width:3000px;
      margin:10px 0;
  }

  #contentidx {
      float: left;
      width:2500px;
      margin:10px 0;
  }

  #idxtags {
     text-align:center;
     float: left;
     background: var(--blogi-surface);
     width:460px;
     margin:30px 0 30px 10px;
  }

  #main {
    display:block;
    width:3000px;
    margin:0px auto;
  }

  #ghost {
    display:inline-block;
    min-height:300px;
    height:20%;
    width:100%;
    min-width:3000px;
  }

  #footer {
     position:fixed;
     margin:50px 0 0 0;
     opacity: 0.7;
     display:block;
     text-align:center;
     bottom:0px;
     background: var(--blogi-surface);
     min-width:3000px;
     width:100%;
     height:50px;
  }

}

#headnav ul {
   display:flex;
}

#headnav li {
   float:left;
   padding: 0.1em 0.25em;
}

#headnav li.inactive:hover {
    background:var(--blogi-nav-hover);
    border-top: solid 1px var(--blogi-accent);
}

#headnav li.active {
    border-top: solid 1px var(--blogi-nav-active);
    background:var(--blogi-bg);
    border-right:solid 1px var(--blogi-nav-border);
}

#headnav li.inactive {
    border-top:solid 1px var(--blogi-bg) transparent;
}

#headnav a:link {
    color:var(--blogi-text);
    text-decoration: none;
}

#headnav a:visited {
    color:var(--blogi-text);
    text-decoration: none;
}

#selectos li {
    display:block;
}

body {
    color: var(--blogi-text);
    background: var(--blogi-bg) no-repeat url("${PREFIX}/theme/public/background.webp");
    background-size:cover;
    margin:0;
    padding:0;
}

a {
    text-decoration: none;
    color: var(--blogi-accent);
}

#footer a.footer {
    margin:0 10px;
}

.blog_adminmenu {
    background: var(--blogi-surface);
    margin:20px 0px;
}

.blog_entry {
    margin:20px 0px;
}

.title {
    display:block; padding: 10px 0px;
    background: var(--blogi-surface-a);
    width: 60%;
    border-radius: 0 10px 0 0;
    padding: 5px 2em 0;
    font-weight: 700;
}

.author {
    display:block;
    padding: 10px 0px;
}

#idxtags ul{
    list-style-type: none;
    padding: 0 10px;
    display:inline-block;
}

#idxtags li{
    text-align:left;
    float:left;
    margin: 0 10px;
}

#idxtags a{
    display: inline-block;
    text-decoration:none;
    color:var(--blogi-text);
    font-size: 1.0em;
    margin: 10px;
}

.gameserver {
    background: var(--blogi-surface);
    margin:20px 0;
}

.kinfo {
    background: var(--blogi-surface);
    width:100%;
}

#pager {
  background: var(--blogi-surface);
  text-align: center;
}

/* settings styles are now inline in the modal */

.upreview{
    display: flex;
    width: 128px;
    height: 128px;
    float:left;
}

.upreview img{
    display: flex;
    width: 128px;
    max-height: 128px;
}

.upreview video{
    display: flex;
    width: 128px;
    max-height: 128px;
}

#viewmedia {
    display: inline-block;
    margin: 2em 0;
}

#nginxfiler {
    background: var(--blogi-surface);   
    margin: 20px 0;
}

.youtiem_head {
  display: block;
  margin: 40px;
  background: var(--blogi-surface);
  padding: 10px;
}

#youtube-pl li {
  background: var(--blogi-surface);
  text-align: center;
  padding: 20px;
  margin: 40px 40px 40px 80px;
}

#cookieoverlay {
  top:0px;
  bottom:0px;
  z-index:99;
  position:fixed;
  width:100%;
  height:100%;
  opacity:0.7;
  background:rgb(0,0,0);
}

#cookiecontent {
  position: fixed;
  bottom: 0px;
  margin: 0px auto;
  left: 35%;
  right: 35%;
  z-index: 100;
  color: var(--blogi-accent);
  opacity: 1;
  background: rgb(0,0,0);
  padding: 20px;
  border-top: solid var(--blogi-surface) 1em;
  border-left: solid var(--blogi-surface) 1em;
  border-right: solid var(--blogi-surface) 1em;
}

#cookiecontent button {
  background: none;
  color: var(--blogi-accent);
  border: double var(--blogi-accent) 0.3em;
  margin: 1em;
}

#kinfo {
  font-size:1.2em;
}

#background-image {
  position:fixed; 
  z-index:-1;  
  width: 100%; 
  height: 100%; 
  left: 40%;
  top: 400px;
}

.blog_entry_idx_content {
  background: var(--blogi-surface);
  padding: 5px 3em 0;
}

#headnav {
  width: 100%;
  margin: 0px auto;
  background: var(--blogi-surface);
}

.readmore {
  font-size:1.2em;
  padding: 0.5vh 0;
  vertical-align: middle;
  display: block;
}

.entry_text {
  margin: 0.5vh 0;
}

.back_content {
  background: var(--blogi-surface);
  padding: 0.5vh;
}
